]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/grid.i
Updates for new wxToolBar API
[wxWidgets.git] / wxPython / src / grid.i
index 64a11cda5018549c8c8447ce1af18cb308d360b0..b5af636a9d16f50f285a2bd5a974ffce262773e4 100644 (file)
 
 %pragma(python) code = "import wx"
 
+//----------------------------------------------------------------------
+
+%{
+    // Put some wx default wxChar* values into wxStrings.
+    DECLARE_DEF_STRING(PanelNameStr);
+%}
+
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 // Macros, similar to what's in helpers.h, to aid in the creation of
@@ -1315,7 +1322,7 @@ public:
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             long style = wxWANTS_CHARS,
-            const char* name = wxPanelNameStr );
+            const wxString& name = wxPyPanelNameStr);
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"