//----------------------------------------------------------------------
-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);
public:
wxColourDialog(wxWindow* parent, wxColourData* data = NULL);
- %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
-
wxColourData& GetColourData();
int ShowModal();
};
char* message = "Choose a directory",
char* defaultPath = "",
long style = 0,
- const wxPoint& pos = wxPyDefaultPosition);
-
- %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
+ const wxPoint& pos = wxDefaultPosition);
wxString GetPath();
wxString GetMessage();
char* defaultFile = "",
char* wildcard = "*.*",
long style = 0,
- const wxPoint& pos = wxPyDefaultPosition);
-
- %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
+ const wxPoint& pos = wxDefaultPosition);
wxString GetDirectory();
wxString GetFilename();
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);
}
- }
- %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
+ }
int GetSelection();
wxString GetStringSelection();
char* caption = "Input Text",
char* defaultValue = "",
long style = wxOK | wxCANCEL | wxCENTRE,
- const wxPoint& pos = wxPyDefaultPosition);
-
- %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
+ const wxPoint& pos = wxDefaultPosition);
wxString GetValue();
void SetValue(const wxString& value);
//----------------------------------------------------------------------
-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();
public:
wxFontDialog(wxWindow* parent, wxFontData* data);
- %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
-
wxFontData& GetFontData();
int ShowModal();
};
char* message,
char* caption = "Message box",
long style = wxOK | wxCANCEL | wxCENTRE,
- const wxPoint& pos = wxPyDefaultPosition);
-
- %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)"
+ const wxPoint& pos = wxDefaultPosition);
int ShowModal();
};