def Disconnect(self, *_args, **_kwargs):
val = apply(windowsc.wxEvtHandler_Disconnect,(self,) + _args, _kwargs)
return val
+ def _setOORInfo(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler__setOORInfo,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxEvtHandler instance at %s>" % (self.this,)
class wxEvtHandler(wxEvtHandlerPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxValidator,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(windowsc.wxPyValidator__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(windowsc.wxPyValidator__setCallbackInfo,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPyValidator instance at %s>" % (self.this,)
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxPyValidator,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxPyValidator, 1)
+ self._setCallbackInfo(self, wxPyValidator, 1)
+ self._setOORInfo(self)
val = apply(windowsc.wxWindow_GetBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
+ def GetBorder(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetBorder,(self,) + _args, _kwargs)
+ return val
def GetChildren(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetChildren,(self,) + _args, _kwargs)
return val
val = apply(windowsc.wxWindow_GetClientSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
+ def GetClientAreaOrigin(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetClientAreaOrigin,(self,) + _args, _kwargs)
+ if val: val = wxPointPtr(val) ; val.thisown = 1
+ return val
+ def GetClientRect(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetClientRect,(self,) + _args, _kwargs)
+ if val: val = wxRectPtr(val) ; val.thisown = 1
+ return val
def GetConstraints(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetConstraints,(self,) + _args, _kwargs)
if val: val = wxLayoutConstraintsPtr(val)
return val
def GetFont(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def GetForegroundColour(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetForegroundColour,(self,) + _args, _kwargs)
def SetWindowStyle(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetWindowStyle,(self,) + _args, _kwargs)
return val
+ def HasScrollbar(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_HasScrollbar,(self,) + _args, _kwargs)
+ return val
def Hide(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_Hide,(self,) + _args, _kwargs)
return val
+ def HitTest(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_HitTest,(self,) + _args, _kwargs)
+ return val
def InitDialog(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_InitDialog,(self,) + _args, _kwargs)
return val
def PushEventHandler(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_PushEventHandler,(self,) + _args, _kwargs)
return val
+ def RemoveEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_RemoveEventHandler,(self,) + _args, _kwargs)
+ return val
def PopupMenuXY(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_PopupMenuXY,(self,) + _args, _kwargs)
return val
def ScrollWindow(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_ScrollWindow,(self,) + _args, _kwargs)
return val
- def SetAcceleratorTable(self, *_args, **_kwargs):
- val = apply(windowsc.wxWindow_SetAcceleratorTable,(self,) + _args, _kwargs)
- return val
def SetAutoLayout(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetAutoLayout,(self,) + _args, _kwargs)
return val
def TransferDataToWindow(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_TransferDataToWindow,(self,) + _args, _kwargs)
return val
+ def UpdateWindowUI(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_UpdateWindowUI,(self,) + _args, _kwargs)
+ return val
def Validate(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_Validate,(self,) + _args, _kwargs)
return val
def GetSizer(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetSizer,(self,) + _args, _kwargs)
return val
+ def SetContainingSizer(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetContainingSizer,(self,) + _args, _kwargs)
+ return val
+ def GetContainingSizer(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetContainingSizer,(self,) + _args, _kwargs)
+ return val
def GetValidator(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetValidator,(self,) + _args, _kwargs)
return val
def SetHelpText(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetHelpText,(self,) + _args, _kwargs)
return val
+ def SetHelpTextForId(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetHelpTextForId,(self,) + _args, _kwargs)
+ return val
def ScrollLines(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_ScrollLines,(self,) + _args, _kwargs)
return val
def PageDown(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_PageDown,(self,) + _args, _kwargs)
return val
+ def SetAcceleratorTable(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetAcceleratorTable,(self,) + _args, _kwargs)
+ return val
+ def GetAcceleratorTable(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetAcceleratorTable,(self,) + _args, _kwargs)
+ if val: val = wxAcceleratorTablePtr(val)
+ return val
+ def GetDefaultItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetDefaultItem,(self,) + _args, _kwargs)
+ return val
+ def SetDefaultItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetDefaultItem,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxWindow instance at %s>" % (self.this,)
# replaces broken shadow method
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxWindow,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def wxPreWindow(*_args,**_kwargs):
val = wxWindowPtr(apply(windowsc.new_wxPreWindow,_args,_kwargs))
val.thisown = 1
+ val._setOORInfo(val)
return val
def InitDialog(self, *_args, **_kwargs):
val = apply(windowsc.wxPanel_InitDialog,(self,) + _args, _kwargs)
return val
- def GetDefaultItem(self, *_args, **_kwargs):
- val = apply(windowsc.wxPanel_GetDefaultItem,(self,) + _args, _kwargs)
- return val
- def SetDefaultItem(self, *_args, **_kwargs):
- val = apply(windowsc.wxPanel_SetDefaultItem,(self,) + _args, _kwargs)
- return val
def __repr__(self):
return "<C wxPanel instance at %s>" % (self.this,)
class wxPanel(wxPanelPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxPanel,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def wxPrePanel(*_args,**_kwargs):
val = wxPanelPtr(apply(windowsc.new_wxPrePanel,_args,_kwargs))
val.thisown = 1
- return val
-
-
-class wxDialogPtr(wxPanelPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def Create(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_Create,(self,) + _args, _kwargs)
- return val
- def Centre(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_Centre,(self,) + _args, _kwargs)
- return val
- def EndModal(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_EndModal,(self,) + _args, _kwargs)
- return val
- def GetTitle(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_GetTitle,(self,) + _args, _kwargs)
- return val
- def Iconize(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_Iconize,(self,) + _args, _kwargs)
- return val
- def IsIconized(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_IsIconized,(self,) + _args, _kwargs)
- return val
- def SetModal(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_SetModal,(self,) + _args, _kwargs)
- return val
- def IsModal(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_IsModal,(self,) + _args, _kwargs)
- return val
- def SetTitle(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_SetTitle,(self,) + _args, _kwargs)
- return val
- def Show(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_Show,(self,) + _args, _kwargs)
- return val
- def ShowModal(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_ShowModal,(self,) + _args, _kwargs)
- return val
- def GetReturnCode(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_GetReturnCode,(self,) + _args, _kwargs)
- return val
- def SetReturnCode(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_SetReturnCode,(self,) + _args, _kwargs)
- return val
- def CreateTextSizer(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_CreateTextSizer,(self,) + _args, _kwargs)
- return val
- def CreateButtonSizer(self, *_args, **_kwargs):
- val = apply(windowsc.wxDialog_CreateButtonSizer,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxDialog instance at %s>" % (self.this,)
-class wxDialog(wxDialogPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(windowsc.new_wxDialog,_args,_kwargs)
- self.thisown = 1
-
-
-
-def wxPreDialog(*_args,**_kwargs):
- val = wxDialogPtr(apply(windowsc.new_wxPreDialog,_args,_kwargs))
- val.thisown = 1
+ val._setOORInfo(val)
return val
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxScrolledWindow,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def wxPreScrolledWindow(*_args,**_kwargs):
val = wxScrolledWindowPtr(apply(windowsc.new_wxPreScrolledWindow,_args,_kwargs))
val.thisown = 1
+ val._setOORInfo(val)
return val
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxMenu,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxMenuBar,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)