]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_splitter.i
Updated layout test
[wxWidgets.git] / wxPython / src / _splitter.i
index e10fc644afe23102a5dd7e2b1afe73a428a16618..b149bb8bd2a1900bc9449ddfaa317d5af5ed2ef0 100644 (file)
@@ -106,13 +106,15 @@ RefDoc(wxSplitterWindow, "
 class wxSplitterWindow: public wxWindow
 {
 public:
-    %pythonPrepend wxSplitterWindow         "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']"
+    %pythonPrepend wxSplitterWindow         "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']"
     %pythonPrepend wxSplitterWindow()       ""
     %pythonAppend  wxSplitterWindow         "self._setOORInfo(self)"
     %pythonAppend  wxSplitterWindow()       ""
 
+    RefDoc(wxSplitterWindow, ""); // turn it off for the ctors
+    
     DocCtorStr(
-        wxSplitterWindow(wxWindow* parent, wxWindowID id,
+        wxSplitterWindow(wxWindow* parent, wxWindowID id=-1,
                          const wxPoint& pos = wxDefaultPosition,
                          const wxSize& size = wxDefaultSize,
                          long style=wxSP_3D,
@@ -126,7 +128,7 @@ public:
 
 
     DocDeclStr(
-        bool , Create(wxWindow* parent, wxWindowID id,
+        bool , Create(wxWindow* parent, wxWindowID id=-1,
                       const wxPoint& pos = wxDefaultPosition,
                       const wxSize& size = wxDefaultSize,
                       long style=wxSP_3D,
@@ -364,14 +366,12 @@ EVT_SPLITTER_SASH_POS_CHANGING and
 EVT_SPLITTER_SASH_POS_CHANGED events.");
     
 
-    // UNSPLIT event methods
     DocDeclStr(
         wxWindow *, GetWindowBeingRemoved() const,
         "Returns a pointer to the window being removed when a
 splitter window is unsplit.");
     
 
-    // DCLICK event methods
     DocDeclStr(
         int , GetX() const,
         "Returns the x coordinate of the double-click point in a