git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24678
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+%pythoncode {
+ Color = Colour
+ NamedColor = NamedColour
+}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Get checkbox value
bool IsChecked() const;
// Get checkbox value
bool IsChecked() const;
+ %pythoncode { Checked = IsChecked }
+
// True if the listbox event was a selection.
bool IsSelection() const;
// True if the listbox event was a selection.
bool IsSelection() const;
# Other names that need to be reverse-renamed for the old namespace
# Other names that need to be reverse-renamed for the old namespace
public:
%name(width) int x;
%name(height)int y;
public:
%name(width) int x;
%name(height)int y;
+ %pythoncode { x = width; y = height }
+
DocCtorStr(
wxSize(int w=0, int h=0),
"Creates a size object.");
DocCtorStr(
wxSize(int w=0, int h=0),
"Creates a size object.");
+SystemSettings_GetSystemColour
+SystemSettings_GetSystemFont
+SystemSettings_GetSystemMetric
# With the * on the end these will cause code to be added that
# With the * on the end these will cause code to be added that
+
+%pythoncode {
+%# backwards compatibility aliasses
+SystemSettings_GetSystemColour = SystemSettings_GetColour
+SystemSettings_GetSystemFont = SystemSettings_GetFont
+SystemSettings_GetSystemMetric = SystemSettings_GetMetric
+}
+
+
//---------------------------------------------------------------------------
class wxSystemOptions : public wxObject
//---------------------------------------------------------------------------
class wxSystemOptions : public wxObject