]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/frames.i
Replaced CopyObject with Clone for wxPython-specific event classes.
[wxWidgets.git] / wxPython / src / frames.i
index f115e7f05a3c208e9e1aa0b7ca188c6d642af792..b100fc250166bfedb704009f4bf688b8c89b2bd6 100644 (file)
@@ -71,6 +71,8 @@ public:
                 long style = wxDEFAULT_FRAME_STYLE,
                 const char* name = "frame");
 
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreTopLevelWindow:val._setOORInfo(val)"
 
     // maximize = TRUE => maximize, otherwise - restore
     virtual void Maximize(bool maximize = TRUE);
@@ -122,6 +124,9 @@ public:
                 long style = wxDEFAULT_FRAME_STYLE,
                 char* name = "frame");
 
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreFrame:val._setOORInfo(val)"
+
     wxPoint GetClientAreaOrigin();
 
     void SetMenuBar(wxMenuBar *menubar);
@@ -183,6 +188,9 @@ public:
                 long style = wxDEFAULT_DIALOG_STYLE,
                 const char* name = "dialogBox");
 
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreDialog:val._setOORInfo(val)"
+
     void Centre(int direction = wxBOTH);
     void EndModal(int retCode);
     void SetModal(bool flag);
@@ -214,6 +222,9 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = wxDEFAULT_FRAME_STYLE,
                 char* name = "frame");
+
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreMiniFrame:val._setOORInfo(val)"
 };
 
 
@@ -225,6 +236,8 @@ public:
     wxTipWindow(wxWindow *parent,
                 const wxString& text,
                 wxCoord maxLength = 100);
+
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
 };