def CenterOnScreen(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_CenterOnScreen,(self,) + _args, _kwargs)
return val
+ def Clear(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_Clear,(self,) + _args, _kwargs)
+ return val
def ClientToScreenXY(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_ClientToScreenXY,(self,) + _args, _kwargs)
return val
def DestroyChildren(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_DestroyChildren,(self,) + _args, _kwargs)
return val
+ def IsBeingDeleted(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_IsBeingDeleted,(self,) + _args, _kwargs)
+ return val
def DragAcceptFiles(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_DragAcceptFiles,(self,) + _args, _kwargs)
return val
val = apply(windowsc.wxWindow_GetCaret,(self,) + _args, _kwargs)
if val: val = wxCaretPtr(val)
return val
+ def Freeze(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_Freeze,(self,) + _args, _kwargs)
+ return val
+ def Thaw(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_Thaw,(self,) + _args, _kwargs)
+ return val
+ def GetHelpText(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetHelpText,(self,) + _args, _kwargs)
+ return val
+ def SetHelpText(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetHelpText,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxWindow instance at %s>" % (self.this,)
# replaces broken shadow method
def GetViewStart(self, *_args, **_kwargs):
val = apply(windowsc.wxScrolledWindow_GetViewStart,(self,) + _args, _kwargs)
return val
- def ViewStart(self, *_args, **_kwargs):
- val = apply(windowsc.wxScrolledWindow_ViewStart,(self,) + _args, _kwargs)
- return val
def CalcScrolledPosition(self, *_args, **_kwargs):
val = apply(windowsc.wxScrolledWindow_CalcScrolledPosition,(self,) + _args, _kwargs)
return val
return val
def __repr__(self):
return "<C wxScrolledWindow instance at %s>" % (self.this,)
+ ViewStart = GetViewStart
class wxScrolledWindow(wxScrolledWindowPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(windowsc.new_wxScrolledWindow,_args,_kwargs)
def GetLabelTop(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuBar_GetLabelTop,(self,) + _args, _kwargs)
return val
+ def FindMenu(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_FindMenu,(self,) + _args, _kwargs)
+ return val
def FindMenuItem(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuBar_FindMenuItem,(self,) + _args, _kwargs)
return val
return val
def GetTextColour(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_GetTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetBackgroundColour(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_SetBackgroundColour,(self,) + _args, _kwargs)
return val
def GetBackgroundColour(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_GetBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetBitmaps(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_SetBitmaps,(self,) + _args, _kwargs)