]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/_misc.py
pywrap should be treated as a gui script
[wxWidgets.git] / wxPython / src / msw / _misc.py
index 01505bf8b0dd698836b9e8edd4590b10fab2787a..5a74e15036c2e8b16b5e316fb7050e8ac798b966 100644 (file)
@@ -182,8 +182,7 @@ class SystemSettings(object):
         return _misc_.SystemSettings_SetScreenType(*args, **kwargs)
 
     SetScreenType = staticmethod(SetScreenType)
         return _misc_.SystemSettings_SetScreenType(*args, **kwargs)
 
     SetScreenType = staticmethod(SetScreenType)
-SystemSettings_swigregister = _misc_.SystemSettings_swigregister
-SystemSettings_swigregister(SystemSettings)
+_misc_.SystemSettings_swigregister(SystemSettings)
 
 def SystemSettings_GetColour(*args, **kwargs):
   """SystemSettings_GetColour(int index) -> Colour"""
 
 def SystemSettings_GetColour(*args, **kwargs):
   """SystemSettings_GetColour(int index) -> Colour"""
@@ -246,8 +245,7 @@ class SystemOptions(_core.Object):
         return _misc_.SystemOptions_IsFalse(*args, **kwargs)
 
     IsFalse = staticmethod(IsFalse)
         return _misc_.SystemOptions_IsFalse(*args, **kwargs)
 
     IsFalse = staticmethod(IsFalse)
-SystemOptions_swigregister = _misc_.SystemOptions_swigregister
-SystemOptions_swigregister(SystemOptions)
+_misc_.SystemOptions_swigregister(SystemOptions)
 cvar = _misc_.cvar
 WINDOW_DEFAULT_VARIANT = cvar.WINDOW_DEFAULT_VARIANT
 
 cvar = _misc_.cvar
 WINDOW_DEFAULT_VARIANT = cvar.WINDOW_DEFAULT_VARIANT
 
@@ -330,6 +328,41 @@ def Shell(*args, **kwargs):
 def StartTimer(*args):
   """StartTimer()"""
   return _misc_.StartTimer(*args)
 def StartTimer(*args):
   """StartTimer()"""
   return _misc_.StartTimer(*args)
+UNKNOWN_PLATFORM = _misc_.UNKNOWN_PLATFORM
+CURSES = _misc_.CURSES
+XVIEW_X = _misc_.XVIEW_X
+MOTIF_X = _misc_.MOTIF_X
+COSE_X = _misc_.COSE_X
+NEXTSTEP = _misc_.NEXTSTEP
+MAC = _misc_.MAC
+MAC_DARWIN = _misc_.MAC_DARWIN
+BEOS = _misc_.BEOS
+GTK = _misc_.GTK
+GTK_WIN32 = _misc_.GTK_WIN32
+GTK_OS2 = _misc_.GTK_OS2
+GTK_BEOS = _misc_.GTK_BEOS
+GEOS = _misc_.GEOS
+OS2_PM = _misc_.OS2_PM
+WINDOWS = _misc_.WINDOWS
+MICROWINDOWS = _misc_.MICROWINDOWS
+PENWINDOWS = _misc_.PENWINDOWS
+WINDOWS_NT = _misc_.WINDOWS_NT
+WIN32S = _misc_.WIN32S
+WIN95 = _misc_.WIN95
+WIN386 = _misc_.WIN386
+WINDOWS_CE = _misc_.WINDOWS_CE
+WINDOWS_POCKETPC = _misc_.WINDOWS_POCKETPC
+WINDOWS_SMARTPHONE = _misc_.WINDOWS_SMARTPHONE
+MGL_UNIX = _misc_.MGL_UNIX
+MGL_X = _misc_.MGL_X
+MGL_WIN32 = _misc_.MGL_WIN32
+MGL_OS2 = _misc_.MGL_OS2
+MGL_DOS = _misc_.MGL_DOS
+WINDOWS_OS2 = _misc_.WINDOWS_OS2
+UNIX = _misc_.UNIX
+X11 = _misc_.X11
+PALMOS = _misc_.PALMOS
+DOS = _misc_.DOS
 
 def GetOsVersion(*args):
   """GetOsVersion() -> (platform, major, minor)"""
 
 def GetOsVersion(*args):
   """GetOsVersion() -> (platform, major, minor)"""
@@ -434,7 +467,7 @@ def SaveFileSelector(*args, **kwargs):
 def DirSelector(*args, **kwargs):
   """
     DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, 
 def DirSelector(*args, **kwargs):
   """
     DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, 
-        long style=DD_DEFAULT_STYLE, 
+        long style=wxDD_DEFAULT_STYLE, 
         Point pos=DefaultPosition, Window parent=None) -> String
     """
   return _misc_.DirSelector(*args, **kwargs)
         Point pos=DefaultPosition, Window parent=None) -> String
     """
   return _misc_.DirSelector(*args, **kwargs)
@@ -693,8 +726,7 @@ class MouseState(object):
     metaDown = property(MetaDown, SetMetaDown)
     cmdDown = property(CmdDown)
 
     metaDown = property(MetaDown, SetMetaDown)
     cmdDown = property(CmdDown)
 
-MouseState_swigregister = _misc_.MouseState_swigregister
-MouseState_swigregister(MouseState)
+_misc_.MouseState_swigregister(MouseState)
 FileSelectorPromptStr = cvar.FileSelectorPromptStr
 FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr
 DirSelectorPromptStr = cvar.DirSelectorPromptStr
 FileSelectorPromptStr = cvar.FileSelectorPromptStr
 FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr
 DirSelectorPromptStr = cvar.DirSelectorPromptStr
