X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17c0e08c61c69b77e58b3e9ffc78d58fcf105940..a4353f07c6b37712634d4b2d86527b647a08044f:/wxPython/src/msw/windows3.py?ds=sidebyside diff --git a/wxPython/src/msw/windows3.py b/wxPython/src/msw/windows3.py index 1c9ef110f6..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 * @@ -324,6 +326,27 @@ def wxPrePopupTransientWindow(*_args,**_kwargs): 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 ------------------