from controls import *
from events import *
+import wx
class wxStatusBarPtr(wxWindowPtr):
def __init__(self,this):
self.this = this
args = tuple(argl)
self.this = apply(stattoolc.new_wxStatusBar,(arg0.this,arg1,)+args)
self.thisown = 1
- wxp._StdWindowCallbacks(self)
+ wx._StdWindowCallbacks(self)
val = apply(stattoolc.wxToolBar_AddTool,(self.this,arg0,arg1.this,)+args)
val = wxToolBarToolPtr(val)
return val
+ def AddSimpleTool(self,arg0,arg1,*args):
+ val = apply(stattoolc.wxToolBar_AddSimpleTool,(self.this,arg0,arg1.this,)+args)
+ val = wxToolBarToolPtr(val)
+ return val
def EnableTool(self,arg0,arg1):
val = stattoolc.wxToolBar_EnableTool(self.this,arg0,arg1)
return val
val = wxSizePtr(val)
val.thisown = 1
return val
+ def SetToolBitmapSize(self,arg0):
+ val = stattoolc.wxToolBar_SetToolBitmapSize(self.this,arg0.this)
+ return val
def GetMaxSize(self):
val = stattoolc.wxToolBar_GetMaxSize(self.this)
val = wxSizePtr(val)
def Realize(self):
val = stattoolc.wxToolBar_Realize(self.this)
return val
- def SetToolBitmapSize(self,arg0):
- val = stattoolc.wxToolBar_SetToolBitmapSize(self.this,arg0.this)
- return val
def SetToolLongHelp(self,arg0,arg1):
val = stattoolc.wxToolBar_SetToolLongHelp(self.this,arg0,arg1)
return val
args = tuple(argl)
self.this = apply(stattoolc.new_wxToolBar,(arg0.this,arg1,)+args)
self.thisown = 1
- wxp._StdWindowCallbacks(self)
+ wx._StdWindowCallbacks(self)