1 # This file was created automatically by SWIG 1.3.27. 
   2 # Don't modify this file, modify the SWIG interface instead. 
   6 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1): 
   8         if isinstance(value
, class_type
): 
   9             self
.__dict
__[name
] = value
.this
 
  10             if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
 
  13     method 
= class_type
.__swig
_setmethods
__.get(name
,None) 
  14     if method
: return method(self
,value
) 
  15     if (not static
) or hasattr(self
,name
) or (name 
== "thisown"): 
  16         self
.__dict
__[name
] = value
 
  18         raise AttributeError("You cannot add attributes to %s" % self
) 
  20 def _swig_setattr(self
,class_type
,name
,value
): 
  21     return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0) 
  23 def _swig_getattr(self
,class_type
,name
): 
  24     method 
= class_type
.__swig
_getmethods
__.get(name
,None) 
  25     if method
: return method(self
) 
  26     raise AttributeError,name
 
  30     _object 
= types
.ObjectType
 
  32 except AttributeError: 
  38 def _swig_setattr_nondynamic_method(set): 
  39     def set_attr(self
,name
,value
): 
  40         if hasattr(self
,name
) or (name 
in ("this", "thisown")): 
  43             raise AttributeError("You cannot add attributes to %s" % self
) 
  49 #--------------------------------------------------------------------------- 
  51 SYS_OEM_FIXED_FONT 
= _misc_
.SYS_OEM_FIXED_FONT
 
  52 SYS_ANSI_FIXED_FONT 
= _misc_
.SYS_ANSI_FIXED_FONT
 
  53 SYS_ANSI_VAR_FONT 
= _misc_
.SYS_ANSI_VAR_FONT
 
  54 SYS_SYSTEM_FONT 
= _misc_
.SYS_SYSTEM_FONT
 
  55 SYS_DEVICE_DEFAULT_FONT 
= _misc_
.SYS_DEVICE_DEFAULT_FONT
 
  56 SYS_DEFAULT_PALETTE 
= _misc_
.SYS_DEFAULT_PALETTE
 
  57 SYS_SYSTEM_FIXED_FONT 
= _misc_
.SYS_SYSTEM_FIXED_FONT
 
  58 SYS_DEFAULT_GUI_FONT 
= _misc_
.SYS_DEFAULT_GUI_FONT
 
  59 SYS_ICONTITLE_FONT 
= _misc_
.SYS_ICONTITLE_FONT
 
  60 SYS_COLOUR_SCROLLBAR 
= _misc_
.SYS_COLOUR_SCROLLBAR
 
  61 SYS_COLOUR_BACKGROUND 
= _misc_
.SYS_COLOUR_BACKGROUND
 
  62 SYS_COLOUR_DESKTOP 
= _misc_
.SYS_COLOUR_DESKTOP
 
  63 SYS_COLOUR_ACTIVECAPTION 
= _misc_
.SYS_COLOUR_ACTIVECAPTION
 
  64 SYS_COLOUR_INACTIVECAPTION 
= _misc_
.SYS_COLOUR_INACTIVECAPTION
 
  65 SYS_COLOUR_MENU 
= _misc_
.SYS_COLOUR_MENU
 
  66 SYS_COLOUR_WINDOW 
= _misc_
.SYS_COLOUR_WINDOW
 
  67 SYS_COLOUR_WINDOWFRAME 
= _misc_
.SYS_COLOUR_WINDOWFRAME
 
  68 SYS_COLOUR_MENUTEXT 
= _misc_
.SYS_COLOUR_MENUTEXT
 
  69 SYS_COLOUR_WINDOWTEXT 
= _misc_
.SYS_COLOUR_WINDOWTEXT
 
  70 SYS_COLOUR_CAPTIONTEXT 
= _misc_
.SYS_COLOUR_CAPTIONTEXT
 
  71 SYS_COLOUR_ACTIVEBORDER 
= _misc_
.SYS_COLOUR_ACTIVEBORDER
 
  72 SYS_COLOUR_INACTIVEBORDER 
= _misc_
.SYS_COLOUR_INACTIVEBORDER
 
  73 SYS_COLOUR_APPWORKSPACE 
= _misc_
.SYS_COLOUR_APPWORKSPACE
 
  74 SYS_COLOUR_HIGHLIGHT 
= _misc_
.SYS_COLOUR_HIGHLIGHT
 
  75 SYS_COLOUR_HIGHLIGHTTEXT 
= _misc_
.SYS_COLOUR_HIGHLIGHTTEXT
 
  76 SYS_COLOUR_BTNFACE 
= _misc_
.SYS_COLOUR_BTNFACE
 
  77 SYS_COLOUR_3DFACE 
= _misc_
.SYS_COLOUR_3DFACE
 
  78 SYS_COLOUR_BTNSHADOW 
= _misc_
.SYS_COLOUR_BTNSHADOW
 
  79 SYS_COLOUR_3DSHADOW 
= _misc_
.SYS_COLOUR_3DSHADOW
 
  80 SYS_COLOUR_GRAYTEXT 
= _misc_
.SYS_COLOUR_GRAYTEXT
 
  81 SYS_COLOUR_BTNTEXT 
= _misc_
.SYS_COLOUR_BTNTEXT
 
  82 SYS_COLOUR_INACTIVECAPTIONTEXT 
= _misc_
.SYS_COLOUR_INACTIVECAPTIONTEXT
 
  83 SYS_COLOUR_BTNHIGHLIGHT 
= _misc_
.SYS_COLOUR_BTNHIGHLIGHT
 
  84 SYS_COLOUR_BTNHILIGHT 
= _misc_
.SYS_COLOUR_BTNHILIGHT
 
  85 SYS_COLOUR_3DHIGHLIGHT 
= _misc_
.SYS_COLOUR_3DHIGHLIGHT
 
  86 SYS_COLOUR_3DHILIGHT 
= _misc_
.SYS_COLOUR_3DHILIGHT
 
  87 SYS_COLOUR_3DDKSHADOW 
= _misc_
.SYS_COLOUR_3DDKSHADOW
 
  88 SYS_COLOUR_3DLIGHT 
= _misc_
.SYS_COLOUR_3DLIGHT
 
  89 SYS_COLOUR_INFOTEXT 
= _misc_
.SYS_COLOUR_INFOTEXT
 
  90 SYS_COLOUR_INFOBK 
= _misc_
.SYS_COLOUR_INFOBK
 
  91 SYS_COLOUR_LISTBOX 
= _misc_
.SYS_COLOUR_LISTBOX
 
  92 SYS_COLOUR_HOTLIGHT 
= _misc_
.SYS_COLOUR_HOTLIGHT
 
  93 SYS_COLOUR_GRADIENTACTIVECAPTION 
= _misc_
.SYS_COLOUR_GRADIENTACTIVECAPTION
 
  94 SYS_COLOUR_GRADIENTINACTIVECAPTION 
= _misc_
.SYS_COLOUR_GRADIENTINACTIVECAPTION
 
  95 SYS_COLOUR_MENUHILIGHT 
= _misc_
.SYS_COLOUR_MENUHILIGHT
 
  96 SYS_COLOUR_MENUBAR 
= _misc_
.SYS_COLOUR_MENUBAR
 
  97 SYS_COLOUR_MAX 
= _misc_
.SYS_COLOUR_MAX
 
  98 SYS_MOUSE_BUTTONS 
= _misc_
.SYS_MOUSE_BUTTONS
 
  99 SYS_BORDER_X 
= _misc_
.SYS_BORDER_X
 
 100 SYS_BORDER_Y 
= _misc_
.SYS_BORDER_Y
 
 101 SYS_CURSOR_X 
= _misc_
.SYS_CURSOR_X
 
 102 SYS_CURSOR_Y 
= _misc_
.SYS_CURSOR_Y
 
 103 SYS_DCLICK_X 
= _misc_
.SYS_DCLICK_X
 
 104 SYS_DCLICK_Y 
= _misc_
.SYS_DCLICK_Y
 
 105 SYS_DRAG_X 
= _misc_
.SYS_DRAG_X
 
 106 SYS_DRAG_Y 
= _misc_
.SYS_DRAG_Y
 
 107 SYS_EDGE_X 
= _misc_
.SYS_EDGE_X
 
 108 SYS_EDGE_Y 
= _misc_
.SYS_EDGE_Y
 
 109 SYS_HSCROLL_ARROW_X 
= _misc_
.SYS_HSCROLL_ARROW_X
 
 110 SYS_HSCROLL_ARROW_Y 
= _misc_
.SYS_HSCROLL_ARROW_Y
 
 111 SYS_HTHUMB_X 
= _misc_
.SYS_HTHUMB_X
 
 112 SYS_ICON_X 
= _misc_
.SYS_ICON_X
 
 113 SYS_ICON_Y 
= _misc_
.SYS_ICON_Y
 
 114 SYS_ICONSPACING_X 
= _misc_
.SYS_ICONSPACING_X
 
 115 SYS_ICONSPACING_Y 
= _misc_
.SYS_ICONSPACING_Y
 
 116 SYS_WINDOWMIN_X 
= _misc_
.SYS_WINDOWMIN_X
 
 117 SYS_WINDOWMIN_Y 
= _misc_
.SYS_WINDOWMIN_Y
 
 118 SYS_SCREEN_X 
= _misc_
.SYS_SCREEN_X
 
 119 SYS_SCREEN_Y 
= _misc_
.SYS_SCREEN_Y
 
 120 SYS_FRAMESIZE_X 
= _misc_
.SYS_FRAMESIZE_X
 
 121 SYS_FRAMESIZE_Y 
= _misc_
.SYS_FRAMESIZE_Y
 
 122 SYS_SMALLICON_X 
= _misc_
.SYS_SMALLICON_X
 
 123 SYS_SMALLICON_Y 
= _misc_
.SYS_SMALLICON_Y
 
 124 SYS_HSCROLL_Y 
= _misc_
.SYS_HSCROLL_Y
 
 125 SYS_VSCROLL_X 
= _misc_
.SYS_VSCROLL_X
 
 126 SYS_VSCROLL_ARROW_X 
= _misc_
.SYS_VSCROLL_ARROW_X
 
 127 SYS_VSCROLL_ARROW_Y 
= _misc_
.SYS_VSCROLL_ARROW_Y
 
 128 SYS_VTHUMB_Y 
= _misc_
.SYS_VTHUMB_Y
 
 129 SYS_CAPTION_Y 
= _misc_
.SYS_CAPTION_Y
 
 130 SYS_MENU_Y 
= _misc_
.SYS_MENU_Y
 
 131 SYS_NETWORK_PRESENT 
= _misc_
.SYS_NETWORK_PRESENT
 
 132 SYS_PENWINDOWS_PRESENT 
= _misc_
.SYS_PENWINDOWS_PRESENT
 
 133 SYS_SHOW_SOUNDS 
= _misc_
.SYS_SHOW_SOUNDS
 
 134 SYS_SWAP_BUTTONS 
= _misc_
.SYS_SWAP_BUTTONS
 
 135 SYS_CAN_DRAW_FRAME_DECORATIONS 
= _misc_
.SYS_CAN_DRAW_FRAME_DECORATIONS
 
 136 SYS_CAN_ICONIZE_FRAME 
= _misc_
.SYS_CAN_ICONIZE_FRAME
 
 137 SYS_SCREEN_NONE 
= _misc_
.SYS_SCREEN_NONE
 
 138 SYS_SCREEN_TINY 
= _misc_
.SYS_SCREEN_TINY
 
 139 SYS_SCREEN_PDA 
= _misc_
.SYS_SCREEN_PDA
 
 140 SYS_SCREEN_SMALL 
= _misc_
.SYS_SCREEN_SMALL
 
 141 SYS_SCREEN_DESKTOP 
= _misc_
.SYS_SCREEN_DESKTOP
 
 142 class SystemSettings(object): 
 143     """Proxy of C++ SystemSettings class""" 
 144     def __init__(self
): raise RuntimeError, "No constructor defined" 
 146         return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 147     def GetColour(*args
, **kwargs
): 
 148         """GetColour(int index) -> Colour""" 
 149         return _misc_
.SystemSettings_GetColour(*args
, **kwargs
) 
 151     GetColour 
= staticmethod(GetColour
) 
 152     def GetFont(*args
, **kwargs
): 
 153         """GetFont(int index) -> Font""" 
 154         return _misc_
.SystemSettings_GetFont(*args
, **kwargs
) 
 156     GetFont 
= staticmethod(GetFont
) 
 157     def GetMetric(*args
, **kwargs
): 
 158         """GetMetric(int index, Window win=None) -> int""" 
 159         return _misc_
.SystemSettings_GetMetric(*args
, **kwargs
) 
 161     GetMetric 
= staticmethod(GetMetric
) 
 162     def HasFeature(*args
, **kwargs
): 
 163         """HasFeature(int index) -> bool""" 
 164         return _misc_
.SystemSettings_HasFeature(*args
, **kwargs
) 
 166     HasFeature 
= staticmethod(HasFeature
) 
 167     def GetScreenType(*args
, **kwargs
): 
 168         """GetScreenType() -> int""" 
 169         return _misc_
.SystemSettings_GetScreenType(*args
, **kwargs
) 
 171     GetScreenType 
= staticmethod(GetScreenType
) 
 172     def SetScreenType(*args
, **kwargs
): 
 173         """SetScreenType(int screen)""" 
 174         return _misc_
.SystemSettings_SetScreenType(*args
, **kwargs
) 
 176     SetScreenType 
= staticmethod(SetScreenType
) 
 178 class SystemSettingsPtr(SystemSettings
): 
 179     def __init__(self
, this
): 
 181         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 182         self
.__class
__ = SystemSettings
 
 183 _misc_
.SystemSettings_swigregister(SystemSettingsPtr
) 
 185 def SystemSettings_GetColour(*args
, **kwargs
): 
 186     """SystemSettings_GetColour(int index) -> Colour""" 
 187     return _misc_
.SystemSettings_GetColour(*args
, **kwargs
) 
 189 def SystemSettings_GetFont(*args
, **kwargs
): 
 190     """SystemSettings_GetFont(int index) -> Font""" 
 191     return _misc_
.SystemSettings_GetFont(*args
, **kwargs
) 
 193 def SystemSettings_GetMetric(*args
, **kwargs
): 
 194     """SystemSettings_GetMetric(int index, Window win=None) -> int""" 
 195     return _misc_
.SystemSettings_GetMetric(*args
, **kwargs
) 
 197 def SystemSettings_HasFeature(*args
, **kwargs
): 
 198     """SystemSettings_HasFeature(int index) -> bool""" 
 199     return _misc_
.SystemSettings_HasFeature(*args
, **kwargs
) 
 201 def SystemSettings_GetScreenType(*args
, **kwargs
): 
 202     """SystemSettings_GetScreenType() -> int""" 
 203     return _misc_
.SystemSettings_GetScreenType(*args
, **kwargs
) 
 205 def SystemSettings_SetScreenType(*args
, **kwargs
): 
 206     """SystemSettings_SetScreenType(int screen)""" 
 207     return _misc_
.SystemSettings_SetScreenType(*args
, **kwargs
) 
 209 class SystemOptions(_core
.Object
): 
 210     """Proxy of C++ SystemOptions class""" 
 212         return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 213     def __init__(self
, *args
, **kwargs
): 
 214         """__init__(self) -> SystemOptions""" 
 215         newobj 
= _misc_
.new_SystemOptions(*args
, **kwargs
) 
 216         self
.this 
= newobj
.this
 
 219     def SetOption(*args
, **kwargs
): 
 220         """SetOption(String name, String value)""" 
 221         return _misc_
.SystemOptions_SetOption(*args
, **kwargs
) 
 223     SetOption 
= staticmethod(SetOption
) 
 224     def SetOptionInt(*args
, **kwargs
): 
 225         """SetOptionInt(String name, int value)""" 
 226         return _misc_
.SystemOptions_SetOptionInt(*args
, **kwargs
) 
 228     SetOptionInt 
= staticmethod(SetOptionInt
) 
 229     def GetOption(*args
, **kwargs
): 
 230         """GetOption(String name) -> String""" 
 231         return _misc_
.SystemOptions_GetOption(*args
, **kwargs
) 
 233     GetOption 
= staticmethod(GetOption
) 
 234     def GetOptionInt(*args
, **kwargs
): 
 235         """GetOptionInt(String name) -> int""" 
 236         return _misc_
.SystemOptions_GetOptionInt(*args
, **kwargs
) 
 238     GetOptionInt 
= staticmethod(GetOptionInt
) 
 239     def HasOption(*args
, **kwargs
): 
 240         """HasOption(String name) -> bool""" 
 241         return _misc_
.SystemOptions_HasOption(*args
, **kwargs
) 
 243     HasOption 
= staticmethod(HasOption
) 
 244     def IsFalse(*args
, **kwargs
): 
 245         """IsFalse(String name) -> bool""" 
 246         return _misc_
.SystemOptions_IsFalse(*args
, **kwargs
) 
 248     IsFalse 
= staticmethod(IsFalse
) 
 250 class SystemOptionsPtr(SystemOptions
): 
 251     def __init__(self
, this
): 
 253         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 254         self
.__class
__ = SystemOptions
 
 255 _misc_
.SystemOptions_swigregister(SystemOptionsPtr
) 
 257 WINDOW_DEFAULT_VARIANT 
= cvar
.WINDOW_DEFAULT_VARIANT
 
 259 def SystemOptions_SetOption(*args
, **kwargs
): 
 260     """SystemOptions_SetOption(String name, String value)""" 
 261     return _misc_
.SystemOptions_SetOption(*args
, **kwargs
) 
 263 def SystemOptions_SetOptionInt(*args
, **kwargs
): 
 264     """SystemOptions_SetOptionInt(String name, int value)""" 
 265     return _misc_
.SystemOptions_SetOptionInt(*args
, **kwargs
) 
 267 def SystemOptions_GetOption(*args
, **kwargs
): 
 268     """SystemOptions_GetOption(String name) -> String""" 
 269     return _misc_
.SystemOptions_GetOption(*args
, **kwargs
) 
 271 def SystemOptions_GetOptionInt(*args
, **kwargs
): 
 272     """SystemOptions_GetOptionInt(String name) -> int""" 
 273     return _misc_
.SystemOptions_GetOptionInt(*args
, **kwargs
) 
 275 def SystemOptions_HasOption(*args
, **kwargs
): 
 276     """SystemOptions_HasOption(String name) -> bool""" 
 277     return _misc_
.SystemOptions_HasOption(*args
, **kwargs
) 
 279 def SystemOptions_IsFalse(*args
, **kwargs
): 
 280     """SystemOptions_IsFalse(String name) -> bool""" 
 281     return _misc_
.SystemOptions_IsFalse(*args
, **kwargs
) 
 283 #--------------------------------------------------------------------------- 
 286 def NewId(*args
, **kwargs
): 
 287     """NewId() -> long""" 
 288     return _misc_
.NewId(*args
, **kwargs
) 
 290 def RegisterId(*args
, **kwargs
): 
 291     """RegisterId(long id)""" 
 292     return _misc_
.RegisterId(*args
, **kwargs
) 
 294 def GetCurrentId(*args
, **kwargs
): 
 295     """GetCurrentId() -> long""" 
 296     return _misc_
.GetCurrentId(*args
, **kwargs
) 
 298 def IsStockID(*args
, **kwargs
): 
 299     """IsStockID(int id) -> bool""" 
 300     return _misc_
.IsStockID(*args
, **kwargs
) 
 302 def IsStockLabel(*args
, **kwargs
): 
 303     """IsStockLabel(int id, String label) -> bool""" 
 304     return _misc_
.IsStockLabel(*args
, **kwargs
) 
 306 def GetStockLabel(*args
, **kwargs
): 
 307     """GetStockLabel(int id, bool withCodes=True, String accelerator=EmptyString) -> String""" 
 308     return _misc_
.GetStockLabel(*args
, **kwargs
) 
 310 def Bell(*args
, **kwargs
): 
 312     return _misc_
.Bell(*args
, **kwargs
) 
 314 def EndBusyCursor(*args
, **kwargs
): 
 315     """EndBusyCursor()""" 
 316     return _misc_
.EndBusyCursor(*args
, **kwargs
) 
 318 def GetElapsedTime(*args
, **kwargs
): 
 319     """GetElapsedTime(bool resetTimer=True) -> long""" 
 320     return _misc_
.GetElapsedTime(*args
, **kwargs
) 
 322 def IsBusy(*args
, **kwargs
): 
 323     """IsBusy() -> bool""" 
 324     return _misc_
.IsBusy(*args
, **kwargs
) 
 326 def Now(*args
, **kwargs
): 
 327     """Now() -> String""" 
 328     return _misc_
.Now(*args
, **kwargs
) 
 330 def Shell(*args
, **kwargs
): 
 331     """Shell(String command=EmptyString) -> bool""" 
 332     return _misc_
.Shell(*args
, **kwargs
) 
 334 def StartTimer(*args
, **kwargs
): 
 336     return _misc_
.StartTimer(*args
, **kwargs
) 
 338 def GetOsVersion(*args
, **kwargs
): 
 339     """GetOsVersion() -> (platform, major, minor)""" 
 340     return _misc_
.GetOsVersion(*args
, **kwargs
) 
 342 def GetOsDescription(*args
, **kwargs
): 
 343     """GetOsDescription() -> String""" 
 344     return _misc_
.GetOsDescription(*args
, **kwargs
) 
 346 def GetFreeMemory(*args
, **kwargs
): 
 347     """GetFreeMemory() -> wxMemorySize""" 
 348     return _misc_
.GetFreeMemory(*args
, **kwargs
) 
 349 SHUTDOWN_POWEROFF 
= _misc_
.SHUTDOWN_POWEROFF
 
 350 SHUTDOWN_REBOOT 
= _misc_
.SHUTDOWN_REBOOT
 
 352 def Shutdown(*args
, **kwargs
): 
 353     """Shutdown(int wFlags) -> bool""" 
 354     return _misc_
.Shutdown(*args
, **kwargs
) 
 356 def Sleep(*args
, **kwargs
): 
 357     """Sleep(int secs)""" 
 358     return _misc_
.Sleep(*args
, **kwargs
) 
 360 def MilliSleep(*args
, **kwargs
): 
 361     """MilliSleep(unsigned long milliseconds)""" 
 362     return _misc_
.MilliSleep(*args
, **kwargs
) 
 364 def MicroSleep(*args
, **kwargs
): 
 365     """MicroSleep(unsigned long microseconds)""" 
 366     return _misc_
.MicroSleep(*args
, **kwargs
) 
 369 def EnableTopLevelWindows(*args
, **kwargs
): 
 370     """EnableTopLevelWindows(bool enable)""" 
 371     return _misc_
.EnableTopLevelWindows(*args
, **kwargs
) 
 373 def StripMenuCodes(*args
, **kwargs
): 
 374     """StripMenuCodes(String in) -> String""" 
 375     return _misc_
.StripMenuCodes(*args
, **kwargs
) 
 377 def GetEmailAddress(*args
, **kwargs
): 
 378     """GetEmailAddress() -> String""" 
 379     return _misc_
.GetEmailAddress(*args
, **kwargs
) 
 381 def GetHostName(*args
, **kwargs
): 
 382     """GetHostName() -> String""" 
 383     return _misc_
.GetHostName(*args
, **kwargs
) 
 385 def GetFullHostName(*args
, **kwargs
): 
 386     """GetFullHostName() -> String""" 
 387     return _misc_
.GetFullHostName(*args
, **kwargs
) 
 389 def GetUserId(*args
, **kwargs
): 
 390     """GetUserId() -> String""" 
 391     return _misc_
.GetUserId(*args
, **kwargs
) 
 393 def GetUserName(*args
, **kwargs
): 
 394     """GetUserName() -> String""" 
 395     return _misc_
.GetUserName(*args
, **kwargs
) 
 397 def GetHomeDir(*args
, **kwargs
): 
 398     """GetHomeDir() -> String""" 
 399     return _misc_
.GetHomeDir(*args
, **kwargs
) 
 401 def GetUserHome(*args
, **kwargs
): 
 402     """GetUserHome(String user=EmptyString) -> String""" 
 403     return _misc_
.GetUserHome(*args
, **kwargs
) 
 405 def GetProcessId(*args
, **kwargs
): 
 406     """GetProcessId() -> unsigned long""" 
 407     return _misc_
.GetProcessId(*args
, **kwargs
) 
 409 def Trap(*args
, **kwargs
): 
 411     return _misc_
.Trap(*args
, **kwargs
) 
 413 def FileSelector(*args
, **kwargs
): 
 415     FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString,  
 416         String default_filename=EmptyString,  
 417         String default_extension=EmptyString,  
 418         String wildcard=FileSelectorDefaultWildcardStr,  
 419         int flags=0, Window parent=None, int x=-1,  
 422     return _misc_
.FileSelector(*args
, **kwargs
) 
 424 def LoadFileSelector(*args
, **kwargs
): 
 426     LoadFileSelector(String what, String extension, String default_name=EmptyString,  
 427         Window parent=None) -> String 
 429     return _misc_
.LoadFileSelector(*args
, **kwargs
) 
 431 def SaveFileSelector(*args
, **kwargs
): 
 433     SaveFileSelector(String what, String extension, String default_name=EmptyString,  
 434         Window parent=None) -> String 
 436     return _misc_
.SaveFileSelector(*args
, **kwargs
) 
 438 def DirSelector(*args
, **kwargs
): 
 440     DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString,  
 441         long style=DD_DEFAULT_STYLE,  
 442         Point pos=DefaultPosition, Window parent=None) -> String 
 444     return _misc_
.DirSelector(*args
, **kwargs
) 
 446 def GetTextFromUser(*args
, **kwargs
): 
 448     GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString,  
 450         int x=-1, int y=-1, bool centre=True) -> String 
 452     return _misc_
.GetTextFromUser(*args
, **kwargs
) 
 454 def GetPasswordFromUser(*args
, **kwargs
): 
 456     GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString,  
 457         Window parent=None) -> String 
 459     return _misc_
.GetPasswordFromUser(*args
, **kwargs
) 
 461 def GetSingleChoice(*args
, **kwargs
): 
 463     GetSingleChoice(String message, String caption, int choices, Window parent=None,  
 464         int x=-1, int y=-1, bool centre=True,  
 465         int width=150, int height=200) -> String 
 467     return _misc_
.GetSingleChoice(*args
, **kwargs
) 
 469 def GetSingleChoiceIndex(*args
, **kwargs
): 
 471     GetSingleChoiceIndex(String message, String caption, int choices, Window parent=None,  
 472         int x=-1, int y=-1, bool centre=True,  
 473         int width=150, int height=200) -> int 
 475     return _misc_
.GetSingleChoiceIndex(*args
, **kwargs
) 
 477 def MessageBox(*args
, **kwargs
): 
 479     MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE,  
 480         Window parent=None, int x=-1,  
 483     return _misc_
.MessageBox(*args
, **kwargs
) 
 485 def ColourDisplay(*args
, **kwargs
): 
 486     """ColourDisplay() -> bool""" 
 487     return _misc_
.ColourDisplay(*args
, **kwargs
) 
 489 def DisplayDepth(*args
, **kwargs
): 
 490     """DisplayDepth() -> int""" 
 491     return _misc_
.DisplayDepth(*args
, **kwargs
) 
 493 def GetDisplayDepth(*args
, **kwargs
): 
 494     """GetDisplayDepth() -> int""" 
 495     return _misc_
.GetDisplayDepth(*args
, **kwargs
) 
 497 def DisplaySize(*args
, **kwargs
): 
 498     """DisplaySize() -> (width, height)""" 
 499     return _misc_
.DisplaySize(*args
, **kwargs
) 
 501 def GetDisplaySize(*args
, **kwargs
): 
 502     """GetDisplaySize() -> Size""" 
 503     return _misc_
.GetDisplaySize(*args
, **kwargs
) 
 505 def DisplaySizeMM(*args
, **kwargs
): 
 506     """DisplaySizeMM() -> (width, height)""" 
 507     return _misc_
.DisplaySizeMM(*args
, **kwargs
) 
 509 def GetDisplaySizeMM(*args
, **kwargs
): 
 510     """GetDisplaySizeMM() -> Size""" 
 511     return _misc_
.GetDisplaySizeMM(*args
, **kwargs
) 
 513 def ClientDisplayRect(*args
, **kwargs
): 
 514     """ClientDisplayRect() -> (x, y, width, height)""" 
 515     return _misc_
.ClientDisplayRect(*args
, **kwargs
) 
 517 def GetClientDisplayRect(*args
, **kwargs
): 
 518     """GetClientDisplayRect() -> Rect""" 
 519     return _misc_
.GetClientDisplayRect(*args
, **kwargs
) 
 521 def SetCursor(*args
, **kwargs
): 
 522     """SetCursor(Cursor cursor)""" 
 523     return _misc_
.SetCursor(*args
, **kwargs
) 
 525 def GetXDisplay(*args
, **kwargs
): 
 527     GetXDisplay() -> void 
 529     Returns a swigified pointer to the X11 display.  Returns None on 
 532     return _misc_
.GetXDisplay(*args
, **kwargs
) 
 534 def BeginBusyCursor(*args
, **kwargs
): 
 535     """BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)""" 
 536     return _misc_
.BeginBusyCursor(*args
, **kwargs
) 
 538 def GetMousePosition(*args
, **kwargs
): 
 540     GetMousePosition() -> Point 
 542     Get the current mouse position on the screen. 
 544     return _misc_
.GetMousePosition(*args
, **kwargs
) 
 546 def FindWindowAtPointer(*args
, **kwargs
): 
 548     FindWindowAtPointer() -> Window 
 550     Returns the window currently under the mouse pointer, if it belongs to 
 551         this application.  Otherwise it returns None. 
 553     return _misc_
.FindWindowAtPointer(*args
, **kwargs
) 
 555 def GetActiveWindow(*args
, **kwargs
): 
 557     GetActiveWindow() -> Window 
 559     Get the currently active window of this application, or None 
 561     return _misc_
.GetActiveWindow(*args
, **kwargs
) 
 563 def GenericFindWindowAtPoint(*args
, **kwargs
): 
 564     """GenericFindWindowAtPoint(Point pt) -> Window""" 
 565     return _misc_
.GenericFindWindowAtPoint(*args
, **kwargs
) 
 567 def FindWindowAtPoint(*args
, **kwargs
): 
 568     """FindWindowAtPoint(Point pt) -> Window""" 
 569     return _misc_
.FindWindowAtPoint(*args
, **kwargs
) 
 571 def GetTopLevelParent(*args
, **kwargs
): 
 572     """GetTopLevelParent(Window win) -> Window""" 
 573     return _misc_
.GetTopLevelParent(*args
, **kwargs
) 
 575 def LaunchDefaultBrowser(*args
, **kwargs
): 
 577     LaunchDefaultBrowser(String url) -> bool 
 579     Launches the user's default browser and tells it to open the location 
 580     at ``url``.  Returns ``True`` if the application was successfully 
 583     return _misc_
.LaunchDefaultBrowser(*args
, **kwargs
) 
 585 def GetKeyState(*args
, **kwargs
): 
 587     GetKeyState(int key) -> bool 
 589     Get the state of a key (true if pressed or toggled on, false if not.) 
 590     This is generally most useful getting the state of the modifier or 
 591     toggle keys.  On some platforms those may be the only keys that this 
 592     function is able to detect. 
 595     return _misc_
.GetKeyState(*args
, **kwargs
) 
 596 class MouseState(object): 
 598     `wx.MouseState` is used to hold information about mouse button and 
 599     modifier key states and is what is returned from `wx.GetMouseState`. 
 602         return "<%s.%s; proxy of C++ wxMouseState instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 603     def __init__(self
, *args
, **kwargs
): 
 605         __init__(self) -> MouseState 
 607         `wx.MouseState` is used to hold information about mouse button and 
 608         modifier key states and is what is returned from `wx.GetMouseState`. 
 610         newobj 
= _misc_
.new_MouseState(*args
, **kwargs
) 
 611         self
.this 
= newobj
.this
 
 614     def __del__(self
, destroy
=_misc_
.delete_MouseState
): 
 617             if self
.thisown
: destroy(self
) 
 620     def GetX(*args
, **kwargs
): 
 621         """GetX(self) -> int""" 
 622         return _misc_
.MouseState_GetX(*args
, **kwargs
) 
 624     def GetY(*args
, **kwargs
): 
 625         """GetY(self) -> int""" 
 626         return _misc_
.MouseState_GetY(*args
, **kwargs
) 
 628     def LeftDown(*args
, **kwargs
): 
 629         """LeftDown(self) -> bool""" 
 630         return _misc_
.MouseState_LeftDown(*args
, **kwargs
) 
 632     def MiddleDown(*args
, **kwargs
): 
 633         """MiddleDown(self) -> bool""" 
 634         return _misc_
.MouseState_MiddleDown(*args
, **kwargs
) 
 636     def RightDown(*args
, **kwargs
): 
 637         """RightDown(self) -> bool""" 
 638         return _misc_
.MouseState_RightDown(*args
, **kwargs
) 
 640     def ControlDown(*args
, **kwargs
): 
 641         """ControlDown(self) -> bool""" 
 642         return _misc_
.MouseState_ControlDown(*args
, **kwargs
) 
 644     def ShiftDown(*args
, **kwargs
): 
 645         """ShiftDown(self) -> bool""" 
 646         return _misc_
.MouseState_ShiftDown(*args
, **kwargs
) 
 648     def AltDown(*args
, **kwargs
): 
 649         """AltDown(self) -> bool""" 
 650         return _misc_
.MouseState_AltDown(*args
, **kwargs
) 
 652     def MetaDown(*args
, **kwargs
): 
 653         """MetaDown(self) -> bool""" 
 654         return _misc_
.MouseState_MetaDown(*args
, **kwargs
) 
 656     def CmdDown(*args
, **kwargs
): 
 657         """CmdDown(self) -> bool""" 
 658         return _misc_
