]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_pycontrol.i
Adding overview docs and a couple tweaks to the demo.
[wxWidgets.git] / wxPython / src / _pycontrol.i
index bb543a1182ab74a99cd085aa661aa10fc41dd92d..eb4a0acf0d634d42527546198f2aa62f04edd3cf 100644 (file)
@@ -118,7 +118,7 @@ MustHaveApp(wxPyControl);
 class wxPyControl : public wxControl
 {
 public:
-    %pythonAppend wxPyControl         "self._setOORInfo(self); self._setCallbackInfo(self, PyControl)"
+    %pythonAppend wxPyControl         "self._setOORInfo(self);"  setCallbackInfo(PyControl)
     %pythonAppend wxPyControl()       ""
 
     wxPyControl(wxWindow* parent, const wxWindowID id=-1,
@@ -132,6 +132,7 @@ public:
     
     void _setCallbackInfo(PyObject* self, PyObject* _class);
 
+    %pythoncode { SetBestSize = wx.Window.SetInitialSize }
     bool DoEraseBackground(wxDC* dc);
     
     void DoMoveWindow(int x, int y, int width, int height);