]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/gizmos/gizmos.i
typo fixed
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.i
index 8213bd273a1d1865c8d3a371ef0e4e98ab747332..5c2426d295e93f74403653d69c5508c07d44b632 100644 (file)
 #include "treelistctrl.h"
 #include "wx/wxPython/pytree.h"
 
-    
-    static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
-    static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
-    static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
-    static const wxString wxPyEmptyString(wxT(""));
 %}
 
 //---------------------------------------------------------------------------
 %import controls.i
 %pythoncode { wx = core }
 
+
+MAKE_CONST_WXSTRING2(DynamicSashNameStr, "dynamicSashWindow");
+MAKE_CONST_WXSTRING2(EditableListBoxNameStr, "editableListBox");
+MAKE_CONST_WXSTRING2(TreeListCtrlNameStr, "treelistctrl");
+
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
+
+
 %include _gizmos_rename.i
 
 //---------------------------------------------------------------------------