.MouseState_CmdDown(*args
, **kwargs
) 
 660     def SetX(*args
, **kwargs
): 
 661         """SetX(self, int x)""" 
 662         return _misc_
.MouseState_SetX(*args
, **kwargs
) 
 664     def SetY(*args
, **kwargs
): 
 665         """SetY(self, int y)""" 
 666         return _misc_
.MouseState_SetY(*args
, **kwargs
) 
 668     def SetLeftDown(*args
, **kwargs
): 
 669         """SetLeftDown(self, bool down)""" 
 670         return _misc_
.MouseState_SetLeftDown(*args
, **kwargs
) 
 672     def SetMiddleDown(*args
, **kwargs
): 
 673         """SetMiddleDown(self, bool down)""" 
 674         return _misc_
.MouseState_SetMiddleDown(*args
, **kwargs
) 
 676     def SetRightDown(*args
, **kwargs
): 
 677         """SetRightDown(self, bool down)""" 
 678         return _misc_
.MouseState_SetRightDown(*args
, **kwargs
) 
 680     def SetControlDown(*args
, **kwargs
): 
 681         """SetControlDown(self, bool down)""" 
 682         return _misc_
.MouseState_SetControlDown(*args
, **kwargs
) 
 684     def SetShiftDown(*args
, **kwargs
): 
 685         """SetShiftDown(self, bool down)""" 
 686         return _misc_
.MouseState_SetShiftDown(*args
, **kwargs
) 
 688     def SetAltDown(*args
, **kwargs
): 
 689         """SetAltDown(self, bool down)""" 
 690         return _misc_
.MouseState_SetAltDown(*args
, **kwargs
) 
 692     def SetMetaDown(*args
, **kwargs
): 
 693         """SetMetaDown(self, bool down)""" 
 694         return _misc_
.MouseState_SetMetaDown(*args
, **kwargs
) 
 696     x 
= property(GetX
, SetX
) 
 697     y 
= property(GetY
, SetY
) 
 698     leftDown 
= property(LeftDown
, SetLeftDown
) 
 699     middleDown 
= property(MiddleDown
, SetMiddleDown
) 
 700     rightDown 
= property(RightDown
, SetRightDown
) 
 701     controlDown 
= property(ControlDown
, SetControlDown
) 
 702     shiftDown 
= property(ShiftDown
, SetShiftDown
) 
 703     altDown 
= property(AltDown
, SetAltDown
) 
 704     metaDown 
= property(MetaDown
, SetMetaDown
) 
 705     cmdDown 
= property(CmdDown
) 
 708 class MouseStatePtr(MouseState
): 
 709     def __init__(self
, this
): 
 711         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 712         self
.__class
__ = MouseState
 
 713 _misc_
.MouseState_swigregister(MouseStatePtr
) 
 714 FileSelectorPromptStr 
= cvar
.FileSelectorPromptStr
 
 715 FileSelectorDefaultWildcardStr 
= cvar
.FileSelectorDefaultWildcardStr
 
 716 DirSelectorPromptStr 
= cvar
.DirSelectorPromptStr
 
 719 def GetMouseState(*args
, **kwargs
): 
 721     GetMouseState() -> MouseState 
 723     Returns the current state of the mouse.  Returns an instance of a 
 724     `wx.MouseState` object that contains the current position of the mouse 
 725     pointer in screen coordinants, as well as boolean values indicating 
 726     the up/down status of the mouse buttons and the modifier keys. 
 728     return _misc_
.GetMouseState(*args
, **kwargs
) 
 730 def WakeUpMainThread(*args
, **kwargs
): 
 731     """WakeUpMainThread()""" 
 732     return _misc_
.WakeUpMainThread(*args
, **kwargs
) 
 734 def MutexGuiEnter(*args
, **kwargs
): 
 735     """MutexGuiEnter()""" 
 736     return _misc_
.MutexGuiEnter(*args
, **kwargs
) 
 738 def MutexGuiLeave(*args
, **kwargs
): 
 739     """MutexGuiLeave()""" 
 740     return _misc_
.MutexGuiLeave(*args
, **kwargs
) 
 741 class MutexGuiLocker(object): 
 742     """Proxy of C++ MutexGuiLocker class""" 
 744         return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 745     def __init__(self
, *args
, **kwargs
): 
 746         """__init__(self) -> MutexGuiLocker""" 
 747         newobj 
= _misc_
.new_MutexGuiLocker(*args
, **kwargs
) 
 748         self
.this 
= newobj
.this
 
 751     def __del__(self
, destroy
=_misc_
.delete_MutexGuiLocker
): 
 754             if self
.thisown
: destroy(self
) 
 758 class MutexGuiLockerPtr(MutexGuiLocker
): 
 759     def __init__(self
, this
): 
 761         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 762         self
.__class
__ = MutexGuiLocker
 
 763 _misc_
.MutexGuiLocker_swigregister(MutexGuiLockerPtr
) 
 766 def Thread_IsMain(*args
, **kwargs
): 
 767     """Thread_IsMain() -> bool""" 
 768     return _misc_
.Thread_IsMain(*args
, **kwargs
) 
 769 #--------------------------------------------------------------------------- 
 771 class ToolTip(_core
.Object
): 
 772     """Proxy of C++ ToolTip class""" 
 774         return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 775     def __init__(self
, *args
, **kwargs
): 
 776         """__init__(self, String tip) -> ToolTip""" 
 777         newobj 
= _misc_
.new_ToolTip(*args
, **kwargs
) 
 778         self
.this 
= newobj
.this
 
 781     def __del__(self
, destroy
=_misc_
.delete_ToolTip
): 
 784             if self
.thisown
: destroy(self
) 
 787     def SetTip(*args
, **kwargs
): 
 788         """SetTip(self, String tip)""" 
 789         return _misc_
.ToolTip_SetTip(*args
, **kwargs
) 
 791     def GetTip(*args
, **kwargs
): 
 792         """GetTip(self) -> String""" 
 793         return _misc_
.ToolTip_GetTip(*args
, **kwargs
) 
 795     def GetWindow(*args
, **kwargs
): 
 796         """GetWindow(self) -> Window""" 
 797         return _misc_
.ToolTip_GetWindow(*args
, **kwargs
) 
 799     def Enable(*args
, **kwargs
): 
 800         """Enable(bool flag)""" 
 801         return _misc_
.ToolTip_Enable(*args
, **kwargs
) 
 803     Enable 
= staticmethod(Enable
) 
 804     def SetDelay(*args
, **kwargs
): 
 805         """SetDelay(long milliseconds)""" 
 806         return _misc_
.ToolTip_SetDelay(*args
, **kwargs
) 
 808     SetDelay 
= staticmethod(SetDelay
) 
 810 class ToolTipPtr(ToolTip
): 
 811     def __init__(self
, this
): 
 813         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 814         self
.__class
__ = ToolTip
 
 815 _misc_
.ToolTip_swigregister(ToolTipPtr
) 
 817 def ToolTip_Enable(*args
, **kwargs
): 
 818     """ToolTip_Enable(bool flag)""" 
 819     return _misc_
.ToolTip_Enable(*args
, **kwargs
) 
 821 def ToolTip_SetDelay(*args
, **kwargs
): 
 822     """ToolTip_SetDelay(long milliseconds)""" 
 823     return _misc_
.ToolTip_SetDelay(*args
, **kwargs
) 
 826     """Proxy of C++ Caret class""" 
 828         return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 829     def __init__(self
, *args
, **kwargs
): 
 830         """__init__(self, Window window, Size size) -> Caret""" 
 831         newobj 
= _misc_
.new_Caret(*args
, **kwargs
) 
 832         self
.this 
= newobj
.this
 
 835     def __del__(self
, destroy
=_misc_
.delete_Caret
): 
 838             if self
.thisown
: destroy(self
) 
 841     def Destroy(*args
, **kwargs
): 
 845         Deletes the C++ object this Python object is a proxy for. 
 847         val 
= _misc_
.Caret_Destroy(*args
, **kwargs
) 
 851     def IsOk(*args
, **kwargs
): 
 852         """IsOk(self) -> bool""" 
 853         return _misc_
.Caret_IsOk(*args
, **kwargs
) 
 855     def IsVisible(*args
, **kwargs
): 
 856         """IsVisible(self) -> bool""" 
 857         return _misc_
.Caret_IsVisible(*args
, **kwargs
) 
 859     def GetPosition(*args
, **kwargs
): 
 860         """GetPosition(self) -> Point""" 
 861         return _misc_
.Caret_GetPosition(*args
, **kwargs
) 
 863     def GetPositionTuple(*args
, **kwargs
): 
 864         """GetPositionTuple() -> (x,y)""" 
 865         return _misc_
.Caret_GetPositionTuple(*args
, **kwargs
) 
 867     def GetSize(*args
, **kwargs
): 
 868         """GetSize(self) -> Size""" 
 869         return _misc_
.Caret_GetSize(*args
, **kwargs
) 
 871     def GetSizeTuple(*args
, **kwargs
): 
 872         """GetSizeTuple() -> (width, height)""" 
 873         return _misc_
.Caret_GetSizeTuple(*args
, **kwargs
) 
 875     def GetWindow(*args
, **kwargs
): 
 876         """GetWindow(self) -> Window""" 
 877         return _misc_
.Caret_GetWindow(*args
, **kwargs
) 
 879     def MoveXY(*args
, **kwargs
): 
 880         """MoveXY(self, int x, int y)""" 
 881         return _misc_
.Caret_MoveXY(*args
, **kwargs
) 
 883     def Move(*args
, **kwargs
): 
 884         """Move(self, Point pt)""" 
 885         return _misc_
.Caret_Move(*args
, **kwargs
) 
 887     def SetSizeWH(*args
, **kwargs
): 
 888         """SetSizeWH(self, int width, int height)""" 
 889         return _misc_
.Caret_SetSizeWH(*args
, **kwargs
) 
 891     def SetSize(*args
, **kwargs
): 
 892         """SetSize(self, Size size)""" 
 893         return _misc_
.Caret_SetSize(*args
, **kwargs
) 
 895     def Show(*args
, **kwargs
): 
 896         """Show(self, int show=True)""" 
 897         return _misc_
.Caret_Show(*args
, **kwargs
) 
 899     def Hide(*args
, **kwargs
): 
 901         return _misc_
.Caret_Hide(*args
, **kwargs
) 
 903     def __nonzero__(self
): return self
.IsOk()  
 904     def GetBlinkTime(*args
, **kwargs
): 
 905         """GetBlinkTime() -> int""" 
 906         return _misc_
.Caret_GetBlinkTime(*args
, **kwargs
) 
 908     GetBlinkTime 
= staticmethod(GetBlinkTime
) 
 909     def SetBlinkTime(*args
, **kwargs
): 
 910         """SetBlinkTime(int milliseconds)""" 
 911         return _misc_
.Caret_SetBlinkTime(*args
, **kwargs
) 
 913     SetBlinkTime 
= staticmethod(SetBlinkTime
) 
 915 class CaretPtr(Caret
): 
 916     def __init__(self
, this
): 
 918         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 919         self
.__class
__ = Caret
 
 920 _misc_
.Caret_swigregister(CaretPtr
) 
 922 def Caret_GetBlinkTime(*args
, **kwargs
): 
 923     """Caret_GetBlinkTime() -> int""" 
 924     return _misc_
.Caret_GetBlinkTime(*args
, **kwargs
) 
 926 def Caret_SetBlinkTime(*args
, **kwargs
): 
 927     """Caret_SetBlinkTime(int milliseconds)""" 
 928     return _misc_
.Caret_SetBlinkTime(*args
, **kwargs
) 
 930 class BusyCursor(object): 
 931     """Proxy of C++ BusyCursor class""" 
 933         return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 934     def __init__(self
, *args
, **kwargs
): 
 935         """__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor""" 
 936         newobj 
= _misc_
.new_BusyCursor(*args
, **kwargs
) 
 937         self
.this 
= newobj
.this
 
 940     def __del__(self
, destroy
=_misc_
.delete_BusyCursor
): 
 943             if self
.thisown
: destroy(self
) 
 947 class BusyCursorPtr(BusyCursor
): 
 948     def __init__(self
, this
): 
 950         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 951         self
.__class
__ = BusyCursor
 
 952 _misc_
.BusyCursor_swigregister(BusyCursorPtr
) 
 954 class WindowDisabler(object): 
 955     """Proxy of C++ WindowDisabler class""" 
 957         return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 958     def __init__(self
, *args
, **kwargs
): 
 959         """__init__(self, Window winToSkip=None) -> WindowDisabler""" 
 960         newobj 
= _misc_
.new_WindowDisabler(*args
, **kwargs
) 
 961         self
.this 
= newobj
.this
 
 964     def __del__(self
, destroy
=_misc_
.delete_WindowDisabler
): 
 967             if self
.thisown
: destroy(self
) 
 971 class WindowDisablerPtr(WindowDisabler
): 
 972     def __init__(self
, this
): 
 974         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 975         self
.__class
__ = WindowDisabler
 
 976 _misc_
.WindowDisabler_swigregister(WindowDisablerPtr
) 
 978 class BusyInfo(_core
.Object
): 
 979     """Proxy of C++ BusyInfo class""" 
 981         return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 982     def __init__(self
, *args
, **kwargs
): 
 983         """__init__(self, String message) -> BusyInfo""" 
 984         newobj 
= _misc_
.new_BusyInfo(*args
, **kwargs
) 
 985         self
.this 
= newobj
.this
 
 988     def __del__(self
, destroy
=_misc_
.delete_BusyInfo
): 
 991             if self
.thisown
: destroy(self
) 
 995 class BusyInfoPtr(BusyInfo
): 
 996     def __init__(self
, this
): 
 998         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 999         self
.__class
__ = BusyInfo
 
1000 _misc_
.BusyInfo_swigregister(BusyInfoPtr
) 
1002 class StopWatch(object): 
1003     """Proxy of C++ StopWatch class""" 
1005         return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1006     def __init__(self
, *args
, **kwargs
): 
1007         """__init__(self) -> StopWatch""" 
1008         newobj 
= _misc_
.new_StopWatch(*args
, **kwargs
) 
1009         self
.this 
= newobj
.this
 
1012     def Start(*args
, **kwargs
): 
1013         """Start(self, long t0=0)""" 
1014         return _misc_
.StopWatch_Start(*args
, **kwargs
) 
1016     def Pause(*args
, **kwargs
): 
1018         return _misc_
.StopWatch_Pause(*args
, **kwargs
) 
1020     def Resume(*args
, **kwargs
): 
1022         return _misc_
.StopWatch_Resume(*args
, **kwargs
) 
1024     def Time(*args
, **kwargs
): 
1025         """Time(self) -> long""" 
1026         return _misc_
.StopWatch_Time(*args
, **kwargs
) 
1029 class StopWatchPtr(StopWatch
): 
1030     def __init__(self
, this
): 
1032         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1033         self
.__class
__ = StopWatch
 
1034 _misc_
.StopWatch_swigregister(StopWatchPtr
) 
1036 class FileHistory(_core
.Object
): 
1037     """Proxy of C++ FileHistory class""" 
1039         return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1040     def __init__(self
, *args
, **kwargs
): 
1041         """__init__(self, int maxFiles=9, int idBase=ID_FILE1) -> FileHistory""" 
1042         newobj 
= _misc_
.new_FileHistory(*args
, **kwargs
) 
1043         self
.this 
= newobj
.this
 
1046     def __del__(self
, destroy
=_misc_
.delete_FileHistory
): 
1049             if self
.thisown
: destroy(self
) 
1052     def AddFileToHistory(*args
, **kwargs
): 
1053         """AddFileToHistory(self, String file)""" 
1054         return _misc_
.FileHistory_AddFileToHistory(*args
, **kwargs
) 
1056     def RemoveFileFromHistory(*args
, **kwargs
): 
1057         """RemoveFileFromHistory(self, int i)""" 
1058         return _misc_
.FileHistory_RemoveFileFromHistory(*args
, **kwargs
) 
1060     def GetMaxFiles(*args
, **kwargs
): 
1061         """GetMaxFiles(self) -> int""" 
1062         return _misc_
.FileHistory_GetMaxFiles(*args
, **kwargs
) 
1064     def UseMenu(*args
, **kwargs
): 
1065         """UseMenu(self, Menu menu)""" 
1066         return _misc_
.FileHistory_UseMenu(*args
, **kwargs
) 
1068     def RemoveMenu(*args
, **kwargs
): 
1069         """RemoveMenu(self, Menu menu)""" 
1070         return _misc_
.FileHistory_RemoveMenu(*args
, **kwargs
) 
1072     def Load(*args
, **kwargs
): 
1073         """Load(self, ConfigBase config)""" 
1074         return _misc_
.FileHistory_Load(*args
, **kwargs
) 
1076     def Save(*args
, **kwargs
): 
1077         """Save(self, ConfigBase config)""" 
1078         return _misc_
.FileHistory_Save(*args
, **kwargs
) 
1080     def AddFilesToMenu(*args
, **kwargs
): 
1081         """AddFilesToMenu(self)""" 
1082         return _misc_
.FileHistory_AddFilesToMenu(*args
, **kwargs
) 
1084     def AddFilesToThisMenu(*args
, **kwargs
): 
1085         """AddFilesToThisMenu(self, Menu menu)""" 
1086         return _misc_
.FileHistory_AddFilesToThisMenu(*args
, **kwargs
) 
1088     def GetHistoryFile(*args
, **kwargs
): 
1089         """GetHistoryFile(self, int i) -> String""" 
1090         return _misc_
.FileHistory_GetHistoryFile(*args
, **kwargs
) 
1092     def GetCount(*args
, **kwargs
): 
1093         """GetCount(self) -> int""" 
1094         return _misc_
.FileHistory_GetCount(*args
, **kwargs
) 
1096     GetNoHistoryFiles 
= GetCount 
 
1098 class FileHistoryPtr(FileHistory
): 
1099     def __init__(self
, this
): 
1101         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1102         self
.__class
__ = FileHistory
 
1103 _misc_
.FileHistory_swigregister(FileHistoryPtr
) 
1105 class SingleInstanceChecker(object): 
1106     """Proxy of C++ SingleInstanceChecker class""" 
1108         return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1109     def __init__(self
, *args
, **kwargs
): 
1110         """__init__(self, String name, String path=EmptyString) -> SingleInstanceChecker""" 
1111         newobj 
= _misc_
.new_SingleInstanceChecker(*args
, **kwargs
) 
1112         self
.this 
= newobj
.this
 
1115     def __del__(self
, destroy
=_misc_
.delete_SingleInstanceChecker
): 
1118             if self
.thisown
: destroy(self
) 
1121     def Create(*args
, **kwargs
): 
1122         """Create(self, String name, String path=EmptyString) -> bool""" 
1123         return _misc_
.SingleInstanceChecker_Create(*args
, **kwargs
) 
1125     def IsAnotherRunning(*args
, **kwargs
): 
1126         """IsAnotherRunning(self) -> bool""" 
1127         return _misc_
.SingleInstanceChecker_IsAnotherRunning(*args
, **kwargs
) 
1130 class SingleInstanceCheckerPtr(SingleInstanceChecker
): 
1131     def __init__(self
, this
): 
1133         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1134         self
.__class
__ = SingleInstanceChecker
 
1135 _misc_
.SingleInstanceChecker_swigregister(SingleInstanceCheckerPtr
) 
1137 def PreSingleInstanceChecker(*args
, **kwargs
): 
1138     """PreSingleInstanceChecker() -> SingleInstanceChecker""" 
1139     val 
= _misc_
.new_PreSingleInstanceChecker(*args
, **kwargs
) 
1144 def DrawWindowOnDC(*args
, **kwargs
): 
1145     """DrawWindowOnDC(Window window, DC dc) -> bool""" 
1146     return _misc_
.DrawWindowOnDC(*args
, **kwargs
) 
1147 #--------------------------------------------------------------------------- 
1149 class TipProvider(object): 
1150     """Proxy of C++ TipProvider class""" 
1151     def __init__(self
): raise RuntimeError, "No constructor defined" 
1153         return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1154     def __del__(self
, destroy
=_misc_
.delete_TipProvider
): 
1157             if self
.thisown
: destroy(self
) 
1160     def GetTip(*args
, **kwargs
): 
1161         """GetTip(self) -> String""" 
1162         return _misc_
.TipProvider_GetTip(*args
, **kwargs
) 
1164     def GetCurrentTip(*args
, **kwargs
): 
1165         """GetCurrentTip(self) -> size_t""" 
1166         return _misc_
.TipProvider_GetCurrentTip(*args
, **kwargs
) 
1168     def PreprocessTip(*args
, **kwargs
): 
1169         """PreprocessTip(self, String tip) -> String""" 
1170         return _misc_
.TipProvider_PreprocessTip(*args
, **kwargs
) 
1173 class TipProviderPtr(TipProvider
): 
1174     def __init__(self
, this
): 
1176         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1177         self
.__class
__ = TipProvider
 
1178 _misc_
.TipProvider_swigregister(TipProviderPtr
) 
1180 class PyTipProvider(TipProvider
): 
1181     """Proxy of C++ PyTipProvider class""" 
1183         return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1184     def __init__(self
, *args
, **kwargs
): 
1185         """__init__(self, size_t currentTip) -> PyTipProvider""" 
1186         newobj 
= _misc_
.new_PyTipProvider(*args
, **kwargs
) 
1187         self
.this 
= newobj
.this
 
1190         self
._setCallbackInfo
(self
, PyTipProvider
) 
1192     def _setCallbackInfo(*args
, **kwargs
): 
1193         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1194         return _misc_
.PyTipProvider__setCallbackInfo(*args
, **kwargs
) 
1197 class PyTipProviderPtr(PyTipProvider
): 
1198     def __init__(self
, this
): 
1200         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1201         self
.__class
__ = PyTipProvider
 
1202 _misc_
.PyTipProvider_swigregister(PyTipProviderPtr
) 
1205 def ShowTip(*args
, **kwargs
): 
1206     """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool""" 
1207     return _misc_
.ShowTip(*args
, **kwargs
) 
1209 def CreateFileTipProvider(*args
, **kwargs
): 
1210     """CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider""" 
1211     return _misc_
.CreateFileTipProvider(*args
, **kwargs
) 
1212 #--------------------------------------------------------------------------- 
1214 TIMER_CONTINUOUS 
= _misc_
.TIMER_CONTINUOUS
 
1215 TIMER_ONE_SHOT 
= _misc_
.TIMER_ONE_SHOT
 
1216 wxEVT_TIMER 
= _misc_
.wxEVT_TIMER
 
1217 class Timer(_core
.EvtHandler
): 
1218     """Proxy of C++ Timer class""" 
1220         return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1221     def __init__(self
, *args
, **kwargs
): 
1222         """__init__(self, EvtHandler owner=None, int id=-1) -> Timer""" 
1223         newobj 
= _misc_
.new_Timer(*args
, **kwargs
) 
1224         self
.this 
= newobj
.this
 
