]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/misc2.py
Prep for wxPython 2.1b3 release
[wxWidgets.git] / utils / wxPython / src / msw / misc2.py
1 # This file was created automatically by SWIG.
2 import misc2c
3
4 from windows import *
5
6 from misc import *
7
8 from gdi import *
9 class wxToolTipPtr :
10 def __init__(self,this):
11 self.this = this
12 self.thisown = 0
13 def SetTip(self, *_args, **_kwargs):
14 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
15 return val
16 def GetTip(self, *_args, **_kwargs):
17 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
18 return val
19 def GetWindow(self, *_args, **_kwargs):
20 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
21 if val: val = wxWindowPtr(val)
22 return val
23 def __repr__(self):
24 return "<C wxToolTip instance at %s>" % (self.this,)
25 class wxToolTip(wxToolTipPtr):
26 def __init__(self,*_args,**_kwargs):
27 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
28 self.thisown = 1
29
30
31
32
33
34
35 #-------------- FUNCTION WRAPPERS ------------------
36
37 def wxFindWindowByLabel(*_args, **_kwargs):
38 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
39 if val: val = wxWindowPtr(val)
40 return val
41
42 def wxFindWindowByName(*_args, **_kwargs):
43 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
44 if val: val = wxWindowPtr(val)
45 return val
46
47 wxToolTip_Enable = misc2c.wxToolTip_Enable
48
49 wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
50
51
52
53 #-------------- VARIABLE WRAPPERS ------------------
54