def __init__(self,this):
self.this = this
self.thisown = 0
+ def ProcessEvent(self,arg0):
+ val = windowsc.wxEvtHandler_ProcessEvent(self.this,arg0.this)
+ return val
def Connect(self,arg0,arg1,arg2,arg3):
val = windowsc.wxEvtHandler_Connect(self.this,arg0,arg1,arg2,arg3)
return val
val = wxRectPtr(val)
val.thisown = 1
return val
- def GetReturnCode(self):
- val = windowsc.wxWindow_GetReturnCode(self.this)
- return val
def GetScrollThumb(self,arg0):
val = windowsc.wxWindow_GetScrollThumb(self.this,arg0)
return val
def MoveXY(self,arg0,arg1):
val = windowsc.wxWindow_MoveXY(self.this,arg0,arg1)
return val
+ def Move(self,arg0):
+ val = windowsc.wxWindow_Move(self.this,arg0.this)
+ return val
def PopupMenu(self,arg0,arg1,arg2):
val = windowsc.wxWindow_PopupMenu(self.this,arg0.this,arg1,arg2)
return val
def SetConstraints(self,arg0):
val = windowsc.wxWindow_SetConstraints(self.this,arg0.this)
return val
- def SetDoubleClick(self,arg0):
- val = windowsc.wxWindow_SetDoubleClick(self.this,arg0)
- return val
def SetFocus(self):
val = windowsc.wxWindow_SetFocus(self.this)
return val
def SetName(self,arg0):
val = windowsc.wxWindow_SetName(self.this,arg0)
return val
- def SetReturnCode(self,arg0):
- val = windowsc.wxWindow_SetReturnCode(self.this,arg0)
- return val
def SetScrollbar(self,arg0,arg1,arg2,arg3,*args):
val = apply(windowsc.wxWindow_SetScrollbar,(self.this,arg0,arg1,arg2,arg3,)+args)
return val
def SetClientSizeWH(self,arg0,arg1):
val = windowsc.wxWindow_SetClientSizeWH(self.this,arg0,arg1)
return val
+ def SetClientSize(self,arg0):
+ val = windowsc.wxWindow_SetClientSize(self.this,arg0.this)
+ return val
def SetCursor(self,arg0):
val = windowsc.wxWindow_SetCursor(self.this,arg0.this)
return val
val = wxSizePtr(val)
val.thisown = 1
return val
+ def DLG_PNT(self,arg0):
+ val = windowsc.wxWindow_DLG_PNT(self.this,arg0.this)
+ val = wxPointPtr(val)
+ val.thisown = 1
+ return val
+ def DLG_SZE(self,arg0):
+ val = windowsc.wxWindow_DLG_SZE(self.this,arg0.this)
+ val = wxSizePtr(val)
+ val.thisown = 1
+ return val
def ConvertPixelPointToDialog(self,arg0):
val = windowsc.wxWindow_ConvertPixelPointToDialog(self.this,arg0.this)
val = wxPointPtr(val)
def ShowModal(self):
val = windowsc.wxDialog_ShowModal(self.this)
return val
+ def GetReturnCode(self):
+ val = windowsc.wxDialog_GetReturnCode(self.this)
+ return val
+ def SetReturnCode(self,arg0):
+ val = windowsc.wxDialog_SetReturnCode(self.this,arg0)
+ return val
def __repr__(self):
return "<C wxDialog instance>"
class wxDialog(wxDialogPtr):
def __repr__(self):
return "<C wxMenuItem instance>"
class wxMenuItem(wxMenuItemPtr):
- def __init__(self,this):
- self.this = this
+ def __init__(self) :
+ self.this = windowsc.new_wxMenuItem()
+ self.thisown = 1