Lots of bup fixes, API updates, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,11 +27,12 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
||||
%typemap(in) wxDateTime::TimeZone& {
|
||||
%typemap(in) wxDateTime::TimeZone& (bool temp=False) {
|
||||
$1 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong($input));
|
||||
temp = True;
|
||||
}
|
||||
%typemap(python,freearg) wxDateTime::TimeZone& {
|
||||
if ($1) delete $1;
|
||||
if (temp$argnum) delete $1;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user