//----------------------------------------------------------------------
-class wxColourData {
+class wxColourData : public wxObject {
public:
wxColourData();
~wxColourData();
bool GetChooseFull();
- wxColour& GetColour();
+ wxColour GetColour();
wxColour GetCustomColour(int i);
void SetChooseFull(int flag);
void SetColour(const wxColour& colour);
char* message = "Choose a directory",
char* defaultPath = "",
long style = 0,
- const wxPoint& pos = wxPyDefaultPosition);
+ const wxPoint& pos = wxDefaultPosition);
%pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
char* defaultFile = "",
char* wildcard = "*.*",
long style = 0,
- const wxPoint& pos = wxPyDefaultPosition);
+ const wxPoint& pos = wxDefaultPosition);
%pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
int LCOUNT, wxString* choices,
//char** clientData = NULL,
long style = wxOK | wxCANCEL | wxCENTRE,
- wxPoint* pos = &wxPyDefaultPosition) {
+ wxPoint* pos = &wxDefaultPosition) {
return new wxSingleChoiceDialog(parent, *message, *caption,
LCOUNT, choices, NULL, style, *pos);
}
char* caption = "Input Text",
char* defaultValue = "",
long style = wxOK | wxCANCEL | wxCENTRE,
- const wxPoint& pos = wxPyDefaultPosition);
+ const wxPoint& pos = wxDefaultPosition);
%pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
//----------------------------------------------------------------------
-class wxFontData {
+class wxFontData : public wxObject {
public:
wxFontData();
~wxFontData();
void EnableEffects(bool enable);
bool GetAllowSymbols();
- wxColour& GetColour();
+ wxColour GetColour();
wxFont GetChosenFont();
bool GetEnableEffects();
wxFont GetInitialFont();
char* message,
char* caption = "Message box",
long style = wxOK | wxCANCEL | wxCENTRE,
- const wxPoint& pos = wxPyDefaultPosition);
+ const wxPoint& pos = wxDefaultPosition);
%pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"