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:
@@ -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
|
||||
|
Reference in New Issue
Block a user