Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
window handle. If you can get the window handle into the python code, it should just work... More news on this later. Added wxImageList, wxToolTip. Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the wxRegConfig class. As usual, some bug fixes, tweaks, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -735,6 +735,16 @@ class wxImageListPtr :
|
||||
def AddIcon(self,arg0):
|
||||
val = gdic.wxImageList_AddIcon(self.this,arg0.this)
|
||||
return val
|
||||
def Replace(self,arg0,arg1,*args):
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
val = apply(gdic.wxImageList_Replace,(self.this,arg0,arg1.this,)+args)
|
||||
return val
|
||||
def ReplaceIcon(self,arg0,arg1):
|
||||
val = gdic.wxImageList_ReplaceIcon(self.this,arg0,arg1.this)
|
||||
return val
|
||||
def Draw(self,arg0,arg1,arg2,arg3,*args):
|
||||
val = apply(gdic.wxImageList_Draw,(self.this,arg0,arg1.this,arg2,arg3,)+args)
|
||||
return val
|
||||
@@ -747,16 +757,6 @@ class wxImageListPtr :
|
||||
def RemoveAll(self):
|
||||
val = gdic.wxImageList_RemoveAll(self.this)
|
||||
return val
|
||||
def Replace(self,arg0,arg1,*args):
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
val = apply(gdic.wxImageList_Replace,(self.this,arg0,arg1.this,)+args)
|
||||
return val
|
||||
def ReplaceIcon(self,arg0,arg1):
|
||||
val = gdic.wxImageList_ReplaceIcon(self.this,arg0,arg1.this)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxImageList instance>"
|
||||
class wxImageList(wxImageListPtr):
|
||||
|
||||
Reference in New Issue
Block a user