+ // Ensure that the new classes defined in the wxPython wrappers are
+ // recognised by the wx RTTI system. (If you don't use wxWindow in
+ // your C++ app you won't need to do this.)
+ wxClassInfo::CleanUpClasses();
+ wxClassInfo::InitializeClasses();
+