X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25832b3f2bd566e5b68f066d97e0e79d2bbbd17f..bf44306ebca5d26e204ef17851516d844bc2f0a7:/wxPython/src/cmndlgs.i?ds=sidebyside diff --git a/wxPython/src/cmndlgs.i b/wxPython/src/cmndlgs.i index 321c4e7ddd..08c8a37919 100644 --- a/wxPython/src/cmndlgs.i +++ b/wxPython/src/cmndlgs.i @@ -54,8 +54,6 @@ class wxColourDialog : public wxDialog { public: wxColourDialog(wxWindow* parent, wxColourData* data = NULL); - %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)" - wxColourData& GetColourData(); int ShowModal(); }; @@ -71,8 +69,6 @@ public: long style = 0, const wxPoint& pos = wxDefaultPosition); - %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)" - wxString GetPath(); wxString GetMessage(); long GetStyle(); @@ -93,8 +89,6 @@ public: long style = 0, const wxPoint& pos = wxDefaultPosition); - %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)" - wxString GetDirectory(); wxString GetFilename(); int GetFilterIndex(); @@ -160,9 +154,8 @@ public: return new wxSingleChoiceDialog(parent, *message, *caption, LCOUNT, choices, NULL, style, *pos); } - } - %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)" + } int GetSelection(); wxString GetStringSelection(); @@ -182,8 +175,6 @@ public: long style = wxOK | wxCANCEL | wxCENTRE, const wxPoint& pos = wxDefaultPosition); - %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)" - wxString GetValue(); void SetValue(const wxString& value); int ShowModal(); @@ -216,8 +207,6 @@ class wxFontDialog : public wxDialog { public: wxFontDialog(wxWindow* parent, wxFontData* data); - %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)" - wxFontData& GetFontData(); int ShowModal(); }; @@ -233,8 +222,6 @@ public: long style = wxOK | wxCANCEL | wxCENTRE, const wxPoint& pos = wxDefaultPosition); - %pragma(python) addtomethod = "__init__:#wx._StdDialogCallbacks(self)" - int ShowModal(); };