X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6eacb2570419a4ab5f9ac6aefcac61c37bc548f..e422162882bf4c5ae743fd618864e97206765fca:/wxPython/src/utils.i diff --git a/wxPython/src/utils.i b/wxPython/src/utils.i index ada7c8ad11..f90583d8af 100644 --- a/wxPython/src/utils.i +++ b/wxPython/src/utils.i @@ -14,7 +14,7 @@ %module utils %{ -#include "export.h" +#include "helpers.h" #include #include #include @@ -23,8 +23,7 @@ //--------------------------------------------------------------------------- %{ // Put some wx default wxChar* values into wxStrings. - static const wxChar* wxDateFormatStr = wxT("sashWindow"); - DECLARE_DEF_STRING(DateFormatStr); + DECLARE_DEF_STRING2(DateFormatStr, wxT("%c")); static const wxString wxPyEmptyString(wxT("")); %} @@ -1065,8 +1064,9 @@ wxLongLong wxGetLocalTimeMillis(); //--------------------------------------------------------------------------- %init %{ - wxClassInfo::CleanUpClasses(); - wxClassInfo::InitializeClasses(); + // These are no longer needed since utils is back in the core +// wxClassInfo::CleanUpClasses(); +// wxClassInfo::InitializeClasses(); %} //---------------------------------------------------------------------------