1227         self
._setCallbackInfo
(self
, Timer
, 0); self
._setOORInfo
(self
, 0) 
1229     def __del__(self
, destroy
=_misc_
.delete_Timer
): 
1232             if self
.thisown
: destroy(self
) 
1235     def _setCallbackInfo(*args
, **kwargs
): 
1236         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=1)""" 
1237         return _misc_
.Timer__setCallbackInfo(*args
, **kwargs
) 
1239     def SetOwner(*args
, **kwargs
): 
1240         """SetOwner(self, EvtHandler owner, int id=-1)""" 
1241         return _misc_
.Timer_SetOwner(*args
, **kwargs
) 
1243     def GetOwner(*args
, **kwargs
): 
1244         """GetOwner(self) -> EvtHandler""" 
1245         return _misc_
.Timer_GetOwner(*args
, **kwargs
) 
1247     def Start(*args
, **kwargs
): 
1248         """Start(self, int milliseconds=-1, bool oneShot=False) -> bool""" 
1249         return _misc_
.Timer_Start(*args
, **kwargs
) 
1251     def Stop(*args
, **kwargs
): 
1253         return _misc_
.Timer_Stop(*args
, **kwargs
) 
1255     def IsRunning(*args
, **kwargs
): 
1256         """IsRunning(self) -> bool""" 
1257         return _misc_
.Timer_IsRunning(*args
, **kwargs
) 
1259     def GetInterval(*args
, **kwargs
): 
1260         """GetInterval(self) -> int""" 
1261         return _misc_
.Timer_GetInterval(*args
, **kwargs
) 
1263     def IsOneShot(*args
, **kwargs
): 
1264         """IsOneShot(self) -> bool""" 
1265         return _misc_
.Timer_IsOneShot(*args
, **kwargs
) 
1267     def GetId(*args
, **kwargs
): 
1268         """GetId(self) -> int""" 
1269         return _misc_
.Timer_GetId(*args
, **kwargs
) 
1272         """NO-OP: Timers must be destroyed by normal refrence counting""" 
1276 class TimerPtr(Timer
): 
1277     def __init__(self
, this
): 
1279         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1280         self
.__class
__ = Timer
 
1281 _misc_
.Timer_swigregister(TimerPtr
) 
1283 # For backwards compatibility with 2.4 
1284 class PyTimer(Timer
): 
1285     def __init__(self
, notify
): 
1286         Timer
.__init
__(self
) 
1287         self
.notify 
= notify
 
1294 EVT_TIMER 
= wx
.PyEventBinder( wxEVT_TIMER
, 1 ) 
1297 class TimerEvent(_core
.Event
): 
1298     """Proxy of C++ TimerEvent class""" 
1300         return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1301     def __init__(self
, *args
, **kwargs
): 
1302         """__init__(self, int timerid=0, int interval=0) -> TimerEvent""" 
1303         newobj 
= _misc_
.new_TimerEvent(*args
, **kwargs
) 
1304         self
.this 
= newobj
.this
 
1307     def GetInterval(*args
, **kwargs
): 
1308         """GetInterval(self) -> int""" 
1309         return _misc_
.TimerEvent_GetInterval(*args
, **kwargs
) 
1312 class TimerEventPtr(TimerEvent
): 
1313     def __init__(self
, this
): 
1315         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1316         self
.__class
__ = TimerEvent
 
1317 _misc_
.TimerEvent_swigregister(TimerEventPtr
) 
1319 class TimerRunner(object): 
1320     """Proxy of C++ TimerRunner class""" 
1322         return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1323     def __init__(self
, *args
): 
1325         __init__(self, wxTimer timer) -> TimerRunner 
1326         __init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner 
1328         newobj 
= _misc_
.new_TimerRunner(*args
) 
1329         self
.this 
= newobj
.this
 
1332     def __del__(self
, destroy
=_misc_
.delete_TimerRunner
): 
1335             if self
.thisown
: destroy(self
) 
1338     def Start(*args
, **kwargs
): 
1339         """Start(self, int milli, bool oneShot=False)""" 
1340         return _misc_
.TimerRunner_Start(*args
, **kwargs
) 
1343 class TimerRunnerPtr(TimerRunner
): 
1344     def __init__(self
, this
): 
1346         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1347         self
.__class
__ = TimerRunner
 
1348 _misc_
.TimerRunner_swigregister(TimerRunnerPtr
) 
1350 #--------------------------------------------------------------------------- 
1352 LOG_FatalError 
= _misc_
.LOG_FatalError
 
1353 LOG_Error 
= _misc_
.LOG_Error
 
1354 LOG_Warning 
= _misc_
.LOG_Warning
 
1355 LOG_Message 
= _misc_
.LOG_Message
 
1356 LOG_Status 
= _misc_
.LOG_Status
 
1357 LOG_Info 
= _misc_
.LOG_Info
 
1358 LOG_Debug 
= _misc_
.LOG_Debug
 
1359 LOG_Trace 
= _misc_
.LOG_Trace
 
1360 LOG_Progress 
= _misc_
.LOG_Progress
 
1361 LOG_User 
= _misc_
.LOG_User
 
1362 LOG_Max 
= _misc_
.LOG_Max
 
1363 TRACE_MemAlloc 
= _misc_
.TRACE_MemAlloc
 
1364 TRACE_Messages 
= _misc_
.TRACE_Messages
 
1365 TRACE_ResAlloc 
= _misc_
.TRACE_ResAlloc
 
1366 TRACE_RefCount 
= _misc_
.TRACE_RefCount
 
1367 TRACE_OleCalls 
= _misc_
.TRACE_OleCalls
 
1368 TraceMemAlloc 
= _misc_
.TraceMemAlloc
 
1369 TraceMessages 
= _misc_
.TraceMessages
 
1370 TraceResAlloc 
= _misc_
.TraceResAlloc
 
1371 TraceRefCount 
= _misc_
.TraceRefCount
 
1372 TraceOleCalls 
= _misc_
.TraceOleCalls
 
1374     """Proxy of C++ Log class""" 
1376         return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1377     def __init__(self
, *args
, **kwargs
): 
1378         """__init__(self) -> Log""" 
1379         newobj 
= _misc_
.new_Log(*args
, **kwargs
) 
1380         self
.this 
= newobj
.this
 
1383     def __del__(self
, destroy
=_misc_
.delete_Log
): 
1386             if self
.thisown
: destroy(self
) 
1389     def IsEnabled(*args
, **kwargs
): 
1390         """IsEnabled() -> bool""" 
1391         return _misc_
.Log_IsEnabled(*args
, **kwargs
) 
1393     IsEnabled 
= staticmethod(IsEnabled
) 
1394     def EnableLogging(*args
, **kwargs
): 
1395         """EnableLogging(bool doIt=True) -> bool""" 
1396         return _misc_
.Log_EnableLogging(*args
, **kwargs
) 
1398     EnableLogging 
= staticmethod(EnableLogging
) 
1399     def OnLog(*args
, **kwargs
): 
1400         """OnLog(wxLogLevel level, wxChar szString, time_t t)""" 
1401         return _misc_
.Log_OnLog(*args
, **kwargs
) 
1403     OnLog 
= staticmethod(OnLog
) 
1404     def Flush(*args
, **kwargs
): 
1406         return _misc_
.Log_Flush(*args
, **kwargs
) 
1408     def FlushActive(*args
, **kwargs
): 
1410         return _misc_
.Log_FlushActive(*args
, **kwargs
) 
1412     FlushActive 
= staticmethod(FlushActive
) 
1413     def GetActiveTarget(*args
, **kwargs
): 
1414         """GetActiveTarget() -> Log""" 
1415         return _misc_
.Log_GetActiveTarget(*args
, **kwargs
) 
1417     GetActiveTarget 
= staticmethod(GetActiveTarget
) 
1418     def SetActiveTarget(*args
, **kwargs
): 
1419         """SetActiveTarget(Log pLogger) -> Log""" 
1420         return _misc_
.Log_SetActiveTarget(*args
, **kwargs
) 
1422     SetActiveTarget 
= staticmethod(SetActiveTarget
) 
1423     def Suspend(*args
, **kwargs
): 
1425         return _misc_
.Log_Suspend(*args
, **kwargs
) 
1427     Suspend 
= staticmethod(Suspend
) 
1428     def Resume(*args
, **kwargs
): 
1430         return _misc_
.Log_Resume(*args
, **kwargs
) 
1432     Resume 
= staticmethod(Resume
) 
1433     def SetVerbose(*args
, **kwargs
): 
1434         """SetVerbose(bool bVerbose=True)""" 
1435         return _misc_
.Log_SetVerbose(*args
, **kwargs
) 
1437     SetVerbose 
= staticmethod(SetVerbose
) 
1438     def SetLogLevel(*args
, **kwargs
): 
1439         """SetLogLevel(wxLogLevel logLevel)""" 
1440         return _misc_
.Log_SetLogLevel(*args
, **kwargs
) 
1442     SetLogLevel 
= staticmethod(SetLogLevel
) 
1443     def DontCreateOnDemand(*args
, **kwargs
): 
1444         """DontCreateOnDemand()""" 
1445         return _misc_
.Log_DontCreateOnDemand(*args
, **kwargs
) 
1447     DontCreateOnDemand 
= staticmethod(DontCreateOnDemand
) 
1448     def SetTraceMask(*args
, **kwargs
): 
1449         """SetTraceMask(wxTraceMask ulMask)""" 
1450         return _misc_
.Log_SetTraceMask(*args
, **kwargs
) 
1452     SetTraceMask 
= staticmethod(SetTraceMask
) 
1453     def AddTraceMask(*args
, **kwargs
): 
1454         """AddTraceMask(String str)""" 
1455         return _misc_
.Log_AddTraceMask(*args
, **kwargs
) 
1457     AddTraceMask 
= staticmethod(AddTraceMask
) 
1458     def RemoveTraceMask(*args
, **kwargs
): 
1459         """RemoveTraceMask(String str)""" 
1460         return _misc_
.Log_RemoveTraceMask(*args
, **kwargs
) 
1462     RemoveTraceMask 
= staticmethod(RemoveTraceMask
) 
1463     def ClearTraceMasks(*args
, **kwargs
): 
1464         """ClearTraceMasks()""" 
1465         return _misc_
.Log_ClearTraceMasks(*args
, **kwargs
) 
1467     ClearTraceMasks 
= staticmethod(ClearTraceMasks
) 
1468     def GetTraceMasks(*args
, **kwargs
): 
1469         """GetTraceMasks() -> wxArrayString""" 
1470         return _misc_
.Log_GetTraceMasks(*args
, **kwargs
) 
1472     GetTraceMasks 
= staticmethod(GetTraceMasks
) 
1473     def SetTimestamp(*args
, **kwargs
): 
1474         """SetTimestamp(wxChar ts)""" 
1475         return _misc_
.Log_SetTimestamp(*args
, **kwargs
) 
1477     SetTimestamp 
= staticmethod(SetTimestamp
) 
1478     def GetVerbose(*args
, **kwargs
): 
1479         """GetVerbose() -> bool""" 
1480         return _misc_
.Log_GetVerbose(*args
, **kwargs
) 
1482     GetVerbose 
= staticmethod(GetVerbose
) 
1483     def GetTraceMask(*args
, **kwargs
): 
1484         """GetTraceMask() -> wxTraceMask""" 
1485         return _misc_
.Log_GetTraceMask(*args
, **kwargs
) 
1487     GetTraceMask 
= staticmethod(GetTraceMask
) 
1488     def IsAllowedTraceMask(*args
, **kwargs
): 
1489         """IsAllowedTraceMask(wxChar mask) -> bool""" 
1490         return _misc_
.Log_IsAllowedTraceMask(*args
, **kwargs
) 
1492     IsAllowedTraceMask 
= staticmethod(IsAllowedTraceMask
) 
1493     def GetLogLevel(*args
, **kwargs
): 
1494         """GetLogLevel() -> wxLogLevel""" 
1495         return _misc_
.Log_GetLogLevel(*args
, **kwargs
) 
1497     GetLogLevel 
= staticmethod(GetLogLevel
) 
1498     def GetTimestamp(*args
, **kwargs
): 
1499         """GetTimestamp() -> wxChar""" 
1500         return _misc_
.Log_GetTimestamp(*args
, **kwargs
) 
1502     GetTimestamp 
= staticmethod(GetTimestamp
) 
1503     def TimeStamp(*args
, **kwargs
): 
1504         """TimeStamp() -> String""" 
1505         return _misc_
.Log_TimeStamp(*args
, **kwargs
) 
1507     TimeStamp 
= staticmethod(TimeStamp
) 
1508     def Destroy(*args
, **kwargs
): 
1510         val 
= _misc_
.Log_Destroy(*args
, **kwargs
) 
1516     def __init__(self
, this
): 
1518         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1519         self
.__class
__ = Log
 
1520 _misc_
.Log_swigregister(LogPtr
) 
1522 def Log_IsEnabled(*args
, **kwargs
): 
1523     """Log_IsEnabled() -> bool""" 
1524     return _misc_
.Log_IsEnabled(*args
, **kwargs
) 
1526 def Log_EnableLogging(*args
, **kwargs
): 
1527     """Log_EnableLogging(bool doIt=True) -> bool""" 
1528     return _misc_
.Log_EnableLogging(*args
, **kwargs
) 
1530 def Log_OnLog(*args
, **kwargs
): 
1531     """Log_OnLog(wxLogLevel level, wxChar szString, time_t t)""" 
1532     return _misc_
.Log_OnLog(*args
, **kwargs
) 
1534 def Log_FlushActive(*args
, **kwargs
): 
1535     """Log_FlushActive()""" 
1536     return _misc_
.Log_FlushActive(*args
, **kwargs
) 
1538 def Log_GetActiveTarget(*args
, **kwargs
): 
1539     """Log_GetActiveTarget() -> Log""" 
1540     return _misc_
.Log_GetActiveTarget(*args
, **kwargs
) 
1542 def Log_SetActiveTarget(*args
, **kwargs
): 
1543     """Log_SetActiveTarget(Log pLogger) -> Log""" 
1544     return _misc_
.Log_SetActiveTarget(*args
, **kwargs
) 
1546 def Log_Suspend(*args
, **kwargs
): 
1548     return _misc_
.Log_Suspend(*args
, **kwargs
) 
1550 def Log_Resume(*args
, **kwargs
): 
1552     return _misc_
.Log_Resume(*args
, **kwargs
) 
1554 def Log_SetVerbose(*args
, **kwargs
): 
1555     """Log_SetVerbose(bool bVerbose=True)""" 
1556     return _misc_
.Log_SetVerbose(*args
, **kwargs
) 
1558 def Log_SetLogLevel(*args
, **kwargs
): 
1559     """Log_SetLogLevel(wxLogLevel logLevel)""" 
1560     return _misc_
.Log_SetLogLevel(*args
, **kwargs
) 
1562 def Log_DontCreateOnDemand(*args
, **kwargs
): 
1563     """Log_DontCreateOnDemand()""" 
1564     return _misc_
.Log_DontCreateOnDemand(*args
, **kwargs
) 
1566 def Log_SetTraceMask(*args
, **kwargs
): 
1567     """Log_SetTraceMask(wxTraceMask ulMask)""" 
1568     return _misc_
.Log_SetTraceMask(*args
, **kwargs
) 
1570 def Log_AddTraceMask(*args
, **kwargs
): 
1571     """Log_AddTraceMask(String str)""" 
1572     return _misc_
.Log_AddTraceMask(*args
, **kwargs
) 
1574 def Log_RemoveTraceMask(*args
, **kwargs
): 
1575     """Log_RemoveTraceMask(String str)""" 
1576     return _misc_
.Log_RemoveTraceMask(*args
, **kwargs
) 
1578 def Log_ClearTraceMasks(*args
, **kwargs
): 
1579     """Log_ClearTraceMasks()""" 
1580     return _misc_
.Log_ClearTraceMasks(*args
, **kwargs
) 
1582 def Log_GetTraceMasks(*args
, **kwargs
): 
1583     """Log_GetTraceMasks() -> wxArrayString""" 
1584     return _misc_
.Log_GetTraceMasks(*args
, **kwargs
) 
1586 def Log_SetTimestamp(*args
, **kwargs
): 
1587     """Log_SetTimestamp(wxChar ts)""" 
1588     return _misc_
.Log_SetTimestamp(*args
, **kwargs
) 
1590 def Log_GetVerbose(*args
, **kwargs
): 
1591     """Log_GetVerbose() -> bool""" 
1592     return _misc_
.Log_GetVerbose(*args
, **kwargs
) 
1594 def Log_GetTraceMask(*args
, **kwargs
): 
1595     """Log_GetTraceMask() -> wxTraceMask""" 
1596     return _misc_
.Log_GetTraceMask(*args
, **kwargs
) 
1598 def Log_IsAllowedTraceMask(*args
, **kwargs
): 
1599     """Log_IsAllowedTraceMask(wxChar mask) -> bool""" 
1600     return _misc_
.Log_IsAllowedTraceMask(*args
, **kwargs
) 
1602 def Log_GetLogLevel(*args
, **kwargs
): 
1603     """Log_GetLogLevel() -> wxLogLevel""" 
1604     return _misc_
.Log_GetLogLevel(*args
, **kwargs
) 
1606 def Log_GetTimestamp(*args
, **kwargs
): 
1607     """Log_GetTimestamp() -> wxChar""" 
1608     return _misc_
.Log_GetTimestamp(*args
, **kwargs
) 
1610 def Log_TimeStamp(*args
, **kwargs
): 
1611     """Log_TimeStamp() -> String""" 
1612     return _misc_
.Log_TimeStamp(*args
, **kwargs
) 
1614 class LogStderr(Log
): 
1615     """Proxy of C++ LogStderr class""" 
1617         return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1618     def __init__(self
, *args
, **kwargs
): 
1619         """__init__(self) -> LogStderr""" 
1620         newobj 
= _misc_
.new_LogStderr(*args
, **kwargs
) 
1621         self
.this 
= newobj
.this
 
1625 class LogStderrPtr(LogStderr
): 
1626     def __init__(self
, this
): 
1628         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1629         self
.__class
__ = LogStderr
 
1630 _misc_
.LogStderr_swigregister(LogStderrPtr
) 
1632 class LogTextCtrl(Log
): 
1633     """Proxy of C++ LogTextCtrl class""" 
1635         return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1636     def __init__(self
, *args
, **kwargs
): 
1637         """__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl""" 
1638         newobj 
= _misc_
.new_LogTextCtrl(*args
, **kwargs
) 
1639         self
.this 
= newobj
.this
 
1643 class LogTextCtrlPtr(LogTextCtrl
): 
1644     def __init__(self
, this
): 
1646         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1647         self
.__class
__ = LogTextCtrl
 
1648 _misc_
.LogTextCtrl_swigregister(LogTextCtrlPtr
) 
1651     """Proxy of C++ LogGui class""" 
1653         return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1654     def __init__(self
, *args
, **kwargs
): 
1655         """__init__(self) -> LogGui""" 
1656         newobj 
= _misc_
.new_LogGui(*args
, **kwargs
) 
1657         self
.this 
= newobj
.this
 
1661 class LogGuiPtr(LogGui
): 
1662     def __init__(self
, this
): 
1664         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1665         self
.__class
__ = LogGui
 
1666 _misc_
.LogGui_swigregister(LogGuiPtr
) 
1668 class LogWindow(Log
): 
1669     """Proxy of C++ LogWindow class""" 
1671         return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1672     def __init__(self
, *args
, **kwargs
): 
1673         """__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow""" 
1674         newobj 
= _misc_
.new_LogWindow(*args
, **kwargs
) 
1675         self
.this 
= newobj
.this
 
1678     def Show(*args
, **kwargs
): 
1679         """Show(self, bool bShow=True)""" 
1680         return _misc_
.LogWindow_Show(*args
, **kwargs
) 
1682     def GetFrame(*args
, **kwargs
): 
1683         """GetFrame(self) -> wxFrame""" 
1684         return _misc_
.LogWindow_GetFrame(*args
, **kwargs
) 
1686     def GetOldLog(*args
, **kwargs
): 
1687         """GetOldLog(self) -> Log""" 
1688         return _misc_
.LogWindow_GetOldLog(*args
, **kwargs
) 
1690     def IsPassingMessages(*args
, **kwargs
): 
1691         """IsPassingMessages(self) -> bool""" 
1692         return _misc_
.LogWindow_IsPassingMessages(*args
, **kwargs
) 
1694     def PassMessages(*args
, **kwargs
): 
1695         """PassMessages(self, bool bDoPass)""" 
1696         return _misc_
.LogWindow_PassMessages(*args
, **kwargs
) 
1699 class LogWindowPtr(LogWindow
): 
1700     def __init__(self
, this
): 
1702         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1703         self
.__class
__ = LogWindow
 
1704 _misc_
.LogWindow_swigregister(LogWindowPtr
) 
1706 class LogChain(Log
): 
1707     """Proxy of C++ LogChain class""" 
1709         return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1710     def __init__(self
, *args
, **kwargs
): 
1711         """__init__(self, Log logger) -> LogChain""" 
1712         newobj 
= _misc_
.new_LogChain(*args
, **kwargs
) 
1713         self
.this 
= newobj
.this
 
1716     def SetLog(*args
, **kwargs
): 
1717         """SetLog(self, Log logger)""" 
1718         return _misc_
.LogChain_SetLog(*args
, **kwargs
) 
1720     def PassMessages(*args
, **kwargs
): 
1721         """PassMessages(self, bool bDoPass)""" 
1722         return _misc_
.LogChain_PassMessages(*args
, **kwargs
) 
1724     def IsPassingMessages(*args
, **kwargs
): 
1725         """IsPassingMessages(self) -> bool""" 
1726         return _misc_
.LogChain_IsPassingMessages(*args
, **kwargs
) 
1728     def GetOldLog(*args
, **kwargs
): 
1729         """GetOldLog(self) -> Log""" 
1730         return _misc_
.LogChain_GetOldLog(*args
, **kwargs
) 
1733 class LogChainPtr(LogChain
): 
1734     def __init__(self
, this
): 
1736         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1737         self
.__class
__ = LogChain
 
1738 _misc_
.LogChain_swigregister(LogChainPtr
) 
1740 class LogBuffer(Log
): 
1741     """Proxy of C++ LogBuffer class""" 
1743         return "<%s.%s; proxy of C++ wxLogBuffer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1744     def __init__(self
, *args
, **kwargs
): 
1745         """__init__(self) -> LogBuffer""" 
1746         newobj 
= _misc_
.new_LogBuffer(*args
, **kwargs
) 
1747         self
.this 
= newobj
.this
 
1750     def GetBuffer(*args
, **kwargs
): 
1751         """GetBuffer(self) -> String""" 
1752         return _misc_
.LogBuffer_GetBuffer(*args
, **kwargs
) 
1754     def Flush(*args
, **kwargs
): 
1756         return _misc_
.LogBuffer_Flush(*args
, **kwargs
) 
1759 class LogBufferPtr(LogBuffer
): 
1760     def __init__(self
, this
): 
1762         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1763         self
.__class
__ = LogBuffer
 
1764 _misc_
.LogBuffer_swigregister(LogBufferPtr
) 
1767 def SysErrorCode(*args
, **kwargs
): 
1768     """SysErrorCode() -> unsigned long""" 
1769     return _misc_
.SysErrorCode(*args
, **kwargs
) 
1771 def SysErrorMsg(*args
, **kwargs
): 
1772     """SysErrorMsg(unsigned long nErrCode=0) -> String""" 
1773     return _misc_
.SysErrorMsg(*args
, **kwargs
) 
1775 def LogFatalError(*args
, **kwargs
): 
1776     """LogFatalError(String msg)""" 
1777     return _misc_
.LogFatalError(*args
, **kwargs
) 
1779 def LogError(*args
, **kwargs
): 
1780     """LogError(String msg)""" 
1781     return _misc_
.LogError(*args
, **kwargs
) 
1783 def LogWarning(*args
, **kwargs
): 
1784     """LogWarning(String msg)""" 
1785     return _misc_
.LogWarning(*args
, **kwargs
) 
1787 def LogMessage(*args
, **kwargs
): 
1788     """LogMessage(String msg)""" 
1789     return _misc_
.LogMessage(*args
, **kwargs
) 
1791 def LogInfo(*args
, **kwargs
): 
1792     """LogInfo(String msg)""" 
1793     return _misc_
.LogInfo(*args
, **kwargs
) 
1795 def LogDebug(*args
, **kwargs
): 
1796     """LogDebug(String msg)""" 
1797     return _misc_
.LogDebug(*args
, **kwargs
) 
1799 def LogVerbose(*args
, **kwargs
): 
1800     """LogVerbose(String msg)""" 
1801     return _misc_
.LogVerbose(*args
, **kwargs
) 
1803 def LogStatus(*args
, **kwargs
): 
1804     """LogStatus(String msg)""" 
1805     return _misc_
.LogStatus(*args
, **kwargs
) 
1807 def LogStatusFrame(*args
, **kwargs
): 
1808     """LogStatusFrame(wxFrame pFrame, String msg)""" 
1809     return _misc_
.LogStatusFrame(*args
, **kwargs
) 
1811 def LogSysError(*args
, **kwargs
): 
1812     """LogSysError(String msg)""" 
1813     return _misc_
.LogSysError(*args
, **kwargs
) 
1815 def LogGeneric(*args
, **kwargs
): 
1816     """LogGeneric(unsigned long level, String msg)""" 
1817     return _misc_
.LogGeneric(*args
, **kwargs
) 
1819 def SafeShowMessage(*args
, **kwargs
): 
1820     """SafeShowMessage(String title, String text)""" 
1821     return _misc_
.SafeShowMessage(*args
, **kwargs
) 
1822 class LogNull(object): 
1823     """Proxy of C++ LogNull class""" 
1825         return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1826     def __init__(self
, *args
, **kwargs
): 
1827         """__init__(self) -> LogNull""" 
1828         newobj 
= _misc_
.new_LogNull(*args
, **kwargs
) 
1829         self
.this 
= newobj
.this
 
1832     def __del__(self
, destroy
=_misc_
.delete_LogNull
): 
1835             if self
.thisown
: destroy(self
) 
1839 class LogNullPtr(LogNull
): 
1840     def __init__(self
, this
): 
1842         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1843         self
.__class
__ = LogNull
 
1844 _misc_
.LogNull_swigregister(LogNullPtr
) 
1846 def LogTrace(*args
): 
1848     LogTrace(unsigned long mask, String msg) 
1849     LogTrace(String mask, String msg) 
1851     return _misc_
.LogTrace(*args
) 
1854     """Proxy of C++ PyLog class""" 
1856         return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1857     def __init__(self
, *args
, **kwargs
): 
1858         """__init__(self) -> PyLog""" 
1859         newobj 
= _misc_
.new_PyLog(*args
, **kwargs
) 
1860         self
.this 
= newobj
.this
 
1863         self
._setCallbackInfo
(self
, PyLog
) 
1865     def _setCallbackInfo(*args
, **kwargs
): 
1866         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1867         return _misc_
.PyLog__setCallbackInfo(*args
, **kwargs
) 
1870 class PyLogPtr(PyLog
): 
1871     def __init__(self
, this
): 
1873         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1874         self
.__class
__ = PyLog
 
1875 _misc_
.PyLog_swigregister(PyLogPtr
) 
1877 #--------------------------------------------------------------------------- 
1879 PROCESS_DEFAULT 
= _misc_
.PROCESS_DEFAULT
 
1880 PROCESS_REDIRECT 
= _misc_
.PROCESS_REDIRECT
 
1881 KILL_OK 
= _misc_
.KILL_OK
 
1882 KILL_BAD_SIGNAL 
= _misc_
.KILL_BAD_SIGNAL
 
1883 KILL_ACCESS_DENIED 
= _misc_
.KILL_ACCESS_DENIED
 
1884 KILL_NO_PROCESS 
= _misc_
.KILL_NO_PROCESS
 
1885 KILL_ERROR 
= _misc_
.KILL_ERROR
 
1886 KILL_NOCHILDREN 
= _misc_
.KILL_NOCHILDREN
 
1887 KILL_CHILDREN 
= _misc_
.KILL_CHILDREN
 
1888 SIGNONE 
= _misc_
.SIGNONE
 
1889 SIGHUP 
= _misc_
.SIGHUP
 
1890 SIGINT 
= _misc_
.SIGINT
 
1891 SIGQUIT 
= _misc_
.SIGQUIT
 
1892 SIGILL 
= _misc_
.SIGILL
 
1893 SIGTRAP 
= _misc_
.SIGTRAP
 
1894 SIGABRT 
= _misc_
.SIGABRT
 
1895 SIGIOT 
= _misc_
.SIGIOT
 
1896 SIGEMT 
= _misc_
.SIGEMT
 
1897 SIGFPE 
= _misc_
.SIGFPE
 
1898 SIGKILL 
= _misc_
.SIGKILL
 
1899 SIGBUS 
= _misc_
.SIGBUS
 
1900 SIGSEGV 
= _misc_
.SIGSEGV
 
1901 SIGSYS 
= _misc_
.SIGSYS
 
1902 SIGPIPE 
= _misc_
.SIGPIPE
 
1903 SIGALRM 
= _misc_
.SIGALRM
 
1904 SIGTERM 
= _misc_
.SIGTERM
 
1905 class Process(_core
.EvtHandler
): 
1906     """Proxy of C++ Process class""" 
1908         return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1909     def Kill(*args
, **kwargs
): 
1910         """Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int""" 
1911         return _misc_
.Process_Kill(*args
, **kwargs
) 
1913     Kill 
= staticmethod(Kill
) 
1914     def Exists(*args
, **kwargs
): 
1915         """Exists(int pid) -> bool""" 
1916         return _misc_
.Process_Exists(*args
, **kwargs
) 
1918     Exists 
= staticmethod(Exists
) 
1919     def Open(*args
, **kwargs
): 
1920         """Open(String cmd, int flags=EXEC_ASYNC) -> Process""" 
1921         return _misc_
.Process_Open(*args
, **kwargs
) 
1923     Open 
= staticmethod(Open
) 
1924     def __init__(self
, *args
, **kwargs
): 
1925         """__init__(self, EvtHandler parent=None, int id=-1) -> Process""" 
1926         newobj 
= _misc_
.new_Process(*args
, **kwargs
) 
1927         self
.this 
= newobj
.this
 
1930         self
._setCallbackInfo
(self
, Process
) 
1932     def _setCallbackInfo(*args
, **kwargs
): 
1933         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1934         return _misc_
.Process__setCallbackInfo(*args
, **kwargs
) 
1936     def base_OnTerminate(*args
, **kwargs
): 
1937         """base_OnTerminate(self, int pid, int status)""" 
1938         return _misc_
.Process_base_OnTerminate(*args
, **kwargs
) 
1940     def Redirect(*args
, **kwargs
): 
1941         """Redirect(self)""" 
1942         return _misc_
.Process_Redirect(*args
, **kwargs
) 
1944     def IsRedirected(*args
, **kwargs
): 
1945         """IsRedirected(self) -> bool""" 
1946         return _misc_
.Process_IsRedirected(*args
, **kwargs
) 
1948     def Detach(*args
, **kwargs
): 
1950         return _misc_
.Process_Detach(*args
, **kwargs
) 
1952     def GetInputStream(*args
, **kwargs
): 
1953         """GetInputStream(self) -> InputStream""" 
1954         return _misc_
.Process_GetInputStream(*args
, **kwargs
) 
1956     def GetErrorStream(*args
, **kwargs
): 
1957         """GetErrorStream(self) -> InputStream""" 
1958         return _misc_
.Process_GetErrorStream(*args
, **kwargs
) 
1960     def GetOutputStream(*args
, **kwargs
): 
1961         """GetOutputStream(self) -> OutputStream""" 
1962         return _misc_
.Process_GetOutputStream(*args
, **kwargs
) 
1964     def CloseOutput(*args
, **kwargs
): 
1965         """CloseOutput(self)""" 
1966         return _misc_
.Process_CloseOutput(*args
, **kwargs
) 
1968     def IsInputOpened(*args
, **kwargs
): 
1969         """IsInputOpened(self) -> bool""" 
1970         return _misc_
.Process_IsInputOpened(*args
, **kwargs
) 
1972     def IsInputAvailable(*args
, **kwargs
): 
1973         """IsInputAvailable(self) -> bool""" 
1974         return _misc_
.Process_IsInputAvailable(*args
, **kwargs
) 
1976     def IsErrorAvailable(*args
, **kwargs
): 
1977         """IsErrorAvailable(self) -> bool""" 
1978         return _misc_
.Process_IsErrorAvailable(*args
, **kwargs
) 
1981 class ProcessPtr(Process
): 
1982     def __init__(self
, this
): 
1984         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1985         self
.__class
__ = Process
 
1986 _misc_
.Process_swigregister(ProcessPtr
) 
1988 def Process_Kill(*args
, **kwargs
): 
1989     """Process_Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int""" 
1990     return _misc_
.Process_Kill(*args
, **kwargs
) 
1992 def Process_Exists(*args
, **kwargs
): 
1993     """Process_Exists(int pid) -> bool""" 
1994     return _misc_
.Process_Exists(*args
, **kwargs
) 
1996 def Process_Open(*args
, **kwargs
): 
1997     """Process_Open(String cmd, int flags=EXEC_ASYNC) -> Process""" 
1998     return _misc_
.Process_Open(*args
, **kwargs
) 
2000 class ProcessEvent(_core
.Event
): 
2001     """Proxy of C++ ProcessEvent class""" 
2003         return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2004     def __init__(self
, *args
, **kwargs
): 
2005         """__init__(self, int id=0, int pid=0, int exitcode=0) -> ProcessEvent""" 
2006         newobj 
= _misc_
.new_ProcessEvent(*args
, **kwargs
) 
2007         self
.this 
= newobj
.this
 
2010     def GetPid(*args
, **kwargs
): 
2011         """GetPid(self) -> int""" 
2012         return _misc_
.ProcessEvent_GetPid(*args
, **kwargs
) 
2014     def GetExitCode(*args
, **kwargs
): 
2015         """GetExitCode(self) -> int""" 
2016         return _misc_
.ProcessEvent_GetExitCode(*args
, **kwargs
) 
2018     m_pid 
= property(_misc_
.ProcessEvent_m_pid_get
, _misc_
.ProcessEvent_m_pid_set
) 
2019     m_exitcode 
= property(_misc_
.ProcessEvent_m_exitcode_get
, _misc_
.ProcessEvent_m_exitcode_set
) 
2021 class ProcessEventPtr(ProcessEvent
): 
2022     def __init__(self
, this
): 
2024         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2025         self
.__class
__ = ProcessEvent
 
2026 _misc_
.ProcessEvent_swigregister(ProcessEventPtr
) 
2028 wxEVT_END_PROCESS 
= _misc_
.wxEVT_END_PROCESS
 
2029 EVT_END_PROCESS 
= wx
.PyEventBinder( wxEVT_END_PROCESS
, 1 ) 
2031 EXEC_ASYNC 
= _misc_
.EXEC_ASYNC
 
2032 EXEC_SYNC 
= _misc_
.EXEC_SYNC
 
2033 EXEC_NOHIDE 
= _misc_
.EXEC_NOHIDE
 
2034 EXEC_MAKE_GROUP_LEADER 
= _misc_
.EXEC_MAKE_GROUP_LEADER
 
2035 EXEC_NODISABLE 
= _misc_
.EXEC_NODISABLE
 
2037 def Execute(*args
, **kwargs
): 
2038     """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long""" 
2039     return _misc_
.Execute(*args
, **kwargs
) 
2041 def Kill(*args
, **kwargs
): 
2042     """Kill(long pid, int sig=SIGTERM, int rc, int flags=KILL_NOCHILDREN) -> int""" 
2043     return _misc_
.Kill(*args
, **kwargs
) 
2044 #--------------------------------------------------------------------------- 
2046 JOYSTICK1 
= _misc_
.JOYSTICK1
 
2047 JOYSTICK2 
= _misc_
.JOYSTICK2
 
2048 JOY_BUTTON_ANY 
= _misc_
.JOY_BUTTON_ANY
 
2049 JOY_BUTTON1 
= _misc_
.JOY_BUTTON1
 
2050 JOY_BUTTON2 
= _misc_
.JOY_BUTTON2
 
2051 JOY_BUTTON3 
= _misc_
.JOY_BUTTON3
 
2052 JOY_BUTTON4 
= _misc_
.JOY_BUTTON4
 
2053 class Joystick(object): 
2054     """Proxy of C++ Joystick class""" 
2056         return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2057     def __init__(self
, *args
, **kwargs
): 
2058         """__init__(self, int joystick=JOYSTICK1) -> Joystick""" 
2059         newobj 
= _misc_
.new_Joystick(*args
, **kwargs
) 
2060         self
.this 
= newobj
.this
 
2063     def __del__(self
, destroy
=_misc_
.delete_Joystick
): 
2066             if self
.thisown
: destroy(self
) 
2069     def GetPosition(*args
, **kwargs
): 
2070         """GetPosition(self) -> Point""" 
2071         return _misc_
.Joystick_GetPosition(*args
, **kwargs
) 
2073     def GetZPosition(*args
, **kwargs
): 
2074         """GetZPosition(self) -> int""" 
2075         return _misc_
.Joystick_GetZPosition(*args
, **kwargs
) 
2077     def GetButtonState(*args
, **kwargs
): 
2078         """GetButtonState(self) -> int""" 
2079         return _misc_
.Joystick_GetButtonState(*args
, **kwargs
) 
2081     def GetPOVPosition(*args
, **kwargs
): 
2082         """GetPOVPosition(self) -> int""" 
2083         return _misc_
.Joystick_GetPOVPosition(*args
, **kwargs
) 
2085     def GetPOVCTSPosition(*args
, **kwargs
): 
2086         """GetPOVCTSPosition(self) -> int""" 
2087         return _misc_
.Joystick_GetPOVCTSPosition(*args
, **kwargs
) 
2089     def GetRudderPosition(*args
, **kwargs
): 
2090         """GetRudderPosition(self) -> int""" 
2091         return _misc_
.Joystick_GetRudderPosition(*args
, **kwargs
) 
2093     def GetUPosition(*args
, **kwargs
): 
2094         """GetUPosition(self) -> int""" 
2095         return _misc_
.Joystick_GetUPosition(*args
, **kwargs
) 
2097     def GetVPosition(*args
, **kwargs
): 
2098         """GetVPosition(self) -> int""" 
2099         return _misc_
.Joystick_GetVPosition(*args
, **kwargs
) 
2101     def GetMovementThreshold(*args
, **kwargs
): 
2102         """GetMovementThreshold(self) -> int""" 
2103         return _misc_
.Joystick_GetMovementThreshold(*args
, **kwargs
) 
2105     def SetMovementThreshold(*args
, **kwargs
): 
2106         """SetMovementThreshold(self, int threshold)""" 
2107         return _misc_
.Joystick_SetMovementThreshold(*args
, **kwargs
) 
2109     def IsOk(*args
, **kwargs
): 
2110         """IsOk(self) -> bool""" 
2111         return _misc_
.Joystick_IsOk(*args
, **kwargs
) 
2113     def GetNumberJoysticks(*args
, **kwargs
): 
2114         """GetNumberJoysticks(self) -> int""" 
2115         return _misc_
.Joystick_GetNumberJoysticks(*args
, **kwargs
) 
2117     def GetManufacturerId(*args
, **kwargs
): 
2118         """GetManufacturerId(self) -> int""" 
2119         return _misc_
.Joystick_GetManufacturerId(*args
, **kwargs
) 
2121     def GetProductId(*args
, **kwargs
): 
2122         """GetProductId(self) -> int""" 
2123         return _misc_
.Joystick_GetProductId(*args
, **kwargs
) 
2125     def GetProductName(*args
, **kwargs
): 
2126         """GetProductName(self) -> String""" 
2127         return _misc_
.Joystick_GetProductName(*args
, **kwargs
) 
2129     def GetXMin(*args
, **kwargs
): 
2130         """GetXMin(self) -> int""" 
2131         return _misc_
.Joystick_GetXMin(*args
, **kwargs
) 
2133     def GetYMin(*args
, **kwargs
): 
2134         """GetYMin(self) -> int""" 
2135         return _misc_
.Joystick_GetYMin(*args
, **kwargs
) 
2137     def GetZMin(*args
, **kwargs
): 
2138         """GetZMin(self) -> int""" 
2139         return _misc_
.Joystick_GetZMin(*args
, **kwargs
) 
2141     def GetXMax(*args
, **kwargs
): 
2142         """GetXMax(self) -> int""" 
2143         return _misc_
.Joystick_GetXMax(*args
, **kwargs
) 
2145     def GetYMax(*args
, **kwargs
): 
2146         """GetYMax(self) -> int""" 
2147         return _misc_
.Joystick_GetYMax(*args
, **kwargs
) 
2149     def GetZMax(*args
, **kwargs
): 
2150         """GetZMax(self) -> int""" 
2151         return _misc_
.Joystick_GetZMax(*args
, **kwargs
) 
2153     def GetNumberButtons(*args
, **kwargs
): 
2154         """GetNumberButtons(self) -> int""" 
2155         return _misc_
.Joystick_GetNumberButtons(*args
, **kwargs
) 
2157     def GetNumberAxes(*args
, **kwargs
): 
2158         """GetNumberAxes(self) -> int""" 
2159         return _misc_
.Joystick_GetNumberAxes(*args
, **kwargs
) 
2161     def GetMaxButtons(*args
, **kwargs
): 
2162         """GetMaxButtons(self) -> int""" 
2163         return _misc_
.Joystick_GetMaxButtons(*args
, **kwargs
) 
2165     def GetMaxAxes(*args
, **kwargs
): 
2166         """GetMaxAxes(self) -> int""" 
2167         return _misc_
.Joystick_GetMaxAxes(*args
, **kwargs
) 
2169     def GetPollingMin(*args
, **kwargs
): 
2170         """GetPollingMin(self) -> int""" 
2171         return _misc_
.Joystick_GetPollingMin(*args
, **kwargs
) 
2173     def GetPollingMax(*args
, **kwargs
): 
2174         """GetPollingMax(self) -> int""" 
2175         return _misc_
.Joystick_GetPollingMax(*args
, **kwargs
) 
2177     def GetRudderMin(*args
, **kwargs
): 
2178         """GetRudderMin(self) -> int""" 
2179         return _misc_
.Joystick_GetRudderMin(*args
, **kwargs
) 
2181     def GetRudderMax(*args
, **kwargs
): 
2182         """GetRudderMax(self) -> int""" 
2183         return _misc_
.Joystick_GetRudderMax(*args
, **kwargs
) 
2185     def GetUMin(*args
, **kwargs
): 
2186         """GetUMin(self) -> int""" 
2187         return _misc_
.Joystick_GetUMin(*args
, **kwargs
) 
2189     def GetUMax(*args
, **kwargs
): 
2190         """GetUMax(self) -> int""" 
2191         return _misc_
.Joystick_GetUMax(*args
, **kwargs
) 
2193     def GetVMin(*args
, **kwargs
): 
2194         """GetVMin(self) -> int""" 
2195         return _misc_
.Joystick_GetVMin(*args
, **kwargs
) 
2197     def GetVMax(*args
, **kwargs
): 
2198         """GetVMax(self) -> int""" 
2199         return _misc_
.Joystick_GetVMax(*args
, **kwargs
) 
2201     def HasRudder(*args
, **kwargs
): 
2202         """HasRudder(self) -> bool""" 
2203         return _misc_
.Joystick_HasRudder(*args
, **kwargs
) 
2205     def HasZ(*args
, **kwargs
): 
2206         """HasZ(self) -> bool""" 
2207         return _misc_
.Joystick_HasZ(*args
, **kwargs
) 
2209     def HasU(*args
, **kwargs
): 
2210         """HasU(self) -> bool""" 
2211         return _misc_
.Joystick_HasU(*args
, **kwargs
) 
2213     def HasV(*args
, **kwargs
): 
2214         """HasV(self) -> bool""" 
2215         return _misc_
.Joystick_HasV(*args
, **kwargs
) 
2217     def HasPOV(*args
, **kwargs
): 
2218         """HasPOV(self) -> bool""" 
2219         return _misc_
.Joystick_HasPOV(*args
, **kwargs
) 
2221     def HasPOV4Dir(*args
, **kwargs
): 
2222         """HasPOV4Dir(self) -> bool""" 
2223         return _misc_
.Joystick_HasPOV4Dir(*args
, **kwargs
) 
2225     def HasPOVCTS(*args
, **kwargs
): 
2226         """HasPOVCTS(self) -> bool""" 
2227         return _misc_
.Joystick_HasPOVCTS(*args
, **kwargs
) 
2229     def SetCapture(*args
, **kwargs
): 
2230         """SetCapture(self, Window win, int pollingFreq=0) -> bool""" 
2231         return _misc_
.Joystick_SetCapture(*args
, **kwargs
) 
2233     def ReleaseCapture(*args
, **kwargs
): 
2234         """ReleaseCapture(self) -> bool""" 
2235         return _misc_
.Joystick_ReleaseCapture(*args
, **kwargs
) 
2237     def __nonzero__(self
): return self
.IsOk()  
2239 class JoystickPtr(Joystick
): 
2240     def __init__(self
, this
): 
2242         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2243         self
.__class
__ = Joystick
 
2244 _misc_
.Joystick_swigregister(JoystickPtr
) 
2246 wxEVT_JOY_BUTTON_DOWN 
= _misc_
.wxEVT_JOY_BUTTON_DOWN
 
2247 wxEVT_JOY_BUTTON_UP 
= _misc_
.wxEVT_JOY_BUTTON_UP
 
2248 wxEVT_JOY_MOVE 
= _misc_
.wxEVT_JOY_MOVE
 
2249 wxEVT_JOY_ZMOVE 
= _misc_
.wxEVT_JOY_ZMOVE
 
2250 class JoystickEvent(_core
.Event
): 
2251     """Proxy of C++ JoystickEvent class""" 
2253         return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2254     def __init__(self
, *args
, **kwargs
): 
2256         __init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,  
2257             int change=0) -> JoystickEvent 
2259         newobj 
= _misc_
.new_JoystickEvent(*args
, **kwargs
) 
2260         self
.this 
= newobj
.this
 
2263     def GetPosition(*args
, **kwargs
): 
2264         """GetPosition(self) -> Point""" 
2265         return _misc_
.JoystickEvent_GetPosition(*args
, **kwargs
) 
2267     def GetZPosition(*args
, **kwargs
): 
2268         """GetZPosition(self) -> int""" 
2269         return _misc_
.JoystickEvent_GetZPosition(*args
, **kwargs
) 
2271     def GetButtonState(*args
, **kwargs
): 
2272         """GetButtonState(self) -> int""" 
2273         return _misc_
.JoystickEvent_GetButtonState(*args
, **kwargs
) 
2275     def GetButtonChange(*args
, **kwargs
): 
2276         """GetButtonChange(self) -> int""" 
2277         return _misc_
.JoystickEvent_GetButtonChange(*args
, **kwargs
) 
2279     def GetJoystick(*args
, **kwargs
): 
2280         """GetJoystick(self) -> int""" 
2281         return _misc_
.JoystickEvent_GetJoystick(*args
, **kwargs
) 
2283     def SetJoystick(*args
, **kwargs
): 
2284         """SetJoystick(self, int stick)""" 
2285         return _misc_
.JoystickEvent_SetJoystick(*args
, **kwargs
) 
2287     def SetButtonState(*args
, **kwargs
): 
2288         """SetButtonState(self, int state)""" 
2289         return _misc_
.JoystickEvent_SetButtonState(*args
, **kwargs
) 
2291     def SetButtonChange(*args
, **kwargs
): 
2292         """SetButtonChange(self, int change)""" 
2293         return _misc_
.JoystickEvent_SetButtonChange(*args
, **kwargs
) 
2295     def SetPosition(*args
, **kwargs
): 
2296         """SetPosition(self, Point pos)""" 
2297         return _misc_
.JoystickEvent_SetPosition(*args
, **kwargs
) 
2299     def SetZPosition(*args
, **kwargs
): 
2300         """SetZPosition(self, int zPos)""" 
2301         return _misc_
.JoystickEvent_SetZPosition(*args
, **kwargs
) 
2303     def IsButton(*args
, **kwargs
): 
2304         """IsButton(self) -> bool""" 
2305         return _misc_
.JoystickEvent_IsButton(*args
, **kwargs
) 
2307     def IsMove(*args
, **kwargs
): 
2308         """IsMove(self) -> bool""" 
2309         return _misc_
.JoystickEvent_IsMove(*args
, **kwargs
) 
2311     def IsZMove(*args
, **kwargs
): 
2312         """IsZMove(self) -> bool""" 
2313         return _misc_
.JoystickEvent_IsZMove(*args
, **kwargs
) 
2315     def ButtonDown(*args
, **kwargs
): 
2316         """ButtonDown(self, int but=JOY_BUTTON_ANY) -> bool""" 
2317         return _misc_
.JoystickEvent_ButtonDown(*args
, **kwargs
) 
2319     def ButtonUp(*args
, **kwargs
): 
2320         """ButtonUp(self, int but=JOY_BUTTON_ANY) -> bool""" 
2321         return _misc_
.JoystickEvent_ButtonUp(*args
, **kwargs
) 
2323     def ButtonIsDown(*args
, **kwargs
): 
2324         """ButtonIsDown(self, int but=JOY_BUTTON_ANY) -> bool""" 
2325         return _misc_
.JoystickEvent_ButtonIsDown(*args
, **kwargs
) 
2327     m_pos 
= property(GetPosition
, SetPosition
) 
2328     m_zPosition 
= property(GetZPosition
, SetZPosition
) 
2329     m_buttonChange 
= property(GetButtonChange
, SetButtonChange
) 
2330     m_buttonState 
= property(GetButtonState
, SetButtonState
) 
2331     m_joyStick 
= property(GetJoystick
, SetJoystick
) 
2334 class JoystickEventPtr(JoystickEvent
): 
2335     def __init__(self
, this
): 
2337         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2338         self
.__class
__ = JoystickEvent
 
2339 _misc_
.JoystickEvent_swigregister(JoystickEventPtr
) 
2341 EVT_JOY_BUTTON_DOWN 
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_DOWN 
) 
2342 EVT_JOY_BUTTON_UP 
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_UP 
) 
2343 EVT_JOY_MOVE 
= wx
.PyEventBinder( wxEVT_JOY_MOVE 
) 
2344 EVT_JOY_ZMOVE 
= wx
.PyEventBinder( wxEVT_JOY_ZMOVE 
) 
2346 EVT_JOYSTICK_EVENTS 
= wx
.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN
, 
2347                                         wxEVT_JOY_BUTTON_UP
,  
2353 #--------------------------------------------------------------------------- 
2355 SOUND_SYNC 
= _misc_
.SOUND_SYNC
 
2356 SOUND_ASYNC 
= _misc_
.SOUND_ASYNC
 
2357 SOUND_LOOP 
= _misc_
.SOUND_LOOP
 
2358 class Sound(object): 
2359     """Proxy of C++ Sound class""" 
2361         return "<%s.%s; proxy of C++ wxSound instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2362     def __init__(self
, *args
, **kwargs
): 
2363         """__init__(self, String fileName=EmptyString) -> Sound""" 
2364         newobj 
= _misc_
.new_Sound(*args
, **kwargs
) 
2365         self
.this 
= newobj
.this
 
2368     def __del__(self
, destroy
=_misc_
.delete_Sound
): 
2371             if self
.thisown
: destroy(self
) 
2374     def Create(*args
, **kwargs
): 
2375         """Create(self, String fileName) -> bool""" 
2376         return _misc_
.Sound_Create(*args
, **kwargs
) 
2378     def CreateFromData(*args
, **kwargs
): 
2379         """CreateFromData(self, PyObject data) -> bool""" 
2380         return _misc_
.Sound_CreateFromData(*args
, **kwargs
) 
2382     def IsOk(*args
, **kwargs
): 
2383         """IsOk(self) -> bool""" 
2384         return _misc_
.Sound_IsOk(*args
, **kwargs
) 
2386     def Play(*args
, **kwargs
): 
2387         """Play(self, unsigned int flags=SOUND_ASYNC) -> bool""" 
2388         return _misc_
.Sound_Play(*args
, **kwargs
) 
2390     def PlaySound(*args
, **kwargs
): 
2391         """PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool""" 
2392         return _misc_
.Sound_PlaySound(*args
, **kwargs
) 
2394     PlaySound 
= staticmethod(PlaySound
) 
2395     def Stop(*args
, **kwargs
): 
2397         return _misc_
.Sound_Stop(*args
, **kwargs
) 
2399     Stop 
= staticmethod(Stop
) 
2400     def __nonzero__(self
): return self
.IsOk()  
2402 class SoundPtr(Sound
): 
2403     def __init__(self
, this
): 
2405         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2406         self
.__class
__ = Sound
 
2407 _misc_
.Sound_swigregister(SoundPtr
) 
2409 def SoundFromData(*args
, **kwargs
): 
2410     """SoundFromData(PyObject data) -> Sound""" 
2411     val 
= _misc_
.new_SoundFromData(*args
, **kwargs
) 
2415 def Sound_PlaySound(*args
, **kwargs
): 
2416     """Sound_PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool""" 
2417     return _misc_
.Sound_PlaySound(*args
, **kwargs
) 
2419 def Sound_Stop(*args
, **kwargs
): 
2421     return _misc_
.Sound_Stop(*args
, **kwargs
) 
2423 #--------------------------------------------------------------------------- 
2425 MAILCAP_STANDARD 
= _misc_
.MAILCAP_STANDARD
 
2426 MAILCAP_NETSCAPE 
= _misc_
.MAILCAP_NETSCAPE
 
2427 MAILCAP_KDE 
= _misc_
.MAILCAP_KDE
 
2428 MAILCAP_GNOME 
= _misc_
.MAILCAP_GNOME
 
2429 MAILCAP_ALL 
= _misc_
.MAILCAP_ALL
 
2430 class FileTypeInfo(object): 
2431     """Proxy of C++ FileTypeInfo class""" 
2433         return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2434     def __init__(self
, *args
, **kwargs
): 
2435         """__init__(self, String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo""" 
2436         newobj 
= _misc_
.new_FileTypeInfo(*args
, **kwargs
) 
2437         self
.this 
= newobj
.this
 
2440     def IsValid(*args
, **kwargs
): 
2441         """IsValid(self) -> bool""" 
2442         return _misc_
.FileTypeInfo_IsValid(*args
, **kwargs
) 
2444     def SetIcon(*args
, **kwargs
): 
2445         """SetIcon(self, String iconFile, int iconIndex=0)""" 
2446         return _misc_
.FileTypeInfo_SetIcon(*args
, **kwargs
) 
2448     def SetShortDesc(*args
, **kwargs
): 
2449         """SetShortDesc(self, String shortDesc)""" 
2450         return _misc_
.FileTypeInfo_SetShortDesc(*args
, **kwargs
) 
2452     def GetMimeType(*args
, **kwargs
): 
2453         """GetMimeType(self) -> String""" 
2454         return _misc_
.FileTypeInfo_GetMimeType(*args
, **kwargs
) 
2456     def GetOpenCommand(*args
, **kwargs
): 
2457         """GetOpenCommand(self) -> String""" 
2458         return _misc_
.FileTypeInfo_GetOpenCommand(*args
, **kwargs
) 
2460     def GetPrintCommand(*args
, **kwargs
): 
2461         """GetPrintCommand(self) -> String""" 
2462         return _misc_
.FileTypeInfo_GetPrintCommand(*args
, **kwargs
) 
2464     def GetShortDesc(*args
, **kwargs
): 
2465         """GetShortDesc(self) -> String""" 
2466         return _misc_
.FileTypeInfo_GetShortDesc(*args
, **kwargs
) 
2468     def GetDescription(*args
, **kwargs
): 
2469         """GetDescription(self) -> String""" 
2470         return _misc_
.FileTypeInfo_GetDescription(*args
, **kwargs
) 
2472     def GetExtensions(*args
, **kwargs
): 
2473         """GetExtensions(self) -> wxArrayString""" 
2474         return _misc_
.FileTypeInfo_GetExtensions(*args
, **kwargs
) 
2476     def GetExtensionsCount(*args
, **kwargs
): 
2477         """GetExtensionsCount(self) -> int""" 
2478         return _misc_
.FileTypeInfo_GetExtensionsCount(*args
, **kwargs
) 
2480     def GetIconFile(*args
, **kwargs
): 
2481         """GetIconFile(self) -> String""" 
2482         return _misc_
.FileTypeInfo_GetIconFile(*args
, **kwargs
) 
2484     def GetIconIndex(*args
, **kwargs
): 
2485         """GetIconIndex(self) -> int""" 
2486         return _misc_
.FileTypeInfo_GetIconIndex(*args
, **kwargs
) 
2489 class FileTypeInfoPtr(FileTypeInfo
): 
2490     def __init__(self
, this
): 
2492         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2493         self
.__class
__ = FileTypeInfo
 
2494 _misc_
.FileTypeInfo_swigregister(FileTypeInfoPtr
) 
2496 def FileTypeInfoSequence(*args
, **kwargs
): 
2497     """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo""" 
2498     val 
= _misc_
.new_FileTypeInfoSequence(*args
, **kwargs
) 
2502 def NullFileTypeInfo(*args
, **kwargs
): 
2503     """NullFileTypeInfo() -> FileTypeInfo""" 
2504     val 
= _misc_
.new_NullFileTypeInfo(*args
, **kwargs
) 
2508 class FileType(object): 
2509     """Proxy of C++ FileType class""" 
2511         return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2512     def __init__(self
, *args
, **kwargs
): 
2513         """__init__(self, FileTypeInfo ftInfo) -> FileType""" 
2514         newobj 
= _misc_
.new_FileType(*args
, **kwargs
) 
2515         self
.this 
= newobj
.this
 
2518     def __del__(self
, destroy
=_misc_
.delete_FileType
): 
2521             if self
.thisown
: destroy(self
) 
2524     def GetMimeType(*args
, **kwargs
): 
2525         """GetMimeType(self) -> PyObject""" 
2526         return _misc_
.FileType_GetMimeType(*args
, **kwargs
) 
2528     def GetMimeTypes(*args
, **kwargs
): 
2529         """GetMimeTypes(self) -> PyObject""" 
2530         return _misc_
.FileType_GetMimeTypes(*args
, **kwargs
) 
2532     def GetExtensions(*args
, **kwargs
): 
2533         """GetExtensions(self) -> PyObject""" 
2534         return _misc_
.FileType_GetExtensions(*args
, **kwargs
) 
2536     def GetIcon(*args
, **kwargs
): 
2537         """GetIcon(self) -> Icon""" 
2538         return _misc_
.FileType_GetIcon(*args
, **kwargs
) 
2540     def GetIconInfo(*args
, **kwargs
): 
2541         """GetIconInfo(self) -> PyObject""" 
2542         return _misc_
.FileType_GetIconInfo(*args
, **kwargs
) 
2544     def GetDescription(*args
, **kwargs
): 
2545         """GetDescription(self) -> PyObject""" 
2546         return _misc_
.FileType_GetDescription(*args
, **kwargs
) 
2548     def GetOpenCommand(*args
, **kwargs
): 
2549         """GetOpenCommand(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2550         return _misc_
.FileType_GetOpenCommand(*args
, **kwargs
) 
2552     def GetPrintCommand(*args
, **kwargs
): 
2553         """GetPrintCommand(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2554         return _misc_
.FileType_GetPrintCommand(*args
, **kwargs
) 
2556     def GetAllCommands(*args
, **kwargs
): 
2557         """GetAllCommands(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2558         return _misc_
.FileType_GetAllCommands(*args
, **kwargs
) 
2560     def SetCommand(*args
, **kwargs
): 
2561         """SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -> bool""" 
2562         return _misc_
.FileType_SetCommand(*args
, **kwargs
) 
2564     def SetDefaultIcon(*args
, **kwargs
): 
2565         """SetDefaultIcon(self, String cmd=EmptyString, int index=0) -> bool""" 
2566         return _misc_
.FileType_SetDefaultIcon(*args
, **kwargs
) 
2568     def Unassociate(*args
, **kwargs
): 
2569         """Unassociate(self) -> bool""" 
2570         return _misc_
.FileType_Unassociate(*args
, **kwargs
) 
2572     def ExpandCommand(*args
, **kwargs
): 
2573         """ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" 
2574         return _misc_
.FileType_ExpandCommand(*args
, **kwargs
) 
2576     ExpandCommand 
= staticmethod(ExpandCommand
) 
2578 class FileTypePtr(FileType
): 
2579     def __init__(self
, this
): 
2581         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2582         self
.__class
__ = FileType
 
2583 _misc_
.FileType_swigregister(FileTypePtr
) 
2585 def FileType_ExpandCommand(*args
, **kwargs
): 
2586     """FileType_ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" 
2587     return _misc_
.FileType_ExpandCommand(*args
, **kwargs
) 
2589 class MimeTypesManager(object): 
2590     """Proxy of C++ MimeTypesManager class""" 
2592         return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2593     def IsOfType(*args
, **kwargs
): 
2594         """IsOfType(String mimeType, String wildcard) -> bool""" 
2595         return _misc_
.MimeTypesManager_IsOfType(*args
, **kwargs
) 
2597     IsOfType 
= staticmethod(IsOfType
) 
2598     def __init__(self
, *args
, **kwargs
): 
2599         """__init__(self) -> MimeTypesManager""" 
2600         newobj 
= _misc_
.new_MimeTypesManager(*args
, **kwargs
) 
2601         self
.this 
= newobj
.this
 
2604     def Initialize(*args
, **kwargs
): 
2605         """Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)""" 
2606         return _misc_
.MimeTypesManager_Initialize(*args
, **kwargs
) 
2608     def ClearData(*args
, **kwargs
): 
2609         """ClearData(self)""" 
2610         return _misc_
.MimeTypesManager_ClearData(*args
, **kwargs
) 
2612     def GetFileTypeFromExtension(*args
, **kwargs
): 
2613         """GetFileTypeFromExtension(self, String ext) -> FileType""" 
2614         return _misc_
.MimeTypesManager_GetFileTypeFromExtension(*args
, **kwargs
) 
2616     def GetFileTypeFromMimeType(*args
, **kwargs
): 
2617         """GetFileTypeFromMimeType(self, String mimeType) -> FileType""" 
2618         return _misc_
.MimeTypesManager_GetFileTypeFromMimeType(*args
, **kwargs
) 
2620     def ReadMailcap(*args
, **kwargs
): 
2621         """ReadMailcap(self, String filename, bool fallback=False) -> bool""" 
2622         return _misc_
.MimeTypesManager_ReadMailcap(*args
, **kwargs
) 
2624     def ReadMimeTypes(*args
, **kwargs
): 
2625         """ReadMimeTypes(self, String filename) -> bool""" 
2626         return _misc_
.MimeTypesManager_ReadMimeTypes(*args
, **kwargs
) 
2628     def EnumAllFileTypes(*args
, **kwargs
): 
2629         """EnumAllFileTypes(self) -> PyObject""" 
2630         return _misc_
.MimeTypesManager_EnumAllFileTypes(*args
, **kwargs
) 
2632     def AddFallback(*args
, **kwargs
): 
2633         """AddFallback(self, FileTypeInfo ft)""" 
2634         return _misc_
.MimeTypesManager_AddFallback(*args
, **kwargs
) 
2636     def Associate(*args
, **kwargs
): 
2637         """Associate(self, FileTypeInfo ftInfo) -> FileType""" 
2638         return _misc_
.MimeTypesManager_Associate(*args
, **kwargs
) 
2640     def Unassociate(*args
, **kwargs
): 
2641         """Unassociate(self, FileType ft) -> bool""" 
2642         return _misc_
.MimeTypesManager_Unassociate(*args
, **kwargs
) 
2644     def __del__(self
, destroy
=_misc_
.delete_MimeTypesManager
): 
2647             if self
.thisown
: destroy(self
) 
2651 class MimeTypesManagerPtr(MimeTypesManager
): 
2652     def __init__(self
, this
): 
2654         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2655         self
.__class
__ = MimeTypesManager
 
2656 _misc_
.MimeTypesManager_swigregister(MimeTypesManagerPtr
) 
2657 TheMimeTypesManager 
= cvar
.TheMimeTypesManager
 
2659 def MimeTypesManager_IsOfType(*args
, **kwargs
): 
2660     """MimeTypesManager_IsOfType(String mimeType, String wildcard) -> bool""" 
2661     return _misc_
.MimeTypesManager_IsOfType(*args
, **kwargs
) 
2663 #--------------------------------------------------------------------------- 
2665 class ArtProvider(object): 
2667     The wx.ArtProvider class is used to customize the look of wxWidgets 
2668     application. When wxWidgets needs to display an icon or a bitmap (e.g. 
2669     in the standard file dialog), it does not use hard-coded resource but 
2670     asks wx.ArtProvider for it instead. This way the users can plug in 
2671     their own wx.ArtProvider class and easily replace standard art with 
2672     his/her own version. It is easy thing to do: all that is needed is 
2673     to derive a class from wx.ArtProvider, override it's CreateBitmap 
2674     method and register the provider with wx.ArtProvider.PushProvider:: 
2676         class MyArtProvider(wx.ArtProvider): 
2678                 wx.ArtProvider.__init__(self) 
2680             def CreateBitmap(self, artid, client, size): 
2686         return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2687     def __init__(self
, *args
, **kwargs
): 
2689         __init__(self) -> ArtProvider 
2691         The wx.ArtProvider class is used to customize the look of wxWidgets 
2692         application. When wxWidgets needs to display an icon or a bitmap (e.g. 
2693         in the standard file dialog), it does not use hard-coded resource but 
2694         asks wx.ArtProvider for it instead. This way the users can plug in 
2695         their own wx.ArtProvider class and easily replace standard art with 
2696         his/her own version. It is easy thing to do: all that is needed is 
2697         to derive a class from wx.ArtProvider, override it's CreateBitmap 
2698         method and register the provider with wx.ArtProvider.PushProvider:: 
2700             class MyArtProvider(wx.ArtProvider): 
2702                     wx.ArtProvider.__init__(self) 
2704                 def CreateBitmap(self, artid, client, size): 
2709         newobj 
= _misc_
.new_ArtProvider(*args
, **kwargs
) 
2710         self
.this 
= newobj
.this
 
2713         self
._setCallbackInfo
(self
, ArtProvider
) 
2715     def __del__(self
, destroy
=_misc_
.delete_ArtProvider
): 
2718             if self
.thisown
: destroy(self
) 
2721     def _setCallbackInfo(*args
, **kwargs
): 
2722         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
2723         return _misc_
.ArtProvider__setCallbackInfo(*args
, **kwargs
) 
2725     def PushProvider(*args
, **kwargs
): 
2727         PushProvider(ArtProvider provider) 
2729         Add new provider to the top of providers stack. 
2731         return _misc_
.ArtProvider_PushProvider(*args
, **kwargs
) 
2733     PushProvider 
= staticmethod(PushProvider
) 
2734     def PopProvider(*args
, **kwargs
): 
2736         PopProvider() -> bool 
2738         Remove latest added provider and delete it. 
2740         return _misc_
.ArtProvider_PopProvider(*args
, **kwargs
) 
2742     PopProvider 
= staticmethod(PopProvider
) 
2743     def RemoveProvider(*args
, **kwargs
): 
2745         RemoveProvider(ArtProvider provider) -> bool 
2747         Remove provider. The provider must have been added previously!  The 
2748         provider is _not_ deleted. 
2750         val 
= _misc_
.ArtProvider_RemoveProvider(*args
, **kwargs
) 
2754     RemoveProvider 
= staticmethod(RemoveProvider
) 
2755     def GetBitmap(*args
, **kwargs
): 
2757         GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap 
2759         Query the providers for bitmap with given ID and return it. Return 
2760         wx.NullBitmap if no provider provides it. 
2762         return _misc_
.ArtProvider_GetBitmap(*args
, **kwargs
) 
2764     GetBitmap 
= staticmethod(GetBitmap
) 
2765     def GetIcon(*args
, **kwargs
): 
2767         GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon 
2769         Query the providers for icon with given ID and return it.  Return 
2770         wx.NullIcon if no provider provides it. 
2772         return _misc_
.ArtProvider_GetIcon(*args
, **kwargs
) 
2774     GetIcon 
= staticmethod(GetIcon
) 
2775     def GetSizeHint(*args
, **kwargs
): 
2777         GetSizeHint(String client, bool platform_dependent=False) -> Size 
2779         Get the size hint of an icon from a specific Art Client, queries the 
2780         topmost provider if platform_dependent = false 
2782         return _misc_
.ArtProvider_GetSizeHint(*args
, **kwargs
) 
2784     GetSizeHint 
= staticmethod(GetSizeHint
) 
2785     def Destroy(*args
, **kwargs
): 
2787         val 
= _misc_
.ArtProvider_Destroy(*args
, **kwargs
) 
2792 class ArtProviderPtr(ArtProvider
): 
2793     def __init__(self
, this
): 
2795         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2796         self
.__class
__ = ArtProvider
 
2797 _misc_
.ArtProvider_swigregister(ArtProviderPtr
) 
2798 ART_TOOLBAR 
= cvar
.ART_TOOLBAR
 
2799 ART_MENU 
= cvar
.ART_MENU
 
2800 ART_FRAME_ICON 
= cvar
.ART_FRAME_ICON
 
2801 ART_CMN_DIALOG 
= cvar
.ART_CMN_DIALOG
 
2802 ART_HELP_BROWSER 
= cvar
.ART_HELP_BROWSER
 
2803 ART_MESSAGE_BOX 
= cvar
.ART_MESSAGE_BOX
 
2804 ART_BUTTON 
= cvar
.ART_BUTTON
 
2805 ART_OTHER 
= cvar
.ART_OTHER
 
2806 ART_ADD_BOOKMARK 
= cvar
.ART_ADD_BOOKMARK
 
2807 ART_DEL_BOOKMARK 
= cvar
.ART_DEL_BOOKMARK
 
2808 ART_HELP_SIDE_PANEL 
= cvar
.ART_HELP_SIDE_PANEL
 
2809 ART_HELP_SETTINGS 
= cvar
.ART_HELP_SETTINGS
 
2810 ART_HELP_BOOK 
= cvar
.ART_HELP_BOOK
 
2811 ART_HELP_FOLDER 
= cvar
.ART_HELP_FOLDER
 
2812 ART_HELP_PAGE 
= cvar
.ART_HELP_PAGE
 
2813 ART_GO_BACK 
= cvar
.ART_GO_BACK
 
2814 ART_GO_FORWARD 
= cvar
.ART_GO_FORWARD
 
2815 ART_GO_UP 
= cvar
.ART_GO_UP
 
2816 ART_GO_DOWN 
= cvar
.ART_GO_DOWN
 
2817 ART_GO_TO_PARENT 
= cvar
.ART_GO_TO_PARENT
 
2818 ART_GO_HOME 
= cvar
.ART_GO_HOME
 
2819 ART_FILE_OPEN 
= cvar
.ART_FILE_OPEN
 
2820 ART_FILE_SAVE 
= cvar
.ART_FILE_SAVE
 
2821 ART_FILE_SAVE_AS 
= cvar
.ART_FILE_SAVE_AS
 
2822 ART_PRINT 
= cvar
.ART_PRINT
 
2823 ART_HELP 
= cvar
.ART_HELP
 
2824 ART_TIP 
= cvar
.ART_TIP
 
2825 ART_REPORT_VIEW 
= cvar
.ART_REPORT_VIEW
 
2826 ART_LIST_VIEW 
= cvar
.ART_LIST_VIEW
 
2827 ART_NEW_DIR 
= cvar
.ART_NEW_DIR
 
2828 ART_HARDDISK 
= cvar
.ART_HARDDISK
 
2829 ART_FLOPPY 
= cvar
.ART_FLOPPY
 
2830 ART_CDROM 
= cvar
.ART_CDROM
 
2831 ART_REMOVABLE 
= cvar
.ART_REMOVABLE
 
2832 ART_FOLDER 
= cvar
.ART_FOLDER
 
2833 ART_FOLDER_OPEN 
= cvar
.ART_FOLDER_OPEN
 
2834 ART_GO_DIR_UP 
= cvar
.ART_GO_DIR_UP
 
2835 ART_EXECUTABLE_FILE 
= cvar
.ART_EXECUTABLE_FILE
 
2836 ART_NORMAL_FILE 
= cvar
.ART_NORMAL_FILE
 
2837 ART_TICK_MARK 
= cvar
.ART_TICK_MARK
 
2838 ART_CROSS_MARK 
= cvar
.ART_CROSS_MARK
 
2839 ART_ERROR 
= cvar
.ART_ERROR
 
2840 ART_QUESTION 
= cvar
.ART_QUESTION
 
2841 ART_WARNING 
= cvar
.ART_WARNING
 
2842 ART_INFORMATION 
= cvar
.ART_INFORMATION
 
2843 ART_MISSING_IMAGE 
= cvar
.ART_MISSING_IMAGE
 
2844 ART_COPY 
= cvar
.ART_COPY
 
2845 ART_CUT 
= cvar
.ART_CUT
 
2846 ART_PASTE 
= cvar
.ART_PASTE
 
2847 ART_DELETE 
= cvar
.ART_DELETE
 
2848 ART_NEW 
= cvar
.ART_NEW
 
2849 ART_UNDO 
= cvar
.ART_UNDO
 
2850 ART_REDO 
= cvar
.ART_REDO
 
2851 ART_QUIT 
= cvar
.ART_QUIT
 
2852 ART_FIND 
= cvar
.ART_FIND
 
2853 ART_FIND_AND_REPLACE 
= cvar
.ART_FIND_AND_REPLACE
 
2855 def ArtProvider_PushProvider(*args
, **kwargs
): 
2857     ArtProvider_PushProvider(ArtProvider provider) 
2859     Add new provider to the top of providers stack. 
2861     return _misc_
.ArtProvider_PushProvider(*args
, **kwargs
) 
2863 def ArtProvider_PopProvider(*args
, **kwargs
): 
2865     ArtProvider_PopProvider() -> bool 
2867     Remove latest added provider and delete it. 
2869     return _misc_
.ArtProvider_PopProvider(*args
, **kwargs
) 
2871 def ArtProvider_RemoveProvider(*args
, **kwargs
): 
2873     ArtProvider_RemoveProvider(ArtProvider provider) -> bool 
2875     Remove provider. The provider must have been added previously!  The 
2876     provider is _not_ deleted. 
2878     val 
= _misc_
.ArtProvider_RemoveProvider(*args
, **kwargs
) 
2882 def ArtProvider_GetBitmap(*args
, **kwargs
): 
2884     ArtProvider_GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap 
2886     Query the providers for bitmap with given ID and return it. Return 
2887     wx.NullBitmap if no provider provides it. 
2889     return _misc_
.ArtProvider_GetBitmap(*args
, **kwargs
) 
2891 def ArtProvider_GetIcon(*args
, **kwargs
): 
2893     ArtProvider_GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon 
2895     Query the providers for icon with given ID and return it.  Return 
2896     wx.NullIcon if no provider provides it. 
2898     return _misc_
.ArtProvider_GetIcon(*args
, **kwargs
) 
2900 def ArtProvider_GetSizeHint(*args
, **kwargs
): 
2902     ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size 
2904     Get the size hint of an icon from a specific Art Client, queries the 
2905     topmost provider if platform_dependent = false 
2907     return _misc_
.ArtProvider_GetSizeHint(*args
, **kwargs
) 
2909 #--------------------------------------------------------------------------- 
2911 CONFIG_USE_LOCAL_FILE 
= _misc_
.CONFIG_USE_LOCAL_FILE
 
2912 CONFIG_USE_GLOBAL_FILE 
= _misc_
.CONFIG_USE_GLOBAL_FILE
 
2913 CONFIG_USE_RELATIVE_PATH 
= _misc_
.CONFIG_USE_RELATIVE_PATH
 
2914 CONFIG_USE_NO_ESCAPE_CHARACTERS 
= _misc_
.CONFIG_USE_NO_ESCAPE_CHARACTERS
 
2915 class ConfigBase(object): 
2917     wx.ConfigBase class defines the basic interface of all config 
2918     classes. It can not be used by itself (it is an abstract base class) 
2919     and you will always use one of its derivations: wx.Config or 
2922     wx.ConfigBase organizes the items in a tree-like structure, modeled 
2923     after the Unix/Dos filesystem. There are groups that act like 
2924     directories and entries, key/value pairs that act like files.  There 
2925     is always one current group given by the current path.  As in the file 
2926     system case, to specify a key in the config class you must use a path 
2927     to it.  Config classes also support the notion of the current group, 
2928     which makes it possible to use relative paths. 
2930     Keys are pairs "key_name = value" where value may be of string, 
2931     integer floating point or boolean, you can not store binary data 
2932     without first encoding it as a string.  For performance reasons items 
2933     should be kept small, no more than a couple kilobytes. 
2936     def __init__(self
): raise RuntimeError, "No constructor defined" 
2938         return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2939     def __del__(self
, destroy
=_misc_
.delete_ConfigBase
): 
2942             if self
.thisown
: destroy(self
) 
2945     Type_Unknown 
= _misc_
.ConfigBase_Type_Unknown
 
2946     Type_String 
= _misc_
.ConfigBase_Type_String
 
2947     Type_Boolean 
= _misc_
.ConfigBase_Type_Boolean
 
2948     Type_Integer 
= _misc_
.ConfigBase_Type_Integer
 
2949     Type_Float 
= _misc_
.ConfigBase_Type_Float
 
2950     def Set(*args
, **kwargs
): 
2952         Set(ConfigBase config) -> ConfigBase 
2954         Sets the global config object (the one returned by Get) and returns a 
2955         reference to the previous global config object. 
2957         return _misc_
.ConfigBase_Set(*args
, **kwargs
) 
2959     Set 
= staticmethod(Set
) 
2960     def Get(*args
, **kwargs
): 
2962         Get(bool createOnDemand=True) -> ConfigBase 
2964         Returns the current global config object, creating one if neccessary. 
2966         return _misc_
.ConfigBase_Get(*args
, **kwargs
) 
2968     Get 
= staticmethod(Get
) 
2969     def Create(*args
, **kwargs
): 
2971         Create() -> ConfigBase 
2973         Create and return a new global config object.  This function will 
2974         create the "best" implementation of wx.Config available for the 
2977         return _misc_
.ConfigBase_Create(*args
, **kwargs
) 
2979     Create 
= staticmethod(Create
) 
2980     def DontCreateOnDemand(*args
, **kwargs
): 
2982         DontCreateOnDemand() 
2984         Should Get() try to create a new log object if there isn't a current 
2987         return _misc_
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
) 
2989     DontCreateOnDemand 
= staticmethod(DontCreateOnDemand
) 
2990     def SetPath(*args
, **kwargs
): 
2992         SetPath(self, String path) 
2994         Set current path: if the first character is '/', it's the absolute 
2995         path, otherwise it's a relative path. '..' is supported. If the 
2996         strPath doesn't exist it is created. 
2998         return _misc_
.ConfigBase_SetPath(*args
, **kwargs
) 
3000     def GetPath(*args
, **kwargs
): 
3002         GetPath(self) -> String 
3004         Retrieve the current path (always as absolute path) 
3006         return _misc_
.ConfigBase_GetPath(*args
, **kwargs
) 
3008     def GetFirstGroup(*args
, **kwargs
): 
3010         GetFirstGroup() -> (more, value, index) 
3012         Allows enumerating the subgroups in a config object.  Returns a tuple 
3013         containing a flag indicating there are more items, the name of the 
3014         current item, and an index to pass to GetNextGroup to fetch the next 
3017         return _misc_
.ConfigBase_GetFirstGroup(*args
, **kwargs
) 
3019     def GetNextGroup(*args
, **kwargs
): 
3021         GetNextGroup(long index) -> (more, value, index) 
3023         Allows enumerating the subgroups in a config object.  Returns a tuple 
3024         containing a flag indicating there are more items, the name of the 
3025         current item, and an index to pass to GetNextGroup to fetch the next 
3028         return _misc_
.ConfigBase_GetNextGroup(*args
, **kwargs
) 
3030     def GetFirstEntry(*args
, **kwargs
): 
3032         GetFirstEntry() -> (more, value, index) 
3034         Allows enumerating the entries in the current group in a config 
3035         object.  Returns a tuple containing a flag indicating there are more 
3036         items, the name of the current item, and an index to pass to 
3037         GetNextGroup to fetch the next item. 
3039         return _misc_
.ConfigBase_GetFirstEntry(*args
, **kwargs
) 
3041     def GetNextEntry(*args
, **kwargs
): 
3043         GetNextEntry(long index) -> (more, value, index) 
3045         Allows enumerating the entries in the current group in a config 
3046         object.  Returns a tuple containing a flag indicating there are more 
3047         items, the name of the current item, and an index to pass to 
3048         GetNextGroup to fetch the next item. 
3050         return _misc_
.ConfigBase_GetNextEntry(*args
, **kwargs
) 
3052     def GetNumberOfEntries(*args
, **kwargs
): 
3054         GetNumberOfEntries(self, bool recursive=False) -> size_t 
3056         Get the number of entries in the current group, with or without its 
3059         return _misc_
.ConfigBase_GetNumberOfEntries(*args
, **kwargs
) 
3061     def GetNumberOfGroups(*args
, **kwargs
): 
3063         GetNumberOfGroups(self, bool recursive=False) -> size_t 
3065         Get the number of subgroups in the current group, with or without its 
3068         return _misc_
.ConfigBase_GetNumberOfGroups(*args
, **kwargs
) 
3070     def HasGroup(*args
, **kwargs
): 
3072         HasGroup(self, String name) -> bool 
3074         Returns True if the group by this name exists 
3076         return _misc_
.ConfigBase_HasGroup(*args
, **kwargs
) 
3078     def HasEntry(*args
, **kwargs
): 
3080         HasEntry(self, String name) -> bool 
3082         Returns True if the entry by this name exists 
3084         return _misc_
.ConfigBase_HasEntry(*args
, **kwargs
) 
3086     def Exists(*args
, **kwargs
): 
3088         Exists(self, String name) -> bool 
3090         Returns True if either a group or an entry with a given name exists 
3092         return _misc_
.ConfigBase_Exists(*args
, **kwargs
) 
3094     def GetEntryType(*args
, **kwargs
): 
3096         GetEntryType(self, String name) -> int 
3098         Get the type of the entry.  Returns one of the wx.Config.Type_XXX values. 
3100         return _misc_
.ConfigBase_GetEntryType(*args
, **kwargs
) 
3102     def Read(*args
, **kwargs
): 
3104         Read(self, String key, String defaultVal=EmptyString) -> String 
3106         Returns the value of key if it exists, defaultVal otherwise. 
3108         return _misc_
.ConfigBase_Read(*args
, **kwargs
) 
3110     def ReadInt(*args
, **kwargs
): 
3112         ReadInt(self, String key, long defaultVal=0) -> long 
3114         Returns the value of key if it exists, defaultVal otherwise. 
3116         return _misc_
.ConfigBase_ReadInt(*args
, **kwargs
) 
3118     def ReadFloat(*args
, **kwargs
): 
3120         ReadFloat(self, String key, double defaultVal=0.0) -> double 
3122         Returns the value of key if it exists, defaultVal otherwise. 
3124         return _misc_
.ConfigBase_ReadFloat(*args
, **kwargs
) 
3126     def ReadBool(*args
, **kwargs
): 
3128         ReadBool(self, String key, bool defaultVal=False) -> bool 
3130         Returns the value of key if it exists, defaultVal otherwise. 
3132         return _misc_
.ConfigBase_ReadBool(*args
, **kwargs
) 
3134     def Write(*args
, **kwargs
): 
3136         Write(self, String key, String value) -> bool 
3138         write the value (return True on success) 
3140         return _misc_
.ConfigBase_Write(*args
, **kwargs
) 
3142     def WriteInt(*args
, **kwargs
): 
3144         WriteInt(self, String key, long value) -> bool 
3146         write the value (return True on success) 
3148         return _misc_
.ConfigBase_WriteInt(*args
, **kwargs
) 
3150     def WriteFloat(*args
, **kwargs
): 
3152         WriteFloat(self, String key, double value) -> bool 
3154         write the value (return True on success) 
3156         return _misc_
.ConfigBase_WriteFloat(*args
, **kwargs
) 
3158     def WriteBool(*args
, **kwargs
): 
3160         WriteBool(self, String key, bool value) -> bool 
3162         write the value (return True on success) 
3164         return _misc_
.ConfigBase_WriteBool(*args
, **kwargs
) 
3166     def Flush(*args
, **kwargs
): 
3168         Flush(self, bool currentOnly=False) -> bool 
3170         permanently writes all changes 
3172         return _misc_
.ConfigBase_Flush(*args
, **kwargs
) 
3174     def RenameEntry(*args
, **kwargs
): 
3176         RenameEntry(self, String oldName, String newName) -> bool 
3178         Rename an entry.  Returns False on failure (probably because the new 
3179         name is already taken by an existing entry) 
3181         return _misc_
.ConfigBase_RenameEntry(*args
, **kwargs
) 
3183     def RenameGroup(*args
, **kwargs
): 
3185         RenameGroup(self, String oldName, String newName) -> bool 
3187         Rename a group.  Returns False on failure (probably because the new 
3188         name is already taken by an existing entry) 
3190         return _misc_
.ConfigBase_RenameGroup(*args
, **kwargs
) 
3192     def DeleteEntry(*args
, **kwargs
): 
3194         DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -> bool 
3196         Deletes the specified entry and the group it belongs to if it was the 
3197         last key in it and the second parameter is True 
3199         return _misc_
.ConfigBase_DeleteEntry(*args
, **kwargs
) 
3201     def DeleteGroup(*args
, **kwargs
): 
3203         DeleteGroup(self, String key) -> bool 
3205         Delete the group (with all subgroups) 
3207         return _misc_
.ConfigBase_DeleteGroup(*args
, **kwargs
) 
3209     def DeleteAll(*args
, **kwargs
): 
3211         DeleteAll(self) -> bool 
3213         Delete the whole underlying object (disk file, registry key, ...) 
3214         primarly intended for use by deinstallation routine. 
3216         return _misc_
.ConfigBase_DeleteAll(*args
, **kwargs
) 
3218     def SetExpandEnvVars(*args
, **kwargs
): 
3220         SetExpandEnvVars(self, bool doIt=True) 
3222         We can automatically expand environment variables in the config 
3223         entries this option is on by default, you can turn it on/off at any 
3226         return _misc_
.ConfigBase_SetExpandEnvVars(*args
, **kwargs
) 
3228     def IsExpandingEnvVars(*args
, **kwargs
): 
3230         IsExpandingEnvVars(self) -> bool 
3232         Are we currently expanding environment variables? 
3234         return _misc_
.ConfigBase_IsExpandingEnvVars(*args
, **kwargs
) 
3236     def SetRecordDefaults(*args
, **kwargs
): 
3238         SetRecordDefaults(self, bool doIt=True) 
3240         Set whether the config objec should record default values. 
3242         return _misc_
.ConfigBase_SetRecordDefaults(*args
, **kwargs
) 
3244     def IsRecordingDefaults(*args
, **kwargs
): 
3246         IsRecordingDefaults(self) -> bool 
3248         Are we currently recording default values? 
3250         return _misc_
.ConfigBase_IsRecordingDefaults(*args
, **kwargs
) 
3252     def ExpandEnvVars(*args
, **kwargs
): 
3254         ExpandEnvVars(self, String str) -> String 
3256         Expand any environment variables in str and return the result 
3258         return _misc_
.ConfigBase_ExpandEnvVars(*args
, **kwargs
) 
3260     def GetAppName(*args
, **kwargs
): 
3261         """GetAppName(self) -> String""" 
3262         return _misc_
.ConfigBase_GetAppName(*args
, **kwargs
) 
3264     def GetVendorName(*args
, **kwargs
): 
3265         """GetVendorName(self) -> String""" 
3266         return _misc_
.ConfigBase_GetVendorName(*args
, **kwargs
) 
3268     def SetAppName(*args
, **kwargs
): 
3269         """SetAppName(self, String appName)""" 
3270         return _misc_
.ConfigBase_SetAppName(*args
, **kwargs
) 
3272     def SetVendorName(*args
, **kwargs
): 
3273         """SetVendorName(self, String vendorName)""" 
3274         return _misc_
.ConfigBase_SetVendorName(*args
, **kwargs
) 
3276     def SetStyle(*args
, **kwargs
): 
3277         """SetStyle(self, long style)""" 
3278         return _misc_
.ConfigBase_SetStyle(*args
, **kwargs
) 
3280     def GetStyle(*args
, **kwargs
): 
3281         """GetStyle(self) -> long""" 
3282         return _misc_
.ConfigBase_GetStyle(*args
, **kwargs
) 
3285 class ConfigBasePtr(ConfigBase
): 
3286     def __init__(self
, this
): 
3288         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3289         self
.__class
__ = ConfigBase
 
3290 _misc_
.ConfigBase_swigregister(ConfigBasePtr
) 
3292 def ConfigBase_Set(*args
, **kwargs
): 
3294     ConfigBase_Set(ConfigBase config) -> ConfigBase 
3296     Sets the global config object (the one returned by Get) and returns a 
3297     reference to the previous global config object. 
3299     return _misc_
.ConfigBase_Set(*args
, **kwargs
) 
3301 def ConfigBase_Get(*args
, **kwargs
): 
3303     ConfigBase_Get(bool createOnDemand=True) -> ConfigBase 
3305     Returns the current global config object, creating one if neccessary. 
3307     return _misc_
.ConfigBase_Get(*args
, **kwargs
) 
3309 def ConfigBase_Create(*args
, **kwargs
): 
3311     ConfigBase_Create() -> ConfigBase 
3313     Create and return a new global config object.  This function will 
3314     create the "best" implementation of wx.Config available for the 
3317     return _misc_
.ConfigBase_Create(*args
, **kwargs
) 
3319 def ConfigBase_DontCreateOnDemand(*args
, **kwargs
): 
3321     ConfigBase_DontCreateOnDemand() 
3323     Should Get() try to create a new log object if there isn't a current 
3326     return _misc_
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
) 
3328 class Config(ConfigBase
): 
3330     This ConfigBase-derived class will use the registry on Windows, 
3331     and will be a wx.FileConfig on other platforms. 
3334         return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3335     def __init__(self
, *args
, **kwargs
): 
3337         __init__(self, String appName=EmptyString, String vendorName=EmptyString,  
3338             String localFilename=EmptyString, String globalFilename=EmptyString,  
3339             long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config 
3341         newobj 
= _misc_
.new_Config(*args
, **kwargs
) 
3342         self
.this 
= newobj
.this
 
3345     def __del__(self
, destroy
=_misc_
.delete_Config
): 
3348             if self
.thisown
: destroy(self
) 
3352 class ConfigPtr(Config
): 
3353     def __init__(self
, this
): 
3355         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3356         self
.__class
__ = Config
 
3357 _misc_
.Config_swigregister(ConfigPtr
) 
3359 class FileConfig(ConfigBase
): 
3360     """This config class will use a file for storage on all platforms.""" 
3362         return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3363     def __init__(self
, *args
, **kwargs
): 
3365         __init__(self, String appName=EmptyString, String vendorName=EmptyString,  
3366             String localFilename=EmptyString, String globalFilename=EmptyString,  
3367             long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig 
3369         newobj 
= _misc_
.new_FileConfig(*args
, **kwargs
) 
3370         self
.this 
= newobj
.this
 
3373     def __del__(self
, destroy
=_misc_
.delete_FileConfig
): 
3376             if self
.thisown
: destroy(self
) 
3380 class FileConfigPtr(FileConfig
): 
3381     def __init__(self
, this
): 
3383         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3384         self
.__class
__ = FileConfig
 
3385 _misc_
.FileConfig_swigregister(FileConfigPtr
) 
3387 class ConfigPathChanger(object): 
3389     A handy little class which changes current path to the path of given 
3390     entry and restores it in the destructoir: so if you declare a local 
3391     variable of this type, you work in the entry directory and the path is 
3392     automatically restored when the function returns. 
3395         return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3396     def __init__(self
, *args
, **kwargs
): 
3397         """__init__(self, ConfigBase config, String entry) -> ConfigPathChanger""" 
3398         newobj 
= _misc_
.new_ConfigPathChanger(*args
, **kwargs
) 
3399         self
.this 
= newobj
.this
 
3402     def __del__(self
, destroy
=_misc_
.delete_ConfigPathChanger
): 
3405             if self
.thisown
: destroy(self
) 
3408     def Name(*args
, **kwargs
): 
3410         Name(self) -> String 
3414         return _misc_
.ConfigPathChanger_Name(*args
, **kwargs
) 
3417 class ConfigPathChangerPtr(ConfigPathChanger
): 
3418     def __init__(self
, this
): 
3420         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3421         self
.__class
__ = ConfigPathChanger
 
3422 _misc_
.ConfigPathChanger_swigregister(ConfigPathChangerPtr
) 
3425 def ExpandEnvVars(*args
, **kwargs
): 
3427     ExpandEnvVars(String sz) -> String 
3429     Replace environment variables ($SOMETHING) with their values. The 
3430     format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric 
3431     characters and '_' only. '$' must be escaped ('\$') in order to be 
3434     return _misc_
.ExpandEnvVars(*args
, **kwargs
) 
3435 #--------------------------------------------------------------------------- 
3437 class DateTime(object): 
3438     """Proxy of C++ DateTime class""" 
3440         return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3441     Local 
= _misc_
.DateTime_Local
 
3442     GMT_12 
= _misc_
.DateTime_GMT_12
 
3443     GMT_11 
= _misc_
.DateTime_GMT_11
 
3444     GMT_10 
= _misc_
.DateTime_GMT_10
 
3445     GMT_9 
= _misc_
.DateTime_GMT_9
 
3446     GMT_8 
= _misc_
.DateTime_GMT_8
 
3447     GMT_7 
= _misc_
.DateTime_GMT_7
 
3448     GMT_6 
= _misc_
.DateTime_GMT_6
 
3449     GMT_5 
= _misc_
.DateTime_GMT_5
 
3450     GMT_4 
= _misc_
.DateTime_GMT_4
 
3451     GMT_3 
= _misc_
.DateTime_GMT_3
 
3452     GMT_2 
= _misc_
.DateTime_GMT_2
 
3453     GMT_1 
= _misc_
.DateTime_GMT_1
 
3454     GMT0 
= _misc_
.DateTime_GMT0
 
3455     GMT1 
= _misc_
.DateTime_GMT1
 
3456     GMT2 
= _misc_
.DateTime_GMT2
 
3457     GMT3 
= _misc_
.DateTime_GMT3
 
3458     GMT4 
= _misc_
.DateTime_GMT4
 
3459     GMT5 
= _misc_
.DateTime_GMT5
 
3460     GMT6 
= _misc_
.DateTime_GMT6
 
3461     GMT7 
= _misc_
.DateTime_GMT7
 
3462     GMT8 
= _misc_
.DateTime_GMT8
 
3463     GMT9 
= _misc_
.DateTime_GMT9
 
3464     GMT10 
= _misc_
.DateTime_GMT10
 
3465     GMT11 
= _misc_
.DateTime_GMT11
 
3466     GMT12 
= _misc_
.DateTime_GMT12
 
3467     WET 
= _misc_
.DateTime_WET
 
3468     WEST 
= _misc_
.DateTime_WEST
 
3469     CET 
= _misc_
.DateTime_CET
 
3470     CEST 
= _misc_
.DateTime_CEST
 
3471     EET 
= _misc_
.DateTime_EET
 
3472     EEST 
= _misc_
.DateTime_EEST
 
3473     MSK 
= _misc_
.DateTime_MSK
 
3474     MSD 
= _misc_
.DateTime_MSD
 
3475     AST 
= _misc_
.DateTime_AST
 
3476     ADT 
= _misc_
.DateTime_ADT
 
3477     EST 
= _misc_
.DateTime_EST
 
3478     EDT 
= _misc_
.DateTime_EDT
 
3479     CST 
= _misc_
.DateTime_CST
 
3480     CDT 
= _misc_
.DateTime_CDT
 
3481     MST 
= _misc_
.DateTime_MST
 
3482     MDT 
= _misc_
.DateTime_MDT
 
3483     PST 
= _misc_
.DateTime_PST
 
3484     PDT 
= _misc_
.DateTime_PDT
 
3485     HST 
= _misc_
.DateTime_HST
 
3486     AKST 
= _misc_
.DateTime_AKST
 
3487     AKDT 
= _misc_
.DateTime_AKDT
 
3488     A_WST 
= _misc_
.DateTime_A_WST
 
3489     A_CST 
= _misc_
.DateTime_A_CST
 
3490     A_EST 
= _misc_
.DateTime_A_EST
 
3491     A_ESST 
= _misc_
.DateTime_A_ESST
 
3492     UTC 
= _misc_
.DateTime_UTC
 
3493     Gregorian 
= _misc_
.DateTime_Gregorian
 
3494     Julian 
= _misc_
.DateTime_Julian
 
3495     Gr_Unknown 
= _misc_
.DateTime_Gr_Unknown
 
3496     Gr_Standard 
= _misc_
.DateTime_Gr_Standard
 
3497     Gr_Alaska 
= _misc_
.DateTime_Gr_Alaska
 
3498     Gr_Albania 
= _misc_
.DateTime_Gr_Albania
 
3499     Gr_Austria 
= _misc_
.DateTime_Gr_Austria
 
3500     Gr_Austria_Brixen 
= _misc_
.DateTime_Gr_Austria_Brixen
 
3501     Gr_Austria_Salzburg 
= _misc_
.DateTime_Gr_Austria_Salzburg
 
3502     Gr_Austria_Tyrol 
= _misc_
.DateTime_Gr_Austria_Tyrol
 
3503     Gr_Austria_Carinthia 
= _misc_
.DateTime_Gr_Austria_Carinthia
 
3504     Gr_Austria_Styria 
= _misc_
.DateTime_Gr_Austria_Styria
 
3505     Gr_Belgium 
= _misc_
.DateTime_Gr_Belgium
 
3506     Gr_Bulgaria 
= _misc_
.DateTime_Gr_Bulgaria
 
3507     Gr_Bulgaria_1 
= _misc_
.DateTime_Gr_Bulgaria_1
 
3508     Gr_Bulgaria_2 
= _misc_
.DateTime_Gr_Bulgaria_2
 
3509     Gr_Bulgaria_3 
= _misc_
.DateTime_Gr_Bulgaria_3
 
3510     Gr_Canada 
= _misc_
.DateTime_Gr_Canada
 
3511     Gr_China 
= _misc_
.DateTime_Gr_China
 
3512     Gr_China_1 
= _misc_
.DateTime_Gr_China_1
 
3513     Gr_China_2 
= _misc_
.DateTime_Gr_China_2
 
3514     Gr_Czechoslovakia 
= _misc_
.DateTime_Gr_Czechoslovakia
 
3515     Gr_Denmark 
= _misc_
.DateTime_Gr_Denmark
 
3516     Gr_Egypt 
= _misc_
.DateTime_Gr_Egypt
 
3517     Gr_Estonia 
= _misc_
.DateTime_Gr_Estonia
 
3518     Gr_Finland 
= _misc_
.DateTime_Gr_Finland
 
3519     Gr_France 
= _misc_
.DateTime_Gr_France
 
3520     Gr_France_Alsace 
= _misc_
.DateTime_Gr_France_Alsace
 
3521     Gr_France_Lorraine 
= _misc_
.DateTime_Gr_France_Lorraine
 
3522     Gr_France_Strasbourg 
= _misc_
.DateTime_Gr_France_Strasbourg
 
3523     Gr_Germany 
= _misc_
.DateTime_Gr_Germany
 
3524     Gr_Germany_Catholic 
= _misc_
.DateTime_Gr_Germany_Catholic
 
3525     Gr_Germany_Prussia 
= _misc_
.DateTime_Gr_Germany_Prussia
 
3526     Gr_Germany_Protestant 
= _misc_
.DateTime_Gr_Germany_Protestant
 
3527     Gr_GreatBritain 
= _misc_
.DateTime_Gr_GreatBritain
 
3528     Gr_Greece 
= _misc_
.DateTime_Gr_Greece
 
3529     Gr_Hungary 
= _misc_
.DateTime_Gr_Hungary
 
3530     Gr_Ireland 
= _misc_
.DateTime_Gr_Ireland
 
3531     Gr_Italy 
= _misc_
.DateTime_Gr_Italy
 
3532     Gr_Japan 
= _misc_
.DateTime_Gr_Japan
 
3533     Gr_Japan_1 
= _misc_
.DateTime_Gr_Japan_1
 
3534     Gr_Japan_2 
= _misc_
.DateTime_Gr_Japan_2
 
3535     Gr_Japan_3 
= _misc_
.DateTime_Gr_Japan_3
 
3536     Gr_Latvia 
= _misc_
.DateTime_Gr_Latvia
 
3537     Gr_Lithuania 
= _misc_
.DateTime_Gr_Lithuania
 
3538     Gr_Luxemburg 
= _misc_
.DateTime_Gr_Luxemburg
 
3539     Gr_Netherlands 
= _misc_
.DateTime_Gr_Netherlands
 
3540     Gr_Netherlands_Groningen 
= _misc_
.DateTime_Gr_Netherlands_Groningen
 
3541     Gr_Netherlands_Gelderland 
= _misc_
.DateTime_Gr_Netherlands_Gelderland
 
3542     Gr_Netherlands_Utrecht 
= _misc_
.DateTime_Gr_Netherlands_Utrecht
 
3543     Gr_Netherlands_Friesland 
= _misc_
.DateTime_Gr_Netherlands_Friesland
 
3544     Gr_Norway 
= _misc_
.DateTime_Gr_Norway
 
3545     Gr_Poland 
= _misc_
.DateTime_Gr_Poland
 
3546     Gr_Portugal 
= _misc_
.DateTime_Gr_Portugal
 
3547     Gr_Romania 
= _misc_
.DateTime_Gr_Romania
 
3548     Gr_Russia 
= _misc_
.DateTime_Gr_Russia
 
3549     Gr_Scotland 
= _misc_
.DateTime_Gr_Scotland
 
3550     Gr_Spain 
= _misc_
.DateTime_Gr_Spain
 
3551     Gr_Sweden 
= _misc_
.DateTime_Gr_Sweden
 
3552     Gr_Switzerland 
= _misc_
.DateTime_Gr_Switzerland
 
3553     Gr_Switzerland_Catholic 
= _misc_
.DateTime_Gr_Switzerland_Catholic
 
3554     Gr_Switzerland_Protestant 
= _misc_
.DateTime_Gr_Switzerland_Protestant
 
3555     Gr_Turkey 
= _misc_
.DateTime_Gr_Turkey
 
3556     Gr_USA 
= _misc_
.DateTime_Gr_USA
 
3557     Gr_Wales 
= _misc_
.DateTime_Gr_Wales
 
3558     Gr_Yugoslavia 
= _misc_
.DateTime_Gr_Yugoslavia
 
3559     Country_Unknown 
= _misc_
.DateTime_Country_Unknown
 
3560     Country_Default 
= _misc_
.DateTime_Country_Default
 
3561     Country_WesternEurope_Start 
= _misc_
.DateTime_Country_WesternEurope_Start
 
3562     Country_EEC 
= _misc_
.DateTime_Country_EEC
 
3563     France 
= _misc_
.DateTime_France
 
3564     Germany 
= _misc_
.DateTime_Germany
 
3565     UK 
= _misc_
.DateTime_UK
 
3566     Country_WesternEurope_End 
= _misc_
.DateTime_Country_WesternEurope_End
 
3567     Russia 
= _misc_
.DateTime_Russia
 
3568     USA 
= _misc_
.DateTime_USA
 
3569     Jan 
= _misc_
.DateTime_Jan
 
3570     Feb 
= _misc_
.DateTime_Feb
 
3571     Mar 
= _misc_
.DateTime_Mar
 
3572     Apr 
= _misc_
.DateTime_Apr
 
3573     May 
= _misc_
.DateTime_May
 
3574     Jun 
= _misc_
.DateTime_Jun
 
3575     Jul 
= _misc_
.DateTime_Jul
 
3576     Aug 
= _misc_
.DateTime_Aug
 
3577     Sep 
= _misc_
.DateTime_Sep
 
3578     Oct 
= _misc_
.DateTime_Oct
 
3579     Nov 
= _misc_
.DateTime_Nov
 
3580     Dec 
= _misc_
.DateTime_Dec
 
3581     Inv_Month 
= _misc_
.DateTime_Inv_Month
 
3582     Sun 
= _misc_
.DateTime_Sun
 
3583     Mon 
= _misc_
.DateTime_Mon
 
3584     Tue 
= _misc_
.DateTime_Tue
 
3585     Wed 
= _misc_
.DateTime_Wed
 
3586     Thu 
= _misc_
.DateTime_Thu
 
3587     Fri 
= _misc_
.DateTime_Fri
 
3588     Sat 
= _misc_
.DateTime_Sat
 
3589     Inv_WeekDay 
= _misc_
.DateTime_Inv_WeekDay
 
3590     Inv_Year 
= _misc_
.DateTime_Inv_Year
 
3591     Name_Full 
= _misc_
.DateTime_Name_Full
 
3592     Name_Abbr 
= _misc_
.DateTime_Name_Abbr
 
3593     Default_First 
= _misc_
.DateTime_Default_First
 
3594     Monday_First 
= _misc_
.DateTime_Monday_First
 
3595     Sunday_First 
= _misc_
.DateTime_Sunday_First
 
3596     def SetCountry(*args
, **kwargs
): 
3597         """SetCountry(int country)""" 
3598         return _misc_
.DateTime_SetCountry(*args
, **kwargs
) 
3600     SetCountry 
= staticmethod(SetCountry
) 
3601     def GetCountry(*args
, **kwargs
): 
3602         """GetCountry() -> int""" 
3603         return _misc_
.DateTime_GetCountry(*args
, **kwargs
) 
3605     GetCountry 
= staticmethod(GetCountry
) 
3606     def IsWestEuropeanCountry(*args
, **kwargs
): 
3607         """IsWestEuropeanCountry(int country=Country_Default) -> bool""" 
3608         return _misc_
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
) 
3610     IsWestEuropeanCountry 
= staticmethod(IsWestEuropeanCountry
) 
3611     def GetCurrentYear(*args
, **kwargs
): 
3612         """GetCurrentYear(int cal=Gregorian) -> int""" 
3613         return _misc_
.DateTime_GetCurrentYear(*args
, **kwargs
) 
3615     GetCurrentYear 
= staticmethod(GetCurrentYear
) 
3616     def ConvertYearToBC(*args
, **kwargs
): 
3617         """ConvertYearToBC(int year) -> int""" 
3618         return _misc_
.DateTime_ConvertYearToBC(*args
, **kwargs
) 
3620     ConvertYearToBC 
= staticmethod(ConvertYearToBC
) 
3621     def GetCurrentMonth(*args
, **kwargs
): 
3622         """GetCurrentMonth(int cal=Gregorian) -> int""" 
3623         return _misc_
.DateTime_GetCurrentMonth(*args
, **kwargs
) 
3625     GetCurrentMonth 
= staticmethod(GetCurrentMonth
) 
3626     def IsLeapYear(*args
, **kwargs
): 
3627         """IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" 
3628         return _misc_
.DateTime_IsLeapYear(*args
, **kwargs
) 
3630     IsLeapYear 
= staticmethod(IsLeapYear
) 
3631     def GetCentury(*args
, **kwargs
): 
3632         """GetCentury(int year=Inv_Year) -> int""" 
3633         return _misc_
.DateTime_GetCentury(*args
, **kwargs
) 
3635     GetCentury 
= staticmethod(GetCentury
) 
3636     def GetNumberOfDaysinYear(*args
, **kwargs
): 
3637         """GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" 
3638         return _misc_
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
) 
3640     GetNumberOfDaysinYear 
= staticmethod(GetNumberOfDaysinYear
) 
3641     def GetNumberOfDaysInMonth(*args
, **kwargs
): 
3642         """GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" 
3643         return _misc_
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
) 
3645     GetNumberOfDaysInMonth 
= staticmethod(GetNumberOfDaysInMonth
) 
3646     def GetMonthName(*args
, **kwargs
): 
3647         """GetMonthName(int month, int flags=Name_Full) -> String""" 
3648         return _misc_
.DateTime_GetMonthName(*args
, **kwargs
) 
3650     GetMonthName 
= staticmethod(GetMonthName
) 
3651     def GetWeekDayName(*args
, **kwargs
): 
3652         """GetWeekDayName(int weekday, int flags=Name_Full) -> String""" 
3653         return _misc_
.DateTime_GetWeekDayName(*args
, **kwargs
) 
3655     GetWeekDayName 
= staticmethod(GetWeekDayName
) 
3656     def GetAmPmStrings(*args
, **kwargs
): 
3658         GetAmPmStrings() -> (am, pm) 
3660         Get the AM and PM strings in the current locale (may be empty) 
3662         return _misc_
.DateTime_GetAmPmStrings(*args
, **kwargs
) 
3664     GetAmPmStrings 
= staticmethod(GetAmPmStrings
) 
3665     def IsDSTApplicable(*args
, **kwargs
): 
3666         """IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" 
3667         return _misc_
.DateTime_IsDSTApplicable(*args
, **kwargs
) 
3669     IsDSTApplicable 
= staticmethod(IsDSTApplicable
) 
3670     def GetBeginDST(*args
, **kwargs
): 
3671         """GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3672         return _misc_
.DateTime_GetBeginDST(*args
, **kwargs
) 
3674     GetBeginDST 
= staticmethod(GetBeginDST
) 
3675     def GetEndDST(*args
, **kwargs
): 
3676         """GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3677         return _misc_
.DateTime_GetEndDST(*args
, **kwargs
) 
3679     GetEndDST 
= staticmethod(GetEndDST
) 
3680     def Now(*args
, **kwargs
): 
3681         """Now() -> DateTime""" 
3682         return _misc_
.DateTime_Now(*args
, **kwargs
) 
3684     Now 
= staticmethod(Now
) 
3685     def UNow(*args
, **kwargs
): 
3686         """UNow() -> DateTime""" 
3687         return _misc_
.DateTime_UNow(*args
, **kwargs
) 
3689     UNow 
= staticmethod(UNow
) 
3690     def Today(*args
, **kwargs
): 
3691         """Today() -> DateTime""" 
3692         return _misc_
.DateTime_Today(*args
, **kwargs
) 
3694     Today 
= staticmethod(Today
) 
3695     def __init__(self
, *args
, **kwargs
): 
3696         """__init__(self) -> DateTime""" 
3697         newobj 
= _misc_
.new_DateTime(*args
, **kwargs
) 
3698         self
.this 
= newobj
.this
 
3701     def __del__(self
, destroy
=_misc_
.delete_DateTime
): 
3704             if self
.thisown
: destroy(self
) 
3707     def SetToCurrent(*args
, **kwargs
): 
3708         """SetToCurrent(self) -> DateTime""" 
3709         return _misc_
.DateTime_SetToCurrent(*args
, **kwargs
) 
3711     def SetTimeT(*args
, **kwargs
): 
3712         """SetTimeT(self, time_t timet) -> DateTime""" 
3713         return _misc_
.DateTime_SetTimeT(*args
, **kwargs
) 
3715     def SetJDN(*args
, **kwargs
): 
3716         """SetJDN(self, double jdn) -> DateTime""" 
3717         return _misc_
.DateTime_SetJDN(*args
, **kwargs
) 
3719     def SetHMS(*args
, **kwargs
): 
3720         """SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -> DateTime""" 
3721         return _misc_
.DateTime_SetHMS(*args
, **kwargs
) 
3723     def Set(*args
, **kwargs
): 
3725         Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0,  
3726             int minute=0, int second=0, int millisec=0) -> DateTime 
3728         return _misc_
.DateTime_Set(*args
, **kwargs
) 
3730     def ResetTime(*args
, **kwargs
): 
3731         """ResetTime(self) -> DateTime""" 
3732         return _misc_
.DateTime_ResetTime(*args
, **kwargs
) 
3734     def SetYear(*args
, **kwargs
): 
3735         """SetYear(self, int year) -> DateTime""" 
3736         return _misc_
.DateTime_SetYear(*args
, **kwargs
) 
3738     def SetMonth(*args
, **kwargs
): 
3739         """SetMonth(self, int month) -> DateTime""" 
3740         return _misc_
.DateTime_SetMonth(*args
, **kwargs
) 
3742     def SetDay(*args
, **kwargs
): 
3743         """SetDay(self, int day) -> DateTime""" 
3744         return _misc_
.DateTime_SetDay(*args
, **kwargs
) 
3746     def SetHour(*args
, **kwargs
): 
3747         """SetHour(self, int hour) -> DateTime""" 
3748         return _misc_
.DateTime_SetHour(*args
, **kwargs
) 
3750     def SetMinute(*args
, **kwargs
): 
3751         """SetMinute(self, int minute) -> DateTime""" 
3752         return _misc_
.DateTime_SetMinute(*args
, **kwargs
) 
3754     def SetSecond(*args
, **kwargs
): 
3755         """SetSecond(self, int second) -> DateTime""" 
3756         return _misc_
.DateTime_SetSecond(*args
, **kwargs
) 
3758     def SetMillisecond(*args
, **kwargs
): 
3759         """SetMillisecond(self, int millisecond) -> DateTime""" 
3760         return _misc_
.DateTime_SetMillisecond(*args
, **kwargs
) 
3762     def SetToWeekDayInSameWeek(*args
, **kwargs
): 
3763         """SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime""" 
3764         return _misc_
.DateTime_SetToWeekDayInSameWeek(*args
, **kwargs
) 
3766     def GetWeekDayInSameWeek(*args
, **kwargs
): 
3767         """GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime""" 
3768         return _misc_
.DateTime_GetWeekDayInSameWeek(*args
, **kwargs
) 
3770     def SetToNextWeekDay(*args
, **kwargs
): 
3771         """SetToNextWeekDay(self, int weekday) -> DateTime""" 
3772         return _misc_
.DateTime_SetToNextWeekDay(*args
, **kwargs
) 
3774     def GetNextWeekDay(*args
, **kwargs
): 
3775         """GetNextWeekDay(self, int weekday) -> DateTime""" 
3776         return _misc_
.DateTime_GetNextWeekDay(*args
, **kwargs
) 
3778     def SetToPrevWeekDay(*args
, **kwargs
): 
3779         """SetToPrevWeekDay(self, int weekday) -> DateTime""" 
3780         return _misc_
.DateTime_SetToPrevWeekDay(*args
, **kwargs
) 
3782     def GetPrevWeekDay(*args
, **kwargs
): 
3783         """GetPrevWeekDay(self, int weekday) -> DateTime""" 
3784         return _misc_
.DateTime_GetPrevWeekDay(*args
, **kwargs
) 
3786     def SetToWeekDay(*args
, **kwargs
): 
3787         """SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool""" 
3788         return _misc_
.DateTime_SetToWeekDay(*args
, **kwargs
) 
3790     def SetToLastWeekDay(*args
, **kwargs
): 
3791         """SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> bool""" 
3792         return _misc_
.DateTime_SetToLastWeekDay(*args
, **kwargs
) 
3794     def GetLastWeekDay(*args
, **kwargs
): 
3795         """GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3796         return _misc_
.DateTime_GetLastWeekDay(*args
, **kwargs
) 
3798     def SetToTheWeek(*args
, **kwargs
): 
3799         """SetToTheWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> bool""" 
3800         return _misc_
.DateTime_SetToTheWeek(*args
, **kwargs
) 
3802     def GetWeek(*args
, **kwargs
): 
3803         """GetWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime""" 
3804         return _misc_
.DateTime_GetWeek(*args
, **kwargs
) 
3806     SetToTheWeek 
= wx
._deprecated
(SetToTheWeek
, "SetToTheWeek is deprecated, use (static) SetToWeekOfYear instead") 
3807     GetWeek 
= wx
._deprecated
(GetWeek
, "GetWeek is deprecated, use GetWeekOfYear instead") 
3809     def SetToWeekOfYear(*args
, **kwargs
): 
3810         """SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime""" 
3811         return _misc_
.DateTime_SetToWeekOfYear(*args
, **kwargs
) 
3813     SetToWeekOfYear 
= staticmethod(SetToWeekOfYear
) 
3814     def SetToLastMonthDay(*args
, **kwargs
): 
3815         """SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3816         return _misc_
.DateTime_SetToLastMonthDay(*args
, **kwargs
) 
3818     def GetLastMonthDay(*args
, **kwargs
): 
3819         """GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3820         return _misc_
.DateTime_GetLastMonthDay(*args
, **kwargs
) 
3822     def SetToYearDay(*args
, **kwargs
): 
3823         """SetToYearDay(self, int yday) -> DateTime""" 
3824         return _misc_
.DateTime_SetToYearDay(*args
, **kwargs
) 
3826     def GetYearDay(*args
, **kwargs
): 
3827         """GetYearDay(self, int yday) -> DateTime""" 
3828         return _misc_
.DateTime_GetYearDay(*args
, **kwargs
) 
3830     def GetJulianDayNumber(*args
, **kwargs
): 
3831         """GetJulianDayNumber(self) -> double""" 
3832         return _misc_
.DateTime_GetJulianDayNumber(*args
, **kwargs
) 
3834     def GetJDN(*args
, **kwargs
): 
3835         """GetJDN(self) -> double""" 
3836         return _misc_
.DateTime_GetJDN(*args
, **kwargs
) 
3838     def GetModifiedJulianDayNumber(*args
, **kwargs
): 
3839         """GetModifiedJulianDayNumber(self) -> double""" 
3840         return _misc_
.DateTime_GetModifiedJulianDayNumber(*args
, **kwargs
) 
3842     def GetMJD(*args
, **kwargs
): 
3843         """GetMJD(self) -> double""" 
3844         return _misc_
.DateTime_GetMJD(*args
, **kwargs
) 
3846     def GetRataDie(*args
, **kwargs
): 
3847         """GetRataDie(self) -> double""" 
3848         return _misc_
.DateTime_GetRataDie(*args
, **kwargs
) 
3850     def ToTimezone(*args
, **kwargs
): 
3851         """ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3852         return _misc_
.DateTime_ToTimezone(*args
, **kwargs
) 
3854     def MakeTimezone(*args
, **kwargs
): 
3855         """MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3856         return _misc_
.DateTime_MakeTimezone(*args
, **kwargs
) 
3858     def FromTimezone(*args
, **kwargs
): 
3859         """FromTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3860         return _misc_
.DateTime_FromTimezone(*args
, **kwargs
) 
3862     def MakeFromTimezone(*args
, **kwargs
): 
3863         """MakeFromTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3864         return _misc_
.DateTime_MakeFromTimezone(*args
, **kwargs
) 
3866     def ToUTC(*args
, **kwargs
): 
3867         """ToUTC(self, bool noDST=False) -> DateTime""" 
3868         return _misc_
.DateTime_ToUTC(*args
, **kwargs
) 
3870     def MakeUTC(*args
, **kwargs
): 
3871         """MakeUTC(self, bool noDST=False) -> DateTime""" 
3872         return _misc_
.DateTime_MakeUTC(*args
, **kwargs
) 
3874     def ToGMT(*args
, **kwargs
): 
3875         """ToGMT(self, bool noDST=False) -> DateTime""" 
3876         return _misc_
.DateTime_ToGMT(*args
, **kwargs
) 
3878     def MakeGMT(*args
, **kwargs
): 
3879         """MakeGMT(self, bool noDST=False) -> DateTime""" 
3880         return _misc_
.DateTime_MakeGMT(*args
, **kwargs
) 
3882     def FromUTC(*args
, **kwargs
): 
3883         """FromUTC(self, bool noDST=False) -> DateTime""" 
3884         return _misc_
.DateTime_FromUTC(*args
, **kwargs
) 
3886     def MakeFromUTC(*args
, **kwargs
): 
3887         """MakeFromUTC(self, bool noDST=False) -> DateTime""" 
3888         return _misc_
.DateTime_MakeFromUTC(*args
, **kwargs
) 
3890     def IsDST(*args
, **kwargs
): 
3891         """IsDST(self, int country=Country_Default) -> int""" 
3892         return _misc_
.DateTime_IsDST(*args
, **kwargs
) 
3894     def IsValid(*args
, **kwargs
): 
3895         """IsValid(self) -> bool""" 
3896         return _misc_
.DateTime_IsValid(*args
, **kwargs
) 
3899     def __nonzero__(self
): return self
.Ok()  
3900     def GetTicks(*args
, **kwargs
): 
3901         """GetTicks(self) -> time_t""" 
3902         return _misc_
.DateTime_GetTicks(*args
, **kwargs
) 
3904     def GetYear(*args
, **kwargs
): 
3905         """GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3906         return _misc_
.DateTime_GetYear(*args
, **kwargs
) 
3908     def GetMonth(*args
, **kwargs
): 
3909         """GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3910         return _misc_
.DateTime_GetMonth(*args
, **kwargs
) 
3912     def GetDay(*args
, **kwargs
): 
3913         """GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3914         return _misc_
.DateTime_GetDay(*args
, **kwargs
) 
3916     def GetWeekDay(*args
, **kwargs
): 
3917         """GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3918         return _misc_
.DateTime_GetWeekDay(*args
, **kwargs
) 
3920     def GetHour(*args
, **kwargs
): 
3921         """GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3922         return _misc_
.DateTime_GetHour(*args
, **kwargs
) 
3924     def GetMinute(*args
, **kwargs
): 
3925         """GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3926         return _misc_
.DateTime_GetMinute(*args
, **kwargs
) 
3928     def GetSecond(*args
, **kwargs
): 
3929         """GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3930         return _misc_
.DateTime_GetSecond(*args
, **kwargs
) 
3932     def GetMillisecond(*args
, **kwargs
): 
3933         """GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3934         return _misc_
.DateTime_GetMillisecond(*args
, **kwargs
) 
3936     def GetDayOfYear(*args
, **kwargs
): 
3937         """GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3938         return _misc_
.DateTime_GetDayOfYear(*args
, **kwargs
) 
3940     def GetWeekOfYear(*args
, **kwargs
): 
3941         """GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3942         return _misc_
.DateTime_GetWeekOfYear(*args
, **kwargs
) 
3944     def GetWeekOfMonth(*args
, **kwargs
): 
3945         """GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3946         return _misc_
.DateTime_GetWeekOfMonth(*args
, **kwargs
) 
3948     def IsWorkDay(*args
, **kwargs
): 
3949         """IsWorkDay(self, int country=Country_Default) -> bool""" 
3950         return _misc_
.DateTime_IsWorkDay(*args
, **kwargs
) 
3952     def IsEqualTo(*args
, **kwargs
): 
3953         """IsEqualTo(self, DateTime datetime) -> bool""" 
3954         return _misc_
.DateTime_IsEqualTo(*args
, **kwargs
) 
3956     def IsEarlierThan(*args
, **kwargs
): 
3957         """IsEarlierThan(self, DateTime datetime) -> bool""" 
3958         return _misc_
.DateTime_IsEarlierThan(*args
, **kwargs
) 
3960     def IsLaterThan(*args
, **kwargs
): 
3961         """IsLaterThan(self, DateTime datetime) -> bool""" 
3962         return _misc_
.DateTime_IsLaterThan(*args
, **kwargs
) 
3964     def IsStrictlyBetween(*args
, **kwargs
): 
3965         """IsStrictlyBetween(self, DateTime t1, DateTime t2) -> bool""" 
3966         return _misc_
.DateTime_IsStrictlyBetween(*args
, **kwargs
) 
3968     def IsBetween(*args
, **kwargs
): 
3969         """IsBetween(self, DateTime t1, DateTime t2) -> bool""" 
3970         return _misc_
.DateTime_IsBetween(*args
, **kwargs
) 
3972     def IsSameDate(*args
, **kwargs
): 
3973         """IsSameDate(self, DateTime dt) -> bool""" 
3974         return _misc_
.DateTime_IsSameDate(*args
, **kwargs
) 
3976     def IsSameTime(*args
, **kwargs
): 
3977         """IsSameTime(self, DateTime dt) -> bool""" 
3978         return _misc_
.DateTime_IsSameTime(*args
, **kwargs
) 
3980     def IsEqualUpTo(*args
, **kwargs
): 
3981         """IsEqualUpTo(self, DateTime dt, TimeSpan ts) -> bool""" 
3982         return _misc_
.DateTime_IsEqualUpTo(*args
, **kwargs
) 
3984     def AddTS(*args
, **kwargs
): 
3985         """AddTS(self, TimeSpan diff) -> DateTime""" 
3986         return _misc_
.DateTime_AddTS(*args
, **kwargs
) 
3988     def AddDS(*args
, **kwargs
): 
3989         """AddDS(self, DateSpan diff) -> DateTime""" 
3990         return _misc_
.DateTime_AddDS(*args
, **kwargs
) 
3992     def SubtractTS(*args
, **kwargs
): 
3993         """SubtractTS(self, TimeSpan diff) -> DateTime""" 
3994         return _misc_
.DateTime_SubtractTS(*args
, **kwargs
) 
3996     def SubtractDS(*args
, **kwargs
): 
3997         """SubtractDS(self, DateSpan diff) -> DateTime""" 
3998         return _misc_
.DateTime_SubtractDS(*args
, **kwargs
) 
4000     def Subtract(*args
, **kwargs
): 
4001         """Subtract(self, DateTime dt) -> TimeSpan""" 
4002         return _misc_
.DateTime_Subtract(*args
, **kwargs
) 
4004     def __iadd__(*args
): 
4006         __iadd__(self, TimeSpan diff) -> DateTime 
4007         __iadd__(self, DateSpan diff) -> DateTime 
4009         return _misc_
.DateTime___iadd__(*args
) 
4011     def __isub__(*args
): 
4013         __isub__(self, TimeSpan diff) -> DateTime 
4014         __isub__(self, DateSpan diff) -> DateTime 
4016         return _misc_
.DateTime___isub__(*args
) 
4020         __add__(self, TimeSpan other) -> DateTime 
4021         __add__(self, DateSpan other) -> DateTime 
4023         return _misc_
.DateTime___add__(*args
) 
4027         __sub__(self, DateTime other) -> TimeSpan 
4028         __sub__(self, TimeSpan other) -> DateTime 
4029         __sub__(self, DateSpan other) -> DateTime 
4031         return _misc_
.DateTime___sub__(*args
) 
4033     def __lt__(*args
, **kwargs
): 
4034         """__lt__(self, DateTime other) -> bool""" 
4035         return _misc_
.DateTime___lt__(*args
, **kwargs
) 
4037     def __le__(*args
, **kwargs
): 
4038         """__le__(self, DateTime other) -> bool""" 
4039         return _misc_
.DateTime___le__(*args
, **kwargs
) 
4041     def __gt__(*args
, **kwargs
): 
4042         """__gt__(self, DateTime other) -> bool""" 
4043         return _misc_
.DateTime___gt__(*args
, **kwargs
) 
4045     def __ge__(*args
, **kwargs
): 
4046         """__ge__(self, DateTime other) -> bool""" 
4047         return _misc_
.DateTime___ge__(*args
, **kwargs
) 
4049     def __eq__(*args
, **kwargs
): 
4050         """__eq__(self, DateTime other) -> bool""" 
4051         return _misc_
.DateTime___eq__(*args
, **kwargs
) 
4053     def __ne__(*args
, **kwargs
): 
4054         """__ne__(self, DateTime other) -> bool""" 
4055         return _misc_
.DateTime___ne__(*args
, **kwargs
) 
4057     def ParseRfc822Date(*args
, **kwargs
): 
4058         """ParseRfc822Date(self, String date) -> int""" 
4059         return _misc_
.DateTime_ParseRfc822Date(*args
, **kwargs
) 
4061     def ParseFormat(*args
, **kwargs
): 
4062         """ParseFormat(self, String date, String format=DefaultDateTimeFormat, DateTime dateDef=DefaultDateTime) -> int""" 
4063         return _misc_
.DateTime_ParseFormat(*args
, **kwargs
) 
4065     def ParseDateTime(*args
, **kwargs
): 
4066         """ParseDateTime(self, String datetime) -> int""" 
4067         return _misc_
.DateTime_ParseDateTime(*args
, **kwargs
) 
4069     def ParseDate(*args
, **kwargs
): 
4070         """ParseDate(self, String date) -> int""" 
4071         return _misc_
.DateTime_ParseDate(*args
, **kwargs
) 
4073     def ParseTime(*args
, **kwargs
): 
4074         """ParseTime(self, String time) -> int""" 
4075         return _misc_
.DateTime_ParseTime(*args
, **kwargs
) 
4077     def Format(*args
, **kwargs
): 
4078         """Format(self, String format=DefaultDateTimeFormat, wxDateTime::TimeZone tz=LOCAL_TZ) -> String""" 
4079         return _misc_
.DateTime_Format(*args
, **kwargs
) 
4081     def FormatDate(*args
, **kwargs
): 
4082         """FormatDate(self) -> String""" 
4083         return _misc_
.DateTime_FormatDate(*args
, **kwargs
) 
4085     def FormatTime(*args
, **kwargs
): 
4086         """FormatTime(self) -> String""" 
4087         return _misc_
.DateTime_FormatTime(*args
, **kwargs
) 
4089     def FormatISODate(*args
, **kwargs
): 
4090         """FormatISODate(self) -> String""" 
4091         return _misc_
.DateTime_FormatISODate(*args
, **kwargs
) 
4093     def FormatISOTime(*args
, **kwargs
): 
4094         """FormatISOTime(self) -> String""" 
4095         return _misc_
.DateTime_FormatISOTime(*args
, **kwargs
) 
4099             f 
= self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4100             return '<wx.DateTime: \"%s\" at %s>' % ( f
, self
.this
) 
4102             return '<wx.DateTime: \"INVALID\" at %s>' % self
.this
 
