from misc import *
from gdi import *
+
+from clip_dnd import *
import wx
def wxDLG_PNT(win, point_or_x, y=None):
def ProcessEvent(self, *_args, **_kwargs):
val = apply(windowsc.wxEvtHandler_ProcessEvent,(self,) + _args, _kwargs)
return val
+ def GetEvtHandlerEnabled(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_GetEvtHandlerEnabled,(self,) + _args, _kwargs)
+ return val
+ def SetEvtHandlerEnabled(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_SetEvtHandlerEnabled,(self,) + _args, _kwargs)
+ return val
+ def GetNextHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_GetNextHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
+ def GetPreviousHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_GetPreviousHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
+ def SetNextHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_SetNextHandler,(self,) + _args, _kwargs)
+ return val
+ def SetPreviousHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_SetPreviousHandler,(self,) + _args, _kwargs)
+ return val
def Connect(self, *_args, **_kwargs):
val = apply(windowsc.wxEvtHandler_Connect,(self,) + _args, _kwargs)
return val
+ def Disconnect(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_Disconnect,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxEvtHandler instance at %s>" % (self.this,)
class wxEvtHandler(wxEvtHandlerPtr):
+class wxValidatorPtr(wxEvtHandlerPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Clone(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_Clone,(self,) + _args, _kwargs)
+ if val: val = wxValidatorPtr(val)
+ return val
+ def GetWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_GetWindow,(self,) + _args, _kwargs)
+ if val: val = wxWindowPtr(val)
+ return val
+ def SetWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_SetWindow,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxValidator instance at %s>" % (self.this,)
+class wxValidator(wxValidatorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(windowsc.new_wxValidator,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxPyValidatorPtr(wxValidatorPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Destroy(self, *_args, **_kwargs):
+ val = apply(windowsc.wxPyValidator_Destroy,(self,) + _args, _kwargs)
+ return val
+ def _setSelf(self, *_args, **_kwargs):
+ val = apply(windowsc.wxPyValidator__setSelf,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxPyValidator instance at %s>" % (self.this,)
+class wxPyValidator(wxPyValidatorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(windowsc.new_wxPyValidator,_args,_kwargs)
+ self.thisown = 1
+ self._setSelf(self, 0)
+
+
+
+
class wxWindowPtr(wxEvtHandlerPtr):
def __init__(self,this):
self.this = this
val = apply(windowsc.wxWindow_GetBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
+ def GetChildren(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetChildren,(self,) + _args, _kwargs)
+ return val
def GetCharHeight(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetCharHeight,(self,) + _args, _kwargs)
return val
val = apply(windowsc.wxWindow_GetConstraints,(self,) + _args, _kwargs)
if val: val = wxLayoutConstraintsPtr(val)
return val
+ def GetEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetEventHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
def GetFont(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
val = apply(windowsc.wxWindow_GetGrandParent,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
+ def GetHandle(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetHandle,(self,) + _args, _kwargs)
+ return val
def GetId(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetId,(self,) + _args, _kwargs)
return val
def Move(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_Move,(self,) + _args, _kwargs)
return val
+ def PopEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_PopEventHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
+ def PushEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_PushEventHandler,(self,) + _args, _kwargs)
+ return val
def PopupMenuXY(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_PopupMenuXY,(self,) + _args, _kwargs)
return val
def SetAutoLayout(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetAutoLayout,(self,) + _args, _kwargs)
return val
+ def GetAutoLayout(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetAutoLayout,(self,) + _args, _kwargs)
+ return val
def SetBackgroundColour(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetBackgroundColour,(self,) + _args, _kwargs)
return val
def SetConstraints(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetConstraints,(self,) + _args, _kwargs)
return val
+ def UnsetConstraints(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_UnsetConstraints,(self,) + _args, _kwargs)
+ return val
def SetFocus(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetFocus,(self,) + _args, _kwargs)
return val
+ def AcceptsFocus(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_AcceptsFocus,(self,) + _args, _kwargs)
+ return val
def SetFont(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetFont,(self,) + _args, _kwargs)
return val
def SetCursor(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetCursor,(self,) + _args, _kwargs)
return val
+ def SetEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetEventHandler,(self,) + _args, _kwargs)
+ return val
def SetTitle(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetTitle,(self,) + _args, _kwargs)
return val
val = apply(windowsc.wxWindow_GetToolTip,(self,) + _args, _kwargs)
if val: val = wxToolTipPtr(val)
return val
+ def SetSizer(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetSizer,(self,) + _args, _kwargs)
+ return val
+ def GetValidator(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetValidator,(self,) + _args, _kwargs)
+ if val: val = wxValidatorPtr(val)
+ return val
+ def SetValidator(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetValidator,(self,) + _args, _kwargs)
+ return val
+ def SetDropTarget(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetDropTarget,(self,) + _args, _kwargs)
+ _args[0].thisown = 0
+ return val
+ def GetDropTarget(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetDropTarget,(self,) + _args, _kwargs)
+ if val: val = wxDropTargetPtr(val)
+ return val
+ def GetBestSize(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetBestSize,(self,) + _args, _kwargs)
+ if val: val = wxSizePtr(val) ; val.thisown = 1
+ return val
def __repr__(self):
return "<C wxWindow instance at %s>" % (self.this,)
class wxWindow(wxWindowPtr):
def SetScrollbars(self, *_args, **_kwargs):
val = apply(windowsc.wxScrolledWindow_SetScrollbars,(self,) + _args, _kwargs)
return val
+ def SetTargetWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxScrolledWindow_SetTargetWindow,(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
+ def CalcUnscrolledPosition(self, *_args, **_kwargs):
+ val = apply(windowsc.wxScrolledWindow_CalcUnscrolledPosition,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxScrolledWindow instance at %s>" % (self.this,)
class wxScrolledWindow(wxScrolledWindowPtr):
def AppendMenu(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_AppendMenu,(self,) + _args, _kwargs)
return val
+ def AppendItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_AppendItem,(self,) + _args, _kwargs)
+ return val
def AppendSeparator(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_AppendSeparator,(self,) + _args, _kwargs)
return val
def Check(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_Check,(self,) + _args, _kwargs)
return val
+ def IsChecked(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_IsChecked,(self,) + _args, _kwargs)
+ return val
def Enable(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_Enable,(self,) + _args, _kwargs)
return val
+ def IsEnabled(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_IsEnabled,(self,) + _args, _kwargs)
+ return val
def FindItem(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_FindItem,(self,) + _args, _kwargs)
return val
+ def FindItemById(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_FindItemById,(self,) + _args, _kwargs)
+ if val: val = wxMenuItemPtr(val)
+ return val
def GetTitle(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_GetTitle,(self,) + _args, _kwargs)
return val
def SetTitle(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_SetTitle,(self,) + _args, _kwargs)
return val
- def FindItemForId(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenu_FindItemForId,(self,) + _args, _kwargs)
- if val: val = wxMenuItemPtr(val)
+ def GetLabel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_GetLabel,(self,) + _args, _kwargs)
+ return val
+ def SetLabel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_SetLabel,(self,) + _args, _kwargs)
return val
def GetHelpString(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_GetHelpString,(self,) + _args, _kwargs)
return val
- def GetLabel(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenu_GetLabel,(self,) + _args, _kwargs)
- return val
def SetHelpString(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_SetHelpString,(self,) + _args, _kwargs)
return val
- def IsChecked(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenu_IsChecked,(self,) + _args, _kwargs)
+ def UpdateUI(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_UpdateUI,(self,) + _args, _kwargs)
return val
- def IsEnabled(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenu_IsEnabled,(self,) + _args, _kwargs)
+ def Delete(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_Delete,(self,) + _args, _kwargs)
return val
- def SetLabel(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenu_SetLabel,(self,) + _args, _kwargs)
+ def DeleteItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_DeleteItem,(self,) + _args, _kwargs)
return val
- def UpdateUI(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenu_UpdateUI,(self,) + _args, _kwargs)
+ def Insert(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_Insert,(self,) + _args, _kwargs)
+ return val
+ def Remove(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_Remove,(self,) + _args, _kwargs)
+ if val: val = wxMenuItemPtr(val)
+ return val
+ def RemoveItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_RemoveItem,(self,) + _args, _kwargs)
+ if val: val = wxMenuItemPtr(val)
return val
def Destroy(self, *_args, **_kwargs):
val = apply(windowsc.wxMenu_Destroy,(self,) + _args, _kwargs)
return val
+ def DestroyId(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_DestroyId,(self,) + _args, _kwargs)
+ return val
+ def DestroyItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_DestroyItem,(self,) + _args, _kwargs)
+ return val
+ def GetMenuItemCount(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_GetMenuItemCount,(self,) + _args, _kwargs)
+ return val
+ def GetMenuItems(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_GetMenuItems,(self,) + _args, _kwargs)
+ return val
+ def SetEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_SetEventHandler,(self,) + _args, _kwargs)
+ return val
+ def GetEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_GetEventHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
+ def SetInvokingWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_SetInvokingWindow,(self,) + _args, _kwargs)
+ return val
+ def GetInvokingWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_GetInvokingWindow,(self,) + _args, _kwargs)
+ if val: val = wxWindowPtr(val)
+ return val
+ def GetStyle(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_GetStyle,(self,) + _args, _kwargs)
+ return val
+ def IsAttached(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_IsAttached,(self,) + _args, _kwargs)
+ return val
+ def SetParent(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_SetParent,(self,) + _args, _kwargs)
+ return val
+ def GetParent(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenu_GetParent,(self,) + _args, _kwargs)
+ if val: val = wxMenuPtr(val)
+ return val
def __repr__(self):
return "<C wxMenu instance at %s>" % (self.this,)
class wxMenu(wxMenuPtr):
-class wxMenuBarPtr(wxEvtHandlerPtr):
+class wxMenuBarPtr(wxWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def Append(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuBar_Append,(self,) + _args, _kwargs)
return val
- def Check(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_Check,(self,) + _args, _kwargs)
+ def Insert(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_Insert,(self,) + _args, _kwargs)
return val
- def Checked(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_Checked,(self,) + _args, _kwargs)
+ def GetMenuCount(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_GetMenuCount,(self,) + _args, _kwargs)
return val
- def Enable(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_Enable,(self,) + _args, _kwargs)
+ def GetMenu(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_GetMenu,(self,) + _args, _kwargs)
+ if val: val = wxMenuPtr(val)
return val
- def Enabled(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_Enabled,(self,) + _args, _kwargs)
+ def Replace(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_Replace,(self,) + _args, _kwargs)
+ if val: val = wxMenuPtr(val)
+ return val
+ def Remove(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_Remove,(self,) + _args, _kwargs)
+ if val: val = wxMenuPtr(val)
+ return val
+ def EnableTop(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_EnableTop,(self,) + _args, _kwargs)
+ return val
+ def SetLabelTop(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_SetLabelTop,(self,) + _args, _kwargs)
+ return val
+ def GetLabelTop(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_GetLabelTop,(self,) + _args, _kwargs)
return val
def FindMenuItem(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuBar_FindMenuItem,(self,) + _args, _kwargs)
return val
- def FindItemForId(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_FindItemForId,(self,) + _args, _kwargs)
+ def FindItemById(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_FindItemById,(self,) + _args, _kwargs)
if val: val = wxMenuItemPtr(val)
return val
- def GetMenuCount(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_GetMenuCount,(self,) + _args, _kwargs)
+ def Enable(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_Enable,(self,) + _args, _kwargs)
return val
- def GetMenu(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_GetMenu,(self,) + _args, _kwargs)
- if val: val = wxMenuPtr(val)
+ def Check(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_Check,(self,) + _args, _kwargs)
+ return val
+ def IsChecked(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_IsChecked,(self,) + _args, _kwargs)
+ return val
+ def IsEnabled(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_IsEnabled,(self,) + _args, _kwargs)
+ return val
+ def SetLabel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_SetLabel,(self,) + _args, _kwargs)
+ return val
+ def GetLabel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_GetLabel,(self,) + _args, _kwargs)
+ return val
+ def SetHelpString(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_SetHelpString,(self,) + _args, _kwargs)
+ return val
+ def GetHelpString(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_GetHelpString,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxMenuBar instance at %s>" % (self.this,)
def __init__(self,this):
self.this = this
self.thisown = 0
+ def GetMenu(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_GetMenu,(self,) + _args, _kwargs)
+ if val: val = wxMenuPtr(val)
+ return val
+ def SetId(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_SetId,(self,) + _args, _kwargs)
+ return val
+ def GetId(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_GetId,(self,) + _args, _kwargs)
+ return val
def IsSeparator(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_IsSeparator,(self,) + _args, _kwargs)
return val
- def IsEnabled(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_IsEnabled,(self,) + _args, _kwargs)
+ def SetText(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_SetText,(self,) + _args, _kwargs)
return val
- def IsChecked(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_IsChecked,(self,) + _args, _kwargs)
+ def GetLabel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_GetLabel,(self,) + _args, _kwargs)
+ return val
+ def GetText(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_GetText,(self,) + _args, _kwargs)
+ return val
+ def SetCheckable(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_SetCheckable,(self,) + _args, _kwargs)
return val
def IsCheckable(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_IsCheckable,(self,) + _args, _kwargs)
return val
- def GetId(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_GetId,(self,) + _args, _kwargs)
+ def IsSubMenu(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_IsSubMenu,(self,) + _args, _kwargs)
+ return val
+ def SetSubMenu(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_SetSubMenu,(self,) + _args, _kwargs)
return val
def GetSubMenu(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_GetSubMenu,(self,) + _args, _kwargs)
if val: val = wxMenuPtr(val)
return val
- def SetName(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_SetName,(self,) + _args, _kwargs)
+ def Enable(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_Enable,(self,) + _args, _kwargs)
return val
- def GetName(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_GetName,(self,) + _args, _kwargs)
+ def IsEnabled(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_IsEnabled,(self,) + _args, _kwargs)
return val
- def GetHelp(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_GetHelp,(self,) + _args, _kwargs)
+ def Check(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_Check,(self,) + _args, _kwargs)
+ return val
+ def IsChecked(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_IsChecked,(self,) + _args, _kwargs)
+ return val
+ def Toggle(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_Toggle,(self,) + _args, _kwargs)
return val
def SetHelp(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuItem_SetHelp,(self,) + _args, _kwargs)
return val
- def Enable(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_Enable,(self,) + _args, _kwargs)
+ def GetHelp(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_GetHelp,(self,) + _args, _kwargs)
return val
- def Check(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuItem_Check,(self,) + _args, _kwargs)
+ def GetAccel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_GetAccel,(self,) + _args, _kwargs)
+ if val: val = wxAcceleratorEntryPtr(val)
+ return val
+ def SetAccel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuItem_SetAccel,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxMenuItem instance at %s>" % (self.this,)
#-------------- FUNCTION WRAPPERS ------------------
+wxValidator_IsSilent = windowsc.wxValidator_IsSilent
+
+wxValidator_SetBellOnError = windowsc.wxValidator_SetBellOnError
+
#-------------- VARIABLE WRAPPERS ------------------