]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_pywindows.i
added IMPLEMENT_VARIANT_OBJECT_SHALLOWCMP(classname) macro for consistency
[wxWidgets.git] / wxPython / src / _pywindows.i
index 9b9a06188d75c68bda8e91d49eabba37c1e6043b..50f0e39a59b176e2fdcb3f84426eff2e3a04584b 100644 (file)
@@ -62,7 +62,6 @@ public:
                const wxString& name = wxPyPanelNameStr)
         : wxWindow(parent, id, pos, size, style, name) {}
 
-    void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
 
     bool DoEraseBackground(wxDC* dc) {
 #ifdef __WXMSW__
@@ -160,7 +159,7 @@ public:
     
     void _setCallbackInfo(PyObject* self, PyObject* _class);
 
-    void SetBestSize(const wxSize& size);
+    %pythoncode { SetBestSize = wx.Window.SetInitialSize }
     bool DoEraseBackground(wxDC* dc);
     
     void DoMoveWindow(int x, int y, int width, int height);
@@ -245,7 +244,6 @@ public:
                const wxString& name = wxPyPanelNameStr)
         : wxPanel(parent, id, pos, size, style, name) {}
 
-    void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
     bool DoEraseBackground(wxDC* dc) {
 #ifdef __WXMSW__
         return wxWindow::DoEraseBackground(dc->GetHDC());
@@ -343,7 +341,7 @@ public:
 
     void _setCallbackInfo(PyObject* self, PyObject* _class);
 
-    void SetBestSize(const wxSize& size);
+    %pythoncode { SetBestSize = wx.Window.SetInitialSize }
     bool DoEraseBackground(wxDC* dc);
     
     void DoMoveWindow(int x, int y, int width, int height);
@@ -421,7 +419,6 @@ public:
                const wxString& name = wxPyPanelNameStr)
         : wxScrolledWindow(parent, id, pos, size, style, name) {}
 
-    void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
     bool DoEraseBackground(wxDC* dc) {
 #ifdef __WXMSW__
         return wxWindow::DoEraseBackground(dc->GetHDC());
@@ -518,7 +515,7 @@ public:
 
     void _setCallbackInfo(PyObject* self, PyObject* _class);
 
-    void SetBestSize(const wxSize& size);
+    %pythoncode { SetBestSize = wx.Window.SetInitialSize }
     bool DoEraseBackground(wxDC* dc);
     
     void DoMoveWindow(int x, int y, int width, int height);