4105             return self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4107             return "INVALID DateTime" 
4110 class DateTimePtr(DateTime
): 
4111     def __init__(self
, this
): 
4113         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4114         self
.__class
__ = DateTime
 
4115 _misc_
.DateTime_swigregister(DateTimePtr
) 
4116 DefaultDateTimeFormat 
= cvar
.DefaultDateTimeFormat
 
4117 DefaultTimeSpanFormat 
= cvar
.DefaultTimeSpanFormat
 
4119 def DateTime_SetCountry(*args
, **kwargs
): 
4120     """DateTime_SetCountry(int country)""" 
4121     return _misc_
.DateTime_SetCountry(*args
, **kwargs
) 
4123 def DateTime_GetCountry(*args
, **kwargs
): 
4124     """DateTime_GetCountry() -> int""" 
4125     return _misc_
.DateTime_GetCountry(*args
, **kwargs
) 
4127 def DateTime_IsWestEuropeanCountry(*args
, **kwargs
): 
4128     """DateTime_IsWestEuropeanCountry(int country=Country_Default) -> bool""" 
4129     return _misc_
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
) 
4131 def DateTime_GetCurrentYear(*args
, **kwargs
): 
4132     """DateTime_GetCurrentYear(int cal=Gregorian) -> int""" 
4133     return _misc_
.DateTime_GetCurrentYear(*args
, **kwargs
) 
4135 def DateTime_ConvertYearToBC(*args
, **kwargs
): 
4136     """DateTime_ConvertYearToBC(int year) -> int""" 
4137     return _misc_
.DateTime_ConvertYearToBC(*args
, **kwargs
) 
4139 def DateTime_GetCurrentMonth(*args
, **kwargs
): 
4140     """DateTime_GetCurrentMonth(int cal=Gregorian) -> int""" 
4141     return _misc_
.DateTime_GetCurrentMonth(*args
, **kwargs
) 
4143 def DateTime_IsLeapYear(*args
, **kwargs
): 
4144     """DateTime_IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" 
4145     return _misc_
.DateTime_IsLeapYear(*args
, **kwargs
) 
4147 def DateTime_GetCentury(*args
, **kwargs
): 
4148     """DateTime_GetCentury(int year=Inv_Year) -> int""" 
4149     return _misc_
.DateTime_GetCentury(*args
, **kwargs
) 
4151 def DateTime_GetNumberOfDaysinYear(*args
, **kwargs
): 
4152     """DateTime_GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" 
4153     return _misc_
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
) 
4155 def DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
): 
4156     """DateTime_GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" 
4157     return _misc_
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
) 
4159 def DateTime_GetMonthName(*args
, **kwargs
): 
4160     """DateTime_GetMonthName(int month, int flags=Name_Full) -> String""" 
4161     return _misc_
.DateTime_GetMonthName(*args
, **kwargs
) 
4163 def DateTime_GetWeekDayName(*args
, **kwargs
): 
4164     """DateTime_GetWeekDayName(int weekday, int flags=Name_Full) -> String""" 
4165     return _misc_
.DateTime_GetWeekDayName(*args
, **kwargs
) 
4167 def DateTime_GetAmPmStrings(*args
, **kwargs
): 
4169     GetAmPmStrings() -> (am, pm) 
4171     Get the AM and PM strings in the current locale (may be empty) 
4173     return _misc_
.DateTime_GetAmPmStrings(*args
, **kwargs
) 
4175 def DateTime_IsDSTApplicable(*args
, **kwargs
): 
4176     """DateTime_IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" 
4177     return _misc_
.DateTime_IsDSTApplicable(*args
, **kwargs
) 
4179 def DateTime_GetBeginDST(*args
, **kwargs
): 
4180     """DateTime_GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
4181     return _misc_
.DateTime_GetBeginDST(*args
, **kwargs
) 
4183 def DateTime_GetEndDST(*args
, **kwargs
): 
4184     """DateTime_GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
4185     return _misc_
.DateTime_GetEndDST(*args
, **kwargs
) 
4187 def DateTime_Now(*args
, **kwargs
): 
4188     """DateTime_Now() -> DateTime""" 
4189     return _misc_
.DateTime_Now(*args
, **kwargs
) 
4191 def DateTime_UNow(*args
, **kwargs
): 
4192     """DateTime_UNow() -> DateTime""" 
4193     return _misc_
.DateTime_UNow(*args
, **kwargs
) 
4195 def DateTime_Today(*args
, **kwargs
): 
4196     """DateTime_Today() -> DateTime""" 
4197     return _misc_
.DateTime_Today(*args
, **kwargs
) 
4199 def DateTimeFromTimeT(*args
, **kwargs
): 
4200     """DateTimeFromTimeT(time_t timet) -> DateTime""" 
4201     val 
= _misc_
.new_DateTimeFromTimeT(*args
, **kwargs
) 
4205 def DateTimeFromJDN(*args
, **kwargs
): 
4206     """DateTimeFromJDN(double jdn) -> DateTime""" 
4207     val 
= _misc_
.new_DateTimeFromJDN(*args
, **kwargs
) 
4211 def DateTimeFromHMS(*args
, **kwargs
): 
4212     """DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime""" 
4213     val 
= _misc_
.new_DateTimeFromHMS(*args
, **kwargs
) 
4217 def DateTimeFromDMY(*args
, **kwargs
): 
4219     DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0,  
4220         int minute=0, int second=0, int millisec=0) -> DateTime 
4222     val 
= _misc_
.new_DateTimeFromDMY(*args
, **kwargs
) 
4226 def DateTime_SetToWeekOfYear(*args
, **kwargs
): 
4227     """DateTime_SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime""" 
4228     return _misc_
.DateTime_SetToWeekOfYear(*args
, **kwargs
) 
4230 class TimeSpan(object): 
4231     """Proxy of C++ TimeSpan class""" 
4233         return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4234     def Seconds(*args
, **kwargs
): 
4235         """Seconds(long sec) -> TimeSpan""" 
4236         return _misc_
.TimeSpan_Seconds(*args
, **kwargs
) 
4238     Seconds 
= staticmethod(Seconds
) 
4239     def Second(*args
, **kwargs
): 
4240         """Second() -> TimeSpan""" 
4241         return _misc_
.TimeSpan_Second(*args
, **kwargs
) 
4243     Second 
= staticmethod(Second
) 
4244     def Minutes(*args
, **kwargs
): 
4245         """Minutes(long min) -> TimeSpan""" 
4246         return _misc_
.TimeSpan_Minutes(*args
, **kwargs
) 
4248     Minutes 
= staticmethod(Minutes
) 
4249     def Minute(*args
, **kwargs
): 
4250         """Minute() -> TimeSpan""" 
4251         return _misc_
.TimeSpan_Minute(*args
, **kwargs
) 
4253     Minute 
= staticmethod(Minute
) 
4254     def Hours(*args
, **kwargs
): 
4255         """Hours(long hours) -> TimeSpan""" 
4256         return _misc_
.TimeSpan_Hours(*args
, **kwargs
) 
4258     Hours 
= staticmethod(Hours
) 
4259     def Hour(*args
, **kwargs
): 
4260         """Hour() -> TimeSpan""" 
4261         return _misc_
.TimeSpan_Hour(*args
, **kwargs
) 
4263     Hour 
= staticmethod(Hour
) 
4264     def Days(*args
, **kwargs
): 
4265         """Days(long days) -> TimeSpan""" 
4266         return _misc_
.TimeSpan_Days(*args
, **kwargs
) 
4268     Days 
= staticmethod(Days
) 
4269     def Day(*args
, **kwargs
): 
4270         """Day() -> TimeSpan""" 
4271         return _misc_
.TimeSpan_Day(*args
, **kwargs
) 
4273     Day 
= staticmethod(Day
) 
4274     def Weeks(*args
, **kwargs
): 
4275         """Weeks(long days) -> TimeSpan""" 
4276         return _misc_
.TimeSpan_Weeks(*args
, **kwargs
) 
4278     Weeks 
= staticmethod(Weeks
) 
4279     def Week(*args
, **kwargs
): 
4280         """Week() -> TimeSpan""" 
4281         return _misc_
.TimeSpan_Week(*args
, **kwargs
) 
4283     Week 
= staticmethod(Week
) 
4284     def __init__(self
, *args
, **kwargs
): 
4285         """__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan""" 
4286         newobj 
= _misc_
.new_TimeSpan(*args
, **kwargs
) 
4287         self
.this 
= newobj
.this
 
