X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17c0e08c61c69b77e58b3e9ffc78d58fcf105940..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/wxPython/src/msw/frames.py?ds=sidebyside diff --git a/wxPython/src/msw/frames.py b/wxPython/src/msw/frames.py index f3d8317ae1..8a267e59ef 100644 --- a/wxPython/src/msw/frames.py +++ b/wxPython/src/msw/frames.py @@ -39,7 +39,7 @@ class wxTopLevelWindowPtr(wxWindowPtr): return val def GetIcon(self, *_args, **_kwargs): val = apply(framesc.wxTopLevelWindow_GetIcon,(self,) + _args, _kwargs) - if val: val = wxIconPtr(val) + if val: val = wxIconPtr(val) ; val.thisown = 1 return val def SetIcon(self, *_args, **_kwargs): val = apply(framesc.wxTopLevelWindow_SetIcon,(self,) + _args, _kwargs) @@ -212,21 +212,6 @@ def wxPreMiniFrame(*_args,**_kwargs): return val -class wxTipWindowPtr(wxFramePtr): - def __init__(self,this): - self.this = this - self.thisown = 0 - def __repr__(self): - return "" % (self.this,) -class wxTipWindow(wxTipWindowPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(framesc.new_wxTipWindow,_args,_kwargs) - self.thisown = 1 - self._setOORInfo(self) - - - - #-------------- FUNCTION WRAPPERS ------------------