#include <camplatform.h>
Inheritance diagram for CamPlatformDependent:
Public Member Functions | |
virtual void | InitWindow (wxWindow *pwxWindow) |
Set up a wxWindow. | |
DECLARE_DYNAMIC_CLASS (wxPlatformDependent) | |
Protected Member Functions | |
virtual void | Initialise () |
Initialize platform dependent stuff. |
Definition at line 115 of file camplatform.h.
|
Reimplemented from wxPlatformDependent. |
|
Initialize platform dependent stuff.
Reimplemented from wxPlatformDependent. Definition at line 122 of file camplatform.cpp. 00123 { 00124 #if defined( __WXGTK__ ) 00125 ParseGtkRcString("\n" 00126 " style \"gtk-scale-blip-style\"\n" 00127 " {\n" 00128 " GtkScale::slider-length=13\n" 00129 " }\n" 00130 "\n" 00131 " widget_class \"*.GtkHScale\" style \"gtk-scale-blip-style\"\n" 00132 " widget_class \"*.GtkVScale\" style \"gtk-scale-blip-style\"\n" 00133 "\n"); 00134 #endif 00135 }
|
|
Set up a wxWindow.
Reimplemented from wxPlatformDependent. Definition at line 153 of file camplatform.cpp. 00154 { 00155 #if defined( __WXGTK__ ) 00156 // Set the GTK Widget name to the object name 00157 const TCHAR * ObjectName = CamResource::GetObjectNameFail(pwxWindow->GetId()); 00158 if (ObjectName) 00159 { 00160 wxString WindowIDName(ObjectName); 00161 SetGtkWidgetName(pwxWindow, (char *)(const char *)(WindowIDName.mb_str(wxConvUTF8))); 00162 } 00163 #endif 00164 }
|