X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..bf44306ebca5d26e204ef17851516d844bc2f0a7:/wxPython/src/utils.i?ds=sidebyside diff --git a/wxPython/src/utils.i b/wxPython/src/utils.i index 7566f336c7..dc975a7938 100644 --- a/wxPython/src/utils.i +++ b/wxPython/src/utils.i @@ -14,7 +14,7 @@ %module utils %{ -#include "helpers.h" +#include "export.h" #include #include #include @@ -34,6 +34,8 @@ //--------------------------------------------------------------------------- %{ + static wxString wxPyEmptyStr(""); + static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) { PyObject* ret = PyTuple_New(3); if (ret) { @@ -514,10 +516,10 @@ public: int n = 1, Month month = Inv_Month, int year = Inv_Year); - wxDateTime GetWeekDay(WeekDay weekday, - int n = 1, - Month month = Inv_Month, - int year = Inv_Year); +// wxDateTime GetWeekDay(WeekDay weekday, +// int n = 1, +// Month month = Inv_Month, +// int year = Inv_Year); // sets to the last weekday in the given month, year bool SetToLastWeekDay(WeekDay weekday, @@ -1030,10 +1032,8 @@ wxLongLong wxGetLocalTimeMillis(); //--------------------------------------------------------------------------- %init %{ - -// wxClassInfo::CleanUpClasses(); -// wxClassInfo::InitializeClasses(); - + wxClassInfo::CleanUpClasses(); + wxClassInfo::InitializeClasses(); %} //---------------------------------------------------------------------------