@@ -731,8 +763,7 @@ class MutexGuiLocker(object):
         _misc_.MutexGuiLocker_swiginit(self,_misc_.new_MutexGuiLocker(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_MutexGuiLocker
     __del__ = lambda self : None;
         _misc_.MutexGuiLocker_swiginit(self,_misc_.new_MutexGuiLocker(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_MutexGuiLocker
     __del__ = lambda self : None;
-MutexGuiLocker_swigregister = _misc_.MutexGuiLocker_swigregister
-MutexGuiLocker_swigregister(MutexGuiLocker)
+_misc_.MutexGuiLocker_swigregister(MutexGuiLocker)
 
 
 def Thread_IsMain(*args):
 
 
 def Thread_IsMain(*args):
@@ -771,8 +802,7 @@ class ToolTip(_core.Object):
         return _misc_.ToolTip_SetDelay(*args, **kwargs)
 
     SetDelay = staticmethod(SetDelay)
         return _misc_.ToolTip_SetDelay(*args, **kwargs)
 
     SetDelay = staticmethod(SetDelay)
-ToolTip_swigregister = _misc_.ToolTip_swigregister
-ToolTip_swigregister(ToolTip)
+_misc_.ToolTip_swigregister(ToolTip)
 
 def ToolTip_Enable(*args, **kwargs):
   """ToolTip_Enable(bool flag)"""
 
 def ToolTip_Enable(*args, **kwargs):
   """ToolTip_Enable(bool flag)"""
@@ -864,8 +894,7 @@ class Caret(object):
         return _misc_.Caret_SetBlinkTime(*args, **kwargs)
 
     SetBlinkTime = staticmethod(SetBlinkTime)
         return _misc_.Caret_SetBlinkTime(*args, **kwargs)
 
     SetBlinkTime = staticmethod(SetBlinkTime)
-Caret_swigregister = _misc_.Caret_swigregister
-Caret_swigregister(Caret)
+_misc_.Caret_swigregister(Caret)
 
 def Caret_GetBlinkTime(*args):
   """Caret_GetBlinkTime() -> int"""
 
 def Caret_GetBlinkTime(*args):
   """Caret_GetBlinkTime() -> int"""
@@ -884,8 +913,7 @@ class BusyCursor(object):
         _misc_.BusyCursor_swiginit(self,_misc_.new_BusyCursor(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_BusyCursor
     __del__ = lambda self : None;
         _misc_.BusyCursor_swiginit(self,_misc_.new_BusyCursor(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_BusyCursor
     __del__ = lambda self : None;
-BusyCursor_swigregister = _misc_.BusyCursor_swigregister
-BusyCursor_swigregister(BusyCursor)
+_misc_.BusyCursor_swigregister(BusyCursor)
 
 class WindowDisabler(object):
     """Proxy of C++ WindowDisabler class"""
 
 class WindowDisabler(object):
     """Proxy of C++ WindowDisabler class"""
@@ -896,8 +924,7 @@ class WindowDisabler(object):
         _misc_.WindowDisabler_swiginit(self,_misc_.new_WindowDisabler(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_WindowDisabler
     __del__ = lambda self : None;
         _misc_.WindowDisabler_swiginit(self,_misc_.new_WindowDisabler(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_WindowDisabler
     __del__ = lambda self : None;
-WindowDisabler_swigregister = _misc_.WindowDisabler_swigregister
-WindowDisabler_swigregister(WindowDisabler)
+_misc_.WindowDisabler_swigregister(WindowDisabler)
 
 class BusyInfo(_core.Object):
     """Proxy of C++ BusyInfo class"""
 
 class BusyInfo(_core.Object):
     """Proxy of C++ BusyInfo class"""
@@ -908,8 +935,8 @@ class BusyInfo(_core.Object):
         _misc_.BusyInfo_swiginit(self,_misc_.new_BusyInfo(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_BusyInfo
     __del__ = lambda self : None;
         _misc_.BusyInfo_swiginit(self,_misc_.new_BusyInfo(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_BusyInfo
     __del__ = lambda self : None;
-BusyInfo_swigregister = _misc_.BusyInfo_swigregister
-BusyInfo_swigregister(BusyInfo)
+    def Destroy(self): pass 
+_misc_.BusyInfo_swigregister(BusyInfo)
 
 class StopWatch(object):
     """Proxy of C++ StopWatch class"""
 
 class StopWatch(object):
     """Proxy of C++ StopWatch class"""
@@ -934,8 +961,7 @@ class StopWatch(object):
         """Time(self) -> long"""
         return _misc_.StopWatch_Time(*args, **kwargs)
 
         """Time(self) -> long"""
         return _misc_.StopWatch_Time(*args, **kwargs)
 
-StopWatch_swigregister = _misc_.StopWatch_swigregister
-StopWatch_swigregister(StopWatch)
+_misc_.StopWatch_swigregister(StopWatch)
 
 class FileHistory(_core.Object):
     """Proxy of C++ FileHistory class"""
 
 class FileHistory(_core.Object):
     """Proxy of C++ FileHistory class"""
@@ -991,8 +1017,7 @@ class FileHistory(_core.Object):
         return _misc_.FileHistory_GetCount(*args, **kwargs)
 
     GetNoHistoryFiles = GetCount 
         return _misc_.FileHistory_GetCount(*args, **kwargs)
 
     GetNoHistoryFiles = GetCount 
-FileHistory_swigregister = _misc_.FileHistory_swigregister
-FileHistory_swigregister(FileHistory)
+_misc_.FileHistory_swigregister(FileHistory)
 
 class SingleInstanceChecker(object):
     """Proxy of C++ SingleInstanceChecker class"""
 
 class SingleInstanceChecker(object):
     """Proxy of C++ SingleInstanceChecker class"""
@@ -1011,8 +1036,7 @@ class SingleInstanceChecker(object):
         """IsAnotherRunning(self) -> bool"""
         return _misc_.SingleInstanceChecker_IsAnotherRunning(*args, **kwargs)
 
         """IsAnotherRunning(self) -> bool"""
         return _misc_.SingleInstanceChecker_IsAnotherRunning(*args, **kwargs)
 
-SingleInstanceChecker_swigregister = _misc_.SingleInstanceChecker_swigregister
-SingleInstanceChecker_swigregister(SingleInstanceChecker)
+_misc_.SingleInstanceChecker_swigregister(SingleInstanceChecker)
 
 def PreSingleInstanceChecker(*args, **kwargs):
     """PreSingleInstanceChecker() -> SingleInstanceChecker"""
 
 def PreSingleInstanceChecker(*args, **kwargs):
     """PreSingleInstanceChecker() -> SingleInstanceChecker"""
@@ -1044,8 +1068,7 @@ class TipProvider(object):
         """PreprocessTip(self, String tip) -> String"""
         return _misc_.TipProvider_PreprocessTip(*args, **kwargs)
 
         """PreprocessTip(self, String tip) -> String"""
         return _misc_.TipProvider_PreprocessTip(*args, **kwargs)
 
-TipProvider_swigregister = _misc_.TipProvider_swigregister
-TipProvider_swigregister(TipProvider)
+_misc_.TipProvider_swigregister(TipProvider)
 
 class PyTipProvider(TipProvider):
     """Proxy of C++ PyTipProvider class"""
 
 class PyTipProvider(TipProvider):
     """Proxy of C++ PyTipProvider class"""
@@ -1060,8 +1083,7 @@ class PyTipProvider(TipProvider):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyTipProvider__setCallbackInfo(*args, **kwargs)
 
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyTipProvider__setCallbackInfo(*args, **kwargs)
 
-PyTipProvider_swigregister = _misc_.PyTipProvider_swigregister
-PyTipProvider_swigregister(PyTipProvider)
+_misc_.PyTipProvider_swigregister(PyTipProvider)
 
 
 def ShowTip(*args, **kwargs):
 
 
 def ShowTip(*args, **kwargs):
@@ -1131,8 +1153,7 @@ class Timer(_core.EvtHandler):
         """NO-OP: Timers must be destroyed by normal reference counting"""
         pass
 
         """NO-OP: Timers must be destroyed by normal reference counting"""
         pass
 
-Timer_swigregister = _misc_.Timer_swigregister
-Timer_swigregister(Timer)
+_misc_.Timer_swigregister(Timer)
 
 # For backwards compatibility with 2.4
 class PyTimer(Timer):
 
 # For backwards compatibility with 2.4
 class PyTimer(Timer):
@@ -1159,8 +1180,7 @@ class TimerEvent(_core.Event):
         """GetInterval(self) -> int"""
         return _misc_.TimerEvent_GetInterval(*args, **kwargs)
 
         """GetInterval(self) -> int"""
         return _misc_.TimerEvent_GetInterval(*args, **kwargs)
 
-TimerEvent_swigregister = _misc_.TimerEvent_swigregister
-TimerEvent_swigregister(TimerEvent)
+_misc_.TimerEvent_swigregister(TimerEvent)
 
 class TimerRunner(object):
     """Proxy of C++ TimerRunner class"""
 
 class TimerRunner(object):
     """Proxy of C++ TimerRunner class"""
@@ -1178,8 +1198,7 @@ class TimerRunner(object):
         """Start(self, int milli, bool oneShot=False)"""
         return _misc_.TimerRunner_Start(*args, **kwargs)
 
         """Start(self, int milli, bool oneShot=False)"""
         return _misc_.TimerRunner_Start(*args, **kwargs)
 
-TimerRunner_swigregister = _misc_.TimerRunner_swigregister
-TimerRunner_swigregister(TimerRunner)
+_misc_.TimerRunner_swigregister(TimerRunner)
 
 #---------------------------------------------------------------------------
 
 
 #---------------------------------------------------------------------------
 
@@ -1224,7 +1243,7 @@ class Log(object):
 
     EnableLogging = staticmethod(EnableLogging)
     def OnLog(*args, **kwargs):
 
     EnableLogging = staticmethod(EnableLogging)
     def OnLog(*args, **kwargs):
-        """OnLog(wxLogLevel level, wxChar szString, time_t t)"""
+        """OnLog(LogLevel level, wxChar szString, time_t t)"""
         return _misc_.Log_OnLog(*args, **kwargs)
 
     OnLog = staticmethod(OnLog)
         return _misc_.Log_OnLog(*args, **kwargs)
 
     OnLog = staticmethod(OnLog)
@@ -1263,7 +1282,7 @@ class Log(object):
 
     SetVerbose = staticmethod(SetVerbose)
     def SetLogLevel(*args, **kwargs):
 
     SetVerbose = staticmethod(SetVerbose)
     def SetLogLevel(*args, **kwargs):
-        """SetLogLevel(wxLogLevel logLevel)"""
+        """SetLogLevel(LogLevel logLevel)"""
         return _misc_.Log_SetLogLevel(*args, **kwargs)
 
     SetLogLevel = staticmethod(SetLogLevel)
         return _misc_.Log_SetLogLevel(*args, **kwargs)
 
     SetLogLevel = staticmethod(SetLogLevel)
@@ -1273,7 +1292,7 @@ class Log(object):
 
     DontCreateOnDemand = staticmethod(DontCreateOnDemand)
     def SetTraceMask(*args, **kwargs):
 
     DontCreateOnDemand = staticmethod(DontCreateOnDemand)
     def SetTraceMask(*args, **kwargs):
-        """SetTraceMask(wxTraceMask ulMask)"""
+        """SetTraceMask(TraceMask ulMask)"""
         return _misc_.Log_SetTraceMask(*args, **kwargs)
 
     SetTraceMask = staticmethod(SetTraceMask)
         return _misc_.Log_SetTraceMask(*args, **kwargs)
 
     SetTraceMask = staticmethod(SetTraceMask)
@@ -1308,7 +1327,7 @@ class Log(object):
 
     GetVerbose = staticmethod(GetVerbose)
     def GetTraceMask(*args, **kwargs):
 
     GetVerbose = staticmethod(GetVerbose)
     def GetTraceMask(*args, **kwargs):
-        """GetTraceMask() -> wxTraceMask"""
+        """GetTraceMask() -> TraceMask"""
         return _misc_.Log_GetTraceMask(*args, **kwargs)
 
     GetTraceMask = staticmethod(GetTraceMask)
         return _misc_.Log_GetTraceMask(*args, **kwargs)
 
     GetTraceMask = staticmethod(GetTraceMask)
@@ -1318,7 +1337,7 @@ class Log(object):
 
     IsAllowedTraceMask = staticmethod(IsAllowedTraceMask)
     def GetLogLevel(*args, **kwargs):
 
     IsAllowedTraceMask = staticmethod(IsAllowedTraceMask)
     def GetLogLevel(*args, **kwargs):
-        """GetLogLevel() -> wxLogLevel"""
+        """GetLogLevel() -> LogLevel"""
         return _misc_.Log_GetLogLevel(*args, **kwargs)
 
     GetLogLevel = staticmethod(GetLogLevel)
         return _misc_.Log_GetLogLevel(*args, **kwargs)
 
     GetLogLevel = staticmethod(GetLogLevel)
@@ -1338,8 +1357,7 @@ class Log(object):
         args[0].thisown = 0
         return val
 
         args[0].thisown = 0
         return val
 
-Log_swigregister = _misc_.Log_swigregister
-Log_swigregister(Log)
+_misc_.Log_swigregister(Log)
 
 def Log_IsEnabled(*args):
   """Log_IsEnabled() -> bool"""
 
 def Log_IsEnabled(*args):
   """Log_IsEnabled() -> bool"""
@@ -1350,7 +1368,7 @@ def Log_EnableLogging(*args, **kwargs):
   return _misc_.Log_EnableLogging(*args, **kwargs)
 
 def Log_OnLog(*args, **kwargs):
   return _misc_.Log_EnableLogging(*args, **kwargs)
 
 def Log_OnLog(*args, **kwargs):
-  """Log_OnLog(wxLogLevel level, wxChar szString, time_t t)"""
+  """Log_OnLog(LogLevel level, wxChar szString, time_t t)"""
   return _misc_.Log_OnLog(*args, **kwargs)
 
 def Log_FlushActive(*args):
   return _misc_.Log_OnLog(*args, **kwargs)
 
 def Log_FlushActive(*args):
@@ -1378,7 +1396,7 @@ def Log_SetVerbose(*args, **kwargs):
   return _misc_.Log_SetVerbose(*args, **kwargs)
 
 def Log_SetLogLevel(*args, **kwargs):
   return _misc_.Log_SetVerbose(*args, **kwargs)
 
 def Log_SetLogLevel(*args, **kwargs):
-  """Log_SetLogLevel(wxLogLevel logLevel)"""
+  """Log_SetLogLevel(LogLevel logLevel)"""
   return _misc_.Log_SetLogLevel(*args, **kwargs)
 
 def Log_DontCreateOnDemand(*args):
   return _misc_.Log_SetLogLevel(*args, **kwargs)
 
 def Log_DontCreateOnDemand(*args):
@@ -1386,7 +1404,7 @@ def Log_DontCreateOnDemand(*args):
   return _misc_.Log_DontCreateOnDemand(*args)
 
 def Log_SetTraceMask(*args, **kwargs):
   return _misc_.Log_DontCreateOnDemand(*args)
 
 def Log_SetTraceMask(*args, **kwargs):
-  """Log_SetTraceMask(wxTraceMask ulMask)"""
+  """Log_SetTraceMask(TraceMask ulMask)"""
   return _misc_.Log_SetTraceMask(*args, **kwargs)
 
 def Log_AddTraceMask(*args, **kwargs):
   return _misc_.Log_SetTraceMask(*args, **kwargs)
 
 def Log_AddTraceMask(*args, **kwargs):
@@ -1414,7 +1432,7 @@ def Log_GetVerbose(*args):
   return _misc_.Log_GetVerbose(*args)
 
 def Log_GetTraceMask(*args):
   return _misc_.Log_GetVerbose(*args)
 
 def Log_GetTraceMask(*args):
-  """Log_GetTraceMask() -> wxTraceMask"""
+  """Log_GetTraceMask() -> TraceMask"""
   return _misc_.Log_GetTraceMask(*args)
 
 def Log_IsAllowedTraceMask(*args, **kwargs):
   return _misc_.Log_GetTraceMask(*args)
 
 def Log_IsAllowedTraceMask(*args, **kwargs):
@@ -1422,7 +1440,7 @@ def Log_IsAllowedTraceMask(*args, **kwargs):
   return _misc_.Log_IsAllowedTraceMask(*args, **kwargs)
 
 def Log_GetLogLevel(*args):
   return _misc_.Log_IsAllowedTraceMask(*args, **kwargs)
 
 def Log_GetLogLevel(*args):
-  """Log_GetLogLevel() -> wxLogLevel"""
+  """Log_GetLogLevel() -> LogLevel"""
   return _misc_.Log_GetLogLevel(*args)
 
 def Log_GetTimestamp(*args):
   return _misc_.Log_GetLogLevel(*args)
 
 def Log_GetTimestamp(*args):
@@ -1440,8 +1458,7 @@ class LogStderr(Log):
     def __init__(self, *args, **kwargs): 
         """__init__(self) -> LogStderr"""
         _misc_.LogStderr_swiginit(self,_misc_.new_LogStderr(*args, **kwargs))
     def __init__(self, *args, **kwargs): 
         """__init__(self) -> LogStderr"""
         _misc_.LogStderr_swiginit(self,_misc_.new_LogStderr(*args, **kwargs))
-LogStderr_swigregister = _misc_.LogStderr_swigregister
-LogStderr_swigregister(LogStderr)
+_misc_.LogStderr_swigregister(LogStderr)
 
 class LogTextCtrl(Log):
     """Proxy of C++ LogTextCtrl class"""
 
 class LogTextCtrl(Log):
     """Proxy of C++ LogTextCtrl class"""
@@ -1450,8 +1467,7 @@ class LogTextCtrl(Log):
     def __init__(self, *args, **kwargs): 
         """__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl"""
         _misc_.LogTextCtrl_swiginit(self,_misc_.new_LogTextCtrl(*args, **kwargs))
     def __init__(self, *args, **kwargs): 
         """__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl"""
         _misc_.LogTextCtrl_swiginit(self,_misc_.new_LogTextCtrl(*args, **kwargs))
-LogTextCtrl_swigregister = _misc_.LogTextCtrl_swigregister
-LogTextCtrl_swigregister(LogTextCtrl)
+_misc_.LogTextCtrl_swigregister(LogTextCtrl)
 
 class LogGui(Log):
     """Proxy of C++ LogGui class"""
 
 class LogGui(Log):
     """Proxy of C++ LogGui class"""
@@ -1460,8 +1476,7 @@ class LogGui(Log):
     def __init__(self, *args, **kwargs): 
         """__init__(self) -> LogGui"""
         _misc_.LogGui_swiginit(self,_misc_.new_LogGui(*args, **kwargs))
     def __init__(self, *args, **kwargs): 
         """__init__(self) -> LogGui"""
         _misc_.LogGui_swiginit(self,_misc_.new_LogGui(*args, **kwargs))
-LogGui_swigregister = _misc_.LogGui_swigregister
-LogGui_swigregister(LogGui)
+_misc_.LogGui_swigregister(LogGui)
 
 class LogWindow(Log):
     """Proxy of C++ LogWindow class"""
 
 class LogWindow(Log):
     """Proxy of C++ LogWindow class"""
@@ -1490,8 +1505,7 @@ class LogWindow(Log):
         """PassMessages(self, bool bDoPass)"""
         return _misc_.LogWindow_PassMessages(*args, **kwargs)
 
         """PassMessages(self, bool bDoPass)"""
         return _misc_.LogWindow_PassMessages(*args, **kwargs)
 
-LogWindow_swigregister = _misc_.LogWindow_swigregister
-LogWindow_swigregister(LogWindow)
+_misc_.LogWindow_swigregister(LogWindow)
 
 class LogChain(Log):
     """Proxy of C++ LogChain class"""
 
 class LogChain(Log):
     """Proxy of C++ LogChain class"""
@@ -1516,8 +1530,7 @@ class LogChain(Log):
         """GetOldLog(self) -> Log"""
         return _misc_.LogChain_GetOldLog(*args, **kwargs)
 
         """GetOldLog(self) -> Log"""
         return _misc_.LogChain_GetOldLog(*args, **kwargs)
 
-LogChain_swigregister = _misc_.LogChain_swigregister
-LogChain_swigregister(LogChain)
+_misc_.LogChain_swigregister(LogChain)
 
 class LogBuffer(Log):
     """Proxy of C++ LogBuffer class"""
 
 class LogBuffer(Log):
     """Proxy of C++ LogBuffer class"""
@@ -1530,8 +1543,7 @@ class LogBuffer(Log):
         """GetBuffer(self) -> String"""
         return _misc_.LogBuffer_GetBuffer(*args, **kwargs)
 
         """GetBuffer(self) -> String"""
         return _misc_.LogBuffer_GetBuffer(*args, **kwargs)
 
-LogBuffer_swigregister = _misc_.LogBuffer_swigregister
-LogBuffer_swigregister(LogBuffer)
+_misc_.LogBuffer_swigregister(LogBuffer)
 
 
 def SysErrorCode(*args):
 
 
 def SysErrorCode(*args):
@@ -1598,8 +1610,7 @@ class LogNull(object):
         _misc_.LogNull_swiginit(self,_misc_.new_LogNull(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_LogNull
     __del__ = lambda self : None;
         _misc_.LogNull_swiginit(self,_misc_.new_LogNull(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_LogNull
     __del__ = lambda self : None;
-LogNull_swigregister = _misc_.LogNull_swigregister
-LogNull_swigregister(LogNull)
+_misc_.LogNull_swigregister(LogNull)
 
 def LogTrace(*args):
   """
 
 def LogTrace(*args):
   """
@@ -1621,8 +1632,7 @@ class PyLog(Log):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyLog__setCallbackInfo(*args, **kwargs)
 
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyLog__setCallbackInfo(*args, **kwargs)
 
-PyLog_swigregister = _misc_.PyLog_swigregister
-PyLog_swigregister(PyLog)
+_misc_.PyLog_swigregister(PyLog)
 
 #---------------------------------------------------------------------------
 
 
 #---------------------------------------------------------------------------
 
@@ -1729,8 +1739,7 @@ class Process(_core.EvtHandler):
         """IsErrorAvailable(self) -> bool"""
         return _misc_.Process_IsErrorAvailable(*args, **kwargs)
 
         """IsErrorAvailable(self) -> bool"""
         return _misc_.Process_IsErrorAvailable(*args, **kwargs)
 
-Process_swigregister = _misc_.Process_swigregister
-Process_swigregister(Process)
+_misc_.Process_swigregister(Process)
 
 def Process_Kill(*args, **kwargs):
   """Process_Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int"""
 
 def Process_Kill(*args, **kwargs):
   """Process_Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int"""
@@ -1761,8 +1770,7 @@ class ProcessEvent(_core.Event):
 
     m_pid = property(_misc_.ProcessEvent_m_pid_get, _misc_.ProcessEvent_m_pid_set)
     m_exitcode = property(_misc_.ProcessEvent_m_exitcode_get, _misc_.ProcessEvent_m_exitcode_set)
 
     m_pid = property(_misc_.ProcessEvent_m_pid_get, _misc_.ProcessEvent_m_pid_set)
     m_exitcode = property(_misc_.ProcessEvent_m_exitcode_get, _misc_.ProcessEvent_m_exitcode_set)
-ProcessEvent_swigregister = _misc_.ProcessEvent_swigregister
-ProcessEvent_swigregister(ProcessEvent)
+_misc_.ProcessEvent_swigregister(ProcessEvent)
 
 wxEVT_END_PROCESS = _misc_.wxEVT_END_PROCESS
 EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )
 
 wxEVT_END_PROCESS = _misc_.wxEVT_END_PROCESS
 EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )
@@ -1967,8 +1975,7 @@ class Joystick(object):
         return _misc_.Joystick_ReleaseCapture(*args, **kwargs)
 
     def __nonzero__(self): return self.IsOk() 
         return _misc_.Joystick_ReleaseCapture(*args, **kwargs)
 
     def __nonzero__(self): return self.IsOk() 
-Joystick_swigregister = _misc_.Joystick_swigregister
-Joystick_swigregister(Joystick)
+_misc_.Joystick_swigregister(Joystick)
 
 wxEVT_JOY_BUTTON_DOWN = _misc_.wxEVT_JOY_BUTTON_DOWN
 wxEVT_JOY_BUTTON_UP = _misc_.wxEVT_JOY_BUTTON_UP
 
 wxEVT_JOY_BUTTON_DOWN = _misc_.wxEVT_JOY_BUTTON_DOWN
 wxEVT_JOY_BUTTON_UP = _misc_.wxEVT_JOY_BUTTON_UP
@@ -1980,7 +1987,7 @@ class JoystickEvent(_core.Event):
     __repr__ = _swig_repr
     def __init__(self, *args, **kwargs): 
         """
     __repr__ = _swig_repr
     def __init__(self, *args, **kwargs): 
         """
-        __init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, 
+        __init__(self, EventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, 
             int change=0) -> JoystickEvent
         """
         _misc_.JoystickEvent_swiginit(self,_misc_.new_JoystickEvent(*args, **kwargs))
             int change=0) -> JoystickEvent
         """
         _misc_.JoystickEvent_swiginit(self,_misc_.new_JoystickEvent(*args, **kwargs))
@@ -2054,8 +2061,7 @@ class JoystickEvent(_core.Event):
     m_buttonState = property(GetButtonState, SetButtonState)
     m_joyStick = property(GetJoystick, SetJoystick)
 
     m_buttonState = property(GetButtonState, SetButtonState)
     m_joyStick = property(GetJoystick, SetJoystick)
 
-JoystickEvent_swigregister = _misc_.JoystickEvent_swigregister
-JoystickEvent_swigregister(JoystickEvent)
+_misc_.JoystickEvent_swigregister(JoystickEvent)
 
 EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN )
 EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP )
 
 EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN )
 EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP )
@@ -2110,8 +2116,7 @@ class Sound(object):
 
     Stop = staticmethod(Stop)
     def __nonzero__(self): return self.IsOk() 
 
     Stop = staticmethod(Stop)
     def __nonzero__(self): return self.IsOk() 
-Sound_swigregister = _misc_.Sound_swigregister
-Sound_swigregister(Sound)
+_misc_.Sound_swigregister(Sound)
 
 def SoundFromData(*args, **kwargs):
     """SoundFromData(PyObject data) -> Sound"""
 
 def SoundFromData(*args, **kwargs):
     """SoundFromData(PyObject data) -> Sound"""
@@ -2188,8 +2193,7 @@ class FileTypeInfo(object):
         """GetIconIndex(self) -> int"""
         return _misc_.FileTypeInfo_GetIconIndex(*args, **kwargs)
 
         """GetIconIndex(self) -> int"""
         return _misc_.FileTypeInfo_GetIconIndex(*args, **kwargs)
 
-FileTypeInfo_swigregister = _misc_.FileTypeInfo_swigregister
-FileTypeInfo_swigregister(FileTypeInfo)
+_misc_.FileTypeInfo_swigregister(FileTypeInfo)
 
 def FileTypeInfoSequence(*args, **kwargs):
     """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo"""
 
 def FileTypeInfoSequence(*args, **kwargs):
     """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo"""
@@ -2263,8 +2267,7 @@ class FileType(object):
         return _misc_.FileType_ExpandCommand(*args, **kwargs)
 
     ExpandCommand = staticmethod(ExpandCommand)
         return _misc_.FileType_ExpandCommand(*args, **kwargs)
 
     ExpandCommand = staticmethod(ExpandCommand)
-FileType_swigregister = _misc_.FileType_swigregister
-FileType_swigregister(FileType)
+_misc_.FileType_swigregister(FileType)
 
 def FileType_ExpandCommand(*args, **kwargs):
   """FileType_ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String"""
 
 def FileType_ExpandCommand(*args, **kwargs):
   """FileType_ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String"""
@@ -2324,8 +2327,7 @@ class MimeTypesManager(object):
 
     __swig_destroy__ = _misc_.delete_MimeTypesManager
     __del__ = lambda self : None;
 
     __swig_destroy__ = _misc_.delete_MimeTypesManager
     __del__ = lambda self : None;
-MimeTypesManager_swigregister = _misc_.MimeTypesManager_swigregister
-MimeTypesManager_swigregister(MimeTypesManager)
+_misc_.MimeTypesManager_swigregister(MimeTypesManager)
 TheMimeTypesManager = cvar.TheMimeTypesManager
 
 def MimeTypesManager_IsOfType(*args, **kwargs):
 TheMimeTypesManager = cvar.TheMimeTypesManager
 
 def MimeTypesManager_IsOfType(*args, **kwargs):
@@ -2453,8 +2455,7 @@ class ArtProvider(object):
         args[0].thisown = 0
         return val
 
         args[0].thisown = 0
         return val
 
-ArtProvider_swigregister = _misc_.ArtProvider_swigregister
-ArtProvider_swigregister(ArtProvider)
+_misc_.ArtProvider_swigregister(ArtProvider)
 ART_TOOLBAR = cvar.ART_TOOLBAR
 ART_MENU = cvar.ART_MENU
 ART_FRAME_ICON = cvar.ART_FRAME_ICON
 ART_TOOLBAR = cvar.ART_TOOLBAR
 ART_MENU = cvar.ART_MENU
 ART_FRAME_ICON = cvar.ART_FRAME_ICON
@@ -2937,8 +2938,7 @@ class ConfigBase(object):
         """GetStyle(self) -> long"""
         return _misc_.ConfigBase_GetStyle(*args, **kwargs)
 
         """GetStyle(self) -> long"""
         return _misc_.ConfigBase_GetStyle(*args, **kwargs)
 
-ConfigBase_swigregister = _misc_.ConfigBase_swigregister
-ConfigBase_swigregister(ConfigBase)
+_misc_.ConfigBase_swigregister(ConfigBase)
 
 def ConfigBase_Set(*args, **kwargs):
   """
 
 def ConfigBase_Set(*args, **kwargs):
   """
@@ -2992,8 +2992,7 @@ class Config(ConfigBase):
         _misc_.Config_swiginit(self,_misc_.new_Config(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_Config
     __del__ = lambda self : None;
         _misc_.Config_swiginit(self,_misc_.new_Config(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_Config
     __del__ = lambda self : None;
-Config_swigregister = _misc_.Config_swigregister
-Config_swigregister(Config)
+_misc_.Config_swigregister(Config)
 
 class FileConfig(ConfigBase):
     """This config class will use a file for storage on all platforms."""
 
 class FileConfig(ConfigBase):
     """This config class will use a file for storage on all platforms."""
@@ -3008,8 +3007,7 @@ class FileConfig(ConfigBase):
         _misc_.FileConfig_swiginit(self,_misc_.new_FileConfig(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_FileConfig
     __del__ = lambda self : None;
         _misc_.FileConfig_swiginit(self,_misc_.new_FileConfig(*args, **kwargs))
     __swig_destroy__ = _misc_.delete_FileConfig
     __del__ = lambda self : None;
-FileConfig_swigregister = _misc_.FileConfig_swigregister
-FileConfig_swigregister(FileConfig)
+_misc_.FileConfig_swigregister(FileConfig)
 
 class ConfigPathChanger(object):
     """
 
 class ConfigPathChanger(object):
     """
@@ -3033,8 +3031,7 @@ class ConfigPathChanger(object):
         """
         return _misc_.ConfigPathChanger_Name(*args, **kwargs)
 
         """
         return _misc_.ConfigPathChanger_Name(*args, **kwargs)
 
-ConfigPathChanger_swigregister = _misc_.ConfigPathChanger_swigregister
-ConfigPathChanger_swigregister(ConfigPathChanger)
+_misc_.ConfigPathChanger_swigregister(ConfigPathChanger)
 
 
 def ExpandEnvVars(*args, **kwargs):
 
 
 def ExpandEnvVars(*args, **kwargs):
@@ -3714,8 +3711,7 @@ class DateTime(object):
         else:
             return "INVALID DateTime"
 
         else:
             return "INVALID DateTime"
 
-DateTime_swigregister = _misc_.DateTime_swigregister
-DateTime_swigregister(DateTime)
+_misc_.DateTime_swigregister(DateTime)
 DefaultDateTimeFormat = cvar.DefaultDateTimeFormat
 DefaultTimeSpanFormat = cvar.DefaultTimeSpanFormat
 
 DefaultDateTimeFormat = cvar.DefaultDateTimeFormat
 DefaultTimeSpanFormat = cvar.DefaultTimeSpanFormat
 
@@ -4034,8 +4030,7 @@ class TimeSpan(object):
     def __str__(self):
         return self.Format().encode(wx.GetDefaultPyEncoding())
 
     def __str__(self):
         return self.Format().encode(wx.GetDefaultPyEncoding())
 
-TimeSpan_swigregister = _misc_.TimeSpan_swigregister
-TimeSpan_swigregister(TimeSpan)
+_misc_.TimeSpan_swigregister(TimeSpan)
 
 def TimeSpan_Milliseconds(*args, **kwargs):
   """TimeSpan_Milliseconds(long ms) -> TimeSpan"""
 
 def TimeSpan_Milliseconds(*args, **kwargs):
   """TimeSpan_Milliseconds(long ms) -> TimeSpan"""
@@ -4226,8 +4221,7 @@ class DateSpan(object):
         """__ne__(self, DateSpan other) -> bool"""
         return _misc_.DateSpan___ne__(*args, **kwargs)
 
         """__ne__(self, DateSpan other) -> bool"""
         return _misc_.DateSpan___ne__(*args, **kwargs)
 
-DateSpan_swigregister = _misc_.DateSpan_swigregister
-DateSpan_swigregister(DateSpan)
+_misc_.DateSpan_swigregister(DateSpan)
 
 def DateSpan_Days(*args, **kwargs):
   """DateSpan_Days(int days) -> DateSpan"""
 
 def DateSpan_Days(*args, **kwargs):
   """DateSpan_Days(int days) -> DateSpan"""
@@ -4368,8 +4362,7 @@ class DataFormat(object):
         """
         return _misc_.DataFormat_SetId(*args, **kwargs)
 
         """
         return _misc_.DataFormat_SetId(*args, **kwargs)
 
-DataFormat_swigregister = _misc_.DataFormat_swigregister
-DataFormat_swigregister(DataFormat)
+_misc_.DataFormat_swigregister(DataFormat)
 DefaultDateTime = cvar.DefaultDateTime
 
 def CustomDataFormat(*args, **kwargs):
 DefaultDateTime = cvar.DefaultDateTime
 
 def CustomDataFormat(*args, **kwargs):
@@ -4466,8 +4459,7 @@ class DataObject(object):
         """
         return _misc_.DataObject_SetData(*args, **kwargs)
 
         """
         return _misc_.DataObject_SetData(*args, **kwargs)
 
-DataObject_swigregister = _misc_.DataObject_swigregister
-DataObject_swigregister(DataObject)
+_misc_.DataObject_swigregister(DataObject)
 FormatInvalid = cvar.FormatInvalid
 
 class DataObjectSimple(DataObject):
 FormatInvalid = cvar.FormatInvalid
 
 class DataObjectSimple(DataObject):
@@ -4535,8 +4527,7 @@ class DataObjectSimple(DataObject):
         """
         return _misc_.DataObjectSimple_SetData(*args, **kwargs)
 
         """
         return _misc_.DataObjectSimple_SetData(*args, **kwargs)
 
-DataObjectSimple_swigregister = _misc_.DataObjectSimple_swigregister
-DataObjectSimple_swigregister(DataObjectSimple)
+_misc_.DataObjectSimple_swigregister(DataObjectSimple)
 
 class PyDataObjectSimple(DataObjectSimple):
     """
 
 class PyDataObjectSimple(DataObjectSimple):
     """
@@ -4567,8 +4558,7 @@ class PyDataObjectSimple(DataObjectSimple):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyDataObjectSimple__setCallbackInfo(*args, **kwargs)
 
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyDataObjectSimple__setCallbackInfo(*args, **kwargs)
 
-PyDataObjectSimple_swigregister = _misc_.PyDataObjectSimple_swigregister
-PyDataObjectSimple_swigregister(PyDataObjectSimple)
+_misc_.PyDataObjectSimple_swigregister(PyDataObjectSimple)
 
 class DataObjectComposite(DataObject):
     """
 
 class DataObjectComposite(DataObject):
     """
@@ -4625,8 +4615,7 @@ class DataObjectComposite(DataObject):
         """
         return _misc_.DataObjectComposite_GetReceivedFormat(*args, **kwargs)
 
         """
         return _misc_.DataObjectComposite_GetReceivedFormat(*args, **kwargs)
 
-DataObjectComposite_swigregister = _misc_.DataObjectComposite_swigregister
-DataObjectComposite_swigregister(DataObjectComposite)
+_misc_.DataObjectComposite_swigregister(DataObjectComposite)
 
 class TextDataObject(DataObjectSimple):
     """
 
 class TextDataObject(DataObjectSimple):
     """
@@ -4684,8 +4673,7 @@ class TextDataObject(DataObjectSimple):
         """
         return _misc_.TextDataObject_SetText(*args, **kwargs)
 
         """
         return _misc_.TextDataObject_SetText(*args, **kwargs)
 
-TextDataObject_swigregister = _misc_.TextDataObject_swigregister
-TextDataObject_swigregister(TextDataObject)
+_misc_.TextDataObject_swigregister(TextDataObject)
 
 class PyTextDataObject(TextDataObject):
     """
 
 class PyTextDataObject(TextDataObject):
     """
@@ -4716,8 +4704,7 @@ class PyTextDataObject(TextDataObject):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyTextDataObject__setCallbackInfo(*args, **kwargs)
 
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyTextDataObject__setCallbackInfo(*args, **kwargs)
 
-PyTextDataObject_swigregister = _misc_.PyTextDataObject_swigregister
-PyTextDataObject_swigregister(PyTextDataObject)
+_misc_.PyTextDataObject_swigregister(PyTextDataObject)
 
 class BitmapDataObject(DataObjectSimple):
     """
 
 class BitmapDataObject(DataObjectSimple):
     """
@@ -4758,8 +4745,7 @@ class BitmapDataObject(DataObjectSimple):
         """
         return _misc_.BitmapDataObject_SetBitmap(*args, **kwargs)
 
         """
         return _misc_.BitmapDataObject_SetBitmap(*args, **kwargs)
 
-BitmapDataObject_swigregister = _misc_.BitmapDataObject_swigregister
-BitmapDataObject_swigregister(BitmapDataObject)
+_misc_.BitmapDataObject_swigregister(BitmapDataObject)
 
 class PyBitmapDataObject(BitmapDataObject):
     """
 
 class PyBitmapDataObject(BitmapDataObject):
     """
@@ -4786,8 +4772,7 @@ class PyBitmapDataObject(BitmapDataObject):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyBitmapDataObject__setCallbackInfo(*args, **kwargs)
 
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyBitmapDataObject__setCallbackInfo(*args, **kwargs)
 
-PyBitmapDataObject_swigregister = _misc_.PyBitmapDataObject_swigregister
-PyBitmapDataObject_swigregister(PyBitmapDataObject)
+_misc_.PyBitmapDataObject_swigregister(PyBitmapDataObject)
 
 class FileDataObject(DataObjectSimple):
     """
 
 class FileDataObject(DataObjectSimple):
     """
@@ -4819,8 +4804,7 @@ class FileDataObject(DataObjectSimple):
         """
         return _misc_.FileDataObject_AddFile(*args, **kwargs)
 
         """
         return _misc_.FileDataObject_AddFile(*args, **kwargs)
 
-FileDataObject_swigregister = _misc_.FileDataObject_swigregister
-FileDataObject_swigregister(FileDataObject)
+_misc_.FileDataObject_swigregister(FileDataObject)
 
 class CustomDataObject(DataObjectSimple):
     """
 
 class CustomDataObject(DataObjectSimple):
     """
@@ -4870,8 +4854,7 @@ class CustomDataObject(DataObjectSimple):
         """
         return _misc_.CustomDataObject_GetData(*args, **kwargs)
 
         """
         return _misc_.CustomDataObject_GetData(*args, **kwargs)
 
-CustomDataObject_swigregister = _misc_.CustomDataObject_swigregister
-CustomDataObject_swigregister(CustomDataObject)
+_misc_.CustomDataObject_swigregister(CustomDataObject)
 
 class URLDataObject(DataObject):
     """
 
 class URLDataObject(DataObject):
     """
@@ -4904,8 +4887,7 @@ class URLDataObject(DataObject):
         """
         return _misc_.URLDataObject_SetURL(*args, **kwargs)
 
         """
         return _misc_.URLDataObject_SetURL(*args, **kwargs)
 
-URLDataObject_swigregister = _misc_.URLDataObject_swigregister
-URLDataObject_swigregister(URLDataObject)
+_misc_.URLDataObject_swigregister(URLDataObject)
 
 class MetafileDataObject(DataObjectSimple):
     """Proxy of C++ MetafileDataObject class"""
 
 class MetafileDataObject(DataObjectSimple):
     """Proxy of C++ MetafileDataObject class"""
@@ -4922,8 +4904,7 @@ class MetafileDataObject(DataObjectSimple):
         """GetMetafile(self) -> wxMetafile"""
         return _misc_.MetafileDataObject_GetMetafile(*args, **kwargs)
 
         """GetMetafile(self) -> wxMetafile"""
         return _misc_.MetafileDataObject_GetMetafile(*args, **kwargs)
 
-MetafileDataObject_swigregister = _misc_.MetafileDataObject_swigregister
-MetafileDataObject_swigregister(MetafileDataObject)
+_misc_.MetafileDataObject_swigregister(MetafileDataObject)
 
 #---------------------------------------------------------------------------
 
 
 #---------------------------------------------------------------------------
 
@@ -4983,8 +4964,7 @@ class DropSource(object):
     base_GiveFeedback = wx._deprecated(base_GiveFeedback,
                                    "Please use DropSource.GiveFeedback instead.")
 
     base_GiveFeedback = wx._deprecated(base_GiveFeedback,
                                    "Please use DropSource.GiveFeedback instead.")
 
-DropSource_swigregister = _misc_.DropSource_swigregister
-DropSource_swigregister(DropSource)
+_misc_.DropSource_swigregister(DropSource)
 
 def DROP_ICON(filename):
     """
 
 def DROP_ICON(filename):
     """
@@ -5069,8 +5049,7 @@ class DropTarget(object):
         """GetDefaultAction(self) -> int"""
         return _misc_.DropTarget_GetDefaultAction(*args, **kwargs)
 
         """GetDefaultAction(self) -> int"""
         return _misc_.DropTarget_GetDefaultAction(*args, **kwargs)
 
-DropTarget_swigregister = _misc_.DropTarget_swigregister
-DropTarget_swigregister(DropTarget)
+_misc_.DropTarget_swigregister(DropTarget)
 
 PyDropTarget = DropTarget 
 class TextDropTarget(DropTarget):
 
 PyDropTarget = DropTarget 
 class TextDropTarget(DropTarget):
@@ -5140,8 +5119,7 @@ class TextDropTarget(DropTarget):
     base_OnData = wx._deprecated(base_OnData,
                                    "Please use TextDropTarget.OnData instead.")
 
     base_OnData = wx._deprecated(base_OnData,
                                    "Please use TextDropTarget.OnData instead.")
 
-TextDropTarget_swigregister = _misc_.TextDropTarget_swigregister
-TextDropTarget_swigregister(TextDropTarget)
+_misc_.TextDropTarget_swigregister(TextDropTarget)
 
 class FileDropTarget(DropTarget):
     """Proxy of C++ FileDropTarget class"""
 
 class FileDropTarget(DropTarget):
     """Proxy of C++ FileDropTarget class"""
@@ -5210,8 +5188,7 @@ class FileDropTarget(DropTarget):
     base_OnData = wx._deprecated(base_OnData,
                                    "Please use FileDropTarget.OnData instead.")
 
     base_OnData = wx._deprecated(base_OnData,
                                    "Please use FileDropTarget.OnData instead.")
 
-FileDropTarget_swigregister = _misc_.FileDropTarget_swigregister
-FileDropTarget_swigregister(FileDropTarget)
+_misc_.FileDropTarget_swigregister(FileDropTarget)
 
 #---------------------------------------------------------------------------
 
 
 #---------------------------------------------------------------------------
 
@@ -5347,8 +5324,7 @@ class Clipboard(_core.Object):
         return _misc_.Clipboard_Get(*args, **kwargs)
 
     Get = staticmethod(Get)
         return _misc_.Clipboard_Get(*args, **kwargs)
 
     Get = staticmethod(Get)
-Clipboard_swigregister = _misc_.Clipboard_swigregister
-Clipboard_swigregister(Clipboard)
+_misc_.Clipboard_swigregister(Clipboard)
 
 def Clipboard_Get(*args):
   """
 
 def Clipboard_Get(*args):
   """
@@ -5402,8 +5378,7 @@ class ClipboardLocker(object):
         """
         return _misc_.ClipboardLocker___nonzero__(*args, **kwargs)
 
         """
         return _misc_.ClipboardLocker___nonzero__(*args, **kwargs)
 
-ClipboardLocker_swigregister = _misc_.ClipboardLocker_swigregister
-ClipboardLocker_swigregister(ClipboardLocker)
+_misc_.ClipboardLocker_swigregister(ClipboardLocker)
 
 #---------------------------------------------------------------------------
 
 
 #---------------------------------------------------------------------------
 
@@ -5476,8 +5451,7 @@ class VideoMode(object):
     h = property(_misc_.VideoMode_h_get, _misc_.VideoMode_h_set)
     bpp = property(_misc_.VideoMode_bpp_get, _misc_.VideoMode_bpp_set)
     refresh = property(_misc_.VideoMode_refresh_get, _misc_.VideoMode_refresh_set)
     h = property(_misc_.VideoMode_h_get, _misc_.VideoMode_h_set)
     bpp = property(_misc_.VideoMode_bpp_get, _misc_.VideoMode_bpp_set)
     refresh = property(_misc_.VideoMode_refresh_get, _misc_.VideoMode_refresh_set)
-VideoMode_swigregister = _misc_.VideoMode_swigregister
-VideoMode_swigregister(VideoMode)
+_misc_.VideoMode_swigregister(VideoMode)
 
 class Display(object):
     """Represents a display/monitor attached to the system"""
 
 class Display(object):
     """Represents a display/monitor attached to the system"""
@@ -5620,8 +5594,7 @@ class Display(object):
         """
         return _misc_.Display_ResetMode(*args, **kwargs)
 
         """
         return _misc_.Display_ResetMode(*args, **kwargs)
 
-Display_swigregister = _misc_.Display_swigregister
-Display_swigregister(Display)
+_misc_.Display_swigregister(Display)
 DefaultVideoMode = cvar.DefaultVideoMode
 
 def Display_GetCount(*args):
 DefaultVideoMode = cvar.DefaultVideoMode
 
 def Display_GetCount(*args):
@@ -5797,6 +5770,17 @@ class StandardPaths(object):
         """
         return _misc_.StandardPaths_GetLocalizedResourcesDir(*args, **kwargs)
 
         """
         return _misc_.StandardPaths_GetLocalizedResourcesDir(*args, **kwargs)
 
+    def GetDocumentsDir(*args, **kwargs):
+        """
+        GetDocumentsDir(self) -> String
+
+        Return the Documents directory for the current user.
+
+        C:\Documents and Settings\username\Documents under Windows,
+        $HOME under Unix and ~/Documents under Mac
+        """
+        return _misc_.StandardPaths_GetDocumentsDir(*args, **kwargs)
+
     def SetInstallPrefix(*args, **kwargs):
         """
         SetInstallPrefix(self, String prefix)
     def SetInstallPrefix(*args, **kwargs):
         """
         SetInstallPrefix(self, String prefix)
@@ -5817,8 +5801,7 @@ class StandardPaths(object):
         """
         return _misc_.StandardPaths_GetInstallPrefix(*args, **kwargs)
 
         """
         return _misc_.StandardPaths_GetInstallPrefix(*args, **kwargs)
 
-StandardPaths_swigregister = _misc_.StandardPaths_swigregister
-StandardPaths_swigregister(StandardPaths)
+_misc_.StandardPaths_swigregister(StandardPaths)
 
 def StandardPaths_Get(*args):
   """
 
 def StandardPaths_Get(*args):
   """
@@ -5828,5 +5811,65 @@ def StandardPaths_Get(*args):
     """
   return _misc_.StandardPaths_Get(*args)
 
     """
   return _misc_.StandardPaths_Get(*args)
 
+#---------------------------------------------------------------------------
+
+POWER_SOCKET = _misc_.POWER_SOCKET
+POWER_BATTERY = _misc_.POWER_BATTERY
+POWER_UNKNOWN = _misc_.POWER_UNKNOWN
+BATTERY_NORMAL_STATE = _misc_.BATTERY_NORMAL_STATE
+BATTERY_LOW_STATE = _misc_.BATTERY_LOW_STATE
+BATTERY_CRITICAL_STATE = _misc_.BATTERY_CRITICAL_STATE
+BATTERY_SHUTDOWN_STATE = _misc_.BATTERY_SHUTDOWN_STATE
+BATTERY_UNKNOWN_STATE = _misc_.BATTERY_UNKNOWN_STATE
+class PowerEvent(_core.Event):
+    """
+    wx.PowerEvent is generated when the system online status changes.
+    Currently this is only implemented for Windows.
+    """
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    __repr__ = _swig_repr
+    def __init__(self, *args, **kwargs): 
+        """
+        __init__(self, EventType evtType) -> PowerEvent
+
+        wx.PowerEvent is generated when the system online status changes.
+        Currently this is only implemented for Windows.
+        """
+        _misc_.PowerEvent_swiginit(self,_misc_.new_PowerEvent(*args, **kwargs))
+    def Veto(*args, **kwargs):
+        """Veto(self)"""
+        return _misc_.PowerEvent_Veto(*args, **kwargs)
+
+    def IsVetoed(*args, **kwargs):
+        """IsVetoed(self) -> bool"""
+        return _misc_.PowerEvent_IsVetoed(*args, **kwargs)
+
+_misc_.PowerEvent_swigregister(PowerEvent)
+
+wxEVT_POWER_SUSPENDING = _misc_.wxEVT_POWER_SUSPENDING
+wxEVT_POWER_SUSPENDED = _misc_.wxEVT_POWER_SUSPENDED
+wxEVT_POWER_SUSPEND_CANCEL = _misc_.wxEVT_POWER_SUSPEND_CANCEL
+wxEVT_POWER_RESUME = _misc_.wxEVT_POWER_RESUME
+EVT_POWER_SUSPENDING       = wx.PyEventBinder( wxEVT_POWER_SUSPENDING , 1 )
+EVT_POWER_SUSPENDED        = wx.PyEventBinder( wxEVT_POWER_SUSPENDED , 1 )
+EVT_POWER_SUSPEND_CANCEL   = wx.PyEventBinder( wxEVT_POWER_SUSPEND_CANCEL , 1 )
+EVT_POWER_RESUME           = wx.PyEventBinder( wxEVT_POWER_RESUME , 1 )
+
+
+def GetPowerType(*args):
+  """
+    GetPowerType() -> int
+
+    return the current system power state: online or offline
+    """
+  return _misc_.GetPowerType(*args)
+
+def GetBatteryState(*args):
+  """
+    GetBatteryState() -> int
+
+    return approximate battery state
+    """
+  return _misc_.GetBatteryState(*args)