]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/frames.i
A couple little fixes for wxSTC
[wxWidgets.git] / wxPython / src / frames.i
index 69fc74db4e2543b4ebc3c4b6e338ef082175b4ac..86c9ad7fe6ba04a338325fc27d66b8628cc1e060 100644 (file)
@@ -52,8 +52,13 @@ public:
             const wxSize& size = wxDefaultSize,
             long style = wxDEFAULT_FRAME_STYLE,
             char* name = "frame");
+    %name(wxPreFrame)wxFrame();
 
-    %pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)"
+    bool Create(wxWindow* parent, const wxWindowID id, const wxString& title,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = wxDEFAULT_FRAME_STYLE,
+                char* name = "frame");
 
     void Centre(int direction = wxBOTH);
     wxStatusBar* CreateStatusBar(int number = 1,
@@ -99,8 +104,13 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = wxDEFAULT_FRAME_STYLE,
                 char* name = "frame");
+    %name(wxPreMiniFrame)wxMiniFrame();
 
-    %pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)"
+    bool Create(wxWindow* parent, const wxWindowID id, const wxString& title,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = wxDEFAULT_FRAME_STYLE,
+                char* name = "frame");
 };