SWIGged code update for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-12-11 17:04:08 +00:00
parent d1cd84e787
commit 00360d4699
24 changed files with 563 additions and 540 deletions

View File

@@ -201,7 +201,7 @@ class wxWindowPtr(wxEvtHandlerPtr):
return val
def GetFont(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def GetForegroundColour(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetForegroundColour,(self,) + _args, _kwargs)
@@ -598,6 +598,7 @@ class wxPanel(wxPanelPtr):
def wxPrePanel(*_args,**_kwargs):
val = wxPanelPtr(apply(windowsc.new_wxPrePanel,_args,_kwargs))
val.thisown = 1
val._setOORInfo(val)
return val