4290     def __del__(self
, destroy
=_misc_
.delete_TimeSpan
): 
4293             if self
.thisown
: destroy(self
) 
4296     def Add(*args
, **kwargs
): 
4297         """Add(self, TimeSpan diff) -> TimeSpan""" 
4298         return _misc_
.TimeSpan_Add(*args
, **kwargs
) 
4300     def Subtract(*args
, **kwargs
): 
4301         """Subtract(self, TimeSpan diff) -> TimeSpan""" 
4302         return _misc_
.TimeSpan_Subtract(*args
, **kwargs
) 
4304     def Multiply(*args
, **kwargs
): 
4305         """Multiply(self, int n) -> TimeSpan""" 
4306         return _misc_
.TimeSpan_Multiply(*args
, **kwargs
) 
4308     def Neg(*args
, **kwargs
): 
4309         """Neg(self) -> TimeSpan""" 
4310         return _misc_
.TimeSpan_Neg(*args
, **kwargs
) 
4312     def Abs(*args
, **kwargs
): 
4313         """Abs(self) -> TimeSpan""" 
4314         return _misc_
.TimeSpan_Abs(*args
, **kwargs
) 
4316     def __iadd__(*args
, **kwargs
): 
4317         """__iadd__(self, TimeSpan diff) -> TimeSpan""" 
4318         return _misc_
.TimeSpan___iadd__(*args
, **kwargs
) 
4320     def __isub__(*args
, **kwargs
): 
4321         """__isub__(self, TimeSpan diff) -> TimeSpan""" 
4322         return _misc_
.TimeSpan___isub__(*args
, **kwargs
) 
4324     def __imul__(*args
, **kwargs
): 
4325         """__imul__(self, int n) -> TimeSpan""" 
4326         return _misc_
.TimeSpan___imul__(*args
, **kwargs
) 
4328     def __neg__(*args
, **kwargs
): 
4329         """__neg__(self) -> TimeSpan""" 
4330         return _misc_
.TimeSpan___neg__(*args
, **kwargs
) 
4332     def __add__(*args
, **kwargs
): 
4333         """__add__(self, TimeSpan other) -> TimeSpan""" 
4334         return _misc_
.TimeSpan___add__(*args
, **kwargs
) 
4336     def __sub__(*args
, **kwargs
): 
4337         """__sub__(self, TimeSpan other) -> TimeSpan""" 
4338         return _misc_
.TimeSpan___sub__(*args
, **kwargs
) 
4340     def __mul__(*args
, **kwargs
): 
4341         """__mul__(self, int n) -> TimeSpan""" 
4342         return _misc_
.TimeSpan___mul__(*args
, **kwargs
) 
4344     def __rmul__(*args
, **kwargs
): 
4345         """__rmul__(self, int n) -> TimeSpan""" 
4346         return _misc_
.TimeSpan___rmul__(*args
, **kwargs
) 
4348     def __lt__(*args
, **kwargs
): 
4349         """__lt__(self, TimeSpan other) -> bool""" 
4350         return _misc_
.TimeSpan___lt__(*args
, **kwargs
) 
4352     def __le__(*args
, **kwargs
): 
4353         """__le__(self, TimeSpan other) -> bool""" 
4354         return _misc_
.TimeSpan___le__(*args
, **kwargs
) 
4356     def __gt__(*args
, **kwargs
): 
4357         """__gt__(self, TimeSpan other) -> bool""" 
4358         return _misc_
.TimeSpan___gt__(*args
, **kwargs
) 
4360     def __ge__(*args
, **kwargs
): 
4361         """__ge__(self, TimeSpan other) -> bool""" 
4362         return _misc_
.TimeSpan___ge__(*args
, **kwargs
) 
4364     def __eq__(*args
, **kwargs
): 
4365         """__eq__(self, TimeSpan other) -> bool""" 
4366         return _misc_
.TimeSpan___eq__(*args
, **kwargs
) 
4368     def __ne__(*args
, **kwargs
): 
4369         """__ne__(self, TimeSpan other) -> bool""" 
4370         return _misc_
.TimeSpan___ne__(*args
, **kwargs
) 
4372     def IsNull(*args
, **kwargs
): 
4373         """IsNull(self) -> bool""" 
4374         return _misc_
.TimeSpan_IsNull(*args
, **kwargs
) 
4376     def IsPositive(*args
, **kwargs
): 
4377         """IsPositive(self) -> bool""" 
4378         return _misc_
.TimeSpan_IsPositive(*args
, **kwargs
) 
4380     def IsNegative(*args
, **kwargs
): 
4381         """IsNegative(self) -> bool""" 
4382         return _misc_
.TimeSpan_IsNegative(*args
, **kwargs
) 
4384     def IsEqualTo(*args
, **kwargs
): 
4385         """IsEqualTo(self, TimeSpan ts) -> bool""" 
4386         return _misc_
.TimeSpan_IsEqualTo(*args
, **kwargs
) 
4388     def IsLongerThan(*args
, **kwargs
): 
4389         """IsLongerThan(self, TimeSpan ts) -> bool""" 
4390         return _misc_
.TimeSpan_IsLongerThan(*args
, **kwargs
) 
4392     def IsShorterThan(*args
, **kwargs
): 
4393         """IsShorterThan(self, TimeSpan t) -> bool""" 
4394         return _misc_
.TimeSpan_IsShorterThan(*args
, **kwargs
) 
4396     def GetWeeks(*args
, **kwargs
): 
4397         """GetWeeks(self) -> int""" 
4398         return _misc_
.TimeSpan_GetWeeks(*args
, **kwargs
) 
4400     def GetDays(*args
, **kwargs
): 
4401         """GetDays(self) -> int""" 
4402         return _misc_
.TimeSpan_GetDays(*args
, **kwargs
) 
4404     def GetHours(*args
, **kwargs
): 
4405         """GetHours(self) -> int""" 
4406         return _misc_
.TimeSpan_GetHours(*args
, **kwargs
) 
4408     def GetMinutes(*args
, **kwargs
): 
4409         """GetMinutes(self) -> int""" 
4410         return _misc_
.TimeSpan_GetMinutes(*args
, **kwargs
) 
4412     def GetSeconds(*args
, **kwargs
): 
4413         """GetSeconds(self) -> wxLongLong""" 
4414         return _misc_
.TimeSpan_GetSeconds(*args
, **kwargs
) 
4416     def GetMilliseconds(*args
, **kwargs
): 
4417         """GetMilliseconds(self) -> wxLongLong""" 
4418         return _misc_
.TimeSpan_GetMilliseconds(*args
, **kwargs
) 
4420     def Format(*args
, **kwargs
): 
4421         """Format(self, String format=DefaultTimeSpanFormat) -> String""" 
4422         return _misc_
.TimeSpan_Format(*args
, **kwargs
) 
4425         f 
= self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4426         return '<wx.TimeSpan: \"%s\" at %s>' % ( f
, self
.this
) 
4428         return self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4431 class TimeSpanPtr(TimeSpan
): 
4432     def __init__(self
, this
): 
4434         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4435         self
.__class
__ = TimeSpan
 
