]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_panel.i
added defines for wxchar workaround
[wxWidgets.git] / wxPython / src / _panel.i
index f318d26caf059b17accbdff99ef5615a36aa128d..b0bcc1ad56053901722d3b3c3dac0869f911da90 100644 (file)
@@ -25,8 +25,8 @@
 class wxPanel : public wxWindow
 {
 public:
 class wxPanel : public wxWindow
 {
 public:
-    %addtofunc wxPanel         "self._setOORInfo(self)"
-    %addtofunc wxPanel()       ""
+    %pythonAppend wxPanel         "self._setOORInfo(self)"
+    %pythonAppend wxPanel()       ""
 
     wxPanel(wxWindow* parent,
             const wxWindowID id=-1,
 
     wxPanel(wxWindow* parent,
             const wxWindowID id=-1,
@@ -37,7 +37,7 @@ public:
     %name(PrePanel)wxPanel();
 
     bool Create(wxWindow* parent,
     %name(PrePanel)wxPanel();
 
     bool Create(wxWindow* parent,
-                const wxWindowID id,
+                const wxWindowID id=-1,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxTAB_TRAVERSAL | wxNO_BORDER,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxTAB_TRAVERSAL | wxNO_BORDER,
@@ -58,8 +58,8 @@ public:
 class wxScrolledWindow : public wxPanel
 {
 public:
 class wxScrolledWindow : public wxPanel
 {
 public:
-    %addtofunc wxScrolledWindow         "self._setOORInfo(self)"
-    %addtofunc wxScrolledWindow()       ""
+    %pythonAppend wxScrolledWindow         "self._setOORInfo(self)"
+    %pythonAppend wxScrolledWindow()       ""
 
     wxScrolledWindow(wxWindow* parent,
                      const wxWindowID id = -1,
 
     wxScrolledWindow(wxWindow* parent,
                      const wxWindowID id = -1,