Changes to ensure that GDI objects returned from Python methods are
copied, not just left as references. The old way was counter-intuitive for Python. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
#include "helpers.h"
|
||||
%}
|
||||
|
||||
// %pragma(python) code="
|
||||
// # This gives this module's dictionary to the C++ extension code...
|
||||
// wxc._wxSetDictionary(vars())
|
||||
// "
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// This is where we include the other wrapper definition files for SWIG
|
||||
//----------------------------------------------------------------------
|
||||
@@ -112,6 +117,8 @@ public:
|
||||
}
|
||||
%}
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// this is used to cleanup after wxWindows when Python shuts down.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user