CamPlatformDependent Class Reference

A derived clas for implementing wx-platform depedent Oil activity Notes: In the OIL See Also:. More...

#include <camplatform.h>

Inheritance diagram for CamPlatformDependent:

wxPlatformDependent List of all members.

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.

Detailed Description

A derived clas for implementing wx-platform depedent Oil activity Notes: In the OIL See Also:.

Author:
Alex_Bligh <alex@alex.org.uk>
Date:
7/05/2006

Definition at line 115 of file camplatform.h.


Member Function Documentation

CamPlatformDependent::DECLARE_DYNAMIC_CLASS wxPlatformDependent   ) 
 

Reimplemented from wxPlatformDependent.

void CamPlatformDependent::Initialise  )  [protected, virtual]
 

Initialize platform dependent stuff.

Author:
Alex_Bligh <alex@alex.org.uk>
Date:
07/06/2005
Parameters:
None [INPUTS]
None [OUTPUTS]
Returns:
TRUE if succeeded, FALSE if fails

Errors: -

See also:
-

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 }

void CamPlatformDependent::InitWindow wxWindow *  pwxWindow  )  [virtual]
 

Set up a wxWindow.

Author:
Alex_Bligh <alex@alex.org.uk>
Date:
07/06/2005
Parameters:
None [INPUTS]
None [OUTPUTS]
Returns:
TRUE if succeeded, FALSE if fails

Errors: -

See also:
-

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 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:51:49 2007 for Camelot by  doxygen 1.4.4