]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
use "..." instead of <...> for wx includes
[wxWidgets.git] / wxPython / src / helpers.cpp
index 28f0621eedbacb91ccf8d38f9fd1f4c7edd819a5..7b29004df3ce850d28b21a801c75dbde8e12e383 100644 (file)
@@ -402,8 +402,10 @@ PyObject* wxPyConstructObject(void* ptr,
     }
 
     char    buff[64];               // should always be big enough...
-
     sprintf(buff, "%sPtr", className);
+
+       wxASSERT_MSG(wxPython_dict, "wxPython_dict is not set yet!!");
+
     PyObject* classobj = PyDict_GetItemString(wxPython_dict, buff);
     if (! classobj) {
         char temp[128];