X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..922ba68045d84789ab1dfceb4d1aa1b6e2c5e810:/wxPython/src/frames.i?ds=sidebyside diff --git a/wxPython/src/frames.i b/wxPython/src/frames.i index d0fd4866b1..7f76d6e0c4 100644 --- a/wxPython/src/frames.i +++ b/wxPython/src/frames.i @@ -16,7 +16,6 @@ %{ #include "helpers.h" #include -#include %} //---------------------------------------------------------------------- @@ -72,7 +71,7 @@ public: const char* name = "frame"); %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" - %pragma(python) addtomethod = "wxPreTopLevelWindowXXX:val._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreTopLevelWindow:val._setOORInfo(val)" // maximize = TRUE => maximize, otherwise - restore virtual void Maximize(bool maximize = TRUE); @@ -90,7 +89,7 @@ public: virtual bool IsIconized() const; // get the frame icon - const wxIcon& GetIcon() const; + wxIcon GetIcon() const; // set the frame icon virtual void SetIcon(const wxIcon& icon); @@ -125,7 +124,7 @@ public: char* name = "frame"); %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" - %pragma(python) addtomethod = "wxPreFrame:val._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreFrame:val._setOORInfo(val)" wxPoint GetClientAreaOrigin(); @@ -189,7 +188,7 @@ public: const char* name = "dialogBox"); %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" - %pragma(python) addtomethod = "wxPreDialog:val._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreDialog:val._setOORInfo(val)" void Centre(int direction = wxBOTH); void EndModal(int retCode); @@ -224,24 +223,12 @@ public: char* name = "frame"); %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" - %pragma(python) addtomethod = "wxPreMiniFrame:val._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreMiniFrame:val._setOORInfo(val)" }; //--------------------------------------------------------------------------- -class wxTipWindow : public wxFrame -{ -public: - wxTipWindow(wxWindow *parent, - const wxString& text, - wxCoord maxLength = 100); - - %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" -}; - - -//---------------------------------------------------------------------------