wxART_QUESTION = 'wxART_QUESTION'
wxART_WARNING = 'wxART_WARNING'
wxART_INFORMATION = 'wxART_INFORMATION'
+wxART_MISSING_IMAGE = 'wxART_MISSING_IMAGE'
class wxSystemSettingsPtr :
def __init__(self,this):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxCaret(self)
+ def __del__(self, delfunc=misc2c.delete_wxCaret):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def IsOk(self, *_args, **_kwargs):
val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxBusyCursor(self)
+ def __del__(self, delfunc=misc2c.delete_wxBusyCursor):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def __repr__(self):
return "<C wxBusyCursor instance at %s>" % (self.this,)
class wxBusyCursor(wxBusyCursorPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxWindowDisabler(self)
+ def __del__(self, delfunc=misc2c.delete_wxWindowDisabler):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def __repr__(self):
return "<C wxWindowDisabler instance at %s>" % (self.this,)
class wxWindowDisabler(wxWindowDisablerPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxMutexGuiLocker(self)
+ def __del__(self, delfunc=misc2c.delete_wxMutexGuiLocker):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def __repr__(self):
return "<C wxMutexGuiLocker instance at %s>" % (self.this,)
class wxMutexGuiLocker(wxMutexGuiLockerPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxTipProvider(self)
+ def __del__(self, delfunc=misc2c.delete_wxTipProvider):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def GetTip(self, *_args, **_kwargs):
val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxDragImage(self)
+ def __del__(self, delfunc=misc2c.delete_wxDragImage):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def SetBackingBitmap(self, *_args, **_kwargs):
val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs)
return val
def BeginDrag(self, *_args, **_kwargs):
val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs)
return val
- def BeginDrag2(self, *_args, **_kwargs):
- val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs)
+ def BeginDragBounded(self, *_args, **_kwargs):
+ val = apply(misc2c.wxDragImage_BeginDragBounded,(self,) + _args, _kwargs)
return val
def EndDrag(self, *_args, **_kwargs):
val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxDragImage instance at %s>" % (self.this,)
+ BeginDrag2 = BeginDragBounded
class wxDragImage(wxDragImagePtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(misc2c.new_wxDragImage,_args,_kwargs)
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxPyTimer(self)
+ def __del__(self, delfunc=misc2c.delete_wxPyTimer):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def GetInterval(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxStopWatch(self)
+ def __del__(self, delfunc=misc2c.delete_wxStopWatch):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def Start(self, *_args, **_kwargs):
val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs)
return val
def Flush(self, *_args, **_kwargs):
val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs)
return val
- def HasPendingMessages(self, *_args, **_kwargs):
- val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
- return val
def GetVerbose(self, *_args, **_kwargs):
val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxLogNull(self)
+ def __del__(self, delfunc=misc2c.delete_wxLogNull):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def __repr__(self):
return "<C wxLogNull instance at %s>" % (self.this,)
class wxLogNull(wxLogNullPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxJoystick(self)
+ def __del__(self, delfunc=misc2c.delete_wxJoystick):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def GetPosition(self, *_args, **_kwargs):
val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxWave(self)
+ def __del__(self, delfunc=misc2c.delete_wxWave):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def IsOk(self, *_args, **_kwargs):
val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs)
return val
def Unassociate(self, *_args, **_kwargs):
val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs)
return val
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxFileType(self)
+ def __del__(self, delfunc=misc2c.delete_wxFileType):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def __repr__(self):
return "<C wxFileType instance at %s>" % (self.this,)
class wxFileType(wxFileTypePtr):
def Unassociate(self, *_args, **_kwargs):
val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs)
return val
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxMimeTypesManager(self)
+ def __del__(self, delfunc=misc2c.delete_wxMimeTypesManager):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def __repr__(self):
return "<C wxMimeTypesManager instance at %s>" % (self.this,)
class wxMimeTypesManager(wxMimeTypesManagerPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxFileHistory(self)
+ def __del__(self, delfunc=misc2c.delete_wxFileHistory):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def AddFileToHistory(self, *_args, **_kwargs):
val = apply(misc2c.wxFileHistory_AddFileToHistory,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxSingleInstanceChecker(self)
+ def __del__(self, delfunc=misc2c.delete_wxSingleInstanceChecker):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def Create(self, *_args, **_kwargs):
val = apply(misc2c.wxSingleInstanceChecker_Create,(self,) + _args, _kwargs)
return val
val = apply(misc2c.wxGetTopLevelParent,_args,_kwargs)
return val
-wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
-
-wxResourceClear = misc2c.wxResourceClear
-
-def wxResourceCreateBitmap(*_args, **_kwargs):
- val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
- if val: val = wxBitmapPtr(val); val.thisown = 1
- return val
-
-def wxResourceCreateIcon(*_args, **_kwargs):
- val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
- if val: val = wxIconPtr(val); val.thisown = 1
- return val
-
-def wxResourceCreateMenuBar(*_args, **_kwargs):
- val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
- return val
-
-wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
-
-wxResourceParseData = misc2c.wxResourceParseData
-
-wxResourceParseFile = misc2c.wxResourceParseFile
-
-wxResourceParseString = misc2c.wxResourceParseString
-
wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
wxLogInfo = misc2c.wxLogInfo
+wxLogDebug = misc2c.wxLogDebug
+
wxLogVerbose = misc2c.wxLogVerbose
wxLogStatus = misc2c.wxLogStatus
wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
+wxLog_SetLogLevel = misc2c.wxLog_SetLogLevel
+
+wxLog_GetLogLevel = misc2c.wxLog_GetLogLevel
+
wxProcess_Kill = misc2c.wxProcess_Kill
wxProcess_Exists = misc2c.wxProcess_Exists
if val: val = wxIconPtr(val); val.thisown = 1
return val
-wxArtProvider_CleanUpProviders = misc2c.wxArtProvider_CleanUpProviders
-
#-------------- VARIABLE WRAPPERS ------------------