X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/src/msw/windows3.py diff --git a/wxPython/src/msw/windows3.py b/wxPython/src/msw/windows3.py index 9674a3cb2e..994e73cca0 100644 --- a/wxPython/src/msw/windows3.py +++ b/wxPython/src/msw/windows3.py @@ -5,6 +5,8 @@ from misc import * from gdi import * +from fonts import * + from windows import * from clip_dnd import * @@ -125,7 +127,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 +238,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 +291,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 +322,31 @@ 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 SetBoundingRect(self, *_args, **_kwargs): + val = apply(windows3c.wxTipWindow_SetBoundingRect,(self,) + _args, _kwargs) + return val + def Close(self, *_args, **_kwargs): + val = apply(windows3c.wxTipWindow_Close,(self,) + _args, _kwargs) + return val + 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 ------------------