4436 _misc_
.TimeSpan_swigregister(TimeSpanPtr
) 
4438 def TimeSpan_Seconds(*args
, **kwargs
): 
4439     """TimeSpan_Seconds(long sec) -> TimeSpan""" 
4440     return _misc_
.TimeSpan_Seconds(*args
, **kwargs
) 
4442 def TimeSpan_Second(*args
, **kwargs
): 
4443     """TimeSpan_Second() -> TimeSpan""" 
4444     return _misc_
.TimeSpan_Second(*args
, **kwargs
) 
4446 def TimeSpan_Minutes(*args
, **kwargs
): 
4447     """TimeSpan_Minutes(long min) -> TimeSpan""" 
4448     return _misc_
.TimeSpan_Minutes(*args
, **kwargs
) 
4450 def TimeSpan_Minute(*args
, **kwargs
): 
4451     """TimeSpan_Minute() -> TimeSpan""" 
4452     return _misc_
.TimeSpan_Minute(*args
, **kwargs
) 
4454 def TimeSpan_Hours(*args
, **kwargs
): 
4455     """TimeSpan_Hours(long hours) -> TimeSpan""" 
4456     return _misc_
.TimeSpan_Hours(*args
, **kwargs
) 
4458 def TimeSpan_Hour(*args
, **kwargs
): 
4459     """TimeSpan_Hour() -> TimeSpan""" 
4460     return _misc_
.TimeSpan_Hour(*args
, **kwargs
) 
4462 def TimeSpan_Days(*args
, **kwargs
): 
4463     """TimeSpan_Days(long days) -> TimeSpan""" 
4464     return _misc_
.TimeSpan_Days(*args
, **kwargs
) 
4466 def TimeSpan_Day(*args
, **kwargs
): 
4467     """TimeSpan_Day() -> TimeSpan""" 
4468     return _misc_
.TimeSpan_Day(*args
, **kwargs
) 
4470 def TimeSpan_Weeks(*args
, **kwargs
): 
4471     """TimeSpan_Weeks(long days) -> TimeSpan""" 
4472     return _misc_
.TimeSpan_Weeks(*args
, **kwargs
) 
4474 def TimeSpan_Week(*args
, **kwargs
): 
4475     """TimeSpan_Week() -> TimeSpan""" 
4476     return _misc_
.TimeSpan_Week(*args
, **kwargs
) 
4478 class DateSpan(object): 
4479     """Proxy of C++ DateSpan class""" 
4481         return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4482     def __init__(self
, *args
, **kwargs
): 
4483         """__init__(self, int years=0, int months=0, int weeks=0, int days=0) -> DateSpan""" 
4484         newobj 
= _misc_
.new_DateSpan(*args
, **kwargs
) 
4485         self
.this 
= newobj
.this
 
