Added the missing wxWindow.GetUpdateRegion() method. Made a new change in SWIG (update your patches everybody) that provides a fix for global shadow objects that get an exception in their __del__ when their extension module has already been deleted. It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about line 496 if you want to do it by hand. It is now possible to run through MainLoop more than once in any one process. The cleanup that used to happen as MainLoop completed (and prevented it from running again) has been delayed until the wxc module is being unloaded by Python. wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added wxWindow.PopupMenuXY to be consistent with some other methods. Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace. You can now provide your own app.MainLoop method. See wxPython/demo/demoMainLoop.py for an example and some explaination. Got the in-place-edit for the wxTreeCtrl fixed and added some demo code to show how to use it. Put the wxIcon constructor back in for GTK as it now has one that matches MSW's. Added wxGrid.GetCells Added wxSystemSettings static methods as functions with names like wxSystemSettings_GetSystemColour. Removed wxPyMenu since using menu callbacks have been depreciated in wxWindows. Use wxMenu and events instead. Added alternate wxBitmap constructor (for MSW only) as wxBitmapFromData(data, type, width, height, depth = 1) Added a helper function named wxPyTypeCast that can convert shadow objects of one type into shadow objects of another type. (Like doing a down-cast.) See the implementation in wx.py for some docs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
751 lines
24 KiB
Python
751 lines
24 KiB
Python
# This file was created automatically by SWIG.
|
|
import miscc
|
|
class wxSizePtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __del__(self, miscc=miscc):
|
|
if self.thisown == 1 :
|
|
miscc.delete_wxSize(self.this)
|
|
def Set(self,arg0,arg1):
|
|
val = miscc.wxSize_Set(self.this,arg0,arg1)
|
|
return val
|
|
def GetX(self):
|
|
val = miscc.wxSize_GetX(self.this)
|
|
return val
|
|
def GetY(self):
|
|
val = miscc.wxSize_GetY(self.this)
|
|
return val
|
|
def GetWidth(self):
|
|
val = miscc.wxSize_GetWidth(self.this)
|
|
return val
|
|
def GetHeight(self):
|
|
val = miscc.wxSize_GetHeight(self.this)
|
|
return val
|
|
def SetWidth(self,arg0):
|
|
val = miscc.wxSize_SetWidth(self.this,arg0)
|
|
return val
|
|
def SetHeight(self,arg0):
|
|
val = miscc.wxSize_SetHeight(self.this,arg0)
|
|
return val
|
|
def asTuple(self):
|
|
val = miscc.wxSize_asTuple(self.this)
|
|
return val
|
|
def __setattr__(self,name,value):
|
|
if name == "x" :
|
|
miscc.wxSize_x_set(self.this,value)
|
|
return
|
|
if name == "y" :
|
|
miscc.wxSize_y_set(self.this,value)
|
|
return
|
|
if name == "width" :
|
|
miscc.wxSize_width_set(self.this,value)
|
|
return
|
|
if name == "height" :
|
|
miscc.wxSize_height_set(self.this,value)
|
|
return
|
|
self.__dict__[name] = value
|
|
def __getattr__(self,name):
|
|
if name == "x" :
|
|
return miscc.wxSize_x_get(self.this)
|
|
if name == "y" :
|
|
return miscc.wxSize_y_get(self.this)
|
|
if name == "width" :
|
|
return miscc.wxSize_width_get(self.this)
|
|
if name == "height" :
|
|
return miscc.wxSize_height_get(self.this)
|
|
raise AttributeError,name
|
|
def __repr__(self):
|
|
return "<C wxSize instance>"
|
|
def __str__(self): return str(self.asTuple())
|
|
def __repr__(self): return str(self.asTuple())
|
|
class wxSize(wxSizePtr):
|
|
def __init__(self,*args) :
|
|
self.this = apply(miscc.new_wxSize,()+args)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxRealPointPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __del__(self, miscc=miscc):
|
|
if self.thisown == 1 :
|
|
miscc.delete_wxRealPoint(self.this)
|
|
def __setattr__(self,name,value):
|
|
if name == "x" :
|
|
miscc.wxRealPoint_x_set(self.this,value)
|
|
return
|
|
if name == "y" :
|
|
miscc.wxRealPoint_y_set(self.this,value)
|
|
return
|
|
self.__dict__[name] = value
|
|
def __getattr__(self,name):
|
|
if name == "x" :
|
|
return miscc.wxRealPoint_x_get(self.this)
|
|
if name == "y" :
|
|
return miscc.wxRealPoint_y_get(self.this)
|
|
raise AttributeError,name
|
|
def __repr__(self):
|
|
return "<C wxRealPoint instance>"
|
|
class wxRealPoint(wxRealPointPtr):
|
|
def __init__(self,*args) :
|
|
self.this = apply(miscc.new_wxRealPoint,()+args)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxPointPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __del__(self, miscc=miscc):
|
|
if self.thisown == 1 :
|
|
miscc.delete_wxPoint(self.this)
|
|
def Set(self,arg0,arg1):
|
|
val = miscc.wxPoint_Set(self.this,arg0,arg1)
|
|
return val
|
|
def asTuple(self):
|
|
val = miscc.wxPoint_asTuple(self.this)
|
|
return val
|
|
def __setattr__(self,name,value):
|
|
if name == "x" :
|
|
miscc.wxPoint_x_set(self.this,value)
|
|
return
|
|
if name == "y" :
|
|
miscc.wxPoint_y_set(self.this,value)
|
|
return
|
|
self.__dict__[name] = value
|
|
def __getattr__(self,name):
|
|
if name == "x" :
|
|
return miscc.wxPoint_x_get(self.this)
|
|
if name == "y" :
|
|
return miscc.wxPoint_y_get(self.this)
|
|
raise AttributeError,name
|
|
def __repr__(self):
|
|
return "<C wxPoint instance>"
|
|
def __str__(self): return str(self.asTuple())
|
|
def __repr__(self): return str(self.asTuple())
|
|
class wxPoint(wxPointPtr):
|
|
def __init__(self,*args) :
|
|
self.this = apply(miscc.new_wxPoint,()+args)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxRectPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __del__(self, miscc=miscc):
|
|
if self.thisown == 1 :
|
|
miscc.delete_wxRect(self.this)
|
|
def GetX(self):
|
|
val = miscc.wxRect_GetX(self.this)
|
|
return val
|
|
def SetX(self,arg0):
|
|
val = miscc.wxRect_SetX(self.this,arg0)
|
|
return val
|
|
def GetY(self):
|
|
val = miscc.wxRect_GetY(self.this)
|
|
return val
|
|
def SetY(self,arg0):
|
|
val = miscc.wxRect_SetY(self.this,arg0)
|
|
return val
|
|
def GetWidth(self):
|
|
val = miscc.wxRect_GetWidth(self.this)
|
|
return val
|
|
def SetWidth(self,arg0):
|
|
val = miscc.wxRect_SetWidth(self.this,arg0)
|
|
return val
|
|
def GetHeight(self):
|
|
val = miscc.wxRect_GetHeight(self.this)
|
|
return val
|
|
def SetHeight(self,arg0):
|
|
val = miscc.wxRect_SetHeight(self.this,arg0)
|
|
return val
|
|
def GetPosition(self):
|
|
val = miscc.wxRect_GetPosition(self.this)
|
|
val = wxPointPtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
def GetSize(self):
|
|
val = miscc.wxRect_GetSize(self.this)
|
|
val = wxSizePtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
def GetLeft(self):
|
|
val = miscc.wxRect_GetLeft(self.this)
|
|
return val
|
|
def GetTop(self):
|
|
val = miscc.wxRect_GetTop(self.this)
|
|
return val
|
|
def GetBottom(self):
|
|
val = miscc.wxRect_GetBottom(self.this)
|
|
return val
|
|
def GetRight(self):
|
|
val = miscc.wxRect_GetRight(self.this)
|
|
return val
|
|
def asTuple(self):
|
|
val = miscc.wxRect_asTuple(self.this)
|
|
return val
|
|
def __setattr__(self,name,value):
|
|
if name == "x" :
|
|
miscc.wxRect_x_set(self.this,value)
|
|
return
|
|
if name == "y" :
|
|
miscc.wxRect_y_set(self.this,value)
|
|
return
|
|
if name == "width" :
|
|
miscc.wxRect_width_set(self.this,value)
|
|
return
|
|
if name == "height" :
|
|
miscc.wxRect_height_set(self.this,value)
|
|
return
|
|
self.__dict__[name] = value
|
|
def __getattr__(self,name):
|
|
if name == "x" :
|
|
return miscc.wxRect_x_get(self.this)
|
|
if name == "y" :
|
|
return miscc.wxRect_y_get(self.this)
|
|
if name == "width" :
|
|
return miscc.wxRect_width_get(self.this)
|
|
if name == "height" :
|
|
return miscc.wxRect_height_get(self.this)
|
|
raise AttributeError,name
|
|
def __repr__(self):
|
|
return "<C wxRect instance>"
|
|
def __str__(self): return str(self.asTuple())
|
|
def __repr__(self): return str(self.asTuple())
|
|
class wxRect(wxRectPtr):
|
|
def __init__(self,*args) :
|
|
self.this = apply(miscc.new_wxRect,()+args)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxPyTimerPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __del__(self, miscc=miscc):
|
|
if self.thisown == 1 :
|
|
miscc.delete_wxPyTimer(self.this)
|
|
def Interval(self):
|
|
val = miscc.wxPyTimer_Interval(self.this)
|
|
return val
|
|
def Start(self,*args):
|
|
val = apply(miscc.wxPyTimer_Start,(self.this,)+args)
|
|
return val
|
|
def Stop(self):
|
|
val = miscc.wxPyTimer_Stop(self.this)
|
|
return val
|
|
def __repr__(self):
|
|
return "<C wxPyTimer instance>"
|
|
class wxPyTimer(wxPyTimerPtr):
|
|
def __init__(self,arg0) :
|
|
self.this = miscc.new_wxPyTimer(arg0)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxIndividualLayoutConstraintPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def Above(self,arg0,*args):
|
|
val = apply(miscc.wxIndividualLayoutConstraint_Above,(self.this,arg0.this,)+args)
|
|
return val
|
|
def Absolute(self,arg0):
|
|
val = miscc.wxIndividualLayoutConstraint_Absolute(self.this,arg0)
|
|
return val
|
|
def AsIs(self):
|
|
val = miscc.wxIndividualLayoutConstraint_AsIs(self.this)
|
|
return val
|
|
def Below(self,arg0,*args):
|
|
val = apply(miscc.wxIndividualLayoutConstraint_Below,(self.this,arg0.this,)+args)
|
|
return val
|
|
def Unconstrained(self):
|
|
val = miscc.wxIndividualLayoutConstraint_Unconstrained(self.this)
|
|
return val
|
|
def LeftOf(self,arg0,*args):
|
|
val = apply(miscc.wxIndividualLayoutConstraint_LeftOf,(self.this,arg0.this,)+args)
|
|
return val
|
|
def PercentOf(self,arg0,arg1,arg2):
|
|
val = miscc.wxIndividualLayoutConstraint_PercentOf(self.this,arg0.this,arg1,arg2)
|
|
return val
|
|
def RightOf(self,arg0,*args):
|
|
val = apply(miscc.wxIndividualLayoutConstraint_RightOf,(self.this,arg0.this,)+args)
|
|
return val
|
|
def SameAs(self,arg0,arg1,*args):
|
|
val = apply(miscc.wxIndividualLayoutConstraint_SameAs,(self.this,arg0.this,arg1,)+args)
|
|
return val
|
|
def Set(self,arg0,arg1,arg2,*args):
|
|
val = apply(miscc.wxIndividualLayoutConstraint_Set,(self.this,arg0,arg1.this,arg2,)+args)
|
|
return val
|
|
def __repr__(self):
|
|
return "<C wxIndividualLayoutConstraint instance>"
|
|
class wxIndividualLayoutConstraint(wxIndividualLayoutConstraintPtr):
|
|
def __init__(self,this):
|
|
self.this = this
|
|
|
|
|
|
|
|
|
|
class wxLayoutConstraintsPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __setattr__(self,name,value):
|
|
if name == "bottom" :
|
|
miscc.wxLayoutConstraints_bottom_set(self.this,value.this)
|
|
return
|
|
if name == "centreX" :
|
|
miscc.wxLayoutConstraints_centreX_set(self.this,value.this)
|
|
return
|
|
if name == "centreY" :
|
|
miscc.wxLayoutConstraints_centreY_set(self.this,value.this)
|
|
return
|
|
if name == "height" :
|
|
miscc.wxLayoutConstraints_height_set(self.this,value.this)
|
|
return
|
|
if name == "left" :
|
|
miscc.wxLayoutConstraints_left_set(self.this,value.this)
|
|
return
|
|
if name == "right" :
|
|
miscc.wxLayoutConstraints_right_set(self.this,value.this)
|
|
return
|
|
if name == "top" :
|
|
miscc.wxLayoutConstraints_top_set(self.this,value.this)
|
|
return
|
|
if name == "width" :
|
|
miscc.wxLayoutConstraints_width_set(self.this,value.this)
|
|
return
|
|
self.__dict__[name] = value
|
|
def __getattr__(self,name):
|
|
if name == "bottom" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_bottom_get(self.this))
|
|
if name == "centreX" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreX_get(self.this))
|
|
if name == "centreY" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_centreY_get(self.this))
|
|
if name == "height" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_height_get(self.this))
|
|
if name == "left" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_left_get(self.this))
|
|
if name == "right" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_right_get(self.this))
|
|
if name == "top" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_top_get(self.this))
|
|
if name == "width" :
|
|
return wxIndividualLayoutConstraintPtr(miscc.wxLayoutConstraints_width_get(self.this))
|
|
raise AttributeError,name
|
|
def __repr__(self):
|
|
return "<C wxLayoutConstraints instance>"
|
|
class wxLayoutConstraints(wxLayoutConstraintsPtr):
|
|
def __init__(self) :
|
|
self.this = miscc.new_wxLayoutConstraints()
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxRegionPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __del__(self, miscc=miscc):
|
|
if self.thisown == 1 :
|
|
miscc.delete_wxRegion(self.this)
|
|
def Clear(self):
|
|
val = miscc.wxRegion_Clear(self.this)
|
|
return val
|
|
def Contains(self,arg0,arg1):
|
|
val = miscc.wxRegion_Contains(self.this,arg0,arg1)
|
|
return val
|
|
def ContainsPoint(self,arg0):
|
|
val = miscc.wxRegion_ContainsPoint(self.this,arg0.this)
|
|
return val
|
|
def ContainsRect(self,arg0):
|
|
val = miscc.wxRegion_ContainsRect(self.this,arg0.this)
|
|
return val
|
|
def GetBox(self):
|
|
val = miscc.wxRegion_GetBox(self.this)
|
|
val = wxRectPtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
def Intersect(self,arg0):
|
|
val = miscc.wxRegion_Intersect(self.this,arg0.this)
|
|
return val
|
|
def Subtract(self,arg0):
|
|
val = miscc.wxRegion_Subtract(self.this,arg0.this)
|
|
return val
|
|
def Union(self,arg0):
|
|
val = miscc.wxRegion_Union(self.this,arg0.this)
|
|
return val
|
|
def Xor(self,arg0):
|
|
val = miscc.wxRegion_Xor(self.this,arg0.this)
|
|
return val
|
|
def __repr__(self):
|
|
return "<C wxRegion instance>"
|
|
class wxRegion(wxRegionPtr):
|
|
def __init__(self) :
|
|
self.this = miscc.new_wxRegion()
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxRegionIteratorPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __del__(self, miscc=miscc):
|
|
if self.thisown == 1 :
|
|
miscc.delete_wxRegionIterator(self.this)
|
|
def GetX(self):
|
|
val = miscc.wxRegionIterator_GetX(self.this)
|
|
return val
|
|
def GetY(self):
|
|
val = miscc.wxRegionIterator_GetY(self.this)
|
|
return val
|
|
def GetW(self):
|
|
val = miscc.wxRegionIterator_GetW(self.this)
|
|
return val
|
|
def GetWidth(self):
|
|
val = miscc.wxRegionIterator_GetWidth(self.this)
|
|
return val
|
|
def GetH(self):
|
|
val = miscc.wxRegionIterator_GetH(self.this)
|
|
return val
|
|
def GetHeight(self):
|
|
val = miscc.wxRegionIterator_GetHeight(self.this)
|
|
return val
|
|
def GetRect(self):
|
|
val = miscc.wxRegionIterator_GetRect(self.this)
|
|
val = wxRectPtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
def HaveRects(self):
|
|
val = miscc.wxRegionIterator_HaveRects(self.this)
|
|
return val
|
|
def Reset(self):
|
|
val = miscc.wxRegionIterator_Reset(self.this)
|
|
return val
|
|
def Next(self):
|
|
val = miscc.wxRegionIterator_Next(self.this)
|
|
return val
|
|
def __repr__(self):
|
|
return "<C wxRegionIterator instance>"
|
|
class wxRegionIterator(wxRegionIteratorPtr):
|
|
def __init__(self,arg0) :
|
|
self.this = miscc.new_wxRegionIterator(arg0.this)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxAcceleratorEntryPtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def Set(self,arg0,arg1,arg2):
|
|
val = miscc.wxAcceleratorEntry_Set(self.this,arg0,arg1,arg2)
|
|
return val
|
|
def GetFlags(self):
|
|
val = miscc.wxAcceleratorEntry_GetFlags(self.this)
|
|
return val
|
|
def GetKeyCode(self):
|
|
val = miscc.wxAcceleratorEntry_GetKeyCode(self.this)
|
|
return val
|
|
def GetCommand(self):
|
|
val = miscc.wxAcceleratorEntry_GetCommand(self.this)
|
|
return val
|
|
def __repr__(self):
|
|
return "<C wxAcceleratorEntry instance>"
|
|
class wxAcceleratorEntry(wxAcceleratorEntryPtr):
|
|
def __init__(self,*args) :
|
|
self.this = apply(miscc.new_wxAcceleratorEntry,()+args)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
class wxAcceleratorTablePtr :
|
|
def __init__(self,this):
|
|
self.this = this
|
|
self.thisown = 0
|
|
def __repr__(self):
|
|
return "<C wxAcceleratorTable instance>"
|
|
class wxAcceleratorTable(wxAcceleratorTablePtr):
|
|
def __init__(self,arg0) :
|
|
self.this = miscc.new_wxAcceleratorTable(arg0.this)
|
|
self.thisown = 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#-------------- FUNCTION WRAPPERS ------------------
|
|
|
|
def wxFileSelector(arg0,*args):
|
|
argl = map(None,args)
|
|
try: argl[5] = argl[5].this
|
|
except: pass
|
|
args = tuple(argl)
|
|
val = apply(miscc.wxFileSelector,(arg0,)+args)
|
|
return val
|
|
|
|
def wxGetTextFromUser(arg0,*args):
|
|
argl = map(None,args)
|
|
try: argl[2] = argl[2].this
|
|
except: pass
|
|
args = tuple(argl)
|
|
val = apply(miscc.wxGetTextFromUser,(arg0,)+args)
|
|
return val
|
|
|
|
def wxGetSingleChoice(arg0,arg1,arg2,*args):
|
|
argl = map(None,args)
|
|
try: argl[0] = argl[0].this
|
|
except: pass
|
|
args = tuple(argl)
|
|
val = apply(miscc.wxGetSingleChoice,(arg0,arg1,arg2,)+args)
|
|
return val
|
|
|
|
def wxGetSingleChoiceIndex(arg0,arg1,arg2,*args):
|
|
argl = map(None,args)
|
|
try: argl[0] = argl[0].this
|
|
except: pass
|
|
args = tuple(argl)
|
|
val = apply(miscc.wxGetSingleChoiceIndex,(arg0,arg1,arg2,)+args)
|
|
return val
|
|
|
|
def wxMessageBox(arg0,*args):
|
|
argl = map(None,args)
|
|
try: argl[2] = argl[2].this
|
|
except: pass
|
|
args = tuple(argl)
|
|
val = apply(miscc.wxMessageBox,(arg0,)+args)
|
|
return val
|
|
|
|
def wxGetNumberFromUser(arg0,arg1,arg2,arg3,*args):
|
|
argl = map(None,args)
|
|
try: argl[2] = argl[2].this
|
|
except: pass
|
|
try: argl[3] = argl[3].this
|
|
except: pass
|
|
args = tuple(argl)
|
|
val = apply(miscc.wxGetNumberFromUser,(arg0,arg1,arg2,arg3,)+args)
|
|
return val
|
|
|
|
wxColourDisplay = miscc.wxColourDisplay
|
|
|
|
wxDisplayDepth = miscc.wxDisplayDepth
|
|
|
|
def wxSetCursor(arg0):
|
|
val = miscc.wxSetCursor(arg0.this)
|
|
return val
|
|
|
|
wxNewId = miscc.wxNewId
|
|
|
|
wxRegisterId = miscc.wxRegisterId
|
|
|
|
NewId = miscc.NewId
|
|
|
|
RegisterId = miscc.RegisterId
|
|
|
|
def wxBeginBusyCursor(*args):
|
|
argl = map(None,args)
|
|
try: argl[0] = argl[0].this
|
|
except: pass
|
|
args = tuple(argl)
|
|
val = apply(miscc.wxBeginBusyCursor,()+args)
|
|
return val
|
|
|
|
wxBell = miscc.wxBell
|
|
|
|
wxDisplaySize = miscc.wxDisplaySize
|
|
|
|
wxEndBusyCursor = miscc.wxEndBusyCursor
|
|
|
|
wxExecute = miscc.wxExecute
|
|
|
|
wxGetMousePosition = miscc.wxGetMousePosition
|
|
|
|
wxIsBusy = miscc.wxIsBusy
|
|
|
|
wxNow = miscc.wxNow
|
|
|
|
wxSleep = miscc.wxSleep
|
|
|
|
wxYield = miscc.wxYield
|
|
|
|
wxSafeYield = miscc.wxSafeYield
|
|
|
|
wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows
|
|
|
|
wxGetResource = miscc.wxGetResource
|
|
|
|
wxResourceAddIdentifier = miscc.wxResourceAddIdentifier
|
|
|
|
wxResourceClear = miscc.wxResourceClear
|
|
|
|
def wxResourceCreateBitmap(arg0):
|
|
val = miscc.wxResourceCreateBitmap(arg0)
|
|
val = wxBitmapPtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
|
|
def wxResourceCreateIcon(arg0):
|
|
val = miscc.wxResourceCreateIcon(arg0)
|
|
val = wxIconPtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
|
|
def wxResourceCreateMenuBar(arg0):
|
|
val = miscc.wxResourceCreateMenuBar(arg0)
|
|
val = wxMenuBarPtr(val)
|
|
return val
|
|
|
|
wxResourceGetIdentifier = miscc.wxResourceGetIdentifier
|
|
|
|
wxResourceParseData = miscc.wxResourceParseData
|
|
|
|
wxResourceParseFile = miscc.wxResourceParseFile
|
|
|
|
wxResourceParseString = miscc.wxResourceParseString
|
|
|
|
def wxSystemSettings_GetSystemColour(arg0):
|
|
val = miscc.wxSystemSettings_GetSystemColour(arg0)
|
|
val = wxColourPtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
|
|
def wxSystemSettings_GetSystemFont(arg0):
|
|
val = miscc.wxSystemSettings_GetSystemFont(arg0)
|
|
val = wxFontPtr(val)
|
|
val.thisown = 1
|
|
return val
|
|
|
|
wxSystemSettings_GetSystemMetric = miscc.wxSystemSettings_GetSystemMetric
|
|
|
|
|
|
|
|
#-------------- VARIABLE WRAPPERS ------------------
|
|
|
|
wxLeft = miscc.wxLeft
|
|
wxTop = miscc.wxTop
|
|
wxRight = miscc.wxRight
|
|
wxBottom = miscc.wxBottom
|
|
wxWidth = miscc.wxWidth
|
|
wxHeight = miscc.wxHeight
|
|
wxCentre = miscc.wxCentre
|
|
wxCenter = miscc.wxCenter
|
|
wxCentreX = miscc.wxCentreX
|
|
wxCentreY = miscc.wxCentreY
|
|
wxUnconstrained = miscc.wxUnconstrained
|
|
wxAsIs = miscc.wxAsIs
|
|
wxPercentOf = miscc.wxPercentOf
|
|
wxAbove = miscc.wxAbove
|
|
wxBelow = miscc.wxBelow
|
|
wxLeftOf = miscc.wxLeftOf
|
|
wxRightOf = miscc.wxRightOf
|
|
wxSameAs = miscc.wxSameAs
|
|
wxAbsolute = miscc.wxAbsolute
|
|
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
|