X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..3bcdbe527fde583072eefab67de8974c0e17a1e2:/wxPython/src/_statctrls.i?ds=inline diff --git a/wxPython/src/_statctrls.i b/wxPython/src/_statctrls.i index 097e0f314d..6ada254ec4 100644 --- a/wxPython/src/_statctrls.i +++ b/wxPython/src/_statctrls.i @@ -25,8 +25,8 @@ MAKE_CONST_WXSTRING(StaticTextNameStr); class wxStaticBox : public wxControl { public: - %addtofunc wxStaticBox "self._setOORInfo(self)" - %addtofunc wxStaticBox() "" + %pythonAppend wxStaticBox "self._setOORInfo(self)" + %pythonAppend wxStaticBox() "" wxStaticBox(wxWindow* parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, @@ -49,8 +49,8 @@ public: class wxStaticLine : public wxControl { public: - %addtofunc wxStaticLine "self._setOORInfo(self)" - %addtofunc wxStaticLine() "" + %pythonAppend wxStaticLine "self._setOORInfo(self)" + %pythonAppend wxStaticLine() "" wxStaticLine( wxWindow *parent, wxWindowID id, const wxPoint &pos = wxDefaultPosition, @@ -69,7 +69,7 @@ public: bool IsVertical() const; // get the default size for the "lesser" dimension of the static line - static int GetDefaultSize() { return 2; } + static int GetDefaultSize(); }; @@ -79,8 +79,8 @@ public: class wxStaticText : public wxControl { public: - %addtofunc wxStaticText "self._setOORInfo(self)" - %addtofunc wxStaticText() "" + %pythonAppend wxStaticText "self._setOORInfo(self)" + %pythonAppend wxStaticText() "" wxStaticText(wxWindow* parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, @@ -101,8 +101,8 @@ public: class wxStaticBitmap : public wxControl { public: - %addtofunc wxStaticText "self._setOORInfo(self)" - %addtofunc wxStaticText() "" + %pythonAppend wxStaticBitmap "self._setOORInfo(self)" + %pythonAppend wxStaticBitmap() "" wxStaticBitmap(wxWindow* parent, wxWindowID id, const wxBitmap& bitmap,