SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -118,6 +118,10 @@ class wxFontPtr(wxObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def wxFontFromNativeInfoString(self, *_args, **_kwargs):
|
||||
val = apply(fontsc.wxFont_wxFontFromNativeInfoString,(self,) + _args, _kwargs)
|
||||
if val: val = wxFontPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def __del__(self,fontsc=fontsc):
|
||||
if self.thisown == 1 :
|
||||
fontsc.delete_wxFont(self)
|
||||
|
Reference in New Issue
Block a user