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

@@ -80,6 +80,11 @@ public:
%newgroup
// %typemap(varout) wxFont* {
// // my typemap
// $result = SWIG_NewPointerObj((void *) $1, $1_descriptor, 0);
// }
// See also wxPy_ReinitStockObjects in helpers.cpp
%immutable;