Reworked how stock objects are initialized. They now have an
alternate __class__ until the App is initialized so they will raise an exception if anybody tries to use them before the C++ object has been created. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,6 +92,7 @@ const bool False = false;
|
||||
void __wxPyPreStart(PyObject*);
|
||||
void __wxPyCleanup();
|
||||
PyObject* __wxPySetDictionary(PyObject*, PyObject* args);
|
||||
PyObject* __wxPyFixStockObjects(PyObject*, PyObject* args);
|
||||
|
||||
|
||||
void wxPyEventThunker(wxObject*, wxEvent& event);
|
||||
@@ -116,7 +117,7 @@ void wxPyPtrTypeMap_Add(const char* commonName, const char* ptrName);
|
||||
PyObject* wxPy_ConvertList(wxListBase* list);
|
||||
long wxPyGetWinHandle(wxWindow* win);
|
||||
|
||||
void wxPy_ReinitStockObjects(bool init);
|
||||
void wxPy_ReinitStockObjects(int pass);
|
||||
|
||||
bool wxPyInstance_Check(PyObject* obj);
|
||||
bool wxPySwigInstance_Check(PyObject* obj);
|
||||
|
Reference in New Issue
Block a user