X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7722248d7510121367c9d4db7af1156197c26e82..c8431295224c1efb2f2cd22df468a9f1950a2e16:/wxPython/src/grid.i?ds=inline diff --git a/wxPython/src/grid.i b/wxPython/src/grid.i index a689b9af83..0c47eff96c 100644 --- a/wxPython/src/grid.i +++ b/wxPython/src/grid.i @@ -20,9 +20,6 @@ #include #include - DECLARE_DEF_STRING(PanelNameStr); - DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c")); - static const wxString wxPyEmptyString(wxT("")); %} @@ -31,8 +28,14 @@ %import windows.i %pythoncode { wx = core } + %include _grid_rename.i +MAKE_CONST_WXSTRING_NOSWIG(EmptyString); +MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr); +MAKE_CONST_WXSTRING2(DateTimeFormatStr, wxT("%c")); + + //--------------------------------------------------------------------------- // OOR related typemaps and helper functions