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