]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_sashwin.i
Use the wx.ART_NORMAL_FILE icon
[wxWidgets.git] / wxPython / src / _sashwin.i
index df6c53ebbfe6ed05be8c3d5a3724195b7d191d17..2ae31351a8ce82d049791755e94832b5db844461 100644 (file)
@@ -56,14 +56,14 @@ public:
     %pythonAppend wxSashWindow         "self._setOORInfo(self)"
     %pythonAppend wxSashWindow()       ""
 
-    wxSashWindow(wxWindow* parent, wxWindowID id,
+    wxSashWindow(wxWindow* parent, wxWindowID id=-1,
                  const wxPoint& pos = wxDefaultPosition,
                  const wxSize& size = wxDefaultSize,
                  long style = wxCLIP_CHILDREN | wxSW_3D,
                  const wxString& name = wxPySashNameStr);
-    %name(PreSashWindow)wxSashWindow();
+    %RenameCtor(PreSashWindow, wxSashWindow());
 
-    bool Create(wxWindow* parent, wxWindowID id,
+    bool Create(wxWindow* parent, wxWindowID id=-1,
                  const wxPoint& pos = wxDefaultPosition,
                  const wxSize& size = wxDefaultSize,
                  long style = wxCLIP_CHILDREN | wxSW_3D,
@@ -244,14 +244,14 @@ public:
     %pythonAppend wxSashLayoutWindow         "self._setOORInfo(self)"
     %pythonAppend wxSashLayoutWindow()       ""
     
-    wxSashLayoutWindow(wxWindow* parent, wxWindowID id,
+    wxSashLayoutWindow(wxWindow* parent, wxWindowID id=-1,
                        const wxPoint& pos = wxDefaultPosition,
                        const wxSize& size = wxDefaultSize,
                        long style = wxCLIP_CHILDREN | wxSW_3D,
                        const wxString& name = wxPySashLayoutNameStr);
-    %name(PreSashLayoutWindow)wxSashLayoutWindow();
+    %RenameCtor(PreSashLayoutWindow, wxSashLayoutWindow());
 
-    bool Create(wxWindow* parent, wxWindowID id,
+    bool Create(wxWindow* parent, wxWindowID id=-1,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxCLIP_CHILDREN | wxSW_3D,