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:
Robin Dunn
2003-12-17 23:59:57 +00:00
parent 57b1892fb6
commit 9e58eb5674
6 changed files with 124 additions and 28 deletions

View File

@@ -28,9 +28,8 @@
%include _core_api.i
%include _core_rename.i
%native(_wxPySetDictionary) __wxPySetDictionary;
%native(_wxPyFixStockObjects) __wxPyFixStockObjects;
%pythoncode {
%#// Give a reference to the dictionary of this module to the C++ extension