X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..922ba68045d84789ab1dfceb4d1aa1b6e2c5e810:/wxPython/src/msw/windows3.py diff --git a/wxPython/src/msw/windows3.py b/wxPython/src/msw/windows3.py index 9674a3cb2e..ff840528be 100644 --- a/wxPython/src/msw/windows3.py +++ b/wxPython/src/msw/windows3.py @@ -125,7 +125,7 @@ class wxSashWindow(wxSashWindowPtr): def wxPreSashWindow(*_args,**_kwargs): val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -236,7 +236,7 @@ class wxSashLayoutWindow(wxSashLayoutWindowPtr): def wxPreSashLayoutWindow(*_args,**_kwargs): val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -289,7 +289,7 @@ class wxPopupWindow(wxPopupWindowPtr): def wxPrePopupWindow(*_args,**_kwargs): val = wxPopupWindowPtr(apply(windows3c.new_wxPrePopupWindow,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -320,10 +320,25 @@ class wxPopupTransientWindow(wxPopupTransientWindowPtr): def wxPrePopupTransientWindow(*_args,**_kwargs): val = wxPopupTransientWindowPtr(apply(windows3c.new_wxPrePopupTransientWindow,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val +class wxTipWindowPtr(wxPopupTransientWindowPtr): + 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(windows3c.new_wxTipWindow,_args,_kwargs) + self.thisown = 1 + self._setOORInfo(self) + + + + #-------------- FUNCTION WRAPPERS ------------------