4488     def __del__(self
, destroy
=_misc_
.delete_DateSpan
): 
4491             if self
.thisown
: destroy(self
) 
4494     def Days(*args
, **kwargs
): 
4495         """Days(int days) -> DateSpan""" 
4496         return _misc_
.DateSpan_Days(*args
, **kwargs
) 
4498     Days 
= staticmethod(Days
) 
4499     def Day(*args
, **kwargs
): 
4500         """Day() -> DateSpan""" 
4501         return _misc_
.DateSpan_Day(*args
, **kwargs
) 
4503     Day 
= staticmethod(Day
) 
4504     def Weeks(*args
, **kwargs
): 
4505         """Weeks(int weeks) -> DateSpan""" 
4506         return _misc_
.DateSpan_Weeks(*args
, **kwargs
) 
4508     Weeks 
= staticmethod(Weeks
) 
4509     def Week(*args
, **kwargs
): 
4510         """Week() -> DateSpan""" 
4511         return _misc_
.DateSpan_Week(*args
, **kwargs
) 
4513     Week 
= staticmethod(Week
) 
4514     def Months(*args
, **kwargs
): 
4515         """Months(int mon) -> DateSpan""" 
4516         return _misc_
.DateSpan_Months(*args
, **kwargs
) 
4518     Months 
= staticmethod(Months
) 
4519     def Month(*args
, **kwargs
): 
4520         """Month() -> DateSpan""" 
4521         return _misc_
.DateSpan_Month(*args
, **kwargs
) 
4523     Month 
= staticmethod(Month
) 
4524     def Years(*args
, **kwargs
): 
4525         """Years(int years) -> DateSpan""" 
4526         return _misc_
.DateSpan_Years(*args
, **kwargs
) 
4528     Years 
= staticmethod(Years
) 
4529     def Year(*args
, **kwargs
): 
4530         """Year() -> DateSpan""" 
4531         return _misc_
.DateSpan_Year(*args
, **kwargs
) 
4533     Year 
= staticmethod(Year
) 
4534     def SetYears(*args
, **kwargs
): 
4535         """SetYears(self, int n) -> DateSpan""" 
4536         return _misc_
.DateSpan_SetYears(*args
, **kwargs
) 
4538     def SetMonths(*args
, **kwargs
): 
4539         """SetMonths(self, int n) -> DateSpan""" 
4540         return _misc_
.DateSpan_SetMonths(*args
, **kwargs
) 
4542     def SetWeeks(*args
, **kwargs
): 
4543         """SetWeeks(self, int n) -> DateSpan""" 
4544         return _misc_
.DateSpan_SetWeeks(*args
, **kwargs
) 
4546     def SetDays(*args
, **kwargs
): 
4547         """SetDays(self, int n) -> DateSpan""" 
4548         return _misc_
.DateSpan_SetDays(*args
, **kwargs
) 
4550     def GetYears(*args
, **kwargs
): 
4551         """GetYears(self) -> int""" 
4552         return _misc_
.DateSpan_GetYears(*args
, **kwargs
) 
4554     def GetMonths(*args
, **kwargs
): 
4555         """GetMonths(self) -> int""" 
4556         return _misc_
.DateSpan_GetMonths(*args
, **kwargs
) 
4558     def GetWeeks(*args
, **kwargs
): 
4559         """GetWeeks(self) -> int""" 
4560         return _misc_
.DateSpan_GetWeeks(*args
, **kwargs
) 
4562     def GetDays(*args
, **kwargs
): 
4563         """GetDays(self) -> int""" 
4564         return _misc_
.DateSpan_GetDays(*args
, **kwargs
) 
4566     def GetTotalDays(*args
, **kwargs
): 
4567         """GetTotalDays(self) -> int""" 
4568         return _misc_
.DateSpan_GetTotalDays(*args
, **kwargs
) 
4570     def Add(*args
, **kwargs
): 
4571         """Add(self, DateSpan other) -> DateSpan""" 
4572         return _misc_
.DateSpan_Add(*args
, **kwargs
) 
4574     def Subtract(*args
, **kwargs
): 
4575         """Subtract(self, DateSpan other) -> DateSpan""" 
4576         return _misc_
.DateSpan_Subtract(*args
, **kwargs
) 
4578     def Neg(*args
, **kwargs
): 
4579         """Neg(self) -> DateSpan""" 
4580         return _misc_
.DateSpan_Neg(*args
, **kwargs
) 
4582     def Multiply(*args
, **kwargs
): 
4583         """Multiply(self, int factor) -> DateSpan""" 
4584         return _misc_
.DateSpan_Multiply(*args
, **kwargs
) 
4586     def __iadd__(*args
, **kwargs
): 
4587         """__iadd__(self, DateSpan other) -> DateSpan""" 
4588         return _misc_
.DateSpan___iadd__(*args
, **kwargs
) 
4590     def __isub__(*args
, **kwargs
): 
4591         """__isub__(self, DateSpan other) -> DateSpan""" 
4592         return _misc_
.DateSpan___isub__(*args
, **kwargs
) 
4594     def __neg__(*args
, **kwargs
): 
4595         """__neg__(self) -> DateSpan""" 
4596         return _misc_
.DateSpan___neg__(*args
, **kwargs
) 
4598     def __imul__(*args
, **kwargs
): 
4599         """__imul__(self, int factor) -> DateSpan""" 
4600         return _misc_
.DateSpan___imul__(*args
, **kwargs
) 
4602     def __add__(*args
, **kwargs
): 
4603         """__add__(self, DateSpan other) -> DateSpan""" 
4604         return _misc_
.DateSpan___add__(*args
, **kwargs
) 
4606     def __sub__(*args
, **kwargs
): 
4607         """__sub__(self, DateSpan other) -> DateSpan""" 
4608         return _misc_
.DateSpan___sub__(*args
, **kwargs
) 
4610     def __mul__(*args
, **kwargs
): 
4611         """__mul__(self, int n) -> DateSpan""" 
4612         return _misc_
.DateSpan___mul__(*args
, **kwargs
) 
4614     def __rmul__(*args
, **kwargs
): 
4615         """__rmul__(self, int n) -> DateSpan""" 
4616         return _misc_
.DateSpan___rmul__(*args
, **kwargs
) 
4618     def __eq__(*args
, **kwargs
): 
4619         """__eq__(self, DateSpan other) -> bool""" 
4620         return _misc_
.DateSpan___eq__(*args
, **kwargs
) 
4622     def __ne__(*args
, **kwargs
): 
4623         """__ne__(self, DateSpan other) -> bool""" 
4624         return _misc_
.DateSpan___ne__(*args
, **kwargs
) 
4627 class DateSpanPtr(DateSpan
): 
4628     def __init__(self
, this
): 
4630         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4631         self
.__class
__ = DateSpan
 
4632 _misc_
.DateSpan_swigregister(DateSpanPtr
) 
4634 def DateSpan_Days(*args
, **kwargs
): 
4635     """DateSpan_Days(int days) -> DateSpan""" 
4636     return _misc_
.DateSpan_Days(*args
, **kwargs
) 
4638 def DateSpan_Day(*args
, **kwargs
): 
4639     """DateSpan_Day() -> DateSpan""" 
4640     return _misc_
.DateSpan_Day(*args
, **kwargs
) 
4642 def DateSpan_Weeks(*args
, **kwargs
): 
4643     """DateSpan_Weeks(int weeks) -> DateSpan""" 
4644     return _misc_
.DateSpan_Weeks(*args
, **kwargs
) 
4646 def DateSpan_Week(*args
, **kwargs
): 
4647     """DateSpan_Week() -> DateSpan""" 
4648     return _misc_
.DateSpan_Week(*args
, **kwargs
) 
4650 def DateSpan_Months(*args
, **kwargs
): 
4651     """DateSpan_Months(int mon) -> DateSpan""" 
4652     return _misc_
.DateSpan_Months(*args
, **kwargs
) 
4654 def DateSpan_Month(*args
, **kwargs
): 
4655     """DateSpan_Month() -> DateSpan""" 
4656     return _misc_
.DateSpan_Month(*args
, **kwargs
) 
4658 def DateSpan_Years(*args
, **kwargs
): 
4659     """DateSpan_Years(int years) -> DateSpan""" 
4660     return _misc_
.DateSpan_Years(*args
, **kwargs
) 
4662 def DateSpan_Year(*args
, **kwargs
): 
4663     """DateSpan_Year() -> DateSpan""" 
4664     return _misc_
.DateSpan_Year(*args
, **kwargs
) 
4667 def GetLocalTime(*args
, **kwargs
): 
4668     """GetLocalTime() -> long""" 
4669     return _misc_
.GetLocalTime(*args
, **kwargs
) 
4671 def GetUTCTime(*args
, **kwargs
): 
4672     """GetUTCTime() -> long""" 
4673     return _misc_
.GetUTCTime(*args
, **kwargs
) 
4675 def GetCurrentTime(*args
, **kwargs
): 
4676     """GetCurrentTime() -> long""" 
4677     return _misc_
.GetCurrentTime(*args
, **kwargs
) 
4679 def GetLocalTimeMillis(*args
, **kwargs
): 
4680     """GetLocalTimeMillis() -> wxLongLong""" 
4681     return _misc_
.GetLocalTimeMillis(*args
, **kwargs
) 
4682 #--------------------------------------------------------------------------- 
4684 DF_INVALID 
= _misc_
.DF_INVALID
 
4685 DF_TEXT 
= _misc_
.DF_TEXT
 
4686 DF_BITMAP 
= _misc_
.DF_BITMAP
 
4687 DF_METAFILE 
= _misc_
.DF_METAFILE
 
4688 DF_SYLK 
= _misc_
.DF_SYLK
 
4689 DF_DIF 
= _misc_
.DF_DIF
 
4690 DF_TIFF 
= _misc_
.DF_TIFF
 
4691 DF_OEMTEXT 
= _misc_
.DF_OEMTEXT
 
4692 DF_DIB 
= _misc_
.DF_DIB
 
4693 DF_PALETTE 
= _misc_
.DF_PALETTE
 
4694 DF_PENDATA 
= _misc_
.DF_PENDATA
 
4695 DF_RIFF 
= _misc_
.DF_RIFF
 
4696 DF_WAVE 
= _misc_
.DF_WAVE
 
4697 DF_UNICODETEXT 
= _misc_
.DF_UNICODETEXT
 
4698 DF_ENHMETAFILE 
= _misc_
.DF_ENHMETAFILE
 
4699 DF_FILENAME 
= _misc_
.DF_FILENAME
 
4700 DF_LOCALE 
= _misc_
.DF_LOCALE
 
4701 DF_PRIVATE 
= _misc_
.DF_PRIVATE
 
4702 DF_HTML 
= _misc_
.DF_HTML
 
4703 DF_MAX 
= _misc_
.DF_MAX
 
4704 class DataFormat(object): 
4706     A wx.DataFormat is an encapsulation of a platform-specific format 
4707     handle which is used by the system for the clipboard and drag and drop 
4708     operations. The applications are usually only interested in, for 
4709     example, pasting data from the clipboard only if the data is in a 
4710     format the program understands.  A data format is is used to uniquely 
4711     identify this format. 
4714         return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4715     def __init__(self
, *args
, **kwargs
): 
4717         __init__(self, int type) -> DataFormat 
4719         Constructs a data format object for one of the standard data formats 
4720         or an empty data object (use SetType or SetId later in this case) 
4722         newobj 
= _misc_
.new_DataFormat(*args
, **kwargs
) 
4723         self
.this 
= newobj
.this
 
4726     def __del__(self
, destroy
=_misc_
.delete_DataFormat
): 
4729             if self
.thisown
: destroy(self
) 
4734         __eq__(self, int format) -> bool 
4735         __eq__(self, DataFormat format) -> bool 
4737         return _misc_
.DataFormat___eq__(*args
) 
4741         __ne__(self, int format) -> bool 
4742         __ne__(self, DataFormat format) -> bool 
4744         return _misc_
.DataFormat___ne__(*args
) 
4746     def SetType(*args
, **kwargs
): 
4748         SetType(self, int format) 
4750         Sets the format to the given value, which should be one of wx.DF_XXX 
4753         return _misc_
.DataFormat_SetType(*args
, **kwargs
) 
4755     def GetType(*args
, **kwargs
): 
4757         GetType(self) -> int 
4759         Returns the platform-specific number identifying the format. 
4761         return _misc_
.DataFormat_GetType(*args
, **kwargs
) 
4763     def GetId(*args
, **kwargs
): 
4765         GetId(self) -> String 
4767         Returns the name of a custom format (this function will fail for a 
4770         return _misc_
.DataFormat_GetId(*args
, **kwargs
) 
4772     def SetId(*args
, **kwargs
): 
4774         SetId(self, String format) 
4776         Sets the format to be the custom format identified by the given name. 
4778         return _misc_
.DataFormat_SetId(*args
, **kwargs
) 
4781 class DataFormatPtr(DataFormat
): 
4782     def __init__(self
, this
): 
4784         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4785         self
.__class
__ = DataFormat
 
4786 _misc_
.DataFormat_swigregister(DataFormatPtr
) 
4787 DefaultDateTime 
= cvar
.DefaultDateTime
 
4789 def CustomDataFormat(*args
, **kwargs
): 
4791     CustomDataFormat(String format) -> DataFormat 
4793     Constructs a data format object for a custom format identified by its 
4796     val 
= _misc_
.new_CustomDataFormat(*args
, **kwargs
) 
4800 class DataObject(object): 
4802     A wx.DataObject represents data that can be copied to or from the 
4803     clipboard, or dragged and dropped. The important thing about 
4804     wx.DataObject is that this is a 'smart' piece of data unlike usual 
4805     'dumb' data containers such as memory buffers or files. Being 'smart' 
4806     here means that the data object itself should know what data formats 
4807     it supports and how to render itself in each of supported formats. 
4809     **NOTE**: This class is an abstract base class and can not be used 
4810     directly from Python.  If you need a custom type of data object then 
4811     you should instead derive from `wx.PyDataObjectSimple` or use 
4812     `wx.CustomDataObject`. 
4815     def __init__(self
): raise RuntimeError, "No constructor defined" 
4817         return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4818     Get 
= _misc_
.DataObject_Get
 
4819     Set 
= _misc_
.DataObject_Set
 
4820     Both 
= _misc_
.DataObject_Both
 
4821     def __del__(self
, destroy
=_misc_
.delete_DataObject
): 
4824             if self
.thisown
: destroy(self
) 
4827     def GetPreferredFormat(*args
, **kwargs
): 
4829         GetPreferredFormat(self, int dir=Get) -> DataFormat 
4831         Returns the preferred format for either rendering the data (if dir is 
4832         Get, its default value) or for setting it. Usually this will be the 
4833         native format of the wx.DataObject. 
4835         return _misc_
.DataObject_GetPreferredFormat(*args
, **kwargs
) 
4837     def GetFormatCount(*args
, **kwargs
): 
4839         GetFormatCount(self, int dir=Get) -> size_t 
4841         Returns the number of available formats for rendering or setting the 
4844         return _misc_
.DataObject_GetFormatCount(*args
, **kwargs
) 
4846     def IsSupported(*args
, **kwargs
): 
4848         IsSupported(self, DataFormat format, int dir=Get) -> bool 
4850         Returns True if this format is supported. 
4852         return _misc_
.DataObject_IsSupported(*args
, **kwargs
) 
4854     def GetDataSize(*args
, **kwargs
): 
4856         GetDataSize(self, DataFormat format) -> size_t 
4858         Get the (total) size of data for the given format 
4860         return _misc_
.DataObject_GetDataSize(*args
, **kwargs
) 
4862     def GetAllFormats(*args
, **kwargs
): 
4864         GetAllFormats(self, int dir=Get) -> [formats] 
4866         Returns a list of all the wx.DataFormats that this dataobject supports 
4867         in the given direction. 
4869         return _misc_
.DataObject_GetAllFormats(*args
, **kwargs
) 
4871     def GetDataHere(*args
, **kwargs
): 
4873         GetDataHere(self, DataFormat format) -> String 
4875         Get the data bytes in the specified format, returns None on failure. 
4877         return _misc_
.DataObject_GetDataHere(*args
, **kwargs
) 
4879     def SetData(*args
, **kwargs
): 
4881         SetData(self, DataFormat format, String data) -> bool 
4883         Set the data in the specified format from the bytes in the the data string. 
4886         return _misc_
.DataObject_SetData(*args
, **kwargs
) 
4889 class DataObjectPtr(DataObject
): 
4890     def __init__(self
, this
): 
4892         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4893         self
.__class
__ = DataObject
 
4894 _misc_
.DataObject_swigregister(DataObjectPtr
) 
4895 FormatInvalid 
= cvar
.FormatInvalid
 
4897 class DataObjectSimple(DataObject
): 
4899     wx.DataObjectSimple is a `wx.DataObject` which only supports one 
4900     format.  This is the simplest possible `wx.DataObject` implementation. 
4902     This is still an "abstract base class" meaning that you can't use it 
4903     directly.  You either need to use one of the predefined base classes, 
4904     or derive your own class from `wx.PyDataObjectSimple`. 
4908         return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4909     def __init__(self
, *args
, **kwargs
): 
4911         __init__(self, DataFormat format=FormatInvalid) -> DataObjectSimple 
4913         Constructor accepts the supported format (none by default) which may 
4914         also be set later with `SetFormat`. 
4916         newobj 
= _misc_
.new_DataObjectSimple(*args
, **kwargs
) 
4917         self
.this 
= newobj
.this
 
4920     def GetFormat(*args
, **kwargs
): 
4922         GetFormat(self) -> DataFormat 
4924         Returns the (one and only one) format supported by this object. It is 
4925         assumed that the format is supported in both directions. 
4927         return _misc_
.DataObjectSimple_GetFormat(*args
, **kwargs
) 
4929     def SetFormat(*args
, **kwargs
): 
4931         SetFormat(self, DataFormat format) 
4933         Sets the supported format. 
4935         return _misc_
.DataObjectSimple_SetFormat(*args
, **kwargs
) 
4937     def GetDataSize(*args
, **kwargs
): 
4939         GetDataSize(self) -> size_t 
4941         Get the size of our data. 
4943         return _misc_
.DataObjectSimple_GetDataSize(*args
, **kwargs
) 
4945     def GetDataHere(*args
, **kwargs
): 
4947         GetDataHere(self) -> String 
4949         Returns the data bytes from the data object as a string, returns None 
4950         on failure.  Must be implemented in the derived class if the object 
4951         supports rendering its data. 
4953         return _misc_
.DataObjectSimple_GetDataHere(*args
, **kwargs
) 
4955     def SetData(*args
, **kwargs
): 
4957         SetData(self, String data) -> bool 
4959         Copy the data value to the data object.  Must be implemented in the 
4960         derived class if the object supports setting its data. 
4963         return _misc_
.DataObjectSimple_SetData(*args
, **kwargs
) 
4966 class DataObjectSimplePtr(DataObjectSimple
): 
4967     def __init__(self
, this
): 
4969         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4970         self
.__class
__ = DataObjectSimple
 
4971 _misc_
.DataObjectSimple_swigregister(DataObjectSimplePtr
) 
4973 class PyDataObjectSimple(DataObjectSimple
): 
4975     wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is 
4976     Python-aware and knows how to reflect calls to its C++ virtual methods 
4977     to methods in the Python derived class.  You should derive from this 
4978     class and overload `GetDataSize`, `GetDataHere` and `SetData` when you 
4979     need to create your own simple single-format type of `wx.DataObject`. 
4983         return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4984     def __init__(self
, *args
, **kwargs
): 
4986         __init__(self, DataFormat format=FormatInvalid) -> PyDataObjectSimple 
4988         wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is 
4989         Python-aware and knows how to reflect calls to its C++ virtual methods 
4990         to methods in the Python derived class.  You should derive from this 
4991         class and overload `GetDataSize`, `GetDataHere` and `SetData` when you 
4992         need to create your own simple single-format type of `wx.DataObject`. 
4995         newobj 
= _misc_
.new_PyDataObjectSimple(*args
, **kwargs
) 
4996         self
.this 
= newobj
.this
 
4999         self
._setCallbackInfo
(self
, PyDataObjectSimple
) 
5001     def _setCallbackInfo(*args
, **kwargs
): 
5002         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5003         return _misc_
.PyDataObjectSimple__setCallbackInfo(*args
, **kwargs
) 
5006 class PyDataObjectSimplePtr(PyDataObjectSimple
): 
5007     def __init__(self
, this
): 
5009         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5010         self
.__class
__ = PyDataObjectSimple
 
5011 _misc_
.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr
) 
5013 class DataObjectComposite(DataObject
): 
5015     wx.DataObjectComposite is the simplest `wx.DataObject` derivation 
5016     which may be sued to support multiple formats. It contains several 
5017     'wx.DataObjectSimple` objects and supports any format supported by at 
5018     least one of them. Only one of these data objects is *preferred* (the 
5019     first one if not explicitly changed by using the second parameter of 
5020     `Add`) and its format determines the preferred format of the composite 
5021     data object as well. 
5023     See `wx.DataObject` documentation for the reasons why you might prefer 
5024     to use wx.DataObject directly instead of wx.DataObjectComposite for 
5029         return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5030     def __init__(self
, *args
, **kwargs
): 
5032         __init__(self) -> DataObjectComposite 
5034         wx.DataObjectComposite is the simplest `wx.DataObject` derivation 
5035         which may be sued to support multiple formats. It contains several 
5036         'wx.DataObjectSimple` objects and supports any format supported by at 
5037         least one of them. Only one of these data objects is *preferred* (the 
5038         first one if not explicitly changed by using the second parameter of 
5039         `Add`) and its format determines the preferred format of the composite 
5040         data object as well. 
5042         See `wx.DataObject` documentation for the reasons why you might prefer 
5043         to use wx.DataObject directly instead of wx.DataObjectComposite for 
5047         newobj 
= _misc_
.new_DataObjectComposite(*args
, **kwargs
) 
5048         self
.this 
= newobj
.this
 
5051     def Add(*args
, **kwargs
): 
5053         Add(self, DataObjectSimple dataObject, bool preferred=False) 
5055         Adds the dataObject to the list of supported objects and it becomes 
5056         the preferred object if preferred is True. 
5058         return _misc_
.DataObjectComposite_Add(*args
, **kwargs
) 
5061 class DataObjectCompositePtr(DataObjectComposite
): 
5062     def __init__(self
, this
): 
5064         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5065         self
.__class
__ = DataObjectComposite
 
5066 _misc_
.DataObjectComposite_swigregister(DataObjectCompositePtr
) 
5068 class TextDataObject(DataObjectSimple
): 
5070     wx.TextDataObject is a specialization of `wx.DataObject` for text 
5071     data. It can be used without change to paste data into the `wx.Clipboard` 
5072     or a `wx.DropSource`. 
5074     Alternativly, you may wish to derive a new class from the 
5075     `wx.PyTextDataObject` class for providing text on-demand in order to 
5076     minimize memory consumption when offering data in several formats, 
5077     such as plain text and RTF, because by default the text is stored in a 
5078     string in this class, but it might as well be generated on demand when 
5079     requested. For this, `GetTextLength` and `GetText` will have to be 
5083         return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5084     def __init__(self
, *args
, **kwargs
): 
5086         __init__(self, String text=EmptyString) -> TextDataObject 
5088         Constructor, may be used to initialise the text (otherwise `SetText` 
5089         should be used later). 
5091         newobj 
= _misc_
.new_TextDataObject(*args
, **kwargs
) 
5092         self
.this 
= newobj
.this
 
5095     def GetTextLength(*args
, **kwargs
): 
5097         GetTextLength(self) -> size_t 
5099         Returns the data size.  By default, returns the size of the text data 
5100         set in the constructor or using `SetText`.  This can be overridden (via 
5101         `wx.PyTextDataObject`) to provide text size data on-demand. It is 
5102         recommended to return the text length plus 1 for a trailing zero, but 
5103         this is not strictly required. 
5105         return _misc_
.TextDataObject_GetTextLength(*args
, **kwargs
) 
5107     def GetText(*args
, **kwargs
): 
5109         GetText(self) -> String 
5111         Returns the text associated with the data object. 
5113         return _misc_
.TextDataObject_GetText(*args
, **kwargs
) 
5115     def SetText(*args
, **kwargs
): 
5117         SetText(self, String text) 
5119         Sets the text associated with the data object. This method is called 
5120         when the data object receives the data and, by default, copies the 
5121         text into the member variable. If you want to process the text on the 
5122         fly you may wish to override this function (via 
5123         `wx.PyTextDataObject`.) 
5125         return _misc_
.TextDataObject_SetText(*args
, **kwargs
) 
5128 class TextDataObjectPtr(TextDataObject
): 
5129     def __init__(self
, this
): 
5131         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5132         self
.__class
__ = TextDataObject
 
5133 _misc_
.TextDataObject_swigregister(TextDataObjectPtr
) 
5135 class PyTextDataObject(TextDataObject
): 
5137     wx.PyTextDataObject is a version of `wx.TextDataObject` that is 
5138     Python-aware and knows how to reflect calls to its C++ virtual methods 
5139     to methods in the Python derived class.  You should derive from this 
5140     class and overload `GetTextLength`, `GetText`, and `SetText` when you 
5141     want to be able to provide text on demand instead of preloading it 
5142     into the data object. 
5145         return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5146     def __init__(self
, *args
, **kwargs
): 
5148         __init__(self, String text=EmptyString) -> PyTextDataObject 
5150         wx.PyTextDataObject is a version of `wx.TextDataObject` that is 
5151         Python-aware and knows how to reflect calls to its C++ virtual methods 
5152         to methods in the Python derived class.  You should derive from this 
5153         class and overload `GetTextLength`, `GetText`, and `SetText` when you 
5154         want to be able to provide text on demand instead of preloading it 
5155         into the data object. 
5157         newobj 
= _misc_
.new_PyTextDataObject(*args
, **kwargs
) 
5158         self
.this 
= newobj
.this
 
5161         self
._setCallbackInfo
(self
, PyTextDataObject
) 
5163     def _setCallbackInfo(*args
, **kwargs
): 
5164         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5165         return _misc_
.PyTextDataObject__setCallbackInfo(*args
, **kwargs
) 
5168 class PyTextDataObjectPtr(PyTextDataObject
): 
5169     def __init__(self
, this
): 
5171         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5172         self
.__class
__ = PyTextDataObject
 
