X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/100c45523ef8522fb48859ea1220fa14c18e960c..dae0faa6be08c5bb5635fd464b695ac8bb8f2b8d:/wxPython/src/mac/misc.py diff --git a/wxPython/src/mac/misc.py b/wxPython/src/mac/misc.py index 37cbc8d0a9..c44f520006 100644 --- a/wxPython/src/mac/misc.py +++ b/wxPython/src/mac/misc.py @@ -99,37 +99,36 @@ SYS_SCREEN_PDA = _misc.SYS_SCREEN_PDA SYS_SCREEN_SMALL = _misc.SYS_SCREEN_SMALL SYS_SCREEN_DESKTOP = _misc.SYS_SCREEN_DESKTOP class SystemSettings(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def GetColour(*args, **kwargs): - """SystemSettings.GetColour(wxSystemColour index) -> wxColour""" + """SystemSettings.GetColour(int index) -> Colour""" return _misc.SystemSettings_GetColour(*args, **kwargs) GetColour = staticmethod(GetColour) def GetFont(*args, **kwargs): - """SystemSettings.GetFont(wxSystemFont index) -> wxFont""" + """SystemSettings.GetFont(int index) -> Font""" return _misc.SystemSettings_GetFont(*args, **kwargs) GetFont = staticmethod(GetFont) def GetMetric(*args, **kwargs): - """SystemSettings.GetMetric(wxSystemMetric index) -> int""" + """SystemSettings.GetMetric(int index) -> int""" return _misc.SystemSettings_GetMetric(*args, **kwargs) GetMetric = staticmethod(GetMetric) def HasFeature(*args, **kwargs): - """SystemSettings.HasFeature(wxSystemFeature index) -> bool""" + """SystemSettings.HasFeature(int index) -> bool""" return _misc.SystemSettings_HasFeature(*args, **kwargs) HasFeature = staticmethod(HasFeature) def GetScreenType(*args, **kwargs): - """SystemSettings.GetScreenType() -> wxSystemScreenType""" + """SystemSettings.GetScreenType() -> int""" return _misc.SystemSettings_GetScreenType(*args, **kwargs) GetScreenType = staticmethod(GetScreenType) def SetScreenType(*args, **kwargs): - """SystemSettings.SetScreenType(wxSystemScreenType screen)""" + """SystemSettings.SetScreenType(int screen)""" return _misc.SystemSettings_SetScreenType(*args, **kwargs) SetScreenType = staticmethod(SetScreenType) @@ -142,31 +141,30 @@ class SystemSettingsPtr(SystemSettings): _misc.SystemSettings_swigregister(SystemSettingsPtr) def SystemSettings_GetColour(*args, **kwargs): - """SystemSettings_GetColour(wxSystemColour index) -> wxColour""" + """SystemSettings_GetColour(int index) -> Colour""" return _misc.SystemSettings_GetColour(*args, **kwargs) def SystemSettings_GetFont(*args, **kwargs): - """SystemSettings_GetFont(wxSystemFont index) -> wxFont""" + """SystemSettings_GetFont(int index) -> Font""" return _misc.SystemSettings_GetFont(*args, **kwargs) def SystemSettings_GetMetric(*args, **kwargs): - """SystemSettings_GetMetric(wxSystemMetric index) -> int""" + """SystemSettings_GetMetric(int index) -> int""" return _misc.SystemSettings_GetMetric(*args, **kwargs) def SystemSettings_HasFeature(*args, **kwargs): - """SystemSettings_HasFeature(wxSystemFeature index) -> bool""" + """SystemSettings_HasFeature(int index) -> bool""" return _misc.SystemSettings_HasFeature(*args, **kwargs) def SystemSettings_GetScreenType(*args, **kwargs): - """SystemSettings_GetScreenType() -> wxSystemScreenType""" + """SystemSettings_GetScreenType() -> int""" return _misc.SystemSettings_GetScreenType(*args, **kwargs) def SystemSettings_SetScreenType(*args, **kwargs): - """SystemSettings_SetScreenType(wxSystemScreenType screen)""" + """SystemSettings_SetScreenType(int screen)""" return _misc.SystemSettings_SetScreenType(*args, **kwargs) class SystemOptions(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -176,27 +174,27 @@ class SystemOptions(core.Object): self.thisown = 1 del newobj.thisown def SetOption(*args, **kwargs): - """SystemOptions.SetOption(wxString name, wxString value)""" + """SystemOptions.SetOption(String name, String value)""" return _misc.SystemOptions_SetOption(*args, **kwargs) SetOption = staticmethod(SetOption) def SetOptionInt(*args, **kwargs): - """SystemOptions.SetOptionInt(wxString name, int value)""" + """SystemOptions.SetOptionInt(String name, int value)""" return _misc.SystemOptions_SetOptionInt(*args, **kwargs) SetOptionInt = staticmethod(SetOptionInt) def GetOption(*args, **kwargs): - """SystemOptions.GetOption(wxString name) -> wxString""" + """SystemOptions.GetOption(String name) -> String""" return _misc.SystemOptions_GetOption(*args, **kwargs) GetOption = staticmethod(GetOption) def GetOptionInt(*args, **kwargs): - """SystemOptions.GetOptionInt(wxString name) -> int""" + """SystemOptions.GetOptionInt(String name) -> int""" return _misc.SystemOptions_GetOptionInt(*args, **kwargs) GetOptionInt = staticmethod(GetOptionInt) def HasOption(*args, **kwargs): - """SystemOptions.HasOption(wxString name) -> bool""" + """SystemOptions.HasOption(String name) -> bool""" return _misc.SystemOptions_HasOption(*args, **kwargs) HasOption = staticmethod(HasOption) @@ -209,23 +207,23 @@ class SystemOptionsPtr(SystemOptions): _misc.SystemOptions_swigregister(SystemOptionsPtr) def SystemOptions_SetOption(*args, **kwargs): - """SystemOptions_SetOption(wxString name, wxString value)""" + """SystemOptions_SetOption(String name, String value)""" return _misc.SystemOptions_SetOption(*args, **kwargs) def SystemOptions_SetOptionInt(*args, **kwargs): - """SystemOptions_SetOptionInt(wxString name, int value)""" + """SystemOptions_SetOptionInt(String name, int value)""" return _misc.SystemOptions_SetOptionInt(*args, **kwargs) def SystemOptions_GetOption(*args, **kwargs): - """SystemOptions_GetOption(wxString name) -> wxString""" + """SystemOptions_GetOption(String name) -> String""" return _misc.SystemOptions_GetOption(*args, **kwargs) def SystemOptions_GetOptionInt(*args, **kwargs): - """SystemOptions_GetOptionInt(wxString name) -> int""" + """SystemOptions_GetOptionInt(String name) -> int""" return _misc.SystemOptions_GetOptionInt(*args, **kwargs) def SystemOptions_HasOption(*args, **kwargs): - """SystemOptions_HasOption(wxString name) -> bool""" + """SystemOptions_HasOption(String name) -> bool""" return _misc.SystemOptions_HasOption(*args, **kwargs) #--------------------------------------------------------------------------- @@ -264,11 +262,11 @@ def IsBusy(*args, **kwargs): return _misc.IsBusy(*args, **kwargs) def Now(*args, **kwargs): - """Now() -> wxString""" + """Now() -> String""" return _misc.Now(*args, **kwargs) def Shell(*args, **kwargs): - """Shell(wxString command=wxPyEmptyString) -> bool""" + """Shell(String command=EmptyString) -> bool""" return _misc.Shell(*args, **kwargs) def StartTimer(*args, **kwargs): @@ -280,7 +278,7 @@ def GetOsVersion(*args, **kwargs): return _misc.GetOsVersion(*args, **kwargs) def GetOsDescription(*args, **kwargs): - """GetOsDescription() -> wxString""" + """GetOsDescription() -> String""" return _misc.GetOsDescription(*args, **kwargs) def GetFreeMemory(*args, **kwargs): @@ -290,7 +288,7 @@ SHUTDOWN_POWEROFF = _misc.SHUTDOWN_POWEROFF SHUTDOWN_REBOOT = _misc.SHUTDOWN_REBOOT def Shutdown(*args, **kwargs): - """Shutdown(wxShutdownFlags wFlags) -> bool""" + """Shutdown(int wFlags) -> bool""" return _misc.Shutdown(*args, **kwargs) def Sleep(*args, **kwargs): @@ -306,35 +304,35 @@ def EnableTopLevelWindows(*args, **kwargs): return _misc.EnableTopLevelWindows(*args, **kwargs) def StripMenuCodes(*args, **kwargs): - """StripMenuCodes(wxString in) -> wxString""" + """StripMenuCodes(String in) -> String""" return _misc.StripMenuCodes(*args, **kwargs) def GetEmailAddress(*args, **kwargs): - """GetEmailAddress() -> wxString""" + """GetEmailAddress() -> String""" return _misc.GetEmailAddress(*args, **kwargs) def GetHostName(*args, **kwargs): - """GetHostName() -> wxString""" + """GetHostName() -> String""" return _misc.GetHostName(*args, **kwargs) def GetFullHostName(*args, **kwargs): - """GetFullHostName() -> wxString""" + """GetFullHostName() -> String""" return _misc.GetFullHostName(*args, **kwargs) def GetUserId(*args, **kwargs): - """GetUserId() -> wxString""" + """GetUserId() -> String""" return _misc.GetUserId(*args, **kwargs) def GetUserName(*args, **kwargs): - """GetUserName() -> wxString""" + """GetUserName() -> String""" return _misc.GetUserName(*args, **kwargs) def GetHomeDir(*args, **kwargs): - """GetHomeDir() -> wxString""" + """GetHomeDir() -> String""" return _misc.GetHomeDir(*args, **kwargs) def GetUserHome(*args, **kwargs): - """GetUserHome(wxString user=wxPyEmptyString) -> wxString""" + """GetUserHome(String user=EmptyString) -> String""" return _misc.GetUserHome(*args, **kwargs) def GetProcessId(*args, **kwargs): @@ -346,65 +344,83 @@ def Trap(*args, **kwargs): return _misc.Trap(*args, **kwargs) def FileSelector(*args, **kwargs): - """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString, - wxString default_filename=wxPyEmptyString, - wxString default_extension=wxPyEmptyString, - wxString wildcard=wxPyFileSelectorDefaultWildcardStr, - int flags=0, - Window parent=None, int x=-1, int y=-1) -> wxString""" + """ + FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString, + String default_filename=EmptyString, + String default_extension=EmptyString, + String wildcard=FileSelectorDefaultWildcardStr, + int flags=0, Window parent=None, int x=-1, + int y=-1) -> String + """ return _misc.FileSelector(*args, **kwargs) def LoadFileSelector(*args, **kwargs): - """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + LoadFileSelector(String what, String extension, String default_name=EmptyString, + Window parent=None) -> String + """ return _misc.LoadFileSelector(*args, **kwargs) def SaveFileSelector(*args, **kwargs): - """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString, - Window parent=None) -> wxString""" + """ + SaveFileSelector(String what, String extension, String default_name=EmptyString, + Window parent=None) -> String + """ return _misc.SaveFileSelector(*args, **kwargs) def DirSelector(*args, **kwargs): - """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString, - long style=DD_DEFAULT_STYLE, - Point pos=DefaultPosition, Window parent=None) -> wxString""" + """ + DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, + long style=DD_DEFAULT_STYLE, + Point pos=DefaultPosition, Window parent=None) -> String + """ return _misc.DirSelector(*args, **kwargs) def GetTextFromUser(*args, **kwargs): - """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None, - int x=-1, int y=-1, bool centre=True) -> wxString""" + """ + GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString, + Window parent=None, + int x=-1, int y=-1, bool centre=True) -> String + """ return _misc.GetTextFromUser(*args, **kwargs) def GetPasswordFromUser(*args, **kwargs): - """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString, - wxString default_value=wxPyEmptyString, Window parent=None) -> wxString""" + """ + GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString, + Window parent=None) -> String + """ return _misc.GetPasswordFromUser(*args, **kwargs) def GetSingleChoice(*args, **kwargs): - """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> wxString""" + """ + GetSingleChoice(String message, String caption, int choices, String choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, int height=200) -> String + """ return _misc.GetSingleChoice(*args, **kwargs) def GetSingleChoiceIndex(*args, **kwargs): - """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array, - Window parent=None, int x=-1, - int y=-1, bool centre=True, int width=150, - int height=200) -> int""" + """ + GetSingleChoiceIndex(String message, String caption, int choices, String choices_array, + Window parent=None, int x=-1, + int y=-1, bool centre=True, int width=150, int height=200) -> int + """ return _misc.GetSingleChoiceIndex(*args, **kwargs) def MessageBox(*args, **kwargs): - """MessageBox(wxString message, wxString caption=wxPyEmptyString, - int style=wxOK|wxCENTRE, Window parent=None, - int x=-1, int y=-1) -> int""" + """ + MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE, + Window parent=None, int x=-1, + int y=-1) -> int + """ return _misc.MessageBox(*args, **kwargs) def GetNumberFromUser(*args, **kwargs): - """GetNumberFromUser(wxString message, wxString prompt, wxString caption, - long value, long min=0, long max=100, Window parent=None, - Point pos=DefaultPosition) -> long""" + """ + GetNumberFromUser(String message, String prompt, String caption, long value, + long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long + """ return _misc.GetNumberFromUser(*args, **kwargs) def ColourDisplay(*args, **kwargs): @@ -444,11 +460,11 @@ def GetClientDisplayRect(*args, **kwargs): return _misc.GetClientDisplayRect(*args, **kwargs) def SetCursor(*args, **kwargs): - """SetCursor(wxCursor cursor)""" + """SetCursor(Cursor cursor)""" return _misc.SetCursor(*args, **kwargs) def BeginBusyCursor(*args, **kwargs): - """BeginBusyCursor(wxCursor cursor=wxHOURGLASS_CURSOR)""" + """BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)""" return _misc.BeginBusyCursor(*args, **kwargs) def GetActiveWindow(*args, **kwargs): @@ -467,6 +483,10 @@ def GetTopLevelParent(*args, **kwargs): """GetTopLevelParent(Window win) -> Window""" return _misc.GetTopLevelParent(*args, **kwargs) +def GetKeyState(*args, **kwargs): + """GetKeyState(int key) -> bool""" + return _misc.GetKeyState(*args, **kwargs) + def WakeUpMainThread(*args, **kwargs): """WakeUpMainThread()""" return _misc.WakeUpMainThread(*args, **kwargs) @@ -479,7 +499,6 @@ def MutexGuiLeave(*args, **kwargs): """MutexGuiLeave()""" return _misc.MutexGuiLeave(*args, **kwargs) class MutexGuiLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -501,6 +520,10 @@ class MutexGuiLockerPtr(MutexGuiLocker): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = MutexGuiLocker _misc.MutexGuiLocker_swigregister(MutexGuiLockerPtr) +cvar = _misc.cvar +FileSelectorPromptStr = cvar.FileSelectorPromptStr +FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr +DirSelectorPromptStr = cvar.DirSelectorPromptStr def Thread_IsMain(*args, **kwargs): @@ -509,21 +532,20 @@ def Thread_IsMain(*args, **kwargs): #--------------------------------------------------------------------------- class ToolTip(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString tip) -> ToolTip""" + """__init__(String tip) -> ToolTip""" newobj = _misc.new_ToolTip(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def SetTip(*args, **kwargs): - """SetTip(wxString tip)""" + """SetTip(String tip)""" return _misc.ToolTip_SetTip(*args, **kwargs) def GetTip(*args, **kwargs): - """GetTip() -> wxString""" + """GetTip() -> String""" return _misc.ToolTip_GetTip(*args, **kwargs) def GetWindow(*args, **kwargs): @@ -557,7 +579,6 @@ def ToolTip_SetDelay(*args, **kwargs): return _misc.ToolTip_SetDelay(*args, **kwargs) class Caret(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -642,11 +663,10 @@ def Caret_SetBlinkTime(*args, **kwargs): """Caret_SetBlinkTime(int milliseconds)""" return _misc.Caret_SetBlinkTime(*args, **kwargs) class BusyCursor(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxCursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor""" + """__init__(Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor""" newobj = _misc.new_BusyCursor(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -666,7 +686,6 @@ class BusyCursorPtr(BusyCursor): _misc.BusyCursor_swigregister(BusyCursorPtr) class WindowDisabler(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -690,11 +709,10 @@ class WindowDisablerPtr(WindowDisabler): _misc.WindowDisabler_swigregister(WindowDisablerPtr) class BusyInfo(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString message) -> BusyInfo""" + """__init__(String message) -> BusyInfo""" newobj = _misc.new_BusyInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -714,7 +732,6 @@ class BusyInfoPtr(BusyInfo): _misc.BusyInfo_swigregister(BusyInfoPtr) class StopWatch(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -748,7 +765,6 @@ class StopWatchPtr(StopWatch): _misc.StopWatch_swigregister(StopWatchPtr) class FileHistory(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -764,7 +780,7 @@ class FileHistory(core.Object): except: pass def AddFileToHistory(*args, **kwargs): - """AddFileToHistory(wxString file)""" + """AddFileToHistory(String file)""" return _misc.FileHistory_AddFileToHistory(*args, **kwargs) def RemoveFileFromHistory(*args, **kwargs): @@ -800,7 +816,7 @@ class FileHistory(core.Object): return _misc.FileHistory_AddFilesToThisMenu(*args, **kwargs) def GetHistoryFile(*args, **kwargs): - """GetHistoryFile(int i) -> wxString""" + """GetHistoryFile(int i) -> String""" return _misc.FileHistory_GetHistoryFile(*args, **kwargs) def GetCount(*args, **kwargs): @@ -816,11 +832,10 @@ class FileHistoryPtr(FileHistory): _misc.FileHistory_swigregister(FileHistoryPtr) class SingleInstanceChecker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString name, wxString path=wxPyEmptyString) -> SingleInstanceChecker""" + """__init__(String name, String path=EmptyString) -> SingleInstanceChecker""" newobj = _misc.new_SingleInstanceChecker(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -832,7 +847,7 @@ class SingleInstanceChecker(object): except: pass def Create(*args, **kwargs): - """Create(wxString name, wxString path=wxPyEmptyString) -> bool""" + """Create(String name, String path=EmptyString) -> bool""" return _misc.SingleInstanceChecker_Create(*args, **kwargs) def IsAnotherRunning(*args, **kwargs): @@ -855,12 +870,11 @@ def PreSingleInstanceChecker(*args, **kwargs): def DrawWindowOnDC(*args, **kwargs): - """DrawWindowOnDC(Window window, wxDC dc, int method)""" + """DrawWindowOnDC(Window window, DC dc, int method)""" return _misc.DrawWindowOnDC(*args, **kwargs) #--------------------------------------------------------------------------- class TipProvider(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -871,7 +885,7 @@ class TipProvider(object): except: pass def GetTip(*args, **kwargs): - """GetTip() -> wxString""" + """GetTip() -> String""" return _misc.TipProvider_GetTip(*args, **kwargs) def GetCurrentTip(*args, **kwargs): @@ -879,7 +893,7 @@ class TipProvider(object): return _misc.TipProvider_GetCurrentTip(*args, **kwargs) def PreprocessTip(*args, **kwargs): - """PreprocessTip(wxString tip) -> wxString""" + """PreprocessTip(String tip) -> String""" return _misc.TipProvider_PreprocessTip(*args, **kwargs) @@ -891,7 +905,6 @@ class TipProviderPtr(TipProvider): _misc.TipProvider_swigregister(TipProviderPtr) class PyTipProvider(TipProvider): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -918,7 +931,7 @@ def ShowTip(*args, **kwargs): return _misc.ShowTip(*args, **kwargs) def CreateFileTipProvider(*args, **kwargs): - """CreateFileTipProvider(wxString filename, size_t currentTip) -> TipProvider""" + """CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider""" return _misc.CreateFileTipProvider(*args, **kwargs) #--------------------------------------------------------------------------- @@ -926,7 +939,6 @@ TIMER_CONTINUOUS = _misc.TIMER_CONTINUOUS TIMER_ONE_SHOT = _misc.TIMER_ONE_SHOT wxEVT_TIMER = _misc.wxEVT_TIMER class Timer(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -971,6 +983,10 @@ class Timer(core.EvtHandler): """IsOneShot() -> bool""" return _misc.Timer_IsOneShot(*args, **kwargs) + def GetId(*args, **kwargs): + """GetId() -> int""" + return _misc.Timer_GetId(*args, **kwargs) + class TimerPtr(Timer): def __init__(self, this): @@ -994,7 +1010,6 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 ) class TimerEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1016,12 +1031,13 @@ class TimerEventPtr(TimerEvent): _misc.TimerEvent_swigregister(TimerEventPtr) class TimerRunner(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): - """__init__(wxTimer timer) -> TimerRunner -__init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner""" + """ + __init__(wxTimer timer) -> TimerRunner + __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner + """ newobj = _misc.new_TimerRunner(*args) self.this = newobj.this self.thisown = 1 @@ -1068,7 +1084,6 @@ TraceResAlloc = _misc.TraceResAlloc TraceRefCount = _misc.TraceRefCount TraceOleCalls = _misc.TraceOleCalls class Log(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1142,12 +1157,12 @@ class Log(object): SetTraceMask = staticmethod(SetTraceMask) def AddTraceMask(*args, **kwargs): - """Log.AddTraceMask(wxString str)""" + """Log.AddTraceMask(String str)""" return _misc.Log_AddTraceMask(*args, **kwargs) AddTraceMask = staticmethod(AddTraceMask) def RemoveTraceMask(*args, **kwargs): - """Log.RemoveTraceMask(wxString str)""" + """Log.RemoveTraceMask(String str)""" return _misc.Log_RemoveTraceMask(*args, **kwargs) RemoveTraceMask = staticmethod(RemoveTraceMask) @@ -1192,7 +1207,7 @@ class Log(object): GetTimestamp = staticmethod(GetTimestamp) def TimeStamp(*args, **kwargs): - """Log.TimeStamp() -> wxString""" + """Log.TimeStamp() -> String""" return _misc.Log_TimeStamp(*args, **kwargs) TimeStamp = staticmethod(TimeStamp) @@ -1257,11 +1272,11 @@ def Log_SetTraceMask(*args, **kwargs): return _misc.Log_SetTraceMask(*args, **kwargs) def Log_AddTraceMask(*args, **kwargs): - """Log_AddTraceMask(wxString str)""" + """Log_AddTraceMask(String str)""" return _misc.Log_AddTraceMask(*args, **kwargs) def Log_RemoveTraceMask(*args, **kwargs): - """Log_RemoveTraceMask(wxString str)""" + """Log_RemoveTraceMask(String str)""" return _misc.Log_RemoveTraceMask(*args, **kwargs) def Log_ClearTraceMasks(*args, **kwargs): @@ -1297,11 +1312,10 @@ def Log_GetTimestamp(*args, **kwargs): return _misc.Log_GetTimestamp(*args, **kwargs) def Log_TimeStamp(*args, **kwargs): - """Log_TimeStamp() -> wxString""" + """Log_TimeStamp() -> String""" return _misc.Log_TimeStamp(*args, **kwargs) class LogStderr(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1319,7 +1333,6 @@ class LogStderrPtr(LogStderr): _misc.LogStderr_swigregister(LogStderrPtr) class LogTextCtrl(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1337,7 +1350,6 @@ class LogTextCtrlPtr(LogTextCtrl): _misc.LogTextCtrl_swigregister(LogTextCtrlPtr) class LogGui(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1355,12 +1367,10 @@ class LogGuiPtr(LogGui): _misc.LogGui_swigregister(LogGuiPtr) class LogWindow(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxFrame pParent, wxString szTitle, bool bShow=True, - bool bPassToOld=True) -> LogWindow""" + """__init__(wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow""" newobj = _misc.new_LogWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1394,7 +1404,6 @@ class LogWindowPtr(LogWindow): _misc.LogWindow_swigregister(LogWindowPtr) class LogChain(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1433,66 +1442,57 @@ def SysErrorCode(*args, **kwargs): return _misc.SysErrorCode(*args, **kwargs) def SysErrorMsg(*args, **kwargs): - """SysErrorMsg(unsigned long nErrCode=0) -> wxString""" + """SysErrorMsg(unsigned long nErrCode=0) -> String""" return _misc.SysErrorMsg(*args, **kwargs) def LogFatalError(*args, **kwargs): - """LogFatalError(wxString msg)""" + """LogFatalError(String msg)""" return _misc.LogFatalError(*args, **kwargs) def LogError(*args, **kwargs): - """LogError(wxString msg)""" + """LogError(String msg)""" return _misc.LogError(*args, **kwargs) def LogWarning(*args, **kwargs): - """LogWarning(wxString msg)""" + """LogWarning(String msg)""" return _misc.LogWarning(*args, **kwargs) def LogMessage(*args, **kwargs): - """LogMessage(wxString msg)""" + """LogMessage(String msg)""" return _misc.LogMessage(*args, **kwargs) def LogInfo(*args, **kwargs): - """LogInfo(wxString msg)""" + """LogInfo(String msg)""" return _misc.LogInfo(*args, **kwargs) def LogDebug(*args, **kwargs): - """LogDebug(wxString msg)""" + """LogDebug(String msg)""" return _misc.LogDebug(*args, **kwargs) def LogVerbose(*args, **kwargs): - """LogVerbose(wxString msg)""" + """LogVerbose(String msg)""" return _misc.LogVerbose(*args, **kwargs) def LogStatus(*args, **kwargs): - """LogStatus(wxString msg)""" + """LogStatus(String msg)""" return _misc.LogStatus(*args, **kwargs) def LogStatusFrame(*args, **kwargs): - """LogStatusFrame(wxFrame pFrame, wxString msg)""" + """LogStatusFrame(wxFrame pFrame, String msg)""" return _misc.LogStatusFrame(*args, **kwargs) def LogSysError(*args, **kwargs): - """LogSysError(wxString msg)""" + """LogSysError(String msg)""" return _misc.LogSysError(*args, **kwargs) -def LogTrace(*args, **kwargs): - """LogTrace(wxString msg)""" - return _misc.LogTrace(*args, **kwargs) - -def LogTraceMask(*args, **kwargs): - """LogTraceMask(wxString mask, wxString msg)""" - return _misc.LogTraceMask(*args, **kwargs) - def LogGeneric(*args, **kwargs): - """LogGeneric(unsigned long level, wxString msg)""" + """LogGeneric(unsigned long level, String msg)""" return _misc.LogGeneric(*args, **kwargs) def SafeShowMessage(*args, **kwargs): - """SafeShowMessage(wxString title, wxString text)""" + """SafeShowMessage(String title, String text)""" return _misc.SafeShowMessage(*args, **kwargs) class LogNull(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1515,8 +1515,14 @@ class LogNullPtr(LogNull): self.__class__ = LogNull _misc.LogNull_swigregister(LogNullPtr) +def LogTrace(*args): + """ + LogTrace(unsigned long mask, String msg) + LogTrace(String mask, String msg) + """ + return _misc.LogTrace(*args) + class PyLog(Log): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1566,11 +1572,10 @@ SIGPIPE = _misc.SIGPIPE SIGALRM = _misc.SIGALRM SIGTERM = _misc.SIGTERM class Process(core.EvtHandler): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Kill(*args, **kwargs): - """Process.Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError""" + """Process.Kill(int pid, int sig=SIGTERM) -> int""" return _misc.Process_Kill(*args, **kwargs) Kill = staticmethod(Kill) @@ -1580,7 +1585,7 @@ class Process(core.EvtHandler): Exists = staticmethod(Exists) def Open(*args, **kwargs): - """Process.Open(wxString cmd, int flags=EXEC_ASYNC) -> Process""" + """Process.Open(String cmd, int flags=EXEC_ASYNC) -> Process""" return _misc.Process_Open(*args, **kwargs) Open = staticmethod(Open) @@ -1613,11 +1618,11 @@ class Process(core.EvtHandler): return _misc.Process_Detach(*args, **kwargs) def GetInputStream(*args, **kwargs): - """GetInputStream() -> wxInputStream""" + """GetInputStream() -> InputStream""" return _misc.Process_GetInputStream(*args, **kwargs) def GetErrorStream(*args, **kwargs): - """GetErrorStream() -> wxInputStream""" + """GetErrorStream() -> InputStream""" return _misc.Process_GetErrorStream(*args, **kwargs) def GetOutputStream(*args, **kwargs): @@ -1649,7 +1654,7 @@ class ProcessPtr(Process): _misc.Process_swigregister(ProcessPtr) def Process_Kill(*args, **kwargs): - """Process_Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError""" + """Process_Kill(int pid, int sig=SIGTERM) -> int""" return _misc.Process_Kill(*args, **kwargs) def Process_Exists(*args, **kwargs): @@ -1657,11 +1662,10 @@ def Process_Exists(*args, **kwargs): return _misc.Process_Exists(*args, **kwargs) def Process_Open(*args, **kwargs): - """Process_Open(wxString cmd, int flags=EXEC_ASYNC) -> Process""" + """Process_Open(String cmd, int flags=EXEC_ASYNC) -> Process""" return _misc.Process_Open(*args, **kwargs) class ProcessEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1697,7 +1701,7 @@ EXEC_NOHIDE = _misc.EXEC_NOHIDE EXEC_MAKE_GROUP_LEADER = _misc.EXEC_MAKE_GROUP_LEADER def Execute(*args, **kwargs): - """Execute(wxString command, int flags=EXEC_ASYNC, Process process=None) -> long""" + """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long""" return _misc.Execute(*args, **kwargs) #--------------------------------------------------------------------------- @@ -1709,7 +1713,6 @@ JOY_BUTTON2 = _misc.JOY_BUTTON2 JOY_BUTTON3 = _misc.JOY_BUTTON3 JOY_BUTTON4 = _misc.JOY_BUTTON4 class Joystick(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -1765,7 +1768,7 @@ class Joystick(object): return _misc.Joystick_SetMovementThreshold(*args, **kwargs) def IsOk(*args, **kwargs): - """IsOk(void ??) -> bool""" + """IsOk() -> bool""" return _misc.Joystick_IsOk(*args, **kwargs) def GetNumberJoysticks(*args, **kwargs): @@ -1781,7 +1784,7 @@ class Joystick(object): return _misc.Joystick_GetProductId(*args, **kwargs) def GetProductName(*args, **kwargs): - """GetProductName() -> wxString""" + """GetProductName() -> String""" return _misc.Joystick_GetProductName(*args, **kwargs) def GetXMin(*args, **kwargs): @@ -1906,7 +1909,6 @@ wxEVT_JOY_BUTTON_UP = _misc.wxEVT_JOY_BUTTON_UP wxEVT_JOY_MOVE = _misc.wxEVT_JOY_MOVE wxEVT_JOY_ZMOVE = _misc.wxEVT_JOY_ZMOVE class JoystickEvent(core.Event): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) m_pos = property(_misc.JoystickEvent_m_pos_get, _misc.JoystickEvent_m_pos_set) @@ -1915,8 +1917,10 @@ class JoystickEvent(core.Event): m_buttonState = property(_misc.JoystickEvent_m_buttonState_get, _misc.JoystickEvent_m_buttonState_set) m_joyStick = property(_misc.JoystickEvent_m_joyStick_get, _misc.JoystickEvent_m_joyStick_set) def __init__(self, *args, **kwargs): - """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, - int change=0) -> JoystickEvent""" + """ + __init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, + int change=0) -> JoystickEvent + """ newobj = _misc.new_JoystickEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2008,11 +2012,10 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN, #--------------------------------------------------------------------------- class Wave(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString fileName, bool isResource=False) -> Wave""" + """__init__(String fileName, bool isResource=False) -> Wave""" newobj = _misc.new_Wave(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2041,7 +2044,7 @@ class WavePtr(Wave): _misc.Wave_swigregister(WavePtr) def WaveData(*args, **kwargs): - """WaveData(wxString data) -> Wave""" + """WaveData(String data) -> Wave""" val = _misc.new_WaveData(*args, **kwargs) val.thisown = 1 return val @@ -2054,12 +2057,10 @@ MAILCAP_KDE = _misc.MAILCAP_KDE MAILCAP_GNOME = _misc.MAILCAP_GNOME MAILCAP_ALL = _misc.MAILCAP_ALL class FileTypeInfo(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString mimeType, wxString openCmd, wxString printCmd, - wxString desc) -> FileTypeInfo""" + """__init__(String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo""" newobj = _misc.new_FileTypeInfo(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2069,31 +2070,31 @@ class FileTypeInfo(object): return _misc.FileTypeInfo_IsValid(*args, **kwargs) def SetIcon(*args, **kwargs): - """SetIcon(wxString iconFile, int iconIndex=0)""" + """SetIcon(String iconFile, int iconIndex=0)""" return _misc.FileTypeInfo_SetIcon(*args, **kwargs) def SetShortDesc(*args, **kwargs): - """SetShortDesc(wxString shortDesc)""" + """SetShortDesc(String shortDesc)""" return _misc.FileTypeInfo_SetShortDesc(*args, **kwargs) def GetMimeType(*args, **kwargs): - """GetMimeType() -> wxString""" + """GetMimeType() -> String""" return _misc.FileTypeInfo_GetMimeType(*args, **kwargs) def GetOpenCommand(*args, **kwargs): - """GetOpenCommand() -> wxString""" + """GetOpenCommand() -> String""" return _misc.FileTypeInfo_GetOpenCommand(*args, **kwargs) def GetPrintCommand(*args, **kwargs): - """GetPrintCommand() -> wxString""" + """GetPrintCommand() -> String""" return _misc.FileTypeInfo_GetPrintCommand(*args, **kwargs) def GetShortDesc(*args, **kwargs): - """GetShortDesc() -> wxString""" + """GetShortDesc() -> String""" return _misc.FileTypeInfo_GetShortDesc(*args, **kwargs) def GetDescription(*args, **kwargs): - """GetDescription() -> wxString""" + """GetDescription() -> String""" return _misc.FileTypeInfo_GetDescription(*args, **kwargs) def GetExtensions(*args, **kwargs): @@ -2105,7 +2106,7 @@ class FileTypeInfo(object): return _misc.FileTypeInfo_GetExtensionsCount(*args, **kwargs) def GetIconFile(*args, **kwargs): - """GetIconFile() -> wxString""" + """GetIconFile() -> String""" return _misc.FileTypeInfo_GetIconFile(*args, **kwargs) def GetIconIndex(*args, **kwargs): @@ -2133,7 +2134,6 @@ def NullFileTypeInfo(*args, **kwargs): return val class FileType(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2161,7 +2161,7 @@ class FileType(object): return _misc.FileType_GetExtensions(*args, **kwargs) def GetIcon(*args, **kwargs): - """GetIcon() -> wxIcon""" + """GetIcon() -> Icon""" return _misc.FileType_GetIcon(*args, **kwargs) def GetIconInfo(*args, **kwargs): @@ -2173,23 +2173,23 @@ class FileType(object): return _misc.FileType_GetDescription(*args, **kwargs) def GetOpenCommand(*args, **kwargs): - """GetOpenCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + """GetOpenCommand(String filename, String mimetype=EmptyString) -> PyObject""" return _misc.FileType_GetOpenCommand(*args, **kwargs) def GetPrintCommand(*args, **kwargs): - """GetPrintCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + """GetPrintCommand(String filename, String mimetype=EmptyString) -> PyObject""" return _misc.FileType_GetPrintCommand(*args, **kwargs) def GetAllCommands(*args, **kwargs): - """GetAllCommands(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject""" + """GetAllCommands(String filename, String mimetype=EmptyString) -> PyObject""" return _misc.FileType_GetAllCommands(*args, **kwargs) def SetCommand(*args, **kwargs): - """SetCommand(wxString cmd, wxString verb, bool overwriteprompt=True) -> bool""" + """SetCommand(String cmd, String verb, bool overwriteprompt=True) -> bool""" return _misc.FileType_SetCommand(*args, **kwargs) def SetDefaultIcon(*args, **kwargs): - """SetDefaultIcon(wxString cmd=wxPyEmptyString, int index=0) -> bool""" + """SetDefaultIcon(String cmd=EmptyString, int index=0) -> bool""" return _misc.FileType_SetDefaultIcon(*args, **kwargs) def Unassociate(*args, **kwargs): @@ -2197,7 +2197,7 @@ class FileType(object): return _misc.FileType_Unassociate(*args, **kwargs) def ExpandCommand(*args, **kwargs): - """FileType.ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString""" + """FileType.ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" return _misc.FileType_ExpandCommand(*args, **kwargs) ExpandCommand = staticmethod(ExpandCommand) @@ -2210,15 +2210,14 @@ class FileTypePtr(FileType): _misc.FileType_swigregister(FileTypePtr) def FileType_ExpandCommand(*args, **kwargs): - """FileType_ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString""" + """FileType_ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" return _misc.FileType_ExpandCommand(*args, **kwargs) class MimeTypesManager(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def IsOfType(*args, **kwargs): - """MimeTypesManager.IsOfType(wxString mimeType, wxString wildcard) -> bool""" + """MimeTypesManager.IsOfType(String mimeType, String wildcard) -> bool""" return _misc.MimeTypesManager_IsOfType(*args, **kwargs) IsOfType = staticmethod(IsOfType) @@ -2229,7 +2228,7 @@ class MimeTypesManager(object): self.thisown = 1 del newobj.thisown def Initialize(*args, **kwargs): - """Initialize(int mailcapStyle=MAILCAP_ALL, wxString extraDir=wxPyEmptyString)""" + """Initialize(int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)""" return _misc.MimeTypesManager_Initialize(*args, **kwargs) def ClearData(*args, **kwargs): @@ -2237,19 +2236,19 @@ class MimeTypesManager(object): return _misc.MimeTypesManager_ClearData(*args, **kwargs) def GetFileTypeFromExtension(*args, **kwargs): - """GetFileTypeFromExtension(wxString ext) -> FileType""" + """GetFileTypeFromExtension(String ext) -> FileType""" return _misc.MimeTypesManager_GetFileTypeFromExtension(*args, **kwargs) def GetFileTypeFromMimeType(*args, **kwargs): - """GetFileTypeFromMimeType(wxString mimeType) -> FileType""" + """GetFileTypeFromMimeType(String mimeType) -> FileType""" return _misc.MimeTypesManager_GetFileTypeFromMimeType(*args, **kwargs) def ReadMailcap(*args, **kwargs): - """ReadMailcap(wxString filename, bool fallback=False) -> bool""" + """ReadMailcap(String filename, bool fallback=False) -> bool""" return _misc.MimeTypesManager_ReadMailcap(*args, **kwargs) def ReadMimeTypes(*args, **kwargs): - """ReadMimeTypes(wxString filename) -> bool""" + """ReadMimeTypes(String filename) -> bool""" return _misc.MimeTypesManager_ReadMimeTypes(*args, **kwargs) def EnumAllFileTypes(*args, **kwargs): @@ -2281,17 +2280,15 @@ class MimeTypesManagerPtr(MimeTypesManager): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = MimeTypesManager _misc.MimeTypesManager_swigregister(MimeTypesManagerPtr) -cvar = _misc.cvar TheMimeTypesManager = cvar.TheMimeTypesManager def MimeTypesManager_IsOfType(*args, **kwargs): - """MimeTypesManager_IsOfType(wxString mimeType, wxString wildcard) -> bool""" + """MimeTypesManager_IsOfType(String mimeType, String wildcard) -> bool""" return _misc.MimeTypesManager_IsOfType(*args, **kwargs) #--------------------------------------------------------------------------- class ArtProvider(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -2307,30 +2304,57 @@ class ArtProvider(object): return _misc.ArtProvider__setCallbackInfo(*args, **kwargs) def PushProvider(*args, **kwargs): - """ArtProvider.PushProvider(ArtProvider provider)""" + """ + ArtProvider.PushProvider(ArtProvider provider) + + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) PushProvider = staticmethod(PushProvider) def PopProvider(*args, **kwargs): - """ArtProvider.PopProvider() -> bool""" + """ + ArtProvider.PopProvider() -> bool + + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) PopProvider = staticmethod(PopProvider) def RemoveProvider(*args, **kwargs): - """ArtProvider.RemoveProvider(ArtProvider provider) -> bool""" + """ + ArtProvider.RemoveProvider(ArtProvider provider) -> bool + + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) RemoveProvider = staticmethod(RemoveProvider) def GetBitmap(*args, **kwargs): - """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + """ + ArtProvider.GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap + + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) GetBitmap = staticmethod(GetBitmap) def GetIcon(*args, **kwargs): - """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + """ + ArtProvider.GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon + + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) GetIcon = staticmethod(GetIcon) + def Destroy(*args, **kwargs): + """Destroy()""" + return _misc.ArtProvider_Destroy(*args, **kwargs) + class ArtProviderPtr(ArtProvider): def __init__(self, this): @@ -2378,23 +2402,46 @@ ART_INFORMATION = cvar.ART_INFORMATION ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE def ArtProvider_PushProvider(*args, **kwargs): - """ArtProvider_PushProvider(ArtProvider provider)""" + """ + ArtProvider_PushProvider(ArtProvider provider) + + Add new provider to the top of providers stack. + """ return _misc.ArtProvider_PushProvider(*args, **kwargs) def ArtProvider_PopProvider(*args, **kwargs): - """ArtProvider_PopProvider() -> bool""" + """ + ArtProvider_PopProvider() -> bool + + Remove latest added provider and delete it. + """ return _misc.ArtProvider_PopProvider(*args, **kwargs) def ArtProvider_RemoveProvider(*args, **kwargs): - """ArtProvider_RemoveProvider(ArtProvider provider) -> bool""" + """ + ArtProvider_RemoveProvider(ArtProvider provider) -> bool + + Remove provider. The provider must have been added previously! + The provider is _not_ deleted. + """ return _misc.ArtProvider_RemoveProvider(*args, **kwargs) def ArtProvider_GetBitmap(*args, **kwargs): - """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap""" + """ + ArtProvider_GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap + + Query the providers for bitmap with given ID and return it. Return + wx.NullBitmap if no provider provides it. + """ return _misc.ArtProvider_GetBitmap(*args, **kwargs) def ArtProvider_GetIcon(*args, **kwargs): - """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon""" + """ + ArtProvider_GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon + + Query the providers for icon with given ID and return it. Return + wx.NullIcon if no provider provides it. + """ return _misc.ArtProvider_GetIcon(*args, **kwargs) #--------------------------------------------------------------------------- @@ -2404,7 +2451,6 @@ CONFIG_USE_GLOBAL_FILE = _misc.CONFIG_USE_GLOBAL_FILE CONFIG_USE_RELATIVE_PATH = _misc.CONFIG_USE_RELATIVE_PATH CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc.CONFIG_USE_NO_ESCAPE_CHARACTERS class ConfigBase(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -2440,11 +2486,11 @@ class ConfigBase(object): DontCreateOnDemand = staticmethod(DontCreateOnDemand) def SetPath(*args, **kwargs): - """SetPath(wxString strPath)""" + """SetPath(String strPath)""" return _misc.ConfigBase_SetPath(*args, **kwargs) def GetPath(*args, **kwargs): - """GetPath() -> wxString""" + """GetPath() -> String""" return _misc.ConfigBase_GetPath(*args, **kwargs) def GetFirstGroup(*args, **kwargs): @@ -2472,51 +2518,51 @@ class ConfigBase(object): return _misc.ConfigBase_GetNumberOfGroups(*args, **kwargs) def HasGroup(*args, **kwargs): - """HasGroup(wxString strName) -> bool""" + """HasGroup(String strName) -> bool""" return _misc.ConfigBase_HasGroup(*args, **kwargs) def HasEntry(*args, **kwargs): - """HasEntry(wxString strName) -> bool""" + """HasEntry(String strName) -> bool""" return _misc.ConfigBase_HasEntry(*args, **kwargs) def Exists(*args, **kwargs): - """Exists(wxString strName) -> bool""" + """Exists(String strName) -> bool""" return _misc.ConfigBase_Exists(*args, **kwargs) def GetEntryType(*args, **kwargs): - """GetEntryType(wxString name) -> wxConfigBase::EntryType""" + """GetEntryType(String name) -> int""" return _misc.ConfigBase_GetEntryType(*args, **kwargs) def Read(*args, **kwargs): - """Read(wxString key, wxString defaultVal=wxPyEmptyString) -> wxString""" + """Read(String key, String defaultVal=EmptyString) -> String""" return _misc.ConfigBase_Read(*args, **kwargs) def ReadInt(*args, **kwargs): - """ReadInt(wxString key, long defaultVal=0) -> long""" + """ReadInt(String key, long defaultVal=0) -> long""" return _misc.ConfigBase_ReadInt(*args, **kwargs) def ReadFloat(*args, **kwargs): - """ReadFloat(wxString key, double defaultVal=0.0) -> double""" + """ReadFloat(String key, double defaultVal=0.0) -> double""" return _misc.ConfigBase_ReadFloat(*args, **kwargs) def ReadBool(*args, **kwargs): - """ReadBool(wxString key, bool defaultVal=False) -> bool""" + """ReadBool(String key, bool defaultVal=False) -> bool""" return _misc.ConfigBase_ReadBool(*args, **kwargs) def Write(*args, **kwargs): - """Write(wxString key, wxString value) -> bool""" + """Write(String key, String value) -> bool""" return _misc.ConfigBase_Write(*args, **kwargs) def WriteInt(*args, **kwargs): - """WriteInt(wxString key, long value) -> bool""" + """WriteInt(String key, long value) -> bool""" return _misc.ConfigBase_WriteInt(*args, **kwargs) def WriteFloat(*args, **kwargs): - """WriteFloat(wxString key, double value) -> bool""" + """WriteFloat(String key, double value) -> bool""" return _misc.ConfigBase_WriteFloat(*args, **kwargs) def WriteBool(*args, **kwargs): - """WriteBool(wxString key, bool value) -> bool""" + """WriteBool(String key, bool value) -> bool""" return _misc.ConfigBase_WriteBool(*args, **kwargs) def Flush(*args, **kwargs): @@ -2524,19 +2570,19 @@ class ConfigBase(object): return _misc.ConfigBase_Flush(*args, **kwargs) def RenameEntry(*args, **kwargs): - """RenameEntry(wxString oldName, wxString newName) -> bool""" + """RenameEntry(String oldName, String newName) -> bool""" return _misc.ConfigBase_RenameEntry(*args, **kwargs) def RenameGroup(*args, **kwargs): - """RenameGroup(wxString oldName, wxString newName) -> bool""" + """RenameGroup(String oldName, String newName) -> bool""" return _misc.ConfigBase_RenameGroup(*args, **kwargs) def DeleteEntry(*args, **kwargs): - """DeleteEntry(wxString key, bool bDeleteGroupIfEmpty=True) -> bool""" + """DeleteEntry(String key, bool bDeleteGroupIfEmpty=True) -> bool""" return _misc.ConfigBase_DeleteEntry(*args, **kwargs) def DeleteGroup(*args, **kwargs): - """DeleteGroup(wxString key) -> bool""" + """DeleteGroup(String key) -> bool""" return _misc.ConfigBase_DeleteGroup(*args, **kwargs) def DeleteAll(*args, **kwargs): @@ -2560,23 +2606,23 @@ class ConfigBase(object): return _misc.ConfigBase_IsRecordingDefaults(*args, **kwargs) def ExpandEnvVars(*args, **kwargs): - """ExpandEnvVars(wxString str) -> wxString""" + """ExpandEnvVars(String str) -> String""" return _misc.ConfigBase_ExpandEnvVars(*args, **kwargs) def GetAppName(*args, **kwargs): - """GetAppName() -> wxString""" + """GetAppName() -> String""" return _misc.ConfigBase_GetAppName(*args, **kwargs) def GetVendorName(*args, **kwargs): - """GetVendorName() -> wxString""" + """GetVendorName() -> String""" return _misc.ConfigBase_GetVendorName(*args, **kwargs) def SetAppName(*args, **kwargs): - """SetAppName(wxString appName)""" + """SetAppName(String appName)""" return _misc.ConfigBase_SetAppName(*args, **kwargs) def SetVendorName(*args, **kwargs): - """SetVendorName(wxString vendorName)""" + """SetVendorName(String vendorName)""" return _misc.ConfigBase_SetVendorName(*args, **kwargs) def SetStyle(*args, **kwargs): @@ -2612,11 +2658,10 @@ def ConfigBase_DontCreateOnDemand(*args, **kwargs): return _misc.ConfigBase_DontCreateOnDemand(*args, **kwargs) class ConfigPathChanger(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(ConfigBase pContainer, wxString strEntry) -> ConfigPathChanger""" + """__init__(ConfigBase pContainer, String strEntry) -> ConfigPathChanger""" newobj = _misc.new_ConfigPathChanger(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2628,7 +2673,7 @@ class ConfigPathChanger(object): except: pass def Name(*args, **kwargs): - """Name() -> wxString""" + """Name() -> String""" return _misc.ConfigPathChanger_Name(*args, **kwargs) @@ -2640,14 +2685,14 @@ class ConfigPathChangerPtr(ConfigPathChanger): _misc.ConfigPathChanger_swigregister(ConfigPathChangerPtr) class Config(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> Config""" + """ + __init__(String appName=EmptyString, String vendorName=EmptyString, + String localFilename=EmptyString, String globalFilename=EmptyString, + long style=0) -> Config + """ newobj = _misc.new_Config(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2667,14 +2712,14 @@ class ConfigPtr(Config): _misc.Config_swigregister(ConfigPtr) class FileConfig(ConfigBase): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString, - wxString localFilename=wxPyEmptyString, - wxString globalFilename=wxPyEmptyString, - long style=0) -> FileConfig""" + """ + __init__(String appName=EmptyString, String vendorName=EmptyString, + String localFilename=EmptyString, String globalFilename=EmptyString, + long style=0) -> FileConfig + """ newobj = _misc.new_FileConfig(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -2695,12 +2740,11 @@ _misc.FileConfig_swigregister(FileConfigPtr) def ExpandEnvVars(*args, **kwargs): - """ExpandEnvVars(wxString sz) -> wxString""" + """ExpandEnvVars(String sz) -> String""" return _misc.ExpandEnvVars(*args, **kwargs) #--------------------------------------------------------------------------- class DateTime(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Local = _misc.DateTime_Local @@ -2859,22 +2903,22 @@ class DateTime(object): Monday_First = _misc.DateTime_Monday_First Sunday_First = _misc.DateTime_Sunday_First def SetCountry(*args, **kwargs): - """DateTime.SetCountry(wxDateTime::Country country)""" + """DateTime.SetCountry(int country)""" return _misc.DateTime_SetCountry(*args, **kwargs) SetCountry = staticmethod(SetCountry) def GetCountry(*args, **kwargs): - """DateTime.GetCountry() -> wxDateTime::Country""" + """DateTime.GetCountry() -> int""" return _misc.DateTime_GetCountry(*args, **kwargs) GetCountry = staticmethod(GetCountry) def IsWestEuropeanCountry(*args, **kwargs): - """DateTime.IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool""" + """DateTime.IsWestEuropeanCountry(int country=Country_Default) -> bool""" return _misc.DateTime_IsWestEuropeanCountry(*args, **kwargs) IsWestEuropeanCountry = staticmethod(IsWestEuropeanCountry) def GetCurrentYear(*args, **kwargs): - """DateTime.GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int""" + """DateTime.GetCurrentYear(int cal=Gregorian) -> int""" return _misc.DateTime_GetCurrentYear(*args, **kwargs) GetCurrentYear = staticmethod(GetCurrentYear) @@ -2884,12 +2928,12 @@ class DateTime(object): ConvertYearToBC = staticmethod(ConvertYearToBC) def GetCurrentMonth(*args, **kwargs): - """DateTime.GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month""" + """DateTime.GetCurrentMonth(int cal=Gregorian) -> int""" return _misc.DateTime_GetCurrentMonth(*args, **kwargs) GetCurrentMonth = staticmethod(GetCurrentMonth) def IsLeapYear(*args, **kwargs): - """DateTime.IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool""" + """DateTime.IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" return _misc.DateTime_IsLeapYear(*args, **kwargs) IsLeapYear = staticmethod(IsLeapYear) @@ -2899,44 +2943,46 @@ class DateTime(object): GetCentury = staticmethod(GetCentury) def GetNumberOfDaysinYear(*args, **kwargs): - """DateTime.GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int""" + """DateTime.GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs) GetNumberOfDaysinYear = staticmethod(GetNumberOfDaysinYear) def GetNumberOfDaysInMonth(*args, **kwargs): - """DateTime.GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int""" + """DateTime.GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs) GetNumberOfDaysInMonth = staticmethod(GetNumberOfDaysInMonth) def GetMonthName(*args, **kwargs): - """DateTime.GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + """DateTime.GetMonthName(int month, int flags=Name_Full) -> String""" return _misc.DateTime_GetMonthName(*args, **kwargs) GetMonthName = staticmethod(GetMonthName) def GetWeekDayName(*args, **kwargs): - """DateTime.GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + """DateTime.GetWeekDayName(int weekday, int flags=Name_Full) -> String""" return _misc.DateTime_GetWeekDayName(*args, **kwargs) GetWeekDayName = staticmethod(GetWeekDayName) def GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) GetAmPmStrings = staticmethod(GetAmPmStrings) def IsDSTApplicable(*args, **kwargs): - """DateTime.IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool""" + """DateTime.IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" return _misc.DateTime_IsDSTApplicable(*args, **kwargs) IsDSTApplicable = staticmethod(IsDSTApplicable) def GetBeginDST(*args, **kwargs): - """DateTime.GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + """DateTime.GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" return _misc.DateTime_GetBeginDST(*args, **kwargs) GetBeginDST = staticmethod(GetBeginDST) def GetEndDST(*args, **kwargs): - """DateTime.GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + """DateTime.GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" return _misc.DateTime_GetEndDST(*args, **kwargs) GetEndDST = staticmethod(GetEndDST) @@ -2984,9 +3030,10 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_SetHMS(*args, **kwargs) def Set(*args, **kwargs): - """Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + Set(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, + int minute=0, int second=0, int millisec=0) -> DateTime + """ return _misc.DateTime_Set(*args, **kwargs) def ResetTime(*args, **kwargs): @@ -2998,7 +3045,7 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_SetYear(*args, **kwargs) def SetMonth(*args, **kwargs): - """SetMonth(wxDateTime::Month month) -> DateTime""" + """SetMonth(int month) -> DateTime""" return _misc.DateTime_SetMonth(*args, **kwargs) def SetDay(*args, **kwargs): @@ -3022,58 +3069,55 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_SetMillisecond(*args, **kwargs) def SetToWeekDayInSameWeek(*args, **kwargs): - """SetToWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + """SetToWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime""" return _misc.DateTime_SetToWeekDayInSameWeek(*args, **kwargs) def GetWeekDayInSameWeek(*args, **kwargs): - """GetWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + """GetWeekDayInSameWeek(int weekday, int flags=Monday_First) -> DateTime""" return _misc.DateTime_GetWeekDayInSameWeek(*args, **kwargs) def SetToNextWeekDay(*args, **kwargs): - """SetToNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + """SetToNextWeekDay(int weekday) -> DateTime""" return _misc.DateTime_SetToNextWeekDay(*args, **kwargs) def GetNextWeekDay(*args, **kwargs): - """GetNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + """GetNextWeekDay(int weekday) -> DateTime""" return _misc.DateTime_GetNextWeekDay(*args, **kwargs) def SetToPrevWeekDay(*args, **kwargs): - """SetToPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + """SetToPrevWeekDay(int weekday) -> DateTime""" return _misc.DateTime_SetToPrevWeekDay(*args, **kwargs) def GetPrevWeekDay(*args, **kwargs): - """GetPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime""" + """GetPrevWeekDay(int weekday) -> DateTime""" return _misc.DateTime_GetPrevWeekDay(*args, **kwargs) def SetToWeekDay(*args, **kwargs): - """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """SetToWeekDay(int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool""" return _misc.DateTime_SetToWeekDay(*args, **kwargs) def SetToLastWeekDay(*args, **kwargs): - """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> bool""" + """SetToLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> bool""" return _misc.DateTime_SetToLastWeekDay(*args, **kwargs) def GetLastWeekDay(*args, **kwargs): - """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month, - int year=Inv_Year) -> DateTime""" + """GetLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime""" return _misc.DateTime_GetLastWeekDay(*args, **kwargs) def SetToTheWeek(*args, **kwargs): - """SetToTheWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> bool""" + """SetToTheWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> bool""" return _misc.DateTime_SetToTheWeek(*args, **kwargs) def GetWeek(*args, **kwargs): - """GetWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> DateTime""" + """GetWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime""" return _misc.DateTime_GetWeek(*args, **kwargs) def SetToLastMonthDay(*args, **kwargs): - """SetToLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime""" + """SetToLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime""" return _misc.DateTime_SetToLastMonthDay(*args, **kwargs) def GetLastMonthDay(*args, **kwargs): - """GetLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime""" + """GetLastMonthDay(int month=Inv_Month, int year=Inv_Year) -> DateTime""" return _misc.DateTime_GetLastMonthDay(*args, **kwargs) def SetToYearDay(*args, **kwargs): @@ -3121,7 +3165,7 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_MakeGMT(*args, **kwargs) def IsDST(*args, **kwargs): - """IsDST(wxDateTime::Country country=Country_Default) -> int""" + """IsDST(int country=Country_Default) -> int""" return _misc.DateTime_IsDST(*args, **kwargs) def IsValid(*args, **kwargs): @@ -3137,7 +3181,7 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_GetYear(*args, **kwargs) def GetMonth(*args, **kwargs): - """GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::Month""" + """GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" return _misc.DateTime_GetMonth(*args, **kwargs) def GetDay(*args, **kwargs): @@ -3145,7 +3189,7 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_GetDay(*args, **kwargs) def GetWeekDay(*args, **kwargs): - """GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::WeekDay""" + """GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" return _misc.DateTime_GetWeekDay(*args, **kwargs) def GetHour(*args, **kwargs): @@ -3169,15 +3213,15 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_GetDayOfYear(*args, **kwargs) def GetWeekOfYear(*args, **kwargs): - """GetWeekOfYear(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" + """GetWeekOfYear(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" return _misc.DateTime_GetWeekOfYear(*args, **kwargs) def GetWeekOfMonth(*args, **kwargs): - """GetWeekOfMonth(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" + """GetWeekOfMonth(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" return _misc.DateTime_GetWeekOfMonth(*args, **kwargs) def IsWorkDay(*args, **kwargs): - """IsWorkDay(wxDateTime::Country country=Country_Default) -> bool""" + """IsWorkDay(int country=Country_Default) -> bool""" return _misc.DateTime_IsWorkDay(*args, **kwargs) def IsEqualTo(*args, **kwargs): @@ -3233,24 +3277,32 @@ Get the AM and PM strings in the current locale (may be empty)""" return _misc.DateTime_Subtract(*args, **kwargs) def __iadd__(*args): - """__iadd__(TimeSpan diff) -> DateTime -__iadd__(DateSpan diff) -> DateTime""" + """ + __iadd__(TimeSpan diff) -> DateTime + __iadd__(DateSpan diff) -> DateTime + """ return _misc.DateTime___iadd__(*args) def __isub__(*args): - """__isub__(TimeSpan diff) -> DateTime -__isub__(DateSpan diff) -> DateTime""" + """ + __isub__(TimeSpan diff) -> DateTime + __isub__(DateSpan diff) -> DateTime + """ return _misc.DateTime___isub__(*args) def __add__(*args): - """__add__(TimeSpan other) -> DateTime -__add__(DateSpan other) -> DateTime""" + """ + __add__(TimeSpan other) -> DateTime + __add__(DateSpan other) -> DateTime + """ return _misc.DateTime___add__(*args) def __sub__(*args): - """__sub__(DateTime other) -> TimeSpan -__sub__(TimeSpan other) -> DateTime -__sub__(DateSpan other) -> DateTime""" + """ + __sub__(DateTime other) -> TimeSpan + __sub__(TimeSpan other) -> DateTime + __sub__(DateSpan other) -> DateTime + """ return _misc.DateTime___sub__(*args) def __lt__(*args): @@ -3278,43 +3330,43 @@ __sub__(DateSpan other) -> DateTime""" return _misc.DateTime___ne__(*args) def ParseRfc822Date(*args, **kwargs): - """ParseRfc822Date(wxString date) -> int""" + """ParseRfc822Date(String date) -> int""" return _misc.DateTime_ParseRfc822Date(*args, **kwargs) def ParseFormat(*args, **kwargs): - """ParseFormat(wxString date, wxString format=wxPyDateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int""" + """ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int""" return _misc.DateTime_ParseFormat(*args, **kwargs) def ParseDateTime(*args, **kwargs): - """ParseDateTime(wxString datetime) -> int""" + """ParseDateTime(String datetime) -> int""" return _misc.DateTime_ParseDateTime(*args, **kwargs) def ParseDate(*args, **kwargs): - """ParseDate(wxString date) -> int""" + """ParseDate(String date) -> int""" return _misc.DateTime_ParseDate(*args, **kwargs) def ParseTime(*args, **kwargs): - """ParseTime(wxString time) -> int""" + """ParseTime(String time) -> int""" return _misc.DateTime_ParseTime(*args, **kwargs) def Format(*args, **kwargs): - """Format(wxString format=wxPyDateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxString""" + """Format(String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> String""" return _misc.DateTime_Format(*args, **kwargs) def FormatDate(*args, **kwargs): - """FormatDate() -> wxString""" + """FormatDate() -> String""" return _misc.DateTime_FormatDate(*args, **kwargs) def FormatTime(*args, **kwargs): - """FormatTime() -> wxString""" + """FormatTime() -> String""" return _misc.DateTime_FormatTime(*args, **kwargs) def FormatISODate(*args, **kwargs): - """FormatISODate() -> wxString""" + """FormatISODate() -> String""" return _misc.DateTime_FormatISODate(*args, **kwargs) def FormatISOTime(*args, **kwargs): - """FormatISOTime() -> wxString""" + """FormatISOTime() -> String""" return _misc.DateTime_FormatISOTime(*args, **kwargs) def __repr__(self): @@ -3329,21 +3381,23 @@ class DateTimePtr(DateTime): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = DateTime _misc.DateTime_swigregister(DateTimePtr) +DateFormatStr = cvar.DateFormatStr +TimeSpanFormatStr = cvar.TimeSpanFormatStr def DateTime_SetCountry(*args, **kwargs): - """DateTime_SetCountry(wxDateTime::Country country)""" + """DateTime_SetCountry(int country)""" return _misc.DateTime_SetCountry(*args, **kwargs) def DateTime_GetCountry(*args, **kwargs): - """DateTime_GetCountry() -> wxDateTime::Country""" + """DateTime_GetCountry() -> int""" return _misc.DateTime_GetCountry(*args, **kwargs) def DateTime_IsWestEuropeanCountry(*args, **kwargs): - """DateTime_IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool""" + """DateTime_IsWestEuropeanCountry(int country=Country_Default) -> bool""" return _misc.DateTime_IsWestEuropeanCountry(*args, **kwargs) def DateTime_GetCurrentYear(*args, **kwargs): - """DateTime_GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int""" + """DateTime_GetCurrentYear(int cal=Gregorian) -> int""" return _misc.DateTime_GetCurrentYear(*args, **kwargs) def DateTime_ConvertYearToBC(*args, **kwargs): @@ -3351,11 +3405,11 @@ def DateTime_ConvertYearToBC(*args, **kwargs): return _misc.DateTime_ConvertYearToBC(*args, **kwargs) def DateTime_GetCurrentMonth(*args, **kwargs): - """DateTime_GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month""" + """DateTime_GetCurrentMonth(int cal=Gregorian) -> int""" return _misc.DateTime_GetCurrentMonth(*args, **kwargs) def DateTime_IsLeapYear(*args, **kwargs): - """DateTime_IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool""" + """DateTime_IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" return _misc.DateTime_IsLeapYear(*args, **kwargs) def DateTime_GetCentury(*args, **kwargs): @@ -3363,37 +3417,39 @@ def DateTime_GetCentury(*args, **kwargs): return _misc.DateTime_GetCentury(*args, **kwargs) def DateTime_GetNumberOfDaysinYear(*args, **kwargs): - """DateTime_GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int""" + """DateTime_GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" return _misc.DateTime_GetNumberOfDaysinYear(*args, **kwargs) def DateTime_GetNumberOfDaysInMonth(*args, **kwargs): - """DateTime_GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int""" + """DateTime_GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" return _misc.DateTime_GetNumberOfDaysInMonth(*args, **kwargs) def DateTime_GetMonthName(*args, **kwargs): - """DateTime_GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + """DateTime_GetMonthName(int month, int flags=Name_Full) -> String""" return _misc.DateTime_GetMonthName(*args, **kwargs) def DateTime_GetWeekDayName(*args, **kwargs): - """DateTime_GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString""" + """DateTime_GetWeekDayName(int weekday, int flags=Name_Full) -> String""" return _misc.DateTime_GetWeekDayName(*args, **kwargs) def DateTime_GetAmPmStrings(*args, **kwargs): - """GetAmPmStrings() -> (am, pm) + """ + GetAmPmStrings() -> (am, pm) -Get the AM and PM strings in the current locale (may be empty)""" + Get the AM and PM strings in the current locale (may be empty) + """ return _misc.DateTime_GetAmPmStrings(*args, **kwargs) def DateTime_IsDSTApplicable(*args, **kwargs): - """DateTime_IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool""" + """DateTime_IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" return _misc.DateTime_IsDSTApplicable(*args, **kwargs) def DateTime_GetBeginDST(*args, **kwargs): - """DateTime_GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + """DateTime_GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" return _misc.DateTime_GetBeginDST(*args, **kwargs) def DateTime_GetEndDST(*args, **kwargs): - """DateTime_GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime""" + """DateTime_GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" return _misc.DateTime_GetEndDST(*args, **kwargs) def DateTime_Now(*args, **kwargs): @@ -3427,15 +3483,15 @@ def DateTimeFromHMS(*args, **kwargs): return val def DateTimeFromDMY(*args, **kwargs): - """DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year, - int hour=0, int minute=0, int second=0, - int millisec=0) -> DateTime""" + """ + DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, + int minute=0, int second=0, int millisec=0) -> DateTime + """ val = _misc.new_DateTimeFromDMY(*args, **kwargs) val.thisown = 1 return val class TimeSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Seconds(*args, **kwargs): @@ -3625,7 +3681,7 @@ class TimeSpan(object): return _misc.TimeSpan_GetMilliseconds(*args, **kwargs) def Format(*args, **kwargs): - """Format(wxString format=wxPyTimeSpanFormatStr) -> wxString""" + """Format(String format=TimeSpanFormatStr) -> String""" return _misc.TimeSpan_Format(*args, **kwargs) def __repr__(self): @@ -3682,7 +3738,6 @@ def TimeSpan_Week(*args, **kwargs): return _misc.TimeSpan_Week(*args, **kwargs) class DateSpan(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -3908,11 +3963,10 @@ DF_PRIVATE = _misc.DF_PRIVATE DF_HTML = _misc.DF_HTML DF_MAX = _misc.DF_MAX class DataFormat(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxDataFormatId type) -> DataFormat""" + """__init__(int type) -> DataFormat""" newobj = _misc.new_DataFormat(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -3924,29 +3978,33 @@ class DataFormat(object): except: pass def __eq__(*args): - """__eq__(wxDataFormatId format) -> bool -__eq__(DataFormat format) -> bool""" + """ + __eq__(int format) -> bool + __eq__(DataFormat format) -> bool + """ return _misc.DataFormat___eq__(*args) def __ne__(*args): - """__ne__(wxDataFormatId format) -> bool -__ne__(DataFormat format) -> bool""" + """ + __ne__(int format) -> bool + __ne__(DataFormat format) -> bool + """ return _misc.DataFormat___ne__(*args) def SetType(*args, **kwargs): - """SetType(wxDataFormatId format)""" + """SetType(int format)""" return _misc.DataFormat_SetType(*args, **kwargs) def GetType(*args, **kwargs): - """GetType() -> wxDataFormatId""" + """GetType() -> int""" return _misc.DataFormat_GetType(*args, **kwargs) def GetId(*args, **kwargs): - """GetId() -> wxString""" + """GetId() -> String""" return _misc.DataFormat_GetId(*args, **kwargs) def SetId(*args, **kwargs): - """SetId(wxString format)""" + """SetId(String format)""" return _misc.DataFormat_SetId(*args, **kwargs) @@ -3958,13 +4016,12 @@ class DataFormatPtr(DataFormat): _misc.DataFormat_swigregister(DataFormatPtr) def CustomDataFormat(*args, **kwargs): - """CustomDataFormat(wxString format) -> DataFormat""" + """CustomDataFormat(String format) -> DataFormat""" val = _misc.new_CustomDataFormat(*args, **kwargs) val.thisown = 1 return val class DataObject(object): - """""" def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) @@ -3978,15 +4035,15 @@ class DataObject(object): except: pass def GetPreferredFormat(*args, **kwargs): - """GetPreferredFormat(wxDataObject::Direction dir=Get) -> DataFormat""" + """GetPreferredFormat(int dir=Get) -> DataFormat""" return _misc.DataObject_GetPreferredFormat(*args, **kwargs) def GetFormatCount(*args, **kwargs): - """GetFormatCount(wxDataObject::Direction dir=Get) -> size_t""" + """GetFormatCount(int dir=Get) -> size_t""" return _misc.DataObject_GetFormatCount(*args, **kwargs) def IsSupported(*args, **kwargs): - """IsSupported(DataFormat format, wxDataObject::Direction dir=Get) -> bool""" + """IsSupported(DataFormat format, int dir=Get) -> bool""" return _misc.DataObject_IsSupported(*args, **kwargs) def GetDataSize(*args, **kwargs): @@ -3994,7 +4051,7 @@ class DataObject(object): return _misc.DataObject_GetDataSize(*args, **kwargs) def GetAllFormats(*args, **kwargs): - """GetAllFormats(DataFormat formats, wxDataObject::Direction dir=Get)""" + """GetAllFormats(DataFormat formats, int dir=Get)""" return _misc.DataObject_GetAllFormats(*args, **kwargs) def GetDataHere(*args, **kwargs): @@ -4015,7 +4072,6 @@ _misc.DataObject_swigregister(DataObjectPtr) FormatInvalid = cvar.FormatInvalid class DataObjectSimple(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4041,7 +4097,6 @@ class DataObjectSimplePtr(DataObjectSimple): _misc.DataObjectSimple_swigregister(DataObjectSimplePtr) class PyDataObjectSimple(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4065,7 +4120,6 @@ class PyDataObjectSimplePtr(PyDataObjectSimple): _misc.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr) class DataObjectComposite(DataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4089,11 +4143,10 @@ class DataObjectCompositePtr(DataObjectComposite): _misc.DataObjectComposite_swigregister(DataObjectCompositePtr) class TextDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString text=wxPyEmptyString) -> TextDataObject""" + """__init__(String text=EmptyString) -> TextDataObject""" newobj = _misc.new_TextDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4103,11 +4156,11 @@ class TextDataObject(DataObjectSimple): return _misc.TextDataObject_GetTextLength(*args, **kwargs) def GetText(*args, **kwargs): - """GetText() -> wxString""" + """GetText() -> String""" return _misc.TextDataObject_GetText(*args, **kwargs) def SetText(*args, **kwargs): - """SetText(wxString text)""" + """SetText(String text)""" return _misc.TextDataObject_SetText(*args, **kwargs) @@ -4119,11 +4172,10 @@ class TextDataObjectPtr(TextDataObject): _misc.TextDataObject_swigregister(TextDataObjectPtr) class PyTextDataObject(TextDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxString text=wxPyEmptyString) -> PyTextDataObject""" + """__init__(String text=EmptyString) -> PyTextDataObject""" newobj = _misc.new_PyTextDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4143,21 +4195,20 @@ class PyTextDataObjectPtr(PyTextDataObject): _misc.PyTextDataObject_swigregister(PyTextDataObjectPtr) class BitmapDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap bitmap=wxNullBitmap) -> BitmapDataObject""" + """__init__(Bitmap bitmap=wxNullBitmap) -> BitmapDataObject""" newobj = _misc.new_BitmapDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def GetBitmap(*args, **kwargs): - """GetBitmap() -> wxBitmap""" + """GetBitmap() -> Bitmap""" return _misc.BitmapDataObject_GetBitmap(*args, **kwargs) def SetBitmap(*args, **kwargs): - """SetBitmap(wxBitmap bitmap)""" + """SetBitmap(Bitmap bitmap)""" return _misc.BitmapDataObject_SetBitmap(*args, **kwargs) @@ -4169,11 +4220,10 @@ class BitmapDataObjectPtr(BitmapDataObject): _misc.BitmapDataObject_swigregister(BitmapDataObjectPtr) class PyBitmapDataObject(BitmapDataObject): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxBitmap bitmap=wxNullBitmap) -> PyBitmapDataObject""" + """__init__(Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject""" newobj = _misc.new_PyBitmapDataObject(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4193,7 +4243,6 @@ class PyBitmapDataObjectPtr(PyBitmapDataObject): _misc.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr) class FileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4215,7 +4264,6 @@ class FileDataObjectPtr(FileDataObject): _misc.FileDataObject_swigregister(FileDataObjectPtr) class CustomDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4249,7 +4297,6 @@ class CustomDataObjectPtr(CustomDataObject): _misc.CustomDataObject_swigregister(CustomDataObjectPtr) class URLDataObject(DataObjectComposite): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4259,11 +4306,11 @@ class URLDataObject(DataObjectComposite): self.thisown = 1 del newobj.thisown def GetURL(*args, **kwargs): - """GetURL() -> wxString""" + """GetURL() -> String""" return _misc.URLDataObject_GetURL(*args, **kwargs) def SetURL(*args, **kwargs): - """SetURL(wxString url)""" + """SetURL(String url)""" return _misc.URLDataObject_SetURL(*args, **kwargs) @@ -4275,7 +4322,6 @@ class URLDataObjectPtr(URLDataObject): _misc.URLDataObject_swigregister(URLDataObjectPtr) class MetafileDataObject(DataObjectSimple): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4313,15 +4359,16 @@ DragLink = _misc.DragLink DragCancel = _misc.DragCancel def IsDragResultOk(*args, **kwargs): - """IsDragResultOk(wxDragResult res) -> bool""" + """IsDragResultOk(int res) -> bool""" return _misc.IsDragResultOk(*args, **kwargs) class DropSource(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor, - wxCursor none=wxNullCursor) -> DropSource""" + """ + __init__(Window win=None, Cursor copy=wxNullCursor, Cursor move=wxNullCursor, + Cursor none=wxNullCursor) -> DropSource + """ newobj = _misc.new_DropSource(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -4345,15 +4392,15 @@ class DropSource(object): return _misc.DropSource_GetDataObject(*args, **kwargs) def SetCursor(*args, **kwargs): - """SetCursor(wxDragResult res, wxCursor cursor)""" + """SetCursor(int res, Cursor cursor)""" return _misc.DropSource_SetCursor(*args, **kwargs) def DoDragDrop(*args, **kwargs): - """DoDragDrop(int flags=Drag_CopyOnly) -> wxDragResult""" + """DoDragDrop(int flags=Drag_CopyOnly) -> int""" return _misc.DropSource_DoDragDrop(*args, **kwargs) def base_GiveFeedback(*args, **kwargs): - """base_GiveFeedback(wxDragResult effect) -> bool""" + """base_GiveFeedback(int effect) -> bool""" return _misc.DropSource_base_GiveFeedback(*args, **kwargs) @@ -4365,12 +4412,11 @@ class DropSourcePtr(DropSource): _misc.DropSource_swigregister(DropSourcePtr) class DropTarget(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(DataObject dataObject=None) -> DropTarget""" - newobj = _misc.new_DropTarget(*args, **kwargs) + """PyDropTarget(DataObject dataObject=None) -> DropTarget""" + newobj = _misc.new_PyDropTarget(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown @@ -4398,11 +4444,11 @@ class DropTarget(object): return val def base_OnEnter(*args, **kwargs): - """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnEnter(int x, int y, int def) -> int""" return _misc.DropTarget_base_OnEnter(*args, **kwargs) def base_OnDragOver(*args, **kwargs): - """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnDragOver(int x, int y, int def) -> int""" return _misc.DropTarget_base_OnDragOver(*args, **kwargs) def base_OnLeave(*args, **kwargs): @@ -4427,7 +4473,6 @@ _misc.DropTarget_swigregister(DropTargetPtr) PyDropTarget = DropTarget class TextDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4443,11 +4488,11 @@ class TextDropTarget(DropTarget): return _misc.TextDropTarget__setCallbackInfo(*args, **kwargs) def base_OnEnter(*args, **kwargs): - """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnEnter(int x, int y, int def) -> int""" return _misc.TextDropTarget_base_OnEnter(*args, **kwargs) def base_OnDragOver(*args, **kwargs): - """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnDragOver(int x, int y, int def) -> int""" return _misc.TextDropTarget_base_OnDragOver(*args, **kwargs) def base_OnLeave(*args, **kwargs): @@ -4459,7 +4504,7 @@ class TextDropTarget(DropTarget): return _misc.TextDropTarget_base_OnDrop(*args, **kwargs) def base_OnData(*args, **kwargs): - """base_OnData(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnData(int x, int y, int def) -> int""" return _misc.TextDropTarget_base_OnData(*args, **kwargs) @@ -4471,7 +4516,6 @@ class TextDropTargetPtr(TextDropTarget): _misc.TextDropTarget_swigregister(TextDropTargetPtr) class FileDropTarget(DropTarget): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4487,11 +4531,11 @@ class FileDropTarget(DropTarget): return _misc.FileDropTarget__setCallbackInfo(*args, **kwargs) def base_OnEnter(*args, **kwargs): - """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnEnter(int x, int y, int def) -> int""" return _misc.FileDropTarget_base_OnEnter(*args, **kwargs) def base_OnDragOver(*args, **kwargs): - """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnDragOver(int x, int y, int def) -> int""" return _misc.FileDropTarget_base_OnDragOver(*args, **kwargs) def base_OnLeave(*args, **kwargs): @@ -4503,7 +4547,7 @@ class FileDropTarget(DropTarget): return _misc.FileDropTarget_base_OnDrop(*args, **kwargs) def base_OnData(*args, **kwargs): - """base_OnData(int x, int y, wxDragResult def) -> wxDragResult""" + """base_OnData(int x, int y, int def) -> int""" return _misc.FileDropTarget_base_OnData(*args, **kwargs) @@ -4517,7 +4561,6 @@ _misc.FileDropTarget_swigregister(FileDropTargetPtr) #--------------------------------------------------------------------------- class Clipboard(core.Object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4581,7 +4624,6 @@ class ClipboardPtr(Clipboard): _misc.Clipboard_swigregister(ClipboardPtr) class ClipboardLocker(object): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs):