X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..0e980f91092ded629a7b014ff0d2238b1c8940c5:/wxPython/src/utils.i diff --git a/wxPython/src/utils.i b/wxPython/src/utils.i index 03fad77f9f..100f7a1160 100644 --- a/wxPython/src/utils.i +++ b/wxPython/src/utils.i @@ -4,7 +4,7 @@ // // Author: Robin Dunn // -// Created: 25-nov-1998 +// Created: 25-Nov-1998 // RCS-ID: $Id$ // Copyright: (c) 1998 by Total Control Software // Licence: wxWindows license @@ -14,7 +14,7 @@ %module utils %{ -#include "helpers.h" +#include "export.h" #include #include #include @@ -25,12 +25,17 @@ %include typemaps.i %include my_typemaps.i +// Import some definitions of other classes, etc. +%import _defs.i + %pragma(python) code = "import string" //--------------------------------------------------------------------------- %{ + static wxString wxPyEmptyStr(""); + static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) { PyObject* ret = PyTuple_New(3); if (ret) { @@ -1027,10 +1032,8 @@ wxLongLong wxGetLocalTimeMillis(); //--------------------------------------------------------------------------- %init %{ - -// wxClassInfo::CleanUpClasses(); -// wxClassInfo::InitializeClasses(); - + wxClassInfo::CleanUpClasses(); + wxClassInfo::InitializeClasses(); %} //---------------------------------------------------------------------------