def __init__(self,this):
self.this = this
self.thisown = 0
+ def __del__(self,miscc=miscc):
+ if self.thisown == 1 :
+ miscc.delete_wxAcceleratorEntry(self)
def Set(self, *_args, **_kwargs):
val = apply(miscc.wxAcceleratorEntry_Set,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
+ def __del__(self,miscc=miscc):
+ if self.thisown == 1 :
+ miscc.delete_wxAcceleratorTable(self)
def __repr__(self):
return "<C wxAcceleratorTable instance at %s>" % (self.this,)
class wxAcceleratorTable(wxAcceleratorTablePtr):
#-------------- FUNCTION WRAPPERS ------------------
-wxFileSelector = miscc.wxFileSelector
-
-wxGetTextFromUser = miscc.wxGetTextFromUser
-
-wxGetSingleChoice = miscc.wxGetSingleChoice
-
-wxGetSingleChoiceIndex = miscc.wxGetSingleChoiceIndex
-
-wxMessageBox = miscc.wxMessageBox
-
-wxGetNumberFromUser = miscc.wxGetNumberFromUser
-
-wxColourDisplay = miscc.wxColourDisplay
-
-wxDisplayDepth = miscc.wxDisplayDepth
-
-wxSetCursor = miscc.wxSetCursor
-
wxNewId = miscc.wxNewId
wxRegisterId = miscc.wxRegisterId
RegisterId = miscc.RegisterId
-wxBeginBusyCursor = miscc.wxBeginBusyCursor
-
wxBell = miscc.wxBell
wxDisplaySize = miscc.wxDisplaySize
wxExecute = miscc.wxExecute
-def wxGetActiveWindow(*_args, **_kwargs):
- val = apply(miscc.wxGetActiveWindow,_args,_kwargs)
- if val: val = wxWindowPtr(val)
- return val
-
wxGetElapsedTime = miscc.wxGetElapsedTime
wxGetFreeMemory = miscc.wxGetFreeMemory
wxGetResource = miscc.wxGetResource
-wxResourceAddIdentifier = miscc.wxResourceAddIdentifier
-
-wxResourceClear = miscc.wxResourceClear
-
-def wxResourceCreateBitmap(*_args, **_kwargs):
- val = apply(miscc.wxResourceCreateBitmap,_args,_kwargs)
- if val: val = wxBitmapPtr(val); val.thisown = 1
- return val
-
-def wxResourceCreateIcon(*_args, **_kwargs):
- val = apply(miscc.wxResourceCreateIcon,_args,_kwargs)
- if val: val = wxIconPtr(val); val.thisown = 1
- return val
-
-def wxResourceCreateMenuBar(*_args, **_kwargs):
- val = apply(miscc.wxResourceCreateMenuBar,_args,_kwargs)
- if val: val = wxMenuBarPtr(val)
- return val
-
-wxResourceGetIdentifier = miscc.wxResourceGetIdentifier
-
-wxResourceParseData = miscc.wxResourceParseData
-
-wxResourceParseFile = miscc.wxResourceParseFile
-
-wxResourceParseString = miscc.wxResourceParseString
-
-def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
- val = apply(miscc.wxSystemSettings_GetSystemColour,_args,_kwargs)
- if val: val = wxColourPtr(val); val.thisown = 1
- return val
-
-def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
- val = apply(miscc.wxSystemSettings_GetSystemFont,_args,_kwargs)
- if val: val = wxFontPtr(val); val.thisown = 1
- return val
-
-wxSystemSettings_GetSystemMetric = miscc.wxSystemSettings_GetSystemMetric
-
#-------------- VARIABLE WRAPPERS ------------------
wxOutRegion = miscc.wxOutRegion
wxPartRegion = miscc.wxPartRegion
wxInRegion = miscc.wxInRegion
-wxSYS_WHITE_BRUSH = miscc.wxSYS_WHITE_BRUSH
-wxSYS_LTGRAY_BRUSH = miscc.wxSYS_LTGRAY_BRUSH
-wxSYS_GRAY_BRUSH = miscc.wxSYS_GRAY_BRUSH
-wxSYS_DKGRAY_BRUSH = miscc.wxSYS_DKGRAY_BRUSH
-wxSYS_BLACK_BRUSH = miscc.wxSYS_BLACK_BRUSH
-wxSYS_NULL_BRUSH = miscc.wxSYS_NULL_BRUSH
-wxSYS_HOLLOW_BRUSH = miscc.wxSYS_HOLLOW_BRUSH
-wxSYS_WHITE_PEN = miscc.wxSYS_WHITE_PEN
-wxSYS_BLACK_PEN = miscc.wxSYS_BLACK_PEN
-wxSYS_NULL_PEN = miscc.wxSYS_NULL_PEN
-wxSYS_OEM_FIXED_FONT = miscc.wxSYS_OEM_FIXED_FONT
-wxSYS_ANSI_FIXED_FONT = miscc.wxSYS_ANSI_FIXED_FONT
-wxSYS_ANSI_VAR_FONT = miscc.wxSYS_ANSI_VAR_FONT
-wxSYS_SYSTEM_FONT = miscc.wxSYS_SYSTEM_FONT
-wxSYS_DEVICE_DEFAULT_FONT = miscc.wxSYS_DEVICE_DEFAULT_FONT
-wxSYS_DEFAULT_PALETTE = miscc.wxSYS_DEFAULT_PALETTE
-wxSYS_SYSTEM_FIXED_FONT = miscc.wxSYS_SYSTEM_FIXED_FONT
-wxSYS_DEFAULT_GUI_FONT = miscc.wxSYS_DEFAULT_GUI_FONT
-wxSYS_COLOUR_SCROLLBAR = miscc.wxSYS_COLOUR_SCROLLBAR
-wxSYS_COLOUR_BACKGROUND = miscc.wxSYS_COLOUR_BACKGROUND
-wxSYS_COLOUR_ACTIVECAPTION = miscc.wxSYS_COLOUR_ACTIVECAPTION
-wxSYS_COLOUR_INACTIVECAPTION = miscc.wxSYS_COLOUR_INACTIVECAPTION
-wxSYS_COLOUR_MENU = miscc.wxSYS_COLOUR_MENU
-wxSYS_COLOUR_WINDOW = miscc.wxSYS_COLOUR_WINDOW
-wxSYS_COLOUR_WINDOWFRAME = miscc.wxSYS_COLOUR_WINDOWFRAME
-wxSYS_COLOUR_MENUTEXT = miscc.wxSYS_COLOUR_MENUTEXT
-wxSYS_COLOUR_WINDOWTEXT = miscc.wxSYS_COLOUR_WINDOWTEXT
-wxSYS_COLOUR_CAPTIONTEXT = miscc.wxSYS_COLOUR_CAPTIONTEXT
-wxSYS_COLOUR_ACTIVEBORDER = miscc.wxSYS_COLOUR_ACTIVEBORDER
-wxSYS_COLOUR_INACTIVEBORDER = miscc.wxSYS_COLOUR_INACTIVEBORDER
-wxSYS_COLOUR_APPWORKSPACE = miscc.wxSYS_COLOUR_APPWORKSPACE
-wxSYS_COLOUR_HIGHLIGHT = miscc.wxSYS_COLOUR_HIGHLIGHT
-wxSYS_COLOUR_HIGHLIGHTTEXT = miscc.wxSYS_COLOUR_HIGHLIGHTTEXT
-wxSYS_COLOUR_BTNFACE = miscc.wxSYS_COLOUR_BTNFACE
-wxSYS_COLOUR_BTNSHADOW = miscc.wxSYS_COLOUR_BTNSHADOW
-wxSYS_COLOUR_GRAYTEXT = miscc.wxSYS_COLOUR_GRAYTEXT
-wxSYS_COLOUR_BTNTEXT = miscc.wxSYS_COLOUR_BTNTEXT
-wxSYS_COLOUR_INACTIVECAPTIONTEXT = miscc.wxSYS_COLOUR_INACTIVECAPTIONTEXT
-wxSYS_COLOUR_BTNHIGHLIGHT = miscc.wxSYS_COLOUR_BTNHIGHLIGHT
-wxSYS_COLOUR_3DDKSHADOW = miscc.wxSYS_COLOUR_3DDKSHADOW
-wxSYS_COLOUR_3DLIGHT = miscc.wxSYS_COLOUR_3DLIGHT
-wxSYS_COLOUR_INFOTEXT = miscc.wxSYS_COLOUR_INFOTEXT
-wxSYS_COLOUR_INFOBK = miscc.wxSYS_COLOUR_INFOBK
-wxSYS_COLOUR_DESKTOP = miscc.wxSYS_COLOUR_DESKTOP
-wxSYS_COLOUR_3DFACE = miscc.wxSYS_COLOUR_3DFACE
-wxSYS_COLOUR_3DSHADOW = miscc.wxSYS_COLOUR_3DSHADOW
-wxSYS_COLOUR_3DHIGHLIGHT = miscc.wxSYS_COLOUR_3DHIGHLIGHT
-wxSYS_COLOUR_3DHILIGHT = miscc.wxSYS_COLOUR_3DHILIGHT
-wxSYS_COLOUR_BTNHILIGHT = miscc.wxSYS_COLOUR_BTNHILIGHT
-wxSYS_MOUSE_BUTTONS = miscc.wxSYS_MOUSE_BUTTONS
-wxSYS_BORDER_X = miscc.wxSYS_BORDER_X
-wxSYS_BORDER_Y = miscc.wxSYS_BORDER_Y
-wxSYS_CURSOR_X = miscc.wxSYS_CURSOR_X
-wxSYS_CURSOR_Y = miscc.wxSYS_CURSOR_Y
-wxSYS_DCLICK_X = miscc.wxSYS_DCLICK_X
-wxSYS_DCLICK_Y = miscc.wxSYS_DCLICK_Y
-wxSYS_DRAG_X = miscc.wxSYS_DRAG_X
-wxSYS_DRAG_Y = miscc.wxSYS_DRAG_Y
-wxSYS_EDGE_X = miscc.wxSYS_EDGE_X
-wxSYS_EDGE_Y = miscc.wxSYS_EDGE_Y
-wxSYS_HSCROLL_ARROW_X = miscc.wxSYS_HSCROLL_ARROW_X
-wxSYS_HSCROLL_ARROW_Y = miscc.wxSYS_HSCROLL_ARROW_Y
-wxSYS_HTHUMB_X = miscc.wxSYS_HTHUMB_X
-wxSYS_ICON_X = miscc.wxSYS_ICON_X
-wxSYS_ICON_Y = miscc.wxSYS_ICON_Y
-wxSYS_ICONSPACING_X = miscc.wxSYS_ICONSPACING_X
-wxSYS_ICONSPACING_Y = miscc.wxSYS_ICONSPACING_Y
-wxSYS_WINDOWMIN_X = miscc.wxSYS_WINDOWMIN_X
-wxSYS_WINDOWMIN_Y = miscc.wxSYS_WINDOWMIN_Y
-wxSYS_SCREEN_X = miscc.wxSYS_SCREEN_X
-wxSYS_SCREEN_Y = miscc.wxSYS_SCREEN_Y
-wxSYS_FRAMESIZE_X = miscc.wxSYS_FRAMESIZE_X
-wxSYS_FRAMESIZE_Y = miscc.wxSYS_FRAMESIZE_Y
-wxSYS_SMALLICON_X = miscc.wxSYS_SMALLICON_X
-wxSYS_SMALLICON_Y = miscc.wxSYS_SMALLICON_Y
-wxSYS_HSCROLL_Y = miscc.wxSYS_HSCROLL_Y
-wxSYS_VSCROLL_X = miscc.wxSYS_VSCROLL_X
-wxSYS_VSCROLL_ARROW_X = miscc.wxSYS_VSCROLL_ARROW_X
-wxSYS_VSCROLL_ARROW_Y = miscc.wxSYS_VSCROLL_ARROW_Y
-wxSYS_VTHUMB_Y = miscc.wxSYS_VTHUMB_Y
-wxSYS_CAPTION_Y = miscc.wxSYS_CAPTION_Y
-wxSYS_MENU_Y = miscc.wxSYS_MENU_Y
-wxSYS_NETWORK_PRESENT = miscc.wxSYS_NETWORK_PRESENT
-wxSYS_PENWINDOWS_PRESENT = miscc.wxSYS_PENWINDOWS_PRESENT
-wxSYS_SHOW_SOUNDS = miscc.wxSYS_SHOW_SOUNDS
-wxSYS_SWAP_BUTTONS = miscc.wxSYS_SWAP_BUTTONS