5173 _misc_
.PyTextDataObject_swigregister(PyTextDataObjectPtr
) 
5175 class BitmapDataObject(DataObjectSimple
): 
5177     wx.BitmapDataObject is a specialization of wxDataObject for bitmap 
5178     data. It can be used without change to paste data into the `wx.Clipboard` 
5179     or a `wx.DropSource`. 
5183         return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5184     def __init__(self
, *args
, **kwargs
): 
5186         __init__(self, Bitmap bitmap=wxNullBitmap) -> BitmapDataObject 
5188         Constructor, optionally passing a bitmap (otherwise use `SetBitmap` 
5191         newobj 
= _misc_
.new_BitmapDataObject(*args
, **kwargs
) 
5192         self
.this 
= newobj
.this
 
5195     def GetBitmap(*args
, **kwargs
): 
5197         GetBitmap(self) -> Bitmap 
5199         Returns the bitmap associated with the data object.  You may wish to 
5200         override this method (by deriving from `wx.PyBitmapDataObject`) when 
5201         offering data on-demand, but this is not required by wxWidgets' 
5202         internals. Use this method to get data in bitmap form from the 
5205         return _misc_
.BitmapDataObject_GetBitmap(*args
, **kwargs
) 
5207     def SetBitmap(*args
, **kwargs
): 
5209         SetBitmap(self, Bitmap bitmap) 
5211         Sets the bitmap associated with the data object. This method is called 
5212         when the data object receives data. Usually there will be no reason to 
5213         override this function. 
5215         return _misc_
.BitmapDataObject_SetBitmap(*args
, **kwargs
) 
5218 class BitmapDataObjectPtr(BitmapDataObject
): 
5219     def __init__(self
, this
): 
5221         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5222         self
.__class
__ = BitmapDataObject
 
5223 _misc_
.BitmapDataObject_swigregister(BitmapDataObjectPtr
) 
5225 class PyBitmapDataObject(BitmapDataObject
): 
5227     wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is 
5228     Python-aware and knows how to reflect calls to its C++ virtual methods 
5229     to methods in the Python derived class. To be able to provide bitmap 
5230     data on demand derive from this class and overload `GetBitmap`. 
5233         return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5234     def __init__(self
, *args
, **kwargs
): 
5236         __init__(self, Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject 
5238         wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is 
5239         Python-aware and knows how to reflect calls to its C++ virtual methods 
5240         to methods in the Python derived class. To be able to provide bitmap 
5241         data on demand derive from this class and overload `GetBitmap`. 
5243         newobj 
= _misc_
.new_PyBitmapDataObject(*args
, **kwargs
) 
5244         self
.this 
= newobj
.this
 
5247         self
._setCallbackInfo
(self
, PyBitmapDataObject
) 
5249     def _setCallbackInfo(*args
, **kwargs
): 
5250         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5251         return _misc_
.PyBitmapDataObject__setCallbackInfo(*args
, **kwargs
) 
5254 class PyBitmapDataObjectPtr(PyBitmapDataObject
): 
5255     def __init__(self
, this
): 
5257         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5258         self
.__class
__ = PyBitmapDataObject
 
5259 _misc_
.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr
) 
5261 class FileDataObject(DataObjectSimple
): 
5263     wx.FileDataObject is a specialization of `wx.DataObjectSimple` for 
5264     file names. The program works with it just as if it were a list of 
5265     absolute file names, but internally it uses the same format as 
5266     Explorer and other compatible programs under Windows or GNOME/KDE 
5267     filemanager under Unix which makes it possible to receive files from 
5268     them using this class. 
5271         return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5272     def __init__(self
, *args
, **kwargs
): 
5273         """__init__(self) -> FileDataObject""" 
5274         newobj 
= _misc_
.new_FileDataObject(*args
, **kwargs
) 
5275         self
.this 
= newobj
.this
 
5278     def GetFilenames(*args
, **kwargs
): 
5280         GetFilenames(self) -> [names] 
5282         Returns a list of file names. 
5284         return _misc_
.FileDataObject_GetFilenames(*args
, **kwargs
) 
5286     def AddFile(*args
, **kwargs
): 
5288         AddFile(self, String filename) 
5290         Adds a file to the list of files represented by this data object. 
5292         return _misc_
.FileDataObject_AddFile(*args
, **kwargs
) 
5295 class FileDataObjectPtr(FileDataObject
): 
5296     def __init__(self
, this
): 
5298         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5299         self
.__class
__ = FileDataObject
 
5300 _misc_
.FileDataObject_swigregister(FileDataObjectPtr
) 
5302 class CustomDataObject(DataObjectSimple
): 
5304     wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for 
5305     some application-specific data in arbitrary format.  Python strings 
5306     are used for getting and setting data, but any picklable object can 
5307     easily be transfered via strings.  A copy of the data is stored in the 
5311         return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5312     def __init__(self
, *args
): 
5314         __init__(self, DataFormat format) -> CustomDataObject 
5315         __init__(self, String formatName) -> CustomDataObject 
5316         __init__(self) -> CustomDataObject 
5318         wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for 
5319         some application-specific data in arbitrary format.  Python strings 
5320         are used for getting and setting data, but any picklable object can 
5321         easily be transfered via strings.  A copy of the data is stored in the 
5324         newobj 
= _misc_
.new_CustomDataObject(*args
) 
5325         self
.this 
= newobj
.this
 
5328     def SetData(*args
, **kwargs
): 
5330         SetData(self, String data) -> bool 
5332         Copy the data value to the data object. 
5334         return _misc_
.CustomDataObject_SetData(*args
, **kwargs
) 
5337     def GetSize(*args
, **kwargs
): 
5339         GetSize(self) -> size_t 
5341         Get the size of the data. 
5343         return _misc_
.CustomDataObject_GetSize(*args
, **kwargs
) 
5345     def GetData(*args
, **kwargs
): 
5347         GetData(self) -> String 
5349         Returns the data bytes from the data object as a string. 
5351         return _misc_
.CustomDataObject_GetData(*args
, **kwargs
) 
5354 class CustomDataObjectPtr(CustomDataObject
): 
5355     def __init__(self
, this
): 
5357         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5358         self
.__class
__ = CustomDataObject
 
5359 _misc_
.CustomDataObject_swigregister(CustomDataObjectPtr
) 
5361 class URLDataObject(DataObject
): 
5363     This data object holds a URL in a format that is compatible with some 
5364     browsers such that it is able to be dragged to or from them. 
5367         return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5368     def __init__(self
, *args
, **kwargs
): 
5370         __init__(self) -> URLDataObject 
5372         This data object holds a URL in a format that is compatible with some 
5373         browsers such that it is able to be dragged to or from them. 
5375         newobj 
= _misc_
.new_URLDataObject(*args
, **kwargs
) 
5376         self
.this 
= newobj
.this
 
5379     def GetURL(*args
, **kwargs
): 
5381         GetURL(self) -> String 
5383         Returns a string containing the current URL. 
5385         return _misc_
.URLDataObject_GetURL(*args
, **kwargs
) 
5387     def SetURL(*args
, **kwargs
): 
5389         SetURL(self, String url) 
5393         return _misc_
.URLDataObject_SetURL(*args
, **kwargs
) 
5396 class URLDataObjectPtr(URLDataObject
): 
5397     def __init__(self
, this
): 
5399         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5400         self
.__class
__ = URLDataObject
 
5401 _misc_
.URLDataObject_swigregister(URLDataObjectPtr
) 
5403 class MetafileDataObject(DataObjectSimple
): 
5404     """Proxy of C++ MetafileDataObject class""" 
5406         return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5407     def __init__(self
, *args
, **kwargs
): 
5408         """__init__(self) -> MetafileDataObject""" 
5409         newobj 
= _misc_
.new_MetafileDataObject(*args
, **kwargs
) 
5410         self
.this 
= newobj
.this
 
5413     def SetMetafile(*args
, **kwargs
): 
5414         """SetMetafile(self, wxMetafile metafile)""" 
5415         return _misc_
.MetafileDataObject_SetMetafile(*args
, **kwargs
) 
5417     def GetMetafile(*args
, **kwargs
): 
5418         """GetMetafile(self) -> wxMetafile""" 
5419         return _misc_
.MetafileDataObject_GetMetafile(*args
, **kwargs
) 
5422 class MetafileDataObjectPtr(MetafileDataObject
): 
5423     def __init__(self
, this
): 
5425         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5426         self
.__class
__ = MetafileDataObject
 
5427 _misc_
.MetafileDataObject_swigregister(MetafileDataObjectPtr
) 
5429 #--------------------------------------------------------------------------- 
5431 Drag_CopyOnly 
= _misc_
.Drag_CopyOnly
 
5432 Drag_AllowMove 
= _misc_
.Drag_AllowMove
 
5433 Drag_DefaultMove 
= _misc_
.Drag_DefaultMove
 
5434 DragError 
= _misc_
.DragError
 
5435 DragNone 
= _misc_
.DragNone
 
5436 DragCopy 
= _misc_
.DragCopy
 
5437 DragMove 
= _misc_
.DragMove
 
5438 DragLink 
= _misc_
.DragLink
 
5439 DragCancel 
= _misc_
.DragCancel
 
5441 def IsDragResultOk(*args
, **kwargs
): 
5442     """IsDragResultOk(int res) -> bool""" 
5443     return _misc_
.IsDragResultOk(*args
, **kwargs
) 
5444 class DropSource(object): 
5445     """Proxy of C++ DropSource class""" 
5447         return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5448     def __init__(self
, *args
, **kwargs
): 
5450         __init__(self, Window win, Cursor copy=wxNullCursor, Cursor move=wxNullCursor,  
5451             Cursor none=wxNullCursor) -> DropSource 
5453         newobj 
= _misc_
.new_DropSource(*args
, **kwargs
) 
5454         self
.this 
= newobj
.this
 
5457         self
._setCallbackInfo
(self
, DropSource
, 0) 
5459     def _setCallbackInfo(*args
, **kwargs
): 
5460         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)""" 
5461         return _misc_
.DropSource__setCallbackInfo(*args
, **kwargs
) 
5463     def __del__(self
, destroy
=_misc_
.delete_DropSource
): 
5466             if self
.thisown
: destroy(self
) 
5469     def SetData(*args
, **kwargs
): 
5470         """SetData(self, DataObject data)""" 
5471         return _misc_
.DropSource_SetData(*args
, **kwargs
) 
5473     def GetDataObject(*args
, **kwargs
): 
5474         """GetDataObject(self) -> DataObject""" 
5475         return _misc_
.DropSource_GetDataObject(*args
, **kwargs
) 
5477     def SetCursor(*args
, **kwargs
): 
5478         """SetCursor(self, int res, Cursor cursor)""" 
5479         return _misc_
.DropSource_SetCursor(*args
, **kwargs
) 
5481     def DoDragDrop(*args
, **kwargs
): 
5482         """DoDragDrop(self, int flags=Drag_CopyOnly) -> int""" 
5483         return _misc_
.DropSource_DoDragDrop(*args
, **kwargs
) 
5485     def base_GiveFeedback(*args
, **kwargs
): 
5486         """base_GiveFeedback(self, int effect) -> bool""" 
5487         return _misc_
.DropSource_base_GiveFeedback(*args
, **kwargs
) 
5490 class DropSourcePtr(DropSource
): 
5491     def __init__(self
, this
): 
5493         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5494         self
.__class
__ = DropSource
 
5495 _misc_
.DropSource_swigregister(DropSourcePtr
) 
5497 def DROP_ICON(filename
): 
5499     Returns either a `wx.Cursor` or `wx.Icon` created from the image file 
5500     ``filename``.  This function is useful with the `wx.DropSource` class 
5501     which, depending on platform accepts either a icon or a cursor. 
5503     img 
= wx
.Image(filename
) 
5504     if wx
.Platform 
== '__WXGTK__': 
5505         return wx
.IconFromBitmap(wx
.BitmapFromImage(img
)) 
5507         return wx
.CursorFromImage(img
) 
5509 class DropTarget(object): 
5510     """Proxy of C++ DropTarget class""" 
5512         return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5513     def __init__(self
, *args
, **kwargs
): 
5514         """__init__(self, DataObject dataObject=None) -> DropTarget""" 
5515         newobj 
= _misc_
.new_DropTarget(*args
, **kwargs
) 
5516         self
.this 
= newobj
.this
 
5519         self
._setCallbackInfo
(self
, DropTarget
) 
5521     def _setCallbackInfo(*args
, **kwargs
): 
5522         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5523         return _misc_
.DropTarget__setCallbackInfo(*args
, **kwargs
) 
5525     def __del__(self
, destroy
=_misc_
.delete_DropTarget
): 
5528             if self
.thisown
: destroy(self
) 
5531     def GetDataObject(*args
, **kwargs
): 
5532         """GetDataObject(self) -> DataObject""" 
5533         return _misc_
.DropTarget_GetDataObject(*args
, **kwargs
) 
5535     def SetDataObject(*args
, **kwargs
): 
5536         """SetDataObject(self, DataObject dataObject)""" 
5537         return _misc_
.DropTarget_SetDataObject(*args
, **kwargs
) 
5539     def base_OnEnter(*args
, **kwargs
): 
5540         """base_OnEnter(self, int x, int y, int def) -> int""" 
5541         return _misc_
.DropTarget_base_OnEnter(*args
, **kwargs
) 
5543     def base_OnDragOver(*args
, **kwargs
): 
5544         """base_OnDragOver(self, int x, int y, int def) -> int""" 
5545         return _misc_
.DropTarget_base_OnDragOver(*args
, **kwargs
) 
5547     def base_OnLeave(*args
, **kwargs
): 
5548         """base_OnLeave(self)""" 
5549         return _misc_
.DropTarget_base_OnLeave(*args
, **kwargs
) 
5551     def base_OnDrop(*args
, **kwargs
): 
5552         """base_OnDrop(self, int x, int y) -> bool""" 
5553         return _misc_
.DropTarget_base_OnDrop(*args
, **kwargs
) 
5555     def GetData(*args
, **kwargs
): 
5556         """GetData(self) -> bool""" 
5557         return _misc_
.DropTarget_GetData(*args
, **kwargs
) 
5559     def SetDefaultAction(*args
, **kwargs
): 
5560         """SetDefaultAction(self, int action)""" 
5561         return _misc_
.DropTarget_SetDefaultAction(*args
, **kwargs
) 
5563     def GetDefaultAction(*args
, **kwargs
): 
5564         """GetDefaultAction(self) -> int""" 
5565         return _misc_
.DropTarget_GetDefaultAction(*args
, **kwargs
) 
5568 class DropTargetPtr(DropTarget
): 
5569     def __init__(self
, this
): 
5571         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5572         self
.__class
__ = DropTarget
 
5573 _misc_
.DropTarget_swigregister(DropTargetPtr
) 
5575 PyDropTarget 
= DropTarget 
 
5576 class TextDropTarget(DropTarget
): 
5577     """Proxy of C++ TextDropTarget class""" 
5579         return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5580     def __init__(self
, *args
, **kwargs
): 
5581         """__init__(self) -> TextDropTarget""" 
5582         newobj 
= _misc_
.new_TextDropTarget(*args
, **kwargs
) 
5583         self
.this 
= newobj
.this
 
5586         self
._setCallbackInfo
(self
, TextDropTarget
) 
5588     def _setCallbackInfo(*args
, **kwargs
): 
5589         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5590         return _misc_
.TextDropTarget__setCallbackInfo(*args
, **kwargs
) 
5592     def base_OnEnter(*args
, **kwargs
): 
5593         """base_OnEnter(self, int x, int y, int def) -> int""" 
5594         return _misc_
.TextDropTarget_base_OnEnter(*args
, **kwargs
) 
5596     def base_OnDragOver(*args
, **kwargs
): 
5597         """base_OnDragOver(self, int x, int y, int def) -> int""" 
5598         return _misc_
.TextDropTarget_base_OnDragOver(*args
, **kwargs
) 
5600     def base_OnLeave(*args
, **kwargs
): 
5601         """base_OnLeave(self)""" 
5602         return _misc_
.TextDropTarget_base_OnLeave(*args
, **kwargs
) 
5604     def base_OnDrop(*args
, **kwargs
): 
5605         """base_OnDrop(self, int x, int y) -> bool""" 
5606         return _misc_
.TextDropTarget_base_OnDrop(*args
, **kwargs
) 
5608     def base_OnData(*args
, **kwargs
): 
5609         """base_OnData(self, int x, int y, int def) -> int""" 
5610         return _misc_
.TextDropTarget_base_OnData(*args
, **kwargs
) 
5613 class TextDropTargetPtr(TextDropTarget
): 
5614     def __init__(self
, this
): 
5616         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5617         self
.__class
__ = TextDropTarget
 
5618 _misc_
.TextDropTarget_swigregister(TextDropTargetPtr
) 
5620 class FileDropTarget(DropTarget
): 
5621     """Proxy of C++ FileDropTarget class""" 
5623         return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5624     def __init__(self
, *args
, **kwargs
): 
5625         """__init__(self) -> FileDropTarget""" 
5626         newobj 
= _misc_
.new_FileDropTarget(*args
, **kwargs
) 
5627         self
.this 
= newobj
.this
 
5630         self
._setCallbackInfo
(self
, FileDropTarget
) 
5632     def _setCallbackInfo(*args
, **kwargs
): 
5633         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5634         return _misc_
.FileDropTarget__setCallbackInfo(*args
, **kwargs
) 
5636     def base_OnEnter(*args
, **kwargs
): 
5637         """base_OnEnter(self, int x, int y, int def) -> int""" 
5638         return _misc_
.FileDropTarget_base_OnEnter(*args
, **kwargs
) 
5640     def base_OnDragOver(*args
, **kwargs
): 
5641         """base_OnDragOver(self, int x, int y, int def) -> int""" 
5642         return _misc_
.FileDropTarget_base_OnDragOver(*args
, **kwargs
) 
5644     def base_OnLeave(*args
, **kwargs
): 
5645         """base_OnLeave(self)""" 
5646         return _misc_
.FileDropTarget_base_OnLeave(*args
, **kwargs
) 
5648     def base_OnDrop(*args
, **kwargs
): 
5649         """base_OnDrop(self, int x, int y) -> bool""" 
5650         return _misc_
.FileDropTarget_base_OnDrop(*args
, **kwargs
) 
5652     def base_OnData(*args
, **kwargs
): 
5653         """base_OnData(self, int x, int y, int def) -> int""" 
5654         return _misc_
.FileDropTarget_base_OnData(*args
, **kwargs
) 
5657 class FileDropTargetPtr(FileDropTarget
): 
5658     def __init__(self
, this
): 
5660         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5661         self
.__class
__ = FileDropTarget
 
5662 _misc_
.FileDropTarget_swigregister(FileDropTargetPtr
) 
5664 #--------------------------------------------------------------------------- 
5666 class Clipboard(_core
.Object
): 
5668     wx.Clipboard represents the system clipboard and provides methods to 
5669     copy data to it or paste data from it.  Normally, you should only use 
5670     ``wx.TheClipboard`` which is a reference to a global wx.Clipboard 
5673     Call ``wx.TheClipboard``'s `Open` method to get ownership of the 
5674     clipboard. If this operation returns True, you now own the 
5675     clipboard. Call `SetData` to put data on the clipboard, or `GetData` 
5676     to retrieve data from the clipboard.  Call `Close` to close the 
5677     clipboard and relinquish ownership. You should keep the clipboard open 
5680     :see: `wx.DataObject` 
5684         return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5685     def __init__(self
, *args
, **kwargs
): 
5686         """__init__(self) -> Clipboard""" 
5687         newobj 
= _misc_
.new_Clipboard(*args
, **kwargs
) 
5688         self
.this 
= newobj
.this
 
5691     def __del__(self
, destroy
=_misc_
.delete_Clipboard
): 
5694             if self
.thisown
: destroy(self
) 
5697     def Open(*args
, **kwargs
): 
5701         Call this function to open the clipboard before calling SetData and 
5702         GetData.  Call Close when you have finished with the clipboard.  You 
5703         should keep the clipboard open for only a very short time.  Returns 
5706         return _misc_
.Clipboard_Open(*args
, **kwargs
) 
5708     def Close(*args
, **kwargs
): 
5712         Closes the clipboard. 
5714         return _misc_
.Clipboard_Close(*args
, **kwargs
) 
5716     def IsOpened(*args
, **kwargs
): 
5718         IsOpened(self) -> bool 
5720         Query whether the clipboard is opened 
5722         return _misc_
.Clipboard_IsOpened(*args
, **kwargs
) 
5724     def AddData(*args
, **kwargs
): 
5726         AddData(self, DataObject data) -> bool 
5728         Call this function to add the data object to the clipboard. You may 
5729         call this function repeatedly after having cleared the clipboard. 
5730         After this function has been called, the clipboard owns the data, so 
5731         do not delete the data explicitly. 
5733         :see: `wx.DataObject` 
5735         return _misc_
.Clipboard_AddData(*args
, **kwargs
) 
5737     def SetData(*args
, **kwargs
): 
5739         SetData(self, DataObject data) -> bool 
5741         Set the clipboard data, this is the same as `Clear` followed by 
5744         :see: `wx.DataObject` 
5746         return _misc_
.Clipboard_SetData(*args
, **kwargs
) 
5748     def IsSupported(*args
, **kwargs
): 
5750         IsSupported(self, DataFormat format) -> bool 
5752         Returns True if the given format is available in the data object(s) on 
5755         return _misc_
.Clipboard_IsSupported(*args
, **kwargs
) 
5757     def GetData(*args
, **kwargs
): 
5759         GetData(self, DataObject data) -> bool 
5761         Call this function to fill data with data on the clipboard, if 
5762         available in the required format. Returns true on success. 
5764         return _misc_
.Clipboard_GetData(*args
, **kwargs
) 
5766     def Clear(*args
, **kwargs
): 
5770         Clears data from the clipboard object and also the system's clipboard 
5773         return _misc_
.Clipboard_Clear(*args
, **kwargs
) 
5775     def Flush(*args
, **kwargs
): 
5779         Flushes the clipboard: this means that the data which is currently on 
5780         clipboard will stay available even after the application exits, 
5781         possibly eating memory, otherwise the clipboard will be emptied on 
5782         exit.  Returns False if the operation is unsuccesful for any reason. 
5784         return _misc_
.Clipboard_Flush(*args
, **kwargs
) 
5786     def UsePrimarySelection(*args
, **kwargs
): 
5788         UsePrimarySelection(self, bool primary=True) 
5790         On platforms supporting it (the X11 based platforms), selects the 
5791         so called PRIMARY SELECTION as the clipboard as opposed to the 
5792         normal clipboard, if primary is True. 
5794         return _misc_
.Clipboard_UsePrimarySelection(*args
, **kwargs
) 
5796     def Get(*args
, **kwargs
): 
5800         Returns global instance (wxTheClipboard) of the object. 
5802         return _misc_
.Clipboard_Get(*args
, **kwargs
) 
5804     Get 
= staticmethod(Get
) 
5806 class ClipboardPtr(Clipboard
): 
5807     def __init__(self
, this
): 
5809         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5810         self
.__class
__ = Clipboard
 
5811 _misc_
.Clipboard_swigregister(ClipboardPtr
) 
5813 def Clipboard_Get(*args
, **kwargs
): 
5815     Clipboard_Get() -> Clipboard 
5817     Returns global instance (wxTheClipboard) of the object. 
5819     return _misc_
.Clipboard_Get(*args
, **kwargs
) 
5821 class _wxPyDelayedInitWrapper(object): 
5822     def __init__(self
, initfunc
, *args
, **kwargs
): 
5823         self
._initfunc 
= initfunc
 
5825         self
._kwargs 
= kwargs
 
5826         self
._instance 
= None 
5827     def _checkInstance(self
): 
5828         if self
._instance 
is None: 
5830                 self
._instance 
= self
._initfunc
(*self
._args
, **self
._kwargs
)         
5831     def __getattr__(self
, name
): 
5832         self
._checkInstance
() 
5833         return getattr(self
._instance
, name
) 
5835         self
._checkInstance
() 
5836         return repr(self
._instance
) 
5837 TheClipboard 
= _wxPyDelayedInitWrapper(Clipboard
.Get
) 
5839 class ClipboardLocker(object): 
5841     A helpful class for opening the clipboard and automatically 
5842     closing it when the locker is destroyed. 
5845         return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5846     def __init__(self
, *args
, **kwargs
): 
5848         __init__(self, Clipboard clipboard=None) -> ClipboardLocker 
5850         A helpful class for opening the clipboard and automatically 
5851         closing it when the locker is destroyed. 
5853         newobj 
= _misc_
.new_ClipboardLocker(*args
, **kwargs
) 
5854         self
.this 
= newobj
.this
 
5857     def __del__(self
, destroy
=_misc_
.delete_ClipboardLocker
): 
5860             if self
.thisown
: destroy(self
) 
5863     def __nonzero__(*args
, **kwargs
): 
5865         __nonzero__(self) -> bool 
5867         A ClipboardLocker instance evaluates to True if the clipboard was 
5868         successfully opened. 
5870         return _misc_
.ClipboardLocker___nonzero__(*args
, **kwargs
) 
5873 class ClipboardLockerPtr(ClipboardLocker
): 
5874     def __init__(self
, this
): 
5876         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5877         self
.__class
__ = ClipboardLocker
 
5878 _misc_
.ClipboardLocker_swigregister(ClipboardLockerPtr
) 
5880 #--------------------------------------------------------------------------- 
5882 class VideoMode(object): 
5883     """A simple struct containing video mode parameters for a display""" 
5885         return "<%s.%s; proxy of C++ wxVideoMode instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5886     def __init__(self
, *args
, **kwargs
): 
5888         __init__(self, int width=0, int height=0, int depth=0, int freq=0) -> VideoMode 
5890         A simple struct containing video mode parameters for a display 
5892         newobj 
= _misc_
.new_VideoMode(*args
, **kwargs
) 
5893         self
.this 
= newobj
.this
 
5896     def __del__(self
, destroy
=_misc_
.delete_VideoMode
): 
5899             if self
.thisown
: destroy(self
) 
5902     def Matches(*args
, **kwargs
): 
5904         Matches(self, VideoMode other) -> bool 
5906         Returns true if this mode matches the other one in the sense that all 
5907         non zero fields of the other mode have the same value in this 
5908         one (except for refresh which is allowed to have a greater value) 
5910         return _misc_
.VideoMode_Matches(*args
, **kwargs
) 
5912     def GetWidth(*args
, **kwargs
): 
5914         GetWidth(self) -> int 
5916         Returns the screen width in pixels (e.g. 640*480), 0 means unspecified 
5918         return _misc_
.VideoMode_GetWidth(*args
, **kwargs
) 
5920     def GetHeight(*args
, **kwargs
): 
5922         GetHeight(self) -> int 
5924         Returns the screen width in pixels (e.g. 640*480), 0 means 
5927         return _misc_
.VideoMode_GetHeight(*args
, **kwargs
) 
5929     def GetDepth(*args
, **kwargs
): 
5931         GetDepth(self) -> int 
5933         Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0 
5934         means unspecified/known 
5936         return _misc_
.VideoMode_GetDepth(*args
, **kwargs
) 
5938     def IsOk(*args
, **kwargs
): 
5942         returns true if the object has been initialized 
5944         return _misc_
.VideoMode_IsOk(*args
, **kwargs
) 
5946     def __nonzero__(self
): return self
.IsOk()  
5947     def __eq__(*args
, **kwargs
): 
5948         """__eq__(self, VideoMode other) -> bool""" 
5949         return _misc_
.VideoMode___eq__(*args
, **kwargs
) 
5951     def __ne__(*args
, **kwargs
): 
5952         """__ne__(self, VideoMode other) -> bool""" 
5953         return _misc_
.VideoMode___ne__(*args
, **kwargs
) 
5955     w 
= property(_misc_
.VideoMode_w_get
, _misc_
.VideoMode_w_set
) 
5956     h 
= property(_misc_
.VideoMode_h_get
, _misc_
.VideoMode_h_set
) 
5957     bpp 
= property(_misc_
.VideoMode_bpp_get
, _misc_
.VideoMode_bpp_set
) 
5958     refresh 
= property(_misc_
.VideoMode_refresh_get
, _misc_
.VideoMode_refresh_set
) 
5960 class VideoModePtr(VideoMode
): 
5961     def __init__(self
, this
): 
5963         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5964         self
.__class
__ = VideoMode
 
5965 _misc_
.VideoMode_swigregister(VideoModePtr
) 
5967 class Display(object): 
5968     """Represents a display/monitor attached to the system""" 
5970         return "<%s.%s; proxy of C++ wxDisplay instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5971     def __init__(self
, *args
, **kwargs
): 
5973         __init__(self, size_t index=0) -> Display 
5975         Set up a Display instance with the specified display.  The displays 
5976         are numbered from 0 to GetCount() - 1, 0 is always the primary display 
5977         and the only one which is always supported 
5979         newobj 
= _misc_
.new_Display(*args
, **kwargs
) 
5980         self
.this 
= newobj
.this
 
5983     def __del__(self
, destroy
=_misc_
.delete_Display
): 
5986             if self
.thisown
: destroy(self
) 
5989     def GetCount(*args
, **kwargs
): 
5991         GetCount() -> size_t 
5993         Return the number of available displays. 
5995         return _misc_
.Display_GetCount(*args
, **kwargs
) 
5997     GetCount 
= staticmethod(GetCount
) 
5998     def GetFromPoint(*args
, **kwargs
): 
6000         GetFromPoint(Point pt) -> int 
6002         Find the display where the given point lies, return wx.NOT_FOUND if it 
6003         doesn't belong to any display 
6005         return _misc_
.Display_GetFromPoint(*args
, **kwargs
) 
6007     GetFromPoint 
= staticmethod(GetFromPoint
) 
6008     def GetFromWindow(*args
, **kwargs
): 
6010         GetFromWindow(Window window) -> int 
6012         Find the display where the given window lies, return wx.NOT_FOUND if 
6013         it is not shown at all. 
6015         return _misc_
.Display_GetFromWindow(*args
, **kwargs
) 
6017     GetFromWindow 
= staticmethod(GetFromWindow
) 
6018     def IsOk(*args
, **kwargs
): 
6022         Return true if the object was initialized successfully 
6024         return _misc_
.Display_IsOk(*args
, **kwargs
) 
6026     def __nonzero__(self
): return self
.IsOk()  
6027     def GetGeometry(*args
, **kwargs
): 
6029         GetGeometry(self) -> Rect 
6031         Returns the bounding rectangle of the display whose index was passed 
6034         return _misc_
.Display_GetGeometry(*args
, **kwargs
) 
6036     def GetName(*args
, **kwargs
): 
6038         GetName(self) -> String 
6040         Returns the display's name. A name is not available on all platforms. 
6042         return _misc_
.Display_GetName(*args
, **kwargs
) 
6044     def IsPrimary(*args
, **kwargs
): 
6046         IsPrimary(self) -> bool 
6048         Returns true if the display is the primary display. The primary 
6049         display is the one whose index is 0. 
6051         return _misc_
.Display_IsPrimary(*args
, **kwargs
) 
6053     def GetModes(*args
, **kwargs
): 
6055         GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...] 
6057         Enumerate all video modes supported by this display matching the given 
6058         one (in the sense of VideoMode.Match()). 
6060         As any mode matches the default value of the argument and there is 
6061         always at least one video mode supported by display, the returned 
6062         array is only empty for the default value of the argument if this 
6063         function is not supported at all on this platform. 
6065         return _misc_
.Display_GetModes(*args
, **kwargs
) 
6067     def GetCurrentMode(*args
, **kwargs
): 
6069         GetCurrentMode(self) -> VideoMode 
6071         Get the current video mode. 
6073         return _misc_
.Display_GetCurrentMode(*args
, **kwargs
) 
6075     def ChangeMode(*args
, **kwargs
): 
6077         ChangeMode(self, VideoMode mode=DefaultVideoMode) -> bool 
6079         Changes the video mode of this display to the mode specified in the 
6082         If wx.DefaultVideoMode is passed in as the mode parameter, the defined 
6083         behaviour is that wx.Display will reset the video mode to the default 
6084         mode used by the display.  On Windows, the behavior is normal. 
6085         However, there are differences on other platforms. On Unix variations 
6086         using X11 extensions it should behave as defined, but some 
6087         irregularities may occur. 
6089         On wxMac passing in wx.DefaultVideoMode as the mode parameter does 
6090         nothing.  This happens because Carbon no longer has access to 
6091         DMUseScreenPrefs, an undocumented function that changed the video mode 
6092         to the system default by using the system's 'scrn' resource. 
6094         Returns True if succeeded, False otherwise 
6096         return _misc_
.Display_ChangeMode(*args
, **kwargs
) 
6098     def ResetMode(*args
, **kwargs
): 
6102         Restore the default video mode (just a more readable synonym) 
6104         return _misc_
.Display_ResetMode(*args
, **kwargs
) 
6107 class DisplayPtr(Display
): 
6108     def __init__(self
, this
): 
6110         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
6111         self
.__class
__ = Display
 
6112 _misc_
.Display_swigregister(DisplayPtr
) 
6113 DefaultVideoMode 
= cvar
.DefaultVideoMode
 
6115 def Display_GetCount(*args
, **kwargs
): 
6117     Display_GetCount() -> size_t 
6119     Return the number of available displays. 
6121     return _misc_
.Display_GetCount(*args
, **kwargs
) 
6123 def Display_GetFromPoint(*args
, **kwargs
): 
6125     Display_GetFromPoint(Point pt) -> int 
6127     Find the display where the given point lies, return wx.NOT_FOUND if it 
6128     doesn't belong to any display 
6130     return _misc_
.Display_GetFromPoint(*args
, **kwargs
) 
6132 def Display_GetFromWindow(*args
, **kwargs
): 
6134     Display_GetFromWindow(Window window) -> int 
6136     Find the display where the given window lies, return wx.NOT_FOUND if 
6137     it is not shown at all. 
6139     return _misc_
.Display_GetFromWindow(*args
, **kwargs
) 
6141 #--------------------------------------------------------------------------- 
6143 class StandardPaths(object): 
6145     wx.StandardPaths returns the standard locations in the file system and 
6146     should be used by the programs to find their data files in a portable 
6149     In the description of the methods below, the example return values are 
6150     given for the Unix, Windows and Mac OS X systems, however please note 
6151     that these are just the examples and the actual values may differ. For 
6152     example, under Windows: the system administrator may change the 
6153     standard directories locations, i.e. the Windows directory may be 
6154     named W:\Win2003 instead of the default C:\Windows. 
6156     The strings appname and username should be replaced with the value 
6157     returned by `wx.App.GetAppName` and the name of the currently logged 
6158     in user, respectively. The string prefix is only used under Unix and 
6159     is /usr/local by default but may be changed using `SetInstallPrefix`. 
6161     The directories returned by the methods of this class may or may not 
6162     exist. If they don't exist, it's up to the caller to create them, 
6163     wxStandardPaths doesn't do it. 
6165     Finally note that these functions only work with standardly packaged 
6166     applications. I.e. under Unix you should follow the standard 
6167     installation conventions and under Mac you should create your 
6168     application bundle according to the Apple guidelines. Again, this 
6169     class doesn't help you to do it. 
6171     def __init__(self
): raise RuntimeError, "No constructor defined" 
6173         return "<%s.%s; proxy of C++ wxStandardPaths instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
6174     def Get(*args
, **kwargs
): 
6176         Get() -> StandardPaths 
6178         Return the global standard paths singleton 
6180         return _misc_
.StandardPaths_Get(*args
, **kwargs
) 
6182     Get 
= staticmethod(Get
) 
6183     def GetConfigDir(*args
, **kwargs
): 
6185         GetConfigDir(self) -> String 
6187         Return the directory with system config files: /etc under Unix, 
6188         'c:\Documents and Settings\All Users\Application Data' under Windows, 
6189         /Library/Preferences for Mac 
6191         return _misc_
.StandardPaths_GetConfigDir(*args
, **kwargs
) 
6193     def GetUserConfigDir(*args
, **kwargs
): 
6195         GetUserConfigDir(self) -> String 
6197         Return the directory for the user config files: $HOME under Unix, 
6198         'c:\Documents and Settings\username' under Windows, and  
6199         ~/Library/Preferences under Mac 
6201         Only use this if you have a single file to put there, otherwise 
6202         `GetUserDataDir` is more appropriate 
6204         return _misc_
.StandardPaths_GetUserConfigDir(*args
, **kwargs
) 
6206     def GetDataDir(*args
, **kwargs
): 
6208         GetDataDir(self) -> String 
6210         Return the location of the application's global, (i.e. not 
6211         user-specific,) data files: prefix/share/appname under Unix, 
6212         'c:\Program Files\appname' under Windows, 
6213         appname.app/Contents/SharedSupport app bundle directory under Mac. 
6215         return _misc_
.StandardPaths_GetDataDir(*args
, **kwargs
) 
6217     def GetLocalDataDir(*args
, **kwargs
): 
6219         GetLocalDataDir(self) -> String 
6221         Return the location for application data files which are 
6222         host-specific.  Same as `GetDataDir` except under Unix where it is 
6225         return _misc_
.StandardPaths_GetLocalDataDir(*args
, **kwargs
) 
6227     def GetUserDataDir(*args
, **kwargs
): 
6229         GetUserDataDir(self) -> String 
6231         Return the directory for the user-dependent application data files: 
6232         $HOME/.appname under Unix, c:\Documents and 
6233         Settings\username\Application Data\appname under Windows and 
6234         ~/Library/Application Support/appname under Mac 
6236         return _misc_
.StandardPaths_GetUserDataDir(*args
, **kwargs
) 
6238     def GetUserLocalDataDir(*args
, **kwargs
): 
6240         GetUserLocalDataDir(self) -> String 
6242         Return the directory for user data files which shouldn't be shared 
6243         with the other machines 
6245         Same as `GetUserDataDir` for all platforms except Windows where it is 
6246         the 'Local Settings\Application Data\appname' directory. 
6248         return _misc_
.StandardPaths_GetUserLocalDataDir(*args
, **kwargs
) 
6250     def GetPluginsDir(*args
, **kwargs
): 
6252         GetPluginsDir(self) -> String 
6254         Return the directory where the loadable modules (plugins) live: 
6255         prefix/lib/appname under Unix, program directory under Windows and 
6256         Contents/Plugins app bundle subdirectory under Mac 
6258         return _misc_
.StandardPaths_GetPluginsDir(*args
, **kwargs
) 
6260     def SetInstallPrefix(*args
, **kwargs
): 
6262         SetInstallPrefix(self, String prefix) 
6264         Set the program installation directory which is /usr/local by default. 
6265         This value will be used by other methods such as `GetDataDir` and 
6266         `GetPluginsDir` as the prefix for what they return. (This function 
6267         only has meaning on Unix systems.) 
6269         return _misc_
.StandardPaths_SetInstallPrefix(*args
, **kwargs
) 
6271     def GetInstallPrefix(*args
, **kwargs
): 
6273         GetInstallPrefix(self) -> String 
6275         Get the program installation prefix. The default is the prefix where 
6276         Python is installed. (This function only has meaning on Unix systems.) 
6278         return _misc_
.StandardPaths_GetInstallPrefix(*args
, **kwargs
) 
6281 class StandardPathsPtr(StandardPaths
): 
6282     def __init__(self
, this
): 
6284         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
6285         self
.__class
__ = StandardPaths
 
6286 _misc_
.StandardPaths_swigregister(StandardPathsPtr
) 
6288 def StandardPaths_Get(*args
, **kwargs
): 
6290     StandardPaths_Get() -> StandardPaths 
6292     Return the global standard paths singleton 
6294     return _misc_
.StandardPaths_Get(*args
, **kwargs
)