from gdi import *
+from fonts import *
+
from clip_dnd import *
from events import *
-class wxFontEnumeratorPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxFontEnumerator(self)
- def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(misc2c.wxFontEnumerator__setCallbackInfo,(self,) + _args, _kwargs)
- return val
- def EnumerateFacenames(self, *_args, **_kwargs):
- val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs)
- return val
- def EnumerateEncodings(self, *_args, **_kwargs):
- val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs)
- return val
- def GetEncodings(self, *_args, **_kwargs):
- val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs)
- return val
- def GetFacenames(self, *_args, **_kwargs):
- val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxFontEnumerator instance at %s>" % (self.this,)
-class wxFontEnumerator(wxFontEnumeratorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs)
- self.thisown = 1
- self._setCallbackInfo(self, wxFontEnumerator, 0)
-
-
-
-
class wxBusyCursorPtr :
def __init__(self,this):
self.this = this
def HasPendingMessages(self, *_args, **_kwargs):
val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
return val
- def SetVerbose(self, *_args, **_kwargs):
- val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs)
- return val
def GetVerbose(self, *_args, **_kwargs):
val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
return val
-class wxLogNullPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self,misc2c=misc2c):
- if self.thisown == 1 :
- misc2c.delete_wxLogNull(self)
- def __repr__(self):
- return "<C wxLogNull instance at %s>" % (self.this,)
-class wxLogNull(wxLogNullPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
- self.thisown = 1
-
-
-
-
class wxLogChainPtr(wxLogPtr):
def __init__(self,this):
self.this = this
+class wxLogNullPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,misc2c=misc2c):
+ if self.thisown == 1 :
+ misc2c.delete_wxLogNull(self)
+ def __repr__(self):
+ return "<C wxLogNull instance at %s>" % (self.this,)
+class wxLogNull(wxLogNullPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
class wxPyLogPtr(wxLogPtr):
def __init__(self,this):
self.this = this
def AddFilesToMenu(self, *_args, **_kwargs):
val = apply(misc2c.wxFileHistory_AddFilesToMenu,(self,) + _args, _kwargs)
return val
- def AddFilesToSingleMenu(self, *_args, **_kwargs):
- val = apply(misc2c.wxFileHistory_AddFilesToSingleMenu,(self,) + _args, _kwargs)
+ def AddFilesToThisMenu(self, *_args, **_kwargs):
+ val = apply(misc2c.wxFileHistory_AddFilesToThisMenu,(self,) + _args, _kwargs)
return val
def GetHistoryFile(self, *_args, **_kwargs):
val = apply(misc2c.wxFileHistory_GetHistoryFile,(self,) + _args, _kwargs)
wxSaveFileSelector = misc2c.wxSaveFileSelector
+wxDirSelector = misc2c.wxDirSelector
+
wxGetTextFromUser = misc2c.wxGetTextFromUser
wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
wxSetCursor = misc2c.wxSetCursor
-def wxFindWindowByLabel(*_args, **_kwargs):
- val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
- return val
-
-def wxFindWindowByName(*_args, **_kwargs):
- val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
- return val
-
wxBeginBusyCursor = misc2c.wxBeginBusyCursor
def wxGetActiveWindow(*_args, **_kwargs):
val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs)
return val
+def wxGetTopLevelParent(*_args, **_kwargs):
+ val = apply(misc2c.wxGetTopLevelParent,_args,_kwargs)
+ return val
+
wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
wxResourceClear = misc2c.wxResourceClear
wxLogSysError = misc2c.wxLogSysError
+wxSafeShowMessage = misc2c.wxSafeShowMessage
+
wxExecute = misc2c.wxExecute
def wxWaveData(*_args, **_kwargs):
wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature
+wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType
+
+wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType
+
wxToolTip_Enable = misc2c.wxToolTip_Enable
wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
wxLog_Resume = misc2c.wxLog_Resume
+wxLog_SetVerbose = misc2c.wxLog_SetVerbose
+
wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS
wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME
+wxSYS_SCREEN_NONE = misc2c.wxSYS_SCREEN_NONE
+wxSYS_SCREEN_TINY = misc2c.wxSYS_SCREEN_TINY
+wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA
+wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL
+wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP
wxLOG_FatalError = misc2c.wxLOG_FatalError
wxLOG_Error = misc2c.wxLOG_Error
wxLOG_Warning = misc2c.wxLOG_Warning
wxLOG_Progress = misc2c.wxLOG_Progress
wxLOG_User = misc2c.wxLOG_User
wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
+wxEXEC_ASYNC = misc2c.wxEXEC_ASYNC
+wxEXEC_SYNC = misc2c.wxEXEC_SYNC
+wxEXEC_NOHIDE = misc2c.wxEXEC_NOHIDE
+wxEXEC_MAKE_GROUP_LEADER = misc2c.wxEXEC_MAKE_GROUP_LEADER
wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE