1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_NOINCLUDE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  33 /*************************************************************** -*- c -*- 
  34  * python/precommon.swg 
  36  * Rename all exported symbols from common.swg, to avoid symbol 
  37  * clashes if multiple interpreters are included 
  39  ************************************************************************/ 
  41 #define SWIG_TypeRegister    SWIG_Python_TypeRegister 
  42 #define SWIG_TypeCheck       SWIG_Python_TypeCheck 
  43 #define SWIG_TypeCast        SWIG_Python_TypeCast 
  44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast 
  45 #define SWIG_TypeName        SWIG_Python_TypeName 
  46 #define SWIG_TypePrettyName  SWIG_Python_TypePrettyName 
  47 #define SWIG_TypeQuery       SWIG_Python_TypeQuery 
  48 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  49 #define SWIG_PackData        SWIG_Python_PackData  
  50 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  53 /*********************************************************************** 
  54  * common.swg for wxPython 
  56  * Include only the function prototypes and such from SWIG's common.swg, 
  57  * but not the runtime functions themselves.  This helps keep the 
  58  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  61  ************************************************************************/ 
  65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  66 #  if defined(_MSC_VER) || defined(__GNUC__) 
  67 #    if defined(STATIC_LINKED) 
  68 #      define SWIGEXPORT(a) a 
  69 #      define SWIGIMPORT(a) extern a 
  71 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  72 #      define SWIGIMPORT(a) extern a 
  75 #    if defined(__BORLANDC__) 
  76 #      define SWIGEXPORT(a) a _export 
  77 #      define SWIGIMPORT(a) a _export 
  79 #      define SWIGEXPORT(a) a 
  80 #      define SWIGIMPORT(a) a 
  84 #  define SWIGEXPORT(a) a 
  85 #  define SWIGIMPORT(a) a 
  89 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  91 #  define SWIGRUNTIME(a) static a 
  98 typedef void *(*swig_converter_func
)(void *); 
  99 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 101 typedef struct swig_type_info 
{ 
 103   swig_converter_func     converter
; 
 106   swig_dycast_func        dcast
; 
 107   struct swig_type_info  
*next
; 
 108   struct swig_type_info  
*prev
; 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 113 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 114 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 115 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 116 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 117 SWIGIMPORT(const char *)     SWIG_TypePrettyName(const swig_type_info 
*); 
 118 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 119 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 120 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 121 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 129 /*********************************************************************** 
 130  * pyrun.swg for wxPython 
 132  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 133  * but not the runtime functions themselves.  This helps keep the 
 134  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 137  ************************************************************************/ 
 143 #define SWIG_PY_INT     1 
 144 #define SWIG_PY_FLOAT   2 
 145 #define SWIG_PY_STRING  3 
 146 #define SWIG_PY_POINTER 4 
 147 #define SWIG_PY_BINARY  5 
 149 /* Flags for pointer conversion */ 
 151 #define SWIG_POINTER_EXCEPTION     0x1 
 152 #define SWIG_POINTER_DISOWN        0x2 
 154 /* Exception handling in wrappers */ 
 155 #define SWIG_fail   goto fail 
 157 /* Constant information structure */ 
 158 typedef struct swig_const_info 
{ 
 164     swig_type_info 
**ptype
; 
 167 /* Common SWIG API */ 
 168 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 169   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 170 #define SWIG_NewPointerObj(p, type, flags) \ 
 171   SWIG_Python_NewPointerObj(p, type, flags) 
 172 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 173   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 175 /* Python-specific SWIG API */ 
 176 #define SWIG_newvarlink() \ 
 177   SWIG_Python_newvarlink() 
 178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 179   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 181   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 182 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 183   SWIG_Python_NewPackedObj(ptr, sz, type) 
 184 #define SWIG_InstallConstants(d, constants) \ 
 185   SWIG_Python_InstallConstants(d, constants) 
 187 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 189 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 190 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 191 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 192 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 193 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 194 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 195 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 196 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 199 /* Contract support */ 
 201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 209 /* -------- TYPES TABLE (BEGIN) -------- */ 
 211 #define  SWIGTYPE_p_wxLogChain swig_types[0]  
 212 #define  SWIGTYPE_p_wxMutexGuiLocker swig_types[1]  
 213 #define  SWIGTYPE_p_wxMetafile swig_types[2]  
 214 #define  SWIGTYPE_p_wxFileHistory swig_types[3]  
 215 #define  SWIGTYPE_p_wxLog swig_types[4]  
 216 #define  SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]  
 217 #define  SWIGTYPE_p_wxMenu swig_types[6]  
 218 #define  SWIGTYPE_p_wxEvent swig_types[7]  
 219 #define  SWIGTYPE_p_wxConfigBase swig_types[8]  
 220 #define  SWIGTYPE_p_wxDisplay swig_types[9]  
 221 #define  SWIGTYPE_p_wxFileType swig_types[10]  
 222 #define  SWIGTYPE_p_wxLogGui swig_types[11]  
 223 #define  SWIGTYPE_p_wxFont swig_types[12]  
 224 #define  SWIGTYPE_p_wxDataFormat swig_types[13]  
 225 #define  SWIGTYPE_p_wxTimerEvent swig_types[14]  
 226 #define  SWIGTYPE_p_wxCaret swig_types[15]  
 227 #define  SWIGTYPE_p_int swig_types[16]  
 228 #define  SWIGTYPE_p_wxSize swig_types[17]  
 229 #define  SWIGTYPE_p_wxClipboard swig_types[18]  
 230 #define  SWIGTYPE_p_wxStopWatch swig_types[19]  
 231 #define  SWIGTYPE_p_wxDC swig_types[20]  
 232 #define  SWIGTYPE_p_wxClipboardLocker swig_types[21]  
 233 #define  SWIGTYPE_p_wxIcon swig_types[22]  
 234 #define  SWIGTYPE_p_wxLogStderr swig_types[23]  
 235 #define  SWIGTYPE_p_wxLogTextCtrl swig_types[24]  
 236 #define  SWIGTYPE_p_wxTextCtrl swig_types[25]  
 237 #define  SWIGTYPE_p_wxBusyCursor swig_types[26]  
 238 #define  SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]  
 239 #define  SWIGTYPE_p_wxPyTextDataObject swig_types[28]  
 240 #define  SWIGTYPE_p_wxBitmapDataObject swig_types[29]  
 241 #define  SWIGTYPE_p_wxTextDataObject swig_types[30]  
 242 #define  SWIGTYPE_p_wxDataObject swig_types[31]  
 243 #define  SWIGTYPE_p_wxFileDataObject swig_types[32]  
 244 #define  SWIGTYPE_p_wxCustomDataObject swig_types[33]  
 245 #define  SWIGTYPE_p_wxURLDataObject swig_types[34]  
 246 #define  SWIGTYPE_p_wxMetafileDataObject swig_types[35]  
 247 #define  SWIGTYPE_p_wxSound swig_types[36]  
 248 #define  SWIGTYPE_p_wxTimerRunner swig_types[37]  
 249 #define  SWIGTYPE_p_wxLogWindow swig_types[38]  
 250 #define  SWIGTYPE_p_wxTimeSpan swig_types[39]  
 251 #define  SWIGTYPE_p_wxArrayString swig_types[40]  
 252 #define  SWIGTYPE_p_wxWindowDisabler swig_types[41]  
 253 #define  SWIGTYPE_p_wxToolTip swig_types[42]  
 254 #define  SWIGTYPE_p_wxDataObjectComposite swig_types[43]  
 255 #define  SWIGTYPE_p_wxFileConfig swig_types[44]  
 256 #define  SWIGTYPE_p_wxSystemSettings swig_types[45]  
 257 #define  SWIGTYPE_p_wxVideoMode swig_types[46]  
 258 #define  SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]  
 259 #define  SWIGTYPE_p_wxDataObjectSimple swig_types[48]  
 260 #define  SWIGTYPE_p_wxEvtHandler swig_types[49]  
 261 #define  SWIGTYPE_p_wxRect swig_types[50]  
 262 #define  SWIGTYPE_p_char swig_types[51]  
 263 #define  SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]  
 264 #define  SWIGTYPE_p_wxFileTypeInfo swig_types[53]  
 265 #define  SWIGTYPE_p_wxFrame swig_types[54]  
 266 #define  SWIGTYPE_p_wxTimer swig_types[55]  
 267 #define  SWIGTYPE_p_wxMimeTypesManager swig_types[56]  
 268 #define  SWIGTYPE_p_wxPyArtProvider swig_types[57]  
 269 #define  SWIGTYPE_p_wxPyTipProvider swig_types[58]  
 270 #define  SWIGTYPE_p_wxTipProvider swig_types[59]  
 271 #define  SWIGTYPE_p_wxJoystick swig_types[60]  
 272 #define  SWIGTYPE_p_wxSystemOptions swig_types[61]  
 273 #define  SWIGTYPE_p_wxPoint swig_types[62]  
 274 #define  SWIGTYPE_p_wxJoystickEvent swig_types[63]  
 275 #define  SWIGTYPE_p_wxCursor swig_types[64]  
 276 #define  SWIGTYPE_p_wxObject swig_types[65]  
 277 #define  SWIGTYPE_p_wxOutputStream swig_types[66]  
 278 #define  SWIGTYPE_p_wxDateTime swig_types[67]  
 279 #define  SWIGTYPE_p_wxPyDropSource swig_types[68]  
 280 #define  SWIGTYPE_p_wxWindow swig_types[69]  
 281 #define  SWIGTYPE_p_wxString swig_types[70]  
 282 #define  SWIGTYPE_p_wxPyProcess swig_types[71]  
 283 #define  SWIGTYPE_p_wxBitmap swig_types[72]  
 284 #define  SWIGTYPE_p_wxConfig swig_types[73]  
 285 #define  SWIGTYPE_p_wxChar swig_types[74]  
 286 #define  SWIGTYPE_p_wxBusyInfo swig_types[75]  
 287 #define  SWIGTYPE_p_wxPyDropTarget swig_types[76]  
 288 #define  SWIGTYPE_p_wxPyTextDropTarget swig_types[77]  
 289 #define  SWIGTYPE_p_wxPyFileDropTarget swig_types[78]  
 290 #define  SWIGTYPE_p_wxProcessEvent swig_types[79]  
 291 #define  SWIGTYPE_p_wxPyLog swig_types[80]  
 292 #define  SWIGTYPE_p_wxLogNull swig_types[81]  
 293 #define  SWIGTYPE_p_wxColour swig_types[82]  
 294 #define  SWIGTYPE_p_wxConfigPathChanger swig_types[83]  
 295 #define  SWIGTYPE_p_wxPyTimer swig_types[84]  
 296 #define  SWIGTYPE_p_wxDateSpan swig_types[85]  
 297 static swig_type_info 
*swig_types
[87]; 
 299 /* -------- TYPES TABLE (END) -------- */ 
 302 /*----------------------------------------------- 
 303               @(target):= _misc_.so 
 304   ------------------------------------------------*/ 
 305 #define SWIG_init    init_misc_ 
 307 #define SWIG_name    "_misc_" 
 309 /* Auxiliar swig  macros that appear in the header */ 
 311 #define SWIG_OLDOBJ  1 
 312 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 313 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 316 #define SWIGSTATICINLINE(a) static inline a 
 317 #define SWIGSTATIC(a) static a 
 318 #define swig_new_array(size,Type) (new Type[(size)]) 
 319 #define swig_delete(cptr) delete cptr 
 320 #define swig_delete_array(cptr) delete[] cptr 
 321 #define swig_const_cast(a,Type) const_cast<Type >(a) 
 322 #define swig_static_cast(a,Type) static_cast<Type >(a) 
 323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) 
 324 #define swig_new_copy(ptr,Type) (new Type(*ptr)) 
 325 #define swig_numeric_cast(a,Type) static_cast<Type >(a) 
 329 #define SWIGSTATICINLINE(a) static a 
 330 #define SWIGSTATIC(a) static a 
 331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) 
 332 #define swig_delete(cptr) free((char*)cptr) 
 333 #define swig_delete_array(cptr) free((char*)cptr) 
 334 #define swig_const_cast(a,Type) (Type)(a) 
 335 #define swig_static_cast(a,Type) (Type)(a) 
 336 #define swig_reinterpret_cast(a,Type) (Type)(a) 
 337 #define swig_numeric_cast(a,Type) (Type)(a) 
 338 #define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) 
 340 #endif /* __cplusplus */ 
 343 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 344 #define SWIG_From_signed_SS_char PyInt_FromLong 
 346 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 347 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
 349 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 350 #define SWIG_From_short PyInt_FromLong 
 352 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 353 #define SWIG_From_unsigned_SS_short PyInt_FromLong 
 355 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 356 #define SWIG_From_int PyInt_FromLong 
 358 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 359 #define SWIG_From_long PyInt_FromLong 
 361 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 362 #define SWIG_From_float PyFloat_FromDouble 
 364 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 365 #define SWIG_From_double PyFloat_FromDouble 
 369 #include "wx/wxPython/wxPython.h" 
 370 #include "wx/wxPython/pyclasses.h" 
 371 #include "wx/wxPython/pyistream.h"     
 373  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 380 SWIGSTATICINLINE(int) 
 381   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
 384   if (value 
< min_value
) { 
 386       PyErr_Format(PyExc_OverflowError
,  
 387                    "value %ld is less than '%s' minimum %ld",  
 388                    value
, errmsg
, min_value
); 
 391   } else if (value 
> max_value
) { 
 393       PyErr_Format(PyExc_OverflowError
, 
 394                    "value %ld is greater than '%s' maximum %ld",  
 395                    value
, errmsg
, max_value
); 
 403 // See my_fragments.i 
 404 SWIGSTATICINLINE(int) 
 405 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
 407     if (PyNumber_Check(obj
)) { 
 408         if (val
) *val 
= PyInt_AsLong(obj
); 
 412         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 413                                                obj
->ob_type
->tp_name
); 
 414         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 421 #if INT_MAX != LONG_MAX 
 422 SWIGSTATICINLINE(int) 
 423   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 425   const char* errmsg 
= val 
? "int" : 0; 
 427   if (SWIG_AsVal_long(obj
, &v
)) { 
 428     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
 429       if (val
) *val 
= swig_numeric_cast(v
, int); 
 438     PyErr_SetString(PyExc_TypeError
, "an int is expected"); 
 443 SWIGSTATICINLINE(int) 
 444   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 446   return SWIG_AsVal_long(obj
,(long*)val
); 
 451 SWIGSTATICINLINE(int) 
 452 SWIG_As_int(PyObject
* obj
) 
 455   if (!SWIG_AsVal_int(obj
, &v
)) { 
 457       this is needed to make valgrind/purify happier.  the other 
 458       solution is throw an exception, but since this code should work 
 461     memset((void*)&v
, 0, sizeof(int)); 
 467 SWIGSTATICINLINE(int) 
 468 SWIG_Check_int(PyObject
* obj
) 
 470   return SWIG_AsVal_int(obj
, (int*)0); 
 473  static const wxString 
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);  
 475 #include <wx/stockitem.h> 
 477  static const wxString 
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);  
 478  static const wxString 
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);  
 479  static const wxString 
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);  
 481 SWIGSTATICINLINE(long) 
 482 SWIG_As_long(PyObject
* obj
) 
 485   if (!SWIG_AsVal_long(obj
, &v
)) { 
 487       this is needed to make valgrind/purify happier.  the other 
 488       solution is throw an exception, but since this code should work 
 491     memset((void*)&v
, 0, sizeof(long)); 
 497 SWIGSTATICINLINE(int) 
 498 SWIG_Check_long(PyObject
* obj
) 
 500   return SWIG_AsVal_long(obj
, (long*)0); 
 504 SWIGSTATICINLINE(int) 
 505   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
 507   /*  if (val) *val = PyObject_IsTrue(obj); return 1; */ 
 508   if (obj 
== Py_True
) { 
 509     if (val
) *val 
= true; 
 512   if (obj 
== Py_False
) { 
 513     if (val
) *val 
= false; 
 517   if (SWIG_AsVal_int(obj
, &res
)) {     
 518     if (val
) *val 
= (bool)res
; 
 522     PyErr_SetString(PyExc_TypeError
, "a bool is expected"); 
 528 SWIGSTATICINLINE(bool) 
 529 SWIG_As_bool(PyObject
* obj
) 
 532   if (!SWIG_AsVal_bool(obj
, &v
)) { 
 534       this is needed to make valgrind/purify happier.  the other 
 535       solution is throw an exception, but since this code should work 
 538     memset((void*)&v
, 0, sizeof(bool)); 
 544 SWIGSTATICINLINE(int) 
 545 SWIG_Check_bool(PyObject
* obj
) 
 547   return SWIG_AsVal_bool(obj
, (bool*)0); 
 551   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 557     } else if (target 
== Py_None
) {   
 561         if (!PyTuple_Check(target
)) { 
 563             target 
= PyTuple_New(1); 
 564             PyTuple_SetItem(target
, 0, o2
); 
 567         PyTuple_SetItem(o3
, 0, o
);       
 570         target 
= PySequence_Concat(o2
, o3
);  
 579 // See my_fragments.i 
 580 SWIGSTATICINLINE(int) 
 581 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
 584     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
 585         PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 589         *val 
= (unsigned long)v
; 
 594 SWIGSTATICINLINE(unsigned long) 
 595 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
 598   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 600       this is needed to make valgrind/purify happier.  the other 
 601       solution is throw an exception, but since this code should work 
 604     memset((void*)&v
, 0, sizeof(unsigned long)); 
 610 SWIGSTATICINLINE(int) 
 611 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
 613   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
 617 SWIGSTATICINLINE(PyObject
* ) 
 618   SWIG_From_unsigned_SS_long(unsigned long value
) 
 620   return (value 
> LONG_MAX
) ? 
 621     PyLong_FromUnsignedLong(value
)  
 622     : PyInt_FromLong(swig_numeric_cast(value
,long));  
 626     bool wxThread_IsMain() { 
 627 #ifdef WXP_WITH_THREAD 
 628         return wxThread::IsMain(); 
 635     int wxCaret_GetBlinkTime() { 
 636         return wxCaret::GetBlinkTime(); 
 639     void wxCaret_SetBlinkTime(int milliseconds
) { 
 640         wxCaret::SetBlinkTime(milliseconds
); 
 644 #include <wx/snglinst.h> 
 648 #include <wx/msw/private.h> 
 649 #include <wx/dynload.h> 
 654 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
) 
 661             // This one only partially works.  Appears to be an undocumented 
 662             // "standard" convention that not all widgets adhear to.  For 
 663             // example, for some widgets backgrounds or non-client areas may 
 665             ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0); 
 669             // This one works much better, except for on XP.  On Win2k nearly 
 670             // all widgets and their children are captured correctly[**].  On 
 671             // XP with Themes activated most native widgets draw only 
 672             // partially, if at all.  Without themes it works just like on 
 675             // ** For example the radio buttons in a wxRadioBox are not its 
 676             // children by default, but you can capture it via the panel 
 677             // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp. 
 678             ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 679                           PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| 
 680                           PRF_ERASEBKGND 
| PRF_OWNED 
); 
 684             // This one is only defined in the latest SDK and is only 
 685             // available on XP.  MSDN says it is similar to sending WM_PRINT 
 686             // so I expect that it will work similar to the above.  Since it 
 687             // is avaialble only on XP, it can't be compiled like this and 
 688             // will have to be loaded dynamically. 
 689             // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break; 
 694             // Use PrintWindow if available, or fallback to WM_PRINT 
 695             // otherwise.  Unfortunately using PrintWindow is even worse than 
 696             // WM_PRINT.  For most native widgets nothing is drawn to the dc 
 697             // at all, with or without Themes. 
 698             typedef BOOL (WINAPI 
*PrintWindow_t
)(HWND
, HDC
, UINT
); 
 699             static bool s_triedToLoad 
= False
; 
 700             static PrintWindow_t pfnPrintWindow 
= NULL
; 
 701             if ( !s_triedToLoad 
) 
 704                 s_triedToLoad 
= True
; 
 705                 wxDynamicLibrary 
dllUser32(_T("user32.dll")); 
 706                 if ( dllUser32
.IsLoaded() ) 
 708                     wxLogNull nolog
;  // Don't report errors here 
 709                     pfnPrintWindow 
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow")); 
 714                 printf("Using PrintWindow\n"); 
 715                 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0); 
 719                 printf("Using WM_PRINT\n"); 
 720                 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 721                               PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| PRF_ERASEBKGND 
| PRF_OWNED 
); 
 729 #include <wx/tipdlg.h> 
 732 class wxPyTipProvider 
: public wxTipProvider 
{ 
 734     wxPyTipProvider(size_t currentTip
) 
 735         : wxTipProvider(currentTip
) {} 
 737     DEC_PYCALLBACK_STRING__pure(GetTip
); 
 738     DEC_PYCALLBACK_STRING_STRING(PreprocessTip
); 
 742 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
); 
 743 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
); 
 746 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify); 
 748 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
); 
 750 void wxPyTimer::Notify() { 
 752     bool blocked 
= wxPyBeginBlockThreads(); 
 753     if ((found 
= wxPyCBH_findCallback(m_myInst
, "Notify"))) 
 754         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()")); 
 755     wxPyEndBlockThreads(blocked
); 
 759 void wxPyTimer::base_Notify() { 
 765 SWIGSTATICINLINE(PyObject 
*) 
 766 SWIG_FromCharPtr(const char* cptr
) 
 769     size_t size 
= strlen(cptr
); 
 770     if (size 
> INT_MAX
) { 
 771       return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),  
 772                                 SWIG_TypeQuery("char *"), 0); 
 775         return PyString_FromStringAndSize(cptr
, size
); 
 777         return PyString_FromString(cptr
); 
 786 SWIGSTATICINLINE(int) 
 787   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
 788                                 unsigned long max_value
, 
 791   if (value 
> max_value
) { 
 793       PyErr_Format(PyExc_OverflowError
, 
 794                    "value %ld is greater than '%s' minimum %ld", 
 795                    value
, errmsg
, max_value
); 
 803 #if UINT_MAX != ULONG_MAX 
 804 SWIGSTATICINLINE(int) 
 805   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
 807   const char* errmsg 
= val 
? "unsigned int" : 0; 
 809   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
 810     if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) { 
 811       if (val
) *val 
= swig_numeric_cast(v
, unsigned int); 
 818     PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected"); 
 823 SWIGSTATICINLINE(unsigned int) 
 824   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
 826   return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
); 
 831 SWIGSTATICINLINE(unsigned int) 
 832 SWIG_As_unsigned_SS_int(PyObject
* obj
) 
 835   if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) { 
 837       this is needed to make valgrind/purify happier.  the other 
 838       solution is throw an exception, but since this code should work 
 841     memset((void*)&v
, 0, sizeof(unsigned int)); 
 847 SWIGSTATICINLINE(int) 
 848 SWIG_Check_unsigned_SS_int(PyObject
* obj
) 
 850   return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0); 
 853 wxString 
Log_TimeStamp(){ 
 855             wxLog::TimeStamp(&msg
); 
 858 void wxLog_Destroy(wxLog 
*self
){ delete self
; } 
 860 // A wxLog class that can be derived from in wxPython 
 861 class wxPyLog 
: public wxLog 
{ 
 863     wxPyLog() : wxLog() {} 
 865     virtual void DoLog(wxLogLevel level
, const wxChar 
*szString
, time_t t
) { 
 867         bool blocked 
= wxPyBeginBlockThreads(); 
 868         if ((found 
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) { 
 869             PyObject
* s 
= wx2PyString(szString
); 
 870             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
)); 
 873         wxPyEndBlockThreads(blocked
); 
 875             wxLog::DoLog(level
, szString
, t
); 
 878     virtual void DoLogString(const wxChar 
*szString
, time_t t
) { 
 880         bool blocked 
= wxPyBeginBlockThreads(); 
 881         if ((found 
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) { 
 882             PyObject
* s 
= wx2PyString(szString
); 
 883             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
)); 
 886         wxPyEndBlockThreads(blocked
); 
 888             wxLog::DoLogString(szString
, t
); 
 897 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
); 
 900 #include <wx/joystick.h> 
 903 #if !wxUSE_JOYSTICK && !defined(__WXMSW__) 
 904 // A C++ stub class for wxJoystick for platforms that don't have it. 
 905 class wxJoystick 
: public wxObject 
{ 
 907     wxJoystick(int joystick 
= wxJOYSTICK1
) { 
 908         bool blocked 
= wxPyBeginBlockThreads(); 
 909         PyErr_SetString(PyExc_NotImplementedError
, 
 910                         "wxJoystick is not available on this platform."); 
 911         wxPyEndBlockThreads(blocked
); 
 913     wxPoint 
GetPosition() { return wxPoint(-1,-1); } 
 914     int GetZPosition() { return -1; } 
 915     int GetButtonState() { return -1; } 
 916     int GetPOVPosition() { return -1; } 
 917     int GetPOVCTSPosition() { return -1; } 
 918     int GetRudderPosition() { return -1; } 
 919     int GetUPosition() { return -1; } 
 920     int GetVPosition() { return -1; } 
 921     int GetMovementThreshold() { return -1; } 
 922     void SetMovementThreshold(int threshold
) {} 
 924     bool IsOk(void) { return False
; } 
 925     int GetNumberJoysticks() { return -1; } 
 926     int GetManufacturerId() { return -1; } 
 927     int GetProductId() { return -1; } 
 928     wxString 
GetProductName() { return wxEmptyString
; } 
 929     int GetXMin() { return -1; } 
 930     int GetYMin() { return -1; } 
 931     int GetZMin() { return -1; } 
 932     int GetXMax() { return -1; } 
 933     int GetYMax() { return -1; } 
 934     int GetZMax() { return -1; } 
 935     int GetNumberButtons() { return -1; } 
 936     int GetNumberAxes() { return -1; } 
 937     int GetMaxButtons() { return -1; } 
 938     int GetMaxAxes() { return -1; } 
 939     int GetPollingMin() { return -1; } 
 940     int GetPollingMax() { return -1; } 
 941     int GetRudderMin() { return -1; } 
 942     int GetRudderMax() { return -1; } 
 943     int GetUMin() { return -1; } 
 944     int GetUMax() { return -1; } 
 945     int GetVMin() { return -1; } 
 946     int GetVMax() { return -1; } 
 948     bool HasRudder() { return False
; } 
 949     bool HasZ() { return False
; } 
 950     bool HasU() { return False
; } 
 951     bool HasV() { return False
; } 
 952     bool HasPOV() { return False
; } 
 953     bool HasPOV4Dir() { return False
; } 
 954     bool HasPOVCTS() { return False
; } 
 956     bool SetCapture(wxWindow
* win
, int pollingFreq 
= 0) { return False
; } 
 957     bool ReleaseCapture() { return False
; } 
 962 #include <wx/sound.h> 
 966 // A C++ stub class for wxWave for platforms that don't have it. 
 967 class wxSound 
: public wxObject
 
 971         bool blocked 
= wxPyBeginBlockThreads(); 
 972         PyErr_SetString(PyExc_NotImplementedError
, 
 973                         "wxSound is not available on this platform."); 
 974         wxPyEndBlockThreads(blocked
); 
 976     wxSound(const wxString
&/*, bool*/) { 
 977         bool blocked 
= wxPyBeginBlockThreads(); 
 978         PyErr_SetString(PyExc_NotImplementedError
, 
 979                         "wxSound is not available on this platform."); 
 980         wxPyEndBlockThreads(blocked
); 
 982     wxSound(int, const wxByte
*) { 
 983         bool blocked 
= wxPyBeginBlockThreads(); 
 984         PyErr_SetString(PyExc_NotImplementedError
, 
 985                         "wxSound is not available on this platform."); 
 986         wxPyEndBlockThreads(blocked
); 
 991     bool Create(const wxString
&/*, bool*/) { return false; } 
 992     bool Create(int, const wxByte
*) { return false; }; 
 993     bool IsOk() { return false; };     
 994     bool Play(unsigned) const { return false; } 
 995     static bool Play(const wxString
&, unsigned) { return false; } 
 996     static void Stop() {} 
1001 wxSound 
*new_wxSound(wxString 
const &fileName
){ 
1002             if (fileName
.Length() == 0) 
1005                 return new wxSound(fileName
); 
1007 wxSound 
*new_wxSound(PyObject 
*data
){ 
1008             unsigned char* buffer
; int size
; 
1009             wxSound 
*sound 
= NULL
; 
1011             bool blocked 
= wxPyBeginBlockThreads(); 
1012             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
1014             sound 
= new wxSound(size
, buffer
); 
1016             wxPyEndBlockThreads(blocked
); 
1019 bool wxSound_CreateFromData(wxSound 
*self
,PyObject 
*data
){ 
1021             unsigned char* buffer
; 
1025             bool blocked 
= wxPyBeginBlockThreads(); 
1026             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
1028             rv 
= self
->Create(size
, buffer
); 
1030             wxPyEndBlockThreads(blocked
); 
1033                  bool blocked 
= wxPyBeginBlockThreads(); 
1034                  PyErr_SetString(PyExc_NotImplementedError
, 
1035                                  "Create from data is not available on this platform."); 
1036                  wxPyEndBlockThreads(blocked
); 
1041 #include <wx/mimetype.h> 
1043 PyObject 
*wxFileType_GetMimeType(wxFileType 
*self
){ 
1045             if (self
->GetMimeType(&str
))  
1046                 return wx2PyString(str
); 
1050 PyObject 
*wxFileType_GetMimeTypes(wxFileType 
*self
){ 
1052             if (self
->GetMimeTypes(arr
)) 
1053                 return wxArrayString2PyList_helper(arr
); 
1057 PyObject 
*wxFileType_GetExtensions(wxFileType 
*self
){ 
1059             if (self
->GetExtensions(arr
)) 
1060                 return wxArrayString2PyList_helper(arr
); 
1064 wxIcon 
*wxFileType_GetIcon(wxFileType 
*self
){ 
1066             if (self
->GetIcon(&loc
)) 
1067                 return new wxIcon(loc
); 
1071 PyObject 
*wxFileType_GetIconInfo(wxFileType 
*self
){ 
1073             if (self
->GetIcon(&loc
)) { 
1074                 wxString iconFile 
= loc
.GetFileName(); 
1077                 iconIndex 
= loc
.GetIndex(); 
1079                 // Make a tuple and put the values in it 
1080                 bool blocked 
= wxPyBeginBlockThreads(); 
1081                 PyObject
* tuple 
= PyTuple_New(3); 
1082                 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
), 
1083                                                               wxT("wxIcon"), True
)); 
1084                 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
)); 
1085                 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
)); 
1086                 wxPyEndBlockThreads(blocked
); 
1092 PyObject 
*wxFileType_GetDescription(wxFileType 
*self
){ 
1094             if (self
->GetDescription(&str
))  
1095                 return wx2PyString(str
); 
1099 PyObject 
*wxFileType_GetOpenCommand(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
1101             if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))  
1102                 return wx2PyString(str
); 
1106 PyObject 
*wxFileType_GetPrintCommand(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
1108             if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))  
1109                 return wx2PyString(str
); 
1113 PyObject 
*wxFileType_GetAllCommands(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
1114             wxArrayString verbs
; 
1115             wxArrayString commands
; 
1116             if (self
->GetAllCommands(&verbs
, &commands
, 
1117                                      wxFileType::MessageParameters(filename
, mimetype
))) { 
1118                 bool blocked 
= wxPyBeginBlockThreads(); 
1119                 PyObject
* tuple 
= PyTuple_New(2); 
1120                 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
)); 
1121                 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
)); 
1122                 wxPyEndBlockThreads(blocked
); 
1128 wxString 
FileType_ExpandCommand(wxString 
const &command
,wxString 
const &filename
,wxString 
const &mimetype
){ 
1129             return wxFileType::ExpandCommand(command
, 
1130                                              wxFileType::MessageParameters(filename
, mimetype
)); 
1132 PyObject 
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager 
*self
){ 
1134             self
->EnumAllFileTypes(arr
); 
1135             return wxArrayString2PyList_helper(arr
); 
1138 #include <wx/artprov.h> 
1140  static const wxString 
wxPyART_TOOLBAR(wxART_TOOLBAR
);  
1141  static const wxString 
wxPyART_MENU(wxART_MENU
);  
1142  static const wxString 
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);  
1143  static const wxString 
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);  
1144  static const wxString 
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);  
1145  static const wxString 
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);  
1146  static const wxString 
wxPyART_BUTTON(wxART_BUTTON
);  
1147  static const wxString 
wxPyART_OTHER(wxART_OTHER
);  
1148  static const wxString 
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);  
1149  static const wxString 
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);  
1150  static const wxString 
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);  
1151  static const wxString 
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);  
1152  static const wxString 
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);  
1153  static const wxString 
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);  
1154  static const wxString 
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);  
1155  static const wxString 
wxPyART_GO_BACK(wxART_GO_BACK
);  
1156  static const wxString 
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);  
1157  static const wxString 
wxPyART_GO_UP(wxART_GO_UP
);  
1158  static const wxString 
wxPyART_GO_DOWN(wxART_GO_DOWN
);  
1159  static const wxString 
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);  
1160  static const wxString 
wxPyART_GO_HOME(wxART_GO_HOME
);  
1161  static const wxString 
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);  
1162  static const wxString 
wxPyART_PRINT(wxART_PRINT
);  
1163  static const wxString 
wxPyART_HELP(wxART_HELP
);  
1164  static const wxString 
wxPyART_TIP(wxART_TIP
);  
1165  static const wxString 
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);  
1166  static const wxString 
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);  
1167  static const wxString 
wxPyART_NEW_DIR(wxART_NEW_DIR
);  
1168  static const wxString 
wxPyART_FOLDER(wxART_FOLDER
);  
1169  static const wxString 
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);  
1170  static const wxString 
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);  
1171  static const wxString 
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);  
1172  static const wxString 
wxPyART_TICK_MARK(wxART_TICK_MARK
);  
1173  static const wxString 
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);  
1174  static const wxString 
wxPyART_ERROR(wxART_ERROR
);  
1175  static const wxString 
wxPyART_QUESTION(wxART_QUESTION
);  
1176  static const wxString 
wxPyART_WARNING(wxART_WARNING
);  
1177  static const wxString 
wxPyART_INFORMATION(wxART_INFORMATION
);  
1178  static const wxString 
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);  
1179   // Python aware wxArtProvider 
1180 class wxPyArtProvider 
: public wxArtProvider  
{ 
1183     virtual wxBitmap 
CreateBitmap(const wxArtID
& id
, 
1184                                   const wxArtClient
& client
, 
1185                                   const wxSize
& size
) { 
1186         wxBitmap rval 
= wxNullBitmap
; 
1187         bool blocked 
= wxPyBeginBlockThreads(); 
1188         if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) { 
1189             PyObject
* so 
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0); 
1193             s1 
= wx2PyString(id
); 
1194             s2 
= wx2PyString(client
); 
1195             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
)); 
1200                 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap"))) 
1205         wxPyEndBlockThreads(blocked
); 
1212 void wxPyArtProvider_Destroy(wxPyArtProvider 
*self
){ delete self
; } 
1216     static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) { 
1217         PyObject
* ret 
= PyTuple_New(3); 
1219             PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
)); 
1220             PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
)); 
1221             PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
)); 
1226 PyObject 
*wxConfigBase_GetFirstGroup(wxConfigBase 
*self
){ 
1231             cont 
= self
->GetFirstGroup(value
, index
); 
1232             return __EnumerationHelper(cont
, value
, index
); 
1234 PyObject 
*wxConfigBase_GetNextGroup(wxConfigBase 
*self
,long index
){ 
1238             cont 
= self
->GetNextGroup(value
, index
); 
1239             return __EnumerationHelper(cont
, value
, index
); 
1241 PyObject 
*wxConfigBase_GetFirstEntry(wxConfigBase 
*self
){ 
1246             cont 
= self
->GetFirstEntry(value
, index
); 
1247             return __EnumerationHelper(cont
, value
, index
); 
1249 PyObject 
*wxConfigBase_GetNextEntry(wxConfigBase 
*self
,long index
){ 
1253             cont 
= self
->GetNextEntry(value
, index
); 
1254             return __EnumerationHelper(cont
, value
, index
); 
1256 long wxConfigBase_ReadInt(wxConfigBase 
*self
,wxString 
const &key
,long defaultVal
){ 
1258             self
->Read(key
, &rv
, defaultVal
); 
1262 // See my_fragments.i 
1263 SWIGSTATICINLINE(int) 
1264 SWIG_AsVal_double(PyObject 
*obj
, double* val
) 
1266     if (PyNumber_Check(obj
)) { 
1267         if (val
) *val 
= PyFloat_AsDouble(obj
); 
1271         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
1272                                                obj
->ob_type
->tp_name
); 
1273         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
1280 SWIGSTATICINLINE(double) 
1281 SWIG_As_double(PyObject
* obj
) 
1284   if (!SWIG_AsVal_double(obj
, &v
)) { 
1286       this is needed to make valgrind/purify happier.  the other 
1287       solution is throw an exception, but since this code should work 
1290     memset((void*)&v
, 0, sizeof(double)); 
1296 SWIGSTATICINLINE(int) 
1297 SWIG_Check_double(PyObject
* obj
) 
1299   return SWIG_AsVal_double(obj
, (double*)0); 
1302 double wxConfigBase_ReadFloat(wxConfigBase 
*self
,wxString 
const &key
,double defaultVal
){ 
1304             self
->Read(key
, &rv
, defaultVal
); 
1307 bool wxConfigBase_ReadBool(wxConfigBase 
*self
,wxString 
const &key
,bool defaultVal
){ 
1309             self
->Read(key
, &rv
, defaultVal
); 
1313 #include <wx/datetime.h> 
1316  static const wxString 
wxPyDateFormatStr(wxT("%c"));  
1317  static const wxString 
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));  
1319 #define LOCAL_TZ wxDateTime::Local 
1322 #if UINT_MAX < LONG_MAX 
1323 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
1324 #define SWIG_From_unsigned_SS_int SWIG_From_long 
1327 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
1328 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long 
1332 wxDateTime 
wxDateTime___add____SWIG_0(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1333 wxDateTime 
wxDateTime___add____SWIG_1(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1334 wxTimeSpan 
wxDateTime___sub____SWIG_0(wxDateTime 
*self
,wxDateTime 
const &other
){ return *self 
- other
; } 
1335 wxDateTime 
wxDateTime___sub____SWIG_1(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1336 wxDateTime 
wxDateTime___sub____SWIG_2(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1337 bool wxDateTime___lt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1338             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<  other
;  
1339             return (*self 
<  *other
); 
1341 bool wxDateTime___le__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1342             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<= other
;  
1343             return (*self 
<= *other
); 
1345 bool wxDateTime___gt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1346             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>  other
;  
1347             return (*self 
>  *other
); 
1349 bool wxDateTime___ge__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1350             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>= other
;  
1351             return (*self 
>= *other
); 
1353 bool wxDateTime___eq__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1354             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
== other
;  
1355             return (*self 
== *other
); 
1357 bool wxDateTime___ne__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1358             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
!= other
;  
1359             return (*self 
!= *other
); 
1361 int wxDateTime_ParseRfc822Date(wxDateTime 
*self
,wxString 
const &date
){ 
1363             const wxChar
* _date 
= date
; 
1364             rv 
= self
->ParseRfc822Date(_date
); 
1365             if (rv 
== NULL
) return -1; 
1368 int wxDateTime_ParseFormat(wxDateTime 
*self
,wxString 
const &date
,wxString 
const &format
,wxDateTime 
const &dateDef
){ 
1370             const wxChar
* _date 
= date
; 
1371             rv 
= self
->ParseFormat(_date
, format
, dateDef
); 
1372             if (rv 
== NULL
) return -1; 
1375 int wxDateTime_ParseDateTime(wxDateTime 
*self
,wxString 
const &datetime
){ 
1377             const wxChar
* _datetime 
= datetime
; 
1378             rv 
= self
->ParseDateTime(_datetime
); 
1379             if (rv 
== NULL
) return -1; 
1380             return rv 
- _datetime
; 
1382 int wxDateTime_ParseDate(wxDateTime 
*self
,wxString 
const &date
){ 
1384             const wxChar
* _date 
= date
; 
1385             rv 
= self
->ParseDate(_date
); 
1386             if (rv 
== NULL
) return -1; 
1389 int wxDateTime_ParseTime(wxDateTime 
*self
,wxString 
const &time
){ 
1391             const wxChar
* _time 
= time
; 
1392             rv 
= self
->ParseTime(_time
); 
1393             if (rv 
== NULL
) return -1; 
1396 wxTimeSpan 
wxTimeSpan___add__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1397 wxTimeSpan 
wxTimeSpan___sub__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1398 wxTimeSpan 
wxTimeSpan___mul__(wxTimeSpan 
*self
,int n
){ return *self 
* n
; } 
1399 wxTimeSpan 
wxTimeSpan___rmul__(wxTimeSpan 
*self
,int n
){ return n 
* *self
; } 
1400 bool wxTimeSpan___lt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<  *other
) : False
; } 
1401 bool wxTimeSpan___le__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<= *other
) : False
; } 
1402 bool wxTimeSpan___gt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>  *other
) : True
;  } 
1403 bool wxTimeSpan___ge__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>= *other
) : True
;  } 
1404 bool wxTimeSpan___eq__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1405 bool wxTimeSpan___ne__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1406 wxDateSpan 
wxDateSpan___add__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1407 wxDateSpan 
wxDateSpan___sub__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1408 wxDateSpan 
wxDateSpan___mul__(wxDateSpan 
*self
,int n
){ return *self 
* n
; } 
1409 wxDateSpan 
wxDateSpan___rmul__(wxDateSpan 
*self
,int n
){ return n 
* *self
; } 
1410 bool wxDateSpan___eq__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1411 bool wxDateSpan___ne__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1413 #include <wx/dataobj.h> 
1415 PyObject 
*wxDataObject_GetAllFormats(wxDataObject 
*self
,wxDataObject::Direction dir
){ 
1416             size_t count 
= self
->GetFormatCount(dir
); 
1417             wxDataFormat
* formats 
= new wxDataFormat
[count
]; 
1418             self
->GetAllFormats(formats
, dir
); 
1420             bool blocked 
= wxPyBeginBlockThreads(); 
1421             PyObject
* list 
= PyList_New(count
); 
1422             for (size_t i
=0; i
<count
; i
++) { 
1423                 wxDataFormat
* format 
= new wxDataFormat(formats
[i
]); 
1424                 PyObject
* obj 
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
); 
1425                 PyList_Append(list
, obj
); 
1428             wxPyEndBlockThreads(blocked
); 
1432 PyObject 
*wxDataObject_GetDataHere(wxDataObject 
*self
,wxDataFormat 
const &format
){ 
1433             PyObject
* rval 
= NULL
; 
1434             size_t size 
= self
->GetDataSize(format
);             
1435             bool blocked 
= wxPyBeginBlockThreads(); 
1437                 char* buf 
= new char[size
]; 
1438                 if (self
->GetDataHere(format
, buf
))  
1439                     rval 
= PyString_FromStringAndSize(buf
, size
); 
1446             wxPyEndBlockThreads(blocked
); 
1449 bool wxDataObject_SetData(wxDataObject 
*self
,wxDataFormat 
const &format
,PyObject 
*data
){ 
1451             bool blocked 
= wxPyBeginBlockThreads(); 
1452             if (PyString_Check(data
)) { 
1453                 rval 
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
)); 
1456                 // raise a TypeError if not a string 
1457                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1460             wxPyEndBlockThreads(blocked
); 
1463 PyObject 
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple 
*self
){ 
1464             PyObject
* rval 
= NULL
; 
1465             size_t size 
= self
->GetDataSize();             
1466             bool blocked 
= wxPyBeginBlockThreads(); 
1468                 char* buf 
= new char[size
]; 
1469                 if (self
->GetDataHere(buf
))  
1470                     rval 
= PyString_FromStringAndSize(buf
, size
); 
1477             wxPyEndBlockThreads(blocked
); 
1480 bool wxDataObjectSimple_SetData(wxDataObjectSimple 
*self
,PyObject 
*data
){ 
1482             bool blocked 
= wxPyBeginBlockThreads(); 
1483             if (PyString_Check(data
)) { 
1484                 rval 
= self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1487                 // raise a TypeError if not a string 
1488                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1491             wxPyEndBlockThreads(blocked
); 
1494   // Create a new class for wxPython to use 
1495 class wxPyDataObjectSimple 
: public wxDataObjectSimple 
{ 
1497     wxPyDataObjectSimple(const wxDataFormat
& format 
= wxFormatInvalid
) 
1498         : wxDataObjectSimple(format
) {} 
1500     DEC_PYCALLBACK_SIZET__const(GetDataSize
); 
1501     bool GetDataHere(void *buf
) const; 
1502     bool SetData(size_t len
, const void *buf
) const; 
1506 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
); 
1508 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const { 
1509     // We need to get the data for this object and write it to buf.  I think 
1510     // the best way to do this for wxPython is to have the Python method 
1511     // return either a string or None and then act appropriately with the 
1515     bool blocked 
= wxPyBeginBlockThreads(); 
1516     if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) { 
1518         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1520             rval 
= (ro 
!= Py_None 
&& PyString_Check(ro
)); 
1522                 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
)); 
1526     wxPyEndBlockThreads(blocked
); 
1530 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{ 
1531     // For this one we simply need to make a string from buf and len 
1532     // and send it to the Python method. 
1534     bool blocked 
= wxPyBeginBlockThreads(); 
1535     if (wxPyCBH_findCallback(m_myInst
, "SetData")) { 
1536         PyObject
* data 
= PyString_FromStringAndSize((char*)buf
, len
); 
1537         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
)); 
1540     wxPyEndBlockThreads(blocked
); 
1544   // Create a new class for wxPython to use 
1545 class wxPyTextDataObject 
: public wxTextDataObject 
{ 
1547     wxPyTextDataObject(const wxString
& text 
= wxPyEmptyString
) 
1548         : wxTextDataObject(text
) {} 
1550     DEC_PYCALLBACK_SIZET__const(GetTextLength
); 
1551     DEC_PYCALLBACK_STRING__const(GetText
); 
1552     DEC_PYCALLBACK__STRING(SetText
); 
1556 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
); 
1557 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
); 
1558 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
); 
1561   // Create a new class for wxPython to use 
1562 class wxPyBitmapDataObject 
: public wxBitmapDataObject 
{ 
1564     wxPyBitmapDataObject(const wxBitmap
& bitmap 
= wxNullBitmap
) 
1565         : wxBitmapDataObject(bitmap
) {} 
1567     wxBitmap 
GetBitmap() const; 
1568     void SetBitmap(const wxBitmap
& bitmap
); 
1572 wxBitmap 
wxPyBitmapDataObject::GetBitmap() const { 
1573     wxBitmap
* rval 
= &wxNullBitmap
; 
1574     bool blocked 
= wxPyBeginBlockThreads(); 
1575     if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) { 
1578         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1580             if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap"))) 
1585     wxPyEndBlockThreads(blocked
); 
1589 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) { 
1590     bool blocked 
= wxPyBeginBlockThreads(); 
1591     if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) { 
1592         PyObject
* bo 
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
); 
1593         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
)); 
1596     wxPyEndBlockThreads(blocked
); 
1599 bool wxCustomDataObject_SetData(wxCustomDataObject 
*self
,PyObject 
*data
){ 
1601             bool blocked 
= wxPyBeginBlockThreads(); 
1602             if (PyString_Check(data
)) { 
1603                 rval 
= self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1606                 // raise a TypeError if not a string 
1607                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1610             wxPyEndBlockThreads(blocked
); 
1613 PyObject 
*wxCustomDataObject_GetData(wxCustomDataObject 
*self
){ 
1615             bool blocked 
= wxPyBeginBlockThreads(); 
1616             obj 
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize()); 
1617             wxPyEndBlockThreads(blocked
); 
1621 #include <wx/metafile.h> 
1624 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
); 
1627 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
); 
1628 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
); 
1629 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
); 
1630 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
); 
1631 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
); 
1634 class wxPyTextDropTarget 
: public wxTextDropTarget 
{ 
1636     wxPyTextDropTarget() {} 
1638     DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
); 
1640     DEC_PYCALLBACK__(OnLeave
); 
1641     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1642     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1643     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1644     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1649 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
); 
1650 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
); 
1651 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
); 
1652 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
); 
1653 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
); 
1654 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
); 
1658 class wxPyFileDropTarget 
: public wxFileDropTarget 
{ 
1660     wxPyFileDropTarget() {} 
1662     virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
); 
1664     DEC_PYCALLBACK__(OnLeave
); 
1665     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1666     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1667     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1668     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1673 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
, 
1674                                      const wxArrayString
& filenames
) { 
1676     bool blocked 
= wxPyBeginBlockThreads(); 
1677     if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) { 
1678         PyObject
* list 
= wxArrayString2PyList_helper(filenames
); 
1679         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
)); 
1682     wxPyEndBlockThreads(blocked
); 
1688 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
); 
1689 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
); 
1690 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
); 
1691 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
); 
1692 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
); 
1697 bool wxClipboardLocker___nonzero__(wxClipboardLocker 
*self
){ return !!(*self
); } 
1699 #include <wx/display.h> 
1701 bool wxVideoMode___eq__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1702 bool wxVideoMode___ne__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1704 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build 
1706 #include <wx/dynarray.h> 
1707 #include <wx/vidmode.h> 
1709 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
); 
1710 #include "wx/arrimpl.cpp" 
1711 WX_DEFINE_OBJARRAY(wxArrayVideoModes
); 
1712 const wxVideoMode wxDefaultVideoMode
; 
1717     wxDisplay(size_t index 
= 0) { wxPyRaiseNotImplemented(); } 
1720     static size_t  GetCount() 
1721         { wxPyRaiseNotImplemented(); return 0; } 
1723     static int GetFromPoint(const wxPoint
& pt
) 
1724         { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; } 
1725     static int GetFromWindow(wxWindow 
*window
)  
1726         { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; } 
1728     virtual bool IsOk() const { return false; } 
1729     virtual wxRect 
GetGeometry() const { wxRect r
; return r
; } 
1730     virtual wxString 
GetName() const { return wxEmptyString
; } 
1731     bool IsPrimary() const { return false; } 
1733     wxArrayVideoModes 
GetModes(const wxVideoMode
& mode 
= wxDefaultVideoMode
) 
1734         { wxArrayVideoModes a
; return a
; } 
1736     virtual wxVideoMode 
GetCurrentMode() const 
1737         { return wxDefaultVideoMode
; } 
1739     virtual bool ChangeMode(const wxVideoMode
& mode 
= wxDefaultVideoMode
) 
1746 PyObject 
*wxDisplay_GetModes(wxDisplay 
*self
,wxVideoMode 
const &mode
){ 
1747             PyObject
* pyList 
= NULL
; 
1748             wxArrayVideoModes arr 
= self
->GetModes(mode
); 
1749             bool blocked 
= wxPyBeginBlockThreads(); 
1750             pyList 
= PyList_New(0); 
1751             for (int i
=0; i 
< arr
.GetCount(); i
++) { 
1752                 wxVideoMode
* m 
= new wxVideoMode(arr
.Item(i
)); 
1753                 PyObject
* pyObj 
= wxPyConstructObject(m
, wxT("wxVideoMode"), true); 
1754                 PyList_Append(pyList
, pyObj
); 
1757             wxPyEndBlockThreads(blocked
); 
1763 static PyObject 
*_wrap_SystemSettings_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1764     PyObject 
*resultobj
; 
1767     PyObject 
* obj0 
= 0 ; 
1769         (char *) "index", NULL 
 
1772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
; 
1773     arg1 
= (int)SWIG_As_int(obj0
);  
1774     if (PyErr_Occurred()) SWIG_fail
; 
1776         if (!wxPyCheckForApp()) SWIG_fail
; 
1777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1778         result 
= wxSystemSettings::GetColour((wxSystemColour 
)arg1
); 
1780         wxPyEndAllowThreads(__tstate
); 
1781         if (PyErr_Occurred()) SWIG_fail
; 
1784         wxColour 
* resultptr
; 
1785         resultptr 
= new wxColour((wxColour 
&) result
); 
1786         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1794 static PyObject 
*_wrap_SystemSettings_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1795     PyObject 
*resultobj
; 
1798     PyObject 
* obj0 
= 0 ; 
1800         (char *) "index", NULL 
 
1803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
; 
1804     arg1 
= (int)SWIG_As_int(obj0
);  
1805     if (PyErr_Occurred()) SWIG_fail
; 
1807         if (!wxPyCheckForApp()) SWIG_fail
; 
1808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1809         result 
= wxSystemSettings::GetFont((wxSystemFont 
)arg1
); 
1811         wxPyEndAllowThreads(__tstate
); 
1812         if (PyErr_Occurred()) SWIG_fail
; 
1816         resultptr 
= new wxFont((wxFont 
&) result
); 
1817         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
1825 static PyObject 
*_wrap_SystemSettings_GetMetric(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1826     PyObject 
*resultobj
; 
1829     PyObject 
* obj0 
= 0 ; 
1831         (char *) "index", NULL 
 
1834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
; 
1835     arg1 
= (int)SWIG_As_int(obj0
);  
1836     if (PyErr_Occurred()) SWIG_fail
; 
1838         if (!wxPyCheckForApp()) SWIG_fail
; 
1839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1840         result 
= (int)wxSystemSettings::GetMetric((wxSystemMetric 
)arg1
); 
1842         wxPyEndAllowThreads(__tstate
); 
1843         if (PyErr_Occurred()) SWIG_fail
; 
1845     resultobj 
= SWIG_From_int((int)result
); 
1852 static PyObject 
*_wrap_SystemSettings_HasFeature(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1853     PyObject 
*resultobj
; 
1856     PyObject 
* obj0 
= 0 ; 
1858         (char *) "index", NULL 
 
1861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
; 
1862     arg1 
= (int)SWIG_As_int(obj0
);  
1863     if (PyErr_Occurred()) SWIG_fail
; 
1865         if (!wxPyCheckForApp()) SWIG_fail
; 
1866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1867         result 
= (bool)wxSystemSettings::HasFeature((wxSystemFeature 
)arg1
); 
1869         wxPyEndAllowThreads(__tstate
); 
1870         if (PyErr_Occurred()) SWIG_fail
; 
1873         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1881 static PyObject 
*_wrap_SystemSettings_GetScreenType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1882     PyObject 
*resultobj
; 
1888     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
; 
1890         if (!wxPyCheckForApp()) SWIG_fail
; 
1891         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1892         result 
= (int)wxSystemSettings::GetScreenType(); 
1894         wxPyEndAllowThreads(__tstate
); 
1895         if (PyErr_Occurred()) SWIG_fail
; 
1897     resultobj 
= SWIG_From_int((int)result
); 
1904 static PyObject 
*_wrap_SystemSettings_SetScreenType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1905     PyObject 
*resultobj
; 
1907     PyObject 
* obj0 
= 0 ; 
1909         (char *) "screen", NULL 
 
1912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
; 
1913     arg1 
= (int)SWIG_As_int(obj0
);  
1914     if (PyErr_Occurred()) SWIG_fail
; 
1916         if (!wxPyCheckForApp()) SWIG_fail
; 
1917         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1918         wxSystemSettings::SetScreenType((wxSystemScreenType 
)arg1
); 
1920         wxPyEndAllowThreads(__tstate
); 
1921         if (PyErr_Occurred()) SWIG_fail
; 
1923     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1930 static PyObject 
* SystemSettings_swigregister(PyObject 
*, PyObject 
*args
) { 
1932     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1933     SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
); 
1935     return Py_BuildValue((char *)""); 
1937 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject 
*) { 
1938     PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only."); 
1943 static PyObject 
*_wrap_WINDOW_DEFAULT_VARIANT_get() { 
1948         pyobj 
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len()); 
1950         pyobj 
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len()); 
1957 static PyObject 
*_wrap_new_SystemOptions(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1958     PyObject 
*resultobj
; 
1959     wxSystemOptions 
*result
; 
1964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
; 
1966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1967         result 
= (wxSystemOptions 
*)new wxSystemOptions(); 
1969         wxPyEndAllowThreads(__tstate
); 
1970         if (PyErr_Occurred()) SWIG_fail
; 
1972     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1); 
1979 static PyObject 
*_wrap_SystemOptions_SetOption(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1980     PyObject 
*resultobj
; 
1981     wxString 
*arg1 
= 0 ; 
1982     wxString 
*arg2 
= 0 ; 
1983     bool temp1 
= False 
; 
1984     bool temp2 
= False 
; 
1985     PyObject 
* obj0 
= 0 ; 
1986     PyObject 
* obj1 
= 0 ; 
1988         (char *) "name",(char *) "value", NULL 
 
1991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
; 
1993         arg1 
= wxString_in_helper(obj0
); 
1994         if (arg1 
== NULL
) SWIG_fail
; 
1998         arg2 
= wxString_in_helper(obj1
); 
1999         if (arg2 
== NULL
) SWIG_fail
; 
2003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2004         wxSystemOptions::SetOption((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
2006         wxPyEndAllowThreads(__tstate
); 
2007         if (PyErr_Occurred()) SWIG_fail
; 
2009     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2032 static PyObject 
*_wrap_SystemOptions_SetOptionInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2033     PyObject 
*resultobj
; 
2034     wxString 
*arg1 
= 0 ; 
2036     bool temp1 
= False 
; 
2037     PyObject 
* obj0 
= 0 ; 
2038     PyObject 
* obj1 
= 0 ; 
2040         (char *) "name",(char *) "value", NULL 
 
2043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
2045         arg1 
= wxString_in_helper(obj0
); 
2046         if (arg1 
== NULL
) SWIG_fail
; 
2049     arg2 
= (int)SWIG_As_int(obj1
);  
2050     if (PyErr_Occurred()) SWIG_fail
; 
2052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2053         wxSystemOptions::SetOption((wxString 
const &)*arg1
,arg2
); 
2055         wxPyEndAllowThreads(__tstate
); 
2056         if (PyErr_Occurred()) SWIG_fail
; 
2058     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2073 static PyObject 
*_wrap_SystemOptions_GetOption(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2074     PyObject 
*resultobj
; 
2075     wxString 
*arg1 
= 0 ; 
2077     bool temp1 
= False 
; 
2078     PyObject 
* obj0 
= 0 ; 
2080         (char *) "name", NULL 
 
2083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
; 
2085         arg1 
= wxString_in_helper(obj0
); 
2086         if (arg1 
== NULL
) SWIG_fail
; 
2090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2091         result 
= wxSystemOptions::GetOption((wxString 
const &)*arg1
); 
2093         wxPyEndAllowThreads(__tstate
); 
2094         if (PyErr_Occurred()) SWIG_fail
; 
2098         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2100         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2117 static PyObject 
*_wrap_SystemOptions_GetOptionInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2118     PyObject 
*resultobj
; 
2119     wxString 
*arg1 
= 0 ; 
2121     bool temp1 
= False 
; 
2122     PyObject 
* obj0 
= 0 ; 
2124         (char *) "name", NULL 
 
2127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
; 
2129         arg1 
= wxString_in_helper(obj0
); 
2130         if (arg1 
== NULL
) SWIG_fail
; 
2134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2135         result 
= (int)wxSystemOptions::GetOptionInt((wxString 
const &)*arg1
); 
2137         wxPyEndAllowThreads(__tstate
); 
2138         if (PyErr_Occurred()) SWIG_fail
; 
2140     resultobj 
= SWIG_From_int((int)result
); 
2155 static PyObject 
*_wrap_SystemOptions_HasOption(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2156     PyObject 
*resultobj
; 
2157     wxString 
*arg1 
= 0 ; 
2159     bool temp1 
= False 
; 
2160     PyObject 
* obj0 
= 0 ; 
2162         (char *) "name", NULL 
 
2165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
; 
2167         arg1 
= wxString_in_helper(obj0
); 
2168         if (arg1 
== NULL
) SWIG_fail
; 
2172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2173         result 
= (bool)wxSystemOptions::HasOption((wxString 
const &)*arg1
); 
2175         wxPyEndAllowThreads(__tstate
); 
2176         if (PyErr_Occurred()) SWIG_fail
; 
2179         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2195 static PyObject 
* SystemOptions_swigregister(PyObject 
*, PyObject 
*args
) { 
2197     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2198     SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
); 
2200     return Py_BuildValue((char *)""); 
2202 static int _wrap_FileSelectorPromptStr_set(PyObject 
*) { 
2203     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only."); 
2208 static PyObject 
*_wrap_FileSelectorPromptStr_get() { 
2213         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
2215         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
2222 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject 
*) { 
2223     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only."); 
2228 static PyObject 
*_wrap_FileSelectorDefaultWildcardStr_get() { 
2233         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
2235         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
2242 static int _wrap_DirSelectorPromptStr_set(PyObject 
*) { 
2243     PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only."); 
2248 static PyObject 
*_wrap_DirSelectorPromptStr_get() { 
2253         pyobj 
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
2255         pyobj 
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
2262 static PyObject 
*_wrap_NewId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2263     PyObject 
*resultobj
; 
2269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
; 
2271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2272         result 
= (long)wxNewId(); 
2274         wxPyEndAllowThreads(__tstate
); 
2275         if (PyErr_Occurred()) SWIG_fail
; 
2277     resultobj 
= SWIG_From_long((long)result
); 
2284 static PyObject 
*_wrap_RegisterId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2285     PyObject 
*resultobj
; 
2287     PyObject 
* obj0 
= 0 ; 
2292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
; 
2293     arg1 
= (long)SWIG_As_long(obj0
);  
2294     if (PyErr_Occurred()) SWIG_fail
; 
2296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2299         wxPyEndAllowThreads(__tstate
); 
2300         if (PyErr_Occurred()) SWIG_fail
; 
2302     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2309 static PyObject 
*_wrap_GetCurrentId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2310     PyObject 
*resultobj
; 
2316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
; 
2318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2319         result 
= (long)wxGetCurrentId(); 
2321         wxPyEndAllowThreads(__tstate
); 
2322         if (PyErr_Occurred()) SWIG_fail
; 
2324     resultobj 
= SWIG_From_long((long)result
); 
2331 static PyObject 
*_wrap_IsStockID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2332     PyObject 
*resultobj
; 
2335     PyObject 
* obj0 
= 0 ; 
2340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
; 
2341     arg1 
= (int)SWIG_As_int(obj0
);  
2342     if (PyErr_Occurred()) SWIG_fail
; 
2344         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2345         result 
= (bool)wxIsStockID(arg1
); 
2347         wxPyEndAllowThreads(__tstate
); 
2348         if (PyErr_Occurred()) SWIG_fail
; 
2351         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2359 static PyObject 
*_wrap_IsStockLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2360     PyObject 
*resultobj
; 
2362     wxString 
*arg2 
= 0 ; 
2364     bool temp2 
= False 
; 
2365     PyObject 
* obj0 
= 0 ; 
2366     PyObject 
* obj1 
= 0 ; 
2368         (char *) "id",(char *) "label", NULL 
 
2371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
2372     arg1 
= (int)SWIG_As_int(obj0
);  
2373     if (PyErr_Occurred()) SWIG_fail
; 
2375         arg2 
= wxString_in_helper(obj1
); 
2376         if (arg2 
== NULL
) SWIG_fail
; 
2380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2381         result 
= (bool)wxIsStockLabel(arg1
,(wxString 
const &)*arg2
); 
2383         wxPyEndAllowThreads(__tstate
); 
2384         if (PyErr_Occurred()) SWIG_fail
; 
2387         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2403 static PyObject 
*_wrap_GetStockLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2404     PyObject 
*resultobj
; 
2407     PyObject 
* obj0 
= 0 ; 
2412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
; 
2413     arg1 
= (int)SWIG_As_int(obj0
);  
2414     if (PyErr_Occurred()) SWIG_fail
; 
2416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2417         result 
= wxGetStockLabel(arg1
); 
2419         wxPyEndAllowThreads(__tstate
); 
2420         if (PyErr_Occurred()) SWIG_fail
; 
2424         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2426         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2435 static PyObject 
*_wrap_Bell(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2436     PyObject 
*resultobj
; 
2441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
; 
2443         if (!wxPyCheckForApp()) SWIG_fail
; 
2444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2447         wxPyEndAllowThreads(__tstate
); 
2448         if (PyErr_Occurred()) SWIG_fail
; 
2450     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2457 static PyObject 
*_wrap_EndBusyCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2458     PyObject 
*resultobj
; 
2463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
; 
2465         if (!wxPyCheckForApp()) SWIG_fail
; 
2466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2469         wxPyEndAllowThreads(__tstate
); 
2470         if (PyErr_Occurred()) SWIG_fail
; 
2472     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2479 static PyObject 
*_wrap_GetElapsedTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2480     PyObject 
*resultobj
; 
2481     bool arg1 
= (bool) True 
; 
2483     PyObject 
* obj0 
= 0 ; 
2485         (char *) "resetTimer", NULL 
 
2488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
; 
2490         arg1 
= (bool)SWIG_As_bool(obj0
);  
2491         if (PyErr_Occurred()) SWIG_fail
; 
2494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2495         result 
= (long)wxGetElapsedTime(arg1
); 
2497         wxPyEndAllowThreads(__tstate
); 
2498         if (PyErr_Occurred()) SWIG_fail
; 
2500     resultobj 
= SWIG_From_long((long)result
); 
2507 static PyObject 
*_wrap_GetMousePosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2508     PyObject 
*resultobj
; 
2509     int *arg1 
= (int *) 0 ; 
2510     int *arg2 
= (int *) 0 ; 
2519     arg1 
= &temp1
; res1 
= SWIG_NEWOBJ
; 
2520     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
2521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
; 
2523         if (!wxPyCheckForApp()) SWIG_fail
; 
2524         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2525         wxGetMousePosition(arg1
,arg2
); 
2527         wxPyEndAllowThreads(__tstate
); 
2528         if (PyErr_Occurred()) SWIG_fail
; 
2530     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2531     resultobj 
= t_output_helper(resultobj
, ((res1 
== SWIG_NEWOBJ
) ? 
2532     SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0))); 
2533     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
2534     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
2541 static PyObject 
*_wrap_IsBusy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2542     PyObject 
*resultobj
; 
2548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
; 
2550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2551         result 
= (bool)wxIsBusy(); 
2553         wxPyEndAllowThreads(__tstate
); 
2554         if (PyErr_Occurred()) SWIG_fail
; 
2557         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2565 static PyObject 
*_wrap_Now(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2566     PyObject 
*resultobj
; 
2572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
; 
2574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2577         wxPyEndAllowThreads(__tstate
); 
2578         if (PyErr_Occurred()) SWIG_fail
; 
2582         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2584         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2593 static PyObject 
*_wrap_Shell(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2594     PyObject 
*resultobj
; 
2595     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2596     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2598     bool temp1 
= False 
; 
2599     PyObject 
* obj0 
= 0 ; 
2601         (char *) "command", NULL 
 
2604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
; 
2607             arg1 
= wxString_in_helper(obj0
); 
2608             if (arg1 
== NULL
) SWIG_fail
; 
2613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2614         result 
= (bool)wxShell((wxString 
const &)*arg1
); 
2616         wxPyEndAllowThreads(__tstate
); 
2617         if (PyErr_Occurred()) SWIG_fail
; 
2620         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2636 static PyObject 
*_wrap_StartTimer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2637     PyObject 
*resultobj
; 
2642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
; 
2644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2647         wxPyEndAllowThreads(__tstate
); 
2648         if (PyErr_Occurred()) SWIG_fail
; 
2650     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2657 static PyObject 
*_wrap_GetOsVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2658     PyObject 
*resultobj
; 
2659     int *arg1 
= (int *) 0 ; 
2660     int *arg2 
= (int *) 0 ; 
2670     arg1 
= &temp1
; res1 
= SWIG_NEWOBJ
; 
2671     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
2672     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
; 
2674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2675         result 
= (int)wxGetOsVersion(arg1
,arg2
); 
2677         wxPyEndAllowThreads(__tstate
); 
2678         if (PyErr_Occurred()) SWIG_fail
; 
2680     resultobj 
= SWIG_From_int((int)result
); 
2681     resultobj 
= t_output_helper(resultobj
, ((res1 
== SWIG_NEWOBJ
) ? 
2682     SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0))); 
2683     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
2684     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
2691 static PyObject 
*_wrap_GetOsDescription(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2692     PyObject 
*resultobj
; 
2698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
; 
2700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2701         result 
= wxGetOsDescription(); 
2703         wxPyEndAllowThreads(__tstate
); 
2704         if (PyErr_Occurred()) SWIG_fail
; 
2708         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2710         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2719 static PyObject 
*_wrap_GetFreeMemory(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2720     PyObject 
*resultobj
; 
2726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
; 
2728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2729         result 
= (long)wxGetFreeMemory(); 
2731         wxPyEndAllowThreads(__tstate
); 
2732         if (PyErr_Occurred()) SWIG_fail
; 
2734     resultobj 
= SWIG_From_long((long)result
); 
2741 static PyObject 
*_wrap_Shutdown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2742     PyObject 
*resultobj
; 
2745     PyObject 
* obj0 
= 0 ; 
2747         (char *) "wFlags", NULL 
 
2750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
; 
2751     arg1 
= (int)SWIG_As_int(obj0
);  
2752     if (PyErr_Occurred()) SWIG_fail
; 
2754         if (!wxPyCheckForApp()) SWIG_fail
; 
2755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2756         result 
= (bool)wxShutdown((wxShutdownFlags 
)arg1
); 
2758         wxPyEndAllowThreads(__tstate
); 
2759         if (PyErr_Occurred()) SWIG_fail
; 
2762         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2770 static PyObject 
*_wrap_Sleep(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2771     PyObject 
*resultobj
; 
2773     PyObject 
* obj0 
= 0 ; 
2775         (char *) "secs", NULL 
 
2778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
; 
2779     arg1 
= (int)SWIG_As_int(obj0
);  
2780     if (PyErr_Occurred()) SWIG_fail
; 
2782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2785         wxPyEndAllowThreads(__tstate
); 
2786         if (PyErr_Occurred()) SWIG_fail
; 
2788     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2795 static PyObject 
*_wrap_MilliSleep(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2796     PyObject 
*resultobj
; 
2797     unsigned long arg1 
; 
2798     PyObject 
* obj0 
= 0 ; 
2800         (char *) "milliseconds", NULL 
 
2803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
; 
2804     arg1 
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);  
2805     if (PyErr_Occurred()) SWIG_fail
; 
2807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2810         wxPyEndAllowThreads(__tstate
); 
2811         if (PyErr_Occurred()) SWIG_fail
; 
2813     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2820 static PyObject 
*_wrap_MicroSleep(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2821     PyObject 
*resultobj
; 
2822     unsigned long arg1 
; 
2823     PyObject 
* obj0 
= 0 ; 
2825         (char *) "microseconds", NULL 
 
2828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
; 
2829     arg1 
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);  
2830     if (PyErr_Occurred()) SWIG_fail
; 
2832         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2835         wxPyEndAllowThreads(__tstate
); 
2836         if (PyErr_Occurred()) SWIG_fail
; 
2838     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2845 static PyObject 
*_wrap_EnableTopLevelWindows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2846     PyObject 
*resultobj
; 
2848     PyObject 
* obj0 
= 0 ; 
2850         (char *) "enable", NULL 
 
2853     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
; 
2854     arg1 
= (bool)SWIG_As_bool(obj0
);  
2855     if (PyErr_Occurred()) SWIG_fail
; 
2857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2858         wxEnableTopLevelWindows(arg1
); 
2860         wxPyEndAllowThreads(__tstate
); 
2861         if (PyErr_Occurred()) SWIG_fail
; 
2863     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2870 static PyObject 
*_wrap_StripMenuCodes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2871     PyObject 
*resultobj
; 
2872     wxString 
*arg1 
= 0 ; 
2874     bool temp1 
= False 
; 
2875     PyObject 
* obj0 
= 0 ; 
2880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
; 
2882         arg1 
= wxString_in_helper(obj0
); 
2883         if (arg1 
== NULL
) SWIG_fail
; 
2887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2888         result 
= wxStripMenuCodes((wxString 
const &)*arg1
); 
2890         wxPyEndAllowThreads(__tstate
); 
2891         if (PyErr_Occurred()) SWIG_fail
; 
2895         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2897         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2914 static PyObject 
*_wrap_GetEmailAddress(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2915     PyObject 
*resultobj
; 
2921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
; 
2923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2924         result 
= wxGetEmailAddress(); 
2926         wxPyEndAllowThreads(__tstate
); 
2927         if (PyErr_Occurred()) SWIG_fail
; 
2931         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2933         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2942 static PyObject 
*_wrap_GetHostName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2943     PyObject 
*resultobj
; 
2949     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
; 
2951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2952         result 
= wxGetHostName(); 
2954         wxPyEndAllowThreads(__tstate
); 
2955         if (PyErr_Occurred()) SWIG_fail
; 
2959         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2961         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2970 static PyObject 
*_wrap_GetFullHostName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2971     PyObject 
*resultobj
; 
2977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
; 
2979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2980         result 
= wxGetFullHostName(); 
2982         wxPyEndAllowThreads(__tstate
); 
2983         if (PyErr_Occurred()) SWIG_fail
; 
2987         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2989         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2998 static PyObject 
*_wrap_GetUserId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2999     PyObject 
*resultobj
; 
3005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
; 
3007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3008         result 
= wxGetUserId(); 
3010         wxPyEndAllowThreads(__tstate
); 
3011         if (PyErr_Occurred()) SWIG_fail
; 
3015         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3017         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3026 static PyObject 
*_wrap_GetUserName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3027     PyObject 
*resultobj
; 
3033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
; 
3035         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3036         result 
= wxGetUserName(); 
3038         wxPyEndAllowThreads(__tstate
); 
3039         if (PyErr_Occurred()) SWIG_fail
; 
3043         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3045         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3054 static PyObject 
*_wrap_GetHomeDir(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3055     PyObject 
*resultobj
; 
3061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
; 
3063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3064         result 
= wxGetHomeDir(); 
3066         wxPyEndAllowThreads(__tstate
); 
3067         if (PyErr_Occurred()) SWIG_fail
; 
3071         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3073         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3082 static PyObject 
*_wrap_GetUserHome(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3083     PyObject 
*resultobj
; 
3084     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
3085     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3087     bool temp1 
= False 
; 
3088     PyObject 
* obj0 
= 0 ; 
3090         (char *) "user", NULL 
 
3093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
; 
3096             arg1 
= wxString_in_helper(obj0
); 
3097             if (arg1 
== NULL
) SWIG_fail
; 
3102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3103         result 
= wxGetUserHome((wxString 
const &)*arg1
); 
3105         wxPyEndAllowThreads(__tstate
); 
3106         if (PyErr_Occurred()) SWIG_fail
; 
3110         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3112         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3129 static PyObject 
*_wrap_GetProcessId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3130     PyObject 
*resultobj
; 
3131     unsigned long result
; 
3136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
; 
3138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3139         result 
= (unsigned long)wxGetProcessId(); 
3141         wxPyEndAllowThreads(__tstate
); 
3142         if (PyErr_Occurred()) SWIG_fail
; 
3144     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
3151 static PyObject 
*_wrap_Trap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3152     PyObject 
*resultobj
; 
3157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
; 
3159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3162         wxPyEndAllowThreads(__tstate
); 
3163         if (PyErr_Occurred()) SWIG_fail
; 
3165     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3172 static PyObject 
*_wrap_FileSelector(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3173     PyObject 
*resultobj
; 
3174     wxString 
const &arg1_defvalue 
= wxPyFileSelectorPromptStr 
; 
3175     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3176     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3177     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3178     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3179     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3180     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
3181     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
3182     wxString 
const &arg5_defvalue 
= wxPyFileSelectorDefaultWildcardStr 
; 
3183     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
3184     int arg6 
= (int) 0 ; 
3185     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
3186     int arg8 
= (int) -1 ; 
3187     int arg9 
= (int) -1 ; 
3189     bool temp1 
= False 
; 
3190     bool temp2 
= False 
; 
3191     bool temp3 
= False 
; 
3192     bool temp4 
= False 
; 
3193     bool temp5 
= False 
; 
3194     PyObject 
* obj0 
= 0 ; 
3195     PyObject 
* obj1 
= 0 ; 
3196     PyObject 
* obj2 
= 0 ; 
3197     PyObject 
* obj3 
= 0 ; 
3198     PyObject 
* obj4 
= 0 ; 
3199     PyObject 
* obj5 
= 0 ; 
3200     PyObject 
* obj6 
= 0 ; 
3201     PyObject 
* obj7 
= 0 ; 
3202     PyObject 
* obj8 
= 0 ; 
3204         (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
3207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3210             arg1 
= wxString_in_helper(obj0
); 
3211             if (arg1 
== NULL
) SWIG_fail
; 
3217             arg2 
= wxString_in_helper(obj1
); 
3218             if (arg2 
== NULL
) SWIG_fail
; 
3224             arg3 
= wxString_in_helper(obj2
); 
3225             if (arg3 
== NULL
) SWIG_fail
; 
3231             arg4 
= wxString_in_helper(obj3
); 
3232             if (arg4 
== NULL
) SWIG_fail
; 
3238             arg5 
= wxString_in_helper(obj4
); 
3239             if (arg5 
== NULL
) SWIG_fail
; 
3244         arg6 
= (int)SWIG_As_int(obj5
);  
3245         if (PyErr_Occurred()) SWIG_fail
; 
3248         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
3249         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3252         arg8 
= (int)SWIG_As_int(obj7
);  
3253         if (PyErr_Occurred()) SWIG_fail
; 
3256         arg9 
= (int)SWIG_As_int(obj8
);  
3257         if (PyErr_Occurred()) SWIG_fail
; 
3260         if (!wxPyCheckForApp()) SWIG_fail
; 
3261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3262         result 
= wxFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
); 
3264         wxPyEndAllowThreads(__tstate
); 
3265         if (PyErr_Occurred()) SWIG_fail
; 
3269         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3271         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3320 static PyObject 
*_wrap_LoadFileSelector(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3321     PyObject 
*resultobj
; 
3322     wxString 
*arg1 
= 0 ; 
3323     wxString 
*arg2 
= 0 ; 
3324     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3325     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3326     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3328     bool temp1 
= False 
; 
3329     bool temp2 
= False 
; 
3330     bool temp3 
= False 
; 
3331     PyObject 
* obj0 
= 0 ; 
3332     PyObject 
* obj1 
= 0 ; 
3333     PyObject 
* obj2 
= 0 ; 
3334     PyObject 
* obj3 
= 0 ; 
3336         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
3339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3341         arg1 
= wxString_in_helper(obj0
); 
3342         if (arg1 
== NULL
) SWIG_fail
; 
3346         arg2 
= wxString_in_helper(obj1
); 
3347         if (arg2 
== NULL
) SWIG_fail
; 
3352             arg3 
= wxString_in_helper(obj2
); 
3353             if (arg3 
== NULL
) SWIG_fail
; 
3358         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3359         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3362         if (!wxPyCheckForApp()) SWIG_fail
; 
3363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3364         result 
= wxLoadFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3366         wxPyEndAllowThreads(__tstate
); 
3367         if (PyErr_Occurred()) SWIG_fail
; 
3371         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3373         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3406 static PyObject 
*_wrap_SaveFileSelector(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3407     PyObject 
*resultobj
; 
3408     wxString 
*arg1 
= 0 ; 
3409     wxString 
*arg2 
= 0 ; 
3410     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3411     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3412     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3414     bool temp1 
= False 
; 
3415     bool temp2 
= False 
; 
3416     bool temp3 
= False 
; 
3417     PyObject 
* obj0 
= 0 ; 
3418     PyObject 
* obj1 
= 0 ; 
3419     PyObject 
* obj2 
= 0 ; 
3420     PyObject 
* obj3 
= 0 ; 
3422         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
3425     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3427         arg1 
= wxString_in_helper(obj0
); 
3428         if (arg1 
== NULL
) SWIG_fail
; 
3432         arg2 
= wxString_in_helper(obj1
); 
3433         if (arg2 
== NULL
) SWIG_fail
; 
3438             arg3 
= wxString_in_helper(obj2
); 
3439             if (arg3 
== NULL
) SWIG_fail
; 
3444         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3445         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3448         if (!wxPyCheckForApp()) SWIG_fail
; 
3449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3450         result 
= wxSaveFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3452         wxPyEndAllowThreads(__tstate
); 
3453         if (PyErr_Occurred()) SWIG_fail
; 
3457         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3459         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3492 static PyObject 
*_wrap_DirSelector(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3493     PyObject 
*resultobj
; 
3494     wxString 
const &arg1_defvalue 
= wxPyDirSelectorPromptStr 
; 
3495     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3496     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3497     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3498     long arg3 
= (long) wxDD_DEFAULT_STYLE 
; 
3499     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3500     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3501     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3503     bool temp1 
= False 
; 
3504     bool temp2 
= False 
; 
3506     PyObject 
* obj0 
= 0 ; 
3507     PyObject 
* obj1 
= 0 ; 
3508     PyObject 
* obj2 
= 0 ; 
3509     PyObject 
* obj3 
= 0 ; 
3510     PyObject 
* obj4 
= 0 ; 
3512         (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL 
 
3515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
3518             arg1 
= wxString_in_helper(obj0
); 
3519             if (arg1 
== NULL
) SWIG_fail
; 
3525             arg2 
= wxString_in_helper(obj1
); 
3526             if (arg2 
== NULL
) SWIG_fail
; 
3531         arg3 
= (long)SWIG_As_long(obj2
);  
3532         if (PyErr_Occurred()) SWIG_fail
; 
3537             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3541         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3542         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3545         if (!wxPyCheckForApp()) SWIG_fail
; 
3546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3547         result 
= wxDirSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,arg5
); 
3549         wxPyEndAllowThreads(__tstate
); 
3550         if (PyErr_Occurred()) SWIG_fail
; 
3554         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3556         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3581 static PyObject 
*_wrap_GetTextFromUser(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3582     PyObject 
*resultobj
; 
3583     wxString 
*arg1 
= 0 ; 
3584     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3585     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3586     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3587     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3588     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3589     int arg5 
= (int) -1 ; 
3590     int arg6 
= (int) -1 ; 
3591     bool arg7 
= (bool) True 
; 
3593     bool temp1 
= False 
; 
3594     bool temp2 
= False 
; 
3595     bool temp3 
= False 
; 
3596     PyObject 
* obj0 
= 0 ; 
3597     PyObject 
* obj1 
= 0 ; 
3598     PyObject 
* obj2 
= 0 ; 
3599     PyObject 
* obj3 
= 0 ; 
3600     PyObject 
* obj4 
= 0 ; 
3601     PyObject 
* obj5 
= 0 ; 
3602     PyObject 
* obj6 
= 0 ; 
3604         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL 
 
3607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
3609         arg1 
= wxString_in_helper(obj0
); 
3610         if (arg1 
== NULL
) SWIG_fail
; 
3615             arg2 
= wxString_in_helper(obj1
); 
3616             if (arg2 
== NULL
) SWIG_fail
; 
3622             arg3 
= wxString_in_helper(obj2
); 
3623             if (arg3 
== NULL
) SWIG_fail
; 
3628         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3629         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3632         arg5 
= (int)SWIG_As_int(obj4
);  
3633         if (PyErr_Occurred()) SWIG_fail
; 
3636         arg6 
= (int)SWIG_As_int(obj5
);  
3637         if (PyErr_Occurred()) SWIG_fail
; 
3640         arg7 
= (bool)SWIG_As_bool(obj6
);  
3641         if (PyErr_Occurred()) SWIG_fail
; 
3644         if (!wxPyCheckForApp()) SWIG_fail
; 
3645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3646         result 
= wxGetTextFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
); 
3648         wxPyEndAllowThreads(__tstate
); 
3649         if (PyErr_Occurred()) SWIG_fail
; 
3653         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3655         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3688 static PyObject 
*_wrap_GetPasswordFromUser(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3689     PyObject 
*resultobj
; 
3690     wxString 
*arg1 
= 0 ; 
3691     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3692     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3693     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3694     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3695     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3697     bool temp1 
= False 
; 
3698     bool temp2 
= False 
; 
3699     bool temp3 
= False 
; 
3700     PyObject 
* obj0 
= 0 ; 
3701     PyObject 
* obj1 
= 0 ; 
3702     PyObject 
* obj2 
= 0 ; 
3703     PyObject 
* obj3 
= 0 ; 
3705         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL 
 
3708     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3710         arg1 
= wxString_in_helper(obj0
); 
3711         if (arg1 
== NULL
) SWIG_fail
; 
3716             arg2 
= wxString_in_helper(obj1
); 
3717             if (arg2 
== NULL
) SWIG_fail
; 
3723             arg3 
= wxString_in_helper(obj2
); 
3724             if (arg3 
== NULL
) SWIG_fail
; 
3729         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3730         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3733         if (!wxPyCheckForApp()) SWIG_fail
; 
3734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3735         result 
= wxGetPasswordFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3737         wxPyEndAllowThreads(__tstate
); 
3738         if (PyErr_Occurred()) SWIG_fail
; 
3742         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3744         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3777 static PyObject 
*_wrap_GetSingleChoice(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3778     PyObject 
*resultobj
; 
3779     wxString 
*arg1 
= 0 ; 
3780     wxString 
*arg2 
= 0 ; 
3782     wxString 
*arg4 
= (wxString 
*) 0 ; 
3783     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3784     int arg6 
= (int) -1 ; 
3785     int arg7 
= (int) -1 ; 
3786     bool arg8 
= (bool) True 
; 
3787     int arg9 
= (int) 150 ; 
3788     int arg10 
= (int) 200 ; 
3790     bool temp1 
= False 
; 
3791     bool temp2 
= False 
; 
3792     PyObject 
* obj0 
= 0 ; 
3793     PyObject 
* obj1 
= 0 ; 
3794     PyObject 
* obj2 
= 0 ; 
3795     PyObject 
* obj3 
= 0 ; 
3796     PyObject 
* obj4 
= 0 ; 
3797     PyObject 
* obj5 
= 0 ; 
3798     PyObject 
* obj6 
= 0 ; 
3799     PyObject 
* obj7 
= 0 ; 
3800     PyObject 
* obj8 
= 0 ; 
3802         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3807         arg1 
= wxString_in_helper(obj0
); 
3808         if (arg1 
== NULL
) SWIG_fail
; 
3812         arg2 
= wxString_in_helper(obj1
); 
3813         if (arg2 
== NULL
) SWIG_fail
; 
3817         arg3 
= PyList_Size(obj2
); 
3818         arg4 
= wxString_LIST_helper(obj2
); 
3819         if (arg4 
== NULL
) SWIG_fail
; 
3822         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3823         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3826         arg6 
= (int)SWIG_As_int(obj4
);  
3827         if (PyErr_Occurred()) SWIG_fail
; 
3830         arg7 
= (int)SWIG_As_int(obj5
);  
3831         if (PyErr_Occurred()) SWIG_fail
; 
3834         arg8 
= (bool)SWIG_As_bool(obj6
);  
3835         if (PyErr_Occurred()) SWIG_fail
; 
3838         arg9 
= (int)SWIG_As_int(obj7
);  
3839         if (PyErr_Occurred()) SWIG_fail
; 
3842         arg10 
= (int)SWIG_As_int(obj8
);  
3843         if (PyErr_Occurred()) SWIG_fail
; 
3846         if (!wxPyCheckForApp()) SWIG_fail
; 
3847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3848         result 
= wxGetSingleChoice((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3850         wxPyEndAllowThreads(__tstate
); 
3851         if (PyErr_Occurred()) SWIG_fail
; 
3855         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3857         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3869         if (arg4
) delete [] arg4
; 
3882         if (arg4
) delete [] arg4
; 
3888 static PyObject 
*_wrap_GetSingleChoiceIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3889     PyObject 
*resultobj
; 
3890     wxString 
*arg1 
= 0 ; 
3891     wxString 
*arg2 
= 0 ; 
3893     wxString 
*arg4 
= (wxString 
*) 0 ; 
3894     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3895     int arg6 
= (int) -1 ; 
3896     int arg7 
= (int) -1 ; 
3897     bool arg8 
= (bool) True 
; 
3898     int arg9 
= (int) 150 ; 
3899     int arg10 
= (int) 200 ; 
3901     bool temp1 
= False 
; 
3902     bool temp2 
= False 
; 
3903     PyObject 
* obj0 
= 0 ; 
3904     PyObject 
* obj1 
= 0 ; 
3905     PyObject 
* obj2 
= 0 ; 
3906     PyObject 
* obj3 
= 0 ; 
3907     PyObject 
* obj4 
= 0 ; 
3908     PyObject 
* obj5 
= 0 ; 
3909     PyObject 
* obj6 
= 0 ; 
3910     PyObject 
* obj7 
= 0 ; 
3911     PyObject 
* obj8 
= 0 ; 
3913         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3918         arg1 
= wxString_in_helper(obj0
); 
3919         if (arg1 
== NULL
) SWIG_fail
; 
3923         arg2 
= wxString_in_helper(obj1
); 
3924         if (arg2 
== NULL
) SWIG_fail
; 
3928         arg3 
= PyList_Size(obj2
); 
3929         arg4 
= wxString_LIST_helper(obj2
); 
3930         if (arg4 
== NULL
) SWIG_fail
; 
3933         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3934         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3937         arg6 
= (int)SWIG_As_int(obj4
);  
3938         if (PyErr_Occurred()) SWIG_fail
; 
3941         arg7 
= (int)SWIG_As_int(obj5
);  
3942         if (PyErr_Occurred()) SWIG_fail
; 
3945         arg8 
= (bool)SWIG_As_bool(obj6
);  
3946         if (PyErr_Occurred()) SWIG_fail
; 
3949         arg9 
= (int)SWIG_As_int(obj7
);  
3950         if (PyErr_Occurred()) SWIG_fail
; 
3953         arg10 
= (int)SWIG_As_int(obj8
);  
3954         if (PyErr_Occurred()) SWIG_fail
; 
3957         if (!wxPyCheckForApp()) SWIG_fail
; 
3958         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3959         result 
= (int)wxGetSingleChoiceIndex((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3961         wxPyEndAllowThreads(__tstate
); 
3962         if (PyErr_Occurred()) SWIG_fail
; 
3964     resultobj 
= SWIG_From_int((int)result
); 
3974         if (arg4
) delete [] arg4
; 
3987         if (arg4
) delete [] arg4
; 
3993 static PyObject 
*_wrap_MessageBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3994     PyObject 
*resultobj
; 
3995     wxString 
*arg1 
= 0 ; 
3996     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3997     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3998     int arg3 
= (int) wxOK
|wxCENTRE 
; 
3999     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
4000     int arg5 
= (int) -1 ; 
4001     int arg6 
= (int) -1 ; 
4003     bool temp1 
= False 
; 
4004     bool temp2 
= False 
; 
4005     PyObject 
* obj0 
= 0 ; 
4006     PyObject 
* obj1 
= 0 ; 
4007     PyObject 
* obj2 
= 0 ; 
4008     PyObject 
* obj3 
= 0 ; 
4009     PyObject 
* obj4 
= 0 ; 
4010     PyObject 
* obj5 
= 0 ; 
4012         (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
4015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
4017         arg1 
= wxString_in_helper(obj0
); 
4018         if (arg1 
== NULL
) SWIG_fail
; 
4023             arg2 
= wxString_in_helper(obj1
); 
4024             if (arg2 
== NULL
) SWIG_fail
; 
4029         arg3 
= (int)SWIG_As_int(obj2
);  
4030         if (PyErr_Occurred()) SWIG_fail
; 
4033         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
4034         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4037         arg5 
= (int)SWIG_As_int(obj4
);  
4038         if (PyErr_Occurred()) SWIG_fail
; 
4041         arg6 
= (int)SWIG_As_int(obj5
);  
4042         if (PyErr_Occurred()) SWIG_fail
; 
4045         if (!wxPyCheckForApp()) SWIG_fail
; 
4046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4047         result 
= (int)wxMessageBox((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
4049         wxPyEndAllowThreads(__tstate
); 
4050         if (PyErr_Occurred()) SWIG_fail
; 
4052     resultobj 
= SWIG_From_int((int)result
); 
4075 static PyObject 
*_wrap_GetNumberFromUser(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4076     PyObject 
*resultobj
; 
4077     wxString 
*arg1 
= 0 ; 
4078     wxString 
*arg2 
= 0 ; 
4079     wxString 
*arg3 
= 0 ; 
4081     long arg5 
= (long) 0 ; 
4082     long arg6 
= (long) 100 ; 
4083     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
4084     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
4085     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
4087     bool temp1 
= False 
; 
4088     bool temp2 
= False 
; 
4089     bool temp3 
= False 
; 
4091     PyObject 
* obj0 
= 0 ; 
4092     PyObject 
* obj1 
= 0 ; 
4093     PyObject 
* obj2 
= 0 ; 
4094     PyObject 
* obj3 
= 0 ; 
4095     PyObject 
* obj4 
= 0 ; 
4096     PyObject 
* obj5 
= 0 ; 
4097     PyObject 
* obj6 
= 0 ; 
4098     PyObject 
* obj7 
= 0 ; 
4100         (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL 
 
4103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
4105         arg1 
= wxString_in_helper(obj0
); 
4106         if (arg1 
== NULL
) SWIG_fail
; 
4110         arg2 
= wxString_in_helper(obj1
); 
4111         if (arg2 
== NULL
) SWIG_fail
; 
4115         arg3 
= wxString_in_helper(obj2
); 
4116         if (arg3 
== NULL
) SWIG_fail
; 
4119     arg4 
= (long)SWIG_As_long(obj3
);  
4120     if (PyErr_Occurred()) SWIG_fail
; 
4122         arg5 
= (long)SWIG_As_long(obj4
);  
4123         if (PyErr_Occurred()) SWIG_fail
; 
4126         arg6 
= (long)SWIG_As_long(obj5
);  
4127         if (PyErr_Occurred()) SWIG_fail
; 
4130         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
4131         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4136             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
4140         if (!wxPyCheckForApp()) SWIG_fail
; 
4141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4142         result 
= (long)wxGetNumberFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
4144         wxPyEndAllowThreads(__tstate
); 
4145         if (PyErr_Occurred()) SWIG_fail
; 
4147     resultobj 
= SWIG_From_long((long)result
); 
4178 static PyObject 
*_wrap_ColourDisplay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4179     PyObject 
*resultobj
; 
4185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
; 
4187         if (!wxPyCheckForApp()) SWIG_fail
; 
4188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4189         result 
= (bool)wxColourDisplay(); 
4191         wxPyEndAllowThreads(__tstate
); 
4192         if (PyErr_Occurred()) SWIG_fail
; 
4195         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4203 static PyObject 
*_wrap_DisplayDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4204     PyObject 
*resultobj
; 
4210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
; 
4212         if (!wxPyCheckForApp()) SWIG_fail
; 
4213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4214         result 
= (int)wxDisplayDepth(); 
4216         wxPyEndAllowThreads(__tstate
); 
4217         if (PyErr_Occurred()) SWIG_fail
; 
4219     resultobj 
= SWIG_From_int((int)result
); 
4226 static PyObject 
*_wrap_GetDisplayDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4227     PyObject 
*resultobj
; 
4233     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
; 
4235         if (!wxPyCheckForApp()) SWIG_fail
; 
4236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4237         result 
= (int)wxGetDisplayDepth(); 
4239         wxPyEndAllowThreads(__tstate
); 
4240         if (PyErr_Occurred()) SWIG_fail
; 
4242     resultobj 
= SWIG_From_int((int)result
); 
4249 static PyObject 
*_wrap_DisplaySize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4250     PyObject 
*resultobj
; 
4251     int *arg1 
= (int *) 0 ; 
4252     int *arg2 
= (int *) 0 ; 
4261     arg1 
= &temp1
; res1 
= SWIG_NEWOBJ
; 
4262     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
4263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
; 
4265         if (!wxPyCheckForApp()) SWIG_fail
; 
4266         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4267         wxDisplaySize(arg1
,arg2
); 
4269         wxPyEndAllowThreads(__tstate
); 
4270         if (PyErr_Occurred()) SWIG_fail
; 
4272     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4273     resultobj 
= t_output_helper(resultobj
, ((res1 
== SWIG_NEWOBJ
) ? 
4274     SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0))); 
4275     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
4276     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
4283 static PyObject 
*_wrap_GetDisplaySize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4284     PyObject 
*resultobj
; 
4290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
; 
4292         if (!wxPyCheckForApp()) SWIG_fail
; 
4293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4294         result 
= wxGetDisplaySize(); 
4296         wxPyEndAllowThreads(__tstate
); 
4297         if (PyErr_Occurred()) SWIG_fail
; 
4301         resultptr 
= new wxSize((wxSize 
&) result
); 
4302         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4310 static PyObject 
*_wrap_DisplaySizeMM(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4311     PyObject 
*resultobj
; 
4312     int *arg1 
= (int *) 0 ; 
4313     int *arg2 
= (int *) 0 ; 
4322     arg1 
= &temp1
; res1 
= SWIG_NEWOBJ
; 
4323     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
4324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
; 
4326         if (!wxPyCheckForApp()) SWIG_fail
; 
4327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4328         wxDisplaySizeMM(arg1
,arg2
); 
4330         wxPyEndAllowThreads(__tstate
); 
4331         if (PyErr_Occurred()) SWIG_fail
; 
4333     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4334     resultobj 
= t_output_helper(resultobj
, ((res1 
== SWIG_NEWOBJ
) ? 
4335     SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0))); 
4336     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
4337     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
4344 static PyObject 
*_wrap_GetDisplaySizeMM(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4345     PyObject 
*resultobj
; 
4351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
; 
4353         if (!wxPyCheckForApp()) SWIG_fail
; 
4354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4355         result 
= wxGetDisplaySizeMM(); 
4357         wxPyEndAllowThreads(__tstate
); 
4358         if (PyErr_Occurred()) SWIG_fail
; 
4362         resultptr 
= new wxSize((wxSize 
&) result
); 
4363         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4371 static PyObject 
*_wrap_ClientDisplayRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4372     PyObject 
*resultobj
; 
4373     int *arg1 
= (int *) 0 ; 
4374     int *arg2 
= (int *) 0 ; 
4375     int *arg3 
= (int *) 0 ; 
4376     int *arg4 
= (int *) 0 ; 
4389     arg1 
= &temp1
; res1 
= SWIG_NEWOBJ
; 
4390     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
4391     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
4392     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
4393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
; 
4395         if (!wxPyCheckForApp()) SWIG_fail
; 
4396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4397         wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
); 
4399         wxPyEndAllowThreads(__tstate
); 
4400         if (PyErr_Occurred()) SWIG_fail
; 
4402     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4403     resultobj 
= t_output_helper(resultobj
, ((res1 
== SWIG_NEWOBJ
) ? 
4404     SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0))); 
4405     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
4406     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
4407     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
4408     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
4409     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
4410     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
4417 static PyObject 
*_wrap_GetClientDisplayRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4418     PyObject 
*resultobj
; 
4424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
; 
4426         if (!wxPyCheckForApp()) SWIG_fail
; 
4427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4428         result 
= wxGetClientDisplayRect(); 
4430         wxPyEndAllowThreads(__tstate
); 
4431         if (PyErr_Occurred()) SWIG_fail
; 
4435         resultptr 
= new wxRect((wxRect 
&) result
); 
4436         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
4444 static PyObject 
*_wrap_SetCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4445     PyObject 
*resultobj
; 
4446     wxCursor 
*arg1 
= 0 ; 
4447     PyObject 
* obj0 
= 0 ; 
4449         (char *) "cursor", NULL 
 
4452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
; 
4453     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4454     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4457         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4461         if (!wxPyCheckForApp()) SWIG_fail
; 
4462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4465         wxPyEndAllowThreads(__tstate
); 
4466         if (PyErr_Occurred()) SWIG_fail
; 
4468     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4475 static PyObject 
*_wrap_BeginBusyCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4476     PyObject 
*resultobj
; 
4477     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
4478     PyObject 
* obj0 
= 0 ; 
4480         (char *) "cursor", NULL 
 
4483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
; 
4485         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4486         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4489         if (!wxPyCheckForApp()) SWIG_fail
; 
4490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4491         wxBeginBusyCursor(arg1
); 
4493         wxPyEndAllowThreads(__tstate
); 
4494         if (PyErr_Occurred()) SWIG_fail
; 
4496     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4503 static PyObject 
*_wrap_GetActiveWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4504     PyObject 
*resultobj
; 
4510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
; 
4512         if (!wxPyCheckForApp()) SWIG_fail
; 
4513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4514         result 
= (wxWindow 
*)wxGetActiveWindow(); 
4516         wxPyEndAllowThreads(__tstate
); 
4517         if (PyErr_Occurred()) SWIG_fail
; 
4520         resultobj 
= wxPyMake_wxObject(result
, 0);  
4528 static PyObject 
*_wrap_GenericFindWindowAtPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4529     PyObject 
*resultobj
; 
4533     PyObject 
* obj0 
= 0 ; 
4538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4541         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4544         if (!wxPyCheckForApp()) SWIG_fail
; 
4545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4546         result 
= (wxWindow 
*)wxGenericFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4548         wxPyEndAllowThreads(__tstate
); 
4549         if (PyErr_Occurred()) SWIG_fail
; 
4552         resultobj 
= wxPyMake_wxObject(result
, 0);  
4560 static PyObject 
*_wrap_FindWindowAtPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4561     PyObject 
*resultobj
; 
4565     PyObject 
* obj0 
= 0 ; 
4570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4573         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4576         if (!wxPyCheckForApp()) SWIG_fail
; 
4577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4578         result 
= (wxWindow 
*)wxFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4580         wxPyEndAllowThreads(__tstate
); 
4581         if (PyErr_Occurred()) SWIG_fail
; 
4584         resultobj 
= wxPyMake_wxObject(result
, 0);  
4592 static PyObject 
*_wrap_GetTopLevelParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4593     PyObject 
*resultobj
; 
4594     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4596     PyObject 
* obj0 
= 0 ; 
4598         (char *) "win", NULL 
 
4601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
; 
4602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4605         if (!wxPyCheckForApp()) SWIG_fail
; 
4606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4607         result 
= (wxWindow 
*)wxGetTopLevelParent(arg1
); 
4609         wxPyEndAllowThreads(__tstate
); 
4610         if (PyErr_Occurred()) SWIG_fail
; 
4613         resultobj 
= wxPyMake_wxObject(result
, 0);  
4621 static PyObject 
*_wrap_GetKeyState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4622     PyObject 
*resultobj
; 
4625     PyObject 
* obj0 
= 0 ; 
4627         (char *) "key", NULL 
 
4630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
; 
4631     arg1 
= (int)SWIG_As_int(obj0
);  
4632     if (PyErr_Occurred()) SWIG_fail
; 
4634         if (!wxPyCheckForApp()) SWIG_fail
; 
4635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4636         result 
= (bool)wxGetKeyState((wxKeyCode 
)arg1
); 
4638         wxPyEndAllowThreads(__tstate
); 
4639         if (PyErr_Occurred()) SWIG_fail
; 
4642         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4650 static PyObject 
*_wrap_WakeUpMainThread(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4651     PyObject 
*resultobj
; 
4656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
; 
4658         if (!wxPyCheckForApp()) SWIG_fail
; 
4659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4660         wxWakeUpMainThread(); 
4662         wxPyEndAllowThreads(__tstate
); 
4663         if (PyErr_Occurred()) SWIG_fail
; 
4665     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4672 static PyObject 
*_wrap_MutexGuiEnter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4673     PyObject 
*resultobj
; 
4678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
; 
4680         if (!wxPyCheckForApp()) SWIG_fail
; 
4681         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4684         wxPyEndAllowThreads(__tstate
); 
4685         if (PyErr_Occurred()) SWIG_fail
; 
4687     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4694 static PyObject 
*_wrap_MutexGuiLeave(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4695     PyObject 
*resultobj
; 
4700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
; 
4702         if (!wxPyCheckForApp()) SWIG_fail
; 
4703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4706         wxPyEndAllowThreads(__tstate
); 
4707         if (PyErr_Occurred()) SWIG_fail
; 
4709     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4716 static PyObject 
*_wrap_new_MutexGuiLocker(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4717     PyObject 
*resultobj
; 
4718     wxMutexGuiLocker 
*result
; 
4723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
; 
4725         if (!wxPyCheckForApp()) SWIG_fail
; 
4726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4727         result 
= (wxMutexGuiLocker 
*)new wxMutexGuiLocker(); 
4729         wxPyEndAllowThreads(__tstate
); 
4730         if (PyErr_Occurred()) SWIG_fail
; 
4732     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1); 
4739 static PyObject 
*_wrap_delete_MutexGuiLocker(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4740     PyObject 
*resultobj
; 
4741     wxMutexGuiLocker 
*arg1 
= (wxMutexGuiLocker 
*) 0 ; 
4742     PyObject 
* obj0 
= 0 ; 
4744         (char *) "self", NULL 
 
4747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
; 
4748     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
, 
4749     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4754         wxPyEndAllowThreads(__tstate
); 
4755         if (PyErr_Occurred()) SWIG_fail
; 
4757     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4764 static PyObject 
* MutexGuiLocker_swigregister(PyObject 
*, PyObject 
*args
) { 
4766     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4767     SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
); 
4769     return Py_BuildValue((char *)""); 
4771 static PyObject 
*_wrap_Thread_IsMain(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4772     PyObject 
*resultobj
; 
4778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
; 
4780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4781         result 
= (bool)wxThread_IsMain(); 
4783         wxPyEndAllowThreads(__tstate
); 
4784         if (PyErr_Occurred()) SWIG_fail
; 
4787         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4795 static PyObject 
*_wrap_new_ToolTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4796     PyObject 
*resultobj
; 
4797     wxString 
*arg1 
= 0 ; 
4799     bool temp1 
= False 
; 
4800     PyObject 
* obj0 
= 0 ; 
4802         (char *) "tip", NULL 
 
4805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
; 
4807         arg1 
= wxString_in_helper(obj0
); 
4808         if (arg1 
== NULL
) SWIG_fail
; 
4812         if (!wxPyCheckForApp()) SWIG_fail
; 
4813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4814         result 
= (wxToolTip 
*)new wxToolTip((wxString 
const &)*arg1
); 
4816         wxPyEndAllowThreads(__tstate
); 
4817         if (PyErr_Occurred()) SWIG_fail
; 
4820         resultobj 
= wxPyMake_wxObject(result
, 1);  
4836 static PyObject 
*_wrap_ToolTip_SetTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4837     PyObject 
*resultobj
; 
4838     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4839     wxString 
*arg2 
= 0 ; 
4840     bool temp2 
= False 
; 
4841     PyObject 
* obj0 
= 0 ; 
4842     PyObject 
* obj1 
= 0 ; 
4844         (char *) "self",(char *) "tip", NULL 
 
4847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
4848     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4849     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4851         arg2 
= wxString_in_helper(obj1
); 
4852         if (arg2 
== NULL
) SWIG_fail
; 
4856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4857         (arg1
)->SetTip((wxString 
const &)*arg2
); 
4859         wxPyEndAllowThreads(__tstate
); 
4860         if (PyErr_Occurred()) SWIG_fail
; 
4862     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4877 static PyObject 
*_wrap_ToolTip_GetTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4878     PyObject 
*resultobj
; 
4879     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4881     PyObject 
* obj0 
= 0 ; 
4883         (char *) "self", NULL 
 
4886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
; 
4887     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4888     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4891         result 
= (arg1
)->GetTip(); 
4893         wxPyEndAllowThreads(__tstate
); 
4894         if (PyErr_Occurred()) SWIG_fail
; 
4898         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4900         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4909 static PyObject 
*_wrap_ToolTip_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4910     PyObject 
*resultobj
; 
4911     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4913     PyObject 
* obj0 
= 0 ; 
4915         (char *) "self", NULL 
 
4918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
; 
4919     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4920     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4922         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4923         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
4925         wxPyEndAllowThreads(__tstate
); 
4926         if (PyErr_Occurred()) SWIG_fail
; 
4929         resultobj 
= wxPyMake_wxObject(result
, 0);  
4937 static PyObject 
*_wrap_ToolTip_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4938     PyObject 
*resultobj
; 
4940     PyObject 
* obj0 
= 0 ; 
4942         (char *) "flag", NULL 
 
4945     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
; 
4946     arg1 
= (bool)SWIG_As_bool(obj0
);  
4947     if (PyErr_Occurred()) SWIG_fail
; 
4949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4950         wxToolTip::Enable(arg1
); 
4952         wxPyEndAllowThreads(__tstate
); 
4953         if (PyErr_Occurred()) SWIG_fail
; 
4955     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4962 static PyObject 
*_wrap_ToolTip_SetDelay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4963     PyObject 
*resultobj
; 
4965     PyObject 
* obj0 
= 0 ; 
4967         (char *) "milliseconds", NULL 
 
4970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
; 
4971     arg1 
= (long)SWIG_As_long(obj0
);  
4972     if (PyErr_Occurred()) SWIG_fail
; 
4974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4975         wxToolTip::SetDelay(arg1
); 
4977         wxPyEndAllowThreads(__tstate
); 
4978         if (PyErr_Occurred()) SWIG_fail
; 
4980     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4987 static PyObject 
* ToolTip_swigregister(PyObject 
*, PyObject 
*args
) { 
4989     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4990     SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
); 
4992     return Py_BuildValue((char *)""); 
4994 static PyObject 
*_wrap_new_Caret(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4995     PyObject 
*resultobj
; 
4996     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5000     PyObject 
* obj0 
= 0 ; 
5001     PyObject 
* obj1 
= 0 ; 
5003         (char *) "window",(char *) "size", NULL 
 
5006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
; 
5007     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5008     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5011         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5014         if (!wxPyCheckForApp()) SWIG_fail
; 
5015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5016         result 
= (wxCaret 
*)new wxCaret(arg1
,(wxSize 
const &)*arg2
); 
5018         wxPyEndAllowThreads(__tstate
); 
5019         if (PyErr_Occurred()) SWIG_fail
; 
5021     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1); 
5028 static PyObject 
*_wrap_delete_Caret(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5029     PyObject 
*resultobj
; 
5030     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5031     PyObject 
* obj0 
= 0 ; 
5033         (char *) "self", NULL 
 
5036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
; 
5037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5043         wxPyEndAllowThreads(__tstate
); 
5044         if (PyErr_Occurred()) SWIG_fail
; 
5046     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5053 static PyObject 
*_wrap_Caret_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5054     PyObject 
*resultobj
; 
5055     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5057     PyObject 
* obj0 
= 0 ; 
5059         (char *) "self", NULL 
 
5062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
; 
5063     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5064     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5067         result 
= (bool)(arg1
)->IsOk(); 
5069         wxPyEndAllowThreads(__tstate
); 
5070         if (PyErr_Occurred()) SWIG_fail
; 
5073         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5081 static PyObject 
*_wrap_Caret_IsVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5082     PyObject 
*resultobj
; 
5083     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5085     PyObject 
* obj0 
= 0 ; 
5087         (char *) "self", NULL 
 
5090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
; 
5091     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5094         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5095         result 
= (bool)(arg1
)->IsVisible(); 
5097         wxPyEndAllowThreads(__tstate
); 
5098         if (PyErr_Occurred()) SWIG_fail
; 
5101         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5109 static PyObject 
*_wrap_Caret_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5110     PyObject 
*resultobj
; 
5111     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5113     PyObject 
* obj0 
= 0 ; 
5115         (char *) "self", NULL 
 
5118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
; 
5119     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5120     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5123         result 
= (arg1
)->GetPosition(); 
5125         wxPyEndAllowThreads(__tstate
); 
5126         if (PyErr_Occurred()) SWIG_fail
; 
5129         wxPoint 
* resultptr
; 
5130         resultptr 
= new wxPoint((wxPoint 
&) result
); 
5131         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
5139 static PyObject 
*_wrap_Caret_GetPositionTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5140     PyObject 
*resultobj
; 
5141     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5142     int *arg2 
= (int *) 0 ; 
5143     int *arg3 
= (int *) 0 ; 
5148     PyObject 
* obj0 
= 0 ; 
5150         (char *) "self", NULL 
 
5153     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
5154     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
5155     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
; 
5156     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5157     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5160         (arg1
)->GetPosition(arg2
,arg3
); 
5162         wxPyEndAllowThreads(__tstate
); 
5163         if (PyErr_Occurred()) SWIG_fail
; 
5165     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5166     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
5167     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
5168     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
5169     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
5176 static PyObject 
*_wrap_Caret_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5177     PyObject 
*resultobj
; 
5178     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5180     PyObject 
* obj0 
= 0 ; 
5182         (char *) "self", NULL 
 
5185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
; 
5186     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5190         result 
= (arg1
)->GetSize(); 
5192         wxPyEndAllowThreads(__tstate
); 
5193         if (PyErr_Occurred()) SWIG_fail
; 
5197         resultptr 
= new wxSize((wxSize 
&) result
); 
5198         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
5206 static PyObject 
*_wrap_Caret_GetSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5207     PyObject 
*resultobj
; 
5208     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5209     int *arg2 
= (int *) 0 ; 
5210     int *arg3 
= (int *) 0 ; 
5215     PyObject 
* obj0 
= 0 ; 
5217         (char *) "self", NULL 
 
5220     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
5221     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
5222     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
5223     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5224     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5226         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5227         (arg1
)->GetSize(arg2
,arg3
); 
5229         wxPyEndAllowThreads(__tstate
); 
5230         if (PyErr_Occurred()) SWIG_fail
; 
5232     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5233     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
5234     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
5235     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
5236     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
5243 static PyObject 
*_wrap_Caret_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5244     PyObject 
*resultobj
; 
5245     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5247     PyObject 
* obj0 
= 0 ; 
5249         (char *) "self", NULL 
 
5252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
; 
5253     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5254     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5257         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
5259         wxPyEndAllowThreads(__tstate
); 
5260         if (PyErr_Occurred()) SWIG_fail
; 
5263         resultobj 
= wxPyMake_wxObject(result
, 0);  
5271 static PyObject 
*_wrap_Caret_MoveXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5272     PyObject 
*resultobj
; 
5273     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5276     PyObject 
* obj0 
= 0 ; 
5277     PyObject 
* obj1 
= 0 ; 
5278     PyObject 
* obj2 
= 0 ; 
5280         (char *) "self",(char *) "x",(char *) "y", NULL 
 
5283     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5284     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5285     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5286     arg2 
= (int)SWIG_As_int(obj1
);  
5287     if (PyErr_Occurred()) SWIG_fail
; 
5288     arg3 
= (int)SWIG_As_int(obj2
);  
5289     if (PyErr_Occurred()) SWIG_fail
; 
5291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5292         (arg1
)->Move(arg2
,arg3
); 
5294         wxPyEndAllowThreads(__tstate
); 
5295         if (PyErr_Occurred()) SWIG_fail
; 
5297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5304 static PyObject 
*_wrap_Caret_Move(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5305     PyObject 
*resultobj
; 
5306     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5309     PyObject 
* obj0 
= 0 ; 
5310     PyObject 
* obj1 
= 0 ; 
5312         (char *) "self",(char *) "pt", NULL 
 
5315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
; 
5316     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5317     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5320         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5324         (arg1
)->Move((wxPoint 
const &)*arg2
); 
5326         wxPyEndAllowThreads(__tstate
); 
5327         if (PyErr_Occurred()) SWIG_fail
; 
5329     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5336 static PyObject 
*_wrap_Caret_SetSizeWH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5337     PyObject 
*resultobj
; 
5338     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5341     PyObject 
* obj0 
= 0 ; 
5342     PyObject 
* obj1 
= 0 ; 
5343     PyObject 
* obj2 
= 0 ; 
5345         (char *) "self",(char *) "width",(char *) "height", NULL 
 
5348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5351     arg2 
= (int)SWIG_As_int(obj1
);  
5352     if (PyErr_Occurred()) SWIG_fail
; 
5353     arg3 
= (int)SWIG_As_int(obj2
);  
5354     if (PyErr_Occurred()) SWIG_fail
; 
5356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5357         (arg1
)->SetSize(arg2
,arg3
); 
5359         wxPyEndAllowThreads(__tstate
); 
5360         if (PyErr_Occurred()) SWIG_fail
; 
5362     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5369 static PyObject 
*_wrap_Caret_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5370     PyObject 
*resultobj
; 
5371     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5374     PyObject 
* obj0 
= 0 ; 
5375     PyObject 
* obj1 
= 0 ; 
5377         (char *) "self",(char *) "size", NULL 
 
5380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5381     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5382     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5385         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5389         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
5391         wxPyEndAllowThreads(__tstate
); 
5392         if (PyErr_Occurred()) SWIG_fail
; 
5394     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5401 static PyObject 
*_wrap_Caret_Show(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5402     PyObject 
*resultobj
; 
5403     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5404     int arg2 
= (int) True 
; 
5405     PyObject 
* obj0 
= 0 ; 
5406     PyObject 
* obj1 
= 0 ; 
5408         (char *) "self",(char *) "show", NULL 
 
5411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
5412     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5415         arg2 
= (int)SWIG_As_int(obj1
);  
5416         if (PyErr_Occurred()) SWIG_fail
; 
5419         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5422         wxPyEndAllowThreads(__tstate
); 
5423         if (PyErr_Occurred()) SWIG_fail
; 
5425     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5432 static PyObject 
*_wrap_Caret_Hide(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5433     PyObject 
*resultobj
; 
5434     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5435     PyObject 
* obj0 
= 0 ; 
5437         (char *) "self", NULL 
 
5440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
; 
5441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5447         wxPyEndAllowThreads(__tstate
); 
5448         if (PyErr_Occurred()) SWIG_fail
; 
5450     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5457 static PyObject 
* Caret_swigregister(PyObject 
*, PyObject 
*args
) { 
5459     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5460     SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
); 
5462     return Py_BuildValue((char *)""); 
5464 static PyObject 
*_wrap_Caret_GetBlinkTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5465     PyObject 
*resultobj
; 
5471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
; 
5473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5474         result 
= (int)wxCaret_GetBlinkTime(); 
5476         wxPyEndAllowThreads(__tstate
); 
5477         if (PyErr_Occurred()) SWIG_fail
; 
5479     resultobj 
= SWIG_From_int((int)result
); 
5486 static PyObject 
*_wrap_Caret_SetBlinkTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5487     PyObject 
*resultobj
; 
5489     PyObject 
* obj0 
= 0 ; 
5491         (char *) "milliseconds", NULL 
 
5494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
; 
5495     arg1 
= (int)SWIG_As_int(obj0
);  
5496     if (PyErr_Occurred()) SWIG_fail
; 
5498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5499         wxCaret_SetBlinkTime(arg1
); 
5501         wxPyEndAllowThreads(__tstate
); 
5502         if (PyErr_Occurred()) SWIG_fail
; 
5504     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5511 static PyObject 
*_wrap_new_BusyCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5512     PyObject 
*resultobj
; 
5513     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
5514     wxBusyCursor 
*result
; 
5515     PyObject 
* obj0 
= 0 ; 
5517         (char *) "cursor", NULL 
 
5520     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5522         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5523         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5526         if (!wxPyCheckForApp()) SWIG_fail
; 
5527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5528         result 
= (wxBusyCursor 
*)new wxBusyCursor(arg1
); 
5530         wxPyEndAllowThreads(__tstate
); 
5531         if (PyErr_Occurred()) SWIG_fail
; 
5533     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1); 
5540 static PyObject 
*_wrap_delete_BusyCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5541     PyObject 
*resultobj
; 
5542     wxBusyCursor 
*arg1 
= (wxBusyCursor 
*) 0 ; 
5543     PyObject 
* obj0 
= 0 ; 
5545         (char *) "self", NULL 
 
5548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5549     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
, 
5550     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5552         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5555         wxPyEndAllowThreads(__tstate
); 
5556         if (PyErr_Occurred()) SWIG_fail
; 
5558     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5565 static PyObject 
* BusyCursor_swigregister(PyObject 
*, PyObject 
*args
) { 
5567     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5568     SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
); 
5570     return Py_BuildValue((char *)""); 
5572 static PyObject 
*_wrap_new_WindowDisabler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5573     PyObject 
*resultobj
; 
5574     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
5575     wxWindowDisabler 
*result
; 
5576     PyObject 
* obj0 
= 0 ; 
5578         (char *) "winToSkip", NULL 
 
5581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5583         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5584         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5587         if (!wxPyCheckForApp()) SWIG_fail
; 
5588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5589         result 
= (wxWindowDisabler 
*)new wxWindowDisabler(arg1
); 
5591         wxPyEndAllowThreads(__tstate
); 
5592         if (PyErr_Occurred()) SWIG_fail
; 
5594     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1); 
5601 static PyObject 
*_wrap_delete_WindowDisabler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5602     PyObject 
*resultobj
; 
5603     wxWindowDisabler 
*arg1 
= (wxWindowDisabler 
*) 0 ; 
5604     PyObject 
* obj0 
= 0 ; 
5606         (char *) "self", NULL 
 
5609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5610     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
, 
5611     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5616         wxPyEndAllowThreads(__tstate
); 
5617         if (PyErr_Occurred()) SWIG_fail
; 
5619     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5626 static PyObject 
* WindowDisabler_swigregister(PyObject 
*, PyObject 
*args
) { 
5628     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5629     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
); 
5631     return Py_BuildValue((char *)""); 
5633 static PyObject 
*_wrap_new_BusyInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5634     PyObject 
*resultobj
; 
5635     wxString 
*arg1 
= 0 ; 
5637     bool temp1 
= False 
; 
5638     PyObject 
* obj0 
= 0 ; 
5640         (char *) "message", NULL 
 
5643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5645         arg1 
= wxString_in_helper(obj0
); 
5646         if (arg1 
== NULL
) SWIG_fail
; 
5650         if (!wxPyCheckForApp()) SWIG_fail
; 
5651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5652         result 
= (wxBusyInfo 
*)new wxBusyInfo((wxString 
const &)*arg1
); 
5654         wxPyEndAllowThreads(__tstate
); 
5655         if (PyErr_Occurred()) SWIG_fail
; 
5657     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1); 
5672 static PyObject 
*_wrap_delete_BusyInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5673     PyObject 
*resultobj
; 
5674     wxBusyInfo 
*arg1 
= (wxBusyInfo 
*) 0 ; 
5675     PyObject 
* obj0 
= 0 ; 
5677         (char *) "self", NULL 
 
5680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
, 
5682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5687         wxPyEndAllowThreads(__tstate
); 
5688         if (PyErr_Occurred()) SWIG_fail
; 
5690     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5697 static PyObject 
* BusyInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
5699     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5700     SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
); 
5702     return Py_BuildValue((char *)""); 
5704 static PyObject 
*_wrap_new_StopWatch(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5705     PyObject 
*resultobj
; 
5706     wxStopWatch 
*result
; 
5711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
; 
5713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5714         result 
= (wxStopWatch 
*)new wxStopWatch(); 
5716         wxPyEndAllowThreads(__tstate
); 
5717         if (PyErr_Occurred()) SWIG_fail
; 
5719     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1); 
5726 static PyObject 
*_wrap_StopWatch_Start(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5727     PyObject 
*resultobj
; 
5728     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5729     long arg2 
= (long) 0 ; 
5730     PyObject 
* obj0 
= 0 ; 
5731     PyObject 
* obj1 
= 0 ; 
5733         (char *) "self",(char *) "t0", NULL 
 
5736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
; 
5737     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5738     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5740         arg2 
= (long)SWIG_As_long(obj1
);  
5741         if (PyErr_Occurred()) SWIG_fail
; 
5744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5745         (arg1
)->Start(arg2
); 
5747         wxPyEndAllowThreads(__tstate
); 
5748         if (PyErr_Occurred()) SWIG_fail
; 
5750     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5757 static PyObject 
*_wrap_StopWatch_Pause(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5758     PyObject 
*resultobj
; 
5759     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5760     PyObject 
* obj0 
= 0 ; 
5762         (char *) "self", NULL 
 
5765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
; 
5766     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5767     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5772         wxPyEndAllowThreads(__tstate
); 
5773         if (PyErr_Occurred()) SWIG_fail
; 
5775     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5782 static PyObject 
*_wrap_StopWatch_Resume(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5783     PyObject 
*resultobj
; 
5784     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5785     PyObject 
* obj0 
= 0 ; 
5787         (char *) "self", NULL 
 
5790     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
; 
5791     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5792     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5797         wxPyEndAllowThreads(__tstate
); 
5798         if (PyErr_Occurred()) SWIG_fail
; 
5800     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5807 static PyObject 
*_wrap_StopWatch_Time(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5808     PyObject 
*resultobj
; 
5809     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5811     PyObject 
* obj0 
= 0 ; 
5813         (char *) "self", NULL 
 
5816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
; 
5817     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5818     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5821         result 
= (long)((wxStopWatch 
const *)arg1
)->Time(); 
5823         wxPyEndAllowThreads(__tstate
); 
5824         if (PyErr_Occurred()) SWIG_fail
; 
5826     resultobj 
= SWIG_From_long((long)result
); 
5833 static PyObject 
* StopWatch_swigregister(PyObject 
*, PyObject 
*args
) { 
5835     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5836     SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
); 
5838     return Py_BuildValue((char *)""); 
5840 static PyObject 
*_wrap_new_FileHistory(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5841     PyObject 
*resultobj
; 
5842     int arg1 
= (int) 9 ; 
5843     int arg2 
= (int) wxID_FILE1 
; 
5844     wxFileHistory 
*result
; 
5845     PyObject 
* obj0 
= 0 ; 
5846     PyObject 
* obj1 
= 0 ; 
5848         (char *) "maxFiles",(char *) "idBase", NULL 
 
5851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5853         arg1 
= (int)SWIG_As_int(obj0
);  
5854         if (PyErr_Occurred()) SWIG_fail
; 
5857         arg2 
= (int)SWIG_As_int(obj1
);  
5858         if (PyErr_Occurred()) SWIG_fail
; 
5861         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5862         result 
= (wxFileHistory 
*)new wxFileHistory(arg1
,arg2
); 
5864         wxPyEndAllowThreads(__tstate
); 
5865         if (PyErr_Occurred()) SWIG_fail
; 
5867     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1); 
5874 static PyObject 
*_wrap_delete_FileHistory(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5875     PyObject 
*resultobj
; 
5876     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5877     PyObject 
* obj0 
= 0 ; 
5879         (char *) "self", NULL 
 
5882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
; 
5883     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5884     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5886         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5889         wxPyEndAllowThreads(__tstate
); 
5890         if (PyErr_Occurred()) SWIG_fail
; 
5892     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5899 static PyObject 
*_wrap_FileHistory_AddFileToHistory(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5900     PyObject 
*resultobj
; 
5901     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5902     wxString 
*arg2 
= 0 ; 
5903     bool temp2 
= False 
; 
5904     PyObject 
* obj0 
= 0 ; 
5905     PyObject 
* obj1 
= 0 ; 
5907         (char *) "self",(char *) "file", NULL 
 
5910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5911     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5912     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5914         arg2 
= wxString_in_helper(obj1
); 
5915         if (arg2 
== NULL
) SWIG_fail
; 
5919         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5920         (arg1
)->AddFileToHistory((wxString 
const &)*arg2
); 
5922         wxPyEndAllowThreads(__tstate
); 
5923         if (PyErr_Occurred()) SWIG_fail
; 
5925     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5940 static PyObject 
*_wrap_FileHistory_RemoveFileFromHistory(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5941     PyObject 
*resultobj
; 
5942     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5944     PyObject 
* obj0 
= 0 ; 
5945     PyObject 
* obj1 
= 0 ; 
5947         (char *) "self",(char *) "i", NULL 
 
5950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5951     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5952     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5953     arg2 
= (int)SWIG_As_int(obj1
);  
5954     if (PyErr_Occurred()) SWIG_fail
; 
5956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5957         (arg1
)->RemoveFileFromHistory(arg2
); 
5959         wxPyEndAllowThreads(__tstate
); 
5960         if (PyErr_Occurred()) SWIG_fail
; 
5962     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5969 static PyObject 
*_wrap_FileHistory_GetMaxFiles(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5970     PyObject 
*resultobj
; 
5971     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5973     PyObject 
* obj0 
= 0 ; 
5975         (char *) "self", NULL 
 
5978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
; 
5979     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5980     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5983         result 
= (int)((wxFileHistory 
const *)arg1
)->GetMaxFiles(); 
5985         wxPyEndAllowThreads(__tstate
); 
5986         if (PyErr_Occurred()) SWIG_fail
; 
5988     resultobj 
= SWIG_From_int((int)result
); 
5995 static PyObject 
*_wrap_FileHistory_UseMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5996     PyObject 
*resultobj
; 
5997     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5998     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5999     PyObject 
* obj0 
= 0 ; 
6000     PyObject 
* obj1 
= 0 ; 
6002         (char *) "self",(char *) "menu", NULL 
 
6005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
6006     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6007     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6008     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
6009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6011         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6012         (arg1
)->UseMenu(arg2
); 
6014         wxPyEndAllowThreads(__tstate
); 
6015         if (PyErr_Occurred()) SWIG_fail
; 
6017     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6024 static PyObject 
*_wrap_FileHistory_RemoveMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6025     PyObject 
*resultobj
; 
6026     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
6027     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
6028     PyObject 
* obj0 
= 0 ; 
6029     PyObject 
* obj1 
= 0 ; 
6031         (char *) "self",(char *) "menu", NULL 
 
6034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
6035     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6036     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6037     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
6038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6041         (arg1
)->RemoveMenu(arg2
); 
6043         wxPyEndAllowThreads(__tstate
); 
6044         if (PyErr_Occurred()) SWIG_fail
; 
6046     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6053 static PyObject 
*_wrap_FileHistory_Load(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6054     PyObject 
*resultobj
; 
6055     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
6056     wxConfigBase 
*arg2 
= 0 ; 
6057     PyObject 
* obj0 
= 0 ; 
6058     PyObject 
* obj1 
= 0 ; 
6060         (char *) "self",(char *) "config", NULL 
 
6063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
; 
6064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6066     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
6067     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6070         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6075         (arg1
)->Load(*arg2
); 
6077         wxPyEndAllowThreads(__tstate
); 
6078         if (PyErr_Occurred()) SWIG_fail
; 
6080     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6087 static PyObject 
*_wrap_FileHistory_Save(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6088     PyObject 
*resultobj
; 
6089     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
6090     wxConfigBase 
*arg2 
= 0 ; 
6091     PyObject 
* obj0 
= 0 ; 
6092     PyObject 
* obj1 
= 0 ; 
6094         (char *) "self",(char *) "config", NULL 
 
6097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
; 
6098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6100     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
6101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6104         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6109         (arg1
)->Save(*arg2
); 
6111         wxPyEndAllowThreads(__tstate
); 
6112         if (PyErr_Occurred()) SWIG_fail
; 
6114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6121 static PyObject 
*_wrap_FileHistory_AddFilesToMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6122     PyObject 
*resultobj
; 
6123     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
6124     PyObject 
* obj0 
= 0 ; 
6126         (char *) "self", NULL 
 
6129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
; 
6130     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6131     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6134         (arg1
)->AddFilesToMenu(); 
6136         wxPyEndAllowThreads(__tstate
); 
6137         if (PyErr_Occurred()) SWIG_fail
; 
6139     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6146 static PyObject 
*_wrap_FileHistory_AddFilesToThisMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6147     PyObject 
*resultobj
; 
6148     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
6149     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
6150     PyObject 
* obj0 
= 0 ; 
6151     PyObject 
* obj1 
= 0 ; 
6153         (char *) "self",(char *) "menu", NULL 
 
6156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
6157     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6158     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6159     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
6160     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6163         (arg1
)->AddFilesToMenu(arg2
); 
6165         wxPyEndAllowThreads(__tstate
); 
6166         if (PyErr_Occurred()) SWIG_fail
; 
6168     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6175 static PyObject 
*_wrap_FileHistory_GetHistoryFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6176     PyObject 
*resultobj
; 
6177     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
6180     PyObject 
* obj0 
= 0 ; 
6181     PyObject 
* obj1 
= 0 ; 
6183         (char *) "self",(char *) "i", NULL 
 
6186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
6187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6189     arg2 
= (int)SWIG_As_int(obj1
);  
6190     if (PyErr_Occurred()) SWIG_fail
; 
6192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6193         result 
= ((wxFileHistory 
const *)arg1
)->GetHistoryFile(arg2
); 
6195         wxPyEndAllowThreads(__tstate
); 
6196         if (PyErr_Occurred()) SWIG_fail
; 
6200         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6202         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6211 static PyObject 
*_wrap_FileHistory_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6212     PyObject 
*resultobj
; 
6213     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
6215     PyObject 
* obj0 
= 0 ; 
6217         (char *) "self", NULL 
 
6220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
; 
6221     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
6222     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6225         result 
= (int)((wxFileHistory 
const *)arg1
)->GetCount(); 
6227         wxPyEndAllowThreads(__tstate
); 
6228         if (PyErr_Occurred()) SWIG_fail
; 
6230     resultobj 
= SWIG_From_int((int)result
); 
6237 static PyObject 
* FileHistory_swigregister(PyObject 
*, PyObject 
*args
) { 
6239     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6240     SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
); 
6242     return Py_BuildValue((char *)""); 
6244 static PyObject 
*_wrap_new_SingleInstanceChecker(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6245     PyObject 
*resultobj
; 
6246     wxString 
*arg1 
= 0 ; 
6247     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
6248     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6249     wxSingleInstanceChecker 
*result
; 
6250     bool temp1 
= False 
; 
6251     bool temp2 
= False 
; 
6252     PyObject 
* obj0 
= 0 ; 
6253     PyObject 
* obj1 
= 0 ; 
6255         (char *) "name",(char *) "path", NULL 
 
6258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
; 
6260         arg1 
= wxString_in_helper(obj0
); 
6261         if (arg1 
== NULL
) SWIG_fail
; 
6266             arg2 
= wxString_in_helper(obj1
); 
6267             if (arg2 
== NULL
) SWIG_fail
; 
6272         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6273         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
6275         wxPyEndAllowThreads(__tstate
); 
6276         if (PyErr_Occurred()) SWIG_fail
; 
6278     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
6301 static PyObject 
*_wrap_new_PreSingleInstanceChecker(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6302     PyObject 
*resultobj
; 
6303     wxSingleInstanceChecker 
*result
; 
6308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
; 
6310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6311         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker(); 
6313         wxPyEndAllowThreads(__tstate
); 
6314         if (PyErr_Occurred()) SWIG_fail
; 
6316     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
6323 static PyObject 
*_wrap_delete_SingleInstanceChecker(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6324     PyObject 
*resultobj
; 
6325     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
6326     PyObject 
* obj0 
= 0 ; 
6328         (char *) "self", NULL 
 
6331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
; 
6332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
6333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6338         wxPyEndAllowThreads(__tstate
); 
6339         if (PyErr_Occurred()) SWIG_fail
; 
6341     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6348 static PyObject 
*_wrap_SingleInstanceChecker_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6349     PyObject 
*resultobj
; 
6350     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
6351     wxString 
*arg2 
= 0 ; 
6352     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
6353     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
6355     bool temp2 
= False 
; 
6356     bool temp3 
= False 
; 
6357     PyObject 
* obj0 
= 0 ; 
6358     PyObject 
* obj1 
= 0 ; 
6359     PyObject 
* obj2 
= 0 ; 
6361         (char *) "self",(char *) "name",(char *) "path", NULL 
 
6364     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6365     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
6366     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6368         arg2 
= wxString_in_helper(obj1
); 
6369         if (arg2 
== NULL
) SWIG_fail
; 
6374             arg3 
= wxString_in_helper(obj2
); 
6375             if (arg3 
== NULL
) SWIG_fail
; 
6380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6381         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
6383         wxPyEndAllowThreads(__tstate
); 
6384         if (PyErr_Occurred()) SWIG_fail
; 
6387         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6411 static PyObject 
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6412     PyObject 
*resultobj
; 
6413     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
6415     PyObject 
* obj0 
= 0 ; 
6417         (char *) "self", NULL 
 
6420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
; 
6421     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
6422     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6424         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6425         result 
= (bool)((wxSingleInstanceChecker 
const *)arg1
)->IsAnotherRunning(); 
6427         wxPyEndAllowThreads(__tstate
); 
6428         if (PyErr_Occurred()) SWIG_fail
; 
6431         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6439 static PyObject 
* SingleInstanceChecker_swigregister(PyObject 
*, PyObject 
*args
) { 
6441     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6442     SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
); 
6444     return Py_BuildValue((char *)""); 
6446 static PyObject 
*_wrap_DrawWindowOnDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6447     PyObject 
*resultobj
; 
6448     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6451     PyObject 
* obj0 
= 0 ; 
6452     PyObject 
* obj1 
= 0 ; 
6453     PyObject 
* obj2 
= 0 ; 
6455         (char *) "window",(char *) "dc",(char *) "method", NULL 
 
6458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6461     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
6462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6465         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6468     arg3 
= (int)SWIG_As_int(obj2
);  
6469     if (PyErr_Occurred()) SWIG_fail
; 
6471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6472         wxDrawWindowOnDC(arg1
,(wxDC 
const &)*arg2
,arg3
); 
6474         wxPyEndAllowThreads(__tstate
); 
6475         if (PyErr_Occurred()) SWIG_fail
; 
6477     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6484 static PyObject 
*_wrap_delete_TipProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6485     PyObject 
*resultobj
; 
6486     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6487     PyObject 
* obj0 
= 0 ; 
6489         (char *) "self", NULL 
 
6492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
; 
6493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6499         wxPyEndAllowThreads(__tstate
); 
6500         if (PyErr_Occurred()) SWIG_fail
; 
6502     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6509 static PyObject 
*_wrap_TipProvider_GetTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6510     PyObject 
*resultobj
; 
6511     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6513     PyObject 
* obj0 
= 0 ; 
6515         (char *) "self", NULL 
 
6518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
; 
6519     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6520     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6523         result 
= (arg1
)->GetTip(); 
6525         wxPyEndAllowThreads(__tstate
); 
6526         if (PyErr_Occurred()) SWIG_fail
; 
6530         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6532         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6541 static PyObject 
*_wrap_TipProvider_GetCurrentTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6542     PyObject 
*resultobj
; 
6543     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6545     PyObject 
* obj0 
= 0 ; 
6547         (char *) "self", NULL 
 
6550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
; 
6551     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6552     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6555         result 
= (size_t)(arg1
)->GetCurrentTip(); 
6557         wxPyEndAllowThreads(__tstate
); 
6558         if (PyErr_Occurred()) SWIG_fail
; 
6560     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
6567 static PyObject 
*_wrap_TipProvider_PreprocessTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6568     PyObject 
*resultobj
; 
6569     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6570     wxString 
*arg2 
= 0 ; 
6572     bool temp2 
= False 
; 
6573     PyObject 
* obj0 
= 0 ; 
6574     PyObject 
* obj1 
= 0 ; 
6576         (char *) "self",(char *) "tip", NULL 
 
6579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
6580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6583         arg2 
= wxString_in_helper(obj1
); 
6584         if (arg2 
== NULL
) SWIG_fail
; 
6588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6589         result 
= (arg1
)->PreprocessTip((wxString 
const &)*arg2
); 
6591         wxPyEndAllowThreads(__tstate
); 
6592         if (PyErr_Occurred()) SWIG_fail
; 
6596         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6598         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6615 static PyObject 
* TipProvider_swigregister(PyObject 
*, PyObject 
*args
) { 
6617     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6618     SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
); 
6620     return Py_BuildValue((char *)""); 
6622 static PyObject 
*_wrap_new_PyTipProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6623     PyObject 
*resultobj
; 
6625     wxPyTipProvider 
*result
; 
6626     PyObject 
* obj0 
= 0 ; 
6628         (char *) "currentTip", NULL 
 
6631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
; 
6632     arg1 
= (size_t)SWIG_As_unsigned_SS_long(obj0
);  
6633     if (PyErr_Occurred()) SWIG_fail
; 
6635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6636         result 
= (wxPyTipProvider 
*)new wxPyTipProvider(arg1
); 
6638         wxPyEndAllowThreads(__tstate
); 
6639         if (PyErr_Occurred()) SWIG_fail
; 
6641     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1); 
6648 static PyObject 
*_wrap_PyTipProvider__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6649     PyObject 
*resultobj
; 
6650     wxPyTipProvider 
*arg1 
= (wxPyTipProvider 
*) 0 ; 
6651     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6652     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6653     PyObject 
* obj0 
= 0 ; 
6654     PyObject 
* obj1 
= 0 ; 
6655     PyObject 
* obj2 
= 0 ; 
6657         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
6660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
, 
6662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6667         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
6669         wxPyEndAllowThreads(__tstate
); 
6670         if (PyErr_Occurred()) SWIG_fail
; 
6672     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6679 static PyObject 
* PyTipProvider_swigregister(PyObject 
*, PyObject 
*args
) { 
6681     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6682     SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
); 
6684     return Py_BuildValue((char *)""); 
6686 static PyObject 
*_wrap_ShowTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6687     PyObject 
*resultobj
; 
6688     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6689     wxTipProvider 
*arg2 
= (wxTipProvider 
*) 0 ; 
6690     bool arg3 
= (bool) True 
; 
6692     PyObject 
* obj0 
= 0 ; 
6693     PyObject 
* obj1 
= 0 ; 
6694     PyObject 
* obj2 
= 0 ; 
6696         (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL 
 
6699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6702     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
, 
6703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6705         arg3 
= (bool)SWIG_As_bool(obj2
);  
6706         if (PyErr_Occurred()) SWIG_fail
; 
6709         if (!wxPyCheckForApp()) SWIG_fail
; 
6710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6711         result 
= (bool)wxShowTip(arg1
,arg2
,arg3
); 
6713         wxPyEndAllowThreads(__tstate
); 
6714         if (PyErr_Occurred()) SWIG_fail
; 
6717         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6725 static PyObject 
*_wrap_CreateFileTipProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6726     PyObject 
*resultobj
; 
6727     wxString 
*arg1 
= 0 ; 
6729     wxTipProvider 
*result
; 
6730     bool temp1 
= False 
; 
6731     PyObject 
* obj0 
= 0 ; 
6732     PyObject 
* obj1 
= 0 ; 
6734         (char *) "filename",(char *) "currentTip", NULL 
 
6737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
; 
6739         arg1 
= wxString_in_helper(obj0
); 
6740         if (arg1 
== NULL
) SWIG_fail
; 
6743     arg2 
= (size_t)SWIG_As_unsigned_SS_long(obj1
);  
6744     if (PyErr_Occurred()) SWIG_fail
; 
6746         if (!wxPyCheckForApp()) SWIG_fail
; 
6747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6748         result 
= (wxTipProvider 
*)wxCreateFileTipProvider((wxString 
const &)*arg1
,arg2
); 
6750         wxPyEndAllowThreads(__tstate
); 
6751         if (PyErr_Occurred()) SWIG_fail
; 
6753     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1); 
6768 static PyObject 
*_wrap_new_Timer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6769     PyObject 
*resultobj
; 
6770     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
6771     int arg2 
= (int) -1 ; 
6773     PyObject 
* obj0 
= 0 ; 
6774     PyObject 
* obj1 
= 0 ; 
6776         (char *) "owner",(char *) "id", NULL 
 
6779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
; 
6781         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
6782         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6785         arg2 
= (int)SWIG_As_int(obj1
);  
6786         if (PyErr_Occurred()) SWIG_fail
; 
6789         if (!wxPyCheckForApp()) SWIG_fail
; 
6790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6791         result 
= (wxPyTimer 
*)new wxPyTimer(arg1
,arg2
); 
6793         wxPyEndAllowThreads(__tstate
); 
6794         if (PyErr_Occurred()) SWIG_fail
; 
6796     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1); 
6803 static PyObject 
*_wrap_delete_Timer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6804     PyObject 
*resultobj
; 
6805     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6806     PyObject 
* obj0 
= 0 ; 
6808         (char *) "self", NULL 
 
6811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
; 
6812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6818         wxPyEndAllowThreads(__tstate
); 
6819         if (PyErr_Occurred()) SWIG_fail
; 
6821     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6828 static PyObject 
*_wrap_Timer__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6829     PyObject 
*resultobj
; 
6830     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6831     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6832     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6833     int arg4 
= (int) 1 ; 
6834     PyObject 
* obj0 
= 0 ; 
6835     PyObject 
* obj1 
= 0 ; 
6836     PyObject 
* obj2 
= 0 ; 
6837     PyObject 
* obj3 
= 0 ; 
6839         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
6842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6848         arg4 
= (int)SWIG_As_int(obj3
);  
6849         if (PyErr_Occurred()) SWIG_fail
; 
6852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6853         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
6855         wxPyEndAllowThreads(__tstate
); 
6856         if (PyErr_Occurred()) SWIG_fail
; 
6858     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6865 static PyObject 
*_wrap_Timer_SetOwner(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6866     PyObject 
*resultobj
; 
6867     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6868     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
6869     int arg3 
= (int) -1 ; 
6870     PyObject 
* obj0 
= 0 ; 
6871     PyObject 
* obj1 
= 0 ; 
6872     PyObject 
* obj2 
= 0 ; 
6874         (char *) "self",(char *) "owner",(char *) "id", NULL 
 
6877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6880     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
, 
6881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6883         arg3 
= (int)SWIG_As_int(obj2
);  
6884         if (PyErr_Occurred()) SWIG_fail
; 
6887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6888         (arg1
)->SetOwner(arg2
,arg3
); 
6890         wxPyEndAllowThreads(__tstate
); 
6891         if (PyErr_Occurred()) SWIG_fail
; 
6893     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6900 static PyObject 
*_wrap_Timer_GetOwner(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6901     PyObject 
*resultobj
; 
6902     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6903     wxEvtHandler 
*result
; 
6904     PyObject 
* obj0 
= 0 ; 
6906         (char *) "self", NULL 
 
6909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
; 
6910     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6914         result 
= (wxEvtHandler 
*)(arg1
)->GetOwner(); 
6916         wxPyEndAllowThreads(__tstate
); 
6917         if (PyErr_Occurred()) SWIG_fail
; 
6920         resultobj 
= wxPyMake_wxObject(result
, 0);  
6928 static PyObject 
*_wrap_Timer_Start(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6929     PyObject 
*resultobj
; 
6930     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6931     int arg2 
= (int) -1 ; 
6932     bool arg3 
= (bool) False 
; 
6934     PyObject 
* obj0 
= 0 ; 
6935     PyObject 
* obj1 
= 0 ; 
6936     PyObject 
* obj2 
= 0 ; 
6938         (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL 
 
6941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6942     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6943     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6945         arg2 
= (int)SWIG_As_int(obj1
);  
6946         if (PyErr_Occurred()) SWIG_fail
; 
6949         arg3 
= (bool)SWIG_As_bool(obj2
);  
6950         if (PyErr_Occurred()) SWIG_fail
; 
6953         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6954         result 
= (bool)(arg1
)->Start(arg2
,arg3
); 
6956         wxPyEndAllowThreads(__tstate
); 
6957         if (PyErr_Occurred()) SWIG_fail
; 
6960         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6968 static PyObject 
*_wrap_Timer_Stop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6969     PyObject 
*resultobj
; 
6970     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6971     PyObject 
* obj0 
= 0 ; 
6973         (char *) "self", NULL 
 
6976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
; 
6977     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6978     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6980         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6983         wxPyEndAllowThreads(__tstate
); 
6984         if (PyErr_Occurred()) SWIG_fail
; 
6986     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6993 static PyObject 
*_wrap_Timer_IsRunning(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6994     PyObject 
*resultobj
; 
6995     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6997     PyObject 
* obj0 
= 0 ; 
6999         (char *) "self", NULL 
 
7002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
; 
7003     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
7004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7007         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsRunning(); 
7009         wxPyEndAllowThreads(__tstate
); 
7010         if (PyErr_Occurred()) SWIG_fail
; 
7013         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7021 static PyObject 
*_wrap_Timer_GetInterval(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7022     PyObject 
*resultobj
; 
7023     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
7025     PyObject 
* obj0 
= 0 ; 
7027         (char *) "self", NULL 
 
7030     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
; 
7031     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
7032     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7035         result 
= (int)((wxPyTimer 
const *)arg1
)->GetInterval(); 
7037         wxPyEndAllowThreads(__tstate
); 
7038         if (PyErr_Occurred()) SWIG_fail
; 
7040     resultobj 
= SWIG_From_int((int)result
); 
7047 static PyObject 
*_wrap_Timer_IsOneShot(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7048     PyObject 
*resultobj
; 
7049     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
7051     PyObject 
* obj0 
= 0 ; 
7053         (char *) "self", NULL 
 
7056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
; 
7057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
7058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7061         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsOneShot(); 
7063         wxPyEndAllowThreads(__tstate
); 
7064         if (PyErr_Occurred()) SWIG_fail
; 
7067         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7075 static PyObject 
*_wrap_Timer_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7076     PyObject 
*resultobj
; 
7077     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
7079     PyObject 
* obj0 
= 0 ; 
7081         (char *) "self", NULL 
 
7084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
; 
7085     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
7086     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7089         result 
= (int)((wxPyTimer 
const *)arg1
)->GetId(); 
7091         wxPyEndAllowThreads(__tstate
); 
7092         if (PyErr_Occurred()) SWIG_fail
; 
7094     resultobj 
= SWIG_From_int((int)result
); 
7101 static PyObject 
* Timer_swigregister(PyObject 
*, PyObject 
*args
) { 
7103     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7104     SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
); 
7106     return Py_BuildValue((char *)""); 
7108 static PyObject 
*_wrap_new_TimerEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7109     PyObject 
*resultobj
; 
7110     int arg1 
= (int) 0 ; 
7111     int arg2 
= (int) 0 ; 
7112     wxTimerEvent 
*result
; 
7113     PyObject 
* obj0 
= 0 ; 
7114     PyObject 
* obj1 
= 0 ; 
7116         (char *) "timerid",(char *) "interval", NULL 
 
7119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
7121         arg1 
= (int)SWIG_As_int(obj0
);  
7122         if (PyErr_Occurred()) SWIG_fail
; 
7125         arg2 
= (int)SWIG_As_int(obj1
);  
7126         if (PyErr_Occurred()) SWIG_fail
; 
7129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7130         result 
= (wxTimerEvent 
*)new wxTimerEvent(arg1
,arg2
); 
7132         wxPyEndAllowThreads(__tstate
); 
7133         if (PyErr_Occurred()) SWIG_fail
; 
7135     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1); 
7142 static PyObject 
*_wrap_TimerEvent_GetInterval(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7143     PyObject 
*resultobj
; 
7144     wxTimerEvent 
*arg1 
= (wxTimerEvent 
*) 0 ; 
7146     PyObject 
* obj0 
= 0 ; 
7148         (char *) "self", NULL 
 
7151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
; 
7152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
, 
7153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7155         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7156         result 
= (int)((wxTimerEvent 
const *)arg1
)->GetInterval(); 
7158         wxPyEndAllowThreads(__tstate
); 
7159         if (PyErr_Occurred()) SWIG_fail
; 
7161     resultobj 
= SWIG_From_int((int)result
); 
7168 static PyObject 
* TimerEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
7170     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7171     SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
); 
7173     return Py_BuildValue((char *)""); 
7175 static PyObject 
*_wrap_new_TimerRunner__SWIG_0(PyObject 
*, PyObject 
*args
) { 
7176     PyObject 
*resultobj
; 
7178     wxTimerRunner 
*result
; 
7179     PyObject 
* obj0 
= 0 ; 
7181     if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
; 
7182     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
7183     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7186         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7190         if (!wxPyCheckForApp()) SWIG_fail
; 
7191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7192         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
); 
7194         wxPyEndAllowThreads(__tstate
); 
7195         if (PyErr_Occurred()) SWIG_fail
; 
7197     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
7204 static PyObject 
*_wrap_new_TimerRunner__SWIG_1(PyObject 
*, PyObject 
*args
) { 
7205     PyObject 
*resultobj
; 
7208     bool arg3 
= (bool) False 
; 
7209     wxTimerRunner 
*result
; 
7210     PyObject 
* obj0 
= 0 ; 
7211     PyObject 
* obj1 
= 0 ; 
7212     PyObject 
* obj2 
= 0 ; 
7214     if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
; 
7215     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
7216     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
7219         PyErr_SetString(PyExc_TypeError
,"null reference"); 
7222     arg2 
= (int)SWIG_As_int(obj1
);  
7223     if (PyErr_Occurred()) SWIG_fail
; 
7225         arg3 
= (bool)SWIG_As_bool(obj2
);  
7226         if (PyErr_Occurred()) SWIG_fail
; 
7229         if (!wxPyCheckForApp()) SWIG_fail
; 
7230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7231         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
,arg2
,arg3
); 
7233         wxPyEndAllowThreads(__tstate
); 
7234         if (PyErr_Occurred()) SWIG_fail
; 
7236     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
7243 static PyObject 
*_wrap_new_TimerRunner(PyObject 
*self
, PyObject 
*args
) { 
7248     argc 
= PyObject_Length(args
); 
7249     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
7250         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
7256             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
7264             return _wrap_new_TimerRunner__SWIG_0(self
,args
); 
7267     if ((argc 
>= 2) && (argc 
<= 3)) { 
7271             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
7279             _v 
= SWIG_Check_int(argv
[1]); 
7282                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
7284                 _v 
= SWIG_Check_bool(argv
[2]); 
7286                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
7292     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'"); 
7297 static PyObject 
*_wrap_delete_TimerRunner(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7298     PyObject 
*resultobj
; 
7299     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
7300     PyObject 
* obj0 
= 0 ; 
7302         (char *) "self", NULL 
 
7305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
; 
7306     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
7307     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7312         wxPyEndAllowThreads(__tstate
); 
7313         if (PyErr_Occurred()) SWIG_fail
; 
7315     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7322 static PyObject 
*_wrap_TimerRunner_Start(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7323     PyObject 
*resultobj
; 
7324     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
7326     bool arg3 
= (bool) False 
; 
7327     PyObject 
* obj0 
= 0 ; 
7328     PyObject 
* obj1 
= 0 ; 
7329     PyObject 
* obj2 
= 0 ; 
7331         (char *) "self",(char *) "milli",(char *) "oneShot", NULL 
 
7334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7335     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
7336     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7337     arg2 
= (int)SWIG_As_int(obj1
);  
7338     if (PyErr_Occurred()) SWIG_fail
; 
7340         arg3 
= (bool)SWIG_As_bool(obj2
);  
7341         if (PyErr_Occurred()) SWIG_fail
; 
7344         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7345         (arg1
)->Start(arg2
,arg3
); 
7347         wxPyEndAllowThreads(__tstate
); 
7348         if (PyErr_Occurred()) SWIG_fail
; 
7350     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7357 static PyObject 
* TimerRunner_swigregister(PyObject 
*, PyObject 
*args
) { 
7359     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7360     SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
); 
7362     return Py_BuildValue((char *)""); 
7364 static PyObject 
*_wrap_new_Log(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7365     PyObject 
*resultobj
; 
7371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
; 
7373         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7374         result 
= (wxLog 
*)new wxLog(); 
7376         wxPyEndAllowThreads(__tstate
); 
7377         if (PyErr_Occurred()) SWIG_fail
; 
7379     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1); 
7386 static PyObject 
*_wrap_Log_IsEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7387     PyObject 
*resultobj
; 
7393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
; 
7395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7396         result 
= (bool)wxLog::IsEnabled(); 
7398         wxPyEndAllowThreads(__tstate
); 
7399         if (PyErr_Occurred()) SWIG_fail
; 
7402         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7410 static PyObject 
*_wrap_Log_EnableLogging(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7411     PyObject 
*resultobj
; 
7412     bool arg1 
= (bool) True 
; 
7414     PyObject 
* obj0 
= 0 ; 
7416         (char *) "doIt", NULL 
 
7419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
; 
7421         arg1 
= (bool)SWIG_As_bool(obj0
);  
7422         if (PyErr_Occurred()) SWIG_fail
; 
7425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7426         result 
= (bool)wxLog::EnableLogging(arg1
); 
7428         wxPyEndAllowThreads(__tstate
); 
7429         if (PyErr_Occurred()) SWIG_fail
; 
7432         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7440 static PyObject 
*_wrap_Log_OnLog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7441     PyObject 
*resultobj
; 
7443     wxChar 
*arg2 
= (wxChar 
*) 0 ; 
7445     PyObject 
* obj0 
= 0 ; 
7446     PyObject 
* obj1 
= 0 ; 
7447     PyObject 
* obj2 
= 0 ; 
7449         (char *) "level",(char *) "szString",(char *) "t", NULL 
 
7452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7453     arg1 
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);  
7454     if (PyErr_Occurred()) SWIG_fail
; 
7455     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
, 
7456     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7457     arg3 
= (time_t)SWIG_As_unsigned_SS_int(obj2
);  
7458     if (PyErr_Occurred()) SWIG_fail
; 
7460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7461         wxLog::OnLog(arg1
,(wxChar 
const *)arg2
,arg3
); 
7463         wxPyEndAllowThreads(__tstate
); 
7464         if (PyErr_Occurred()) SWIG_fail
; 
7466     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7473 static PyObject 
*_wrap_Log_Flush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7474     PyObject 
*resultobj
; 
7475     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7476     PyObject 
* obj0 
= 0 ; 
7478         (char *) "self", NULL 
 
7481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
; 
7482     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7488         wxPyEndAllowThreads(__tstate
); 
7489         if (PyErr_Occurred()) SWIG_fail
; 
7491     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7498 static PyObject 
*_wrap_Log_FlushActive(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7499     PyObject 
*resultobj
; 
7504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
; 
7506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7507         wxLog::FlushActive(); 
7509         wxPyEndAllowThreads(__tstate
); 
7510         if (PyErr_Occurred()) SWIG_fail
; 
7512     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7519 static PyObject 
*_wrap_Log_GetActiveTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7520     PyObject 
*resultobj
; 
7526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
; 
7528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7529         result 
= (wxLog 
*)wxLog::GetActiveTarget(); 
7531         wxPyEndAllowThreads(__tstate
); 
7532         if (PyErr_Occurred()) SWIG_fail
; 
7534     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7541 static PyObject 
*_wrap_Log_SetActiveTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7542     PyObject 
*resultobj
; 
7543     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7545     PyObject 
* obj0 
= 0 ; 
7547         (char *) "pLogger", NULL 
 
7550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
; 
7551     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7552     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7555         result 
= (wxLog 
*)wxLog::SetActiveTarget(arg1
); 
7557         wxPyEndAllowThreads(__tstate
); 
7558         if (PyErr_Occurred()) SWIG_fail
; 
7560     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7567 static PyObject 
*_wrap_Log_Suspend(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7568     PyObject 
*resultobj
; 
7573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
; 
7575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7578         wxPyEndAllowThreads(__tstate
); 
7579         if (PyErr_Occurred()) SWIG_fail
; 
7581     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7588 static PyObject 
*_wrap_Log_Resume(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7589     PyObject 
*resultobj
; 
7594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
; 
7596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7599         wxPyEndAllowThreads(__tstate
); 
7600         if (PyErr_Occurred()) SWIG_fail
; 
7602     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7609 static PyObject 
*_wrap_Log_SetVerbose(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7610     PyObject 
*resultobj
; 
7611     bool arg1 
= (bool) True 
; 
7612     PyObject 
* obj0 
= 0 ; 
7614         (char *) "bVerbose", NULL 
 
7617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
; 
7619         arg1 
= (bool)SWIG_As_bool(obj0
);  
7620         if (PyErr_Occurred()) SWIG_fail
; 
7623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7624         wxLog::SetVerbose(arg1
); 
7626         wxPyEndAllowThreads(__tstate
); 
7627         if (PyErr_Occurred()) SWIG_fail
; 
7629     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7636 static PyObject 
*_wrap_Log_SetLogLevel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7637     PyObject 
*resultobj
; 
7639     PyObject 
* obj0 
= 0 ; 
7641         (char *) "logLevel", NULL 
 
7644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
; 
7645     arg1 
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);  
7646     if (PyErr_Occurred()) SWIG_fail
; 
7648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7649         wxLog::SetLogLevel(arg1
); 
7651         wxPyEndAllowThreads(__tstate
); 
7652         if (PyErr_Occurred()) SWIG_fail
; 
7654     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7661 static PyObject 
*_wrap_Log_DontCreateOnDemand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7662     PyObject 
*resultobj
; 
7667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
; 
7669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7670         wxLog::DontCreateOnDemand(); 
7672         wxPyEndAllowThreads(__tstate
); 
7673         if (PyErr_Occurred()) SWIG_fail
; 
7675     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7682 static PyObject 
*_wrap_Log_SetTraceMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7683     PyObject 
*resultobj
; 
7685     PyObject 
* obj0 
= 0 ; 
7687         (char *) "ulMask", NULL 
 
7690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
; 
7691     arg1 
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);  
7692     if (PyErr_Occurred()) SWIG_fail
; 
7694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7695         wxLog::SetTraceMask(arg1
); 
7697         wxPyEndAllowThreads(__tstate
); 
7698         if (PyErr_Occurred()) SWIG_fail
; 
7700     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7707 static PyObject 
*_wrap_Log_AddTraceMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7708     PyObject 
*resultobj
; 
7709     wxString 
*arg1 
= 0 ; 
7710     bool temp1 
= False 
; 
7711     PyObject 
* obj0 
= 0 ; 
7713         (char *) "str", NULL 
 
7716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
; 
7718         arg1 
= wxString_in_helper(obj0
); 
7719         if (arg1 
== NULL
) SWIG_fail
; 
7723         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7724         wxLog::AddTraceMask((wxString 
const &)*arg1
); 
7726         wxPyEndAllowThreads(__tstate
); 
7727         if (PyErr_Occurred()) SWIG_fail
; 
7729     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7744 static PyObject 
*_wrap_Log_RemoveTraceMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7745     PyObject 
*resultobj
; 
7746     wxString 
*arg1 
= 0 ; 
7747     bool temp1 
= False 
; 
7748     PyObject 
* obj0 
= 0 ; 
7750         (char *) "str", NULL 
 
7753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
; 
7755         arg1 
= wxString_in_helper(obj0
); 
7756         if (arg1 
== NULL
) SWIG_fail
; 
7760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7761         wxLog::RemoveTraceMask((wxString 
const &)*arg1
); 
7763         wxPyEndAllowThreads(__tstate
); 
7764         if (PyErr_Occurred()) SWIG_fail
; 
7766     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7781 static PyObject 
*_wrap_Log_ClearTraceMasks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7782     PyObject 
*resultobj
; 
7787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
; 
7789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7790         wxLog::ClearTraceMasks(); 
7792         wxPyEndAllowThreads(__tstate
); 
7793         if (PyErr_Occurred()) SWIG_fail
; 
7795     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7802 static PyObject 
*_wrap_Log_GetTraceMasks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7803     PyObject 
*resultobj
; 
7804     wxArrayString 
*result
; 
7809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
; 
7811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7813             wxArrayString 
const &_result_ref 
= wxLog::GetTraceMasks(); 
7814             result 
= (wxArrayString 
*) &_result_ref
; 
7817         wxPyEndAllowThreads(__tstate
); 
7818         if (PyErr_Occurred()) SWIG_fail
; 
7821         resultobj 
= wxArrayString2PyList_helper(*result
); 
7829 static PyObject 
*_wrap_Log_SetTimestamp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7830     PyObject 
*resultobj
; 
7831     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7832     PyObject 
* obj0 
= 0 ; 
7837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
; 
7838     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7839     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7842         wxLog::SetTimestamp((wxChar 
const *)arg1
); 
7844         wxPyEndAllowThreads(__tstate
); 
7845         if (PyErr_Occurred()) SWIG_fail
; 
7847     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7854 static PyObject 
*_wrap_Log_GetVerbose(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7855     PyObject 
*resultobj
; 
7861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
; 
7863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7864         result 
= (bool)wxLog::GetVerbose(); 
7866         wxPyEndAllowThreads(__tstate
); 
7867         if (PyErr_Occurred()) SWIG_fail
; 
7870         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7878 static PyObject 
*_wrap_Log_GetTraceMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7879     PyObject 
*resultobj
; 
7885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
; 
7887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7888         result 
= (wxTraceMask
)wxLog::GetTraceMask(); 
7890         wxPyEndAllowThreads(__tstate
); 
7891         if (PyErr_Occurred()) SWIG_fail
; 
7893     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
7900 static PyObject 
*_wrap_Log_IsAllowedTraceMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7901     PyObject 
*resultobj
; 
7902     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7904     PyObject 
* obj0 
= 0 ; 
7906         (char *) "mask", NULL 
 
7909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
; 
7910     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7914         result 
= (bool)wxLog::IsAllowedTraceMask((wxChar 
const *)arg1
); 
7916         wxPyEndAllowThreads(__tstate
); 
7917         if (PyErr_Occurred()) SWIG_fail
; 
7920         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7928 static PyObject 
*_wrap_Log_GetLogLevel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7929     PyObject 
*resultobj
; 
7935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
; 
7937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7938         result 
= (wxLogLevel
)wxLog::GetLogLevel(); 
7940         wxPyEndAllowThreads(__tstate
); 
7941         if (PyErr_Occurred()) SWIG_fail
; 
7943     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
7950 static PyObject 
*_wrap_Log_GetTimestamp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7951     PyObject 
*resultobj
; 
7957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
; 
7959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7960         result 
= (wxChar 
*)wxLog::GetTimestamp(); 
7962         wxPyEndAllowThreads(__tstate
); 
7963         if (PyErr_Occurred()) SWIG_fail
; 
7965     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0); 
7972 static PyObject 
*_wrap_Log_TimeStamp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7973     PyObject 
*resultobj
; 
7979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
; 
7981         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7982         result 
= Log_TimeStamp(); 
7984         wxPyEndAllowThreads(__tstate
); 
7985         if (PyErr_Occurred()) SWIG_fail
; 
7989         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7991         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8000 static PyObject 
*_wrap_Log_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8001     PyObject 
*resultobj
; 
8002     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
8003     PyObject 
* obj0 
= 0 ; 
8005         (char *) "self", NULL 
 
8008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
; 
8009     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
8010     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8013         wxLog_Destroy(arg1
); 
8015         wxPyEndAllowThreads(__tstate
); 
8016         if (PyErr_Occurred()) SWIG_fail
; 
8018     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8025 static PyObject 
* Log_swigregister(PyObject 
*, PyObject 
*args
) { 
8027     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8028     SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
); 
8030     return Py_BuildValue((char *)""); 
8032 static PyObject 
*_wrap_new_LogStderr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8033     PyObject 
*resultobj
; 
8034     wxLogStderr 
*result
; 
8039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
; 
8041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8042         result 
= (wxLogStderr 
*)new wxLogStderr(); 
8044         wxPyEndAllowThreads(__tstate
); 
8045         if (PyErr_Occurred()) SWIG_fail
; 
8047     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1); 
8054 static PyObject 
* LogStderr_swigregister(PyObject 
*, PyObject 
*args
) { 
8056     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8057     SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
); 
8059     return Py_BuildValue((char *)""); 
8061 static PyObject 
*_wrap_new_LogTextCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8062     PyObject 
*resultobj
; 
8063     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
8064     wxLogTextCtrl 
*result
; 
8065     PyObject 
* obj0 
= 0 ; 
8067         (char *) "pTextCtrl", NULL 
 
8070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
; 
8071     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
8072     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8075         result 
= (wxLogTextCtrl 
*)new wxLogTextCtrl(arg1
); 
8077         wxPyEndAllowThreads(__tstate
); 
8078         if (PyErr_Occurred()) SWIG_fail
; 
8080     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1); 
8087 static PyObject 
* LogTextCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
8089     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8090     SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
); 
8092     return Py_BuildValue((char *)""); 
8094 static PyObject 
*_wrap_new_LogGui(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8095     PyObject 
*resultobj
; 
8101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
; 
8103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8104         result 
= (wxLogGui 
*)new wxLogGui(); 
8106         wxPyEndAllowThreads(__tstate
); 
8107         if (PyErr_Occurred()) SWIG_fail
; 
8109     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1); 
8116 static PyObject 
* LogGui_swigregister(PyObject 
*, PyObject 
*args
) { 
8118     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8119     SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
); 
8121     return Py_BuildValue((char *)""); 
8123 static PyObject 
*_wrap_new_LogWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8124     PyObject 
*resultobj
; 
8125     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
8126     wxString 
*arg2 
= 0 ; 
8127     bool arg3 
= (bool) True 
; 
8128     bool arg4 
= (bool) True 
; 
8129     wxLogWindow 
*result
; 
8130     bool temp2 
= False 
; 
8131     PyObject 
* obj0 
= 0 ; 
8132     PyObject 
* obj1 
= 0 ; 
8133     PyObject 
* obj2 
= 0 ; 
8134     PyObject 
* obj3 
= 0 ; 
8136         (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL 
 
8139     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8140     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
8141     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8143         arg2 
= wxString_in_helper(obj1
); 
8144         if (arg2 
== NULL
) SWIG_fail
; 
8148         arg3 
= (bool)SWIG_As_bool(obj2
);  
8149         if (PyErr_Occurred()) SWIG_fail
; 
8152         arg4 
= (bool)SWIG_As_bool(obj3
);  
8153         if (PyErr_Occurred()) SWIG_fail
; 
8156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8157         result 
= (wxLogWindow 
*)new wxLogWindow(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
8159         wxPyEndAllowThreads(__tstate
); 
8160         if (PyErr_Occurred()) SWIG_fail
; 
8162     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1); 
8177 static PyObject 
*_wrap_LogWindow_Show(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8178     PyObject 
*resultobj
; 
8179     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
8180     bool arg2 
= (bool) True 
; 
8181     PyObject 
* obj0 
= 0 ; 
8182     PyObject 
* obj1 
= 0 ; 
8184         (char *) "self",(char *) "bShow", NULL 
 
8187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
8188     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
8189     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8191         arg2 
= (bool)SWIG_As_bool(obj1
);  
8192         if (PyErr_Occurred()) SWIG_fail
; 
8195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8198         wxPyEndAllowThreads(__tstate
); 
8199         if (PyErr_Occurred()) SWIG_fail
; 
8201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8208 static PyObject 
*_wrap_LogWindow_GetFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8209     PyObject 
*resultobj
; 
8210     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
8212     PyObject 
* obj0 
= 0 ; 
8214         (char *) "self", NULL 
 
8217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
; 
8218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
8219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8222         result 
= (wxFrame 
*)((wxLogWindow 
const *)arg1
)->GetFrame(); 
8224         wxPyEndAllowThreads(__tstate
); 
8225         if (PyErr_Occurred()) SWIG_fail
; 
8228         resultobj 
= wxPyMake_wxObject(result
, 0);  
8236 static PyObject 
*_wrap_LogWindow_GetOldLog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8237     PyObject 
*resultobj
; 
8238     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
8240     PyObject 
* obj0 
= 0 ; 
8242         (char *) "self", NULL 
 
8245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
; 
8246     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
8247     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8250         result 
= (wxLog 
*)((wxLogWindow 
const *)arg1
)->GetOldLog(); 
8252         wxPyEndAllowThreads(__tstate
); 
8253         if (PyErr_Occurred()) SWIG_fail
; 
8255     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
8262 static PyObject 
*_wrap_LogWindow_IsPassingMessages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8263     PyObject 
*resultobj
; 
8264     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
8266     PyObject 
* obj0 
= 0 ; 
8268         (char *) "self", NULL 
 
8271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
8272     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
8273     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8275         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8276         result 
= (bool)((wxLogWindow 
const *)arg1
)->IsPassingMessages(); 
8278         wxPyEndAllowThreads(__tstate
); 
8279         if (PyErr_Occurred()) SWIG_fail
; 
8282         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8290 static PyObject 
*_wrap_LogWindow_PassMessages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8291     PyObject 
*resultobj
; 
8292     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
8294     PyObject 
* obj0 
= 0 ; 
8295     PyObject 
* obj1 
= 0 ; 
8297         (char *) "self",(char *) "bDoPass", NULL 
 
8300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
8301     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
8302     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8303     arg2 
= (bool)SWIG_As_bool(obj1
);  
8304     if (PyErr_Occurred()) SWIG_fail
; 
8306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8307         (arg1
)->PassMessages(arg2
); 
8309         wxPyEndAllowThreads(__tstate
); 
8310         if (PyErr_Occurred()) SWIG_fail
; 
8312     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8319 static PyObject 
* LogWindow_swigregister(PyObject 
*, PyObject 
*args
) { 
8321     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8322     SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
); 
8324     return Py_BuildValue((char *)""); 
8326 static PyObject 
*_wrap_new_LogChain(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8327     PyObject 
*resultobj
; 
8328     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
8330     PyObject 
* obj0 
= 0 ; 
8332         (char *) "logger", NULL 
 
8335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
; 
8336     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
8337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8340         result 
= (wxLogChain 
*)new wxLogChain(arg1
); 
8342         wxPyEndAllowThreads(__tstate
); 
8343         if (PyErr_Occurred()) SWIG_fail
; 
8345     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1); 
8352 static PyObject 
*_wrap_LogChain_SetLog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8353     PyObject 
*resultobj
; 
8354     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8355     wxLog 
*arg2 
= (wxLog 
*) 0 ; 
8356     PyObject 
* obj0 
= 0 ; 
8357     PyObject 
* obj1 
= 0 ; 
8359         (char *) "self",(char *) "logger", NULL 
 
8362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
; 
8363     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8365     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
, 
8366     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8368         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8369         (arg1
)->SetLog(arg2
); 
8371         wxPyEndAllowThreads(__tstate
); 
8372         if (PyErr_Occurred()) SWIG_fail
; 
8374     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8381 static PyObject 
*_wrap_LogChain_PassMessages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8382     PyObject 
*resultobj
; 
8383     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8385     PyObject 
* obj0 
= 0 ; 
8386     PyObject 
* obj1 
= 0 ; 
8388         (char *) "self",(char *) "bDoPass", NULL 
 
8391     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
8392     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8393     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8394     arg2 
= (bool)SWIG_As_bool(obj1
);  
8395     if (PyErr_Occurred()) SWIG_fail
; 
8397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8398         (arg1
)->PassMessages(arg2
); 
8400         wxPyEndAllowThreads(__tstate
); 
8401         if (PyErr_Occurred()) SWIG_fail
; 
8403     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8410 static PyObject 
*_wrap_LogChain_IsPassingMessages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8411     PyObject 
*resultobj
; 
8412     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8414     PyObject 
* obj0 
= 0 ; 
8416         (char *) "self", NULL 
 
8419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
8420     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8421     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8424         result 
= (bool)(arg1
)->IsPassingMessages(); 
8426         wxPyEndAllowThreads(__tstate
); 
8427         if (PyErr_Occurred()) SWIG_fail
; 
8430         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8438 static PyObject 
*_wrap_LogChain_GetOldLog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8439     PyObject 
*resultobj
; 
8440     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8442     PyObject 
* obj0 
= 0 ; 
8444         (char *) "self", NULL 
 
8447     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
; 
8448     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8449     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8452         result 
= (wxLog 
*)(arg1
)->GetOldLog(); 
8454         wxPyEndAllowThreads(__tstate
); 
8455         if (PyErr_Occurred()) SWIG_fail
; 
8457     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
8464 static PyObject 
* LogChain_swigregister(PyObject 
*, PyObject 
*args
) { 
8466     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8467     SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
); 
8469     return Py_BuildValue((char *)""); 
8471 static PyObject 
*_wrap_SysErrorCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8472     PyObject 
*resultobj
; 
8473     unsigned long result
; 
8478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
; 
8480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8481         result 
= (unsigned long)wxSysErrorCode(); 
8483         wxPyEndAllowThreads(__tstate
); 
8484         if (PyErr_Occurred()) SWIG_fail
; 
8486     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
8493 static PyObject 
*_wrap_SysErrorMsg(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8494     PyObject 
*resultobj
; 
8495     unsigned long arg1 
= (unsigned long) 0 ; 
8497     PyObject 
* obj0 
= 0 ; 
8499         (char *) "nErrCode", NULL 
 
8502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
; 
8504         arg1 
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);  
8505         if (PyErr_Occurred()) SWIG_fail
; 
8508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8509         result 
= wxSysErrorMsg(arg1
); 
8511         wxPyEndAllowThreads(__tstate
); 
8512         if (PyErr_Occurred()) SWIG_fail
; 
8516         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8518         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8527 static PyObject 
*_wrap_LogFatalError(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8528     PyObject 
*resultobj
; 
8529     wxString 
*arg1 
= 0 ; 
8530     bool temp1 
= False 
; 
8531     PyObject 
* obj0 
= 0 ; 
8533         (char *) "msg", NULL 
 
8536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
; 
8538         arg1 
= wxString_in_helper(obj0
); 
8539         if (arg1 
== NULL
) SWIG_fail
; 
8543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8544         wxLogFatalError((wxString 
const &)*arg1
); 
8546         wxPyEndAllowThreads(__tstate
); 
8547         if (PyErr_Occurred()) SWIG_fail
; 
8549     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8564 static PyObject 
*_wrap_LogError(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8565     PyObject 
*resultobj
; 
8566     wxString 
*arg1 
= 0 ; 
8567     bool temp1 
= False 
; 
8568     PyObject 
* obj0 
= 0 ; 
8570         (char *) "msg", NULL 
 
8573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
; 
8575         arg1 
= wxString_in_helper(obj0
); 
8576         if (arg1 
== NULL
) SWIG_fail
; 
8580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8581         wxLogError((wxString 
const &)*arg1
); 
8583         wxPyEndAllowThreads(__tstate
); 
8584         if (PyErr_Occurred()) SWIG_fail
; 
8586     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8601 static PyObject 
*_wrap_LogWarning(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8602     PyObject 
*resultobj
; 
8603     wxString 
*arg1 
= 0 ; 
8604     bool temp1 
= False 
; 
8605     PyObject 
* obj0 
= 0 ; 
8607         (char *) "msg", NULL 
 
8610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
; 
8612         arg1 
= wxString_in_helper(obj0
); 
8613         if (arg1 
== NULL
) SWIG_fail
; 
8617         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8618         wxLogWarning((wxString 
const &)*arg1
); 
8620         wxPyEndAllowThreads(__tstate
); 
8621         if (PyErr_Occurred()) SWIG_fail
; 
8623     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8638 static PyObject 
*_wrap_LogMessage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8639     PyObject 
*resultobj
; 
8640     wxString 
*arg1 
= 0 ; 
8641     bool temp1 
= False 
; 
8642     PyObject 
* obj0 
= 0 ; 
8644         (char *) "msg", NULL 
 
8647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
; 
8649         arg1 
= wxString_in_helper(obj0
); 
8650         if (arg1 
== NULL
) SWIG_fail
; 
8654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8655         wxLogMessage((wxString 
const &)*arg1
); 
8657         wxPyEndAllowThreads(__tstate
); 
8658         if (PyErr_Occurred()) SWIG_fail
; 
8660     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8675 static PyObject 
*_wrap_LogInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8676     PyObject 
*resultobj
; 
8677     wxString 
*arg1 
= 0 ; 
8678     bool temp1 
= False 
; 
8679     PyObject 
* obj0 
= 0 ; 
8681         (char *) "msg", NULL 
 
8684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
; 
8686         arg1 
= wxString_in_helper(obj0
); 
8687         if (arg1 
== NULL
) SWIG_fail
; 
8691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8692         wxLogInfo((wxString 
const &)*arg1
); 
8694         wxPyEndAllowThreads(__tstate
); 
8695         if (PyErr_Occurred()) SWIG_fail
; 
8697     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8712 static PyObject 
*_wrap_LogDebug(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8713     PyObject 
*resultobj
; 
8714     wxString 
*arg1 
= 0 ; 
8715     bool temp1 
= False 
; 
8716     PyObject 
* obj0 
= 0 ; 
8718         (char *) "msg", NULL 
 
8721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
; 
8723         arg1 
= wxString_in_helper(obj0
); 
8724         if (arg1 
== NULL
) SWIG_fail
; 
8728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8729         wxLogDebug((wxString 
const &)*arg1
); 
8731         wxPyEndAllowThreads(__tstate
); 
8732         if (PyErr_Occurred()) SWIG_fail
; 
8734     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8749 static PyObject 
*_wrap_LogVerbose(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8750     PyObject 
*resultobj
; 
8751     wxString 
*arg1 
= 0 ; 
8752     bool temp1 
= False 
; 
8753     PyObject 
* obj0 
= 0 ; 
8755         (char *) "msg", NULL 
 
8758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
; 
8760         arg1 
= wxString_in_helper(obj0
); 
8761         if (arg1 
== NULL
) SWIG_fail
; 
8765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8766         wxLogVerbose((wxString 
const &)*arg1
); 
8768         wxPyEndAllowThreads(__tstate
); 
8769         if (PyErr_Occurred()) SWIG_fail
; 
8771     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8786 static PyObject 
*_wrap_LogStatus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8787     PyObject 
*resultobj
; 
8788     wxString 
*arg1 
= 0 ; 
8789     bool temp1 
= False 
; 
8790     PyObject 
* obj0 
= 0 ; 
8792         (char *) "msg", NULL 
 
8795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
; 
8797         arg1 
= wxString_in_helper(obj0
); 
8798         if (arg1 
== NULL
) SWIG_fail
; 
8802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8803         wxLogStatus((wxString 
const &)*arg1
); 
8805         wxPyEndAllowThreads(__tstate
); 
8806         if (PyErr_Occurred()) SWIG_fail
; 
8808     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8823 static PyObject 
*_wrap_LogStatusFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8824     PyObject 
*resultobj
; 
8825     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
8826     wxString 
*arg2 
= 0 ; 
8827     bool temp2 
= False 
; 
8828     PyObject 
* obj0 
= 0 ; 
8829     PyObject 
* obj1 
= 0 ; 
8831         (char *) "pFrame",(char *) "msg", NULL 
 
8834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
8835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
8836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8838         arg2 
= wxString_in_helper(obj1
); 
8839         if (arg2 
== NULL
) SWIG_fail
; 
8843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8844         wxLogStatus(arg1
,(wxString 
const &)*arg2
); 
8846         wxPyEndAllowThreads(__tstate
); 
8847         if (PyErr_Occurred()) SWIG_fail
; 
8849     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8864 static PyObject 
*_wrap_LogSysError(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8865     PyObject 
*resultobj
; 
8866     wxString 
*arg1 
= 0 ; 
8867     bool temp1 
= False 
; 
8868     PyObject 
* obj0 
= 0 ; 
8870         (char *) "msg", NULL 
 
8873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
; 
8875         arg1 
= wxString_in_helper(obj0
); 
8876         if (arg1 
== NULL
) SWIG_fail
; 
8880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8881         wxLogSysError((wxString 
const &)*arg1
); 
8883         wxPyEndAllowThreads(__tstate
); 
8884         if (PyErr_Occurred()) SWIG_fail
; 
8886     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8901 static PyObject 
*_wrap_LogTrace__SWIG_0(PyObject 
*, PyObject 
*args
) { 
8902     PyObject 
*resultobj
; 
8903     unsigned long arg1 
; 
8904     wxString 
*arg2 
= 0 ; 
8905     bool temp2 
= False 
; 
8906     PyObject 
* obj0 
= 0 ; 
8907     PyObject 
* obj1 
= 0 ; 
8909     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8910     arg1 
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);  
8911     if (PyErr_Occurred()) SWIG_fail
; 
8913         arg2 
= wxString_in_helper(obj1
); 
8914         if (arg2 
== NULL
) SWIG_fail
; 
8918         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8919         wxLogTrace(arg1
,(wxString 
const &)*arg2
); 
8921         wxPyEndAllowThreads(__tstate
); 
8922         if (PyErr_Occurred()) SWIG_fail
; 
8924     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8939 static PyObject 
*_wrap_LogTrace__SWIG_1(PyObject 
*, PyObject 
*args
) { 
8940     PyObject 
*resultobj
; 
8941     wxString 
*arg1 
= 0 ; 
8942     wxString 
*arg2 
= 0 ; 
8943     bool temp1 
= False 
; 
8944     bool temp2 
= False 
; 
8945     PyObject 
* obj0 
= 0 ; 
8946     PyObject 
* obj1 
= 0 ; 
8948     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8950         arg1 
= wxString_in_helper(obj0
); 
8951         if (arg1 
== NULL
) SWIG_fail
; 
8955         arg2 
= wxString_in_helper(obj1
); 
8956         if (arg2 
== NULL
) SWIG_fail
; 
8960         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8961         wxLogTrace((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
8963         wxPyEndAllowThreads(__tstate
); 
8964         if (PyErr_Occurred()) SWIG_fail
; 
8966     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8989 static PyObject 
*_wrap_LogTrace(PyObject 
*self
, PyObject 
*args
) { 
8994     argc 
= PyObject_Length(args
); 
8995     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
8996         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
9001             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
9005                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
9008                 return _wrap_LogTrace__SWIG_1(self
,args
); 
9014         _v 
= SWIG_Check_unsigned_SS_long(argv
[0]); 
9017                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
9020                 return _wrap_LogTrace__SWIG_0(self
,args
); 
9025     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'"); 
9030 static PyObject 
*_wrap_LogGeneric(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9031     PyObject 
*resultobj
; 
9032     unsigned long arg1 
; 
9033     wxString 
*arg2 
= 0 ; 
9034     bool temp2 
= False 
; 
9035     PyObject 
* obj0 
= 0 ; 
9036     PyObject 
* obj1 
= 0 ; 
9038         (char *) "level",(char *) "msg", NULL 
 
9041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
; 
9042     arg1 
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);  
9043     if (PyErr_Occurred()) SWIG_fail
; 
9045         arg2 
= wxString_in_helper(obj1
); 
9046         if (arg2 
== NULL
) SWIG_fail
; 
9050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9051         wxLogGeneric(arg1
,(wxString 
const &)*arg2
); 
9053         wxPyEndAllowThreads(__tstate
); 
9054         if (PyErr_Occurred()) SWIG_fail
; 
9056     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9071 static PyObject 
*_wrap_SafeShowMessage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9072     PyObject 
*resultobj
; 
9073     wxString 
*arg1 
= 0 ; 
9074     wxString 
*arg2 
= 0 ; 
9075     bool temp1 
= False 
; 
9076     bool temp2 
= False 
; 
9077     PyObject 
* obj0 
= 0 ; 
9078     PyObject 
* obj1 
= 0 ; 
9080         (char *) "title",(char *) "text", NULL 
 
9083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
; 
9085         arg1 
= wxString_in_helper(obj0
); 
9086         if (arg1 
== NULL
) SWIG_fail
; 
9090         arg2 
= wxString_in_helper(obj1
); 
9091         if (arg2 
== NULL
) SWIG_fail
; 
9095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9096         wxSafeShowMessage((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
9098         wxPyEndAllowThreads(__tstate
); 
9099         if (PyErr_Occurred()) SWIG_fail
; 
9101     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9124 static PyObject 
*_wrap_new_LogNull(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9125     PyObject 
*resultobj
; 
9131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
; 
9133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9134         result 
= (wxLogNull 
*)new wxLogNull(); 
9136         wxPyEndAllowThreads(__tstate
); 
9137         if (PyErr_Occurred()) SWIG_fail
; 
9139     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1); 
9146 static PyObject 
*_wrap_delete_LogNull(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9147     PyObject 
*resultobj
; 
9148     wxLogNull 
*arg1 
= (wxLogNull 
*) 0 ; 
9149     PyObject 
* obj0 
= 0 ; 
9151         (char *) "self", NULL 
 
9154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
; 
9155     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
, 
9156     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9158         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9161         wxPyEndAllowThreads(__tstate
); 
9162         if (PyErr_Occurred()) SWIG_fail
; 
9164     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9171 static PyObject 
* LogNull_swigregister(PyObject 
*, PyObject 
*args
) { 
9173     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9174     SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
); 
9176     return Py_BuildValue((char *)""); 
9178 static PyObject 
*_wrap_new_PyLog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9179     PyObject 
*resultobj
; 
9185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
; 
9187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9188         result 
= (wxPyLog 
*)new wxPyLog(); 
9190         wxPyEndAllowThreads(__tstate
); 
9191         if (PyErr_Occurred()) SWIG_fail
; 
9193     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1); 
9200 static PyObject 
*_wrap_PyLog__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9201     PyObject 
*resultobj
; 
9202     wxPyLog 
*arg1 
= (wxPyLog 
*) 0 ; 
9203     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9204     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9205     PyObject 
* obj0 
= 0 ; 
9206     PyObject 
* obj1 
= 0 ; 
9207     PyObject 
* obj2 
= 0 ; 
9209         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9213     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
, 
9214     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9219         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
9221         wxPyEndAllowThreads(__tstate
); 
9222         if (PyErr_Occurred()) SWIG_fail
; 
9224     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9231 static PyObject 
* PyLog_swigregister(PyObject 
*, PyObject 
*args
) { 
9233     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9234     SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
); 
9236     return Py_BuildValue((char *)""); 
9238 static PyObject 
*_wrap_Process_Kill(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9239     PyObject 
*resultobj
; 
9241     int arg2 
= (int) wxSIGTERM 
; 
9243     PyObject 
* obj0 
= 0 ; 
9244     PyObject 
* obj1 
= 0 ; 
9246         (char *) "pid",(char *) "sig", NULL 
 
9249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
; 
9250     arg1 
= (int)SWIG_As_int(obj0
);  
9251     if (PyErr_Occurred()) SWIG_fail
; 
9253         arg2 
= (int)SWIG_As_int(obj1
);  
9254         if (PyErr_Occurred()) SWIG_fail
; 
9257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9258         result 
= (int)wxPyProcess::Kill(arg1
,(wxSignal 
)arg2
); 
9260         wxPyEndAllowThreads(__tstate
); 
9261         if (PyErr_Occurred()) SWIG_fail
; 
9263     resultobj 
= SWIG_From_int((int)result
); 
9270 static PyObject 
*_wrap_Process_Exists(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9271     PyObject 
*resultobj
; 
9274     PyObject 
* obj0 
= 0 ; 
9276         (char *) "pid", NULL 
 
9279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
; 
9280     arg1 
= (int)SWIG_As_int(obj0
);  
9281     if (PyErr_Occurred()) SWIG_fail
; 
9283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9284         result 
= (bool)wxPyProcess::Exists(arg1
); 
9286         wxPyEndAllowThreads(__tstate
); 
9287         if (PyErr_Occurred()) SWIG_fail
; 
9290         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9298 static PyObject 
*_wrap_Process_Open(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9299     PyObject 
*resultobj
; 
9300     wxString 
*arg1 
= 0 ; 
9301     int arg2 
= (int) wxEXEC_ASYNC 
; 
9302     wxPyProcess 
*result
; 
9303     bool temp1 
= False 
; 
9304     PyObject 
* obj0 
= 0 ; 
9305     PyObject 
* obj1 
= 0 ; 
9307         (char *) "cmd",(char *) "flags", NULL 
 
9310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
; 
9312         arg1 
= wxString_in_helper(obj0
); 
9313         if (arg1 
== NULL
) SWIG_fail
; 
9317         arg2 
= (int)SWIG_As_int(obj1
);  
9318         if (PyErr_Occurred()) SWIG_fail
; 
9321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9322         result 
= (wxPyProcess 
*)wxPyProcess::Open((wxString 
const &)*arg1
,arg2
); 
9324         wxPyEndAllowThreads(__tstate
); 
9325         if (PyErr_Occurred()) SWIG_fail
; 
9327     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0); 
9342 static PyObject 
*_wrap_new_Process(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9343     PyObject 
*resultobj
; 
9344     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
9345     int arg2 
= (int) -1 ; 
9346     wxPyProcess 
*result
; 
9347     PyObject 
* obj0 
= 0 ; 
9348     PyObject 
* obj1 
= 0 ; 
9350         (char *) "parent",(char *) "id", NULL 
 
9353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
; 
9355         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
9356         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9359         arg2 
= (int)SWIG_As_int(obj1
);  
9360         if (PyErr_Occurred()) SWIG_fail
; 
9363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9364         result 
= (wxPyProcess 
*)new wxPyProcess(arg1
,arg2
); 
9366         wxPyEndAllowThreads(__tstate
); 
9367         if (PyErr_Occurred()) SWIG_fail
; 
9369     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1); 
9376 static PyObject 
*_wrap_Process__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9377     PyObject 
*resultobj
; 
9378     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9379     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9380     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9381     PyObject 
* obj0 
= 0 ; 
9382     PyObject 
* obj1 
= 0 ; 
9383     PyObject 
* obj2 
= 0 ; 
9385         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9389     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9394         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9395         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
9397         wxPyEndAllowThreads(__tstate
); 
9398         if (PyErr_Occurred()) SWIG_fail
; 
9400     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9407 static PyObject 
*_wrap_Process_base_OnTerminate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9408     PyObject 
*resultobj
; 
9409     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9412     PyObject 
* obj0 
= 0 ; 
9413     PyObject 
* obj1 
= 0 ; 
9414     PyObject 
* obj2 
= 0 ; 
9416         (char *) "self",(char *) "pid",(char *) "status", NULL 
 
9419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9420     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9421     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9422     arg2 
= (int)SWIG_As_int(obj1
);  
9423     if (PyErr_Occurred()) SWIG_fail
; 
9424     arg3 
= (int)SWIG_As_int(obj2
);  
9425     if (PyErr_Occurred()) SWIG_fail
; 
9427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9428         (arg1
)->base_OnTerminate(arg2
,arg3
); 
9430         wxPyEndAllowThreads(__tstate
); 
9431         if (PyErr_Occurred()) SWIG_fail
; 
9433     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9440 static PyObject 
*_wrap_Process_Redirect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9441     PyObject 
*resultobj
; 
9442     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9443     PyObject 
* obj0 
= 0 ; 
9445         (char *) "self", NULL 
 
9448     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
; 
9449     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9450     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9455         wxPyEndAllowThreads(__tstate
); 
9456         if (PyErr_Occurred()) SWIG_fail
; 
9458     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9465 static PyObject 
*_wrap_Process_IsRedirected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9466     PyObject 
*resultobj
; 
9467     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9469     PyObject 
* obj0 
= 0 ; 
9471         (char *) "self", NULL 
 
9474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
; 
9475     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9476     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9479         result 
= (bool)(arg1
)->IsRedirected(); 
9481         wxPyEndAllowThreads(__tstate
); 
9482         if (PyErr_Occurred()) SWIG_fail
; 
9485         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9493 static PyObject 
*_wrap_Process_Detach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9494     PyObject 
*resultobj
; 
9495     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9496     PyObject 
* obj0 
= 0 ; 
9498         (char *) "self", NULL 
 
9501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
; 
9502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9508         wxPyEndAllowThreads(__tstate
); 
9509         if (PyErr_Occurred()) SWIG_fail
; 
9511     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9518 static PyObject 
*_wrap_Process_GetInputStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9519     PyObject 
*resultobj
; 
9520     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9521     wxInputStream 
*result
; 
9522     PyObject 
* obj0 
= 0 ; 
9524         (char *) "self", NULL 
 
9527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
; 
9528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9531         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9532         result 
= (wxInputStream 
*)(arg1
)->GetInputStream(); 
9534         wxPyEndAllowThreads(__tstate
); 
9535         if (PyErr_Occurred()) SWIG_fail
; 
9538         wxPyInputStream 
* _ptr 
= NULL
; 
9541             _ptr 
= new wxPyInputStream(result
); 
9543         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9551 static PyObject 
*_wrap_Process_GetErrorStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9552     PyObject 
*resultobj
; 
9553     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9554     wxInputStream 
*result
; 
9555     PyObject 
* obj0 
= 0 ; 
9557         (char *) "self", NULL 
 
9560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
; 
9561     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9562     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9565         result 
= (wxInputStream 
*)(arg1
)->GetErrorStream(); 
9567         wxPyEndAllowThreads(__tstate
); 
9568         if (PyErr_Occurred()) SWIG_fail
; 
9571         wxPyInputStream 
* _ptr 
= NULL
; 
9574             _ptr 
= new wxPyInputStream(result
); 
9576         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9584 static PyObject 
*_wrap_Process_GetOutputStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9585     PyObject 
*resultobj
; 
9586     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9587     wxOutputStream 
*result
; 
9588     PyObject 
* obj0 
= 0 ; 
9590         (char *) "self", NULL 
 
9593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
; 
9594     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9595     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9598         result 
= (wxOutputStream 
*)(arg1
)->GetOutputStream(); 
9600         wxPyEndAllowThreads(__tstate
); 
9601         if (PyErr_Occurred()) SWIG_fail
; 
9603     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0); 
9610 static PyObject 
*_wrap_Process_CloseOutput(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9611     PyObject 
*resultobj
; 
9612     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9613     PyObject 
* obj0 
= 0 ; 
9615         (char *) "self", NULL 
 
9618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
; 
9619     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9623         (arg1
)->CloseOutput(); 
9625         wxPyEndAllowThreads(__tstate
); 
9626         if (PyErr_Occurred()) SWIG_fail
; 
9628     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9635 static PyObject 
*_wrap_Process_IsInputOpened(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9636     PyObject 
*resultobj
; 
9637     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9639     PyObject 
* obj0 
= 0 ; 
9641         (char *) "self", NULL 
 
9644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
; 
9645     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9646     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9649         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputOpened(); 
9651         wxPyEndAllowThreads(__tstate
); 
9652         if (PyErr_Occurred()) SWIG_fail
; 
9655         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9663 static PyObject 
*_wrap_Process_IsInputAvailable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9664     PyObject 
*resultobj
; 
9665     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9667     PyObject 
* obj0 
= 0 ; 
9669         (char *) "self", NULL 
 
9672     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
; 
9673     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9674     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9676         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9677         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputAvailable(); 
9679         wxPyEndAllowThreads(__tstate
); 
9680         if (PyErr_Occurred()) SWIG_fail
; 
9683         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9691 static PyObject 
*_wrap_Process_IsErrorAvailable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9692     PyObject 
*resultobj
; 
9693     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9695     PyObject 
* obj0 
= 0 ; 
9697         (char *) "self", NULL 
 
9700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
; 
9701     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9702     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9705         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsErrorAvailable(); 
9707         wxPyEndAllowThreads(__tstate
); 
9708         if (PyErr_Occurred()) SWIG_fail
; 
9711         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9719 static PyObject 
* Process_swigregister(PyObject 
*, PyObject 
*args
) { 
9721     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9722     SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
); 
9724     return Py_BuildValue((char *)""); 
9726 static PyObject 
*_wrap_new_ProcessEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9727     PyObject 
*resultobj
; 
9728     int arg1 
= (int) 0 ; 
9729     int arg2 
= (int) 0 ; 
9730     int arg3 
= (int) 0 ; 
9731     wxProcessEvent 
*result
; 
9732     PyObject 
* obj0 
= 0 ; 
9733     PyObject 
* obj1 
= 0 ; 
9734     PyObject 
* obj2 
= 0 ; 
9736         (char *) "id",(char *) "pid",(char *) "exitcode", NULL 
 
9739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9741         arg1 
= (int)SWIG_As_int(obj0
);  
9742         if (PyErr_Occurred()) SWIG_fail
; 
9745         arg2 
= (int)SWIG_As_int(obj1
);  
9746         if (PyErr_Occurred()) SWIG_fail
; 
9749         arg3 
= (int)SWIG_As_int(obj2
);  
9750         if (PyErr_Occurred()) SWIG_fail
; 
9753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9754         result 
= (wxProcessEvent 
*)new wxProcessEvent(arg1
,arg2
,arg3
); 
9756         wxPyEndAllowThreads(__tstate
); 
9757         if (PyErr_Occurred()) SWIG_fail
; 
9759     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1); 
9766 static PyObject 
*_wrap_ProcessEvent_GetPid(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9767     PyObject 
*resultobj
; 
9768     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9770     PyObject 
* obj0 
= 0 ; 
9772         (char *) "self", NULL 
 
9775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
; 
9776     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9780         result 
= (int)(arg1
)->GetPid(); 
9782         wxPyEndAllowThreads(__tstate
); 
9783         if (PyErr_Occurred()) SWIG_fail
; 
9785     resultobj 
= SWIG_From_int((int)result
); 
9792 static PyObject 
*_wrap_ProcessEvent_GetExitCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9793     PyObject 
*resultobj
; 
9794     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9796     PyObject 
* obj0 
= 0 ; 
9798         (char *) "self", NULL 
 
9801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
; 
9802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9806         result 
= (int)(arg1
)->GetExitCode(); 
9808         wxPyEndAllowThreads(__tstate
); 
9809         if (PyErr_Occurred()) SWIG_fail
; 
9811     resultobj 
= SWIG_From_int((int)result
); 
9818 static PyObject 
*_wrap_ProcessEvent_m_pid_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9819     PyObject 
*resultobj
; 
9820     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9822     PyObject 
* obj0 
= 0 ; 
9823     PyObject 
* obj1 
= 0 ; 
9825         (char *) "self",(char *) "m_pid", NULL 
 
9828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9829     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9830     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9831     arg2 
= (int)SWIG_As_int(obj1
);  
9832     if (PyErr_Occurred()) SWIG_fail
; 
9833     if (arg1
) (arg1
)->m_pid 
= arg2
; 
9835     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9842 static PyObject 
*_wrap_ProcessEvent_m_pid_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9843     PyObject 
*resultobj
; 
9844     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9846     PyObject 
* obj0 
= 0 ; 
9848         (char *) "self", NULL 
 
9851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
; 
9852     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9853     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9854     result 
= (int) ((arg1
)->m_pid
); 
9856     resultobj 
= SWIG_From_int((int)result
); 
9863 static PyObject 
*_wrap_ProcessEvent_m_exitcode_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9864     PyObject 
*resultobj
; 
9865     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9867     PyObject 
* obj0 
= 0 ; 
9868     PyObject 
* obj1 
= 0 ; 
9870         (char *) "self",(char *) "m_exitcode", NULL 
 
9873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9874     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9875     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9876     arg2 
= (int)SWIG_As_int(obj1
);  
9877     if (PyErr_Occurred()) SWIG_fail
; 
9878     if (arg1
) (arg1
)->m_exitcode 
= arg2
; 
9880     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9887 static PyObject 
*_wrap_ProcessEvent_m_exitcode_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9888     PyObject 
*resultobj
; 
9889     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9891     PyObject 
* obj0 
= 0 ; 
9893         (char *) "self", NULL 
 
9896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
; 
9897     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9898     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9899     result 
= (int) ((arg1
)->m_exitcode
); 
9901     resultobj 
= SWIG_From_int((int)result
); 
9908 static PyObject 
* ProcessEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
9910     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9911     SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
); 
9913     return Py_BuildValue((char *)""); 
9915 static PyObject 
*_wrap_Execute(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9916     PyObject 
*resultobj
; 
9917     wxString 
*arg1 
= 0 ; 
9918     int arg2 
= (int) wxEXEC_ASYNC 
; 
9919     wxPyProcess 
*arg3 
= (wxPyProcess 
*) NULL 
; 
9921     bool temp1 
= False 
; 
9922     PyObject 
* obj0 
= 0 ; 
9923     PyObject 
* obj1 
= 0 ; 
9924     PyObject 
* obj2 
= 0 ; 
9926         (char *) "command",(char *) "flags",(char *) "process", NULL 
 
9929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9931         arg1 
= wxString_in_helper(obj0
); 
9932         if (arg1 
== NULL
) SWIG_fail
; 
9936         arg2 
= (int)SWIG_As_int(obj1
);  
9937         if (PyErr_Occurred()) SWIG_fail
; 
9940         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
, 
9941         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9944         if (!wxPyCheckForApp()) SWIG_fail
; 
9945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9946         result 
= (long)wxExecute((wxString 
const &)*arg1
,arg2
,arg3
); 
9948         wxPyEndAllowThreads(__tstate
); 
9949         if (PyErr_Occurred()) SWIG_fail
; 
9951     resultobj 
= SWIG_From_long((long)result
); 
9966 static PyObject 
*_wrap_new_Joystick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9967     PyObject 
*resultobj
; 
9968     int arg1 
= (int) wxJOYSTICK1 
; 
9970     PyObject 
* obj0 
= 0 ; 
9972         (char *) "joystick", NULL 
 
9975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
; 
9977         arg1 
= (int)SWIG_As_int(obj0
);  
9978         if (PyErr_Occurred()) SWIG_fail
; 
9981         if (!wxPyCheckForApp()) SWIG_fail
; 
9982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9983         result 
= (wxJoystick 
*)new wxJoystick(arg1
); 
9985         wxPyEndAllowThreads(__tstate
); 
9986         if (PyErr_Occurred()) SWIG_fail
; 
9988     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1); 
9995 static PyObject 
*_wrap_delete_Joystick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9996     PyObject 
*resultobj
; 
9997     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9998     PyObject 
* obj0 
= 0 ; 
10000         (char *) "self", NULL 
 
10003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
; 
10004     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10005     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10010         wxPyEndAllowThreads(__tstate
); 
10011         if (PyErr_Occurred()) SWIG_fail
; 
10013     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10020 static PyObject 
*_wrap_Joystick_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10021     PyObject 
*resultobj
; 
10022     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10024     PyObject 
* obj0 
= 0 ; 
10025     char *kwnames
[] = { 
10026         (char *) "self", NULL 
 
10029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
; 
10030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10034         result 
= (arg1
)->GetPosition(); 
10036         wxPyEndAllowThreads(__tstate
); 
10037         if (PyErr_Occurred()) SWIG_fail
; 
10040         wxPoint 
* resultptr
; 
10041         resultptr 
= new wxPoint((wxPoint 
&) result
); 
10042         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
10050 static PyObject 
*_wrap_Joystick_GetZPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10051     PyObject 
*resultobj
; 
10052     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10054     PyObject 
* obj0 
= 0 ; 
10055     char *kwnames
[] = { 
10056         (char *) "self", NULL 
 
10059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
; 
10060     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10061     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10064         result 
= (int)(arg1
)->GetZPosition(); 
10066         wxPyEndAllowThreads(__tstate
); 
10067         if (PyErr_Occurred()) SWIG_fail
; 
10069     resultobj 
= SWIG_From_int((int)result
); 
10076 static PyObject 
*_wrap_Joystick_GetButtonState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10077     PyObject 
*resultobj
; 
10078     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10080     PyObject 
* obj0 
= 0 ; 
10081     char *kwnames
[] = { 
10082         (char *) "self", NULL 
 
10085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
; 
10086     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10090         result 
= (int)(arg1
)->GetButtonState(); 
10092         wxPyEndAllowThreads(__tstate
); 
10093         if (PyErr_Occurred()) SWIG_fail
; 
10095     resultobj 
= SWIG_From_int((int)result
); 
10102 static PyObject 
*_wrap_Joystick_GetPOVPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10103     PyObject 
*resultobj
; 
10104     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10106     PyObject 
* obj0 
= 0 ; 
10107     char *kwnames
[] = { 
10108         (char *) "self", NULL 
 
10111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
; 
10112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10116         result 
= (int)(arg1
)->GetPOVPosition(); 
10118         wxPyEndAllowThreads(__tstate
); 
10119         if (PyErr_Occurred()) SWIG_fail
; 
10121     resultobj 
= SWIG_From_int((int)result
); 
10128 static PyObject 
*_wrap_Joystick_GetPOVCTSPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10129     PyObject 
*resultobj
; 
10130     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10132     PyObject 
* obj0 
= 0 ; 
10133     char *kwnames
[] = { 
10134         (char *) "self", NULL 
 
10137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
; 
10138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10142         result 
= (int)(arg1
)->GetPOVCTSPosition(); 
10144         wxPyEndAllowThreads(__tstate
); 
10145         if (PyErr_Occurred()) SWIG_fail
; 
10147     resultobj 
= SWIG_From_int((int)result
); 
10154 static PyObject 
*_wrap_Joystick_GetRudderPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10155     PyObject 
*resultobj
; 
10156     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10158     PyObject 
* obj0 
= 0 ; 
10159     char *kwnames
[] = { 
10160         (char *) "self", NULL 
 
10163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
; 
10164     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10165     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10168         result 
= (int)(arg1
)->GetRudderPosition(); 
10170         wxPyEndAllowThreads(__tstate
); 
10171         if (PyErr_Occurred()) SWIG_fail
; 
10173     resultobj 
= SWIG_From_int((int)result
); 
10180 static PyObject 
*_wrap_Joystick_GetUPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10181     PyObject 
*resultobj
; 
10182     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10184     PyObject 
* obj0 
= 0 ; 
10185     char *kwnames
[] = { 
10186         (char *) "self", NULL 
 
10189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
; 
10190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10194         result 
= (int)(arg1
)->GetUPosition(); 
10196         wxPyEndAllowThreads(__tstate
); 
10197         if (PyErr_Occurred()) SWIG_fail
; 
10199     resultobj 
= SWIG_From_int((int)result
); 
10206 static PyObject 
*_wrap_Joystick_GetVPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10207     PyObject 
*resultobj
; 
10208     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10210     PyObject 
* obj0 
= 0 ; 
10211     char *kwnames
[] = { 
10212         (char *) "self", NULL 
 
10215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
; 
10216     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10217     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10220         result 
= (int)(arg1
)->GetVPosition(); 
10222         wxPyEndAllowThreads(__tstate
); 
10223         if (PyErr_Occurred()) SWIG_fail
; 
10225     resultobj 
= SWIG_From_int((int)result
); 
10232 static PyObject 
*_wrap_Joystick_GetMovementThreshold(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10233     PyObject 
*resultobj
; 
10234     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10236     PyObject 
* obj0 
= 0 ; 
10237     char *kwnames
[] = { 
10238         (char *) "self", NULL 
 
10241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
; 
10242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10246         result 
= (int)(arg1
)->GetMovementThreshold(); 
10248         wxPyEndAllowThreads(__tstate
); 
10249         if (PyErr_Occurred()) SWIG_fail
; 
10251     resultobj 
= SWIG_From_int((int)result
); 
10258 static PyObject 
*_wrap_Joystick_SetMovementThreshold(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10259     PyObject 
*resultobj
; 
10260     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10262     PyObject 
* obj0 
= 0 ; 
10263     PyObject 
* obj1 
= 0 ; 
10264     char *kwnames
[] = { 
10265         (char *) "self",(char *) "threshold", NULL 
 
10268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
; 
10269     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10270     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10271     arg2 
= (int)SWIG_As_int(obj1
);  
10272     if (PyErr_Occurred()) SWIG_fail
; 
10274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10275         (arg1
)->SetMovementThreshold(arg2
); 
10277         wxPyEndAllowThreads(__tstate
); 
10278         if (PyErr_Occurred()) SWIG_fail
; 
10280     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10287 static PyObject 
*_wrap_Joystick_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10288     PyObject 
*resultobj
; 
10289     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10291     PyObject 
* obj0 
= 0 ; 
10292     char *kwnames
[] = { 
10293         (char *) "self", NULL 
 
10296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
; 
10297     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10298     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10301         result 
= (bool)(arg1
)->IsOk(); 
10303         wxPyEndAllowThreads(__tstate
); 
10304         if (PyErr_Occurred()) SWIG_fail
; 
10307         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10315 static PyObject 
*_wrap_Joystick_GetNumberJoysticks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10316     PyObject 
*resultobj
; 
10317     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10319     PyObject 
* obj0 
= 0 ; 
10320     char *kwnames
[] = { 
10321         (char *) "self", NULL 
 
10324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
; 
10325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10329         result 
= (int)(arg1
)->GetNumberJoysticks(); 
10331         wxPyEndAllowThreads(__tstate
); 
10332         if (PyErr_Occurred()) SWIG_fail
; 
10334     resultobj 
= SWIG_From_int((int)result
); 
10341 static PyObject 
*_wrap_Joystick_GetManufacturerId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10342     PyObject 
*resultobj
; 
10343     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10345     PyObject 
* obj0 
= 0 ; 
10346     char *kwnames
[] = { 
10347         (char *) "self", NULL 
 
10350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
; 
10351     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10355         result 
= (int)(arg1
)->GetManufacturerId(); 
10357         wxPyEndAllowThreads(__tstate
); 
10358         if (PyErr_Occurred()) SWIG_fail
; 
10360     resultobj 
= SWIG_From_int((int)result
); 
10367 static PyObject 
*_wrap_Joystick_GetProductId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10368     PyObject 
*resultobj
; 
10369     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10371     PyObject 
* obj0 
= 0 ; 
10372     char *kwnames
[] = { 
10373         (char *) "self", NULL 
 
10376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
; 
10377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10381         result 
= (int)(arg1
)->GetProductId(); 
10383         wxPyEndAllowThreads(__tstate
); 
10384         if (PyErr_Occurred()) SWIG_fail
; 
10386     resultobj 
= SWIG_From_int((int)result
); 
10393 static PyObject 
*_wrap_Joystick_GetProductName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10394     PyObject 
*resultobj
; 
10395     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10397     PyObject 
* obj0 
= 0 ; 
10398     char *kwnames
[] = { 
10399         (char *) "self", NULL 
 
10402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
; 
10403     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10404     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10406         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10407         result 
= (arg1
)->GetProductName(); 
10409         wxPyEndAllowThreads(__tstate
); 
10410         if (PyErr_Occurred()) SWIG_fail
; 
10414         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10416         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10425 static PyObject 
*_wrap_Joystick_GetXMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10426     PyObject 
*resultobj
; 
10427     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10429     PyObject 
* obj0 
= 0 ; 
10430     char *kwnames
[] = { 
10431         (char *) "self", NULL 
 
10434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
; 
10435     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10436     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10439         result 
= (int)(arg1
)->GetXMin(); 
10441         wxPyEndAllowThreads(__tstate
); 
10442         if (PyErr_Occurred()) SWIG_fail
; 
10444     resultobj 
= SWIG_From_int((int)result
); 
10451 static PyObject 
*_wrap_Joystick_GetYMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10452     PyObject 
*resultobj
; 
10453     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10455     PyObject 
* obj0 
= 0 ; 
10456     char *kwnames
[] = { 
10457         (char *) "self", NULL 
 
10460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
; 
10461     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10465         result 
= (int)(arg1
)->GetYMin(); 
10467         wxPyEndAllowThreads(__tstate
); 
10468         if (PyErr_Occurred()) SWIG_fail
; 
10470     resultobj 
= SWIG_From_int((int)result
); 
10477 static PyObject 
*_wrap_Joystick_GetZMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10478     PyObject 
*resultobj
; 
10479     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10481     PyObject 
* obj0 
= 0 ; 
10482     char *kwnames
[] = { 
10483         (char *) "self", NULL 
 
10486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
; 
10487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10491         result 
= (int)(arg1
)->GetZMin(); 
10493         wxPyEndAllowThreads(__tstate
); 
10494         if (PyErr_Occurred()) SWIG_fail
; 
10496     resultobj 
= SWIG_From_int((int)result
); 
10503 static PyObject 
*_wrap_Joystick_GetXMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10504     PyObject 
*resultobj
; 
10505     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10507     PyObject 
* obj0 
= 0 ; 
10508     char *kwnames
[] = { 
10509         (char *) "self", NULL 
 
10512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
; 
10513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10517         result 
= (int)(arg1
)->GetXMax(); 
10519         wxPyEndAllowThreads(__tstate
); 
10520         if (PyErr_Occurred()) SWIG_fail
; 
10522     resultobj 
= SWIG_From_int((int)result
); 
10529 static PyObject 
*_wrap_Joystick_GetYMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10530     PyObject 
*resultobj
; 
10531     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10533     PyObject 
* obj0 
= 0 ; 
10534     char *kwnames
[] = { 
10535         (char *) "self", NULL 
 
10538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
; 
10539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10543         result 
= (int)(arg1
)->GetYMax(); 
10545         wxPyEndAllowThreads(__tstate
); 
10546         if (PyErr_Occurred()) SWIG_fail
; 
10548     resultobj 
= SWIG_From_int((int)result
); 
10555 static PyObject 
*_wrap_Joystick_GetZMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10556     PyObject 
*resultobj
; 
10557     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10559     PyObject 
* obj0 
= 0 ; 
10560     char *kwnames
[] = { 
10561         (char *) "self", NULL 
 
10564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
; 
10565     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10566     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10569         result 
= (int)(arg1
)->GetZMax(); 
10571         wxPyEndAllowThreads(__tstate
); 
10572         if (PyErr_Occurred()) SWIG_fail
; 
10574     resultobj 
= SWIG_From_int((int)result
); 
10581 static PyObject 
*_wrap_Joystick_GetNumberButtons(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10582     PyObject 
*resultobj
; 
10583     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10585     PyObject 
* obj0 
= 0 ; 
10586     char *kwnames
[] = { 
10587         (char *) "self", NULL 
 
10590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
; 
10591     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10592     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10595         result 
= (int)(arg1
)->GetNumberButtons(); 
10597         wxPyEndAllowThreads(__tstate
); 
10598         if (PyErr_Occurred()) SWIG_fail
; 
10600     resultobj 
= SWIG_From_int((int)result
); 
10607 static PyObject 
*_wrap_Joystick_GetNumberAxes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10608     PyObject 
*resultobj
; 
10609     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10611     PyObject 
* obj0 
= 0 ; 
10612     char *kwnames
[] = { 
10613         (char *) "self", NULL 
 
10616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
; 
10617     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10618     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10621         result 
= (int)(arg1
)->GetNumberAxes(); 
10623         wxPyEndAllowThreads(__tstate
); 
10624         if (PyErr_Occurred()) SWIG_fail
; 
10626     resultobj 
= SWIG_From_int((int)result
); 
10633 static PyObject 
*_wrap_Joystick_GetMaxButtons(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10634     PyObject 
*resultobj
; 
10635     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10637     PyObject 
* obj0 
= 0 ; 
10638     char *kwnames
[] = { 
10639         (char *) "self", NULL 
 
10642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
; 
10643     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10644     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10647         result 
= (int)(arg1
)->GetMaxButtons(); 
10649         wxPyEndAllowThreads(__tstate
); 
10650         if (PyErr_Occurred()) SWIG_fail
; 
10652     resultobj 
= SWIG_From_int((int)result
); 
10659 static PyObject 
*_wrap_Joystick_GetMaxAxes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10660     PyObject 
*resultobj
; 
10661     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10663     PyObject 
* obj0 
= 0 ; 
10664     char *kwnames
[] = { 
10665         (char *) "self", NULL 
 
10668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
; 
10669     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10670     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10673         result 
= (int)(arg1
)->GetMaxAxes(); 
10675         wxPyEndAllowThreads(__tstate
); 
10676         if (PyErr_Occurred()) SWIG_fail
; 
10678     resultobj 
= SWIG_From_int((int)result
); 
10685 static PyObject 
*_wrap_Joystick_GetPollingMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10686     PyObject 
*resultobj
; 
10687     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10689     PyObject 
* obj0 
= 0 ; 
10690     char *kwnames
[] = { 
10691         (char *) "self", NULL 
 
10694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
; 
10695     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10699         result 
= (int)(arg1
)->GetPollingMin(); 
10701         wxPyEndAllowThreads(__tstate
); 
10702         if (PyErr_Occurred()) SWIG_fail
; 
10704     resultobj 
= SWIG_From_int((int)result
); 
10711 static PyObject 
*_wrap_Joystick_GetPollingMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10712     PyObject 
*resultobj
; 
10713     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10715     PyObject 
* obj0 
= 0 ; 
10716     char *kwnames
[] = { 
10717         (char *) "self", NULL 
 
10720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
; 
10721     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10722     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10725         result 
= (int)(arg1
)->GetPollingMax(); 
10727         wxPyEndAllowThreads(__tstate
); 
10728         if (PyErr_Occurred()) SWIG_fail
; 
10730     resultobj 
= SWIG_From_int((int)result
); 
10737 static PyObject 
*_wrap_Joystick_GetRudderMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10738     PyObject 
*resultobj
; 
10739     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10741     PyObject 
* obj0 
= 0 ; 
10742     char *kwnames
[] = { 
10743         (char *) "self", NULL 
 
10746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
; 
10747     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10748     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10751         result 
= (int)(arg1
)->GetRudderMin(); 
10753         wxPyEndAllowThreads(__tstate
); 
10754         if (PyErr_Occurred()) SWIG_fail
; 
10756     resultobj 
= SWIG_From_int((int)result
); 
10763 static PyObject 
*_wrap_Joystick_GetRudderMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10764     PyObject 
*resultobj
; 
10765     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10767     PyObject 
* obj0 
= 0 ; 
10768     char *kwnames
[] = { 
10769         (char *) "self", NULL 
 
10772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
; 
10773     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10774     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10776         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10777         result 
= (int)(arg1
)->GetRudderMax(); 
10779         wxPyEndAllowThreads(__tstate
); 
10780         if (PyErr_Occurred()) SWIG_fail
; 
10782     resultobj 
= SWIG_From_int((int)result
); 
10789 static PyObject 
*_wrap_Joystick_GetUMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10790     PyObject 
*resultobj
; 
10791     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10793     PyObject 
* obj0 
= 0 ; 
10794     char *kwnames
[] = { 
10795         (char *) "self", NULL 
 
10798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
; 
10799     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10800     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10803         result 
= (int)(arg1
)->GetUMin(); 
10805         wxPyEndAllowThreads(__tstate
); 
10806         if (PyErr_Occurred()) SWIG_fail
; 
10808     resultobj 
= SWIG_From_int((int)result
); 
10815 static PyObject 
*_wrap_Joystick_GetUMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10816     PyObject 
*resultobj
; 
10817     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10819     PyObject 
* obj0 
= 0 ; 
10820     char *kwnames
[] = { 
10821         (char *) "self", NULL 
 
10824     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
; 
10825     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10826     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10829         result 
= (int)(arg1
)->GetUMax(); 
10831         wxPyEndAllowThreads(__tstate
); 
10832         if (PyErr_Occurred()) SWIG_fail
; 
10834     resultobj 
= SWIG_From_int((int)result
); 
10841 static PyObject 
*_wrap_Joystick_GetVMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10842     PyObject 
*resultobj
; 
10843     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10845     PyObject 
* obj0 
= 0 ; 
10846     char *kwnames
[] = { 
10847         (char *) "self", NULL 
 
10850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
; 
10851     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10852     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10855         result 
= (int)(arg1
)->GetVMin(); 
10857         wxPyEndAllowThreads(__tstate
); 
10858         if (PyErr_Occurred()) SWIG_fail
; 
10860     resultobj 
= SWIG_From_int((int)result
); 
10867 static PyObject 
*_wrap_Joystick_GetVMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10868     PyObject 
*resultobj
; 
10869     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10871     PyObject 
* obj0 
= 0 ; 
10872     char *kwnames
[] = { 
10873         (char *) "self", NULL 
 
10876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
; 
10877     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10881         result 
= (int)(arg1
)->GetVMax(); 
10883         wxPyEndAllowThreads(__tstate
); 
10884         if (PyErr_Occurred()) SWIG_fail
; 
10886     resultobj 
= SWIG_From_int((int)result
); 
10893 static PyObject 
*_wrap_Joystick_HasRudder(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10894     PyObject 
*resultobj
; 
10895     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10897     PyObject 
* obj0 
= 0 ; 
10898     char *kwnames
[] = { 
10899         (char *) "self", NULL 
 
10902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
; 
10903     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10904     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10907         result 
= (bool)(arg1
)->HasRudder(); 
10909         wxPyEndAllowThreads(__tstate
); 
10910         if (PyErr_Occurred()) SWIG_fail
; 
10913         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10921 static PyObject 
*_wrap_Joystick_HasZ(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10922     PyObject 
*resultobj
; 
10923     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10925     PyObject 
* obj0 
= 0 ; 
10926     char *kwnames
[] = { 
10927         (char *) "self", NULL 
 
10930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
; 
10931     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10932     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10935         result 
= (bool)(arg1
)->HasZ(); 
10937         wxPyEndAllowThreads(__tstate
); 
10938         if (PyErr_Occurred()) SWIG_fail
; 
10941         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10949 static PyObject 
*_wrap_Joystick_HasU(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10950     PyObject 
*resultobj
; 
10951     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10953     PyObject 
* obj0 
= 0 ; 
10954     char *kwnames
[] = { 
10955         (char *) "self", NULL 
 
10958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
; 
10959     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10960     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10962         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10963         result 
= (bool)(arg1
)->HasU(); 
10965         wxPyEndAllowThreads(__tstate
); 
10966         if (PyErr_Occurred()) SWIG_fail
; 
10969         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10977 static PyObject 
*_wrap_Joystick_HasV(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10978     PyObject 
*resultobj
; 
10979     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10981     PyObject 
* obj0 
= 0 ; 
10982     char *kwnames
[] = { 
10983         (char *) "self", NULL 
 
10986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
; 
10987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10990         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10991         result 
= (bool)(arg1
)->HasV(); 
10993         wxPyEndAllowThreads(__tstate
); 
10994         if (PyErr_Occurred()) SWIG_fail
; 
10997         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11005 static PyObject 
*_wrap_Joystick_HasPOV(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11006     PyObject 
*resultobj
; 
11007     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
11009     PyObject 
* obj0 
= 0 ; 
11010     char *kwnames
[] = { 
11011         (char *) "self", NULL 
 
11014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
; 
11015     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
11016     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11019         result 
= (bool)(arg1
)->HasPOV(); 
11021         wxPyEndAllowThreads(__tstate
); 
11022         if (PyErr_Occurred()) SWIG_fail
; 
11025         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11033 static PyObject 
*_wrap_Joystick_HasPOV4Dir(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11034     PyObject 
*resultobj
; 
11035     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
11037     PyObject 
* obj0 
= 0 ; 
11038     char *kwnames
[] = { 
11039         (char *) "self", NULL 
 
11042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
; 
11043     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
11044     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11047         result 
= (bool)(arg1
)->HasPOV4Dir(); 
11049         wxPyEndAllowThreads(__tstate
); 
11050         if (PyErr_Occurred()) SWIG_fail
; 
11053         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11061 static PyObject 
*_wrap_Joystick_HasPOVCTS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11062     PyObject 
*resultobj
; 
11063     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
11065     PyObject 
* obj0 
= 0 ; 
11066     char *kwnames
[] = { 
11067         (char *) "self", NULL 
 
11070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
; 
11071     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
11072     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11075         result 
= (bool)(arg1
)->HasPOVCTS(); 
11077         wxPyEndAllowThreads(__tstate
); 
11078         if (PyErr_Occurred()) SWIG_fail
; 
11081         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11089 static PyObject 
*_wrap_Joystick_SetCapture(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11090     PyObject 
*resultobj
; 
11091     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
11092     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
11093     int arg3 
= (int) 0 ; 
11095     PyObject 
* obj0 
= 0 ; 
11096     PyObject 
* obj1 
= 0 ; 
11097     PyObject 
* obj2 
= 0 ; 
11098     char *kwnames
[] = { 
11099         (char *) "self",(char *) "win",(char *) "pollingFreq", NULL 
 
11102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
11104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11105     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
11106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11108         arg3 
= (int)SWIG_As_int(obj2
);  
11109         if (PyErr_Occurred()) SWIG_fail
; 
11112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11113         result 
= (bool)(arg1
)->SetCapture(arg2
,arg3
); 
11115         wxPyEndAllowThreads(__tstate
); 
11116         if (PyErr_Occurred()) SWIG_fail
; 
11119         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11127 static PyObject 
*_wrap_Joystick_ReleaseCapture(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11128     PyObject 
*resultobj
; 
11129     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
11131     PyObject 
* obj0 
= 0 ; 
11132     char *kwnames
[] = { 
11133         (char *) "self", NULL 
 
11136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
; 
11137     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
11138     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11141         result 
= (bool)(arg1
)->ReleaseCapture(); 
11143         wxPyEndAllowThreads(__tstate
); 
11144         if (PyErr_Occurred()) SWIG_fail
; 
11147         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11155 static PyObject 
* Joystick_swigregister(PyObject 
*, PyObject 
*args
) { 
11157     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11158     SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
); 
11160     return Py_BuildValue((char *)""); 
11162 static PyObject 
*_wrap_JoystickEvent_m_pos_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11163     PyObject 
*resultobj
; 
11164     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11165     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
11166     PyObject 
* obj0 
= 0 ; 
11167     PyObject 
* obj1 
= 0 ; 
11168     char *kwnames
[] = { 
11169         (char *) "self",(char *) "m_pos", NULL 
 
11172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11173     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11174     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11175     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
, 
11176     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11177     if (arg1
) (arg1
)->m_pos 
= *arg2
; 
11179     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11186 static PyObject 
*_wrap_JoystickEvent_m_pos_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11187     PyObject 
*resultobj
; 
11188     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11190     PyObject 
* obj0 
= 0 ; 
11191     char *kwnames
[] = { 
11192         (char *) "self", NULL 
 
11195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
; 
11196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11198     result 
= (wxPoint 
*)& ((arg1
)->m_pos
); 
11200     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
11207 static PyObject 
*_wrap_JoystickEvent_m_zPosition_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11208     PyObject 
*resultobj
; 
11209     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11211     PyObject 
* obj0 
= 0 ; 
11212     PyObject 
* obj1 
= 0 ; 
11213     char *kwnames
[] = { 
11214         (char *) "self",(char *) "m_zPosition", NULL 
 
11217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11220     arg2 
= (int)SWIG_As_int(obj1
);  
11221     if (PyErr_Occurred()) SWIG_fail
; 
11222     if (arg1
) (arg1
)->m_zPosition 
= arg2
; 
11224     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11231 static PyObject 
*_wrap_JoystickEvent_m_zPosition_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11232     PyObject 
*resultobj
; 
11233     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11235     PyObject 
* obj0 
= 0 ; 
11236     char *kwnames
[] = { 
11237         (char *) "self", NULL 
 
11240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
; 
11241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11243     result 
= (int) ((arg1
)->m_zPosition
); 
11245     resultobj 
= SWIG_From_int((int)result
); 
11252 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11253     PyObject 
*resultobj
; 
11254     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11256     PyObject 
* obj0 
= 0 ; 
11257     PyObject 
* obj1 
= 0 ; 
11258     char *kwnames
[] = { 
11259         (char *) "self",(char *) "m_buttonChange", NULL 
 
11262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11263     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11264     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11265     arg2 
= (int)SWIG_As_int(obj1
);  
11266     if (PyErr_Occurred()) SWIG_fail
; 
11267     if (arg1
) (arg1
)->m_buttonChange 
= arg2
; 
11269     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11276 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11277     PyObject 
*resultobj
; 
11278     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11280     PyObject 
* obj0 
= 0 ; 
11281     char *kwnames
[] = { 
11282         (char *) "self", NULL 
 
11285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
; 
11286     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11287     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11288     result 
= (int) ((arg1
)->m_buttonChange
); 
11290     resultobj 
= SWIG_From_int((int)result
); 
11297 static PyObject 
*_wrap_JoystickEvent_m_buttonState_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11298     PyObject 
*resultobj
; 
11299     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11301     PyObject 
* obj0 
= 0 ; 
11302     PyObject 
* obj1 
= 0 ; 
11303     char *kwnames
[] = { 
11304         (char *) "self",(char *) "m_buttonState", NULL 
 
11307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11308     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11309     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11310     arg2 
= (int)SWIG_As_int(obj1
);  
11311     if (PyErr_Occurred()) SWIG_fail
; 
11312     if (arg1
) (arg1
)->m_buttonState 
= arg2
; 
11314     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11321 static PyObject 
*_wrap_JoystickEvent_m_buttonState_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11322     PyObject 
*resultobj
; 
11323     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11325     PyObject 
* obj0 
= 0 ; 
11326     char *kwnames
[] = { 
11327         (char *) "self", NULL 
 
11330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
; 
11331     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11332     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11333     result 
= (int) ((arg1
)->m_buttonState
); 
11335     resultobj 
= SWIG_From_int((int)result
); 
11342 static PyObject 
*_wrap_JoystickEvent_m_joyStick_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11343     PyObject 
*resultobj
; 
11344     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11346     PyObject 
* obj0 
= 0 ; 
11347     PyObject 
* obj1 
= 0 ; 
11348     char *kwnames
[] = { 
11349         (char *) "self",(char *) "m_joyStick", NULL 
 
11352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11355     arg2 
= (int)SWIG_As_int(obj1
);  
11356     if (PyErr_Occurred()) SWIG_fail
; 
11357     if (arg1
) (arg1
)->m_joyStick 
= arg2
; 
11359     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11366 static PyObject 
*_wrap_JoystickEvent_m_joyStick_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11367     PyObject 
*resultobj
; 
11368     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11370     PyObject 
* obj0 
= 0 ; 
11371     char *kwnames
[] = { 
11372         (char *) "self", NULL 
 
11375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
; 
11376     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11378     result 
= (int) ((arg1
)->m_joyStick
); 
11380     resultobj 
= SWIG_From_int((int)result
); 
11387 static PyObject 
*_wrap_new_JoystickEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11388     PyObject 
*resultobj
; 
11389     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11390     int arg2 
= (int) 0 ; 
11391     int arg3 
= (int) wxJOYSTICK1 
; 
11392     int arg4 
= (int) 0 ; 
11393     wxJoystickEvent 
*result
; 
11394     PyObject 
* obj0 
= 0 ; 
11395     PyObject 
* obj1 
= 0 ; 
11396     PyObject 
* obj2 
= 0 ; 
11397     PyObject 
* obj3 
= 0 ; 
11398     char *kwnames
[] = { 
11399         (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL 
 
11402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11404         arg1 
= (wxEventType
)SWIG_As_int(obj0
);  
11405         if (PyErr_Occurred()) SWIG_fail
; 
11408         arg2 
= (int)SWIG_As_int(obj1
);  
11409         if (PyErr_Occurred()) SWIG_fail
; 
11412         arg3 
= (int)SWIG_As_int(obj2
);  
11413         if (PyErr_Occurred()) SWIG_fail
; 
11416         arg4 
= (int)SWIG_As_int(obj3
);  
11417         if (PyErr_Occurred()) SWIG_fail
; 
11420         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11421         result 
= (wxJoystickEvent 
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
); 
11423         wxPyEndAllowThreads(__tstate
); 
11424         if (PyErr_Occurred()) SWIG_fail
; 
11426     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1); 
11433 static PyObject 
*_wrap_JoystickEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11434     PyObject 
*resultobj
; 
11435     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11437     PyObject 
* obj0 
= 0 ; 
11438     char *kwnames
[] = { 
11439         (char *) "self", NULL 
 
11442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
11443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11447         result 
= ((wxJoystickEvent 
const *)arg1
)->GetPosition(); 
11449         wxPyEndAllowThreads(__tstate
); 
11450         if (PyErr_Occurred()) SWIG_fail
; 
11453         wxPoint 
* resultptr
; 
11454         resultptr 
= new wxPoint((wxPoint 
&) result
); 
11455         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
11463 static PyObject 
*_wrap_JoystickEvent_GetZPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11464     PyObject 
*resultobj
; 
11465     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11467     PyObject 
* obj0 
= 0 ; 
11468     char *kwnames
[] = { 
11469         (char *) "self", NULL 
 
11472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
; 
11473     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11474     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11477         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetZPosition(); 
11479         wxPyEndAllowThreads(__tstate
); 
11480         if (PyErr_Occurred()) SWIG_fail
; 
11482     resultobj 
= SWIG_From_int((int)result
); 
11489 static PyObject 
*_wrap_JoystickEvent_GetButtonState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11490     PyObject 
*resultobj
; 
11491     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11493     PyObject 
* obj0 
= 0 ; 
11494     char *kwnames
[] = { 
11495         (char *) "self", NULL 
 
11498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
; 
11499     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11500     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11503         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonState(); 
11505         wxPyEndAllowThreads(__tstate
); 
11506         if (PyErr_Occurred()) SWIG_fail
; 
11508     resultobj 
= SWIG_From_int((int)result
); 
11515 static PyObject 
*_wrap_JoystickEvent_GetButtonChange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11516     PyObject 
*resultobj
; 
11517     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11519     PyObject 
* obj0 
= 0 ; 
11520     char *kwnames
[] = { 
11521         (char *) "self", NULL 
 
11524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
; 
11525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11529         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonChange(); 
11531         wxPyEndAllowThreads(__tstate
); 
11532         if (PyErr_Occurred()) SWIG_fail
; 
11534     resultobj 
= SWIG_From_int((int)result
); 
11541 static PyObject 
*_wrap_JoystickEvent_GetJoystick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11542     PyObject 
*resultobj
; 
11543     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11545     PyObject 
* obj0 
= 0 ; 
11546     char *kwnames
[] = { 
11547         (char *) "self", NULL 
 
11550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
; 
11551     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11552     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11555         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetJoystick(); 
11557         wxPyEndAllowThreads(__tstate
); 
11558         if (PyErr_Occurred()) SWIG_fail
; 
11560     resultobj 
= SWIG_From_int((int)result
); 
11567 static PyObject 
*_wrap_JoystickEvent_SetJoystick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11568     PyObject 
*resultobj
; 
11569     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11571     PyObject 
* obj0 
= 0 ; 
11572     PyObject 
* obj1 
= 0 ; 
11573     char *kwnames
[] = { 
11574         (char *) "self",(char *) "stick", NULL 
 
11577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
; 
11578     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11579     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11580     arg2 
= (int)SWIG_As_int(obj1
);  
11581     if (PyErr_Occurred()) SWIG_fail
; 
11583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11584         (arg1
)->SetJoystick(arg2
); 
11586         wxPyEndAllowThreads(__tstate
); 
11587         if (PyErr_Occurred()) SWIG_fail
; 
11589     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11596 static PyObject 
*_wrap_JoystickEvent_SetButtonState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11597     PyObject 
*resultobj
; 
11598     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11600     PyObject 
* obj0 
= 0 ; 
11601     PyObject 
* obj1 
= 0 ; 
11602     char *kwnames
[] = { 
11603         (char *) "self",(char *) "state", NULL 
 
11606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
; 
11607     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11609     arg2 
= (int)SWIG_As_int(obj1
);  
11610     if (PyErr_Occurred()) SWIG_fail
; 
11612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11613         (arg1
)->SetButtonState(arg2
); 
11615         wxPyEndAllowThreads(__tstate
); 
11616         if (PyErr_Occurred()) SWIG_fail
; 
11618     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11625 static PyObject 
*_wrap_JoystickEvent_SetButtonChange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11626     PyObject 
*resultobj
; 
11627     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11629     PyObject 
* obj0 
= 0 ; 
11630     PyObject 
* obj1 
= 0 ; 
11631     char *kwnames
[] = { 
11632         (char *) "self",(char *) "change", NULL 
 
11635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
; 
11636     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11638     arg2 
= (int)SWIG_As_int(obj1
);  
11639     if (PyErr_Occurred()) SWIG_fail
; 
11641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11642         (arg1
)->SetButtonChange(arg2
); 
11644         wxPyEndAllowThreads(__tstate
); 
11645         if (PyErr_Occurred()) SWIG_fail
; 
11647     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11654 static PyObject 
*_wrap_JoystickEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11655     PyObject 
*resultobj
; 
11656     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11657     wxPoint 
*arg2 
= 0 ; 
11659     PyObject 
* obj0 
= 0 ; 
11660     PyObject 
* obj1 
= 0 ; 
11661     char *kwnames
[] = { 
11662         (char *) "self",(char *) "pos", NULL 
 
11665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11666     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11667     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11670         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11674         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
11676         wxPyEndAllowThreads(__tstate
); 
11677         if (PyErr_Occurred()) SWIG_fail
; 
11679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11686 static PyObject 
*_wrap_JoystickEvent_SetZPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11687     PyObject 
*resultobj
; 
11688     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11690     PyObject 
* obj0 
= 0 ; 
11691     PyObject 
* obj1 
= 0 ; 
11692     char *kwnames
[] = { 
11693         (char *) "self",(char *) "zPos", NULL 
 
11696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11699     arg2 
= (int)SWIG_As_int(obj1
);  
11700     if (PyErr_Occurred()) SWIG_fail
; 
11702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11703         (arg1
)->SetZPosition(arg2
); 
11705         wxPyEndAllowThreads(__tstate
); 
11706         if (PyErr_Occurred()) SWIG_fail
; 
11708     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11715 static PyObject 
*_wrap_JoystickEvent_IsButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11716     PyObject 
*resultobj
; 
11717     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11719     PyObject 
* obj0 
= 0 ; 
11720     char *kwnames
[] = { 
11721         (char *) "self", NULL 
 
11724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
; 
11725     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11726     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11729         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsButton(); 
11731         wxPyEndAllowThreads(__tstate
); 
11732         if (PyErr_Occurred()) SWIG_fail
; 
11735         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11743 static PyObject 
*_wrap_JoystickEvent_IsMove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11744     PyObject 
*resultobj
; 
11745     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11747     PyObject 
* obj0 
= 0 ; 
11748     char *kwnames
[] = { 
11749         (char *) "self", NULL 
 
11752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
; 
11753     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11757         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsMove(); 
11759         wxPyEndAllowThreads(__tstate
); 
11760         if (PyErr_Occurred()) SWIG_fail
; 
11763         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11771 static PyObject 
*_wrap_JoystickEvent_IsZMove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11772     PyObject 
*resultobj
; 
11773     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11775     PyObject 
* obj0 
= 0 ; 
11776     char *kwnames
[] = { 
11777         (char *) "self", NULL 
 
11780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
; 
11781     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11782     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11785         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsZMove(); 
11787         wxPyEndAllowThreads(__tstate
); 
11788         if (PyErr_Occurred()) SWIG_fail
; 
11791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11799 static PyObject 
*_wrap_JoystickEvent_ButtonDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11800     PyObject 
*resultobj
; 
11801     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11802     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11804     PyObject 
* obj0 
= 0 ; 
11805     PyObject 
* obj1 
= 0 ; 
11806     char *kwnames
[] = { 
11807         (char *) "self",(char *) "but", NULL 
 
11810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11814         arg2 
= (int)SWIG_As_int(obj1
);  
11815         if (PyErr_Occurred()) SWIG_fail
; 
11818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11819         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonDown(arg2
); 
11821         wxPyEndAllowThreads(__tstate
); 
11822         if (PyErr_Occurred()) SWIG_fail
; 
11825         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11833 static PyObject 
*_wrap_JoystickEvent_ButtonUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11834     PyObject 
*resultobj
; 
11835     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11836     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11838     PyObject 
* obj0 
= 0 ; 
11839     PyObject 
* obj1 
= 0 ; 
11840     char *kwnames
[] = { 
11841         (char *) "self",(char *) "but", NULL 
 
11844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
; 
11845     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11846     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11848         arg2 
= (int)SWIG_As_int(obj1
);  
11849         if (PyErr_Occurred()) SWIG_fail
; 
11852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11853         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonUp(arg2
); 
11855         wxPyEndAllowThreads(__tstate
); 
11856         if (PyErr_Occurred()) SWIG_fail
; 
11859         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11867 static PyObject 
*_wrap_JoystickEvent_ButtonIsDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11868     PyObject 
*resultobj
; 
11869     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11870     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11872     PyObject 
* obj0 
= 0 ; 
11873     PyObject 
* obj1 
= 0 ; 
11874     char *kwnames
[] = { 
11875         (char *) "self",(char *) "but", NULL 
 
11878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11879     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11880     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11882         arg2 
= (int)SWIG_As_int(obj1
);  
11883         if (PyErr_Occurred()) SWIG_fail
; 
11886         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11887         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonIsDown(arg2
); 
11889         wxPyEndAllowThreads(__tstate
); 
11890         if (PyErr_Occurred()) SWIG_fail
; 
11893         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11901 static PyObject 
* JoystickEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
11903     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11904     SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
); 
11906     return Py_BuildValue((char *)""); 
11908 static PyObject 
*_wrap_new_Sound(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11909     PyObject 
*resultobj
; 
11910     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
11911     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
11913     bool temp1 
= False 
; 
11914     PyObject 
* obj0 
= 0 ; 
11915     char *kwnames
[] = { 
11916         (char *) "fileName", NULL 
 
11919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
; 
11922             arg1 
= wxString_in_helper(obj0
); 
11923             if (arg1 
== NULL
) SWIG_fail
; 
11928         if (!wxPyCheckForApp()) SWIG_fail
; 
11929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11930         result 
= (wxSound 
*)new_wxSound((wxString 
const &)*arg1
); 
11932         wxPyEndAllowThreads(__tstate
); 
11933         if (PyErr_Occurred()) SWIG_fail
; 
11935     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11950 static PyObject 
*_wrap_new_SoundFromData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11951     PyObject 
*resultobj
; 
11952     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
11954     PyObject 
* obj0 
= 0 ; 
11955     char *kwnames
[] = { 
11956         (char *) "data", NULL 
 
11959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
; 
11962         if (!wxPyCheckForApp()) SWIG_fail
; 
11963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11964         result 
= (wxSound 
*)new_wxSound(arg1
); 
11966         wxPyEndAllowThreads(__tstate
); 
11967         if (PyErr_Occurred()) SWIG_fail
; 
11969     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11976 static PyObject 
*_wrap_delete_Sound(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11977     PyObject 
*resultobj
; 
11978     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11979     PyObject 
* obj0 
= 0 ; 
11980     char *kwnames
[] = { 
11981         (char *) "self", NULL 
 
11984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
; 
11985     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11986     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11988         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11991         wxPyEndAllowThreads(__tstate
); 
11992         if (PyErr_Occurred()) SWIG_fail
; 
11994     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12001 static PyObject 
*_wrap_Sound_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12002     PyObject 
*resultobj
; 
12003     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
12004     wxString 
*arg2 
= 0 ; 
12006     bool temp2 
= False 
; 
12007     PyObject 
* obj0 
= 0 ; 
12008     PyObject 
* obj1 
= 0 ; 
12009     char *kwnames
[] = { 
12010         (char *) "self",(char *) "fileName", NULL 
 
12013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
; 
12014     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
12015     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12017         arg2 
= wxString_in_helper(obj1
); 
12018         if (arg2 
== NULL
) SWIG_fail
; 
12022         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12023         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
); 
12025         wxPyEndAllowThreads(__tstate
); 
12026         if (PyErr_Occurred()) SWIG_fail
; 
12029         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12045 static PyObject 
*_wrap_Sound_CreateFromData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12046     PyObject 
*resultobj
; 
12047     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
12048     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
12050     PyObject 
* obj0 
= 0 ; 
12051     PyObject 
* obj1 
= 0 ; 
12052     char *kwnames
[] = { 
12053         (char *) "self",(char *) "data", NULL 
 
12056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
; 
12057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
12058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12062         result 
= (bool)wxSound_CreateFromData(arg1
,arg2
); 
12064         wxPyEndAllowThreads(__tstate
); 
12065         if (PyErr_Occurred()) SWIG_fail
; 
12068         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12076 static PyObject 
*_wrap_Sound_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12077     PyObject 
*resultobj
; 
12078     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
12080     PyObject 
* obj0 
= 0 ; 
12081     char *kwnames
[] = { 
12082         (char *) "self", NULL 
 
12085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
; 
12086     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
12087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12090         result 
= (bool)(arg1
)->IsOk(); 
12092         wxPyEndAllowThreads(__tstate
); 
12093         if (PyErr_Occurred()) SWIG_fail
; 
12096         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12104 static PyObject 
*_wrap_Sound_Play(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12105     PyObject 
*resultobj
; 
12106     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
12107     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
12109     PyObject 
* obj0 
= 0 ; 
12110     PyObject 
* obj1 
= 0 ; 
12111     char *kwnames
[] = { 
12112         (char *) "self",(char *) "flags", NULL 
 
12115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
; 
12116     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
12117     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12119         arg2 
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);  
12120         if (PyErr_Occurred()) SWIG_fail
; 
12123         if (!wxPyCheckForApp()) SWIG_fail
; 
12124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12125         result 
= (bool)((wxSound 
const *)arg1
)->Play(arg2
); 
12127         wxPyEndAllowThreads(__tstate
); 
12128         if (PyErr_Occurred()) SWIG_fail
; 
12131         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12139 static PyObject 
*_wrap_Sound_PlaySound(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12140     PyObject 
*resultobj
; 
12141     wxString 
*arg1 
= 0 ; 
12142     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
12144     bool temp1 
= False 
; 
12145     PyObject 
* obj0 
= 0 ; 
12146     PyObject 
* obj1 
= 0 ; 
12147     char *kwnames
[] = { 
12148         (char *) "filename",(char *) "flags", NULL 
 
12151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
; 
12153         arg1 
= wxString_in_helper(obj0
); 
12154         if (arg1 
== NULL
) SWIG_fail
; 
12158         arg2 
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);  
12159         if (PyErr_Occurred()) SWIG_fail
; 
12162         if (!wxPyCheckForApp()) SWIG_fail
; 
12163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12164         result 
= (bool)wxSound::Play((wxString 
const &)*arg1
,arg2
); 
12166         wxPyEndAllowThreads(__tstate
); 
12167         if (PyErr_Occurred()) SWIG_fail
; 
12170         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12186 static PyObject 
*_wrap_Sound_Stop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12187     PyObject 
*resultobj
; 
12188     char *kwnames
[] = { 
12192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
; 
12194         if (!wxPyCheckForApp()) SWIG_fail
; 
12195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12198         wxPyEndAllowThreads(__tstate
); 
12199         if (PyErr_Occurred()) SWIG_fail
; 
12201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12208 static PyObject 
* Sound_swigregister(PyObject 
*, PyObject 
*args
) { 
12210     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12211     SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
); 
12213     return Py_BuildValue((char *)""); 
12215 static PyObject 
*_wrap_new_FileTypeInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12216     PyObject 
*resultobj
; 
12217     wxString 
*arg1 
= 0 ; 
12218     wxString 
*arg2 
= 0 ; 
12219     wxString 
*arg3 
= 0 ; 
12220     wxString 
*arg4 
= 0 ; 
12221     wxFileTypeInfo 
*result
; 
12222     bool temp1 
= False 
; 
12223     bool temp2 
= False 
; 
12224     bool temp3 
= False 
; 
12225     bool temp4 
= False 
; 
12226     PyObject 
* obj0 
= 0 ; 
12227     PyObject 
* obj1 
= 0 ; 
12228     PyObject 
* obj2 
= 0 ; 
12229     PyObject 
* obj3 
= 0 ; 
12230     char *kwnames
[] = { 
12231         (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL 
 
12234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12236         arg1 
= wxString_in_helper(obj0
); 
12237         if (arg1 
== NULL
) SWIG_fail
; 
12241         arg2 
= wxString_in_helper(obj1
); 
12242         if (arg2 
== NULL
) SWIG_fail
; 
12246         arg3 
= wxString_in_helper(obj2
); 
12247         if (arg3 
== NULL
) SWIG_fail
; 
12251         arg4 
= wxString_in_helper(obj3
); 
12252         if (arg4 
== NULL
) SWIG_fail
; 
12256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12257         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
12259         wxPyEndAllowThreads(__tstate
); 
12260         if (PyErr_Occurred()) SWIG_fail
; 
12262     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
12301 static PyObject 
*_wrap_new_FileTypeInfoSequence(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12302     PyObject 
*resultobj
; 
12303     wxArrayString 
*arg1 
= 0 ; 
12304     wxFileTypeInfo 
*result
; 
12305     bool temp1 
= False 
; 
12306     PyObject 
* obj0 
= 0 ; 
12307     char *kwnames
[] = { 
12308         (char *) "sArray", NULL 
 
12311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
; 
12313         if (! PySequence_Check(obj0
)) { 
12314             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
12317         arg1 
= new wxArrayString
; 
12319         int i
, len
=PySequence_Length(obj0
); 
12320         for (i
=0; i
<len
; i
++) { 
12321             PyObject
* item 
= PySequence_GetItem(obj0
, i
); 
12323             PyObject
* str  
= PyObject_Unicode(item
); 
12325             PyObject
* str  
= PyObject_Str(item
); 
12327             if (PyErr_Occurred())  SWIG_fail
; 
12328             arg1
->Add(Py2wxString(str
)); 
12334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12335         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxArrayString 
const &)*arg1
); 
12337         wxPyEndAllowThreads(__tstate
); 
12338         if (PyErr_Occurred()) SWIG_fail
; 
12340     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
12342         if (temp1
) delete arg1
; 
12347         if (temp1
) delete arg1
; 
12353 static PyObject 
*_wrap_new_NullFileTypeInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12354     PyObject 
*resultobj
; 
12355     wxFileTypeInfo 
*result
; 
12356     char *kwnames
[] = { 
12360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
; 
12362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12363         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo(); 
12365         wxPyEndAllowThreads(__tstate
); 
12366         if (PyErr_Occurred()) SWIG_fail
; 
12368     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
12375 static PyObject 
*_wrap_FileTypeInfo_IsValid(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12376     PyObject 
*resultobj
; 
12377     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12379     PyObject 
* obj0 
= 0 ; 
12380     char *kwnames
[] = { 
12381         (char *) "self", NULL 
 
12384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
; 
12385     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12386     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12389         result 
= (bool)((wxFileTypeInfo 
const *)arg1
)->IsValid(); 
12391         wxPyEndAllowThreads(__tstate
); 
12392         if (PyErr_Occurred()) SWIG_fail
; 
12395         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12403 static PyObject 
*_wrap_FileTypeInfo_SetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12404     PyObject 
*resultobj
; 
12405     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12406     wxString 
*arg2 
= 0 ; 
12407     int arg3 
= (int) 0 ; 
12408     bool temp2 
= False 
; 
12409     PyObject 
* obj0 
= 0 ; 
12410     PyObject 
* obj1 
= 0 ; 
12411     PyObject 
* obj2 
= 0 ; 
12412     char *kwnames
[] = { 
12413         (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL 
 
12416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12417     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12418     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12420         arg2 
= wxString_in_helper(obj1
); 
12421         if (arg2 
== NULL
) SWIG_fail
; 
12425         arg3 
= (int)SWIG_As_int(obj2
);  
12426         if (PyErr_Occurred()) SWIG_fail
; 
12429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12430         (arg1
)->SetIcon((wxString 
const &)*arg2
,arg3
); 
12432         wxPyEndAllowThreads(__tstate
); 
12433         if (PyErr_Occurred()) SWIG_fail
; 
12435     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12450 static PyObject 
*_wrap_FileTypeInfo_SetShortDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12451     PyObject 
*resultobj
; 
12452     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12453     wxString 
*arg2 
= 0 ; 
12454     bool temp2 
= False 
; 
12455     PyObject 
* obj0 
= 0 ; 
12456     PyObject 
* obj1 
= 0 ; 
12457     char *kwnames
[] = { 
12458         (char *) "self",(char *) "shortDesc", NULL 
 
12461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
12462     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12463     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12465         arg2 
= wxString_in_helper(obj1
); 
12466         if (arg2 
== NULL
) SWIG_fail
; 
12470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12471         (arg1
)->SetShortDesc((wxString 
const &)*arg2
); 
12473         wxPyEndAllowThreads(__tstate
); 
12474         if (PyErr_Occurred()) SWIG_fail
; 
12476     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12491 static PyObject 
*_wrap_FileTypeInfo_GetMimeType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12492     PyObject 
*resultobj
; 
12493     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12495     PyObject 
* obj0 
= 0 ; 
12496     char *kwnames
[] = { 
12497         (char *) "self", NULL 
 
12500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12501     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12502     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12504         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12506             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetMimeType(); 
12507             result 
= (wxString 
*) &_result_ref
; 
12510         wxPyEndAllowThreads(__tstate
); 
12511         if (PyErr_Occurred()) SWIG_fail
; 
12515         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12517         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12526 static PyObject 
*_wrap_FileTypeInfo_GetOpenCommand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12527     PyObject 
*resultobj
; 
12528     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12530     PyObject 
* obj0 
= 0 ; 
12531     char *kwnames
[] = { 
12532         (char *) "self", NULL 
 
12535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
; 
12536     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12537     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12541             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetOpenCommand(); 
12542             result 
= (wxString 
*) &_result_ref
; 
12545         wxPyEndAllowThreads(__tstate
); 
12546         if (PyErr_Occurred()) SWIG_fail
; 
12550         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12552         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12561 static PyObject 
*_wrap_FileTypeInfo_GetPrintCommand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12562     PyObject 
*resultobj
; 
12563     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12565     PyObject 
* obj0 
= 0 ; 
12566     char *kwnames
[] = { 
12567         (char *) "self", NULL 
 
12570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
; 
12571     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12576             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetPrintCommand(); 
12577             result 
= (wxString 
*) &_result_ref
; 
12580         wxPyEndAllowThreads(__tstate
); 
12581         if (PyErr_Occurred()) SWIG_fail
; 
12585         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12587         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12596 static PyObject 
*_wrap_FileTypeInfo_GetShortDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12597     PyObject 
*resultobj
; 
12598     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12600     PyObject 
* obj0 
= 0 ; 
12601     char *kwnames
[] = { 
12602         (char *) "self", NULL 
 
12605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
; 
12606     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12609         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12611             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetShortDesc(); 
12612             result 
= (wxString 
*) &_result_ref
; 
12615         wxPyEndAllowThreads(__tstate
); 
12616         if (PyErr_Occurred()) SWIG_fail
; 
12620         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12622         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12631 static PyObject 
*_wrap_FileTypeInfo_GetDescription(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12632     PyObject 
*resultobj
; 
12633     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12635     PyObject 
* obj0 
= 0 ; 
12636     char *kwnames
[] = { 
12637         (char *) "self", NULL 
 
12640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
; 
12641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12646             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetDescription(); 
12647             result 
= (wxString 
*) &_result_ref
; 
12650         wxPyEndAllowThreads(__tstate
); 
12651         if (PyErr_Occurred()) SWIG_fail
; 
12655         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12657         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12666 static PyObject 
*_wrap_FileTypeInfo_GetExtensions(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12667     PyObject 
*resultobj
; 
12668     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12669     wxArrayString 
*result
; 
12670     PyObject 
* obj0 
= 0 ; 
12671     char *kwnames
[] = { 
12672         (char *) "self", NULL 
 
12675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12681             wxArrayString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetExtensions(); 
12682             result 
= (wxArrayString 
*) &_result_ref
; 
12685         wxPyEndAllowThreads(__tstate
); 
12686         if (PyErr_Occurred()) SWIG_fail
; 
12689         resultobj 
= wxArrayString2PyList_helper(*result
); 
12697 static PyObject 
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12698     PyObject 
*resultobj
; 
12699     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12701     PyObject 
* obj0 
= 0 ; 
12702     char *kwnames
[] = { 
12703         (char *) "self", NULL 
 
12706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
; 
12707     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12708     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12711         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetExtensionsCount(); 
12713         wxPyEndAllowThreads(__tstate
); 
12714         if (PyErr_Occurred()) SWIG_fail
; 
12716     resultobj 
= SWIG_From_int((int)result
); 
12723 static PyObject 
*_wrap_FileTypeInfo_GetIconFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12724     PyObject 
*resultobj
; 
12725     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12727     PyObject 
* obj0 
= 0 ; 
12728     char *kwnames
[] = { 
12729         (char *) "self", NULL 
 
12732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
; 
12733     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12738             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetIconFile(); 
12739             result 
= (wxString 
*) &_result_ref
; 
12742         wxPyEndAllowThreads(__tstate
); 
12743         if (PyErr_Occurred()) SWIG_fail
; 
12747         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12749         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12758 static PyObject 
*_wrap_FileTypeInfo_GetIconIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12759     PyObject 
*resultobj
; 
12760     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12762     PyObject 
* obj0 
= 0 ; 
12763     char *kwnames
[] = { 
12764         (char *) "self", NULL 
 
12767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
; 
12768     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12772         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetIconIndex(); 
12774         wxPyEndAllowThreads(__tstate
); 
12775         if (PyErr_Occurred()) SWIG_fail
; 
12777     resultobj 
= SWIG_From_int((int)result
); 
12784 static PyObject 
* FileTypeInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
12786     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12787     SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
); 
12789     return Py_BuildValue((char *)""); 
12791 static PyObject 
*_wrap_new_FileType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12792     PyObject 
*resultobj
; 
12793     wxFileTypeInfo 
*arg1 
= 0 ; 
12794     wxFileType 
*result
; 
12795     PyObject 
* obj0 
= 0 ; 
12796     char *kwnames
[] = { 
12797         (char *) "ftInfo", NULL 
 
12800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
; 
12801     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12804     if (arg1 
== NULL
) { 
12805         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12809         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12810         result 
= (wxFileType 
*)new wxFileType((wxFileTypeInfo 
const &)*arg1
); 
12812         wxPyEndAllowThreads(__tstate
); 
12813         if (PyErr_Occurred()) SWIG_fail
; 
12815     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
12822 static PyObject 
*_wrap_delete_FileType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12823     PyObject 
*resultobj
; 
12824     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12825     PyObject 
* obj0 
= 0 ; 
12826     char *kwnames
[] = { 
12827         (char *) "self", NULL 
 
12830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
; 
12831     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12834         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12837         wxPyEndAllowThreads(__tstate
); 
12838         if (PyErr_Occurred()) SWIG_fail
; 
12840     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12847 static PyObject 
*_wrap_FileType_GetMimeType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12848     PyObject 
*resultobj
; 
12849     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12851     PyObject 
* obj0 
= 0 ; 
12852     char *kwnames
[] = { 
12853         (char *) "self", NULL 
 
12856     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12857     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12858     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12860         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12861         result 
= (PyObject 
*)wxFileType_GetMimeType(arg1
); 
12863         wxPyEndAllowThreads(__tstate
); 
12864         if (PyErr_Occurred()) SWIG_fail
; 
12866     resultobj 
= result
; 
12873 static PyObject 
*_wrap_FileType_GetMimeTypes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12874     PyObject 
*resultobj
; 
12875     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12877     PyObject 
* obj0 
= 0 ; 
12878     char *kwnames
[] = { 
12879         (char *) "self", NULL 
 
12882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
; 
12883     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12884     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12886         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12887         result 
= (PyObject 
*)wxFileType_GetMimeTypes(arg1
); 
12889         wxPyEndAllowThreads(__tstate
); 
12890         if (PyErr_Occurred()) SWIG_fail
; 
12892     resultobj 
= result
; 
12899 static PyObject 
*_wrap_FileType_GetExtensions(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12900     PyObject 
*resultobj
; 
12901     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12903     PyObject 
* obj0 
= 0 ; 
12904     char *kwnames
[] = { 
12905         (char *) "self", NULL 
 
12908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12909     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12913         result 
= (PyObject 
*)wxFileType_GetExtensions(arg1
); 
12915         wxPyEndAllowThreads(__tstate
); 
12916         if (PyErr_Occurred()) SWIG_fail
; 
12918     resultobj 
= result
; 
12925 static PyObject 
*_wrap_FileType_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12926     PyObject 
*resultobj
; 
12927     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12929     PyObject 
* obj0 
= 0 ; 
12930     char *kwnames
[] = { 
12931         (char *) "self", NULL 
 
12934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
; 
12935     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12936     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12939         result 
= (wxIcon 
*)wxFileType_GetIcon(arg1
); 
12941         wxPyEndAllowThreads(__tstate
); 
12942         if (PyErr_Occurred()) SWIG_fail
; 
12944     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
12951 static PyObject 
*_wrap_FileType_GetIconInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12952     PyObject 
*resultobj
; 
12953     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12955     PyObject 
* obj0 
= 0 ; 
12956     char *kwnames
[] = { 
12957         (char *) "self", NULL 
 
12960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
; 
12961     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12962     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12965         result 
= (PyObject 
*)wxFileType_GetIconInfo(arg1
); 
12967         wxPyEndAllowThreads(__tstate
); 
12968         if (PyErr_Occurred()) SWIG_fail
; 
12970     resultobj 
= result
; 
12977 static PyObject 
*_wrap_FileType_GetDescription(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12978     PyObject 
*resultobj
; 
12979     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12981     PyObject 
* obj0 
= 0 ; 
12982     char *kwnames
[] = { 
12983         (char *) "self", NULL 
 
12986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
; 
12987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12990         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12991         result 
= (PyObject 
*)wxFileType_GetDescription(arg1
); 
12993         wxPyEndAllowThreads(__tstate
); 
12994         if (PyErr_Occurred()) SWIG_fail
; 
12996     resultobj 
= result
; 
13003 static PyObject 
*_wrap_FileType_GetOpenCommand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13004     PyObject 
*resultobj
; 
13005     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13006     wxString 
*arg2 
= 0 ; 
13007     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13008     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13010     bool temp2 
= False 
; 
13011     bool temp3 
= False 
; 
13012     PyObject 
* obj0 
= 0 ; 
13013     PyObject 
* obj1 
= 0 ; 
13014     PyObject 
* obj2 
= 0 ; 
13015     char *kwnames
[] = { 
13016         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
13019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13020     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13021     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13023         arg2 
= wxString_in_helper(obj1
); 
13024         if (arg2 
== NULL
) SWIG_fail
; 
13029             arg3 
= wxString_in_helper(obj2
); 
13030             if (arg3 
== NULL
) SWIG_fail
; 
13035         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13036         result 
= (PyObject 
*)wxFileType_GetOpenCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
13038         wxPyEndAllowThreads(__tstate
); 
13039         if (PyErr_Occurred()) SWIG_fail
; 
13041     resultobj 
= result
; 
13064 static PyObject 
*_wrap_FileType_GetPrintCommand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13065     PyObject 
*resultobj
; 
13066     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13067     wxString 
*arg2 
= 0 ; 
13068     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13069     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13071     bool temp2 
= False 
; 
13072     bool temp3 
= False 
; 
13073     PyObject 
* obj0 
= 0 ; 
13074     PyObject 
* obj1 
= 0 ; 
13075     PyObject 
* obj2 
= 0 ; 
13076     char *kwnames
[] = { 
13077         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
13080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13081     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13084         arg2 
= wxString_in_helper(obj1
); 
13085         if (arg2 
== NULL
) SWIG_fail
; 
13090             arg3 
= wxString_in_helper(obj2
); 
13091             if (arg3 
== NULL
) SWIG_fail
; 
13096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13097         result 
= (PyObject 
*)wxFileType_GetPrintCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
13099         wxPyEndAllowThreads(__tstate
); 
13100         if (PyErr_Occurred()) SWIG_fail
; 
13102     resultobj 
= result
; 
13125 static PyObject 
*_wrap_FileType_GetAllCommands(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13126     PyObject 
*resultobj
; 
13127     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13128     wxString 
*arg2 
= 0 ; 
13129     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13130     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13132     bool temp2 
= False 
; 
13133     bool temp3 
= False 
; 
13134     PyObject 
* obj0 
= 0 ; 
13135     PyObject 
* obj1 
= 0 ; 
13136     PyObject 
* obj2 
= 0 ; 
13137     char *kwnames
[] = { 
13138         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
13141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13145         arg2 
= wxString_in_helper(obj1
); 
13146         if (arg2 
== NULL
) SWIG_fail
; 
13151             arg3 
= wxString_in_helper(obj2
); 
13152             if (arg3 
== NULL
) SWIG_fail
; 
13157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13158         result 
= (PyObject 
*)wxFileType_GetAllCommands(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
13160         wxPyEndAllowThreads(__tstate
); 
13161         if (PyErr_Occurred()) SWIG_fail
; 
13163     resultobj 
= result
; 
13186 static PyObject 
*_wrap_FileType_SetCommand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13187     PyObject 
*resultobj
; 
13188     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13189     wxString 
*arg2 
= 0 ; 
13190     wxString 
*arg3 
= 0 ; 
13191     bool arg4 
= (bool) True 
; 
13193     bool temp2 
= False 
; 
13194     bool temp3 
= False 
; 
13195     PyObject 
* obj0 
= 0 ; 
13196     PyObject 
* obj1 
= 0 ; 
13197     PyObject 
* obj2 
= 0 ; 
13198     PyObject 
* obj3 
= 0 ; 
13199     char *kwnames
[] = { 
13200         (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL 
 
13203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13204     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13205     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13207         arg2 
= wxString_in_helper(obj1
); 
13208         if (arg2 
== NULL
) SWIG_fail
; 
13212         arg3 
= wxString_in_helper(obj2
); 
13213         if (arg3 
== NULL
) SWIG_fail
; 
13217         arg4 
= (bool)SWIG_As_bool(obj3
);  
13218         if (PyErr_Occurred()) SWIG_fail
; 
13221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13222         result 
= (bool)(arg1
)->SetCommand((wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
13224         wxPyEndAllowThreads(__tstate
); 
13225         if (PyErr_Occurred()) SWIG_fail
; 
13228         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13252 static PyObject 
*_wrap_FileType_SetDefaultIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13253     PyObject 
*resultobj
; 
13254     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13255     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
13256     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
13257     int arg3 
= (int) 0 ; 
13259     bool temp2 
= False 
; 
13260     PyObject 
* obj0 
= 0 ; 
13261     PyObject 
* obj1 
= 0 ; 
13262     PyObject 
* obj2 
= 0 ; 
13263     char *kwnames
[] = { 
13264         (char *) "self",(char *) "cmd",(char *) "index", NULL 
 
13267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13272             arg2 
= wxString_in_helper(obj1
); 
13273             if (arg2 
== NULL
) SWIG_fail
; 
13278         arg3 
= (int)SWIG_As_int(obj2
);  
13279         if (PyErr_Occurred()) SWIG_fail
; 
13282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13283         result 
= (bool)(arg1
)->SetDefaultIcon((wxString 
const &)*arg2
,arg3
); 
13285         wxPyEndAllowThreads(__tstate
); 
13286         if (PyErr_Occurred()) SWIG_fail
; 
13289         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13305 static PyObject 
*_wrap_FileType_Unassociate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13306     PyObject 
*resultobj
; 
13307     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13309     PyObject 
* obj0 
= 0 ; 
13310     char *kwnames
[] = { 
13311         (char *) "self", NULL 
 
13314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
; 
13315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13319         result 
= (bool)(arg1
)->Unassociate(); 
13321         wxPyEndAllowThreads(__tstate
); 
13322         if (PyErr_Occurred()) SWIG_fail
; 
13325         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13333 static PyObject 
*_wrap_FileType_ExpandCommand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13334     PyObject 
*resultobj
; 
13335     wxString 
*arg1 
= 0 ; 
13336     wxString 
*arg2 
= 0 ; 
13337     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13338     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13340     bool temp1 
= False 
; 
13341     bool temp2 
= False 
; 
13342     bool temp3 
= False 
; 
13343     PyObject 
* obj0 
= 0 ; 
13344     PyObject 
* obj1 
= 0 ; 
13345     PyObject 
* obj2 
= 0 ; 
13346     char *kwnames
[] = { 
13347         (char *) "command",(char *) "filename",(char *) "mimetype", NULL 
 
13350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13352         arg1 
= wxString_in_helper(obj0
); 
13353         if (arg1 
== NULL
) SWIG_fail
; 
13357         arg2 
= wxString_in_helper(obj1
); 
13358         if (arg2 
== NULL
) SWIG_fail
; 
13363             arg3 
= wxString_in_helper(obj2
); 
13364             if (arg3 
== NULL
) SWIG_fail
; 
13369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13370         result 
= FileType_ExpandCommand((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
13372         wxPyEndAllowThreads(__tstate
); 
13373         if (PyErr_Occurred()) SWIG_fail
; 
13377         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13379         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13412 static PyObject 
* FileType_swigregister(PyObject 
*, PyObject 
*args
) { 
13414     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13415     SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
); 
13417     return Py_BuildValue((char *)""); 
13419 static int _wrap_TheMimeTypesManager_set(PyObject 
*) { 
13420     PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only."); 
13425 static PyObject 
*_wrap_TheMimeTypesManager_get() { 
13428     pyobj 
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0); 
13433 static PyObject 
*_wrap_MimeTypesManager_IsOfType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13434     PyObject 
*resultobj
; 
13435     wxString 
*arg1 
= 0 ; 
13436     wxString 
*arg2 
= 0 ; 
13438     bool temp1 
= False 
; 
13439     bool temp2 
= False 
; 
13440     PyObject 
* obj0 
= 0 ; 
13441     PyObject 
* obj1 
= 0 ; 
13442     char *kwnames
[] = { 
13443         (char *) "mimeType",(char *) "wildcard", NULL 
 
13446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13448         arg1 
= wxString_in_helper(obj0
); 
13449         if (arg1 
== NULL
) SWIG_fail
; 
13453         arg2 
= wxString_in_helper(obj1
); 
13454         if (arg2 
== NULL
) SWIG_fail
; 
13458         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13459         result 
= (bool)wxMimeTypesManager::IsOfType((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
13461         wxPyEndAllowThreads(__tstate
); 
13462         if (PyErr_Occurred()) SWIG_fail
; 
13465         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13489 static PyObject 
*_wrap_new_MimeTypesManager(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13490     PyObject 
*resultobj
; 
13491     wxMimeTypesManager 
*result
; 
13492     char *kwnames
[] = { 
13496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
; 
13498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13499         result 
= (wxMimeTypesManager 
*)new wxMimeTypesManager(); 
13501         wxPyEndAllowThreads(__tstate
); 
13502         if (PyErr_Occurred()) SWIG_fail
; 
13504     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1); 
13511 static PyObject 
*_wrap_MimeTypesManager_Initialize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13512     PyObject 
*resultobj
; 
13513     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13514     int arg2 
= (int) wxMAILCAP_ALL 
; 
13515     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13516     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13517     bool temp3 
= False 
; 
13518     PyObject 
* obj0 
= 0 ; 
13519     PyObject 
* obj1 
= 0 ; 
13520     PyObject 
* obj2 
= 0 ; 
13521     char *kwnames
[] = { 
13522         (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL 
 
13525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13526     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13527     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13529         arg2 
= (int)SWIG_As_int(obj1
);  
13530         if (PyErr_Occurred()) SWIG_fail
; 
13534             arg3 
= wxString_in_helper(obj2
); 
13535             if (arg3 
== NULL
) SWIG_fail
; 
13540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13541         (arg1
)->Initialize(arg2
,(wxString 
const &)*arg3
); 
13543         wxPyEndAllowThreads(__tstate
); 
13544         if (PyErr_Occurred()) SWIG_fail
; 
13546     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13561 static PyObject 
*_wrap_MimeTypesManager_ClearData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13562     PyObject 
*resultobj
; 
13563     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13564     PyObject 
* obj0 
= 0 ; 
13565     char *kwnames
[] = { 
13566         (char *) "self", NULL 
 
13569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
; 
13570     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13574         (arg1
)->ClearData(); 
13576         wxPyEndAllowThreads(__tstate
); 
13577         if (PyErr_Occurred()) SWIG_fail
; 
13579     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13586 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13587     PyObject 
*resultobj
; 
13588     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13589     wxString 
*arg2 
= 0 ; 
13590     wxFileType 
*result
; 
13591     bool temp2 
= False 
; 
13592     PyObject 
* obj0 
= 0 ; 
13593     PyObject 
* obj1 
= 0 ; 
13594     char *kwnames
[] = { 
13595         (char *) "self",(char *) "ext", NULL 
 
13598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
; 
13599     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13602         arg2 
= wxString_in_helper(obj1
); 
13603         if (arg2 
== NULL
) SWIG_fail
; 
13607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13608         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromExtension((wxString 
const &)*arg2
); 
13610         wxPyEndAllowThreads(__tstate
); 
13611         if (PyErr_Occurred()) SWIG_fail
; 
13613     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13628 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13629     PyObject 
*resultobj
; 
13630     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13631     wxString 
*arg2 
= 0 ; 
13632     wxFileType 
*result
; 
13633     bool temp2 
= False 
; 
13634     PyObject 
* obj0 
= 0 ; 
13635     PyObject 
* obj1 
= 0 ; 
13636     char *kwnames
[] = { 
13637         (char *) "self",(char *) "mimeType", NULL 
 
13640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13644         arg2 
= wxString_in_helper(obj1
); 
13645         if (arg2 
== NULL
) SWIG_fail
; 
13649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13650         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromMimeType((wxString 
const &)*arg2
); 
13652         wxPyEndAllowThreads(__tstate
); 
13653         if (PyErr_Occurred()) SWIG_fail
; 
13655     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13670 static PyObject 
*_wrap_MimeTypesManager_ReadMailcap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13671     PyObject 
*resultobj
; 
13672     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13673     wxString 
*arg2 
= 0 ; 
13674     bool arg3 
= (bool) False 
; 
13676     bool temp2 
= False 
; 
13677     PyObject 
* obj0 
= 0 ; 
13678     PyObject 
* obj1 
= 0 ; 
13679     PyObject 
* obj2 
= 0 ; 
13680     char *kwnames
[] = { 
13681         (char *) "self",(char *) "filename",(char *) "fallback", NULL 
 
13684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13685     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13686     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13688         arg2 
= wxString_in_helper(obj1
); 
13689         if (arg2 
== NULL
) SWIG_fail
; 
13693         arg3 
= (bool)SWIG_As_bool(obj2
);  
13694         if (PyErr_Occurred()) SWIG_fail
; 
13697         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13698         result 
= (bool)(arg1
)->ReadMailcap((wxString 
const &)*arg2
,arg3
); 
13700         wxPyEndAllowThreads(__tstate
); 
13701         if (PyErr_Occurred()) SWIG_fail
; 
13704         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13720 static PyObject 
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13721     PyObject 
*resultobj
; 
13722     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13723     wxString 
*arg2 
= 0 ; 
13725     bool temp2 
= False 
; 
13726     PyObject 
* obj0 
= 0 ; 
13727     PyObject 
* obj1 
= 0 ; 
13728     char *kwnames
[] = { 
13729         (char *) "self",(char *) "filename", NULL 
 
13732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
; 
13733     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13736         arg2 
= wxString_in_helper(obj1
); 
13737         if (arg2 
== NULL
) SWIG_fail
; 
13741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13742         result 
= (bool)(arg1
)->ReadMimeTypes((wxString 
const &)*arg2
); 
13744         wxPyEndAllowThreads(__tstate
); 
13745         if (PyErr_Occurred()) SWIG_fail
; 
13748         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13764 static PyObject 
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13765     PyObject 
*resultobj
; 
13766     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13768     PyObject 
* obj0 
= 0 ; 
13769     char *kwnames
[] = { 
13770         (char *) "self", NULL 
 
13773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
; 
13774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13778         result 
= (PyObject 
*)wxMimeTypesManager_EnumAllFileTypes(arg1
); 
13780         wxPyEndAllowThreads(__tstate
); 
13781         if (PyErr_Occurred()) SWIG_fail
; 
13783     resultobj 
= result
; 
13790 static PyObject 
*_wrap_MimeTypesManager_AddFallback(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13791     PyObject 
*resultobj
; 
13792     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13793     wxFileTypeInfo 
*arg2 
= 0 ; 
13794     PyObject 
* obj0 
= 0 ; 
13795     PyObject 
* obj1 
= 0 ; 
13796     char *kwnames
[] = { 
13797         (char *) "self",(char *) "ft", NULL 
 
13800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
; 
13801     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13803     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13804     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13806     if (arg2 
== NULL
) { 
13807         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13812         (arg1
)->AddFallback((wxFileTypeInfo 
const &)*arg2
); 
13814         wxPyEndAllowThreads(__tstate
); 
13815         if (PyErr_Occurred()) SWIG_fail
; 
13817     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13824 static PyObject 
*_wrap_MimeTypesManager_Associate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13825     PyObject 
*resultobj
; 
13826     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13827     wxFileTypeInfo 
*arg2 
= 0 ; 
13828     wxFileType 
*result
; 
13829     PyObject 
* obj0 
= 0 ; 
13830     PyObject 
* obj1 
= 0 ; 
13831     char *kwnames
[] = { 
13832         (char *) "self",(char *) "ftInfo", NULL 
 
13835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13838     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13839     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13841     if (arg2 
== NULL
) { 
13842         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13846         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13847         result 
= (wxFileType 
*)(arg1
)->Associate((wxFileTypeInfo 
const &)*arg2
); 
13849         wxPyEndAllowThreads(__tstate
); 
13850         if (PyErr_Occurred()) SWIG_fail
; 
13852     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13859 static PyObject 
*_wrap_MimeTypesManager_Unassociate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13860     PyObject 
*resultobj
; 
13861     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13862     wxFileType 
*arg2 
= (wxFileType 
*) 0 ; 
13864     PyObject 
* obj0 
= 0 ; 
13865     PyObject 
* obj1 
= 0 ; 
13866     char *kwnames
[] = { 
13867         (char *) "self",(char *) "ft", NULL 
 
13870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13871     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13873     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
, 
13874     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13876         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13877         result 
= (bool)(arg1
)->Unassociate(arg2
); 
13879         wxPyEndAllowThreads(__tstate
); 
13880         if (PyErr_Occurred()) SWIG_fail
; 
13883         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13891 static PyObject 
*_wrap_delete_MimeTypesManager(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13892     PyObject 
*resultobj
; 
13893     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13894     PyObject 
* obj0 
= 0 ; 
13895     char *kwnames
[] = { 
13896         (char *) "self", NULL 
 
13899     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
; 
13900     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13901     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13906         wxPyEndAllowThreads(__tstate
); 
13907         if (PyErr_Occurred()) SWIG_fail
; 
13909     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13916 static PyObject 
* MimeTypesManager_swigregister(PyObject 
*, PyObject 
*args
) { 
13918     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13919     SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
); 
13921     return Py_BuildValue((char *)""); 
13923 static int _wrap_ART_TOOLBAR_set(PyObject 
*) { 
13924     PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only."); 
13929 static PyObject 
*_wrap_ART_TOOLBAR_get() { 
13934         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13936         pyobj 
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13943 static int _wrap_ART_MENU_set(PyObject 
*) { 
13944     PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only."); 
13949 static PyObject 
*_wrap_ART_MENU_get() { 
13954         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13956         pyobj 
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13963 static int _wrap_ART_FRAME_ICON_set(PyObject 
*) { 
13964     PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only."); 
13969 static PyObject 
*_wrap_ART_FRAME_ICON_get() { 
13974         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13976         pyobj 
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13983 static int _wrap_ART_CMN_DIALOG_set(PyObject 
*) { 
13984     PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only."); 
13989 static PyObject 
*_wrap_ART_CMN_DIALOG_get() { 
13994         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
13996         pyobj 
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
14003 static int _wrap_ART_HELP_BROWSER_set(PyObject 
*) { 
14004     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only."); 
14009 static PyObject 
*_wrap_ART_HELP_BROWSER_get() { 
14014         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
14016         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
14023 static int _wrap_ART_MESSAGE_BOX_set(PyObject 
*) { 
14024     PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only."); 
14029 static PyObject 
*_wrap_ART_MESSAGE_BOX_get() { 
14034         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
14036         pyobj 
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
14043 static int _wrap_ART_BUTTON_set(PyObject 
*) { 
14044     PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only."); 
14049 static PyObject 
*_wrap_ART_BUTTON_get() { 
14054         pyobj 
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len()); 
14056         pyobj 
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len()); 
14063 static int _wrap_ART_OTHER_set(PyObject 
*) { 
14064     PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only."); 
14069 static PyObject 
*_wrap_ART_OTHER_get() { 
14074         pyobj 
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
14076         pyobj 
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
14083 static int _wrap_ART_ADD_BOOKMARK_set(PyObject 
*) { 
14084     PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only."); 
14089 static PyObject 
*_wrap_ART_ADD_BOOKMARK_get() { 
14094         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
14096         pyobj 
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
14103 static int _wrap_ART_DEL_BOOKMARK_set(PyObject 
*) { 
14104     PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only."); 
14109 static PyObject 
*_wrap_ART_DEL_BOOKMARK_get() { 
14114         pyobj 
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
14116         pyobj 
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
14123 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject 
*) { 
14124     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only."); 
14129 static PyObject 
*_wrap_ART_HELP_SIDE_PANEL_get() { 
14134         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
14136         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
14143 static int _wrap_ART_HELP_SETTINGS_set(PyObject 
*) { 
14144     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only."); 
14149 static PyObject 
*_wrap_ART_HELP_SETTINGS_get() { 
14154         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
14156         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
14163 static int _wrap_ART_HELP_BOOK_set(PyObject 
*) { 
14164     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only."); 
14169 static PyObject 
*_wrap_ART_HELP_BOOK_get() { 
14174         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
14176         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
14183 static int _wrap_ART_HELP_FOLDER_set(PyObject 
*) { 
14184     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only."); 
14189 static PyObject 
*_wrap_ART_HELP_FOLDER_get() { 
14194         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
14196         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
14203 static int _wrap_ART_HELP_PAGE_set(PyObject 
*) { 
14204     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only."); 
14209 static PyObject 
*_wrap_ART_HELP_PAGE_get() { 
14214         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
14216         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
14223 static int _wrap_ART_GO_BACK_set(PyObject 
*) { 
14224     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only."); 
14229 static PyObject 
*_wrap_ART_GO_BACK_get() { 
14234         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
14236         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
14243 static int _wrap_ART_GO_FORWARD_set(PyObject 
*) { 
14244     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only."); 
14249 static PyObject 
*_wrap_ART_GO_FORWARD_get() { 
14254         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
14256         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
14263 static int _wrap_ART_GO_UP_set(PyObject 
*) { 
14264     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only."); 
14269 static PyObject 
*_wrap_ART_GO_UP_get() { 
14274         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
14276         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
14283 static int _wrap_ART_GO_DOWN_set(PyObject 
*) { 
14284     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only."); 
14289 static PyObject 
*_wrap_ART_GO_DOWN_get() { 
14294         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
14296         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
14303 static int _wrap_ART_GO_TO_PARENT_set(PyObject 
*) { 
14304     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only."); 
14309 static PyObject 
*_wrap_ART_GO_TO_PARENT_get() { 
14314         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
14316         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
14323 static int _wrap_ART_GO_HOME_set(PyObject 
*) { 
14324     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only."); 
14329 static PyObject 
*_wrap_ART_GO_HOME_get() { 
14334         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
14336         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
14343 static int _wrap_ART_FILE_OPEN_set(PyObject 
*) { 
14344     PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only."); 
14349 static PyObject 
*_wrap_ART_FILE_OPEN_get() { 
14354         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
14356         pyobj 
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
14363 static int _wrap_ART_PRINT_set(PyObject 
*) { 
14364     PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only."); 
14369 static PyObject 
*_wrap_ART_PRINT_get() { 
14374         pyobj 
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
14376         pyobj 
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
14383 static int _wrap_ART_HELP_set(PyObject 
*) { 
14384     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only."); 
14389 static PyObject 
*_wrap_ART_HELP_get() { 
14394         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
14396         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
14403 static int _wrap_ART_TIP_set(PyObject 
*) { 
14404     PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only."); 
14409 static PyObject 
*_wrap_ART_TIP_get() { 
14414         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14416         pyobj 
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14423 static int _wrap_ART_REPORT_VIEW_set(PyObject 
*) { 
14424     PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only."); 
14429 static PyObject 
*_wrap_ART_REPORT_VIEW_get() { 
14434         pyobj 
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14436         pyobj 
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14443 static int _wrap_ART_LIST_VIEW_set(PyObject 
*) { 
14444     PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only."); 
14449 static PyObject 
*_wrap_ART_LIST_VIEW_get() { 
14454         pyobj 
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14456         pyobj 
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14463 static int _wrap_ART_NEW_DIR_set(PyObject 
*) { 
14464     PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only."); 
14469 static PyObject 
*_wrap_ART_NEW_DIR_get() { 
14474         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14476         pyobj 
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14483 static int _wrap_ART_FOLDER_set(PyObject 
*) { 
14484     PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only."); 
14489 static PyObject 
*_wrap_ART_FOLDER_get() { 
14494         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14496         pyobj 
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14503 static int _wrap_ART_GO_DIR_UP_set(PyObject 
*) { 
14504     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only."); 
14509 static PyObject 
*_wrap_ART_GO_DIR_UP_get() { 
14514         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14516         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14523 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject 
*) { 
14524     PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only."); 
14529 static PyObject 
*_wrap_ART_EXECUTABLE_FILE_get() { 
14534         pyobj 
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14536         pyobj 
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14543 static int _wrap_ART_NORMAL_FILE_set(PyObject 
*) { 
14544     PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only."); 
14549 static PyObject 
*_wrap_ART_NORMAL_FILE_get() { 
14554         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14556         pyobj 
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14563 static int _wrap_ART_TICK_MARK_set(PyObject 
*) { 
14564     PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only."); 
14569 static PyObject 
*_wrap_ART_TICK_MARK_get() { 
14574         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14576         pyobj 
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14583 static int _wrap_ART_CROSS_MARK_set(PyObject 
*) { 
14584     PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only."); 
14589 static PyObject 
*_wrap_ART_CROSS_MARK_get() { 
14594         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14596         pyobj 
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14603 static int _wrap_ART_ERROR_set(PyObject 
*) { 
14604     PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only."); 
14609 static PyObject 
*_wrap_ART_ERROR_get() { 
14614         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14616         pyobj 
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14623 static int _wrap_ART_QUESTION_set(PyObject 
*) { 
14624     PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only."); 
14629 static PyObject 
*_wrap_ART_QUESTION_get() { 
14634         pyobj 
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14636         pyobj 
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14643 static int _wrap_ART_WARNING_set(PyObject 
*) { 
14644     PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only."); 
14649 static PyObject 
*_wrap_ART_WARNING_get() { 
14654         pyobj 
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14656         pyobj 
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14663 static int _wrap_ART_INFORMATION_set(PyObject 
*) { 
14664     PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only."); 
14669 static PyObject 
*_wrap_ART_INFORMATION_get() { 
14674         pyobj 
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14676         pyobj 
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14683 static int _wrap_ART_MISSING_IMAGE_set(PyObject 
*) { 
14684     PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only."); 
14689 static PyObject 
*_wrap_ART_MISSING_IMAGE_get() { 
14694         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14696         pyobj 
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14703 static PyObject 
*_wrap_new_ArtProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14704     PyObject 
*resultobj
; 
14705     wxPyArtProvider 
*result
; 
14706     char *kwnames
[] = { 
14710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
; 
14712         if (!wxPyCheckForApp()) SWIG_fail
; 
14713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14714         result 
= (wxPyArtProvider 
*)new wxPyArtProvider(); 
14716         wxPyEndAllowThreads(__tstate
); 
14717         if (PyErr_Occurred()) SWIG_fail
; 
14719     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1); 
14726 static PyObject 
*_wrap_ArtProvider__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14727     PyObject 
*resultobj
; 
14728     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14729     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14730     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14731     PyObject 
* obj0 
= 0 ; 
14732     PyObject 
* obj1 
= 0 ; 
14733     PyObject 
* obj2 
= 0 ; 
14734     char *kwnames
[] = { 
14735         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
14738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14739     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14740     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14745         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
14747         wxPyEndAllowThreads(__tstate
); 
14748         if (PyErr_Occurred()) SWIG_fail
; 
14750     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14757 static PyObject 
*_wrap_ArtProvider_PushProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14758     PyObject 
*resultobj
; 
14759     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14760     PyObject 
* obj0 
= 0 ; 
14761     char *kwnames
[] = { 
14762         (char *) "provider", NULL 
 
14765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
; 
14766     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14767     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14770         wxPyArtProvider::PushProvider(arg1
); 
14772         wxPyEndAllowThreads(__tstate
); 
14773         if (PyErr_Occurred()) SWIG_fail
; 
14775     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14782 static PyObject 
*_wrap_ArtProvider_PopProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14783     PyObject 
*resultobj
; 
14785     char *kwnames
[] = { 
14789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
; 
14791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14792         result 
= (bool)wxPyArtProvider::PopProvider(); 
14794         wxPyEndAllowThreads(__tstate
); 
14795         if (PyErr_Occurred()) SWIG_fail
; 
14798         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14806 static PyObject 
*_wrap_ArtProvider_RemoveProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14807     PyObject 
*resultobj
; 
14808     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14810     PyObject 
* obj0 
= 0 ; 
14811     char *kwnames
[] = { 
14812         (char *) "provider", NULL 
 
14815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
; 
14816     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14820         result 
= (bool)wxPyArtProvider::RemoveProvider(arg1
); 
14822         wxPyEndAllowThreads(__tstate
); 
14823         if (PyErr_Occurred()) SWIG_fail
; 
14826         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14834 static PyObject 
*_wrap_ArtProvider_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14835     PyObject 
*resultobj
; 
14836     wxString 
*arg1 
= 0 ; 
14837     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14838     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14839     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14840     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14842     bool temp1 
= False 
; 
14843     bool temp2 
= False 
; 
14845     PyObject 
* obj0 
= 0 ; 
14846     PyObject 
* obj1 
= 0 ; 
14847     PyObject 
* obj2 
= 0 ; 
14848     char *kwnames
[] = { 
14849         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14854         arg1 
= wxString_in_helper(obj0
); 
14855         if (arg1 
== NULL
) SWIG_fail
; 
14860             arg2 
= wxString_in_helper(obj1
); 
14861             if (arg2 
== NULL
) SWIG_fail
; 
14868             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14872         if (!wxPyCheckForApp()) SWIG_fail
; 
14873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14874         result 
= wxPyArtProvider::GetBitmap((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14876         wxPyEndAllowThreads(__tstate
); 
14877         if (PyErr_Occurred()) SWIG_fail
; 
14880         wxBitmap 
* resultptr
; 
14881         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
14882         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
14906 static PyObject 
*_wrap_ArtProvider_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14907     PyObject 
*resultobj
; 
14908     wxString 
*arg1 
= 0 ; 
14909     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14910     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14911     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14912     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14914     bool temp1 
= False 
; 
14915     bool temp2 
= False 
; 
14917     PyObject 
* obj0 
= 0 ; 
14918     PyObject 
* obj1 
= 0 ; 
14919     PyObject 
* obj2 
= 0 ; 
14920     char *kwnames
[] = { 
14921         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14926         arg1 
= wxString_in_helper(obj0
); 
14927         if (arg1 
== NULL
) SWIG_fail
; 
14932             arg2 
= wxString_in_helper(obj1
); 
14933             if (arg2 
== NULL
) SWIG_fail
; 
14940             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14944         if (!wxPyCheckForApp()) SWIG_fail
; 
14945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14946         result 
= wxPyArtProvider::GetIcon((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14948         wxPyEndAllowThreads(__tstate
); 
14949         if (PyErr_Occurred()) SWIG_fail
; 
14952         wxIcon 
* resultptr
; 
14953         resultptr 
= new wxIcon((wxIcon 
&) result
); 
14954         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
14978 static PyObject 
*_wrap_ArtProvider_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14979     PyObject 
*resultobj
; 
14980     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14981     PyObject 
* obj0 
= 0 ; 
14982     char *kwnames
[] = { 
14983         (char *) "self", NULL 
 
14986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
; 
14987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14990         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14991         wxPyArtProvider_Destroy(arg1
); 
14993         wxPyEndAllowThreads(__tstate
); 
14994         if (PyErr_Occurred()) SWIG_fail
; 
14996     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15003 static PyObject 
* ArtProvider_swigregister(PyObject 
*, PyObject 
*args
) { 
15005     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15006     SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
); 
15008     return Py_BuildValue((char *)""); 
15010 static PyObject 
*_wrap_delete_ConfigBase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15011     PyObject 
*resultobj
; 
15012     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15013     PyObject 
* obj0 
= 0 ; 
15014     char *kwnames
[] = { 
15015         (char *) "self", NULL 
 
15018     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
; 
15019     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15020     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15022         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15025         wxPyEndAllowThreads(__tstate
); 
15026         if (PyErr_Occurred()) SWIG_fail
; 
15028     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15035 static PyObject 
*_wrap_ConfigBase_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15036     PyObject 
*resultobj
; 
15037     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15038     wxConfigBase 
*result
; 
15039     PyObject 
* obj0 
= 0 ; 
15040     char *kwnames
[] = { 
15041         (char *) "config", NULL 
 
15044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
; 
15045     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15046     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15049         result 
= (wxConfigBase 
*)wxConfigBase::Set(arg1
); 
15051         wxPyEndAllowThreads(__tstate
); 
15052         if (PyErr_Occurred()) SWIG_fail
; 
15054     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
15061 static PyObject 
*_wrap_ConfigBase_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15062     PyObject 
*resultobj
; 
15063     bool arg1 
= (bool) True 
; 
15064     wxConfigBase 
*result
; 
15065     PyObject 
* obj0 
= 0 ; 
15066     char *kwnames
[] = { 
15067         (char *) "createOnDemand", NULL 
 
15070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
; 
15072         arg1 
= (bool)SWIG_As_bool(obj0
);  
15073         if (PyErr_Occurred()) SWIG_fail
; 
15076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15077         result 
= (wxConfigBase 
*)wxConfigBase::Get(arg1
); 
15079         wxPyEndAllowThreads(__tstate
); 
15080         if (PyErr_Occurred()) SWIG_fail
; 
15082     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
15089 static PyObject 
*_wrap_ConfigBase_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15090     PyObject 
*resultobj
; 
15091     wxConfigBase 
*result
; 
15092     char *kwnames
[] = { 
15096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
; 
15098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15099         result 
= (wxConfigBase 
*)wxConfigBase::Create(); 
15101         wxPyEndAllowThreads(__tstate
); 
15102         if (PyErr_Occurred()) SWIG_fail
; 
15104     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
15111 static PyObject 
*_wrap_ConfigBase_DontCreateOnDemand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15112     PyObject 
*resultobj
; 
15113     char *kwnames
[] = { 
15117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
; 
15119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15120         wxConfigBase::DontCreateOnDemand(); 
15122         wxPyEndAllowThreads(__tstate
); 
15123         if (PyErr_Occurred()) SWIG_fail
; 
15125     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15132 static PyObject 
*_wrap_ConfigBase_SetPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15133     PyObject 
*resultobj
; 
15134     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15135     wxString 
*arg2 
= 0 ; 
15136     bool temp2 
= False 
; 
15137     PyObject 
* obj0 
= 0 ; 
15138     PyObject 
* obj1 
= 0 ; 
15139     char *kwnames
[] = { 
15140         (char *) "self",(char *) "path", NULL 
 
15143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
15144     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15145     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15147         arg2 
= wxString_in_helper(obj1
); 
15148         if (arg2 
== NULL
) SWIG_fail
; 
15152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15153         (arg1
)->SetPath((wxString 
const &)*arg2
); 
15155         wxPyEndAllowThreads(__tstate
); 
15156         if (PyErr_Occurred()) SWIG_fail
; 
15158     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15173 static PyObject 
*_wrap_ConfigBase_GetPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15174     PyObject 
*resultobj
; 
15175     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15177     PyObject 
* obj0 
= 0 ; 
15178     char *kwnames
[] = { 
15179         (char *) "self", NULL 
 
15182     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
; 
15183     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15184     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15186         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15188             wxString 
const &_result_ref 
= ((wxConfigBase 
const *)arg1
)->GetPath(); 
15189             result 
= (wxString 
*) &_result_ref
; 
15192         wxPyEndAllowThreads(__tstate
); 
15193         if (PyErr_Occurred()) SWIG_fail
; 
15197         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
15199         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
15208 static PyObject 
*_wrap_ConfigBase_GetFirstGroup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15209     PyObject 
*resultobj
; 
15210     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15212     PyObject 
* obj0 
= 0 ; 
15213     char *kwnames
[] = { 
15214         (char *) "self", NULL 
 
15217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
; 
15218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15222         result 
= (PyObject 
*)wxConfigBase_GetFirstGroup(arg1
); 
15224         wxPyEndAllowThreads(__tstate
); 
15225         if (PyErr_Occurred()) SWIG_fail
; 
15227     resultobj 
= result
; 
15234 static PyObject 
*_wrap_ConfigBase_GetNextGroup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15235     PyObject 
*resultobj
; 
15236     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15239     PyObject 
* obj0 
= 0 ; 
15240     PyObject 
* obj1 
= 0 ; 
15241     char *kwnames
[] = { 
15242         (char *) "self",(char *) "index", NULL 
 
15245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
15246     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15247     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15248     arg2 
= (long)SWIG_As_long(obj1
);  
15249     if (PyErr_Occurred()) SWIG_fail
; 
15251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15252         result 
= (PyObject 
*)wxConfigBase_GetNextGroup(arg1
,arg2
); 
15254         wxPyEndAllowThreads(__tstate
); 
15255         if (PyErr_Occurred()) SWIG_fail
; 
15257     resultobj 
= result
; 
15264 static PyObject 
*_wrap_ConfigBase_GetFirstEntry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15265     PyObject 
*resultobj
; 
15266     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15268     PyObject 
* obj0 
= 0 ; 
15269     char *kwnames
[] = { 
15270         (char *) "self", NULL 
 
15273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
; 
15274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15278         result 
= (PyObject 
*)wxConfigBase_GetFirstEntry(arg1
); 
15280         wxPyEndAllowThreads(__tstate
); 
15281         if (PyErr_Occurred()) SWIG_fail
; 
15283     resultobj 
= result
; 
15290 static PyObject 
*_wrap_ConfigBase_GetNextEntry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15291     PyObject 
*resultobj
; 
15292     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15295     PyObject 
* obj0 
= 0 ; 
15296     PyObject 
* obj1 
= 0 ; 
15297     char *kwnames
[] = { 
15298         (char *) "self",(char *) "index", NULL 
 
15301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
15302     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15304     arg2 
= (long)SWIG_As_long(obj1
);  
15305     if (PyErr_Occurred()) SWIG_fail
; 
15307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15308         result 
= (PyObject 
*)wxConfigBase_GetNextEntry(arg1
,arg2
); 
15310         wxPyEndAllowThreads(__tstate
); 
15311         if (PyErr_Occurred()) SWIG_fail
; 
15313     resultobj 
= result
; 
15320 static PyObject 
*_wrap_ConfigBase_GetNumberOfEntries(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15321     PyObject 
*resultobj
; 
15322     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15323     bool arg2 
= (bool) False 
; 
15325     PyObject 
* obj0 
= 0 ; 
15326     PyObject 
* obj1 
= 0 ; 
15327     char *kwnames
[] = { 
15328         (char *) "self",(char *) "recursive", NULL 
 
15331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
; 
15332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15335         arg2 
= (bool)SWIG_As_bool(obj1
);  
15336         if (PyErr_Occurred()) SWIG_fail
; 
15339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15340         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfEntries(arg2
); 
15342         wxPyEndAllowThreads(__tstate
); 
15343         if (PyErr_Occurred()) SWIG_fail
; 
15345     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
15352 static PyObject 
*_wrap_ConfigBase_GetNumberOfGroups(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15353     PyObject 
*resultobj
; 
15354     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15355     bool arg2 
= (bool) False 
; 
15357     PyObject 
* obj0 
= 0 ; 
15358     PyObject 
* obj1 
= 0 ; 
15359     char *kwnames
[] = { 
15360         (char *) "self",(char *) "recursive", NULL 
 
15363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
; 
15364     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15365     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15367         arg2 
= (bool)SWIG_As_bool(obj1
);  
15368         if (PyErr_Occurred()) SWIG_fail
; 
15371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15372         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfGroups(arg2
); 
15374         wxPyEndAllowThreads(__tstate
); 
15375         if (PyErr_Occurred()) SWIG_fail
; 
15377     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
15384 static PyObject 
*_wrap_ConfigBase_HasGroup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15385     PyObject 
*resultobj
; 
15386     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15387     wxString 
*arg2 
= 0 ; 
15389     bool temp2 
= False 
; 
15390     PyObject 
* obj0 
= 0 ; 
15391     PyObject 
* obj1 
= 0 ; 
15392     char *kwnames
[] = { 
15393         (char *) "self",(char *) "name", NULL 
 
15396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
15397     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15398     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15400         arg2 
= wxString_in_helper(obj1
); 
15401         if (arg2 
== NULL
) SWIG_fail
; 
15405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15406         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasGroup((wxString 
const &)*arg2
); 
15408         wxPyEndAllowThreads(__tstate
); 
15409         if (PyErr_Occurred()) SWIG_fail
; 
15412         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15428 static PyObject 
*_wrap_ConfigBase_HasEntry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15429     PyObject 
*resultobj
; 
15430     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15431     wxString 
*arg2 
= 0 ; 
15433     bool temp2 
= False 
; 
15434     PyObject 
* obj0 
= 0 ; 
15435     PyObject 
* obj1 
= 0 ; 
15436     char *kwnames
[] = { 
15437         (char *) "self",(char *) "name", NULL 
 
15440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
15441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15444         arg2 
= wxString_in_helper(obj1
); 
15445         if (arg2 
== NULL
) SWIG_fail
; 
15449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15450         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasEntry((wxString 
const &)*arg2
); 
15452         wxPyEndAllowThreads(__tstate
); 
15453         if (PyErr_Occurred()) SWIG_fail
; 
15456         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15472 static PyObject 
*_wrap_ConfigBase_Exists(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15473     PyObject 
*resultobj
; 
15474     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15475     wxString 
*arg2 
= 0 ; 
15477     bool temp2 
= False 
; 
15478     PyObject 
* obj0 
= 0 ; 
15479     PyObject 
* obj1 
= 0 ; 
15480     char *kwnames
[] = { 
15481         (char *) "self",(char *) "name", NULL 
 
15484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
; 
15485     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15486     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15488         arg2 
= wxString_in_helper(obj1
); 
15489         if (arg2 
== NULL
) SWIG_fail
; 
15493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15494         result 
= (bool)((wxConfigBase 
const *)arg1
)->Exists((wxString 
const &)*arg2
); 
15496         wxPyEndAllowThreads(__tstate
); 
15497         if (PyErr_Occurred()) SWIG_fail
; 
15500         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15516 static PyObject 
*_wrap_ConfigBase_GetEntryType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15517     PyObject 
*resultobj
; 
15518     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15519     wxString 
*arg2 
= 0 ; 
15521     bool temp2 
= False 
; 
15522     PyObject 
* obj0 
= 0 ; 
15523     PyObject 
* obj1 
= 0 ; 
15524     char *kwnames
[] = { 
15525         (char *) "self",(char *) "name", NULL 
 
15528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
; 
15529     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15530     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15532         arg2 
= wxString_in_helper(obj1
); 
15533         if (arg2 
== NULL
) SWIG_fail
; 
15537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15538         result 
= (int)((wxConfigBase 
const *)arg1
)->GetEntryType((wxString 
const &)*arg2
); 
15540         wxPyEndAllowThreads(__tstate
); 
15541         if (PyErr_Occurred()) SWIG_fail
; 
15543     resultobj 
= SWIG_From_int((int)result
); 
15558 static PyObject 
*_wrap_ConfigBase_Read(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15559     PyObject 
*resultobj
; 
15560     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15561     wxString 
*arg2 
= 0 ; 
15562     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15563     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15565     bool temp2 
= False 
; 
15566     bool temp3 
= False 
; 
15567     PyObject 
* obj0 
= 0 ; 
15568     PyObject 
* obj1 
= 0 ; 
15569     PyObject 
* obj2 
= 0 ; 
15570     char *kwnames
[] = { 
15571         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15575     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15576     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15578         arg2 
= wxString_in_helper(obj1
); 
15579         if (arg2 
== NULL
) SWIG_fail
; 
15584             arg3 
= wxString_in_helper(obj2
); 
15585             if (arg3 
== NULL
) SWIG_fail
; 
15590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15591         result 
= (arg1
)->Read((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15593         wxPyEndAllowThreads(__tstate
); 
15594         if (PyErr_Occurred()) SWIG_fail
; 
15598         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15600         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15625 static PyObject 
*_wrap_ConfigBase_ReadInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15626     PyObject 
*resultobj
; 
15627     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15628     wxString 
*arg2 
= 0 ; 
15629     long arg3 
= (long) 0 ; 
15631     bool temp2 
= False 
; 
15632     PyObject 
* obj0 
= 0 ; 
15633     PyObject 
* obj1 
= 0 ; 
15634     PyObject 
* obj2 
= 0 ; 
15635     char *kwnames
[] = { 
15636         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15643         arg2 
= wxString_in_helper(obj1
); 
15644         if (arg2 
== NULL
) SWIG_fail
; 
15648         arg3 
= (long)SWIG_As_long(obj2
);  
15649         if (PyErr_Occurred()) SWIG_fail
; 
15652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15653         result 
= (long)wxConfigBase_ReadInt(arg1
,(wxString 
const &)*arg2
,arg3
); 
15655         wxPyEndAllowThreads(__tstate
); 
15656         if (PyErr_Occurred()) SWIG_fail
; 
15658     resultobj 
= SWIG_From_long((long)result
); 
15673 static PyObject 
*_wrap_ConfigBase_ReadFloat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15674     PyObject 
*resultobj
; 
15675     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15676     wxString 
*arg2 
= 0 ; 
15677     double arg3 
= (double) 0.0 ; 
15679     bool temp2 
= False 
; 
15680     PyObject 
* obj0 
= 0 ; 
15681     PyObject 
* obj1 
= 0 ; 
15682     PyObject 
* obj2 
= 0 ; 
15683     char *kwnames
[] = { 
15684         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15688     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15689     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15691         arg2 
= wxString_in_helper(obj1
); 
15692         if (arg2 
== NULL
) SWIG_fail
; 
15696         arg3 
= (double)SWIG_As_double(obj2
);  
15697         if (PyErr_Occurred()) SWIG_fail
; 
15700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15701         result 
= (double)wxConfigBase_ReadFloat(arg1
,(wxString 
const &)*arg2
,arg3
); 
15703         wxPyEndAllowThreads(__tstate
); 
15704         if (PyErr_Occurred()) SWIG_fail
; 
15706     resultobj 
= SWIG_From_double((double)result
); 
15721 static PyObject 
*_wrap_ConfigBase_ReadBool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15722     PyObject 
*resultobj
; 
15723     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15724     wxString 
*arg2 
= 0 ; 
15725     bool arg3 
= (bool) False 
; 
15727     bool temp2 
= False 
; 
15728     PyObject 
* obj0 
= 0 ; 
15729     PyObject 
* obj1 
= 0 ; 
15730     PyObject 
* obj2 
= 0 ; 
15731     char *kwnames
[] = { 
15732         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15739         arg2 
= wxString_in_helper(obj1
); 
15740         if (arg2 
== NULL
) SWIG_fail
; 
15744         arg3 
= (bool)SWIG_As_bool(obj2
);  
15745         if (PyErr_Occurred()) SWIG_fail
; 
15748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15749         result 
= (bool)wxConfigBase_ReadBool(arg1
,(wxString 
const &)*arg2
,arg3
); 
15751         wxPyEndAllowThreads(__tstate
); 
15752         if (PyErr_Occurred()) SWIG_fail
; 
15755         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15771 static PyObject 
*_wrap_ConfigBase_Write(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15772     PyObject 
*resultobj
; 
15773     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15774     wxString 
*arg2 
= 0 ; 
15775     wxString 
*arg3 
= 0 ; 
15777     bool temp2 
= False 
; 
15778     bool temp3 
= False 
; 
15779     PyObject 
* obj0 
= 0 ; 
15780     PyObject 
* obj1 
= 0 ; 
15781     PyObject 
* obj2 
= 0 ; 
15782     char *kwnames
[] = { 
15783         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15790         arg2 
= wxString_in_helper(obj1
); 
15791         if (arg2 
== NULL
) SWIG_fail
; 
15795         arg3 
= wxString_in_helper(obj2
); 
15796         if (arg3 
== NULL
) SWIG_fail
; 
15800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15801         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15803         wxPyEndAllowThreads(__tstate
); 
15804         if (PyErr_Occurred()) SWIG_fail
; 
15807         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15831 static PyObject 
*_wrap_ConfigBase_WriteInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15832     PyObject 
*resultobj
; 
15833     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15834     wxString 
*arg2 
= 0 ; 
15837     bool temp2 
= False 
; 
15838     PyObject 
* obj0 
= 0 ; 
15839     PyObject 
* obj1 
= 0 ; 
15840     PyObject 
* obj2 
= 0 ; 
15841     char *kwnames
[] = { 
15842         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15849         arg2 
= wxString_in_helper(obj1
); 
15850         if (arg2 
== NULL
) SWIG_fail
; 
15853     arg3 
= (long)SWIG_As_long(obj2
);  
15854     if (PyErr_Occurred()) SWIG_fail
; 
15856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15857         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15859         wxPyEndAllowThreads(__tstate
); 
15860         if (PyErr_Occurred()) SWIG_fail
; 
15863         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15879 static PyObject 
*_wrap_ConfigBase_WriteFloat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15880     PyObject 
*resultobj
; 
15881     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15882     wxString 
*arg2 
= 0 ; 
15885     bool temp2 
= False 
; 
15886     PyObject 
* obj0 
= 0 ; 
15887     PyObject 
* obj1 
= 0 ; 
15888     PyObject 
* obj2 
= 0 ; 
15889     char *kwnames
[] = { 
15890         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15894     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15895     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15897         arg2 
= wxString_in_helper(obj1
); 
15898         if (arg2 
== NULL
) SWIG_fail
; 
15901     arg3 
= (double)SWIG_As_double(obj2
);  
15902     if (PyErr_Occurred()) SWIG_fail
; 
15904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15905         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15907         wxPyEndAllowThreads(__tstate
); 
15908         if (PyErr_Occurred()) SWIG_fail
; 
15911         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15927 static PyObject 
*_wrap_ConfigBase_WriteBool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15928     PyObject 
*resultobj
; 
15929     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15930     wxString 
*arg2 
= 0 ; 
15933     bool temp2 
= False 
; 
15934     PyObject 
* obj0 
= 0 ; 
15935     PyObject 
* obj1 
= 0 ; 
15936     PyObject 
* obj2 
= 0 ; 
15937     char *kwnames
[] = { 
15938         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15942     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15943     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15945         arg2 
= wxString_in_helper(obj1
); 
15946         if (arg2 
== NULL
) SWIG_fail
; 
15949     arg3 
= (bool)SWIG_As_bool(obj2
);  
15950     if (PyErr_Occurred()) SWIG_fail
; 
15952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15953         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15955         wxPyEndAllowThreads(__tstate
); 
15956         if (PyErr_Occurred()) SWIG_fail
; 
15959         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15975 static PyObject 
*_wrap_ConfigBase_Flush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15976     PyObject 
*resultobj
; 
15977     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15978     bool arg2 
= (bool) False 
; 
15980     PyObject 
* obj0 
= 0 ; 
15981     PyObject 
* obj1 
= 0 ; 
15982     char *kwnames
[] = { 
15983         (char *) "self",(char *) "currentOnly", NULL 
 
15986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
; 
15987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15990         arg2 
= (bool)SWIG_As_bool(obj1
);  
15991         if (PyErr_Occurred()) SWIG_fail
; 
15994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15995         result 
= (bool)(arg1
)->Flush(arg2
); 
15997         wxPyEndAllowThreads(__tstate
); 
15998         if (PyErr_Occurred()) SWIG_fail
; 
16001         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16009 static PyObject 
*_wrap_ConfigBase_RenameEntry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16010     PyObject 
*resultobj
; 
16011     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16012     wxString 
*arg2 
= 0 ; 
16013     wxString 
*arg3 
= 0 ; 
16015     bool temp2 
= False 
; 
16016     bool temp3 
= False 
; 
16017     PyObject 
* obj0 
= 0 ; 
16018     PyObject 
* obj1 
= 0 ; 
16019     PyObject 
* obj2 
= 0 ; 
16020     char *kwnames
[] = { 
16021         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
16024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16025     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16026     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16028         arg2 
= wxString_in_helper(obj1
); 
16029         if (arg2 
== NULL
) SWIG_fail
; 
16033         arg3 
= wxString_in_helper(obj2
); 
16034         if (arg3 
== NULL
) SWIG_fail
; 
16038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16039         result 
= (bool)(arg1
)->RenameEntry((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
16041         wxPyEndAllowThreads(__tstate
); 
16042         if (PyErr_Occurred()) SWIG_fail
; 
16045         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16069 static PyObject 
*_wrap_ConfigBase_RenameGroup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16070     PyObject 
*resultobj
; 
16071     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16072     wxString 
*arg2 
= 0 ; 
16073     wxString 
*arg3 
= 0 ; 
16075     bool temp2 
= False 
; 
16076     bool temp3 
= False 
; 
16077     PyObject 
* obj0 
= 0 ; 
16078     PyObject 
* obj1 
= 0 ; 
16079     PyObject 
* obj2 
= 0 ; 
16080     char *kwnames
[] = { 
16081         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
16084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16085     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16086     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16088         arg2 
= wxString_in_helper(obj1
); 
16089         if (arg2 
== NULL
) SWIG_fail
; 
16093         arg3 
= wxString_in_helper(obj2
); 
16094         if (arg3 
== NULL
) SWIG_fail
; 
16098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16099         result 
= (bool)(arg1
)->RenameGroup((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
16101         wxPyEndAllowThreads(__tstate
); 
16102         if (PyErr_Occurred()) SWIG_fail
; 
16105         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16129 static PyObject 
*_wrap_ConfigBase_DeleteEntry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16130     PyObject 
*resultobj
; 
16131     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16132     wxString 
*arg2 
= 0 ; 
16133     bool arg3 
= (bool) True 
; 
16135     bool temp2 
= False 
; 
16136     PyObject 
* obj0 
= 0 ; 
16137     PyObject 
* obj1 
= 0 ; 
16138     PyObject 
* obj2 
= 0 ; 
16139     char *kwnames
[] = { 
16140         (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL 
 
16143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16144     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16145     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16147         arg2 
= wxString_in_helper(obj1
); 
16148         if (arg2 
== NULL
) SWIG_fail
; 
16152         arg3 
= (bool)SWIG_As_bool(obj2
);  
16153         if (PyErr_Occurred()) SWIG_fail
; 
16156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16157         result 
= (bool)(arg1
)->DeleteEntry((wxString 
const &)*arg2
,arg3
); 
16159         wxPyEndAllowThreads(__tstate
); 
16160         if (PyErr_Occurred()) SWIG_fail
; 
16163         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16179 static PyObject 
*_wrap_ConfigBase_DeleteGroup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16180     PyObject 
*resultobj
; 
16181     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16182     wxString 
*arg2 
= 0 ; 
16184     bool temp2 
= False 
; 
16185     PyObject 
* obj0 
= 0 ; 
16186     PyObject 
* obj1 
= 0 ; 
16187     char *kwnames
[] = { 
16188         (char *) "self",(char *) "key", NULL 
 
16191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
16192     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16193     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16195         arg2 
= wxString_in_helper(obj1
); 
16196         if (arg2 
== NULL
) SWIG_fail
; 
16200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16201         result 
= (bool)(arg1
)->DeleteGroup((wxString 
const &)*arg2
); 
16203         wxPyEndAllowThreads(__tstate
); 
16204         if (PyErr_Occurred()) SWIG_fail
; 
16207         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16223 static PyObject 
*_wrap_ConfigBase_DeleteAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16224     PyObject 
*resultobj
; 
16225     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16227     PyObject 
* obj0 
= 0 ; 
16228     char *kwnames
[] = { 
16229         (char *) "self", NULL 
 
16232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
; 
16233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16237         result 
= (bool)(arg1
)->DeleteAll(); 
16239         wxPyEndAllowThreads(__tstate
); 
16240         if (PyErr_Occurred()) SWIG_fail
; 
16243         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16251 static PyObject 
*_wrap_ConfigBase_SetExpandEnvVars(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16252     PyObject 
*resultobj
; 
16253     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16254     bool arg2 
= (bool) True 
; 
16255     PyObject 
* obj0 
= 0 ; 
16256     PyObject 
* obj1 
= 0 ; 
16257     char *kwnames
[] = { 
16258         (char *) "self",(char *) "doIt", NULL 
 
16261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
16262     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16265         arg2 
= (bool)SWIG_As_bool(obj1
);  
16266         if (PyErr_Occurred()) SWIG_fail
; 
16269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16270         (arg1
)->SetExpandEnvVars(arg2
); 
16272         wxPyEndAllowThreads(__tstate
); 
16273         if (PyErr_Occurred()) SWIG_fail
; 
16275     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16282 static PyObject 
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16283     PyObject 
*resultobj
; 
16284     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16286     PyObject 
* obj0 
= 0 ; 
16287     char *kwnames
[] = { 
16288         (char *) "self", NULL 
 
16291     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
; 
16292     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16293     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16296         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsExpandingEnvVars(); 
16298         wxPyEndAllowThreads(__tstate
); 
16299         if (PyErr_Occurred()) SWIG_fail
; 
16302         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16310 static PyObject 
*_wrap_ConfigBase_SetRecordDefaults(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16311     PyObject 
*resultobj
; 
16312     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16313     bool arg2 
= (bool) True 
; 
16314     PyObject 
* obj0 
= 0 ; 
16315     PyObject 
* obj1 
= 0 ; 
16316     char *kwnames
[] = { 
16317         (char *) "self",(char *) "doIt", NULL 
 
16320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
; 
16321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16324         arg2 
= (bool)SWIG_As_bool(obj1
);  
16325         if (PyErr_Occurred()) SWIG_fail
; 
16328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16329         (arg1
)->SetRecordDefaults(arg2
); 
16331         wxPyEndAllowThreads(__tstate
); 
16332         if (PyErr_Occurred()) SWIG_fail
; 
16334     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16341 static PyObject 
*_wrap_ConfigBase_IsRecordingDefaults(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16342     PyObject 
*resultobj
; 
16343     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16345     PyObject 
* obj0 
= 0 ; 
16346     char *kwnames
[] = { 
16347         (char *) "self", NULL 
 
16350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
; 
16351     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16355         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsRecordingDefaults(); 
16357         wxPyEndAllowThreads(__tstate
); 
16358         if (PyErr_Occurred()) SWIG_fail
; 
16361         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16369 static PyObject 
*_wrap_ConfigBase_ExpandEnvVars(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16370     PyObject 
*resultobj
; 
16371     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16372     wxString 
*arg2 
= 0 ; 
16374     bool temp2 
= False 
; 
16375     PyObject 
* obj0 
= 0 ; 
16376     PyObject 
* obj1 
= 0 ; 
16377     char *kwnames
[] = { 
16378         (char *) "self",(char *) "str", NULL 
 
16381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
16382     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16385         arg2 
= wxString_in_helper(obj1
); 
16386         if (arg2 
== NULL
) SWIG_fail
; 
16390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16391         result 
= ((wxConfigBase 
const *)arg1
)->ExpandEnvVars((wxString 
const &)*arg2
); 
16393         wxPyEndAllowThreads(__tstate
); 
16394         if (PyErr_Occurred()) SWIG_fail
; 
16398         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16400         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16417 static PyObject 
*_wrap_ConfigBase_GetAppName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16418     PyObject 
*resultobj
; 
16419     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16421     PyObject 
* obj0 
= 0 ; 
16422     char *kwnames
[] = { 
16423         (char *) "self", NULL 
 
16426     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
; 
16427     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16428     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16431         result 
= ((wxConfigBase 
const *)arg1
)->GetAppName(); 
16433         wxPyEndAllowThreads(__tstate
); 
16434         if (PyErr_Occurred()) SWIG_fail
; 
16438         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16440         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16449 static PyObject 
*_wrap_ConfigBase_GetVendorName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16450     PyObject 
*resultobj
; 
16451     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16453     PyObject 
* obj0 
= 0 ; 
16454     char *kwnames
[] = { 
16455         (char *) "self", NULL 
 
16458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
; 
16459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16463         result 
= ((wxConfigBase 
const *)arg1
)->GetVendorName(); 
16465         wxPyEndAllowThreads(__tstate
); 
16466         if (PyErr_Occurred()) SWIG_fail
; 
16470         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16472         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16481 static PyObject 
*_wrap_ConfigBase_SetAppName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16482     PyObject 
*resultobj
; 
16483     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16484     wxString 
*arg2 
= 0 ; 
16485     bool temp2 
= False 
; 
16486     PyObject 
* obj0 
= 0 ; 
16487     PyObject 
* obj1 
= 0 ; 
16488     char *kwnames
[] = { 
16489         (char *) "self",(char *) "appName", NULL 
 
16492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16496         arg2 
= wxString_in_helper(obj1
); 
16497         if (arg2 
== NULL
) SWIG_fail
; 
16501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16502         (arg1
)->SetAppName((wxString 
const &)*arg2
); 
16504         wxPyEndAllowThreads(__tstate
); 
16505         if (PyErr_Occurred()) SWIG_fail
; 
16507     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16522 static PyObject 
*_wrap_ConfigBase_SetVendorName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16523     PyObject 
*resultobj
; 
16524     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16525     wxString 
*arg2 
= 0 ; 
16526     bool temp2 
= False 
; 
16527     PyObject 
* obj0 
= 0 ; 
16528     PyObject 
* obj1 
= 0 ; 
16529     char *kwnames
[] = { 
16530         (char *) "self",(char *) "vendorName", NULL 
 
16533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16534     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16535     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16537         arg2 
= wxString_in_helper(obj1
); 
16538         if (arg2 
== NULL
) SWIG_fail
; 
16542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16543         (arg1
)->SetVendorName((wxString 
const &)*arg2
); 
16545         wxPyEndAllowThreads(__tstate
); 
16546         if (PyErr_Occurred()) SWIG_fail
; 
16548     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16563 static PyObject 
*_wrap_ConfigBase_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16564     PyObject 
*resultobj
; 
16565     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16567     PyObject 
* obj0 
= 0 ; 
16568     PyObject 
* obj1 
= 0 ; 
16569     char *kwnames
[] = { 
16570         (char *) "self",(char *) "style", NULL 
 
16573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
16574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16576     arg2 
= (long)SWIG_As_long(obj1
);  
16577     if (PyErr_Occurred()) SWIG_fail
; 
16579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16580         (arg1
)->SetStyle(arg2
); 
16582         wxPyEndAllowThreads(__tstate
); 
16583         if (PyErr_Occurred()) SWIG_fail
; 
16585     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16592 static PyObject 
*_wrap_ConfigBase_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16593     PyObject 
*resultobj
; 
16594     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16596     PyObject 
* obj0 
= 0 ; 
16597     char *kwnames
[] = { 
16598         (char *) "self", NULL 
 
16601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
; 
16602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16606         result 
= (long)((wxConfigBase 
const *)arg1
)->GetStyle(); 
16608         wxPyEndAllowThreads(__tstate
); 
16609         if (PyErr_Occurred()) SWIG_fail
; 
16611     resultobj 
= SWIG_From_long((long)result
); 
16618 static PyObject 
* ConfigBase_swigregister(PyObject 
*, PyObject 
*args
) { 
16620     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16621     SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
); 
16623     return Py_BuildValue((char *)""); 
16625 static PyObject 
*_wrap_new_Config(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16626     PyObject 
*resultobj
; 
16627     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16628     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16629     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16630     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16631     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16632     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16633     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16634     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16635     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16637     bool temp1 
= False 
; 
16638     bool temp2 
= False 
; 
16639     bool temp3 
= False 
; 
16640     bool temp4 
= False 
; 
16641     PyObject 
* obj0 
= 0 ; 
16642     PyObject 
* obj1 
= 0 ; 
16643     PyObject 
* obj2 
= 0 ; 
16644     PyObject 
* obj3 
= 0 ; 
16645     PyObject 
* obj4 
= 0 ; 
16646     char *kwnames
[] = { 
16647         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16653             arg1 
= wxString_in_helper(obj0
); 
16654             if (arg1 
== NULL
) SWIG_fail
; 
16660             arg2 
= wxString_in_helper(obj1
); 
16661             if (arg2 
== NULL
) SWIG_fail
; 
16667             arg3 
= wxString_in_helper(obj2
); 
16668             if (arg3 
== NULL
) SWIG_fail
; 
16674             arg4 
= wxString_in_helper(obj3
); 
16675             if (arg4 
== NULL
) SWIG_fail
; 
16680         arg5 
= (long)SWIG_As_long(obj4
);  
16681         if (PyErr_Occurred()) SWIG_fail
; 
16684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16685         result 
= (wxConfig 
*)new wxConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16687         wxPyEndAllowThreads(__tstate
); 
16688         if (PyErr_Occurred()) SWIG_fail
; 
16690     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1); 
16729 static PyObject 
*_wrap_delete_Config(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16730     PyObject 
*resultobj
; 
16731     wxConfig 
*arg1 
= (wxConfig 
*) 0 ; 
16732     PyObject 
* obj0 
= 0 ; 
16733     char *kwnames
[] = { 
16734         (char *) "self", NULL 
 
16737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
; 
16738     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
, 
16739     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16744         wxPyEndAllowThreads(__tstate
); 
16745         if (PyErr_Occurred()) SWIG_fail
; 
16747     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16754 static PyObject 
* Config_swigregister(PyObject 
*, PyObject 
*args
) { 
16756     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16757     SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
); 
16759     return Py_BuildValue((char *)""); 
16761 static PyObject 
*_wrap_new_FileConfig(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16762     PyObject 
*resultobj
; 
16763     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16764     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16765     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16766     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16767     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16768     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16769     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16770     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16771     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16772     wxFileConfig 
*result
; 
16773     bool temp1 
= False 
; 
16774     bool temp2 
= False 
; 
16775     bool temp3 
= False 
; 
16776     bool temp4 
= False 
; 
16777     PyObject 
* obj0 
= 0 ; 
16778     PyObject 
* obj1 
= 0 ; 
16779     PyObject 
* obj2 
= 0 ; 
16780     PyObject 
* obj3 
= 0 ; 
16781     PyObject 
* obj4 
= 0 ; 
16782     char *kwnames
[] = { 
16783         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16789             arg1 
= wxString_in_helper(obj0
); 
16790             if (arg1 
== NULL
) SWIG_fail
; 
16796             arg2 
= wxString_in_helper(obj1
); 
16797             if (arg2 
== NULL
) SWIG_fail
; 
16803             arg3 
= wxString_in_helper(obj2
); 
16804             if (arg3 
== NULL
) SWIG_fail
; 
16810             arg4 
= wxString_in_helper(obj3
); 
16811             if (arg4 
== NULL
) SWIG_fail
; 
16816         arg5 
= (long)SWIG_As_long(obj4
);  
16817         if (PyErr_Occurred()) SWIG_fail
; 
16820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16821         result 
= (wxFileConfig 
*)new wxFileConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16823         wxPyEndAllowThreads(__tstate
); 
16824         if (PyErr_Occurred()) SWIG_fail
; 
16826     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1); 
16865 static PyObject 
*_wrap_delete_FileConfig(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16866     PyObject 
*resultobj
; 
16867     wxFileConfig 
*arg1 
= (wxFileConfig 
*) 0 ; 
16868     PyObject 
* obj0 
= 0 ; 
16869     char *kwnames
[] = { 
16870         (char *) "self", NULL 
 
16873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
; 
16874     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
, 
16875     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16877         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16880         wxPyEndAllowThreads(__tstate
); 
16881         if (PyErr_Occurred()) SWIG_fail
; 
16883     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16890 static PyObject 
* FileConfig_swigregister(PyObject 
*, PyObject 
*args
) { 
16892     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16893     SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
); 
16895     return Py_BuildValue((char *)""); 
16897 static PyObject 
*_wrap_new_ConfigPathChanger(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16898     PyObject 
*resultobj
; 
16899     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16900     wxString 
*arg2 
= 0 ; 
16901     wxConfigPathChanger 
*result
; 
16902     bool temp2 
= False 
; 
16903     PyObject 
* obj0 
= 0 ; 
16904     PyObject 
* obj1 
= 0 ; 
16905     char *kwnames
[] = { 
16906         (char *) "config",(char *) "entry", NULL 
 
16909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
; 
16910     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16913         arg2 
= wxString_in_helper(obj1
); 
16914         if (arg2 
== NULL
) SWIG_fail
; 
16918         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16919         result 
= (wxConfigPathChanger 
*)new wxConfigPathChanger((wxConfigBase 
const *)arg1
,(wxString 
const &)*arg2
); 
16921         wxPyEndAllowThreads(__tstate
); 
16922         if (PyErr_Occurred()) SWIG_fail
; 
16924     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1); 
16939 static PyObject 
*_wrap_delete_ConfigPathChanger(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16940     PyObject 
*resultobj
; 
16941     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16942     PyObject 
* obj0 
= 0 ; 
16943     char *kwnames
[] = { 
16944         (char *) "self", NULL 
 
16947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
; 
16948     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16949     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16954         wxPyEndAllowThreads(__tstate
); 
16955         if (PyErr_Occurred()) SWIG_fail
; 
16957     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16964 static PyObject 
*_wrap_ConfigPathChanger_Name(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16965     PyObject 
*resultobj
; 
16966     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16968     PyObject 
* obj0 
= 0 ; 
16969     char *kwnames
[] = { 
16970         (char *) "self", NULL 
 
16973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
; 
16974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16979             wxString 
const &_result_ref 
= ((wxConfigPathChanger 
const *)arg1
)->Name(); 
16980             result 
= (wxString 
*) &_result_ref
; 
16983         wxPyEndAllowThreads(__tstate
); 
16984         if (PyErr_Occurred()) SWIG_fail
; 
16988         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
16990         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
16999 static PyObject 
* ConfigPathChanger_swigregister(PyObject 
*, PyObject 
*args
) { 
17001     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17002     SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
); 
17004     return Py_BuildValue((char *)""); 
17006 static PyObject 
*_wrap_ExpandEnvVars(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17007     PyObject 
*resultobj
; 
17008     wxString 
*arg1 
= 0 ; 
17010     bool temp1 
= False 
; 
17011     PyObject 
* obj0 
= 0 ; 
17012     char *kwnames
[] = { 
17013         (char *) "sz", NULL 
 
17016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
; 
17018         arg1 
= wxString_in_helper(obj0
); 
17019         if (arg1 
== NULL
) SWIG_fail
; 
17023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17024         result 
= wxExpandEnvVars((wxString 
const &)*arg1
); 
17026         wxPyEndAllowThreads(__tstate
); 
17027         if (PyErr_Occurred()) SWIG_fail
; 
17031         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17033         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17050 static int _wrap_DateFormatStr_set(PyObject 
*) { 
17051     PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only."); 
17056 static PyObject 
*_wrap_DateFormatStr_get() { 
17061         pyobj 
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
17063         pyobj 
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
17070 static int _wrap_TimeSpanFormatStr_set(PyObject 
*) { 
17071     PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only."); 
17076 static PyObject 
*_wrap_TimeSpanFormatStr_get() { 
17081         pyobj 
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
17083         pyobj 
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
17090 static PyObject 
*_wrap_DateTime_SetCountry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17091     PyObject 
*resultobj
; 
17093     PyObject 
* obj0 
= 0 ; 
17094     char *kwnames
[] = { 
17095         (char *) "country", NULL 
 
17098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
; 
17099     arg1 
= (int)SWIG_As_int(obj0
);  
17100     if (PyErr_Occurred()) SWIG_fail
; 
17102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17103         wxDateTime::SetCountry((wxDateTime::Country 
)arg1
); 
17105         wxPyEndAllowThreads(__tstate
); 
17106         if (PyErr_Occurred()) SWIG_fail
; 
17108     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17115 static PyObject 
*_wrap_DateTime_GetCountry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17116     PyObject 
*resultobj
; 
17118     char *kwnames
[] = { 
17122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
; 
17124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17125         result 
= (int)wxDateTime::GetCountry(); 
17127         wxPyEndAllowThreads(__tstate
); 
17128         if (PyErr_Occurred()) SWIG_fail
; 
17130     resultobj 
= SWIG_From_int((int)result
); 
17137 static PyObject 
*_wrap_DateTime_IsWestEuropeanCountry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17138     PyObject 
*resultobj
; 
17139     int arg1 
= (int) wxDateTime::Country_Default 
; 
17141     PyObject 
* obj0 
= 0 ; 
17142     char *kwnames
[] = { 
17143         (char *) "country", NULL 
 
17146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
; 
17148         arg1 
= (int)SWIG_As_int(obj0
);  
17149         if (PyErr_Occurred()) SWIG_fail
; 
17152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17153         result 
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country 
)arg1
); 
17155         wxPyEndAllowThreads(__tstate
); 
17156         if (PyErr_Occurred()) SWIG_fail
; 
17159         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17167 static PyObject 
*_wrap_DateTime_GetCurrentYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17168     PyObject 
*resultobj
; 
17169     int arg1 
= (int) wxDateTime::Gregorian 
; 
17171     PyObject 
* obj0 
= 0 ; 
17172     char *kwnames
[] = { 
17173         (char *) "cal", NULL 
 
17176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
; 
17178         arg1 
= (int)SWIG_As_int(obj0
);  
17179         if (PyErr_Occurred()) SWIG_fail
; 
17182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17183         result 
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar 
)arg1
); 
17185         wxPyEndAllowThreads(__tstate
); 
17186         if (PyErr_Occurred()) SWIG_fail
; 
17188     resultobj 
= SWIG_From_int((int)result
); 
17195 static PyObject 
*_wrap_DateTime_ConvertYearToBC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17196     PyObject 
*resultobj
; 
17199     PyObject 
* obj0 
= 0 ; 
17200     char *kwnames
[] = { 
17201         (char *) "year", NULL 
 
17204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
; 
17205     arg1 
= (int)SWIG_As_int(obj0
);  
17206     if (PyErr_Occurred()) SWIG_fail
; 
17208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17209         result 
= (int)wxDateTime::ConvertYearToBC(arg1
); 
17211         wxPyEndAllowThreads(__tstate
); 
17212         if (PyErr_Occurred()) SWIG_fail
; 
17214     resultobj 
= SWIG_From_int((int)result
); 
17221 static PyObject 
*_wrap_DateTime_GetCurrentMonth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17222     PyObject 
*resultobj
; 
17223     int arg1 
= (int) wxDateTime::Gregorian 
; 
17225     PyObject 
* obj0 
= 0 ; 
17226     char *kwnames
[] = { 
17227         (char *) "cal", NULL 
 
17230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
; 
17232         arg1 
= (int)SWIG_As_int(obj0
);  
17233         if (PyErr_Occurred()) SWIG_fail
; 
17236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17237         result 
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar 
)arg1
); 
17239         wxPyEndAllowThreads(__tstate
); 
17240         if (PyErr_Occurred()) SWIG_fail
; 
17242     resultobj 
= SWIG_From_int((int)result
); 
17249 static PyObject 
*_wrap_DateTime_IsLeapYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17250     PyObject 
*resultobj
; 
17251     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17252     int arg2 
= (int) wxDateTime::Gregorian 
; 
17254     PyObject 
* obj0 
= 0 ; 
17255     PyObject 
* obj1 
= 0 ; 
17256     char *kwnames
[] = { 
17257         (char *) "year",(char *) "cal", NULL 
 
17260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
17262         arg1 
= (int)SWIG_As_int(obj0
);  
17263         if (PyErr_Occurred()) SWIG_fail
; 
17266         arg2 
= (int)SWIG_As_int(obj1
);  
17267         if (PyErr_Occurred()) SWIG_fail
; 
17270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17271         result 
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar 
)arg2
); 
17273         wxPyEndAllowThreads(__tstate
); 
17274         if (PyErr_Occurred()) SWIG_fail
; 
17277         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17285 static PyObject 
*_wrap_DateTime_GetCentury(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17286     PyObject 
*resultobj
; 
17287     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17289     PyObject 
* obj0 
= 0 ; 
17290     char *kwnames
[] = { 
17291         (char *) "year", NULL 
 
17294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
; 
17296         arg1 
= (int)SWIG_As_int(obj0
);  
17297         if (PyErr_Occurred()) SWIG_fail
; 
17300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17301         result 
= (int)wxDateTime::GetCentury(arg1
); 
17303         wxPyEndAllowThreads(__tstate
); 
17304         if (PyErr_Occurred()) SWIG_fail
; 
17306     resultobj 
= SWIG_From_int((int)result
); 
17313 static PyObject 
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17314     PyObject 
*resultobj
; 
17316     int arg2 
= (int) wxDateTime::Gregorian 
; 
17318     PyObject 
* obj0 
= 0 ; 
17319     PyObject 
* obj1 
= 0 ; 
17320     char *kwnames
[] = { 
17321         (char *) "year",(char *) "cal", NULL 
 
17324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
17325     arg1 
= (int)SWIG_As_int(obj0
);  
17326     if (PyErr_Occurred()) SWIG_fail
; 
17328         arg2 
= (int)SWIG_As_int(obj1
);  
17329         if (PyErr_Occurred()) SWIG_fail
; 
17332         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17333         result 
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar 
)arg2
); 
17335         wxPyEndAllowThreads(__tstate
); 
17336         if (PyErr_Occurred()) SWIG_fail
; 
17338     resultobj 
= SWIG_From_int((int)result
); 
17345 static PyObject 
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17346     PyObject 
*resultobj
; 
17348     int arg2 
= (int) wxDateTime::Inv_Year 
; 
17349     int arg3 
= (int) wxDateTime::Gregorian 
; 
17351     PyObject 
* obj0 
= 0 ; 
17352     PyObject 
* obj1 
= 0 ; 
17353     PyObject 
* obj2 
= 0 ; 
17354     char *kwnames
[] = { 
17355         (char *) "month",(char *) "year",(char *) "cal", NULL 
 
17358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17359     arg1 
= (int)SWIG_As_int(obj0
);  
17360     if (PyErr_Occurred()) SWIG_fail
; 
17362         arg2 
= (int)SWIG_As_int(obj1
);  
17363         if (PyErr_Occurred()) SWIG_fail
; 
17366         arg3 
= (int)SWIG_As_int(obj2
);  
17367         if (PyErr_Occurred()) SWIG_fail
; 
17370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17371         result 
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month 
)arg1
,arg2
,(wxDateTime::Calendar 
)arg3
); 
17373         wxPyEndAllowThreads(__tstate
); 
17374         if (PyErr_Occurred()) SWIG_fail
; 
17376     resultobj 
= SWIG_From_int((int)result
); 
17383 static PyObject 
*_wrap_DateTime_GetMonthName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17384     PyObject 
*resultobj
; 
17386     int arg2 
= (int) wxDateTime::Name_Full 
; 
17388     PyObject 
* obj0 
= 0 ; 
17389     PyObject 
* obj1 
= 0 ; 
17390     char *kwnames
[] = { 
17391         (char *) "month",(char *) "flags", NULL 
 
17394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
; 
17395     arg1 
= (int)SWIG_As_int(obj0
);  
17396     if (PyErr_Occurred()) SWIG_fail
; 
17398         arg2 
= (int)SWIG_As_int(obj1
);  
17399         if (PyErr_Occurred()) SWIG_fail
; 
17402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17403         result 
= wxDateTime::GetMonthName((wxDateTime::Month 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
17405         wxPyEndAllowThreads(__tstate
); 
17406         if (PyErr_Occurred()) SWIG_fail
; 
17410         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17412         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17421 static PyObject 
*_wrap_DateTime_GetWeekDayName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17422     PyObject 
*resultobj
; 
17424     int arg2 
= (int) wxDateTime::Name_Full 
; 
17426     PyObject 
* obj0 
= 0 ; 
17427     PyObject 
* obj1 
= 0 ; 
17428     char *kwnames
[] = { 
17429         (char *) "weekday",(char *) "flags", NULL 
 
17432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
; 
17433     arg1 
= (int)SWIG_As_int(obj0
);  
17434     if (PyErr_Occurred()) SWIG_fail
; 
17436         arg2 
= (int)SWIG_As_int(obj1
);  
17437         if (PyErr_Occurred()) SWIG_fail
; 
17440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17441         result 
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
17443         wxPyEndAllowThreads(__tstate
); 
17444         if (PyErr_Occurred()) SWIG_fail
; 
17448         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17450         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17459 static PyObject 
*_wrap_DateTime_GetAmPmStrings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17460     PyObject 
*resultobj
; 
17461     wxString 
*arg1 
= (wxString 
*) 0 ; 
17462     wxString 
*arg2 
= (wxString 
*) 0 ; 
17463     bool temp1 
= False 
; 
17464     bool temp2 
= False 
; 
17465     PyObject 
* obj0 
= 0 ; 
17466     PyObject 
* obj1 
= 0 ; 
17467     char *kwnames
[] = { 
17468         (char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
17471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
; 
17473         arg1 
= wxString_in_helper(obj0
); 
17474         if (arg1 
== NULL
) SWIG_fail
; 
17478         arg2 
= wxString_in_helper(obj1
); 
17479         if (arg2 
== NULL
) SWIG_fail
; 
17483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17484         wxDateTime::GetAmPmStrings(arg1
,arg2
); 
17486         wxPyEndAllowThreads(__tstate
); 
17487         if (PyErr_Occurred()) SWIG_fail
; 
17489     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17512 static PyObject 
*_wrap_DateTime_IsDSTApplicable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17513     PyObject 
*resultobj
; 
17514     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17515     int arg2 
= (int) wxDateTime::Country_Default 
; 
17517     PyObject 
* obj0 
= 0 ; 
17518     PyObject 
* obj1 
= 0 ; 
17519     char *kwnames
[] = { 
17520         (char *) "year",(char *) "country", NULL 
 
17523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
; 
17525         arg1 
= (int)SWIG_As_int(obj0
);  
17526         if (PyErr_Occurred()) SWIG_fail
; 
17529         arg2 
= (int)SWIG_As_int(obj1
);  
17530         if (PyErr_Occurred()) SWIG_fail
; 
17533         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17534         result 
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country 
)arg2
); 
17536         wxPyEndAllowThreads(__tstate
); 
17537         if (PyErr_Occurred()) SWIG_fail
; 
17540         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17548 static PyObject 
*_wrap_DateTime_GetBeginDST(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17549     PyObject 
*resultobj
; 
17550     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17551     int arg2 
= (int) wxDateTime::Country_Default 
; 
17553     PyObject 
* obj0 
= 0 ; 
17554     PyObject 
* obj1 
= 0 ; 
17555     char *kwnames
[] = { 
17556         (char *) "year",(char *) "country", NULL 
 
17559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17561         arg1 
= (int)SWIG_As_int(obj0
);  
17562         if (PyErr_Occurred()) SWIG_fail
; 
17565         arg2 
= (int)SWIG_As_int(obj1
);  
17566         if (PyErr_Occurred()) SWIG_fail
; 
17569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17570         result 
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country 
)arg2
); 
17572         wxPyEndAllowThreads(__tstate
); 
17573         if (PyErr_Occurred()) SWIG_fail
; 
17576         wxDateTime 
* resultptr
; 
17577         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17578         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17586 static PyObject 
*_wrap_DateTime_GetEndDST(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17587     PyObject 
*resultobj
; 
17588     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17589     int arg2 
= (int) wxDateTime::Country_Default 
; 
17591     PyObject 
* obj0 
= 0 ; 
17592     PyObject 
* obj1 
= 0 ; 
17593     char *kwnames
[] = { 
17594         (char *) "year",(char *) "country", NULL 
 
17597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17599         arg1 
= (int)SWIG_As_int(obj0
);  
17600         if (PyErr_Occurred()) SWIG_fail
; 
17603         arg2 
= (int)SWIG_As_int(obj1
);  
17604         if (PyErr_Occurred()) SWIG_fail
; 
17607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17608         result 
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country 
)arg2
); 
17610         wxPyEndAllowThreads(__tstate
); 
17611         if (PyErr_Occurred()) SWIG_fail
; 
17614         wxDateTime 
* resultptr
; 
17615         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17616         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17624 static PyObject 
*_wrap_DateTime_Now(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17625     PyObject 
*resultobj
; 
17627     char *kwnames
[] = { 
17631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
; 
17633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17634         result 
= wxDateTime::Now(); 
17636         wxPyEndAllowThreads(__tstate
); 
17637         if (PyErr_Occurred()) SWIG_fail
; 
17640         wxDateTime 
* resultptr
; 
17641         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17642         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17650 static PyObject 
*_wrap_DateTime_UNow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17651     PyObject 
*resultobj
; 
17653     char *kwnames
[] = { 
17657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
; 
17659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17660         result 
= wxDateTime::UNow(); 
17662         wxPyEndAllowThreads(__tstate
); 
17663         if (PyErr_Occurred()) SWIG_fail
; 
17666         wxDateTime 
* resultptr
; 
17667         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17668         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17676 static PyObject 
*_wrap_DateTime_Today(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17677     PyObject 
*resultobj
; 
17679     char *kwnames
[] = { 
17683     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
; 
17685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17686         result 
= wxDateTime::Today(); 
17688         wxPyEndAllowThreads(__tstate
); 
17689         if (PyErr_Occurred()) SWIG_fail
; 
17692         wxDateTime 
* resultptr
; 
17693         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17694         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17702 static PyObject 
*_wrap_new_DateTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17703     PyObject 
*resultobj
; 
17704     wxDateTime 
*result
; 
17705     char *kwnames
[] = { 
17709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
; 
17711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17712         result 
= (wxDateTime 
*)new wxDateTime(); 
17714         wxPyEndAllowThreads(__tstate
); 
17715         if (PyErr_Occurred()) SWIG_fail
; 
17717     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17724 static PyObject 
*_wrap_new_DateTimeFromTimeT(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17725     PyObject 
*resultobj
; 
17727     wxDateTime 
*result
; 
17728     PyObject 
* obj0 
= 0 ; 
17729     char *kwnames
[] = { 
17730         (char *) "timet", NULL 
 
17733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
; 
17734     arg1 
= (time_t)SWIG_As_unsigned_SS_int(obj0
);  
17735     if (PyErr_Occurred()) SWIG_fail
; 
17737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17738         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17740         wxPyEndAllowThreads(__tstate
); 
17741         if (PyErr_Occurred()) SWIG_fail
; 
17743     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17750 static PyObject 
*_wrap_new_DateTimeFromJDN(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17751     PyObject 
*resultobj
; 
17753     wxDateTime 
*result
; 
17754     PyObject 
* obj0 
= 0 ; 
17755     char *kwnames
[] = { 
17756         (char *) "jdn", NULL 
 
17759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
; 
17760     arg1 
= (double)SWIG_As_double(obj0
);  
17761     if (PyErr_Occurred()) SWIG_fail
; 
17763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17764         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17766         wxPyEndAllowThreads(__tstate
); 
17767         if (PyErr_Occurred()) SWIG_fail
; 
17769     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17776 static PyObject 
*_wrap_new_DateTimeFromHMS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17777     PyObject 
*resultobj
; 
17779     int arg2 
= (int) 0 ; 
17780     int arg3 
= (int) 0 ; 
17781     int arg4 
= (int) 0 ; 
17782     wxDateTime 
*result
; 
17783     PyObject 
* obj0 
= 0 ; 
17784     PyObject 
* obj1 
= 0 ; 
17785     PyObject 
* obj2 
= 0 ; 
17786     PyObject 
* obj3 
= 0 ; 
17787     char *kwnames
[] = { 
17788         (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17792     arg1 
= (int)SWIG_As_int(obj0
);  
17793     if (PyErr_Occurred()) SWIG_fail
; 
17795         arg2 
= (int)SWIG_As_int(obj1
);  
17796         if (PyErr_Occurred()) SWIG_fail
; 
17799         arg3 
= (int)SWIG_As_int(obj2
);  
17800         if (PyErr_Occurred()) SWIG_fail
; 
17803         arg4 
= (int)SWIG_As_int(obj3
);  
17804         if (PyErr_Occurred()) SWIG_fail
; 
17807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17808         result 
= (wxDateTime 
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
); 
17810         wxPyEndAllowThreads(__tstate
); 
17811         if (PyErr_Occurred()) SWIG_fail
; 
17813     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17820 static PyObject 
*_wrap_new_DateTimeFromDMY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17821     PyObject 
*resultobj
; 
17823     int arg2 
= (int) wxDateTime::Inv_Month 
; 
17824     int arg3 
= (int) wxDateTime::Inv_Year 
; 
17825     int arg4 
= (int) 0 ; 
17826     int arg5 
= (int) 0 ; 
17827     int arg6 
= (int) 0 ; 
17828     int arg7 
= (int) 0 ; 
17829     wxDateTime 
*result
; 
17830     PyObject 
* obj0 
= 0 ; 
17831     PyObject 
* obj1 
= 0 ; 
17832     PyObject 
* obj2 
= 0 ; 
17833     PyObject 
* obj3 
= 0 ; 
17834     PyObject 
* obj4 
= 0 ; 
17835     PyObject 
* obj5 
= 0 ; 
17836     PyObject 
* obj6 
= 0 ; 
17837     char *kwnames
[] = { 
17838         (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17842     arg1 
= (int)SWIG_As_int(obj0
);  
17843     if (PyErr_Occurred()) SWIG_fail
; 
17845         arg2 
= (int)SWIG_As_int(obj1
);  
17846         if (PyErr_Occurred()) SWIG_fail
; 
17849         arg3 
= (int)SWIG_As_int(obj2
);  
17850         if (PyErr_Occurred()) SWIG_fail
; 
17853         arg4 
= (int)SWIG_As_int(obj3
);  
17854         if (PyErr_Occurred()) SWIG_fail
; 
17857         arg5 
= (int)SWIG_As_int(obj4
);  
17858         if (PyErr_Occurred()) SWIG_fail
; 
17861         arg6 
= (int)SWIG_As_int(obj5
);  
17862         if (PyErr_Occurred()) SWIG_fail
; 
17865         arg7 
= (int)SWIG_As_int(obj6
);  
17866         if (PyErr_Occurred()) SWIG_fail
; 
17869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17870         result 
= (wxDateTime 
*)new wxDateTime(arg1
,(wxDateTime::Month 
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
17872         wxPyEndAllowThreads(__tstate
); 
17873         if (PyErr_Occurred()) SWIG_fail
; 
17875     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17882 static PyObject 
*_wrap_delete_DateTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17883     PyObject 
*resultobj
; 
17884     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17885     PyObject 
* obj0 
= 0 ; 
17886     char *kwnames
[] = { 
17887         (char *) "self", NULL 
 
17890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
; 
17891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17897         wxPyEndAllowThreads(__tstate
); 
17898         if (PyErr_Occurred()) SWIG_fail
; 
17900     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17907 static PyObject 
*_wrap_DateTime_SetToCurrent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17908     PyObject 
*resultobj
; 
17909     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17910     wxDateTime 
*result
; 
17911     PyObject 
* obj0 
= 0 ; 
17912     char *kwnames
[] = { 
17913         (char *) "self", NULL 
 
17916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
; 
17917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17922             wxDateTime 
&_result_ref 
= (arg1
)->SetToCurrent(); 
17923             result 
= (wxDateTime 
*) &_result_ref
; 
17926         wxPyEndAllowThreads(__tstate
); 
17927         if (PyErr_Occurred()) SWIG_fail
; 
17929     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17936 static PyObject 
*_wrap_DateTime_SetTimeT(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17937     PyObject 
*resultobj
; 
17938     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17940     wxDateTime 
*result
; 
17941     PyObject 
* obj0 
= 0 ; 
17942     PyObject 
* obj1 
= 0 ; 
17943     char *kwnames
[] = { 
17944         (char *) "self",(char *) "timet", NULL 
 
17947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
; 
17948     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17949     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17950     arg2 
= (time_t)SWIG_As_unsigned_SS_int(obj1
);  
17951     if (PyErr_Occurred()) SWIG_fail
; 
17953         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17955             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17956             result 
= (wxDateTime 
*) &_result_ref
; 
17959         wxPyEndAllowThreads(__tstate
); 
17960         if (PyErr_Occurred()) SWIG_fail
; 
17962     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17969 static PyObject 
*_wrap_DateTime_SetJDN(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17970     PyObject 
*resultobj
; 
17971     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17973     wxDateTime 
*result
; 
17974     PyObject 
* obj0 
= 0 ; 
17975     PyObject 
* obj1 
= 0 ; 
17976     char *kwnames
[] = { 
17977         (char *) "self",(char *) "jdn", NULL 
 
17980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
; 
17981     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17983     arg2 
= (double)SWIG_As_double(obj1
);  
17984     if (PyErr_Occurred()) SWIG_fail
; 
17986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17988             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17989             result 
= (wxDateTime 
*) &_result_ref
; 
17992         wxPyEndAllowThreads(__tstate
); 
17993         if (PyErr_Occurred()) SWIG_fail
; 
17995     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18002 static PyObject 
*_wrap_DateTime_SetHMS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18003     PyObject 
*resultobj
; 
18004     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18006     int arg3 
= (int) 0 ; 
18007     int arg4 
= (int) 0 ; 
18008     int arg5 
= (int) 0 ; 
18009     wxDateTime 
*result
; 
18010     PyObject 
* obj0 
= 0 ; 
18011     PyObject 
* obj1 
= 0 ; 
18012     PyObject 
* obj2 
= 0 ; 
18013     PyObject 
* obj3 
= 0 ; 
18014     PyObject 
* obj4 
= 0 ; 
18015     char *kwnames
[] = { 
18016         (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
18019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
18020     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18021     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18022     arg2 
= (int)SWIG_As_int(obj1
);  
18023     if (PyErr_Occurred()) SWIG_fail
; 
18025         arg3 
= (int)SWIG_As_int(obj2
);  
18026         if (PyErr_Occurred()) SWIG_fail
; 
18029         arg4 
= (int)SWIG_As_int(obj3
);  
18030         if (PyErr_Occurred()) SWIG_fail
; 
18033         arg5 
= (int)SWIG_As_int(obj4
);  
18034         if (PyErr_Occurred()) SWIG_fail
; 
18037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18039             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
); 
18040             result 
= (wxDateTime 
*) &_result_ref
; 
18043         wxPyEndAllowThreads(__tstate
); 
18044         if (PyErr_Occurred()) SWIG_fail
; 
18046     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18053 static PyObject 
*_wrap_DateTime_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18054     PyObject 
*resultobj
; 
18055     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18057     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18058     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18059     int arg5 
= (int) 0 ; 
18060     int arg6 
= (int) 0 ; 
18061     int arg7 
= (int) 0 ; 
18062     int arg8 
= (int) 0 ; 
18063     wxDateTime 
*result
; 
18064     PyObject 
* obj0 
= 0 ; 
18065     PyObject 
* obj1 
= 0 ; 
18066     PyObject 
* obj2 
= 0 ; 
18067     PyObject 
* obj3 
= 0 ; 
18068     PyObject 
* obj4 
= 0 ; 
18069     PyObject 
* obj5 
= 0 ; 
18070     PyObject 
* obj6 
= 0 ; 
18071     PyObject 
* obj7 
= 0 ; 
18072     char *kwnames
[] = { 
18073         (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
18076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
18077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18079     arg2 
= (int)SWIG_As_int(obj1
);  
18080     if (PyErr_Occurred()) SWIG_fail
; 
18082         arg3 
= (int)SWIG_As_int(obj2
);  
18083         if (PyErr_Occurred()) SWIG_fail
; 
18086         arg4 
= (int)SWIG_As_int(obj3
);  
18087         if (PyErr_Occurred()) SWIG_fail
; 
18090         arg5 
= (int)SWIG_As_int(obj4
);  
18091         if (PyErr_Occurred()) SWIG_fail
; 
18094         arg6 
= (int)SWIG_As_int(obj5
);  
18095         if (PyErr_Occurred()) SWIG_fail
; 
18098         arg7 
= (int)SWIG_As_int(obj6
);  
18099         if (PyErr_Occurred()) SWIG_fail
; 
18102         arg8 
= (int)SWIG_As_int(obj7
);  
18103         if (PyErr_Occurred()) SWIG_fail
; 
18106         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18108             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,(wxDateTime::Month 
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
); 
18109             result 
= (wxDateTime 
*) &_result_ref
; 
18112         wxPyEndAllowThreads(__tstate
); 
18113         if (PyErr_Occurred()) SWIG_fail
; 
18115     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18122 static PyObject 
*_wrap_DateTime_ResetTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18123     PyObject 
*resultobj
; 
18124     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18125     wxDateTime 
*result
; 
18126     PyObject 
* obj0 
= 0 ; 
18127     char *kwnames
[] = { 
18128         (char *) "self", NULL 
 
18131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
; 
18132     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18133     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18137             wxDateTime 
&_result_ref 
= (arg1
)->ResetTime(); 
18138             result 
= (wxDateTime 
*) &_result_ref
; 
18141         wxPyEndAllowThreads(__tstate
); 
18142         if (PyErr_Occurred()) SWIG_fail
; 
18144     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18151 static PyObject 
*_wrap_DateTime_SetYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18152     PyObject 
*resultobj
; 
18153     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18155     wxDateTime 
*result
; 
18156     PyObject 
* obj0 
= 0 ; 
18157     PyObject 
* obj1 
= 0 ; 
18158     char *kwnames
[] = { 
18159         (char *) "self",(char *) "year", NULL 
 
18162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
18163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18165     arg2 
= (int)SWIG_As_int(obj1
);  
18166     if (PyErr_Occurred()) SWIG_fail
; 
18168         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18170             wxDateTime 
&_result_ref 
= (arg1
)->SetYear(arg2
); 
18171             result 
= (wxDateTime 
*) &_result_ref
; 
18174         wxPyEndAllowThreads(__tstate
); 
18175         if (PyErr_Occurred()) SWIG_fail
; 
18177     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18184 static PyObject 
*_wrap_DateTime_SetMonth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18185     PyObject 
*resultobj
; 
18186     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18188     wxDateTime 
*result
; 
18189     PyObject 
* obj0 
= 0 ; 
18190     PyObject 
* obj1 
= 0 ; 
18191     char *kwnames
[] = { 
18192         (char *) "self",(char *) "month", NULL 
 
18195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
18196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18198     arg2 
= (int)SWIG_As_int(obj1
);  
18199     if (PyErr_Occurred()) SWIG_fail
; 
18201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18203             wxDateTime 
&_result_ref 
= (arg1
)->SetMonth((wxDateTime::Month 
)arg2
); 
18204             result 
= (wxDateTime 
*) &_result_ref
; 
18207         wxPyEndAllowThreads(__tstate
); 
18208         if (PyErr_Occurred()) SWIG_fail
; 
18210     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18217 static PyObject 
*_wrap_DateTime_SetDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18218     PyObject 
*resultobj
; 
18219     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18221     wxDateTime 
*result
; 
18222     PyObject 
* obj0 
= 0 ; 
18223     PyObject 
* obj1 
= 0 ; 
18224     char *kwnames
[] = { 
18225         (char *) "self",(char *) "day", NULL 
 
18228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18229     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18230     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18231     arg2 
= (int)SWIG_As_int(obj1
);  
18232     if (PyErr_Occurred()) SWIG_fail
; 
18234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18236             wxDateTime 
&_result_ref 
= (arg1
)->SetDay(arg2
); 
18237             result 
= (wxDateTime 
*) &_result_ref
; 
18240         wxPyEndAllowThreads(__tstate
); 
18241         if (PyErr_Occurred()) SWIG_fail
; 
18243     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18250 static PyObject 
*_wrap_DateTime_SetHour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18251     PyObject 
*resultobj
; 
18252     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18254     wxDateTime 
*result
; 
18255     PyObject 
* obj0 
= 0 ; 
18256     PyObject 
* obj1 
= 0 ; 
18257     char *kwnames
[] = { 
18258         (char *) "self",(char *) "hour", NULL 
 
18261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
18262     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18264     arg2 
= (int)SWIG_As_int(obj1
);  
18265     if (PyErr_Occurred()) SWIG_fail
; 
18267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18269             wxDateTime 
&_result_ref 
= (arg1
)->SetHour(arg2
); 
18270             result 
= (wxDateTime 
*) &_result_ref
; 
18273         wxPyEndAllowThreads(__tstate
); 
18274         if (PyErr_Occurred()) SWIG_fail
; 
18276     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18283 static PyObject 
*_wrap_DateTime_SetMinute(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18284     PyObject 
*resultobj
; 
18285     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18287     wxDateTime 
*result
; 
18288     PyObject 
* obj0 
= 0 ; 
18289     PyObject 
* obj1 
= 0 ; 
18290     char *kwnames
[] = { 
18291         (char *) "self",(char *) "minute", NULL 
 
18294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
18295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18297     arg2 
= (int)SWIG_As_int(obj1
);  
18298     if (PyErr_Occurred()) SWIG_fail
; 
18300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18302             wxDateTime 
&_result_ref 
= (arg1
)->SetMinute(arg2
); 
18303             result 
= (wxDateTime 
*) &_result_ref
; 
18306         wxPyEndAllowThreads(__tstate
); 
18307         if (PyErr_Occurred()) SWIG_fail
; 
18309     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18316 static PyObject 
*_wrap_DateTime_SetSecond(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18317     PyObject 
*resultobj
; 
18318     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18320     wxDateTime 
*result
; 
18321     PyObject 
* obj0 
= 0 ; 
18322     PyObject 
* obj1 
= 0 ; 
18323     char *kwnames
[] = { 
18324         (char *) "self",(char *) "second", NULL 
 
18327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
18328     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18330     arg2 
= (int)SWIG_As_int(obj1
);  
18331     if (PyErr_Occurred()) SWIG_fail
; 
18333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18335             wxDateTime 
&_result_ref 
= (arg1
)->SetSecond(arg2
); 
18336             result 
= (wxDateTime 
*) &_result_ref
; 
18339         wxPyEndAllowThreads(__tstate
); 
18340         if (PyErr_Occurred()) SWIG_fail
; 
18342     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18349 static PyObject 
*_wrap_DateTime_SetMillisecond(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18350     PyObject 
*resultobj
; 
18351     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18353     wxDateTime 
*result
; 
18354     PyObject 
* obj0 
= 0 ; 
18355     PyObject 
* obj1 
= 0 ; 
18356     char *kwnames
[] = { 
18357         (char *) "self",(char *) "millisecond", NULL 
 
18360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
18361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18363     arg2 
= (int)SWIG_As_int(obj1
);  
18364     if (PyErr_Occurred()) SWIG_fail
; 
18366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18368             wxDateTime 
&_result_ref 
= (arg1
)->SetMillisecond(arg2
); 
18369             result 
= (wxDateTime 
*) &_result_ref
; 
18372         wxPyEndAllowThreads(__tstate
); 
18373         if (PyErr_Occurred()) SWIG_fail
; 
18375     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18382 static PyObject 
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18383     PyObject 
*resultobj
; 
18384     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18386     int arg3 
= (int) wxDateTime::Monday_First 
; 
18387     wxDateTime 
*result
; 
18388     PyObject 
* obj0 
= 0 ; 
18389     PyObject 
* obj1 
= 0 ; 
18390     PyObject 
* obj2 
= 0 ; 
18391     char *kwnames
[] = { 
18392         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
18395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18396     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18398     arg2 
= (int)SWIG_As_int(obj1
);  
18399     if (PyErr_Occurred()) SWIG_fail
; 
18401         arg3 
= (int)SWIG_As_int(obj2
);  
18402         if (PyErr_Occurred()) SWIG_fail
; 
18405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18407             wxDateTime 
&_result_ref 
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18408             result 
= (wxDateTime 
*) &_result_ref
; 
18411         wxPyEndAllowThreads(__tstate
); 
18412         if (PyErr_Occurred()) SWIG_fail
; 
18414     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18421 static PyObject 
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18422     PyObject 
*resultobj
; 
18423     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18425     int arg3 
= (int) wxDateTime::Monday_First 
; 
18427     PyObject 
* obj0 
= 0 ; 
18428     PyObject 
* obj1 
= 0 ; 
18429     PyObject 
* obj2 
= 0 ; 
18430     char *kwnames
[] = { 
18431         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
18434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18435     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18436     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18437     arg2 
= (int)SWIG_As_int(obj1
);  
18438     if (PyErr_Occurred()) SWIG_fail
; 
18440         arg3 
= (int)SWIG_As_int(obj2
);  
18441         if (PyErr_Occurred()) SWIG_fail
; 
18444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18445         result 
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18447         wxPyEndAllowThreads(__tstate
); 
18448         if (PyErr_Occurred()) SWIG_fail
; 
18451         wxDateTime 
* resultptr
; 
18452         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18453         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18461 static PyObject 
*_wrap_DateTime_SetToNextWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18462     PyObject 
*resultobj
; 
18463     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18465     wxDateTime 
*result
; 
18466     PyObject 
* obj0 
= 0 ; 
18467     PyObject 
* obj1 
= 0 ; 
18468     char *kwnames
[] = { 
18469         (char *) "self",(char *) "weekday", NULL 
 
18472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18473     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18474     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18475     arg2 
= (int)SWIG_As_int(obj1
);  
18476     if (PyErr_Occurred()) SWIG_fail
; 
18478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18480             wxDateTime 
&_result_ref 
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18481             result 
= (wxDateTime 
*) &_result_ref
; 
18484         wxPyEndAllowThreads(__tstate
); 
18485         if (PyErr_Occurred()) SWIG_fail
; 
18487     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18494 static PyObject 
*_wrap_DateTime_GetNextWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18495     PyObject 
*resultobj
; 
18496     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18499     PyObject 
* obj0 
= 0 ; 
18500     PyObject 
* obj1 
= 0 ; 
18501     char *kwnames
[] = { 
18502         (char *) "self",(char *) "weekday", NULL 
 
18505     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18506     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18507     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18508     arg2 
= (int)SWIG_As_int(obj1
);  
18509     if (PyErr_Occurred()) SWIG_fail
; 
18511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18512         result 
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18514         wxPyEndAllowThreads(__tstate
); 
18515         if (PyErr_Occurred()) SWIG_fail
; 
18518         wxDateTime 
* resultptr
; 
18519         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18520         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18528 static PyObject 
*_wrap_DateTime_SetToPrevWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18529     PyObject 
*resultobj
; 
18530     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18532     wxDateTime 
*result
; 
18533     PyObject 
* obj0 
= 0 ; 
18534     PyObject 
* obj1 
= 0 ; 
18535     char *kwnames
[] = { 
18536         (char *) "self",(char *) "weekday", NULL 
 
18539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18540     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18541     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18542     arg2 
= (int)SWIG_As_int(obj1
);  
18543     if (PyErr_Occurred()) SWIG_fail
; 
18545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18547             wxDateTime 
&_result_ref 
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18548             result 
= (wxDateTime 
*) &_result_ref
; 
18551         wxPyEndAllowThreads(__tstate
); 
18552         if (PyErr_Occurred()) SWIG_fail
; 
18554     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18561 static PyObject 
*_wrap_DateTime_GetPrevWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18562     PyObject 
*resultobj
; 
18563     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18566     PyObject 
* obj0 
= 0 ; 
18567     PyObject 
* obj1 
= 0 ; 
18568     char *kwnames
[] = { 
18569         (char *) "self",(char *) "weekday", NULL 
 
18572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18575     arg2 
= (int)SWIG_As_int(obj1
);  
18576     if (PyErr_Occurred()) SWIG_fail
; 
18578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18579         result 
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18581         wxPyEndAllowThreads(__tstate
); 
18582         if (PyErr_Occurred()) SWIG_fail
; 
18585         wxDateTime 
* resultptr
; 
18586         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18587         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18595 static PyObject 
*_wrap_DateTime_SetToWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18596     PyObject 
*resultobj
; 
18597     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18599     int arg3 
= (int) 1 ; 
18600     int arg4 
= (int) wxDateTime::Inv_Month 
; 
18601     int arg5 
= (int) wxDateTime::Inv_Year 
; 
18603     PyObject 
* obj0 
= 0 ; 
18604     PyObject 
* obj1 
= 0 ; 
18605     PyObject 
* obj2 
= 0 ; 
18606     PyObject 
* obj3 
= 0 ; 
18607     PyObject 
* obj4 
= 0 ; 
18608     char *kwnames
[] = { 
18609         (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL 
 
18612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
18613     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18615     arg2 
= (int)SWIG_As_int(obj1
);  
18616     if (PyErr_Occurred()) SWIG_fail
; 
18618         arg3 
= (int)SWIG_As_int(obj2
);  
18619         if (PyErr_Occurred()) SWIG_fail
; 
18622         arg4 
= (int)SWIG_As_int(obj3
);  
18623         if (PyErr_Occurred()) SWIG_fail
; 
18626         arg5 
= (int)SWIG_As_int(obj4
);  
18627         if (PyErr_Occurred()) SWIG_fail
; 
18630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18631         result 
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay 
)arg2
,arg3
,(wxDateTime::Month 
)arg4
,arg5
); 
18633         wxPyEndAllowThreads(__tstate
); 
18634         if (PyErr_Occurred()) SWIG_fail
; 
18637         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18645 static PyObject 
*_wrap_DateTime_SetToLastWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18646     PyObject 
*resultobj
; 
18647     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18649     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18650     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18652     PyObject 
* obj0 
= 0 ; 
18653     PyObject 
* obj1 
= 0 ; 
18654     PyObject 
* obj2 
= 0 ; 
18655     PyObject 
* obj3 
= 0 ; 
18656     char *kwnames
[] = { 
18657         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18663     arg2 
= (int)SWIG_As_int(obj1
);  
18664     if (PyErr_Occurred()) SWIG_fail
; 
18666         arg3 
= (int)SWIG_As_int(obj2
);  
18667         if (PyErr_Occurred()) SWIG_fail
; 
18670         arg4 
= (int)SWIG_As_int(obj3
);  
18671         if (PyErr_Occurred()) SWIG_fail
; 
18674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18675         result 
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18677         wxPyEndAllowThreads(__tstate
); 
18678         if (PyErr_Occurred()) SWIG_fail
; 
18681         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18689 static PyObject 
*_wrap_DateTime_GetLastWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18690     PyObject 
*resultobj
; 
18691     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18693     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18694     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18696     PyObject 
* obj0 
= 0 ; 
18697     PyObject 
* obj1 
= 0 ; 
18698     PyObject 
* obj2 
= 0 ; 
18699     PyObject 
* obj3 
= 0 ; 
18700     char *kwnames
[] = { 
18701         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18705     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18706     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18707     arg2 
= (int)SWIG_As_int(obj1
);  
18708     if (PyErr_Occurred()) SWIG_fail
; 
18710         arg3 
= (int)SWIG_As_int(obj2
);  
18711         if (PyErr_Occurred()) SWIG_fail
; 
18714         arg4 
= (int)SWIG_As_int(obj3
);  
18715         if (PyErr_Occurred()) SWIG_fail
; 
18718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18719         result 
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18721         wxPyEndAllowThreads(__tstate
); 
18722         if (PyErr_Occurred()) SWIG_fail
; 
18725         wxDateTime 
* resultptr
; 
18726         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18727         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18735 static PyObject 
*_wrap_DateTime_SetToTheWeek(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18736     PyObject 
*resultobj
; 
18737     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18739     int arg3 
= (int) wxDateTime::Mon 
; 
18740     int arg4 
= (int) wxDateTime::Monday_First 
; 
18742     PyObject 
* obj0 
= 0 ; 
18743     PyObject 
* obj1 
= 0 ; 
18744     PyObject 
* obj2 
= 0 ; 
18745     PyObject 
* obj3 
= 0 ; 
18746     char *kwnames
[] = { 
18747         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18751     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18752     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18753     arg2 
= (int)SWIG_As_int(obj1
);  
18754     if (PyErr_Occurred()) SWIG_fail
; 
18756         arg3 
= (int)SWIG_As_int(obj2
);  
18757         if (PyErr_Occurred()) SWIG_fail
; 
18760         arg4 
= (int)SWIG_As_int(obj3
);  
18761         if (PyErr_Occurred()) SWIG_fail
; 
18764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18765         result 
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18767         wxPyEndAllowThreads(__tstate
); 
18768         if (PyErr_Occurred()) SWIG_fail
; 
18771         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18779 static PyObject 
*_wrap_DateTime_GetWeek(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18780     PyObject 
*resultobj
; 
18781     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18783     int arg3 
= (int) wxDateTime::Mon 
; 
18784     int arg4 
= (int) wxDateTime::Monday_First 
; 
18786     PyObject 
* obj0 
= 0 ; 
18787     PyObject 
* obj1 
= 0 ; 
18788     PyObject 
* obj2 
= 0 ; 
18789     PyObject 
* obj3 
= 0 ; 
18790     char *kwnames
[] = { 
18791         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18795     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18796     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18797     arg2 
= (int)SWIG_As_int(obj1
);  
18798     if (PyErr_Occurred()) SWIG_fail
; 
18800         arg3 
= (int)SWIG_As_int(obj2
);  
18801         if (PyErr_Occurred()) SWIG_fail
; 
18804         arg4 
= (int)SWIG_As_int(obj3
);  
18805         if (PyErr_Occurred()) SWIG_fail
; 
18808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18809         result 
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18811         wxPyEndAllowThreads(__tstate
); 
18812         if (PyErr_Occurred()) SWIG_fail
; 
18815         wxDateTime 
* resultptr
; 
18816         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18817         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18825 static PyObject 
*_wrap_DateTime_SetToWeekOfYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18826     PyObject 
*resultobj
; 
18829     int arg3 
= (int) wxDateTime::Mon 
; 
18831     PyObject 
* obj0 
= 0 ; 
18832     PyObject 
* obj1 
= 0 ; 
18833     PyObject 
* obj2 
= 0 ; 
18834     char *kwnames
[] = { 
18835         (char *) "year",(char *) "numWeek",(char *) "weekday", NULL 
 
18838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18839     arg1 
= (int)SWIG_As_int(obj0
);  
18840     if (PyErr_Occurred()) SWIG_fail
; 
18841     arg2 
= (int)SWIG_As_int(obj1
);  
18842     if (PyErr_Occurred()) SWIG_fail
; 
18844         arg3 
= (int)SWIG_As_int(obj2
);  
18845         if (PyErr_Occurred()) SWIG_fail
; 
18848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18849         result 
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay 
)arg3
); 
18851         wxPyEndAllowThreads(__tstate
); 
18852         if (PyErr_Occurred()) SWIG_fail
; 
18855         wxDateTime 
* resultptr
; 
18856         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18857         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18865 static PyObject 
*_wrap_DateTime_SetToLastMonthDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18866     PyObject 
*resultobj
; 
18867     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18868     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18869     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18870     wxDateTime 
*result
; 
18871     PyObject 
* obj0 
= 0 ; 
18872     PyObject 
* obj1 
= 0 ; 
18873     PyObject 
* obj2 
= 0 ; 
18874     char *kwnames
[] = { 
18875         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18879     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18880     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18882         arg2 
= (int)SWIG_As_int(obj1
);  
18883         if (PyErr_Occurred()) SWIG_fail
; 
18886         arg3 
= (int)SWIG_As_int(obj2
);  
18887         if (PyErr_Occurred()) SWIG_fail
; 
18890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18892             wxDateTime 
&_result_ref 
= (arg1
)->SetToLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18893             result 
= (wxDateTime 
*) &_result_ref
; 
18896         wxPyEndAllowThreads(__tstate
); 
18897         if (PyErr_Occurred()) SWIG_fail
; 
18899     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18906 static PyObject 
*_wrap_DateTime_GetLastMonthDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18907     PyObject 
*resultobj
; 
18908     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18909     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18910     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18912     PyObject 
* obj0 
= 0 ; 
18913     PyObject 
* obj1 
= 0 ; 
18914     PyObject 
* obj2 
= 0 ; 
18915     char *kwnames
[] = { 
18916         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18920     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18921     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18923         arg2 
= (int)SWIG_As_int(obj1
);  
18924         if (PyErr_Occurred()) SWIG_fail
; 
18927         arg3 
= (int)SWIG_As_int(obj2
);  
18928         if (PyErr_Occurred()) SWIG_fail
; 
18931         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18932         result 
= (arg1
)->GetLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18934         wxPyEndAllowThreads(__tstate
); 
18935         if (PyErr_Occurred()) SWIG_fail
; 
18938         wxDateTime 
* resultptr
; 
18939         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18940         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18948 static PyObject 
*_wrap_DateTime_SetToYearDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18949     PyObject 
*resultobj
; 
18950     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18952     wxDateTime 
*result
; 
18953     PyObject 
* obj0 
= 0 ; 
18954     PyObject 
* obj1 
= 0 ; 
18955     char *kwnames
[] = { 
18956         (char *) "self",(char *) "yday", NULL 
 
18959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18960     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18961     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18962     arg2 
= (int)SWIG_As_int(obj1
);  
18963     if (PyErr_Occurred()) SWIG_fail
; 
18965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18967             wxDateTime 
&_result_ref 
= (arg1
)->SetToYearDay(arg2
); 
18968             result 
= (wxDateTime 
*) &_result_ref
; 
18971         wxPyEndAllowThreads(__tstate
); 
18972         if (PyErr_Occurred()) SWIG_fail
; 
18974     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18981 static PyObject 
*_wrap_DateTime_GetYearDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18982     PyObject 
*resultobj
; 
18983     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18986     PyObject 
* obj0 
= 0 ; 
18987     PyObject 
* obj1 
= 0 ; 
18988     char *kwnames
[] = { 
18989         (char *) "self",(char *) "yday", NULL 
 
18992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18995     arg2 
= (int)SWIG_As_int(obj1
);  
18996     if (PyErr_Occurred()) SWIG_fail
; 
18998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18999         result 
= (arg1
)->GetYearDay(arg2
); 
19001         wxPyEndAllowThreads(__tstate
); 
19002         if (PyErr_Occurred()) SWIG_fail
; 
19005         wxDateTime 
* resultptr
; 
19006         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
19007         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
19015 static PyObject 
*_wrap_DateTime_GetJulianDayNumber(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19016     PyObject 
*resultobj
; 
19017     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19019     PyObject 
* obj0 
= 0 ; 
19020     char *kwnames
[] = { 
19021         (char *) "self", NULL 
 
19024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
19025     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19026     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19029         result 
= (double)(arg1
)->GetJulianDayNumber(); 
19031         wxPyEndAllowThreads(__tstate
); 
19032         if (PyErr_Occurred()) SWIG_fail
; 
19034     resultobj 
= SWIG_From_double((double)result
); 
19041 static PyObject 
*_wrap_DateTime_GetJDN(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19042     PyObject 
*resultobj
; 
19043     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19045     PyObject 
* obj0 
= 0 ; 
19046     char *kwnames
[] = { 
19047         (char *) "self", NULL 
 
19050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
; 
19051     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19052     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19054         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19055         result 
= (double)(arg1
)->GetJDN(); 
19057         wxPyEndAllowThreads(__tstate
); 
19058         if (PyErr_Occurred()) SWIG_fail
; 
19060     resultobj 
= SWIG_From_double((double)result
); 
19067 static PyObject 
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19068     PyObject 
*resultobj
; 
19069     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19071     PyObject 
* obj0 
= 0 ; 
19072     char *kwnames
[] = { 
19073         (char *) "self", NULL 
 
19076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
19077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19081         result 
= (double)((wxDateTime 
const *)arg1
)->GetModifiedJulianDayNumber(); 
19083         wxPyEndAllowThreads(__tstate
); 
19084         if (PyErr_Occurred()) SWIG_fail
; 
19086     resultobj 
= SWIG_From_double((double)result
); 
19093 static PyObject 
*_wrap_DateTime_GetMJD(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19094     PyObject 
*resultobj
; 
19095     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19097     PyObject 
* obj0 
= 0 ; 
19098     char *kwnames
[] = { 
19099         (char *) "self", NULL 
 
19102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
; 
19103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19106         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19107         result 
= (double)(arg1
)->GetMJD(); 
19109         wxPyEndAllowThreads(__tstate
); 
19110         if (PyErr_Occurred()) SWIG_fail
; 
19112     resultobj 
= SWIG_From_double((double)result
); 
19119 static PyObject 
*_wrap_DateTime_GetRataDie(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19120     PyObject 
*resultobj
; 
19121     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19123     PyObject 
* obj0 
= 0 ; 
19124     char *kwnames
[] = { 
19125         (char *) "self", NULL 
 
19128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
; 
19129     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19130     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19132         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19133         result 
= (double)(arg1
)->GetRataDie(); 
19135         wxPyEndAllowThreads(__tstate
); 
19136         if (PyErr_Occurred()) SWIG_fail
; 
19138     resultobj 
= SWIG_From_double((double)result
); 
19145 static PyObject 
*_wrap_DateTime_ToTimezone(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19146     PyObject 
*resultobj
; 
19147     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19148     wxDateTime::TimeZone 
*arg2 
= 0 ; 
19149     bool arg3 
= (bool) False 
; 
19151     bool temp2 
= False 
; 
19152     PyObject 
* obj0 
= 0 ; 
19153     PyObject 
* obj1 
= 0 ; 
19154     PyObject 
* obj2 
= 0 ; 
19155     char *kwnames
[] = { 
19156         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
19159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19160     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19161     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19163         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19167         arg3 
= (bool)SWIG_As_bool(obj2
);  
19168         if (PyErr_Occurred()) SWIG_fail
; 
19171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19172         result 
= (arg1
)->ToTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
19174         wxPyEndAllowThreads(__tstate
); 
19175         if (PyErr_Occurred()) SWIG_fail
; 
19178         wxDateTime 
* resultptr
; 
19179         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
19180         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
19183         if (temp2
) delete arg2
; 
19188         if (temp2
) delete arg2
; 
19194 static PyObject 
*_wrap_DateTime_MakeTimezone(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19195     PyObject 
*resultobj
; 
19196     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19197     wxDateTime::TimeZone 
*arg2 
= 0 ; 
19198     bool arg3 
= (bool) False 
; 
19199     wxDateTime 
*result
; 
19200     bool temp2 
= False 
; 
19201     PyObject 
* obj0 
= 0 ; 
19202     PyObject 
* obj1 
= 0 ; 
19203     PyObject 
* obj2 
= 0 ; 
19204     char *kwnames
[] = { 
19205         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
19208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19209     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19210     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19212         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19216         arg3 
= (bool)SWIG_As_bool(obj2
);  
19217         if (PyErr_Occurred()) SWIG_fail
; 
19220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19222             wxDateTime 
&_result_ref 
= (arg1
)->MakeTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
19223             result 
= (wxDateTime 
*) &_result_ref
; 
19226         wxPyEndAllowThreads(__tstate
); 
19227         if (PyErr_Occurred()) SWIG_fail
; 
19229     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19231         if (temp2
) delete arg2
; 
19236         if (temp2
) delete arg2
; 
19242 static PyObject 
*_wrap_DateTime_ToGMT(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19243     PyObject 
*resultobj
; 
19244     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19245     bool arg2 
= (bool) False 
; 
19247     PyObject 
* obj0 
= 0 ; 
19248     PyObject 
* obj1 
= 0 ; 
19249     char *kwnames
[] = { 
19250         (char *) "self",(char *) "noDST", NULL 
 
19253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
19254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19257         arg2 
= (bool)SWIG_As_bool(obj1
);  
19258         if (PyErr_Occurred()) SWIG_fail
; 
19261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19262         result 
= (arg1
)->ToGMT(arg2
); 
19264         wxPyEndAllowThreads(__tstate
); 
19265         if (PyErr_Occurred()) SWIG_fail
; 
19268         wxDateTime 
* resultptr
; 
19269         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
19270         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
19278 static PyObject 
*_wrap_DateTime_MakeGMT(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19279     PyObject 
*resultobj
; 
19280     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19281     bool arg2 
= (bool) False 
; 
19282     wxDateTime 
*result
; 
19283     PyObject 
* obj0 
= 0 ; 
19284     PyObject 
* obj1 
= 0 ; 
19285     char *kwnames
[] = { 
19286         (char *) "self",(char *) "noDST", NULL 
 
19289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
19290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19293         arg2 
= (bool)SWIG_As_bool(obj1
);  
19294         if (PyErr_Occurred()) SWIG_fail
; 
19297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19299             wxDateTime 
&_result_ref 
= (arg1
)->MakeGMT(arg2
); 
19300             result 
= (wxDateTime 
*) &_result_ref
; 
19303         wxPyEndAllowThreads(__tstate
); 
19304         if (PyErr_Occurred()) SWIG_fail
; 
19306     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19313 static PyObject 
*_wrap_DateTime_IsDST(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19314     PyObject 
*resultobj
; 
19315     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19316     int arg2 
= (int) wxDateTime::Country_Default 
; 
19318     PyObject 
* obj0 
= 0 ; 
19319     PyObject 
* obj1 
= 0 ; 
19320     char *kwnames
[] = { 
19321         (char *) "self",(char *) "country", NULL 
 
19324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
19325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19328         arg2 
= (int)SWIG_As_int(obj1
);  
19329         if (PyErr_Occurred()) SWIG_fail
; 
19332         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19333         result 
= (int)(arg1
)->IsDST((wxDateTime::Country 
)arg2
); 
19335         wxPyEndAllowThreads(__tstate
); 
19336         if (PyErr_Occurred()) SWIG_fail
; 
19338     resultobj 
= SWIG_From_int((int)result
); 
19345 static PyObject 
*_wrap_DateTime_IsValid(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19346     PyObject 
*resultobj
; 
19347     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19349     PyObject 
* obj0 
= 0 ; 
19350     char *kwnames
[] = { 
19351         (char *) "self", NULL 
 
19354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
; 
19355     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19356     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19359         result 
= (bool)((wxDateTime 
const *)arg1
)->IsValid(); 
19361         wxPyEndAllowThreads(__tstate
); 
19362         if (PyErr_Occurred()) SWIG_fail
; 
19365         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19373 static PyObject 
*_wrap_DateTime_GetTicks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19374     PyObject 
*resultobj
; 
19375     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19377     PyObject 
* obj0 
= 0 ; 
19378     char *kwnames
[] = { 
19379         (char *) "self", NULL 
 
19382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
; 
19383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19387         result 
= (time_t)((wxDateTime 
const *)arg1
)->GetTicks(); 
19389         wxPyEndAllowThreads(__tstate
); 
19390         if (PyErr_Occurred()) SWIG_fail
; 
19392     resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)result
); 
19399 static PyObject 
*_wrap_DateTime_GetYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19400     PyObject 
*resultobj
; 
19401     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19402     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19403     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19405     bool temp2 
= False 
; 
19406     PyObject 
* obj0 
= 0 ; 
19407     PyObject 
* obj1 
= 0 ; 
19408     char *kwnames
[] = { 
19409         (char *) "self",(char *) "tz", NULL 
 
19412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
19413     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19414     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19417             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19423         result 
= (int)((wxDateTime 
const *)arg1
)->GetYear((wxDateTime::TimeZone 
const &)*arg2
); 
19425         wxPyEndAllowThreads(__tstate
); 
19426         if (PyErr_Occurred()) SWIG_fail
; 
19428     resultobj 
= SWIG_From_int((int)result
); 
19430         if (temp2
) delete arg2
; 
19435         if (temp2
) delete arg2
; 
19441 static PyObject 
*_wrap_DateTime_GetMonth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19442     PyObject 
*resultobj
; 
19443     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19444     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19445     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19447     bool temp2 
= False 
; 
19448     PyObject 
* obj0 
= 0 ; 
19449     PyObject 
* obj1 
= 0 ; 
19450     char *kwnames
[] = { 
19451         (char *) "self",(char *) "tz", NULL 
 
19454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
19455     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19456     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19459             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19465         result 
= (int)((wxDateTime 
const *)arg1
)->GetMonth((wxDateTime::TimeZone 
const &)*arg2
); 
19467         wxPyEndAllowThreads(__tstate
); 
19468         if (PyErr_Occurred()) SWIG_fail
; 
19470     resultobj 
= SWIG_From_int((int)result
); 
19472         if (temp2
) delete arg2
; 
19477         if (temp2
) delete arg2
; 
19483 static PyObject 
*_wrap_DateTime_GetDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19484     PyObject 
*resultobj
; 
19485     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19486     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19487     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19489     bool temp2 
= False 
; 
19490     PyObject 
* obj0 
= 0 ; 
19491     PyObject 
* obj1 
= 0 ; 
19492     char *kwnames
[] = { 
19493         (char *) "self",(char *) "tz", NULL 
 
19496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19497     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19501             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19507         result 
= (int)((wxDateTime 
const *)arg1
)->GetDay((wxDateTime::TimeZone 
const &)*arg2
); 
19509         wxPyEndAllowThreads(__tstate
); 
19510         if (PyErr_Occurred()) SWIG_fail
; 
19512     resultobj 
= SWIG_From_int((int)result
); 
19514         if (temp2
) delete arg2
; 
19519         if (temp2
) delete arg2
; 
19525 static PyObject 
*_wrap_DateTime_GetWeekDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19526     PyObject 
*resultobj
; 
19527     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19528     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19529     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19531     bool temp2 
= False 
; 
19532     PyObject 
* obj0 
= 0 ; 
19533     PyObject 
* obj1 
= 0 ; 
19534     char *kwnames
[] = { 
19535         (char *) "self",(char *) "tz", NULL 
 
19538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19543             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19549         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone 
const &)*arg2
); 
19551         wxPyEndAllowThreads(__tstate
); 
19552         if (PyErr_Occurred()) SWIG_fail
; 
19554     resultobj 
= SWIG_From_int((int)result
); 
19556         if (temp2
) delete arg2
; 
19561         if (temp2
) delete arg2
; 
19567 static PyObject 
*_wrap_DateTime_GetHour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19568     PyObject 
*resultobj
; 
19569     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19570     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19571     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19573     bool temp2 
= False 
; 
19574     PyObject 
* obj0 
= 0 ; 
19575     PyObject 
* obj1 
= 0 ; 
19576     char *kwnames
[] = { 
19577         (char *) "self",(char *) "tz", NULL 
 
19580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19581     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19582     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19585             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19591         result 
= (int)((wxDateTime 
const *)arg1
)->GetHour((wxDateTime::TimeZone 
const &)*arg2
); 
19593         wxPyEndAllowThreads(__tstate
); 
19594         if (PyErr_Occurred()) SWIG_fail
; 
19596     resultobj 
= SWIG_From_int((int)result
); 
19598         if (temp2
) delete arg2
; 
19603         if (temp2
) delete arg2
; 
19609 static PyObject 
*_wrap_DateTime_GetMinute(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19610     PyObject 
*resultobj
; 
19611     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19612     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19613     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19615     bool temp2 
= False 
; 
19616     PyObject 
* obj0 
= 0 ; 
19617     PyObject 
* obj1 
= 0 ; 
19618     char *kwnames
[] = { 
19619         (char *) "self",(char *) "tz", NULL 
 
19622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
19623     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19627             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19632         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19633         result 
= (int)((wxDateTime 
const *)arg1
)->GetMinute((wxDateTime::TimeZone 
const &)*arg2
); 
19635         wxPyEndAllowThreads(__tstate
); 
19636         if (PyErr_Occurred()) SWIG_fail
; 
19638     resultobj 
= SWIG_From_int((int)result
); 
19640         if (temp2
) delete arg2
; 
19645         if (temp2
) delete arg2
; 
19651 static PyObject 
*_wrap_DateTime_GetSecond(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19652     PyObject 
*resultobj
; 
19653     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19654     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19655     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19657     bool temp2 
= False 
; 
19658     PyObject 
* obj0 
= 0 ; 
19659     PyObject 
* obj1 
= 0 ; 
19660     char *kwnames
[] = { 
19661         (char *) "self",(char *) "tz", NULL 
 
19664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19669             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19675         result 
= (int)((wxDateTime 
const *)arg1
)->GetSecond((wxDateTime::TimeZone 
const &)*arg2
); 
19677         wxPyEndAllowThreads(__tstate
); 
19678         if (PyErr_Occurred()) SWIG_fail
; 
19680     resultobj 
= SWIG_From_int((int)result
); 
19682         if (temp2
) delete arg2
; 
19687         if (temp2
) delete arg2
; 
19693 static PyObject 
*_wrap_DateTime_GetMillisecond(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19694     PyObject 
*resultobj
; 
19695     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19696     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19697     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19699     bool temp2 
= False 
; 
19700     PyObject 
* obj0 
= 0 ; 
19701     PyObject 
* obj1 
= 0 ; 
19702     char *kwnames
[] = { 
19703         (char *) "self",(char *) "tz", NULL 
 
19706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19707     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19708     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19711             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19717         result 
= (int)((wxDateTime 
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone 
const &)*arg2
); 
19719         wxPyEndAllowThreads(__tstate
); 
19720         if (PyErr_Occurred()) SWIG_fail
; 
19722     resultobj 
= SWIG_From_int((int)result
); 
19724         if (temp2
) delete arg2
; 
19729         if (temp2
) delete arg2
; 
19735 static PyObject 
*_wrap_DateTime_GetDayOfYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19736     PyObject 
*resultobj
; 
19737     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19738     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19739     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19741     bool temp2 
= False 
; 
19742     PyObject 
* obj0 
= 0 ; 
19743     PyObject 
* obj1 
= 0 ; 
19744     char *kwnames
[] = { 
19745         (char *) "self",(char *) "tz", NULL 
 
19748     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
19749     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19750     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19753             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19759         result 
= (int)((wxDateTime 
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone 
const &)*arg2
); 
19761         wxPyEndAllowThreads(__tstate
); 
19762         if (PyErr_Occurred()) SWIG_fail
; 
19764     resultobj 
= SWIG_From_int((int)result
); 
19766         if (temp2
) delete arg2
; 
19771         if (temp2
) delete arg2
; 
19777 static PyObject 
*_wrap_DateTime_GetWeekOfYear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19778     PyObject 
*resultobj
; 
19779     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19780     int arg2 
= (int) wxDateTime::Monday_First 
; 
19781     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19782     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19784     bool temp3 
= False 
; 
19785     PyObject 
* obj0 
= 0 ; 
19786     PyObject 
* obj1 
= 0 ; 
19787     PyObject 
* obj2 
= 0 ; 
19788     char *kwnames
[] = { 
19789         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19792     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19793     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19794     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19796         arg2 
= (int)SWIG_As_int(obj1
);  
19797         if (PyErr_Occurred()) SWIG_fail
; 
19801             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19807         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19809         wxPyEndAllowThreads(__tstate
); 
19810         if (PyErr_Occurred()) SWIG_fail
; 
19812     resultobj 
= SWIG_From_int((int)result
); 
19814         if (temp3
) delete arg3
; 
19819         if (temp3
) delete arg3
; 
19825 static PyObject 
*_wrap_DateTime_GetWeekOfMonth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19826     PyObject 
*resultobj
; 
19827     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19828     int arg2 
= (int) wxDateTime::Monday_First 
; 
19829     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19830     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19832     bool temp3 
= False 
; 
19833     PyObject 
* obj0 
= 0 ; 
19834     PyObject 
* obj1 
= 0 ; 
19835     PyObject 
* obj2 
= 0 ; 
19836     char *kwnames
[] = { 
19837         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19841     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19842     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19844         arg2 
= (int)SWIG_As_int(obj1
);  
19845         if (PyErr_Occurred()) SWIG_fail
; 
19849             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19855         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19857         wxPyEndAllowThreads(__tstate
); 
19858         if (PyErr_Occurred()) SWIG_fail
; 
19860     resultobj 
= SWIG_From_int((int)result
); 
19862         if (temp3
) delete arg3
; 
19867         if (temp3
) delete arg3
; 
19873 static PyObject 
*_wrap_DateTime_IsWorkDay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19874     PyObject 
*resultobj
; 
19875     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19876     int arg2 
= (int) wxDateTime::Country_Default 
; 
19878     PyObject 
* obj0 
= 0 ; 
19879     PyObject 
* obj1 
= 0 ; 
19880     char *kwnames
[] = { 
19881         (char *) "self",(char *) "country", NULL 
 
19884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19888         arg2 
= (int)SWIG_As_int(obj1
);  
19889         if (PyErr_Occurred()) SWIG_fail
; 
19892         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19893         result 
= (bool)((wxDateTime 
const *)arg1
)->IsWorkDay((wxDateTime::Country 
)arg2
); 
19895         wxPyEndAllowThreads(__tstate
); 
19896         if (PyErr_Occurred()) SWIG_fail
; 
19899         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19907 static PyObject 
*_wrap_DateTime_IsEqualTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19908     PyObject 
*resultobj
; 
19909     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19910     wxDateTime 
*arg2 
= 0 ; 
19912     PyObject 
* obj0 
= 0 ; 
19913     PyObject 
* obj1 
= 0 ; 
19914     char *kwnames
[] = { 
19915         (char *) "self",(char *) "datetime", NULL 
 
19918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
19919     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19920     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19921     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19922     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19924     if (arg2 
== NULL
) { 
19925         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19930         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualTo((wxDateTime 
const &)*arg2
); 
19932         wxPyEndAllowThreads(__tstate
); 
19933         if (PyErr_Occurred()) SWIG_fail
; 
19936         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19944 static PyObject 
*_wrap_DateTime_IsEarlierThan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19945     PyObject 
*resultobj
; 
19946     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19947     wxDateTime 
*arg2 
= 0 ; 
19949     PyObject 
* obj0 
= 0 ; 
19950     PyObject 
* obj1 
= 0 ; 
19951     char *kwnames
[] = { 
19952         (char *) "self",(char *) "datetime", NULL 
 
19955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19956     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19957     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19958     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19961     if (arg2 
== NULL
) { 
19962         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19967         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEarlierThan((wxDateTime 
const &)*arg2
); 
19969         wxPyEndAllowThreads(__tstate
); 
19970         if (PyErr_Occurred()) SWIG_fail
; 
19973         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19981 static PyObject 
*_wrap_DateTime_IsLaterThan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19982     PyObject 
*resultobj
; 
19983     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19984     wxDateTime 
*arg2 
= 0 ; 
19986     PyObject 
* obj0 
= 0 ; 
19987     PyObject 
* obj1 
= 0 ; 
19988     char *kwnames
[] = { 
19989         (char *) "self",(char *) "datetime", NULL 
 
19992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19995     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19996     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19998     if (arg2 
== NULL
) { 
19999         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20004         result 
= (bool)((wxDateTime 
const *)arg1
)->IsLaterThan((wxDateTime 
const &)*arg2
); 
20006         wxPyEndAllowThreads(__tstate
); 
20007         if (PyErr_Occurred()) SWIG_fail
; 
20010         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20018 static PyObject 
*_wrap_DateTime_IsStrictlyBetween(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20019     PyObject 
*resultobj
; 
20020     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20021     wxDateTime 
*arg2 
= 0 ; 
20022     wxDateTime 
*arg3 
= 0 ; 
20024     PyObject 
* obj0 
= 0 ; 
20025     PyObject 
* obj1 
= 0 ; 
20026     PyObject 
* obj2 
= 0 ; 
20027     char *kwnames
[] = { 
20028         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
20031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20032     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20033     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20034     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20037     if (arg2 
== NULL
) { 
20038         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20041     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
20042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20044     if (arg3 
== NULL
) { 
20045         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20050         result 
= (bool)((wxDateTime 
const *)arg1
)->IsStrictlyBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
20052         wxPyEndAllowThreads(__tstate
); 
20053         if (PyErr_Occurred()) SWIG_fail
; 
20056         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20064 static PyObject 
*_wrap_DateTime_IsBetween(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20065     PyObject 
*resultobj
; 
20066     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20067     wxDateTime 
*arg2 
= 0 ; 
20068     wxDateTime 
*arg3 
= 0 ; 
20070     PyObject 
* obj0 
= 0 ; 
20071     PyObject 
* obj1 
= 0 ; 
20072     PyObject 
* obj2 
= 0 ; 
20073     char *kwnames
[] = { 
20074         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
20077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20080     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20083     if (arg2 
== NULL
) { 
20084         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20087     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
20088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20090     if (arg3 
== NULL
) { 
20091         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20096         result 
= (bool)((wxDateTime 
const *)arg1
)->IsBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
20098         wxPyEndAllowThreads(__tstate
); 
20099         if (PyErr_Occurred()) SWIG_fail
; 
20102         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20110 static PyObject 
*_wrap_DateTime_IsSameDate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20111     PyObject 
*resultobj
; 
20112     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20113     wxDateTime 
*arg2 
= 0 ; 
20115     PyObject 
* obj0 
= 0 ; 
20116     PyObject 
* obj1 
= 0 ; 
20117     char *kwnames
[] = { 
20118         (char *) "self",(char *) "dt", NULL 
 
20121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
20122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20124     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20127     if (arg2 
== NULL
) { 
20128         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20132         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20133         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameDate((wxDateTime 
const &)*arg2
); 
20135         wxPyEndAllowThreads(__tstate
); 
20136         if (PyErr_Occurred()) SWIG_fail
; 
20139         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20147 static PyObject 
*_wrap_DateTime_IsSameTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20148     PyObject 
*resultobj
; 
20149     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20150     wxDateTime 
*arg2 
= 0 ; 
20152     PyObject 
* obj0 
= 0 ; 
20153     PyObject 
* obj1 
= 0 ; 
20154     char *kwnames
[] = { 
20155         (char *) "self",(char *) "dt", NULL 
 
20158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
20159     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20160     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20161     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20164     if (arg2 
== NULL
) { 
20165         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20170         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameTime((wxDateTime 
const &)*arg2
); 
20172         wxPyEndAllowThreads(__tstate
); 
20173         if (PyErr_Occurred()) SWIG_fail
; 
20176         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20184 static PyObject 
*_wrap_DateTime_IsEqualUpTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20185     PyObject 
*resultobj
; 
20186     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20187     wxDateTime 
*arg2 
= 0 ; 
20188     wxTimeSpan 
*arg3 
= 0 ; 
20190     PyObject 
* obj0 
= 0 ; 
20191     PyObject 
* obj1 
= 0 ; 
20192     PyObject 
* obj2 
= 0 ; 
20193     char *kwnames
[] = { 
20194         (char *) "self",(char *) "dt",(char *) "ts", NULL 
 
20197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20198     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20200     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20201     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20203     if (arg2 
== NULL
) { 
20204         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20207     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
, 
20208     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20210     if (arg3 
== NULL
) { 
20211         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20216         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualUpTo((wxDateTime 
const &)*arg2
,(wxTimeSpan 
const &)*arg3
); 
20218         wxPyEndAllowThreads(__tstate
); 
20219         if (PyErr_Occurred()) SWIG_fail
; 
20222         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20230 static PyObject 
*_wrap_DateTime_AddTS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20231     PyObject 
*resultobj
; 
20232     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20233     wxTimeSpan 
*arg2 
= 0 ; 
20234     wxDateTime 
*result
; 
20235     PyObject 
* obj0 
= 0 ; 
20236     PyObject 
* obj1 
= 0 ; 
20237     char *kwnames
[] = { 
20238         (char *) "self",(char *) "diff", NULL 
 
20241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
20242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20244     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20245     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20247     if (arg2 
== NULL
) { 
20248         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20254             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
20255             result 
= (wxDateTime 
*) &_result_ref
; 
20258         wxPyEndAllowThreads(__tstate
); 
20259         if (PyErr_Occurred()) SWIG_fail
; 
20261     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20268 static PyObject 
*_wrap_DateTime_AddDS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20269     PyObject 
*resultobj
; 
20270     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20271     wxDateSpan 
*arg2 
= 0 ; 
20272     wxDateTime 
*result
; 
20273     PyObject 
* obj0 
= 0 ; 
20274     PyObject 
* obj1 
= 0 ; 
20275     char *kwnames
[] = { 
20276         (char *) "self",(char *) "diff", NULL 
 
20279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
20280     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20282     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20283     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20285     if (arg2 
== NULL
) { 
20286         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20290         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20292             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
20293             result 
= (wxDateTime 
*) &_result_ref
; 
20296         wxPyEndAllowThreads(__tstate
); 
20297         if (PyErr_Occurred()) SWIG_fail
; 
20299     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20306 static PyObject 
*_wrap_DateTime_SubtractTS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20307     PyObject 
*resultobj
; 
20308     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20309     wxTimeSpan 
*arg2 
= 0 ; 
20310     wxDateTime 
*result
; 
20311     PyObject 
* obj0 
= 0 ; 
20312     PyObject 
* obj1 
= 0 ; 
20313     char *kwnames
[] = { 
20314         (char *) "self",(char *) "diff", NULL 
 
20317     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
20318     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20319     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20320     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20321     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20323     if (arg2 
== NULL
) { 
20324         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20330             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
20331             result 
= (wxDateTime 
*) &_result_ref
; 
20334         wxPyEndAllowThreads(__tstate
); 
20335         if (PyErr_Occurred()) SWIG_fail
; 
20337     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20344 static PyObject 
*_wrap_DateTime_SubtractDS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20345     PyObject 
*resultobj
; 
20346     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20347     wxDateSpan 
*arg2 
= 0 ; 
20348     wxDateTime 
*result
; 
20349     PyObject 
* obj0 
= 0 ; 
20350     PyObject 
* obj1 
= 0 ; 
20351     char *kwnames
[] = { 
20352         (char *) "self",(char *) "diff", NULL 
 
20355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
20356     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20357     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20358     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20359     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20361     if (arg2 
== NULL
) { 
20362         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20368             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
20369             result 
= (wxDateTime 
*) &_result_ref
; 
20372         wxPyEndAllowThreads(__tstate
); 
20373         if (PyErr_Occurred()) SWIG_fail
; 
20375     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20382 static PyObject 
*_wrap_DateTime_Subtract(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20383     PyObject 
*resultobj
; 
20384     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20385     wxDateTime 
*arg2 
= 0 ; 
20387     PyObject 
* obj0 
= 0 ; 
20388     PyObject 
* obj1 
= 0 ; 
20389     char *kwnames
[] = { 
20390         (char *) "self",(char *) "dt", NULL 
 
20393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
20394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20396     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20399     if (arg2 
== NULL
) { 
20400         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20405         result 
= ((wxDateTime 
const *)arg1
)->Subtract((wxDateTime 
const &)*arg2
); 
20407         wxPyEndAllowThreads(__tstate
); 
20408         if (PyErr_Occurred()) SWIG_fail
; 
20411         wxTimeSpan 
* resultptr
; 
20412         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
20413         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
20421 static PyObject 
*_wrap_DateTime___iadd____SWIG_0(PyObject 
*, PyObject 
*args
) { 
20422     PyObject 
*resultobj
; 
20423     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20424     wxTimeSpan 
*arg2 
= 0 ; 
20425     wxDateTime 
*result
; 
20426     PyObject 
* obj0 
= 0 ; 
20427     PyObject 
* obj1 
= 0 ; 
20429     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
20430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20431     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
20432     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20433     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20435     if (arg2 
== NULL
) { 
20436         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20442             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
20443             result 
= (wxDateTime 
*) &_result_ref
; 
20446         wxPyEndAllowThreads(__tstate
); 
20447         if (PyErr_Occurred()) SWIG_fail
; 
20449     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
20456 static PyObject 
*_wrap_DateTime___iadd____SWIG_1(PyObject 
*, PyObject 
*args
) { 
20457     PyObject 
*resultobj
; 
20458     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20459     wxDateSpan 
*arg2 
= 0 ; 
20460     wxDateTime 
*result
; 
20461     PyObject 
* obj0 
= 0 ; 
20462     PyObject 
* obj1 
= 0 ; 
20464     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
20465     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20466     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
20467     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20468     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20470     if (arg2 
== NULL
) { 
20471         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20477             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
20478             result 
= (wxDateTime 
*) &_result_ref
; 
20481         wxPyEndAllowThreads(__tstate
); 
20482         if (PyErr_Occurred()) SWIG_fail
; 
20484     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
20491 static PyObject 
*_wrap_DateTime___iadd__(PyObject 
*self
, PyObject 
*args
) { 
20496     argc 
= PyObject_Length(args
); 
20497     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20498         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20504             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20514                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20522                 return _wrap_DateTime___iadd____SWIG_0(self
,args
); 
20530             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20540                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20548                 return _wrap_DateTime___iadd____SWIG_1(self
,args
); 
20553     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'"); 
20558 static PyObject 
*_wrap_DateTime___isub____SWIG_0(PyObject 
*, PyObject 
*args
) { 
20559     PyObject 
*resultobj
; 
20560     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20561     wxTimeSpan 
*arg2 
= 0 ; 
20562     wxDateTime 
*result
; 
20563     PyObject 
* obj0 
= 0 ; 
20564     PyObject 
* obj1 
= 0 ; 
20566     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20568     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
20569     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20570     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20572     if (arg2 
== NULL
) { 
20573         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20579             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
20580             result 
= (wxDateTime 
*) &_result_ref
; 
20583         wxPyEndAllowThreads(__tstate
); 
20584         if (PyErr_Occurred()) SWIG_fail
; 
20586     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
20593 static PyObject 
*_wrap_DateTime___isub____SWIG_1(PyObject 
*, PyObject 
*args
) { 
20594     PyObject 
*resultobj
; 
20595     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20596     wxDateSpan 
*arg2 
= 0 ; 
20597     wxDateTime 
*result
; 
20598     PyObject 
* obj0 
= 0 ; 
20599     PyObject 
* obj1 
= 0 ; 
20601     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20603     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
20604     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20607     if (arg2 
== NULL
) { 
20608         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20614             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
20615             result 
= (wxDateTime 
*) &_result_ref
; 
20618         wxPyEndAllowThreads(__tstate
); 
20619         if (PyErr_Occurred()) SWIG_fail
; 
20621     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
20628 static PyObject 
*_wrap_DateTime___isub__(PyObject 
*self
, PyObject 
*args
) { 
20633     argc 
= PyObject_Length(args
); 
20634     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20635         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20641             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20651                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20659                 return _wrap_DateTime___isub____SWIG_0(self
,args
); 
20667             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20677                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20685                 return _wrap_DateTime___isub____SWIG_1(self
,args
); 
20690     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'"); 
20695 static PyObject 
*_wrap_DateTime___add____SWIG_0(PyObject 
*, PyObject 
*args
) { 
20696     PyObject 
*resultobj
; 
20697     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20698     wxTimeSpan 
*arg2 
= 0 ; 
20700     PyObject 
* obj0 
= 0 ; 
20701     PyObject 
* obj1 
= 0 ; 
20703     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20706     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20709     if (arg2 
== NULL
) { 
20710         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20715         result 
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan 
const &)*arg2
); 
20717         wxPyEndAllowThreads(__tstate
); 
20718         if (PyErr_Occurred()) SWIG_fail
; 
20721         wxDateTime 
* resultptr
; 
20722         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20723         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20731 static PyObject 
*_wrap_DateTime___add____SWIG_1(PyObject 
*, PyObject 
*args
) { 
20732     PyObject 
*resultobj
; 
20733     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20734     wxDateSpan 
*arg2 
= 0 ; 
20736     PyObject 
* obj0 
= 0 ; 
20737     PyObject 
* obj1 
= 0 ; 
20739     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20742     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20743     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20745     if (arg2 
== NULL
) { 
20746         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20751         result 
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan 
const &)*arg2
); 
20753         wxPyEndAllowThreads(__tstate
); 
20754         if (PyErr_Occurred()) SWIG_fail
; 
20757         wxDateTime 
* resultptr
; 
20758         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20759         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20767 static PyObject 
*_wrap_DateTime___add__(PyObject 
*self
, PyObject 
*args
) { 
20772     argc 
= PyObject_Length(args
); 
20773     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20774         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20780             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20790                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20798                 return _wrap_DateTime___add____SWIG_0(self
,args
); 
20806             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20816                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20824                 return _wrap_DateTime___add____SWIG_1(self
,args
); 
20829     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'"); 
20834 static PyObject 
*_wrap_DateTime___sub____SWIG_0(PyObject 
*, PyObject 
*args
) { 
20835     PyObject 
*resultobj
; 
20836     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20837     wxDateTime 
*arg2 
= 0 ; 
20839     PyObject 
* obj0 
= 0 ; 
20840     PyObject 
* obj1 
= 0 ; 
20842     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20845     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20846     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20848     if (arg2 
== NULL
) { 
20849         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20854         result 
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime 
const &)*arg2
); 
20856         wxPyEndAllowThreads(__tstate
); 
20857         if (PyErr_Occurred()) SWIG_fail
; 
20860         wxTimeSpan 
* resultptr
; 
20861         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
20862         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
20870 static PyObject 
*_wrap_DateTime___sub____SWIG_1(PyObject 
*, PyObject 
*args
) { 
20871     PyObject 
*resultobj
; 
20872     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20873     wxTimeSpan 
*arg2 
= 0 ; 
20875     PyObject 
* obj0 
= 0 ; 
20876     PyObject 
* obj1 
= 0 ; 
20878     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20879     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20880     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20881     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20884     if (arg2 
== NULL
) { 
20885         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20890         result 
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan 
const &)*arg2
); 
20892         wxPyEndAllowThreads(__tstate
); 
20893         if (PyErr_Occurred()) SWIG_fail
; 
20896         wxDateTime 
* resultptr
; 
20897         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20898         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20906 static PyObject 
*_wrap_DateTime___sub____SWIG_2(PyObject 
*, PyObject 
*args
) { 
20907     PyObject 
*resultobj
; 
20908     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20909     wxDateSpan 
*arg2 
= 0 ; 
20911     PyObject 
* obj0 
= 0 ; 
20912     PyObject 
* obj1 
= 0 ; 
20914     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20915     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20916     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20917     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20920     if (arg2 
== NULL
) { 
20921         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20926         result 
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan 
const &)*arg2
); 
20928         wxPyEndAllowThreads(__tstate
); 
20929         if (PyErr_Occurred()) SWIG_fail
; 
20932         wxDateTime 
* resultptr
; 
20933         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20934         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20942 static PyObject 
*_wrap_DateTime___sub__(PyObject 
*self
, PyObject 
*args
) { 
20947     argc 
= PyObject_Length(args
); 
20948     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20949         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20955             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20965                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20973                 return _wrap_DateTime___sub____SWIG_0(self
,args
); 
20981             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20991                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20999                 return _wrap_DateTime___sub____SWIG_1(self
,args
); 
21007             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
21017                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
21025                 return _wrap_DateTime___sub____SWIG_2(self
,args
); 
21030     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'"); 
21035 static PyObject 
*_wrap_DateTime___lt__(PyObject 
*, PyObject 
*args
) { 
21036     PyObject 
*resultobj
; 
21037     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21038     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
21040     PyObject 
* obj0 
= 0 ; 
21041     PyObject 
* obj1 
= 0 ; 
21043     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
; 
21044     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21045     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21046     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
21047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21050         result 
= (bool)wxDateTime___lt__(arg1
,(wxDateTime 
const *)arg2
); 
21052         wxPyEndAllowThreads(__tstate
); 
21053         if (PyErr_Occurred()) SWIG_fail
; 
21056         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21064 static PyObject 
*_wrap_DateTime___le__(PyObject 
*, PyObject 
*args
) { 
21065     PyObject 
*resultobj
; 
21066     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21067     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
21069     PyObject 
* obj0 
= 0 ; 
21070     PyObject 
* obj1 
= 0 ; 
21072     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
; 
21073     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21074     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21075     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
21076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21079         result 
= (bool)wxDateTime___le__(arg1
,(wxDateTime 
const *)arg2
); 
21081         wxPyEndAllowThreads(__tstate
); 
21082         if (PyErr_Occurred()) SWIG_fail
; 
21085         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21093 static PyObject 
*_wrap_DateTime___gt__(PyObject 
*, PyObject 
*args
) { 
21094     PyObject 
*resultobj
; 
21095     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21096     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
21098     PyObject 
* obj0 
= 0 ; 
21099     PyObject 
* obj1 
= 0 ; 
21101     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
; 
21102     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21103     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21104     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
21105     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21108         result 
= (bool)wxDateTime___gt__(arg1
,(wxDateTime 
const *)arg2
); 
21110         wxPyEndAllowThreads(__tstate
); 
21111         if (PyErr_Occurred()) SWIG_fail
; 
21114         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21122 static PyObject 
*_wrap_DateTime___ge__(PyObject 
*, PyObject 
*args
) { 
21123     PyObject 
*resultobj
; 
21124     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21125     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
21127     PyObject 
* obj0 
= 0 ; 
21128     PyObject 
* obj1 
= 0 ; 
21130     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
; 
21131     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21133     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
21134     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21136         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21137         result 
= (bool)wxDateTime___ge__(arg1
,(wxDateTime 
const *)arg2
); 
21139         wxPyEndAllowThreads(__tstate
); 
21140         if (PyErr_Occurred()) SWIG_fail
; 
21143         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21151 static PyObject 
*_wrap_DateTime___eq__(PyObject 
*, PyObject 
*args
) { 
21152     PyObject 
*resultobj
; 
21153     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21154     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
21156     PyObject 
* obj0 
= 0 ; 
21157     PyObject 
* obj1 
= 0 ; 
21159     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
; 
21160     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21161     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21162     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
21163     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21166         result 
= (bool)wxDateTime___eq__(arg1
,(wxDateTime 
const *)arg2
); 
21168         wxPyEndAllowThreads(__tstate
); 
21169         if (PyErr_Occurred()) SWIG_fail
; 
21172         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21180 static PyObject 
*_wrap_DateTime___ne__(PyObject 
*, PyObject 
*args
) { 
21181     PyObject 
*resultobj
; 
21182     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21183     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
21185     PyObject 
* obj0 
= 0 ; 
21186     PyObject 
* obj1 
= 0 ; 
21188     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
; 
21189     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21190     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21191     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
21192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21195         result 
= (bool)wxDateTime___ne__(arg1
,(wxDateTime 
const *)arg2
); 
21197         wxPyEndAllowThreads(__tstate
); 
21198         if (PyErr_Occurred()) SWIG_fail
; 
21201         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21209 static PyObject 
*_wrap_DateTime_ParseRfc822Date(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21210     PyObject 
*resultobj
; 
21211     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21212     wxString 
*arg2 
= 0 ; 
21214     bool temp2 
= False 
; 
21215     PyObject 
* obj0 
= 0 ; 
21216     PyObject 
* obj1 
= 0 ; 
21217     char *kwnames
[] = { 
21218         (char *) "self",(char *) "date", NULL 
 
21221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
; 
21222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21225         arg2 
= wxString_in_helper(obj1
); 
21226         if (arg2 
== NULL
) SWIG_fail
; 
21230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21231         result 
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString 
const &)*arg2
); 
21233         wxPyEndAllowThreads(__tstate
); 
21234         if (PyErr_Occurred()) SWIG_fail
; 
21236     resultobj 
= SWIG_From_int((int)result
); 
21251 static PyObject 
*_wrap_DateTime_ParseFormat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21252     PyObject 
*resultobj
; 
21253     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21254     wxString 
*arg2 
= 0 ; 
21255     wxString 
const &arg3_defvalue 
= wxPyDateFormatStr 
; 
21256     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
21257     wxDateTime 
const &arg4_defvalue 
= wxDefaultDateTime 
; 
21258     wxDateTime 
*arg4 
= (wxDateTime 
*) &arg4_defvalue 
; 
21260     bool temp2 
= False 
; 
21261     bool temp3 
= False 
; 
21262     PyObject 
* obj0 
= 0 ; 
21263     PyObject 
* obj1 
= 0 ; 
21264     PyObject 
* obj2 
= 0 ; 
21265     PyObject 
* obj3 
= 0 ; 
21266     char *kwnames
[] = { 
21267         (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL 
 
21270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21271     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21272     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21274         arg2 
= wxString_in_helper(obj1
); 
21275         if (arg2 
== NULL
) SWIG_fail
; 
21280             arg3 
= wxString_in_helper(obj2
); 
21281             if (arg3 
== NULL
) SWIG_fail
; 
21286         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
, 
21287         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21289         if (arg4 
== NULL
) { 
21290             PyErr_SetString(PyExc_TypeError
,"null reference"); 
21295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21296         result 
= (int)wxDateTime_ParseFormat(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxDateTime 
const &)*arg4
); 
21298         wxPyEndAllowThreads(__tstate
); 
21299         if (PyErr_Occurred()) SWIG_fail
; 
21301     resultobj 
= SWIG_From_int((int)result
); 
21324 static PyObject 
*_wrap_DateTime_ParseDateTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21325     PyObject 
*resultobj
; 
21326     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21327     wxString 
*arg2 
= 0 ; 
21329     bool temp2 
= False 
; 
21330     PyObject 
* obj0 
= 0 ; 
21331     PyObject 
* obj1 
= 0 ; 
21332     char *kwnames
[] = { 
21333         (char *) "self",(char *) "datetime", NULL 
 
21336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
21337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21340         arg2 
= wxString_in_helper(obj1
); 
21341         if (arg2 
== NULL
) SWIG_fail
; 
21345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21346         result 
= (int)wxDateTime_ParseDateTime(arg1
,(wxString 
const &)*arg2
); 
21348         wxPyEndAllowThreads(__tstate
); 
21349         if (PyErr_Occurred()) SWIG_fail
; 
21351     resultobj 
= SWIG_From_int((int)result
); 
21366 static PyObject 
*_wrap_DateTime_ParseDate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21367     PyObject 
*resultobj
; 
21368     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21369     wxString 
*arg2 
= 0 ; 
21371     bool temp2 
= False 
; 
21372     PyObject 
* obj0 
= 0 ; 
21373     PyObject 
* obj1 
= 0 ; 
21374     char *kwnames
[] = { 
21375         (char *) "self",(char *) "date", NULL 
 
21378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
21379     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21380     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21382         arg2 
= wxString_in_helper(obj1
); 
21383         if (arg2 
== NULL
) SWIG_fail
; 
21387         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21388         result 
= (int)wxDateTime_ParseDate(arg1
,(wxString 
const &)*arg2
); 
21390         wxPyEndAllowThreads(__tstate
); 
21391         if (PyErr_Occurred()) SWIG_fail
; 
21393     resultobj 
= SWIG_From_int((int)result
); 
21408 static PyObject 
*_wrap_DateTime_ParseTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21409     PyObject 
*resultobj
; 
21410     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21411     wxString 
*arg2 
= 0 ; 
21413     bool temp2 
= False 
; 
21414     PyObject 
* obj0 
= 0 ; 
21415     PyObject 
* obj1 
= 0 ; 
21416     char *kwnames
[] = { 
21417         (char *) "self",(char *) "time", NULL 
 
21420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
21421     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21422     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21424         arg2 
= wxString_in_helper(obj1
); 
21425         if (arg2 
== NULL
) SWIG_fail
; 
21429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21430         result 
= (int)wxDateTime_ParseTime(arg1
,(wxString 
const &)*arg2
); 
21432         wxPyEndAllowThreads(__tstate
); 
21433         if (PyErr_Occurred()) SWIG_fail
; 
21435     resultobj 
= SWIG_From_int((int)result
); 
21450 static PyObject 
*_wrap_DateTime_Format(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21451     PyObject 
*resultobj
; 
21452     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21453     wxString 
const &arg2_defvalue 
= wxPyDateFormatStr 
; 
21454     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
21455     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
21456     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
21458     bool temp2 
= False 
; 
21459     bool temp3 
= False 
; 
21460     PyObject 
* obj0 
= 0 ; 
21461     PyObject 
* obj1 
= 0 ; 
21462     PyObject 
* obj2 
= 0 ; 
21463     char *kwnames
[] = { 
21464         (char *) "self",(char *) "format",(char *) "tz", NULL 
 
21467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21468     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21469     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21472             arg2 
= wxString_in_helper(obj1
); 
21473             if (arg2 
== NULL
) SWIG_fail
; 
21479             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
21484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21485         result 
= ((wxDateTime 
const *)arg1
)->Format((wxString 
const &)*arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
21487         wxPyEndAllowThreads(__tstate
); 
21488         if (PyErr_Occurred()) SWIG_fail
; 
21492         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21494         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21502         if (temp3
) delete arg3
; 
21511         if (temp3
) delete arg3
; 
21517 static PyObject 
*_wrap_DateTime_FormatDate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21518     PyObject 
*resultobj
; 
21519     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21521     PyObject 
* obj0 
= 0 ; 
21522     char *kwnames
[] = { 
21523         (char *) "self", NULL 
 
21526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
; 
21527     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21528     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21530         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21531         result 
= ((wxDateTime 
const *)arg1
)->FormatDate(); 
21533         wxPyEndAllowThreads(__tstate
); 
21534         if (PyErr_Occurred()) SWIG_fail
; 
21538         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21540         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21549 static PyObject 
*_wrap_DateTime_FormatTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21550     PyObject 
*resultobj
; 
21551     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21553     PyObject 
* obj0 
= 0 ; 
21554     char *kwnames
[] = { 
21555         (char *) "self", NULL 
 
21558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
; 
21559     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21560     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21563         result 
= ((wxDateTime 
const *)arg1
)->FormatTime(); 
21565         wxPyEndAllowThreads(__tstate
); 
21566         if (PyErr_Occurred()) SWIG_fail
; 
21570         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21572         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21581 static PyObject 
*_wrap_DateTime_FormatISODate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21582     PyObject 
*resultobj
; 
21583     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21585     PyObject 
* obj0 
= 0 ; 
21586     char *kwnames
[] = { 
21587         (char *) "self", NULL 
 
21590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
; 
21591     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21592     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21595         result 
= ((wxDateTime 
const *)arg1
)->FormatISODate(); 
21597         wxPyEndAllowThreads(__tstate
); 
21598         if (PyErr_Occurred()) SWIG_fail
; 
21602         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21604         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21613 static PyObject 
*_wrap_DateTime_FormatISOTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21614     PyObject 
*resultobj
; 
21615     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21617     PyObject 
* obj0 
= 0 ; 
21618     char *kwnames
[] = { 
21619         (char *) "self", NULL 
 
21622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
; 
21623     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21627         result 
= ((wxDateTime 
const *)arg1
)->FormatISOTime(); 
21629         wxPyEndAllowThreads(__tstate
); 
21630         if (PyErr_Occurred()) SWIG_fail
; 
21634         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21636         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21645 static PyObject 
* DateTime_swigregister(PyObject 
*, PyObject 
*args
) { 
21647     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21648     SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
); 
21650     return Py_BuildValue((char *)""); 
21652 static PyObject 
*_wrap_TimeSpan_Seconds(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21653     PyObject 
*resultobj
; 
21656     PyObject 
* obj0 
= 0 ; 
21657     char *kwnames
[] = { 
21658         (char *) "sec", NULL 
 
21661     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
; 
21662     arg1 
= (long)SWIG_As_long(obj0
);  
21663     if (PyErr_Occurred()) SWIG_fail
; 
21665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21666         result 
= wxTimeSpan::Seconds(arg1
); 
21668         wxPyEndAllowThreads(__tstate
); 
21669         if (PyErr_Occurred()) SWIG_fail
; 
21672         wxTimeSpan 
* resultptr
; 
21673         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21674         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21682 static PyObject 
*_wrap_TimeSpan_Second(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21683     PyObject 
*resultobj
; 
21685     char *kwnames
[] = { 
21689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
; 
21691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21692         result 
= wxTimeSpan::Second(); 
21694         wxPyEndAllowThreads(__tstate
); 
21695         if (PyErr_Occurred()) SWIG_fail
; 
21698         wxTimeSpan 
* resultptr
; 
21699         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21700         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21708 static PyObject 
*_wrap_TimeSpan_Minutes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21709     PyObject 
*resultobj
; 
21712     PyObject 
* obj0 
= 0 ; 
21713     char *kwnames
[] = { 
21714         (char *) "min", NULL 
 
21717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
; 
21718     arg1 
= (long)SWIG_As_long(obj0
);  
21719     if (PyErr_Occurred()) SWIG_fail
; 
21721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21722         result 
= wxTimeSpan::Minutes(arg1
); 
21724         wxPyEndAllowThreads(__tstate
); 
21725         if (PyErr_Occurred()) SWIG_fail
; 
21728         wxTimeSpan 
* resultptr
; 
21729         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21730         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21738 static PyObject 
*_wrap_TimeSpan_Minute(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21739     PyObject 
*resultobj
; 
21741     char *kwnames
[] = { 
21745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
; 
21747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21748         result 
= wxTimeSpan::Minute(); 
21750         wxPyEndAllowThreads(__tstate
); 
21751         if (PyErr_Occurred()) SWIG_fail
; 
21754         wxTimeSpan 
* resultptr
; 
21755         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21756         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21764 static PyObject 
*_wrap_TimeSpan_Hours(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21765     PyObject 
*resultobj
; 
21768     PyObject 
* obj0 
= 0 ; 
21769     char *kwnames
[] = { 
21770         (char *) "hours", NULL 
 
21773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
; 
21774     arg1 
= (long)SWIG_As_long(obj0
);  
21775     if (PyErr_Occurred()) SWIG_fail
; 
21777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21778         result 
= wxTimeSpan::Hours(arg1
); 
21780         wxPyEndAllowThreads(__tstate
); 
21781         if (PyErr_Occurred()) SWIG_fail
; 
21784         wxTimeSpan 
* resultptr
; 
21785         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21786         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21794 static PyObject 
*_wrap_TimeSpan_Hour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21795     PyObject 
*resultobj
; 
21797     char *kwnames
[] = { 
21801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
; 
21803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21804         result 
= wxTimeSpan::Hour(); 
21806         wxPyEndAllowThreads(__tstate
); 
21807         if (PyErr_Occurred()) SWIG_fail
; 
21810         wxTimeSpan 
* resultptr
; 
21811         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21812         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21820 static PyObject 
*_wrap_TimeSpan_Days(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21821     PyObject 
*resultobj
; 
21824     PyObject 
* obj0 
= 0 ; 
21825     char *kwnames
[] = { 
21826         (char *) "days", NULL 
 
21829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
; 
21830     arg1 
= (long)SWIG_As_long(obj0
);  
21831     if (PyErr_Occurred()) SWIG_fail
; 
21833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21834         result 
= wxTimeSpan::Days(arg1
); 
21836         wxPyEndAllowThreads(__tstate
); 
21837         if (PyErr_Occurred()) SWIG_fail
; 
21840         wxTimeSpan 
* resultptr
; 
21841         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21842         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21850 static PyObject 
*_wrap_TimeSpan_Day(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21851     PyObject 
*resultobj
; 
21853     char *kwnames
[] = { 
21857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
; 
21859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21860         result 
= wxTimeSpan::Day(); 
21862         wxPyEndAllowThreads(__tstate
); 
21863         if (PyErr_Occurred()) SWIG_fail
; 
21866         wxTimeSpan 
* resultptr
; 
21867         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21868         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21876 static PyObject 
*_wrap_TimeSpan_Weeks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21877     PyObject 
*resultobj
; 
21880     PyObject 
* obj0 
= 0 ; 
21881     char *kwnames
[] = { 
21882         (char *) "days", NULL 
 
21885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
21886     arg1 
= (long)SWIG_As_long(obj0
);  
21887     if (PyErr_Occurred()) SWIG_fail
; 
21889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21890         result 
= wxTimeSpan::Weeks(arg1
); 
21892         wxPyEndAllowThreads(__tstate
); 
21893         if (PyErr_Occurred()) SWIG_fail
; 
21896         wxTimeSpan 
* resultptr
; 
21897         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21898         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21906 static PyObject 
*_wrap_TimeSpan_Week(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21907     PyObject 
*resultobj
; 
21909     char *kwnames
[] = { 
21913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
; 
21915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21916         result 
= wxTimeSpan::Week(); 
21918         wxPyEndAllowThreads(__tstate
); 
21919         if (PyErr_Occurred()) SWIG_fail
; 
21922         wxTimeSpan 
* resultptr
; 
21923         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21924         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21932 static PyObject 
*_wrap_new_TimeSpan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21933     PyObject 
*resultobj
; 
21934     long arg1 
= (long) 0 ; 
21935     long arg2 
= (long) 0 ; 
21936     long arg3 
= (long) 0 ; 
21937     long arg4 
= (long) 0 ; 
21938     wxTimeSpan 
*result
; 
21939     PyObject 
* obj0 
= 0 ; 
21940     PyObject 
* obj1 
= 0 ; 
21941     PyObject 
* obj2 
= 0 ; 
21942     PyObject 
* obj3 
= 0 ; 
21943     char *kwnames
[] = { 
21944         (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL 
 
21947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21949         arg1 
= (long)SWIG_As_long(obj0
);  
21950         if (PyErr_Occurred()) SWIG_fail
; 
21953         arg2 
= (long)SWIG_As_long(obj1
);  
21954         if (PyErr_Occurred()) SWIG_fail
; 
21957         arg3 
= (long)SWIG_As_long(obj2
);  
21958         if (PyErr_Occurred()) SWIG_fail
; 
21961         arg4 
= (long)SWIG_As_long(obj3
);  
21962         if (PyErr_Occurred()) SWIG_fail
; 
21965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21966         result 
= (wxTimeSpan 
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
); 
21968         wxPyEndAllowThreads(__tstate
); 
21969         if (PyErr_Occurred()) SWIG_fail
; 
21971     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1); 
21978 static PyObject 
*_wrap_delete_TimeSpan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21979     PyObject 
*resultobj
; 
21980     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21981     PyObject 
* obj0 
= 0 ; 
21982     char *kwnames
[] = { 
21983         (char *) "self", NULL 
 
21986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
; 
21987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21990         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21993         wxPyEndAllowThreads(__tstate
); 
21994         if (PyErr_Occurred()) SWIG_fail
; 
21996     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22003 static PyObject 
*_wrap_TimeSpan_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22004     PyObject 
*resultobj
; 
22005     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22006     wxTimeSpan 
*arg2 
= 0 ; 
22007     wxTimeSpan 
*result
; 
22008     PyObject 
* obj0 
= 0 ; 
22009     PyObject 
* obj1 
= 0 ; 
22010     char *kwnames
[] = { 
22011         (char *) "self",(char *) "diff", NULL 
 
22014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
22015     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22016     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22017     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22018     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22020     if (arg2 
== NULL
) { 
22021         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22027             wxTimeSpan 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
22028             result 
= (wxTimeSpan 
*) &_result_ref
; 
22031         wxPyEndAllowThreads(__tstate
); 
22032         if (PyErr_Occurred()) SWIG_fail
; 
22034     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
22041 static PyObject 
*_wrap_TimeSpan_Subtract(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22042     PyObject 
*resultobj
; 
22043     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22044     wxTimeSpan 
*arg2 
= 0 ; 
22045     wxTimeSpan 
*result
; 
22046     PyObject 
* obj0 
= 0 ; 
22047     PyObject 
* obj1 
= 0 ; 
22048     char *kwnames
[] = { 
22049         (char *) "self",(char *) "diff", NULL 
 
22052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
22053     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22054     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22055     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22056     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22058     if (arg2 
== NULL
) { 
22059         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22065             wxTimeSpan 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
22066             result 
= (wxTimeSpan 
*) &_result_ref
; 
22069         wxPyEndAllowThreads(__tstate
); 
22070         if (PyErr_Occurred()) SWIG_fail
; 
22072     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
22079 static PyObject 
*_wrap_TimeSpan_Multiply(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22080     PyObject 
*resultobj
; 
22081     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22083     wxTimeSpan 
*result
; 
22084     PyObject 
* obj0 
= 0 ; 
22085     PyObject 
* obj1 
= 0 ; 
22086     char *kwnames
[] = { 
22087         (char *) "self",(char *) "n", NULL 
 
22090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
22091     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22093     arg2 
= (int)SWIG_As_int(obj1
);  
22094     if (PyErr_Occurred()) SWIG_fail
; 
22096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22098             wxTimeSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
22099             result 
= (wxTimeSpan 
*) &_result_ref
; 
22102         wxPyEndAllowThreads(__tstate
); 
22103         if (PyErr_Occurred()) SWIG_fail
; 
22105     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
22112 static PyObject 
*_wrap_TimeSpan_Neg(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22113     PyObject 
*resultobj
; 
22114     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22115     wxTimeSpan 
*result
; 
22116     PyObject 
* obj0 
= 0 ; 
22117     char *kwnames
[] = { 
22118         (char *) "self", NULL 
 
22121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
; 
22122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22127             wxTimeSpan 
&_result_ref 
= (arg1
)->Neg(); 
22128             result 
= (wxTimeSpan 
*) &_result_ref
; 
22131         wxPyEndAllowThreads(__tstate
); 
22132         if (PyErr_Occurred()) SWIG_fail
; 
22134     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
22141 static PyObject 
*_wrap_TimeSpan_Abs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22142     PyObject 
*resultobj
; 
22143     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22145     PyObject 
* obj0 
= 0 ; 
22146     char *kwnames
[] = { 
22147         (char *) "self", NULL 
 
22150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
; 
22151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22155         result 
= ((wxTimeSpan 
const *)arg1
)->Abs(); 
22157         wxPyEndAllowThreads(__tstate
); 
22158         if (PyErr_Occurred()) SWIG_fail
; 
22161         wxTimeSpan 
* resultptr
; 
22162         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22163         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22171 static PyObject 
*_wrap_TimeSpan___iadd__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22172     PyObject 
*resultobj
; 
22173     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22174     wxTimeSpan 
*arg2 
= 0 ; 
22175     wxTimeSpan 
*result
; 
22176     PyObject 
* obj0 
= 0 ; 
22177     PyObject 
* obj1 
= 0 ; 
22178     char *kwnames
[] = { 
22179         (char *) "self",(char *) "diff", NULL 
 
22182     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22183     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22184     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
22185     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22186     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22188     if (arg2 
== NULL
) { 
22189         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22195             wxTimeSpan 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
22196             result 
= (wxTimeSpan 
*) &_result_ref
; 
22199         wxPyEndAllowThreads(__tstate
); 
22200         if (PyErr_Occurred()) SWIG_fail
; 
22202     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1); 
22209 static PyObject 
*_wrap_TimeSpan___isub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22210     PyObject 
*resultobj
; 
22211     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22212     wxTimeSpan 
*arg2 
= 0 ; 
22213     wxTimeSpan 
*result
; 
22214     PyObject 
* obj0 
= 0 ; 
22215     PyObject 
* obj1 
= 0 ; 
22216     char *kwnames
[] = { 
22217         (char *) "self",(char *) "diff", NULL 
 
22220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22221     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22222     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
22223     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22224     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22226     if (arg2 
== NULL
) { 
22227         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22233             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
22234             result 
= (wxTimeSpan 
*) &_result_ref
; 
22237         wxPyEndAllowThreads(__tstate
); 
22238         if (PyErr_Occurred()) SWIG_fail
; 
22240     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1); 
22247 static PyObject 
*_wrap_TimeSpan___imul__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22248     PyObject 
*resultobj
; 
22249     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22251     wxTimeSpan 
*result
; 
22252     PyObject 
* obj0 
= 0 ; 
22253     PyObject 
* obj1 
= 0 ; 
22254     char *kwnames
[] = { 
22255         (char *) "self",(char *) "n", NULL 
 
22258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22259     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22260     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
22261     arg2 
= (int)SWIG_As_int(obj1
);  
22262     if (PyErr_Occurred()) SWIG_fail
; 
22264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22266             wxTimeSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
22267             result 
= (wxTimeSpan 
*) &_result_ref
; 
22270         wxPyEndAllowThreads(__tstate
); 
22271         if (PyErr_Occurred()) SWIG_fail
; 
22273     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1); 
22280 static PyObject 
*_wrap_TimeSpan___neg__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22281     PyObject 
*resultobj
; 
22282     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22283     wxTimeSpan 
*result
; 
22284     PyObject 
* obj0 
= 0 ; 
22285     char *kwnames
[] = { 
22286         (char *) "self", NULL 
 
22289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
; 
22290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22295             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -(); 
22296             result 
= (wxTimeSpan 
*) &_result_ref
; 
22299         wxPyEndAllowThreads(__tstate
); 
22300         if (PyErr_Occurred()) SWIG_fail
; 
22302     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
22309 static PyObject 
*_wrap_TimeSpan___add__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22310     PyObject 
*resultobj
; 
22311     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22312     wxTimeSpan 
*arg2 
= 0 ; 
22314     PyObject 
* obj0 
= 0 ; 
22315     PyObject 
* obj1 
= 0 ; 
22316     char *kwnames
[] = { 
22317         (char *) "self",(char *) "other", NULL 
 
22320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22323     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22326     if (arg2 
== NULL
) { 
22327         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22332         result 
= wxTimeSpan___add__(arg1
,(wxTimeSpan 
const &)*arg2
); 
22334         wxPyEndAllowThreads(__tstate
); 
22335         if (PyErr_Occurred()) SWIG_fail
; 
22338         wxTimeSpan 
* resultptr
; 
22339         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22340         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22348 static PyObject 
*_wrap_TimeSpan___sub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22349     PyObject 
*resultobj
; 
22350     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22351     wxTimeSpan 
*arg2 
= 0 ; 
22353     PyObject 
* obj0 
= 0 ; 
22354     PyObject 
* obj1 
= 0 ; 
22355     char *kwnames
[] = { 
22356         (char *) "self",(char *) "other", NULL 
 
22359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22360     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22361     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22362     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22365     if (arg2 
== NULL
) { 
22366         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22371         result 
= wxTimeSpan___sub__(arg1
,(wxTimeSpan 
const &)*arg2
); 
22373         wxPyEndAllowThreads(__tstate
); 
22374         if (PyErr_Occurred()) SWIG_fail
; 
22377         wxTimeSpan 
* resultptr
; 
22378         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22379         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22387 static PyObject 
*_wrap_TimeSpan___mul__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22388     PyObject 
*resultobj
; 
22389     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22392     PyObject 
* obj0 
= 0 ; 
22393     PyObject 
* obj1 
= 0 ; 
22394     char *kwnames
[] = { 
22395         (char *) "self",(char *) "n", NULL 
 
22398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22399     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22400     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22401     arg2 
= (int)SWIG_As_int(obj1
);  
22402     if (PyErr_Occurred()) SWIG_fail
; 
22404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22405         result 
= wxTimeSpan___mul__(arg1
,arg2
); 
22407         wxPyEndAllowThreads(__tstate
); 
22408         if (PyErr_Occurred()) SWIG_fail
; 
22411         wxTimeSpan 
* resultptr
; 
22412         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22413         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22421 static PyObject 
*_wrap_TimeSpan___rmul__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22422     PyObject 
*resultobj
; 
22423     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22426     PyObject 
* obj0 
= 0 ; 
22427     PyObject 
* obj1 
= 0 ; 
22428     char *kwnames
[] = { 
22429         (char *) "self",(char *) "n", NULL 
 
22432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22433     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22434     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22435     arg2 
= (int)SWIG_As_int(obj1
);  
22436     if (PyErr_Occurred()) SWIG_fail
; 
22438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22439         result 
= wxTimeSpan___rmul__(arg1
,arg2
); 
22441         wxPyEndAllowThreads(__tstate
); 
22442         if (PyErr_Occurred()) SWIG_fail
; 
22445         wxTimeSpan 
* resultptr
; 
22446         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22447         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22455 static PyObject 
*_wrap_TimeSpan___lt__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22456     PyObject 
*resultobj
; 
22457     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22458     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22460     PyObject 
* obj0 
= 0 ; 
22461     PyObject 
* obj1 
= 0 ; 
22462     char *kwnames
[] = { 
22463         (char *) "self",(char *) "other", NULL 
 
22466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22467     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22468     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22469     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22470     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22473         result 
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22475         wxPyEndAllowThreads(__tstate
); 
22476         if (PyErr_Occurred()) SWIG_fail
; 
22479         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22487 static PyObject 
*_wrap_TimeSpan___le__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22488     PyObject 
*resultobj
; 
22489     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22490     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22492     PyObject 
* obj0 
= 0 ; 
22493     PyObject 
* obj1 
= 0 ; 
22494     char *kwnames
[] = { 
22495         (char *) "self",(char *) "other", NULL 
 
22498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22499     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22500     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22501     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22502     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22504         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22505         result 
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan 
const *)arg2
); 
22507         wxPyEndAllowThreads(__tstate
); 
22508         if (PyErr_Occurred()) SWIG_fail
; 
22511         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22519 static PyObject 
*_wrap_TimeSpan___gt__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22520     PyObject 
*resultobj
; 
22521     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22522     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22524     PyObject 
* obj0 
= 0 ; 
22525     PyObject 
* obj1 
= 0 ; 
22526     char *kwnames
[] = { 
22527         (char *) "self",(char *) "other", NULL 
 
22530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22531     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22532     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22533     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22537         result 
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22539         wxPyEndAllowThreads(__tstate
); 
22540         if (PyErr_Occurred()) SWIG_fail
; 
22543         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22551 static PyObject 
*_wrap_TimeSpan___ge__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22552     PyObject 
*resultobj
; 
22553     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22554     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22556     PyObject 
* obj0 
= 0 ; 
22557     PyObject 
* obj1 
= 0 ; 
22558     char *kwnames
[] = { 
22559         (char *) "self",(char *) "other", NULL 
 
22562     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22563     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22564     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22565     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22566     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22569         result 
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan 
const *)arg2
); 
22571         wxPyEndAllowThreads(__tstate
); 
22572         if (PyErr_Occurred()) SWIG_fail
; 
22575         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22583 static PyObject 
*_wrap_TimeSpan___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22584     PyObject 
*resultobj
; 
22585     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22586     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22588     PyObject 
* obj0 
= 0 ; 
22589     PyObject 
* obj1 
= 0 ; 
22590     char *kwnames
[] = { 
22591         (char *) "self",(char *) "other", NULL 
 
22594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22595     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22596     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22597     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22598     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22601         result 
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan 
const *)arg2
); 
22603         wxPyEndAllowThreads(__tstate
); 
22604         if (PyErr_Occurred()) SWIG_fail
; 
22607         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22615 static PyObject 
*_wrap_TimeSpan___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22616     PyObject 
*resultobj
; 
22617     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22618     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22620     PyObject 
* obj0 
= 0 ; 
22621     PyObject 
* obj1 
= 0 ; 
22622     char *kwnames
[] = { 
22623         (char *) "self",(char *) "other", NULL 
 
22626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22629     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22632         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22633         result 
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan 
const *)arg2
); 
22635         wxPyEndAllowThreads(__tstate
); 
22636         if (PyErr_Occurred()) SWIG_fail
; 
22639         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22647 static PyObject 
*_wrap_TimeSpan_IsNull(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22648     PyObject 
*resultobj
; 
22649     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22651     PyObject 
* obj0 
= 0 ; 
22652     char *kwnames
[] = { 
22653         (char *) "self", NULL 
 
22656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
; 
22657     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22658     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22661         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNull(); 
22663         wxPyEndAllowThreads(__tstate
); 
22664         if (PyErr_Occurred()) SWIG_fail
; 
22667         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22675 static PyObject 
*_wrap_TimeSpan_IsPositive(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22676     PyObject 
*resultobj
; 
22677     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22679     PyObject 
* obj0 
= 0 ; 
22680     char *kwnames
[] = { 
22681         (char *) "self", NULL 
 
22684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
; 
22685     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22686     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22689         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsPositive(); 
22691         wxPyEndAllowThreads(__tstate
); 
22692         if (PyErr_Occurred()) SWIG_fail
; 
22695         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22703 static PyObject 
*_wrap_TimeSpan_IsNegative(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22704     PyObject 
*resultobj
; 
22705     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22707     PyObject 
* obj0 
= 0 ; 
22708     char *kwnames
[] = { 
22709         (char *) "self", NULL 
 
22712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
; 
22713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22717         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNegative(); 
22719         wxPyEndAllowThreads(__tstate
); 
22720         if (PyErr_Occurred()) SWIG_fail
; 
22723         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22731 static PyObject 
*_wrap_TimeSpan_IsEqualTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22732     PyObject 
*resultobj
; 
22733     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22734     wxTimeSpan 
*arg2 
= 0 ; 
22736     PyObject 
* obj0 
= 0 ; 
22737     PyObject 
* obj1 
= 0 ; 
22738     char *kwnames
[] = { 
22739         (char *) "self",(char *) "ts", NULL 
 
22742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
22743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22745     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22746     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22748     if (arg2 
== NULL
) { 
22749         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22754         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsEqualTo((wxTimeSpan 
const &)*arg2
); 
22756         wxPyEndAllowThreads(__tstate
); 
22757         if (PyErr_Occurred()) SWIG_fail
; 
22760         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22768 static PyObject 
*_wrap_TimeSpan_IsLongerThan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22769     PyObject 
*resultobj
; 
22770     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22771     wxTimeSpan 
*arg2 
= 0 ; 
22773     PyObject 
* obj0 
= 0 ; 
22774     PyObject 
* obj1 
= 0 ; 
22775     char *kwnames
[] = { 
22776         (char *) "self",(char *) "ts", NULL 
 
22779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22780     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22781     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22782     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22785     if (arg2 
== NULL
) { 
22786         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22791         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsLongerThan((wxTimeSpan 
const &)*arg2
); 
22793         wxPyEndAllowThreads(__tstate
); 
22794         if (PyErr_Occurred()) SWIG_fail
; 
22797         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22805 static PyObject 
*_wrap_TimeSpan_IsShorterThan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22806     PyObject 
*resultobj
; 
22807     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22808     wxTimeSpan 
*arg2 
= 0 ; 
22810     PyObject 
* obj0 
= 0 ; 
22811     PyObject 
* obj1 
= 0 ; 
22812     char *kwnames
[] = { 
22813         (char *) "self",(char *) "t", NULL 
 
22816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22817     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22818     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22819     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22822     if (arg2 
== NULL
) { 
22823         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22828         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsShorterThan((wxTimeSpan 
const &)*arg2
); 
22830         wxPyEndAllowThreads(__tstate
); 
22831         if (PyErr_Occurred()) SWIG_fail
; 
22834         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22842 static PyObject 
*_wrap_TimeSpan_GetWeeks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22843     PyObject 
*resultobj
; 
22844     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22846     PyObject 
* obj0 
= 0 ; 
22847     char *kwnames
[] = { 
22848         (char *) "self", NULL 
 
22851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
22852     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22853     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22856         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetWeeks(); 
22858         wxPyEndAllowThreads(__tstate
); 
22859         if (PyErr_Occurred()) SWIG_fail
; 
22861     resultobj 
= SWIG_From_int((int)result
); 
22868 static PyObject 
*_wrap_TimeSpan_GetDays(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22869     PyObject 
*resultobj
; 
22870     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22872     PyObject 
* obj0 
= 0 ; 
22873     char *kwnames
[] = { 
22874         (char *) "self", NULL 
 
22877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
22878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22882         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetDays(); 
22884         wxPyEndAllowThreads(__tstate
); 
22885         if (PyErr_Occurred()) SWIG_fail
; 
22887     resultobj 
= SWIG_From_int((int)result
); 
22894 static PyObject 
*_wrap_TimeSpan_GetHours(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22895     PyObject 
*resultobj
; 
22896     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22898     PyObject 
* obj0 
= 0 ; 
22899     char *kwnames
[] = { 
22900         (char *) "self", NULL 
 
22903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
; 
22904     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22905     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22908         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetHours(); 
22910         wxPyEndAllowThreads(__tstate
); 
22911         if (PyErr_Occurred()) SWIG_fail
; 
22913     resultobj 
= SWIG_From_int((int)result
); 
22920 static PyObject 
*_wrap_TimeSpan_GetMinutes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22921     PyObject 
*resultobj
; 
22922     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22924     PyObject 
* obj0 
= 0 ; 
22925     char *kwnames
[] = { 
22926         (char *) "self", NULL 
 
22929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
; 
22930     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22931     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22934         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetMinutes(); 
22936         wxPyEndAllowThreads(__tstate
); 
22937         if (PyErr_Occurred()) SWIG_fail
; 
22939     resultobj 
= SWIG_From_int((int)result
); 
22946 static PyObject 
*_wrap_TimeSpan_GetSeconds(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22947     PyObject 
*resultobj
; 
22948     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22950     PyObject 
* obj0 
= 0 ; 
22951     char *kwnames
[] = { 
22952         (char *) "self", NULL 
 
22955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
; 
22956     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22957     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22960         result 
= ((wxTimeSpan 
const *)arg1
)->GetSeconds(); 
22962         wxPyEndAllowThreads(__tstate
); 
22963         if (PyErr_Occurred()) SWIG_fail
; 
22966         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
22967         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
22968         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
22969         shifter 
= PyLong_FromLong(32); 
22970         shifted 
= PyNumber_Lshift(hi
, shifter
); 
22971         resultobj 
= PyNumber_Or(shifted
, lo
); 
22974         Py_DECREF(shifter
); 
22975         Py_DECREF(shifted
); 
22983 static PyObject 
*_wrap_TimeSpan_GetMilliseconds(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22984     PyObject 
*resultobj
; 
22985     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22987     PyObject 
* obj0 
= 0 ; 
22988     char *kwnames
[] = { 
22989         (char *) "self", NULL 
 
22992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
; 
22993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22997         result 
= ((wxTimeSpan 
const *)arg1
)->GetMilliseconds(); 
22999         wxPyEndAllowThreads(__tstate
); 
23000         if (PyErr_Occurred()) SWIG_fail
; 
23003         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
23004         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
23005         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
23006         shifter 
= PyLong_FromLong(32); 
23007         shifted 
= PyNumber_Lshift(hi
, shifter
); 
23008         resultobj 
= PyNumber_Or(shifted
, lo
); 
23011         Py_DECREF(shifter
); 
23012         Py_DECREF(shifted
); 
23020 static PyObject 
*_wrap_TimeSpan_Format(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23021     PyObject 
*resultobj
; 
23022     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
23023     wxString 
const &arg2_defvalue 
= wxPyTimeSpanFormatStr 
; 
23024     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
23026     bool temp2 
= False 
; 
23027     PyObject 
* obj0 
= 0 ; 
23028     PyObject 
* obj1 
= 0 ; 
23029     char *kwnames
[] = { 
23030         (char *) "self",(char *) "format", NULL 
 
23033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
; 
23034     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
23035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23038             arg2 
= wxString_in_helper(obj1
); 
23039             if (arg2 
== NULL
) SWIG_fail
; 
23044         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23045         result 
= ((wxTimeSpan 
const *)arg1
)->Format((wxString 
const &)*arg2
); 
23047         wxPyEndAllowThreads(__tstate
); 
23048         if (PyErr_Occurred()) SWIG_fail
; 
23052         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
23054         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
23071 static PyObject 
* TimeSpan_swigregister(PyObject 
*, PyObject 
*args
) { 
23073     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23074     SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
); 
23076     return Py_BuildValue((char *)""); 
23078 static PyObject 
*_wrap_new_DateSpan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23079     PyObject 
*resultobj
; 
23080     int arg1 
= (int) 0 ; 
23081     int arg2 
= (int) 0 ; 
23082     int arg3 
= (int) 0 ; 
23083     int arg4 
= (int) 0 ; 
23084     wxDateSpan 
*result
; 
23085     PyObject 
* obj0 
= 0 ; 
23086     PyObject 
* obj1 
= 0 ; 
23087     PyObject 
* obj2 
= 0 ; 
23088     PyObject 
* obj3 
= 0 ; 
23089     char *kwnames
[] = { 
23090         (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL 
 
23093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
23095         arg1 
= (int)SWIG_As_int(obj0
);  
23096         if (PyErr_Occurred()) SWIG_fail
; 
23099         arg2 
= (int)SWIG_As_int(obj1
);  
23100         if (PyErr_Occurred()) SWIG_fail
; 
23103         arg3 
= (int)SWIG_As_int(obj2
);  
23104         if (PyErr_Occurred()) SWIG_fail
; 
23107         arg4 
= (int)SWIG_As_int(obj3
);  
23108         if (PyErr_Occurred()) SWIG_fail
; 
23111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23112         result 
= (wxDateSpan 
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
); 
23114         wxPyEndAllowThreads(__tstate
); 
23115         if (PyErr_Occurred()) SWIG_fail
; 
23117     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1); 
23124 static PyObject 
*_wrap_delete_DateSpan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23125     PyObject 
*resultobj
; 
23126     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23127     PyObject 
* obj0 
= 0 ; 
23128     char *kwnames
[] = { 
23129         (char *) "self", NULL 
 
23132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
; 
23133     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23134     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23136         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23139         wxPyEndAllowThreads(__tstate
); 
23140         if (PyErr_Occurred()) SWIG_fail
; 
23142     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23149 static PyObject 
*_wrap_DateSpan_Days(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23150     PyObject 
*resultobj
; 
23153     PyObject 
* obj0 
= 0 ; 
23154     char *kwnames
[] = { 
23155         (char *) "days", NULL 
 
23158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
; 
23159     arg1 
= (int)SWIG_As_int(obj0
);  
23160     if (PyErr_Occurred()) SWIG_fail
; 
23162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23163         result 
= wxDateSpan::Days(arg1
); 
23165         wxPyEndAllowThreads(__tstate
); 
23166         if (PyErr_Occurred()) SWIG_fail
; 
23169         wxDateSpan 
* resultptr
; 
23170         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23171         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23179 static PyObject 
*_wrap_DateSpan_Day(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23180     PyObject 
*resultobj
; 
23182     char *kwnames
[] = { 
23186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
; 
23188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23189         result 
= wxDateSpan::Day(); 
23191         wxPyEndAllowThreads(__tstate
); 
23192         if (PyErr_Occurred()) SWIG_fail
; 
23195         wxDateSpan 
* resultptr
; 
23196         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23197         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23205 static PyObject 
*_wrap_DateSpan_Weeks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23206     PyObject 
*resultobj
; 
23209     PyObject 
* obj0 
= 0 ; 
23210     char *kwnames
[] = { 
23211         (char *) "weeks", NULL 
 
23214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
23215     arg1 
= (int)SWIG_As_int(obj0
);  
23216     if (PyErr_Occurred()) SWIG_fail
; 
23218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23219         result 
= wxDateSpan::Weeks(arg1
); 
23221         wxPyEndAllowThreads(__tstate
); 
23222         if (PyErr_Occurred()) SWIG_fail
; 
23225         wxDateSpan 
* resultptr
; 
23226         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23227         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23235 static PyObject 
*_wrap_DateSpan_Week(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23236     PyObject 
*resultobj
; 
23238     char *kwnames
[] = { 
23242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
; 
23244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23245         result 
= wxDateSpan::Week(); 
23247         wxPyEndAllowThreads(__tstate
); 
23248         if (PyErr_Occurred()) SWIG_fail
; 
23251         wxDateSpan 
* resultptr
; 
23252         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23253         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23261 static PyObject 
*_wrap_DateSpan_Months(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23262     PyObject 
*resultobj
; 
23265     PyObject 
* obj0 
= 0 ; 
23266     char *kwnames
[] = { 
23267         (char *) "mon", NULL 
 
23270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
; 
23271     arg1 
= (int)SWIG_As_int(obj0
);  
23272     if (PyErr_Occurred()) SWIG_fail
; 
23274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23275         result 
= wxDateSpan::Months(arg1
); 
23277         wxPyEndAllowThreads(__tstate
); 
23278         if (PyErr_Occurred()) SWIG_fail
; 
23281         wxDateSpan 
* resultptr
; 
23282         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23283         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23291 static PyObject 
*_wrap_DateSpan_Month(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23292     PyObject 
*resultobj
; 
23294     char *kwnames
[] = { 
23298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
; 
23300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23301         result 
= wxDateSpan::Month(); 
23303         wxPyEndAllowThreads(__tstate
); 
23304         if (PyErr_Occurred()) SWIG_fail
; 
23307         wxDateSpan 
* resultptr
; 
23308         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23309         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23317 static PyObject 
*_wrap_DateSpan_Years(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23318     PyObject 
*resultobj
; 
23321     PyObject 
* obj0 
= 0 ; 
23322     char *kwnames
[] = { 
23323         (char *) "years", NULL 
 
23326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
; 
23327     arg1 
= (int)SWIG_As_int(obj0
);  
23328     if (PyErr_Occurred()) SWIG_fail
; 
23330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23331         result 
= wxDateSpan::Years(arg1
); 
23333         wxPyEndAllowThreads(__tstate
); 
23334         if (PyErr_Occurred()) SWIG_fail
; 
23337         wxDateSpan 
* resultptr
; 
23338         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23339         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23347 static PyObject 
*_wrap_DateSpan_Year(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23348     PyObject 
*resultobj
; 
23350     char *kwnames
[] = { 
23354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
; 
23356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23357         result 
= wxDateSpan::Year(); 
23359         wxPyEndAllowThreads(__tstate
); 
23360         if (PyErr_Occurred()) SWIG_fail
; 
23363         wxDateSpan 
* resultptr
; 
23364         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23365         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23373 static PyObject 
*_wrap_DateSpan_SetYears(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23374     PyObject 
*resultobj
; 
23375     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23377     wxDateSpan 
*result
; 
23378     PyObject 
* obj0 
= 0 ; 
23379     PyObject 
* obj1 
= 0 ; 
23380     char *kwnames
[] = { 
23381         (char *) "self",(char *) "n", NULL 
 
23384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
; 
23385     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23386     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23387     arg2 
= (int)SWIG_As_int(obj1
);  
23388     if (PyErr_Occurred()) SWIG_fail
; 
23390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23392             wxDateSpan 
&_result_ref 
= (arg1
)->SetYears(arg2
); 
23393             result 
= (wxDateSpan 
*) &_result_ref
; 
23396         wxPyEndAllowThreads(__tstate
); 
23397         if (PyErr_Occurred()) SWIG_fail
; 
23399     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23406 static PyObject 
*_wrap_DateSpan_SetMonths(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23407     PyObject 
*resultobj
; 
23408     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23410     wxDateSpan 
*result
; 
23411     PyObject 
* obj0 
= 0 ; 
23412     PyObject 
* obj1 
= 0 ; 
23413     char *kwnames
[] = { 
23414         (char *) "self",(char *) "n", NULL 
 
23417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
; 
23418     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23419     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23420     arg2 
= (int)SWIG_As_int(obj1
);  
23421     if (PyErr_Occurred()) SWIG_fail
; 
23423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23425             wxDateSpan 
&_result_ref 
= (arg1
)->SetMonths(arg2
); 
23426             result 
= (wxDateSpan 
*) &_result_ref
; 
23429         wxPyEndAllowThreads(__tstate
); 
23430         if (PyErr_Occurred()) SWIG_fail
; 
23432     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23439 static PyObject 
*_wrap_DateSpan_SetWeeks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23440     PyObject 
*resultobj
; 
23441     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23443     wxDateSpan 
*result
; 
23444     PyObject 
* obj0 
= 0 ; 
23445     PyObject 
* obj1 
= 0 ; 
23446     char *kwnames
[] = { 
23447         (char *) "self",(char *) "n", NULL 
 
23450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
; 
23451     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23453     arg2 
= (int)SWIG_As_int(obj1
);  
23454     if (PyErr_Occurred()) SWIG_fail
; 
23456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23458             wxDateSpan 
&_result_ref 
= (arg1
)->SetWeeks(arg2
); 
23459             result 
= (wxDateSpan 
*) &_result_ref
; 
23462         wxPyEndAllowThreads(__tstate
); 
23463         if (PyErr_Occurred()) SWIG_fail
; 
23465     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23472 static PyObject 
*_wrap_DateSpan_SetDays(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23473     PyObject 
*resultobj
; 
23474     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23476     wxDateSpan 
*result
; 
23477     PyObject 
* obj0 
= 0 ; 
23478     PyObject 
* obj1 
= 0 ; 
23479     char *kwnames
[] = { 
23480         (char *) "self",(char *) "n", NULL 
 
23483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
; 
23484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23486     arg2 
= (int)SWIG_As_int(obj1
);  
23487     if (PyErr_Occurred()) SWIG_fail
; 
23489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23491             wxDateSpan 
&_result_ref 
= (arg1
)->SetDays(arg2
); 
23492             result 
= (wxDateSpan 
*) &_result_ref
; 
23495         wxPyEndAllowThreads(__tstate
); 
23496         if (PyErr_Occurred()) SWIG_fail
; 
23498     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23505 static PyObject 
*_wrap_DateSpan_GetYears(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23506     PyObject 
*resultobj
; 
23507     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23509     PyObject 
* obj0 
= 0 ; 
23510     char *kwnames
[] = { 
23511         (char *) "self", NULL 
 
23514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
; 
23515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23519         result 
= (int)((wxDateSpan 
const *)arg1
)->GetYears(); 
23521         wxPyEndAllowThreads(__tstate
); 
23522         if (PyErr_Occurred()) SWIG_fail
; 
23524     resultobj 
= SWIG_From_int((int)result
); 
23531 static PyObject 
*_wrap_DateSpan_GetMonths(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23532     PyObject 
*resultobj
; 
23533     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23535     PyObject 
* obj0 
= 0 ; 
23536     char *kwnames
[] = { 
23537         (char *) "self", NULL 
 
23540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
; 
23541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23545         result 
= (int)((wxDateSpan 
const *)arg1
)->GetMonths(); 
23547         wxPyEndAllowThreads(__tstate
); 
23548         if (PyErr_Occurred()) SWIG_fail
; 
23550     resultobj 
= SWIG_From_int((int)result
); 
23557 static PyObject 
*_wrap_DateSpan_GetWeeks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23558     PyObject 
*resultobj
; 
23559     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23561     PyObject 
* obj0 
= 0 ; 
23562     char *kwnames
[] = { 
23563         (char *) "self", NULL 
 
23566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
23567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23568     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23571         result 
= (int)((wxDateSpan 
const *)arg1
)->GetWeeks(); 
23573         wxPyEndAllowThreads(__tstate
); 
23574         if (PyErr_Occurred()) SWIG_fail
; 
23576     resultobj 
= SWIG_From_int((int)result
); 
23583 static PyObject 
*_wrap_DateSpan_GetDays(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23584     PyObject 
*resultobj
; 
23585     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23587     PyObject 
* obj0 
= 0 ; 
23588     char *kwnames
[] = { 
23589         (char *) "self", NULL 
 
23592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
23593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23597         result 
= (int)((wxDateSpan 
const *)arg1
)->GetDays(); 
23599         wxPyEndAllowThreads(__tstate
); 
23600         if (PyErr_Occurred()) SWIG_fail
; 
23602     resultobj 
= SWIG_From_int((int)result
); 
23609 static PyObject 
*_wrap_DateSpan_GetTotalDays(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23610     PyObject 
*resultobj
; 
23611     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23613     PyObject 
* obj0 
= 0 ; 
23614     char *kwnames
[] = { 
23615         (char *) "self", NULL 
 
23618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
; 
23619     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23623         result 
= (int)((wxDateSpan 
const *)arg1
)->GetTotalDays(); 
23625         wxPyEndAllowThreads(__tstate
); 
23626         if (PyErr_Occurred()) SWIG_fail
; 
23628     resultobj 
= SWIG_From_int((int)result
); 
23635 static PyObject 
*_wrap_DateSpan_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23636     PyObject 
*resultobj
; 
23637     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23638     wxDateSpan 
*arg2 
= 0 ; 
23639     wxDateSpan 
*result
; 
23640     PyObject 
* obj0 
= 0 ; 
23641     PyObject 
* obj1 
= 0 ; 
23642     char *kwnames
[] = { 
23643         (char *) "self",(char *) "other", NULL 
 
23646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
23647     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23648     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23649     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23650     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23652     if (arg2 
== NULL
) { 
23653         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23657         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23659             wxDateSpan 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
23660             result 
= (wxDateSpan 
*) &_result_ref
; 
23663         wxPyEndAllowThreads(__tstate
); 
23664         if (PyErr_Occurred()) SWIG_fail
; 
23666     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23673 static PyObject 
*_wrap_DateSpan_Subtract(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23674     PyObject 
*resultobj
; 
23675     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23676     wxDateSpan 
*arg2 
= 0 ; 
23677     wxDateSpan 
*result
; 
23678     PyObject 
* obj0 
= 0 ; 
23679     PyObject 
* obj1 
= 0 ; 
23680     char *kwnames
[] = { 
23681         (char *) "self",(char *) "other", NULL 
 
23684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
23685     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23686     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23687     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23688     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23690     if (arg2 
== NULL
) { 
23691         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23697             wxDateSpan 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
23698             result 
= (wxDateSpan 
*) &_result_ref
; 
23701         wxPyEndAllowThreads(__tstate
); 
23702         if (PyErr_Occurred()) SWIG_fail
; 
23704     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23711 static PyObject 
*_wrap_DateSpan_Neg(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23712     PyObject 
*resultobj
; 
23713     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23714     wxDateSpan 
*result
; 
23715     PyObject 
* obj0 
= 0 ; 
23716     char *kwnames
[] = { 
23717         (char *) "self", NULL 
 
23720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
; 
23721     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23722     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23726             wxDateSpan 
&_result_ref 
= (arg1
)->Neg(); 
23727             result 
= (wxDateSpan 
*) &_result_ref
; 
23730         wxPyEndAllowThreads(__tstate
); 
23731         if (PyErr_Occurred()) SWIG_fail
; 
23733     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23740 static PyObject 
*_wrap_DateSpan_Multiply(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23741     PyObject 
*resultobj
; 
23742     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23744     wxDateSpan 
*result
; 
23745     PyObject 
* obj0 
= 0 ; 
23746     PyObject 
* obj1 
= 0 ; 
23747     char *kwnames
[] = { 
23748         (char *) "self",(char *) "factor", NULL 
 
23751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
23752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23754     arg2 
= (int)SWIG_As_int(obj1
);  
23755     if (PyErr_Occurred()) SWIG_fail
; 
23757         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23759             wxDateSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
23760             result 
= (wxDateSpan 
*) &_result_ref
; 
23763         wxPyEndAllowThreads(__tstate
); 
23764         if (PyErr_Occurred()) SWIG_fail
; 
23766     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23773 static PyObject 
*_wrap_DateSpan___iadd__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23774     PyObject 
*resultobj
; 
23775     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23776     wxDateSpan 
*arg2 
= 0 ; 
23777     wxDateSpan 
*result
; 
23778     PyObject 
* obj0 
= 0 ; 
23779     PyObject 
* obj1 
= 0 ; 
23780     char *kwnames
[] = { 
23781         (char *) "self",(char *) "other", NULL 
 
23784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23786     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
23787     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23790     if (arg2 
== NULL
) { 
23791         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23797             wxDateSpan 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
23798             result 
= (wxDateSpan 
*) &_result_ref
; 
23801         wxPyEndAllowThreads(__tstate
); 
23802         if (PyErr_Occurred()) SWIG_fail
; 
23804     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1); 
23811 static PyObject 
*_wrap_DateSpan___isub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23812     PyObject 
*resultobj
; 
23813     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23814     wxDateSpan 
*arg2 
= 0 ; 
23815     wxDateSpan 
*result
; 
23816     PyObject 
* obj0 
= 0 ; 
23817     PyObject 
* obj1 
= 0 ; 
23818     char *kwnames
[] = { 
23819         (char *) "self",(char *) "other", NULL 
 
23822     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23823     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23824     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
23825     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23826     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23828     if (arg2 
== NULL
) { 
23829         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23835             wxDateSpan 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
23836             result 
= (wxDateSpan 
*) &_result_ref
; 
23839         wxPyEndAllowThreads(__tstate
); 
23840         if (PyErr_Occurred()) SWIG_fail
; 
23842     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1); 
23849 static PyObject 
*_wrap_DateSpan___neg__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23850     PyObject 
*resultobj
; 
23851     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23852     wxDateSpan 
*result
; 
23853     PyObject 
* obj0 
= 0 ; 
23854     char *kwnames
[] = { 
23855         (char *) "self", NULL 
 
23858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
; 
23859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23864             wxDateSpan 
&_result_ref 
= (arg1
)->operator -(); 
23865             result 
= (wxDateSpan 
*) &_result_ref
; 
23868         wxPyEndAllowThreads(__tstate
); 
23869         if (PyErr_Occurred()) SWIG_fail
; 
23871     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23878 static PyObject 
*_wrap_DateSpan___imul__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23879     PyObject 
*resultobj
; 
23880     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23882     wxDateSpan 
*result
; 
23883     PyObject 
* obj0 
= 0 ; 
23884     PyObject 
* obj1 
= 0 ; 
23885     char *kwnames
[] = { 
23886         (char *) "self",(char *) "factor", NULL 
 
23889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23890     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23891     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
23892     arg2 
= (int)SWIG_As_int(obj1
);  
23893     if (PyErr_Occurred()) SWIG_fail
; 
23895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23897             wxDateSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
23898             result 
= (wxDateSpan 
*) &_result_ref
; 
23901         wxPyEndAllowThreads(__tstate
); 
23902         if (PyErr_Occurred()) SWIG_fail
; 
23904     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1); 
23911 static PyObject 
*_wrap_DateSpan___add__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23912     PyObject 
*resultobj
; 
23913     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23914     wxDateSpan 
*arg2 
= 0 ; 
23916     PyObject 
* obj0 
= 0 ; 
23917     PyObject 
* obj1 
= 0 ; 
23918     char *kwnames
[] = { 
23919         (char *) "self",(char *) "other", NULL 
 
23922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23923     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23924     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23925     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23926     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23928     if (arg2 
== NULL
) { 
23929         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23934         result 
= wxDateSpan___add__(arg1
,(wxDateSpan 
const &)*arg2
); 
23936         wxPyEndAllowThreads(__tstate
); 
23937         if (PyErr_Occurred()) SWIG_fail
; 
23940         wxDateSpan 
* resultptr
; 
23941         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23942         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23950 static PyObject 
*_wrap_DateSpan___sub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23951     PyObject 
*resultobj
; 
23952     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23953     wxDateSpan 
*arg2 
= 0 ; 
23955     PyObject 
* obj0 
= 0 ; 
23956     PyObject 
* obj1 
= 0 ; 
23957     char *kwnames
[] = { 
23958         (char *) "self",(char *) "other", NULL 
 
23961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23962     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23963     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23964     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23967     if (arg2 
== NULL
) { 
23968         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23972         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23973         result 
= wxDateSpan___sub__(arg1
,(wxDateSpan 
const &)*arg2
); 
23975         wxPyEndAllowThreads(__tstate
); 
23976         if (PyErr_Occurred()) SWIG_fail
; 
23979         wxDateSpan 
* resultptr
; 
23980         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23981         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23989 static PyObject 
*_wrap_DateSpan___mul__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23990     PyObject 
*resultobj
; 
23991     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23994     PyObject 
* obj0 
= 0 ; 
23995     PyObject 
* obj1 
= 0 ; 
23996     char *kwnames
[] = { 
23997         (char *) "self",(char *) "n", NULL 
 
24000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
24001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
24002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24003     arg2 
= (int)SWIG_As_int(obj1
);  
24004     if (PyErr_Occurred()) SWIG_fail
; 
24006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24007         result 
= wxDateSpan___mul__(arg1
,arg2
); 
24009         wxPyEndAllowThreads(__tstate
); 
24010         if (PyErr_Occurred()) SWIG_fail
; 
24013         wxDateSpan 
* resultptr
; 
24014         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
24015         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
24023 static PyObject 
*_wrap_DateSpan___rmul__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24024     PyObject 
*resultobj
; 
24025     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
24028     PyObject 
* obj0 
= 0 ; 
24029     PyObject 
* obj1 
= 0 ; 
24030     char *kwnames
[] = { 
24031         (char *) "self",(char *) "n", NULL 
 
24034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
24035     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
24036     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24037     arg2 
= (int)SWIG_As_int(obj1
);  
24038     if (PyErr_Occurred()) SWIG_fail
; 
24040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24041         result 
= wxDateSpan___rmul__(arg1
,arg2
); 
24043         wxPyEndAllowThreads(__tstate
); 
24044         if (PyErr_Occurred()) SWIG_fail
; 
24047         wxDateSpan 
* resultptr
; 
24048         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
24049         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
24057 static PyObject 
*_wrap_DateSpan___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24058     PyObject 
*resultobj
; 
24059     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
24060     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
24062     PyObject 
* obj0 
= 0 ; 
24063     PyObject 
* obj1 
= 0 ; 
24064     char *kwnames
[] = { 
24065         (char *) "self",(char *) "other", NULL 
 
24068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
24069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
24070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24071     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
24072     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24075         result 
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan 
const *)arg2
); 
24077         wxPyEndAllowThreads(__tstate
); 
24078         if (PyErr_Occurred()) SWIG_fail
; 
24081         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24089 static PyObject 
*_wrap_DateSpan___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24090     PyObject 
*resultobj
; 
24091     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
24092     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
24094     PyObject 
* obj0 
= 0 ; 
24095     PyObject 
* obj1 
= 0 ; 
24096     char *kwnames
[] = { 
24097         (char *) "self",(char *) "other", NULL 
 
24100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
24101     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
24102     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24103     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
24104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24106         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24107         result 
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan 
const *)arg2
); 
24109         wxPyEndAllowThreads(__tstate
); 
24110         if (PyErr_Occurred()) SWIG_fail
; 
24113         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24121 static PyObject 
* DateSpan_swigregister(PyObject 
*, PyObject 
*args
) { 
24123     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24124     SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
); 
24126     return Py_BuildValue((char *)""); 
24128 static PyObject 
*_wrap_GetLocalTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24129     PyObject 
*resultobj
; 
24131     char *kwnames
[] = { 
24135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
; 
24137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24138         result 
= (long)wxGetLocalTime(); 
24140         wxPyEndAllowThreads(__tstate
); 
24141         if (PyErr_Occurred()) SWIG_fail
; 
24143     resultobj 
= SWIG_From_long((long)result
); 
24150 static PyObject 
*_wrap_GetUTCTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24151     PyObject 
*resultobj
; 
24153     char *kwnames
[] = { 
24157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
; 
24159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24160         result 
= (long)wxGetUTCTime(); 
24162         wxPyEndAllowThreads(__tstate
); 
24163         if (PyErr_Occurred()) SWIG_fail
; 
24165     resultobj 
= SWIG_From_long((long)result
); 
24172 static PyObject 
*_wrap_GetCurrentTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24173     PyObject 
*resultobj
; 
24175     char *kwnames
[] = { 
24179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
; 
24181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24182         result 
= (long)wxGetCurrentTime(); 
24184         wxPyEndAllowThreads(__tstate
); 
24185         if (PyErr_Occurred()) SWIG_fail
; 
24187     resultobj 
= SWIG_From_long((long)result
); 
24194 static PyObject 
*_wrap_GetLocalTimeMillis(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24195     PyObject 
*resultobj
; 
24197     char *kwnames
[] = { 
24201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
; 
24203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24204         result 
= wxGetLocalTimeMillis(); 
24206         wxPyEndAllowThreads(__tstate
); 
24207         if (PyErr_Occurred()) SWIG_fail
; 
24210         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
24211         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
24212         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
24213         shifter 
= PyLong_FromLong(32); 
24214         shifted 
= PyNumber_Lshift(hi
, shifter
); 
24215         resultobj 
= PyNumber_Or(shifted
, lo
); 
24218         Py_DECREF(shifter
); 
24219         Py_DECREF(shifted
); 
24227 static int _wrap_DefaultDateTime_set(PyObject 
*) { 
24228     PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only."); 
24233 static PyObject 
*_wrap_DefaultDateTime_get() { 
24236     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0); 
24241 static PyObject 
*_wrap_new_DataFormat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24242     PyObject 
*resultobj
; 
24244     wxDataFormat 
*result
; 
24245     PyObject 
* obj0 
= 0 ; 
24246     char *kwnames
[] = { 
24247         (char *) "type", NULL 
 
24250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
; 
24251     arg1 
= (int)SWIG_As_int(obj0
);  
24252     if (PyErr_Occurred()) SWIG_fail
; 
24254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24255         result 
= (wxDataFormat 
*)new wxDataFormat((wxDataFormatId 
)arg1
); 
24257         wxPyEndAllowThreads(__tstate
); 
24258         if (PyErr_Occurred()) SWIG_fail
; 
24260     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
24267 static PyObject 
*_wrap_new_CustomDataFormat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24268     PyObject 
*resultobj
; 
24269     wxString 
*arg1 
= 0 ; 
24270     wxDataFormat 
*result
; 
24271     bool temp1 
= False 
; 
24272     PyObject 
* obj0 
= 0 ; 
24273     char *kwnames
[] = { 
24274         (char *) "format", NULL 
 
24277     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
; 
24279         arg1 
= wxString_in_helper(obj0
); 
24280         if (arg1 
== NULL
) SWIG_fail
; 
24284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24285         result 
= (wxDataFormat 
*)new wxDataFormat((wxString 
const &)*arg1
); 
24287         wxPyEndAllowThreads(__tstate
); 
24288         if (PyErr_Occurred()) SWIG_fail
; 
24290     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
24305 static PyObject 
*_wrap_delete_DataFormat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24306     PyObject 
*resultobj
; 
24307     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24308     PyObject 
* obj0 
= 0 ; 
24309     char *kwnames
[] = { 
24310         (char *) "self", NULL 
 
24313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
; 
24314     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24315     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24320         wxPyEndAllowThreads(__tstate
); 
24321         if (PyErr_Occurred()) SWIG_fail
; 
24323     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24330 static PyObject 
*_wrap_DataFormat___eq____SWIG_0(PyObject 
*, PyObject 
*args
) { 
24331     PyObject 
*resultobj
; 
24332     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24335     PyObject 
* obj0 
= 0 ; 
24336     PyObject 
* obj1 
= 0 ; 
24338     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
24339     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24340     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24341     arg2 
= (int)SWIG_As_int(obj1
);  
24342     if (PyErr_Occurred()) SWIG_fail
; 
24344         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24345         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormatId 
)arg2
); 
24347         wxPyEndAllowThreads(__tstate
); 
24348         if (PyErr_Occurred()) SWIG_fail
; 
24351         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24359 static PyObject 
*_wrap_DataFormat___ne____SWIG_0(PyObject 
*, PyObject 
*args
) { 
24360     PyObject 
*resultobj
; 
24361     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24364     PyObject 
* obj0 
= 0 ; 
24365     PyObject 
* obj1 
= 0 ; 
24367     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
24368     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24370     arg2 
= (int)SWIG_As_int(obj1
);  
24371     if (PyErr_Occurred()) SWIG_fail
; 
24373         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24374         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormatId 
)arg2
); 
24376         wxPyEndAllowThreads(__tstate
); 
24377         if (PyErr_Occurred()) SWIG_fail
; 
24380         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24388 static PyObject 
*_wrap_DataFormat___eq____SWIG_1(PyObject 
*, PyObject 
*args
) { 
24389     PyObject 
*resultobj
; 
24390     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24391     wxDataFormat 
*arg2 
= 0 ; 
24393     PyObject 
* obj0 
= 0 ; 
24394     PyObject 
* obj1 
= 0 ; 
24396     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
24397     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24398     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24399     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24400     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24402     if (arg2 
== NULL
) { 
24403         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24408         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormat 
const &)*arg2
); 
24410         wxPyEndAllowThreads(__tstate
); 
24411         if (PyErr_Occurred()) SWIG_fail
; 
24414         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24422 static PyObject 
*_wrap_DataFormat___eq__(PyObject 
*self
, PyObject 
*args
) { 
24427     argc 
= PyObject_Length(args
); 
24428     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
24429         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
24435             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24445                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24453                 return _wrap_DataFormat___eq____SWIG_1(self
,args
); 
24461             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24469             _v 
= SWIG_Check_int(argv
[1]); 
24471                 return _wrap_DataFormat___eq____SWIG_0(self
,args
); 
24476     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'"); 
24481 static PyObject 
*_wrap_DataFormat___ne____SWIG_1(PyObject 
*, PyObject 
*args
) { 
24482     PyObject 
*resultobj
; 
24483     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24484     wxDataFormat 
*arg2 
= 0 ; 
24486     PyObject 
* obj0 
= 0 ; 
24487     PyObject 
* obj1 
= 0 ; 
24489     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
24490     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24491     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24492     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24493     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24495     if (arg2 
== NULL
) { 
24496         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24501         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormat 
const &)*arg2
); 
24503         wxPyEndAllowThreads(__tstate
); 
24504         if (PyErr_Occurred()) SWIG_fail
; 
24507         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24515 static PyObject 
*_wrap_DataFormat___ne__(PyObject 
*self
, PyObject 
*args
) { 
24520     argc 
= PyObject_Length(args
); 
24521     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
24522         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
24528             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24538                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24546                 return _wrap_DataFormat___ne____SWIG_1(self
,args
); 
24554             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24562             _v 
= SWIG_Check_int(argv
[1]); 
24564                 return _wrap_DataFormat___ne____SWIG_0(self
,args
); 
24569     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'"); 
24574 static PyObject 
*_wrap_DataFormat_SetType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24575     PyObject 
*resultobj
; 
24576     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24578     PyObject 
* obj0 
= 0 ; 
24579     PyObject 
* obj1 
= 0 ; 
24580     char *kwnames
[] = { 
24581         (char *) "self",(char *) "format", NULL 
 
24584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
; 
24585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24587     arg2 
= (int)SWIG_As_int(obj1
);  
24588     if (PyErr_Occurred()) SWIG_fail
; 
24590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24591         (arg1
)->SetType((wxDataFormatId 
)arg2
); 
24593         wxPyEndAllowThreads(__tstate
); 
24594         if (PyErr_Occurred()) SWIG_fail
; 
24596     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24603 static PyObject 
*_wrap_DataFormat_GetType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24604     PyObject 
*resultobj
; 
24605     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24607     PyObject 
* obj0 
= 0 ; 
24608     char *kwnames
[] = { 
24609         (char *) "self", NULL 
 
24612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
; 
24613     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24617         result 
= (int)((wxDataFormat 
const *)arg1
)->GetType(); 
24619         wxPyEndAllowThreads(__tstate
); 
24620         if (PyErr_Occurred()) SWIG_fail
; 
24622     resultobj 
= SWIG_From_int((int)result
); 
24629 static PyObject 
*_wrap_DataFormat_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24630     PyObject 
*resultobj
; 
24631     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24633     PyObject 
* obj0 
= 0 ; 
24634     char *kwnames
[] = { 
24635         (char *) "self", NULL 
 
24638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
; 
24639     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24640     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24643         result 
= ((wxDataFormat 
const *)arg1
)->GetId(); 
24645         wxPyEndAllowThreads(__tstate
); 
24646         if (PyErr_Occurred()) SWIG_fail
; 
24650         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24652         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24661 static PyObject 
*_wrap_DataFormat_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24662     PyObject 
*resultobj
; 
24663     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24664     wxString 
*arg2 
= 0 ; 
24665     bool temp2 
= False 
; 
24666     PyObject 
* obj0 
= 0 ; 
24667     PyObject 
* obj1 
= 0 ; 
24668     char *kwnames
[] = { 
24669         (char *) "self",(char *) "format", NULL 
 
24672     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
24673     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24674     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24676         arg2 
= wxString_in_helper(obj1
); 
24677         if (arg2 
== NULL
) SWIG_fail
; 
24681         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24682         (arg1
)->SetId((wxString 
const &)*arg2
); 
24684         wxPyEndAllowThreads(__tstate
); 
24685         if (PyErr_Occurred()) SWIG_fail
; 
24687     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24702 static PyObject 
* DataFormat_swigregister(PyObject 
*, PyObject 
*args
) { 
24704     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24705     SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
); 
24707     return Py_BuildValue((char *)""); 
24709 static int _wrap_FormatInvalid_set(PyObject 
*) { 
24710     PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only."); 
24715 static PyObject 
*_wrap_FormatInvalid_get() { 
24718     pyobj 
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0); 
24723 static PyObject 
*_wrap_delete_DataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24724     PyObject 
*resultobj
; 
24725     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24726     PyObject 
* obj0 
= 0 ; 
24727     char *kwnames
[] = { 
24728         (char *) "self", NULL 
 
24731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
; 
24732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24738         wxPyEndAllowThreads(__tstate
); 
24739         if (PyErr_Occurred()) SWIG_fail
; 
24741     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24748 static PyObject 
*_wrap_DataObject_GetPreferredFormat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24749     PyObject 
*resultobj
; 
24750     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24751     int arg2 
= (int) wxDataObject::Get 
; 
24752     SwigValueWrapper
< wxDataFormat 
> result
; 
24753     PyObject 
* obj0 
= 0 ; 
24754     PyObject 
* obj1 
= 0 ; 
24755     char *kwnames
[] = { 
24756         (char *) "self",(char *) "dir", NULL 
 
24759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
24760     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24763         arg2 
= (int)SWIG_As_int(obj1
);  
24764         if (PyErr_Occurred()) SWIG_fail
; 
24767         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24768         result 
= ((wxDataObject 
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction 
)arg2
); 
24770         wxPyEndAllowThreads(__tstate
); 
24771         if (PyErr_Occurred()) SWIG_fail
; 
24774         wxDataFormat 
* resultptr
; 
24775         resultptr 
= new wxDataFormat((wxDataFormat 
&) result
); 
24776         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1); 
24784 static PyObject 
*_wrap_DataObject_GetFormatCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24785     PyObject 
*resultobj
; 
24786     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24787     int arg2 
= (int) wxDataObject::Get 
; 
24789     PyObject 
* obj0 
= 0 ; 
24790     PyObject 
* obj1 
= 0 ; 
24791     char *kwnames
[] = { 
24792         (char *) "self",(char *) "dir", NULL 
 
24795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
24796     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24799         arg2 
= (int)SWIG_As_int(obj1
);  
24800         if (PyErr_Occurred()) SWIG_fail
; 
24803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24804         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetFormatCount((wxDataObject::Direction 
)arg2
); 
24806         wxPyEndAllowThreads(__tstate
); 
24807         if (PyErr_Occurred()) SWIG_fail
; 
24809     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
24816 static PyObject 
*_wrap_DataObject_IsSupported(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24817     PyObject 
*resultobj
; 
24818     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24819     wxDataFormat 
*arg2 
= 0 ; 
24820     int arg3 
= (int) wxDataObject::Get 
; 
24822     PyObject 
* obj0 
= 0 ; 
24823     PyObject 
* obj1 
= 0 ; 
24824     PyObject 
* obj2 
= 0 ; 
24825     char *kwnames
[] = { 
24826         (char *) "self",(char *) "format",(char *) "dir", NULL 
 
24829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24830     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24831     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24832     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24835     if (arg2 
== NULL
) { 
24836         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24840         arg3 
= (int)SWIG_As_int(obj2
);  
24841         if (PyErr_Occurred()) SWIG_fail
; 
24844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24845         result 
= (bool)((wxDataObject 
const *)arg1
)->IsSupported((wxDataFormat 
const &)*arg2
,(wxDataObject::Direction 
)arg3
); 
24847         wxPyEndAllowThreads(__tstate
); 
24848         if (PyErr_Occurred()) SWIG_fail
; 
24851         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24859 static PyObject 
*_wrap_DataObject_GetDataSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24860     PyObject 
*resultobj
; 
24861     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24862     wxDataFormat 
*arg2 
= 0 ; 
24864     PyObject 
* obj0 
= 0 ; 
24865     PyObject 
* obj1 
= 0 ; 
24866     char *kwnames
[] = { 
24867         (char *) "self",(char *) "format", NULL 
 
24870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
24871     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24873     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24874     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24876     if (arg2 
== NULL
) { 
24877         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24882         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetDataSize((wxDataFormat 
const &)*arg2
); 
24884         wxPyEndAllowThreads(__tstate
); 
24885         if (PyErr_Occurred()) SWIG_fail
; 
24887     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
24894 static PyObject 
*_wrap_DataObject_GetAllFormats(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24895     PyObject 
*resultobj
; 
24896     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24897     int arg2 
= (int) wxDataObject::Get 
; 
24899     PyObject 
* obj0 
= 0 ; 
24900     PyObject 
* obj1 
= 0 ; 
24901     char *kwnames
[] = { 
24902         (char *) "self",(char *) "dir", NULL 
 
24905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
; 
24906     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24907     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24909         arg2 
= (int)SWIG_As_int(obj1
);  
24910         if (PyErr_Occurred()) SWIG_fail
; 
24913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24914         result 
= (PyObject 
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction 
)arg2
); 
24916         wxPyEndAllowThreads(__tstate
); 
24917         if (PyErr_Occurred()) SWIG_fail
; 
24919     resultobj 
= result
; 
24926 static PyObject 
*_wrap_DataObject_GetDataHere(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24927     PyObject 
*resultobj
; 
24928     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24929     wxDataFormat 
*arg2 
= 0 ; 
24931     PyObject 
* obj0 
= 0 ; 
24932     PyObject 
* obj1 
= 0 ; 
24933     char *kwnames
[] = { 
24934         (char *) "self",(char *) "format", NULL 
 
24937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
; 
24938     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24939     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24940     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24943     if (arg2 
== NULL
) { 
24944         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24949         result 
= (PyObject 
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat 
const &)*arg2
); 
24951         wxPyEndAllowThreads(__tstate
); 
24952         if (PyErr_Occurred()) SWIG_fail
; 
24954     resultobj 
= result
; 
24961 static PyObject 
*_wrap_DataObject_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24962     PyObject 
*resultobj
; 
24963     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24964     wxDataFormat 
*arg2 
= 0 ; 
24965     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24967     PyObject 
* obj0 
= 0 ; 
24968     PyObject 
* obj1 
= 0 ; 
24969     PyObject 
* obj2 
= 0 ; 
24970     char *kwnames
[] = { 
24971         (char *) "self",(char *) "format",(char *) "data", NULL 
 
24974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24977     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24978     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24980     if (arg2 
== NULL
) { 
24981         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24987         result 
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat 
const &)*arg2
,arg3
); 
24989         wxPyEndAllowThreads(__tstate
); 
24990         if (PyErr_Occurred()) SWIG_fail
; 
24993         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25001 static PyObject 
* DataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
25003     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25004     SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
); 
25006     return Py_BuildValue((char *)""); 
25008 static PyObject 
*_wrap_new_DataObjectSimple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25009     PyObject 
*resultobj
; 
25010     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
25011     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
25012     wxDataObjectSimple 
*result
; 
25013     PyObject 
* obj0 
= 0 ; 
25014     char *kwnames
[] = { 
25015         (char *) "format", NULL 
 
25018     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
; 
25020         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
25021         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25023         if (arg1 
== NULL
) { 
25024             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25030         result 
= (wxDataObjectSimple 
*)new wxDataObjectSimple((wxDataFormat 
const &)*arg1
); 
25032         wxPyEndAllowThreads(__tstate
); 
25033         if (PyErr_Occurred()) SWIG_fail
; 
25035     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1); 
25042 static PyObject 
*_wrap_DataObjectSimple_GetFormat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25043     PyObject 
*resultobj
; 
25044     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
25045     wxDataFormat 
*result
; 
25046     PyObject 
* obj0 
= 0 ; 
25047     char *kwnames
[] = { 
25048         (char *) "self", NULL 
 
25051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
; 
25052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
25053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25057             wxDataFormat 
const &_result_ref 
= (arg1
)->GetFormat(); 
25058             result 
= (wxDataFormat 
*) &_result_ref
; 
25061         wxPyEndAllowThreads(__tstate
); 
25062         if (PyErr_Occurred()) SWIG_fail
; 
25064     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0); 
25071 static PyObject 
*_wrap_DataObjectSimple_SetFormat(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25072     PyObject 
*resultobj
; 
25073     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
25074     wxDataFormat 
*arg2 
= 0 ; 
25075     PyObject 
* obj0 
= 0 ; 
25076     PyObject 
* obj1 
= 0 ; 
25077     char *kwnames
[] = { 
25078         (char *) "self",(char *) "format", NULL 
 
25081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
25082     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
25083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25084     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
25085     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25087     if (arg2 
== NULL
) { 
25088         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25092         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25093         (arg1
)->SetFormat((wxDataFormat 
const &)*arg2
); 
25095         wxPyEndAllowThreads(__tstate
); 
25096         if (PyErr_Occurred()) SWIG_fail
; 
25098     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25105 static PyObject 
*_wrap_DataObjectSimple_GetDataSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25106     PyObject 
*resultobj
; 
25107     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
25109     PyObject 
* obj0 
= 0 ; 
25110     char *kwnames
[] = { 
25111         (char *) "self", NULL 
 
25114     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
; 
25115     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
25116     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25119         result 
= (size_t)((wxDataObjectSimple 
const *)arg1
)->GetDataSize(); 
25121         wxPyEndAllowThreads(__tstate
); 
25122         if (PyErr_Occurred()) SWIG_fail
; 
25124     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
25131 static PyObject 
*_wrap_DataObjectSimple_GetDataHere(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25132     PyObject 
*resultobj
; 
25133     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
25135     PyObject 
* obj0 
= 0 ; 
25136     char *kwnames
[] = { 
25137         (char *) "self", NULL 
 
25140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
; 
25141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
25142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25145         result 
= (PyObject 
*)wxDataObjectSimple_GetDataHere(arg1
); 
25147         wxPyEndAllowThreads(__tstate
); 
25148         if (PyErr_Occurred()) SWIG_fail
; 
25150     resultobj 
= result
; 
25157 static PyObject 
*_wrap_DataObjectSimple_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25158     PyObject 
*resultobj
; 
25159     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
25160     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25162     PyObject 
* obj0 
= 0 ; 
25163     PyObject 
* obj1 
= 0 ; 
25164     char *kwnames
[] = { 
25165         (char *) "self",(char *) "data", NULL 
 
25168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25169     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
25170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25174         result 
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
); 
25176         wxPyEndAllowThreads(__tstate
); 
25177         if (PyErr_Occurred()) SWIG_fail
; 
25180         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25188 static PyObject 
* DataObjectSimple_swigregister(PyObject 
*, PyObject 
*args
) { 
25190     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25191     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
); 
25193     return Py_BuildValue((char *)""); 
25195 static PyObject 
*_wrap_new_PyDataObjectSimple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25196     PyObject 
*resultobj
; 
25197     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
25198     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
25199     wxPyDataObjectSimple 
*result
; 
25200     PyObject 
* obj0 
= 0 ; 
25201     char *kwnames
[] = { 
25202         (char *) "format", NULL 
 
25205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
; 
25207         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
25208         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25210         if (arg1 
== NULL
) { 
25211             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25217         result 
= (wxPyDataObjectSimple 
*)new wxPyDataObjectSimple((wxDataFormat 
const &)*arg1
); 
25219         wxPyEndAllowThreads(__tstate
); 
25220         if (PyErr_Occurred()) SWIG_fail
; 
25222     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1); 
25229 static PyObject 
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25230     PyObject 
*resultobj
; 
25231     wxPyDataObjectSimple 
*arg1 
= (wxPyDataObjectSimple 
*) 0 ; 
25232     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25233     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25234     PyObject 
* obj0 
= 0 ; 
25235     PyObject 
* obj1 
= 0 ; 
25236     PyObject 
* obj2 
= 0 ; 
25237     char *kwnames
[] = { 
25238         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
, 
25243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25248         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25250         wxPyEndAllowThreads(__tstate
); 
25251         if (PyErr_Occurred()) SWIG_fail
; 
25253     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25260 static PyObject 
* PyDataObjectSimple_swigregister(PyObject 
*, PyObject 
*args
) { 
25262     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25263     SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
); 
25265     return Py_BuildValue((char *)""); 
25267 static PyObject 
*_wrap_new_DataObjectComposite(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25268     PyObject 
*resultobj
; 
25269     wxDataObjectComposite 
*result
; 
25270     char *kwnames
[] = { 
25274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
; 
25276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25277         result 
= (wxDataObjectComposite 
*)new wxDataObjectComposite(); 
25279         wxPyEndAllowThreads(__tstate
); 
25280         if (PyErr_Occurred()) SWIG_fail
; 
25282     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1); 
25289 static PyObject 
*_wrap_DataObjectComposite_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25290     PyObject 
*resultobj
; 
25291     wxDataObjectComposite 
*arg1 
= (wxDataObjectComposite 
*) 0 ; 
25292     wxDataObjectSimple 
*arg2 
= (wxDataObjectSimple 
*) 0 ; 
25293     bool arg3 
= (bool) False 
; 
25294     PyObject 
* obj0 
= 0 ; 
25295     PyObject 
* obj1 
= 0 ; 
25296     PyObject 
* obj2 
= 0 ; 
25297     char *kwnames
[] = { 
25298         (char *) "self",(char *) "dataObject",(char *) "preferred", NULL 
 
25301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25302     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
, 
25303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25304     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
, 
25305     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
25307         arg3 
= (bool)SWIG_As_bool(obj2
);  
25308         if (PyErr_Occurred()) SWIG_fail
; 
25311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25312         (arg1
)->Add(arg2
,arg3
); 
25314         wxPyEndAllowThreads(__tstate
); 
25315         if (PyErr_Occurred()) SWIG_fail
; 
25317     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25324 static PyObject 
* DataObjectComposite_swigregister(PyObject 
*, PyObject 
*args
) { 
25326     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25327     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
); 
25329     return Py_BuildValue((char *)""); 
25331 static PyObject 
*_wrap_new_TextDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25332     PyObject 
*resultobj
; 
25333     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
25334     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
25335     wxTextDataObject 
*result
; 
25336     bool temp1 
= False 
; 
25337     PyObject 
* obj0 
= 0 ; 
25338     char *kwnames
[] = { 
25339         (char *) "text", NULL 
 
25342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
; 
25345             arg1 
= wxString_in_helper(obj0
); 
25346             if (arg1 
== NULL
) SWIG_fail
; 
25351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25352         result 
= (wxTextDataObject 
*)new wxTextDataObject((wxString 
const &)*arg1
); 
25354         wxPyEndAllowThreads(__tstate
); 
25355         if (PyErr_Occurred()) SWIG_fail
; 
25357     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1); 
25372 static PyObject 
*_wrap_TextDataObject_GetTextLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25373     PyObject 
*resultobj
; 
25374     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
25376     PyObject 
* obj0 
= 0 ; 
25377     char *kwnames
[] = { 
25378         (char *) "self", NULL 
 
25381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
; 
25382     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
25383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25386         result 
= (size_t)(arg1
)->GetTextLength(); 
25388         wxPyEndAllowThreads(__tstate
); 
25389         if (PyErr_Occurred()) SWIG_fail
; 
25391     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
25398 static PyObject 
*_wrap_TextDataObject_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25399     PyObject 
*resultobj
; 
25400     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
25402     PyObject 
* obj0 
= 0 ; 
25403     char *kwnames
[] = { 
25404         (char *) "self", NULL 
 
25407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
; 
25408     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
25409     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25412         result 
= (arg1
)->GetText(); 
25414         wxPyEndAllowThreads(__tstate
); 
25415         if (PyErr_Occurred()) SWIG_fail
; 
25419         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25421         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25430 static PyObject 
*_wrap_TextDataObject_SetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25431     PyObject 
*resultobj
; 
25432     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
25433     wxString 
*arg2 
= 0 ; 
25434     bool temp2 
= False 
; 
25435     PyObject 
* obj0 
= 0 ; 
25436     PyObject 
* obj1 
= 0 ; 
25437     char *kwnames
[] = { 
25438         (char *) "self",(char *) "text", NULL 
 
25441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
25442     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
25443     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25445         arg2 
= wxString_in_helper(obj1
); 
25446         if (arg2 
== NULL
) SWIG_fail
; 
25450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25451         (arg1
)->SetText((wxString 
const &)*arg2
); 
25453         wxPyEndAllowThreads(__tstate
); 
25454         if (PyErr_Occurred()) SWIG_fail
; 
25456     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25471 static PyObject 
* TextDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
25473     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25474     SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
); 
25476     return Py_BuildValue((char *)""); 
25478 static PyObject 
*_wrap_new_PyTextDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25479     PyObject 
*resultobj
; 
25480     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
25481     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
25482     wxPyTextDataObject 
*result
; 
25483     bool temp1 
= False 
; 
25484     PyObject 
* obj0 
= 0 ; 
25485     char *kwnames
[] = { 
25486         (char *) "text", NULL 
 
25489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
; 
25492             arg1 
= wxString_in_helper(obj0
); 
25493             if (arg1 
== NULL
) SWIG_fail
; 
25498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25499         result 
= (wxPyTextDataObject 
*)new wxPyTextDataObject((wxString 
const &)*arg1
); 
25501         wxPyEndAllowThreads(__tstate
); 
25502         if (PyErr_Occurred()) SWIG_fail
; 
25504     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1); 
25519 static PyObject 
*_wrap_PyTextDataObject__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25520     PyObject 
*resultobj
; 
25521     wxPyTextDataObject 
*arg1 
= (wxPyTextDataObject 
*) 0 ; 
25522     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25523     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25524     PyObject 
* obj0 
= 0 ; 
25525     PyObject 
* obj1 
= 0 ; 
25526     PyObject 
* obj2 
= 0 ; 
25527     char *kwnames
[] = { 
25528         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25532     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
, 
25533     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25538         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25540         wxPyEndAllowThreads(__tstate
); 
25541         if (PyErr_Occurred()) SWIG_fail
; 
25543     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25550 static PyObject 
* PyTextDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
25552     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25553     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
); 
25555     return Py_BuildValue((char *)""); 
25557 static PyObject 
*_wrap_new_BitmapDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25558     PyObject 
*resultobj
; 
25559     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25560     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25561     wxBitmapDataObject 
*result
; 
25562     PyObject 
* obj0 
= 0 ; 
25563     char *kwnames
[] = { 
25564         (char *) "bitmap", NULL 
 
25567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25569         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25570         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25572         if (arg1 
== NULL
) { 
25573             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25579         result 
= (wxBitmapDataObject 
*)new wxBitmapDataObject((wxBitmap 
const &)*arg1
); 
25581         wxPyEndAllowThreads(__tstate
); 
25582         if (PyErr_Occurred()) SWIG_fail
; 
25584     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1); 
25591 static PyObject 
*_wrap_BitmapDataObject_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25592     PyObject 
*resultobj
; 
25593     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25595     PyObject 
* obj0 
= 0 ; 
25596     char *kwnames
[] = { 
25597         (char *) "self", NULL 
 
25600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
; 
25601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25605         result 
= ((wxBitmapDataObject 
const *)arg1
)->GetBitmap(); 
25607         wxPyEndAllowThreads(__tstate
); 
25608         if (PyErr_Occurred()) SWIG_fail
; 
25611         wxBitmap 
* resultptr
; 
25612         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
25613         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
25621 static PyObject 
*_wrap_BitmapDataObject_SetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25622     PyObject 
*resultobj
; 
25623     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25624     wxBitmap 
*arg2 
= 0 ; 
25625     PyObject 
* obj0 
= 0 ; 
25626     PyObject 
* obj1 
= 0 ; 
25627     char *kwnames
[] = { 
25628         (char *) "self",(char *) "bitmap", NULL 
 
25631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
25632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25634     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
25635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25637     if (arg2 
== NULL
) { 
25638         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25643         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
25645         wxPyEndAllowThreads(__tstate
); 
25646         if (PyErr_Occurred()) SWIG_fail
; 
25648     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25655 static PyObject 
* BitmapDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
25657     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25658     SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
); 
25660     return Py_BuildValue((char *)""); 
25662 static PyObject 
*_wrap_new_PyBitmapDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25663     PyObject 
*resultobj
; 
25664     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25665     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25666     wxPyBitmapDataObject 
*result
; 
25667     PyObject 
* obj0 
= 0 ; 
25668     char *kwnames
[] = { 
25669         (char *) "bitmap", NULL 
 
25672     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25674         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25675         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25677         if (arg1 
== NULL
) { 
25678             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25684         result 
= (wxPyBitmapDataObject 
*)new wxPyBitmapDataObject((wxBitmap 
const &)*arg1
); 
25686         wxPyEndAllowThreads(__tstate
); 
25687         if (PyErr_Occurred()) SWIG_fail
; 
25689     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1); 
25696 static PyObject 
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25697     PyObject 
*resultobj
; 
25698     wxPyBitmapDataObject 
*arg1 
= (wxPyBitmapDataObject 
*) 0 ; 
25699     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25700     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25701     PyObject 
* obj0 
= 0 ; 
25702     PyObject 
* obj1 
= 0 ; 
25703     PyObject 
* obj2 
= 0 ; 
25704     char *kwnames
[] = { 
25705         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25708     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25709     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
, 
25710     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25715         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25717         wxPyEndAllowThreads(__tstate
); 
25718         if (PyErr_Occurred()) SWIG_fail
; 
25720     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25727 static PyObject 
* PyBitmapDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
25729     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25730     SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
); 
25732     return Py_BuildValue((char *)""); 
25734 static PyObject 
*_wrap_new_FileDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25735     PyObject 
*resultobj
; 
25736     wxFileDataObject 
*result
; 
25737     char *kwnames
[] = { 
25741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
; 
25743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25744         result 
= (wxFileDataObject 
*)new wxFileDataObject(); 
25746         wxPyEndAllowThreads(__tstate
); 
25747         if (PyErr_Occurred()) SWIG_fail
; 
25749     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1); 
25756 static PyObject 
*_wrap_FileDataObject_GetFilenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25757     PyObject 
*resultobj
; 
25758     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25759     wxArrayString 
*result
; 
25760     PyObject 
* obj0 
= 0 ; 
25761     char *kwnames
[] = { 
25762         (char *) "self", NULL 
 
25765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
; 
25766     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25767     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25771             wxArrayString 
const &_result_ref 
= (arg1
)->GetFilenames(); 
25772             result 
= (wxArrayString 
*) &_result_ref
; 
25775         wxPyEndAllowThreads(__tstate
); 
25776         if (PyErr_Occurred()) SWIG_fail
; 
25779         resultobj 
= wxArrayString2PyList_helper(*result
); 
25787 static PyObject 
*_wrap_FileDataObject_AddFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25788     PyObject 
*resultobj
; 
25789     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25790     wxString 
*arg2 
= 0 ; 
25791     bool temp2 
= False 
; 
25792     PyObject 
* obj0 
= 0 ; 
25793     PyObject 
* obj1 
= 0 ; 
25794     char *kwnames
[] = { 
25795         (char *) "self",(char *) "filename", NULL 
 
25798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
25799     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25800     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25802         arg2 
= wxString_in_helper(obj1
); 
25803         if (arg2 
== NULL
) SWIG_fail
; 
25807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25808         (arg1
)->AddFile((wxString 
const &)*arg2
); 
25810         wxPyEndAllowThreads(__tstate
); 
25811         if (PyErr_Occurred()) SWIG_fail
; 
25813     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25828 static PyObject 
* FileDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
25830     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25831     SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
); 
25833     return Py_BuildValue((char *)""); 
25835 static PyObject 
*_wrap_new_CustomDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25836     PyObject 
*resultobj
; 
25837     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
25838     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
25839     wxCustomDataObject 
*result
; 
25840     PyObject 
* obj0 
= 0 ; 
25841     char *kwnames
[] = { 
25842         (char *) "format", NULL 
 
25845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
; 
25847         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
25848         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25850         if (arg1 
== NULL
) { 
25851             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25857         result 
= (wxCustomDataObject 
*)new wxCustomDataObject((wxDataFormat 
const &)*arg1
); 
25859         wxPyEndAllowThreads(__tstate
); 
25860         if (PyErr_Occurred()) SWIG_fail
; 
25862     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1); 
25869 static PyObject 
*_wrap_CustomDataObject_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25870     PyObject 
*resultobj
; 
25871     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25872     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25874     PyObject 
* obj0 
= 0 ; 
25875     PyObject 
* obj1 
= 0 ; 
25876     char *kwnames
[] = { 
25877         (char *) "self",(char *) "data", NULL 
 
25880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25886         result 
= (bool)wxCustomDataObject_SetData(arg1
,arg2
); 
25888         wxPyEndAllowThreads(__tstate
); 
25889         if (PyErr_Occurred()) SWIG_fail
; 
25892         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25900 static PyObject 
*_wrap_CustomDataObject_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25901     PyObject 
*resultobj
; 
25902     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25904     PyObject 
* obj0 
= 0 ; 
25905     char *kwnames
[] = { 
25906         (char *) "self", NULL 
 
25909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
; 
25910     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25914         result 
= (size_t)(arg1
)->GetSize(); 
25916         wxPyEndAllowThreads(__tstate
); 
25917         if (PyErr_Occurred()) SWIG_fail
; 
25919     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
25926 static PyObject 
*_wrap_CustomDataObject_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25927     PyObject 
*resultobj
; 
25928     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25930     PyObject 
* obj0 
= 0 ; 
25931     char *kwnames
[] = { 
25932         (char *) "self", NULL 
 
25935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
; 
25936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25940         result 
= (PyObject 
*)wxCustomDataObject_GetData(arg1
); 
25942         wxPyEndAllowThreads(__tstate
); 
25943         if (PyErr_Occurred()) SWIG_fail
; 
25945     resultobj 
= result
; 
25952 static PyObject 
* CustomDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
25954     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25955     SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
); 
25957     return Py_BuildValue((char *)""); 
25959 static PyObject 
*_wrap_new_URLDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25960     PyObject 
*resultobj
; 
25961     wxURLDataObject 
*result
; 
25962     char *kwnames
[] = { 
25966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
; 
25968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25969         result 
= (wxURLDataObject 
*)new wxURLDataObject(); 
25971         wxPyEndAllowThreads(__tstate
); 
25972         if (PyErr_Occurred()) SWIG_fail
; 
25974     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1); 
25981 static PyObject 
*_wrap_URLDataObject_GetURL(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25982     PyObject 
*resultobj
; 
25983     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
25985     PyObject 
* obj0 
= 0 ; 
25986     char *kwnames
[] = { 
25987         (char *) "self", NULL 
 
25990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
; 
25991     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
25992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25995         result 
= (arg1
)->GetURL(); 
25997         wxPyEndAllowThreads(__tstate
); 
25998         if (PyErr_Occurred()) SWIG_fail
; 
26002         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
26004         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
26013 static PyObject 
*_wrap_URLDataObject_SetURL(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26014     PyObject 
*resultobj
; 
26015     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
26016     wxString 
*arg2 
= 0 ; 
26017     bool temp2 
= False 
; 
26018     PyObject 
* obj0 
= 0 ; 
26019     PyObject 
* obj1 
= 0 ; 
26020     char *kwnames
[] = { 
26021         (char *) "self",(char *) "url", NULL 
 
26024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
; 
26025     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
26026     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26028         arg2 
= wxString_in_helper(obj1
); 
26029         if (arg2 
== NULL
) SWIG_fail
; 
26033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26034         (arg1
)->SetURL((wxString 
const &)*arg2
); 
26036         wxPyEndAllowThreads(__tstate
); 
26037         if (PyErr_Occurred()) SWIG_fail
; 
26039     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26054 static PyObject 
* URLDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
26056     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26057     SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
); 
26059     return Py_BuildValue((char *)""); 
26061 static PyObject 
*_wrap_new_MetafileDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26062     PyObject 
*resultobj
; 
26063     wxMetafileDataObject 
*result
; 
26064     char *kwnames
[] = { 
26068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
; 
26070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26071         result 
= (wxMetafileDataObject 
*)new wxMetafileDataObject(); 
26073         wxPyEndAllowThreads(__tstate
); 
26074         if (PyErr_Occurred()) SWIG_fail
; 
26076     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1); 
26083 static PyObject 
*_wrap_MetafileDataObject_SetMetafile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26084     PyObject 
*resultobj
; 
26085     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
26086     wxMetafile 
*arg2 
= 0 ; 
26087     PyObject 
* obj0 
= 0 ; 
26088     PyObject 
* obj1 
= 0 ; 
26089     char *kwnames
[] = { 
26090         (char *) "self",(char *) "metafile", NULL 
 
26093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
; 
26094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
26095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26096     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
, 
26097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26099     if (arg2 
== NULL
) { 
26100         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26105         (arg1
)->SetMetafile((wxMetafile 
const &)*arg2
); 
26107         wxPyEndAllowThreads(__tstate
); 
26108         if (PyErr_Occurred()) SWIG_fail
; 
26110     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26117 static PyObject 
*_wrap_MetafileDataObject_GetMetafile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26118     PyObject 
*resultobj
; 
26119     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
26121     PyObject 
* obj0 
= 0 ; 
26122     char *kwnames
[] = { 
26123         (char *) "self", NULL 
 
26126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
; 
26127     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
26128     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26131         result 
= ((wxMetafileDataObject 
const *)arg1
)->GetMetafile(); 
26133         wxPyEndAllowThreads(__tstate
); 
26134         if (PyErr_Occurred()) SWIG_fail
; 
26137         wxMetafile 
* resultptr
; 
26138         resultptr 
= new wxMetafile((wxMetafile 
&) result
); 
26139         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1); 
26147 static PyObject 
* MetafileDataObject_swigregister(PyObject 
*, PyObject 
*args
) { 
26149     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26150     SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
); 
26152     return Py_BuildValue((char *)""); 
26154 static PyObject 
*_wrap_IsDragResultOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26155     PyObject 
*resultobj
; 
26158     PyObject 
* obj0 
= 0 ; 
26159     char *kwnames
[] = { 
26160         (char *) "res", NULL 
 
26163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
; 
26164     arg1 
= (int)SWIG_As_int(obj0
);  
26165     if (PyErr_Occurred()) SWIG_fail
; 
26167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26168         result 
= (bool)wxIsDragResultOk((wxDragResult 
)arg1
); 
26170         wxPyEndAllowThreads(__tstate
); 
26171         if (PyErr_Occurred()) SWIG_fail
; 
26174         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26182 static PyObject 
*_wrap_new_DropSource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26183     PyObject 
*resultobj
; 
26184     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26185     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
26186     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
26187     wxCursor 
const &arg3_defvalue 
= wxNullCursor 
; 
26188     wxCursor 
*arg3 
= (wxCursor 
*) &arg3_defvalue 
; 
26189     wxCursor 
const &arg4_defvalue 
= wxNullCursor 
; 
26190     wxCursor 
*arg4 
= (wxCursor 
*) &arg4_defvalue 
; 
26191     wxPyDropSource 
*result
; 
26192     PyObject 
* obj0 
= 0 ; 
26193     PyObject 
* obj1 
= 0 ; 
26194     PyObject 
* obj2 
= 0 ; 
26195     PyObject 
* obj3 
= 0 ; 
26196     char *kwnames
[] = { 
26197         (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL 
 
26200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26201     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
26202     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26204         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
26205         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26207         if (arg2 
== NULL
) { 
26208             PyErr_SetString(PyExc_TypeError
,"null reference"); 
26213         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
26214         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26216         if (arg3 
== NULL
) { 
26217             PyErr_SetString(PyExc_TypeError
,"null reference"); 
26222         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
, 
26223         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26225         if (arg4 
== NULL
) { 
26226             PyErr_SetString(PyExc_TypeError
,"null reference"); 
26231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26232         result 
= (wxPyDropSource 
*)new wxPyDropSource(arg1
,(wxCursor 
const &)*arg2
,(wxCursor 
const &)*arg3
,(wxCursor 
const &)*arg4
); 
26234         wxPyEndAllowThreads(__tstate
); 
26235         if (PyErr_Occurred()) SWIG_fail
; 
26237     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1); 
26244 static PyObject 
*_wrap_DropSource__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26245     PyObject 
*resultobj
; 
26246     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26247     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26248     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26250     PyObject 
* obj0 
= 0 ; 
26251     PyObject 
* obj1 
= 0 ; 
26252     PyObject 
* obj2 
= 0 ; 
26253     PyObject 
* obj3 
= 0 ; 
26254     char *kwnames
[] = { 
26255         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
26258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26259     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26260     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26263     arg4 
= (int)SWIG_As_int(obj3
);  
26264     if (PyErr_Occurred()) SWIG_fail
; 
26266         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26267         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
26269         wxPyEndAllowThreads(__tstate
); 
26270         if (PyErr_Occurred()) SWIG_fail
; 
26272     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26279 static PyObject 
*_wrap_delete_DropSource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26280     PyObject 
*resultobj
; 
26281     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26282     PyObject 
* obj0 
= 0 ; 
26283     char *kwnames
[] = { 
26284         (char *) "self", NULL 
 
26287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
; 
26288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26294         wxPyEndAllowThreads(__tstate
); 
26295         if (PyErr_Occurred()) SWIG_fail
; 
26297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26304 static PyObject 
*_wrap_DropSource_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26305     PyObject 
*resultobj
; 
26306     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26307     wxDataObject 
*arg2 
= 0 ; 
26308     PyObject 
* obj0 
= 0 ; 
26309     PyObject 
* obj1 
= 0 ; 
26310     char *kwnames
[] = { 
26311         (char *) "self",(char *) "data", NULL 
 
26314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26317     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26318     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26320     if (arg2 
== NULL
) { 
26321         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26326         (arg1
)->SetData(*arg2
); 
26328         wxPyEndAllowThreads(__tstate
); 
26329         if (PyErr_Occurred()) SWIG_fail
; 
26331     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26338 static PyObject 
*_wrap_DropSource_GetDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26339     PyObject 
*resultobj
; 
26340     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26341     wxDataObject 
*result
; 
26342     PyObject 
* obj0 
= 0 ; 
26343     char *kwnames
[] = { 
26344         (char *) "self", NULL 
 
26347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
; 
26348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26352         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
26354         wxPyEndAllowThreads(__tstate
); 
26355         if (PyErr_Occurred()) SWIG_fail
; 
26357     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
26364 static PyObject 
*_wrap_DropSource_SetCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26365     PyObject 
*resultobj
; 
26366     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26368     wxCursor 
*arg3 
= 0 ; 
26369     PyObject 
* obj0 
= 0 ; 
26370     PyObject 
* obj1 
= 0 ; 
26371     PyObject 
* obj2 
= 0 ; 
26372     char *kwnames
[] = { 
26373         (char *) "self",(char *) "res",(char *) "cursor", NULL 
 
26376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26377     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26378     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26379     arg2 
= (int)SWIG_As_int(obj1
);  
26380     if (PyErr_Occurred()) SWIG_fail
; 
26381     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
26382     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26384     if (arg3 
== NULL
) { 
26385         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26389         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26390         (arg1
)->SetCursor((wxDragResult 
)arg2
,(wxCursor 
const &)*arg3
); 
26392         wxPyEndAllowThreads(__tstate
); 
26393         if (PyErr_Occurred()) SWIG_fail
; 
26395     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26402 static PyObject 
*_wrap_DropSource_DoDragDrop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26403     PyObject 
*resultobj
; 
26404     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26405     int arg2 
= (int) wxDrag_CopyOnly 
; 
26407     PyObject 
* obj0 
= 0 ; 
26408     PyObject 
* obj1 
= 0 ; 
26409     char *kwnames
[] = { 
26410         (char *) "self",(char *) "flags", NULL 
 
26413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
; 
26414     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26415     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26417         arg2 
= (int)SWIG_As_int(obj1
);  
26418         if (PyErr_Occurred()) SWIG_fail
; 
26421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26422         result 
= (int)(arg1
)->DoDragDrop(arg2
); 
26424         wxPyEndAllowThreads(__tstate
); 
26425         if (PyErr_Occurred()) SWIG_fail
; 
26427     resultobj 
= SWIG_From_int((int)result
); 
26434 static PyObject 
*_wrap_DropSource_base_GiveFeedback(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26435     PyObject 
*resultobj
; 
26436     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26439     PyObject 
* obj0 
= 0 ; 
26440     PyObject 
* obj1 
= 0 ; 
26441     char *kwnames
[] = { 
26442         (char *) "self",(char *) "effect", NULL 
 
26445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
; 
26446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26448     arg2 
= (int)SWIG_As_int(obj1
);  
26449     if (PyErr_Occurred()) SWIG_fail
; 
26451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26452         result 
= (bool)(arg1
)->base_GiveFeedback((wxDragResult 
)arg2
); 
26454         wxPyEndAllowThreads(__tstate
); 
26455         if (PyErr_Occurred()) SWIG_fail
; 
26458         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26466 static PyObject 
* DropSource_swigregister(PyObject 
*, PyObject 
*args
) { 
26468     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26469     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
); 
26471     return Py_BuildValue((char *)""); 
26473 static PyObject 
*_wrap_new_DropTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26474     PyObject 
*resultobj
; 
26475     wxDataObject 
*arg1 
= (wxDataObject 
*) NULL 
; 
26476     wxPyDropTarget 
*result
; 
26477     PyObject 
* obj0 
= 0 ; 
26478     char *kwnames
[] = { 
26479         (char *) "dataObject", NULL 
 
26482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
; 
26484         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
26485         SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26488         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26489         result 
= (wxPyDropTarget 
*)new wxPyDropTarget(arg1
); 
26491         wxPyEndAllowThreads(__tstate
); 
26492         if (PyErr_Occurred()) SWIG_fail
; 
26494     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1); 
26501 static PyObject 
*_wrap_DropTarget__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26502     PyObject 
*resultobj
; 
26503     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26504     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26505     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26506     PyObject 
* obj0 
= 0 ; 
26507     PyObject 
* obj1 
= 0 ; 
26508     PyObject 
* obj2 
= 0 ; 
26509     char *kwnames
[] = { 
26510         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26514     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26515     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26520         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26522         wxPyEndAllowThreads(__tstate
); 
26523         if (PyErr_Occurred()) SWIG_fail
; 
26525     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26532 static PyObject 
*_wrap_delete_DropTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26533     PyObject 
*resultobj
; 
26534     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26535     PyObject 
* obj0 
= 0 ; 
26536     char *kwnames
[] = { 
26537         (char *) "self", NULL 
 
26540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
; 
26541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26547         wxPyEndAllowThreads(__tstate
); 
26548         if (PyErr_Occurred()) SWIG_fail
; 
26550     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26557 static PyObject 
*_wrap_DropTarget_GetDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26558     PyObject 
*resultobj
; 
26559     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26560     wxDataObject 
*result
; 
26561     PyObject 
* obj0 
= 0 ; 
26562     char *kwnames
[] = { 
26563         (char *) "self", NULL 
 
26566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
; 
26567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26568     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26571         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
26573         wxPyEndAllowThreads(__tstate
); 
26574         if (PyErr_Occurred()) SWIG_fail
; 
26576     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
26583 static PyObject 
*_wrap_DropTarget_SetDataObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26584     PyObject 
*resultobj
; 
26585     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26586     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26587     PyObject 
* obj0 
= 0 ; 
26588     PyObject 
* obj1 
= 0 ; 
26589     char *kwnames
[] = { 
26590         (char *) "self",(char *) "dataObject", NULL 
 
26593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
26594     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26595     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26596     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26597     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26600         (arg1
)->SetDataObject(arg2
); 
26602         wxPyEndAllowThreads(__tstate
); 
26603         if (PyErr_Occurred()) SWIG_fail
; 
26605     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26612 static PyObject 
*_wrap_DropTarget_base_OnEnter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26613     PyObject 
*resultobj
; 
26614     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26619     PyObject 
* obj0 
= 0 ; 
26620     PyObject 
* obj1 
= 0 ; 
26621     PyObject 
* obj2 
= 0 ; 
26622     PyObject 
* obj3 
= 0 ; 
26623     char *kwnames
[] = { 
26624         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26628     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26630     arg2 
= (int)SWIG_As_int(obj1
);  
26631     if (PyErr_Occurred()) SWIG_fail
; 
26632     arg3 
= (int)SWIG_As_int(obj2
);  
26633     if (PyErr_Occurred()) SWIG_fail
; 
26634     arg4 
= (int)SWIG_As_int(obj3
);  
26635     if (PyErr_Occurred()) SWIG_fail
; 
26637         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26638         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26640         wxPyEndAllowThreads(__tstate
); 
26641         if (PyErr_Occurred()) SWIG_fail
; 
26643     resultobj 
= SWIG_From_int((int)result
); 
26650 static PyObject 
*_wrap_DropTarget_base_OnDragOver(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26651     PyObject 
*resultobj
; 
26652     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26657     PyObject 
* obj0 
= 0 ; 
26658     PyObject 
* obj1 
= 0 ; 
26659     PyObject 
* obj2 
= 0 ; 
26660     PyObject 
* obj3 
= 0 ; 
26661     char *kwnames
[] = { 
26662         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26666     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26667     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26668     arg2 
= (int)SWIG_As_int(obj1
);  
26669     if (PyErr_Occurred()) SWIG_fail
; 
26670     arg3 
= (int)SWIG_As_int(obj2
);  
26671     if (PyErr_Occurred()) SWIG_fail
; 
26672     arg4 
= (int)SWIG_As_int(obj3
);  
26673     if (PyErr_Occurred()) SWIG_fail
; 
26675         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26676         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26678         wxPyEndAllowThreads(__tstate
); 
26679         if (PyErr_Occurred()) SWIG_fail
; 
26681     resultobj 
= SWIG_From_int((int)result
); 
26688 static PyObject 
*_wrap_DropTarget_base_OnLeave(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26689     PyObject 
*resultobj
; 
26690     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26691     PyObject 
* obj0 
= 0 ; 
26692     char *kwnames
[] = { 
26693         (char *) "self", NULL 
 
26696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26701         (arg1
)->base_OnLeave(); 
26703         wxPyEndAllowThreads(__tstate
); 
26704         if (PyErr_Occurred()) SWIG_fail
; 
26706     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26713 static PyObject 
*_wrap_DropTarget_base_OnDrop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26714     PyObject 
*resultobj
; 
26715     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26719     PyObject 
* obj0 
= 0 ; 
26720     PyObject 
* obj1 
= 0 ; 
26721     PyObject 
* obj2 
= 0 ; 
26722     char *kwnames
[] = { 
26723         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26727     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26728     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26729     arg2 
= (int)SWIG_As_int(obj1
);  
26730     if (PyErr_Occurred()) SWIG_fail
; 
26731     arg3 
= (int)SWIG_As_int(obj2
);  
26732     if (PyErr_Occurred()) SWIG_fail
; 
26734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26735         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26737         wxPyEndAllowThreads(__tstate
); 
26738         if (PyErr_Occurred()) SWIG_fail
; 
26741         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26749 static PyObject 
*_wrap_DropTarget_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26750     PyObject 
*resultobj
; 
26751     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26753     PyObject 
* obj0 
= 0 ; 
26754     char *kwnames
[] = { 
26755         (char *) "self", NULL 
 
26758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
; 
26759     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26760     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26763         result 
= (bool)(arg1
)->GetData(); 
26765         wxPyEndAllowThreads(__tstate
); 
26766         if (PyErr_Occurred()) SWIG_fail
; 
26769         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26777 static PyObject 
* DropTarget_swigregister(PyObject 
*, PyObject 
*args
) { 
26779     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26780     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
); 
26782     return Py_BuildValue((char *)""); 
26784 static PyObject 
*_wrap_new_TextDropTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26785     PyObject 
*resultobj
; 
26786     wxPyTextDropTarget 
*result
; 
26787     char *kwnames
[] = { 
26791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
; 
26793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26794         result 
= (wxPyTextDropTarget 
*)new wxPyTextDropTarget(); 
26796         wxPyEndAllowThreads(__tstate
); 
26797         if (PyErr_Occurred()) SWIG_fail
; 
26799     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1); 
26806 static PyObject 
*_wrap_TextDropTarget__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26807     PyObject 
*resultobj
; 
26808     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26809     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26810     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26811     PyObject 
* obj0 
= 0 ; 
26812     PyObject 
* obj1 
= 0 ; 
26813     PyObject 
* obj2 
= 0 ; 
26814     char *kwnames
[] = { 
26815         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26825         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26827         wxPyEndAllowThreads(__tstate
); 
26828         if (PyErr_Occurred()) SWIG_fail
; 
26830     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26837 static PyObject 
*_wrap_TextDropTarget_base_OnEnter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26838     PyObject 
*resultobj
; 
26839     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26844     PyObject 
* obj0 
= 0 ; 
26845     PyObject 
* obj1 
= 0 ; 
26846     PyObject 
* obj2 
= 0 ; 
26847     PyObject 
* obj3 
= 0 ; 
26848     char *kwnames
[] = { 
26849         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26853     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26854     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26855     arg2 
= (int)SWIG_As_int(obj1
);  
26856     if (PyErr_Occurred()) SWIG_fail
; 
26857     arg3 
= (int)SWIG_As_int(obj2
);  
26858     if (PyErr_Occurred()) SWIG_fail
; 
26859     arg4 
= (int)SWIG_As_int(obj3
);  
26860     if (PyErr_Occurred()) SWIG_fail
; 
26862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26863         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26865         wxPyEndAllowThreads(__tstate
); 
26866         if (PyErr_Occurred()) SWIG_fail
; 
26868     resultobj 
= SWIG_From_int((int)result
); 
26875 static PyObject 
*_wrap_TextDropTarget_base_OnDragOver(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26876     PyObject 
*resultobj
; 
26877     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26882     PyObject 
* obj0 
= 0 ; 
26883     PyObject 
* obj1 
= 0 ; 
26884     PyObject 
* obj2 
= 0 ; 
26885     PyObject 
* obj3 
= 0 ; 
26886     char *kwnames
[] = { 
26887         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26893     arg2 
= (int)SWIG_As_int(obj1
);  
26894     if (PyErr_Occurred()) SWIG_fail
; 
26895     arg3 
= (int)SWIG_As_int(obj2
);  
26896     if (PyErr_Occurred()) SWIG_fail
; 
26897     arg4 
= (int)SWIG_As_int(obj3
);  
26898     if (PyErr_Occurred()) SWIG_fail
; 
26900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26901         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26903         wxPyEndAllowThreads(__tstate
); 
26904         if (PyErr_Occurred()) SWIG_fail
; 
26906     resultobj 
= SWIG_From_int((int)result
); 
26913 static PyObject 
*_wrap_TextDropTarget_base_OnLeave(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26914     PyObject 
*resultobj
; 
26915     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26916     PyObject 
* obj0 
= 0 ; 
26917     char *kwnames
[] = { 
26918         (char *) "self", NULL 
 
26921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26922     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26926         (arg1
)->base_OnLeave(); 
26928         wxPyEndAllowThreads(__tstate
); 
26929         if (PyErr_Occurred()) SWIG_fail
; 
26931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26938 static PyObject 
*_wrap_TextDropTarget_base_OnDrop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26939     PyObject 
*resultobj
; 
26940     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26944     PyObject 
* obj0 
= 0 ; 
26945     PyObject 
* obj1 
= 0 ; 
26946     PyObject 
* obj2 
= 0 ; 
26947     char *kwnames
[] = { 
26948         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26952     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26953     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26954     arg2 
= (int)SWIG_As_int(obj1
);  
26955     if (PyErr_Occurred()) SWIG_fail
; 
26956     arg3 
= (int)SWIG_As_int(obj2
);  
26957     if (PyErr_Occurred()) SWIG_fail
; 
26959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26960         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26962         wxPyEndAllowThreads(__tstate
); 
26963         if (PyErr_Occurred()) SWIG_fail
; 
26966         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26974 static PyObject 
*_wrap_TextDropTarget_base_OnData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26975     PyObject 
*resultobj
; 
26976     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26981     PyObject 
* obj0 
= 0 ; 
26982     PyObject 
* obj1 
= 0 ; 
26983     PyObject 
* obj2 
= 0 ; 
26984     PyObject 
* obj3 
= 0 ; 
26985     char *kwnames
[] = { 
26986         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26992     arg2 
= (int)SWIG_As_int(obj1
);  
26993     if (PyErr_Occurred()) SWIG_fail
; 
26994     arg3 
= (int)SWIG_As_int(obj2
);  
26995     if (PyErr_Occurred()) SWIG_fail
; 
26996     arg4 
= (int)SWIG_As_int(obj3
);  
26997     if (PyErr_Occurred()) SWIG_fail
; 
26999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27000         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
27002         wxPyEndAllowThreads(__tstate
); 
27003         if (PyErr_Occurred()) SWIG_fail
; 
27005     resultobj 
= SWIG_From_int((int)result
); 
27012 static PyObject 
* TextDropTarget_swigregister(PyObject 
*, PyObject 
*args
) { 
27014     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27015     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
); 
27017     return Py_BuildValue((char *)""); 
27019 static PyObject 
*_wrap_new_FileDropTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27020     PyObject 
*resultobj
; 
27021     wxPyFileDropTarget 
*result
; 
27022     char *kwnames
[] = { 
27026     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
; 
27028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27029         result 
= (wxPyFileDropTarget 
*)new wxPyFileDropTarget(); 
27031         wxPyEndAllowThreads(__tstate
); 
27032         if (PyErr_Occurred()) SWIG_fail
; 
27034     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1); 
27041 static PyObject 
*_wrap_FileDropTarget__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27042     PyObject 
*resultobj
; 
27043     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
27044     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
27045     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
27046     PyObject 
* obj0 
= 0 ; 
27047     PyObject 
* obj1 
= 0 ; 
27048     PyObject 
* obj2 
= 0 ; 
27049     char *kwnames
[] = { 
27050         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
27053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
27054     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
27055     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27060         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
27062         wxPyEndAllowThreads(__tstate
); 
27063         if (PyErr_Occurred()) SWIG_fail
; 
27065     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27072 static PyObject 
*_wrap_FileDropTarget_base_OnEnter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27073     PyObject 
*resultobj
; 
27074     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
27079     PyObject 
* obj0 
= 0 ; 
27080     PyObject 
* obj1 
= 0 ; 
27081     PyObject 
* obj2 
= 0 ; 
27082     PyObject 
* obj3 
= 0 ; 
27083     char *kwnames
[] = { 
27084         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
27087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
27088     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
27089     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27090     arg2 
= (int)SWIG_As_int(obj1
);  
27091     if (PyErr_Occurred()) SWIG_fail
; 
27092     arg3 
= (int)SWIG_As_int(obj2
);  
27093     if (PyErr_Occurred()) SWIG_fail
; 
27094     arg4 
= (int)SWIG_As_int(obj3
);  
27095     if (PyErr_Occurred()) SWIG_fail
; 
27097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27098         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
27100         wxPyEndAllowThreads(__tstate
); 
27101         if (PyErr_Occurred()) SWIG_fail
; 
27103     resultobj 
= SWIG_From_int((int)result
); 
27110 static PyObject 
*_wrap_FileDropTarget_base_OnDragOver(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27111     PyObject 
*resultobj
; 
27112     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
27117     PyObject 
* obj0 
= 0 ; 
27118     PyObject 
* obj1 
= 0 ; 
27119     PyObject 
* obj2 
= 0 ; 
27120     PyObject 
* obj3 
= 0 ; 
27121     char *kwnames
[] = { 
27122         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
27125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
27126     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
27127     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27128     arg2 
= (int)SWIG_As_int(obj1
);  
27129     if (PyErr_Occurred()) SWIG_fail
; 
27130     arg3 
= (int)SWIG_As_int(obj2
);  
27131     if (PyErr_Occurred()) SWIG_fail
; 
27132     arg4 
= (int)SWIG_As_int(obj3
);  
27133     if (PyErr_Occurred()) SWIG_fail
; 
27135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27136         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
27138         wxPyEndAllowThreads(__tstate
); 
27139         if (PyErr_Occurred()) SWIG_fail
; 
27141     resultobj 
= SWIG_From_int((int)result
); 
27148 static PyObject 
*_wrap_FileDropTarget_base_OnLeave(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27149     PyObject 
*resultobj
; 
27150     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
27151     PyObject 
* obj0 
= 0 ; 
27152     char *kwnames
[] = { 
27153         (char *) "self", NULL 
 
27156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
27157     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
27158     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27161         (arg1
)->base_OnLeave(); 
27163         wxPyEndAllowThreads(__tstate
); 
27164         if (PyErr_Occurred()) SWIG_fail
; 
27166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27173 static PyObject 
*_wrap_FileDropTarget_base_OnDrop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27174     PyObject 
*resultobj
; 
27175     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
27179     PyObject 
* obj0 
= 0 ; 
27180     PyObject 
* obj1 
= 0 ; 
27181     PyObject 
* obj2 
= 0 ; 
27182     char *kwnames
[] = { 
27183         (char *) "self",(char *) "x",(char *) "y", NULL 
 
27186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
27187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
27188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27189     arg2 
= (int)SWIG_As_int(obj1
);  
27190     if (PyErr_Occurred()) SWIG_fail
; 
27191     arg3 
= (int)SWIG_As_int(obj2
);  
27192     if (PyErr_Occurred()) SWIG_fail
; 
27194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27195         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
27197         wxPyEndAllowThreads(__tstate
); 
27198         if (PyErr_Occurred()) SWIG_fail
; 
27201         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27209 static PyObject 
*_wrap_FileDropTarget_base_OnData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27210     PyObject 
*resultobj
; 
27211     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
27216     PyObject 
* obj0 
= 0 ; 
27217     PyObject 
* obj1 
= 0 ; 
27218     PyObject 
* obj2 
= 0 ; 
27219     PyObject 
* obj3 
= 0 ; 
27220     char *kwnames
[] = { 
27221         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
27224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
27225     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
27226     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27227     arg2 
= (int)SWIG_As_int(obj1
);  
27228     if (PyErr_Occurred()) SWIG_fail
; 
27229     arg3 
= (int)SWIG_As_int(obj2
);  
27230     if (PyErr_Occurred()) SWIG_fail
; 
27231     arg4 
= (int)SWIG_As_int(obj3
);  
27232     if (PyErr_Occurred()) SWIG_fail
; 
27234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27235         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
27237         wxPyEndAllowThreads(__tstate
); 
27238         if (PyErr_Occurred()) SWIG_fail
; 
27240     resultobj 
= SWIG_From_int((int)result
); 
27247 static PyObject 
* FileDropTarget_swigregister(PyObject 
*, PyObject 
*args
) { 
27249     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27250     SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
); 
27252     return Py_BuildValue((char *)""); 
27254 static PyObject 
*_wrap_new_Clipboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27255     PyObject 
*resultobj
; 
27256     wxClipboard 
*result
; 
27257     char *kwnames
[] = { 
27261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
; 
27263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27264         result 
= (wxClipboard 
*)new wxClipboard(); 
27266         wxPyEndAllowThreads(__tstate
); 
27267         if (PyErr_Occurred()) SWIG_fail
; 
27269     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1); 
27276 static PyObject 
*_wrap_delete_Clipboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27277     PyObject 
*resultobj
; 
27278     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27279     PyObject 
* obj0 
= 0 ; 
27280     char *kwnames
[] = { 
27281         (char *) "self", NULL 
 
27284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
; 
27285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27291         wxPyEndAllowThreads(__tstate
); 
27292         if (PyErr_Occurred()) SWIG_fail
; 
27294     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27301 static PyObject 
*_wrap_Clipboard_Open(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27302     PyObject 
*resultobj
; 
27303     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27305     PyObject 
* obj0 
= 0 ; 
27306     char *kwnames
[] = { 
27307         (char *) "self", NULL 
 
27310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
; 
27311     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27312     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27315         result 
= (bool)(arg1
)->Open(); 
27317         wxPyEndAllowThreads(__tstate
); 
27318         if (PyErr_Occurred()) SWIG_fail
; 
27321         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27329 static PyObject 
*_wrap_Clipboard_Close(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27330     PyObject 
*resultobj
; 
27331     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27332     PyObject 
* obj0 
= 0 ; 
27333     char *kwnames
[] = { 
27334         (char *) "self", NULL 
 
27337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
; 
27338     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27344         wxPyEndAllowThreads(__tstate
); 
27345         if (PyErr_Occurred()) SWIG_fail
; 
27347     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27354 static PyObject 
*_wrap_Clipboard_IsOpened(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27355     PyObject 
*resultobj
; 
27356     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27358     PyObject 
* obj0 
= 0 ; 
27359     char *kwnames
[] = { 
27360         (char *) "self", NULL 
 
27363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
; 
27364     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27365     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27367         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27368         result 
= (bool)((wxClipboard 
const *)arg1
)->IsOpened(); 
27370         wxPyEndAllowThreads(__tstate
); 
27371         if (PyErr_Occurred()) SWIG_fail
; 
27374         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27382 static PyObject 
*_wrap_Clipboard_AddData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27383     PyObject 
*resultobj
; 
27384     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27385     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
27387     PyObject 
* obj0 
= 0 ; 
27388     PyObject 
* obj1 
= 0 ; 
27389     char *kwnames
[] = { 
27390         (char *) "self",(char *) "data", NULL 
 
27393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27396     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27397     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
27399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27400         result 
= (bool)(arg1
)->AddData(arg2
); 
27402         wxPyEndAllowThreads(__tstate
); 
27403         if (PyErr_Occurred()) SWIG_fail
; 
27406         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27414 static PyObject 
*_wrap_Clipboard_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27415     PyObject 
*resultobj
; 
27416     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27417     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
27419     PyObject 
* obj0 
= 0 ; 
27420     PyObject 
* obj1 
= 0 ; 
27421     char *kwnames
[] = { 
27422         (char *) "self",(char *) "data", NULL 
 
27425     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27426     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27427     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27428     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27429     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
27431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27432         result 
= (bool)(arg1
)->SetData(arg2
); 
27434         wxPyEndAllowThreads(__tstate
); 
27435         if (PyErr_Occurred()) SWIG_fail
; 
27438         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27446 static PyObject 
*_wrap_Clipboard_IsSupported(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27447     PyObject 
*resultobj
; 
27448     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27449     wxDataFormat 
*arg2 
= 0 ; 
27451     PyObject 
* obj0 
= 0 ; 
27452     PyObject 
* obj1 
= 0 ; 
27453     char *kwnames
[] = { 
27454         (char *) "self",(char *) "format", NULL 
 
27457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
; 
27458     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27459     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27460     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
27461     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27463     if (arg2 
== NULL
) { 
27464         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27469         result 
= (bool)(arg1
)->IsSupported((wxDataFormat 
const &)*arg2
); 
27471         wxPyEndAllowThreads(__tstate
); 
27472         if (PyErr_Occurred()) SWIG_fail
; 
27475         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27483 static PyObject 
*_wrap_Clipboard_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27484     PyObject 
*resultobj
; 
27485     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27486     wxDataObject 
*arg2 
= 0 ; 
27488     PyObject 
* obj0 
= 0 ; 
27489     PyObject 
* obj1 
= 0 ; 
27490     char *kwnames
[] = { 
27491         (char *) "self",(char *) "data", NULL 
 
27494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27495     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27496     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27497     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27500     if (arg2 
== NULL
) { 
27501         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27506         result 
= (bool)(arg1
)->GetData(*arg2
); 
27508         wxPyEndAllowThreads(__tstate
); 
27509         if (PyErr_Occurred()) SWIG_fail
; 
27512         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27520 static PyObject 
*_wrap_Clipboard_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27521     PyObject 
*resultobj
; 
27522     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27523     PyObject 
* obj0 
= 0 ; 
27524     char *kwnames
[] = { 
27525         (char *) "self", NULL 
 
27528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
; 
27529     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27530     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27535         wxPyEndAllowThreads(__tstate
); 
27536         if (PyErr_Occurred()) SWIG_fail
; 
27538     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27545 static PyObject 
*_wrap_Clipboard_Flush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27546     PyObject 
*resultobj
; 
27547     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27549     PyObject 
* obj0 
= 0 ; 
27550     char *kwnames
[] = { 
27551         (char *) "self", NULL 
 
27554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
; 
27555     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27556     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27559         result 
= (bool)(arg1
)->Flush(); 
27561         wxPyEndAllowThreads(__tstate
); 
27562         if (PyErr_Occurred()) SWIG_fail
; 
27565         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27573 static PyObject 
*_wrap_Clipboard_UsePrimarySelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27574     PyObject 
*resultobj
; 
27575     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27576     bool arg2 
= (bool) True 
; 
27577     PyObject 
* obj0 
= 0 ; 
27578     PyObject 
* obj1 
= 0 ; 
27579     char *kwnames
[] = { 
27580         (char *) "self",(char *) "primary", NULL 
 
27583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
27584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27587         arg2 
= (bool)SWIG_As_bool(obj1
);  
27588         if (PyErr_Occurred()) SWIG_fail
; 
27591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27592         (arg1
)->UsePrimarySelection(arg2
); 
27594         wxPyEndAllowThreads(__tstate
); 
27595         if (PyErr_Occurred()) SWIG_fail
; 
27597     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27604 static PyObject 
*_wrap_Clipboard_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27605     PyObject 
*resultobj
; 
27606     wxClipboard 
*result
; 
27607     char *kwnames
[] = { 
27611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
; 
27613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27614         result 
= (wxClipboard 
*)wxClipboard::Get(); 
27616         wxPyEndAllowThreads(__tstate
); 
27617         if (PyErr_Occurred()) SWIG_fail
; 
27619     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0); 
27626 static PyObject 
* Clipboard_swigregister(PyObject 
*, PyObject 
*args
) { 
27628     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27629     SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
); 
27631     return Py_BuildValue((char *)""); 
27633 static PyObject 
*_wrap_new_ClipboardLocker(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27634     PyObject 
*resultobj
; 
27635     wxClipboard 
*arg1 
= (wxClipboard 
*) NULL 
; 
27636     wxClipboardLocker 
*result
; 
27637     PyObject 
* obj0 
= 0 ; 
27638     char *kwnames
[] = { 
27639         (char *) "clipboard", NULL 
 
27642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27644         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27645         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27649         result 
= (wxClipboardLocker 
*)new wxClipboardLocker(arg1
); 
27651         wxPyEndAllowThreads(__tstate
); 
27652         if (PyErr_Occurred()) SWIG_fail
; 
27654     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1); 
27661 static PyObject 
*_wrap_delete_ClipboardLocker(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27662     PyObject 
*resultobj
; 
27663     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27664     PyObject 
* obj0 
= 0 ; 
27665     char *kwnames
[] = { 
27666         (char *) "self", NULL 
 
27669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27676         wxPyEndAllowThreads(__tstate
); 
27677         if (PyErr_Occurred()) SWIG_fail
; 
27679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27686 static PyObject 
*_wrap_ClipboardLocker___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27687     PyObject 
*resultobj
; 
27688     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27690     PyObject 
* obj0 
= 0 ; 
27691     char *kwnames
[] = { 
27692         (char *) "self", NULL 
 
27695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
; 
27696     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27697     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27700         result 
= (bool)wxClipboardLocker___nonzero__(arg1
); 
27702         wxPyEndAllowThreads(__tstate
); 
27703         if (PyErr_Occurred()) SWIG_fail
; 
27706         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27714 static PyObject 
* ClipboardLocker_swigregister(PyObject 
*, PyObject 
*args
) { 
27716     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27717     SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
); 
27719     return Py_BuildValue((char *)""); 
27721 static PyObject 
*_wrap_new_VideoMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27722     PyObject 
*resultobj
; 
27723     int arg1 
= (int) 0 ; 
27724     int arg2 
= (int) 0 ; 
27725     int arg3 
= (int) 0 ; 
27726     int arg4 
= (int) 0 ; 
27727     wxVideoMode 
*result
; 
27728     PyObject 
* obj0 
= 0 ; 
27729     PyObject 
* obj1 
= 0 ; 
27730     PyObject 
* obj2 
= 0 ; 
27731     PyObject 
* obj3 
= 0 ; 
27732     char *kwnames
[] = { 
27733         (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL 
 
27736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
27738         arg1 
= (int)SWIG_As_int(obj0
);  
27739         if (PyErr_Occurred()) SWIG_fail
; 
27742         arg2 
= (int)SWIG_As_int(obj1
);  
27743         if (PyErr_Occurred()) SWIG_fail
; 
27746         arg3 
= (int)SWIG_As_int(obj2
);  
27747         if (PyErr_Occurred()) SWIG_fail
; 
27750         arg4 
= (int)SWIG_As_int(obj3
);  
27751         if (PyErr_Occurred()) SWIG_fail
; 
27754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27755         result 
= (wxVideoMode 
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
); 
27757         wxPyEndAllowThreads(__tstate
); 
27758         if (PyErr_Occurred()) SWIG_fail
; 
27760     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1); 
27767 static PyObject 
*_wrap_delete_VideoMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27768     PyObject 
*resultobj
; 
27769     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27770     PyObject 
* obj0 
= 0 ; 
27771     char *kwnames
[] = { 
27772         (char *) "self", NULL 
 
27775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
; 
27776     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27782         wxPyEndAllowThreads(__tstate
); 
27783         if (PyErr_Occurred()) SWIG_fail
; 
27785     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27792 static PyObject 
*_wrap_VideoMode_Matches(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27793     PyObject 
*resultobj
; 
27794     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27795     wxVideoMode 
*arg2 
= 0 ; 
27797     PyObject 
* obj0 
= 0 ; 
27798     PyObject 
* obj1 
= 0 ; 
27799     char *kwnames
[] = { 
27800         (char *) "self",(char *) "other", NULL 
 
27803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
; 
27804     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27805     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27806     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27807     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27809     if (arg2 
== NULL
) { 
27810         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27815         result 
= (bool)((wxVideoMode 
const *)arg1
)->Matches((wxVideoMode 
const &)*arg2
); 
27817         wxPyEndAllowThreads(__tstate
); 
27818         if (PyErr_Occurred()) SWIG_fail
; 
27821         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27829 static PyObject 
*_wrap_VideoMode_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27830     PyObject 
*resultobj
; 
27831     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27833     PyObject 
* obj0 
= 0 ; 
27834     char *kwnames
[] = { 
27835         (char *) "self", NULL 
 
27838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
; 
27839     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27842         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27843         result 
= (int)((wxVideoMode 
const *)arg1
)->GetWidth(); 
27845         wxPyEndAllowThreads(__tstate
); 
27846         if (PyErr_Occurred()) SWIG_fail
; 
27848     resultobj 
= SWIG_From_int((int)result
); 
27855 static PyObject 
*_wrap_VideoMode_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27856     PyObject 
*resultobj
; 
27857     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27859     PyObject 
* obj0 
= 0 ; 
27860     char *kwnames
[] = { 
27861         (char *) "self", NULL 
 
27864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
; 
27865     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27866     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27869         result 
= (int)((wxVideoMode 
const *)arg1
)->GetHeight(); 
27871         wxPyEndAllowThreads(__tstate
); 
27872         if (PyErr_Occurred()) SWIG_fail
; 
27874     resultobj 
= SWIG_From_int((int)result
); 
27881 static PyObject 
*_wrap_VideoMode_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27882     PyObject 
*resultobj
; 
27883     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27885     PyObject 
* obj0 
= 0 ; 
27886     char *kwnames
[] = { 
27887         (char *) "self", NULL 
 
27890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
; 
27891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27895         result 
= (int)((wxVideoMode 
const *)arg1
)->GetDepth(); 
27897         wxPyEndAllowThreads(__tstate
); 
27898         if (PyErr_Occurred()) SWIG_fail
; 
27900     resultobj 
= SWIG_From_int((int)result
); 
27907 static PyObject 
*_wrap_VideoMode_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27908     PyObject 
*resultobj
; 
27909     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27911     PyObject 
* obj0 
= 0 ; 
27912     char *kwnames
[] = { 
27913         (char *) "self", NULL 
 
27916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
; 
27917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27921         result 
= (bool)((wxVideoMode 
const *)arg1
)->IsOk(); 
27923         wxPyEndAllowThreads(__tstate
); 
27924         if (PyErr_Occurred()) SWIG_fail
; 
27927         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27935 static PyObject 
*_wrap_VideoMode___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27936     PyObject 
*resultobj
; 
27937     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27938     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27940     PyObject 
* obj0 
= 0 ; 
27941     PyObject 
* obj1 
= 0 ; 
27942     char *kwnames
[] = { 
27943         (char *) "self",(char *) "other", NULL 
 
27946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27949     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27953         result 
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode 
const *)arg2
); 
27955         wxPyEndAllowThreads(__tstate
); 
27956         if (PyErr_Occurred()) SWIG_fail
; 
27959         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27967 static PyObject 
*_wrap_VideoMode___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27968     PyObject 
*resultobj
; 
27969     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27970     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27972     PyObject 
* obj0 
= 0 ; 
27973     PyObject 
* obj1 
= 0 ; 
27974     char *kwnames
[] = { 
27975         (char *) "self",(char *) "other", NULL 
 
27978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27979     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27980     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27981     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27982     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27985         result 
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode 
const *)arg2
); 
27987         wxPyEndAllowThreads(__tstate
); 
27988         if (PyErr_Occurred()) SWIG_fail
; 
27991         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27999 static PyObject 
*_wrap_VideoMode_w_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28000     PyObject 
*resultobj
; 
28001     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28003     PyObject 
* obj0 
= 0 ; 
28004     PyObject 
* obj1 
= 0 ; 
28005     char *kwnames
[] = { 
28006         (char *) "self",(char *) "w", NULL 
 
28009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
28010     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28011     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28012     arg2 
= (int)SWIG_As_int(obj1
);  
28013     if (PyErr_Occurred()) SWIG_fail
; 
28014     if (arg1
) (arg1
)->w 
= arg2
; 
28016     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28023 static PyObject 
*_wrap_VideoMode_w_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28024     PyObject 
*resultobj
; 
28025     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28027     PyObject 
* obj0 
= 0 ; 
28028     char *kwnames
[] = { 
28029         (char *) "self", NULL 
 
28032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
; 
28033     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28034     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28035     result 
= (int) ((arg1
)->w
); 
28037     resultobj 
= SWIG_From_int((int)result
); 
28044 static PyObject 
*_wrap_VideoMode_h_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28045     PyObject 
*resultobj
; 
28046     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28048     PyObject 
* obj0 
= 0 ; 
28049     PyObject 
* obj1 
= 0 ; 
28050     char *kwnames
[] = { 
28051         (char *) "self",(char *) "h", NULL 
 
28054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
28055     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28056     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28057     arg2 
= (int)SWIG_As_int(obj1
);  
28058     if (PyErr_Occurred()) SWIG_fail
; 
28059     if (arg1
) (arg1
)->h 
= arg2
; 
28061     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28068 static PyObject 
*_wrap_VideoMode_h_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28069     PyObject 
*resultobj
; 
28070     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28072     PyObject 
* obj0 
= 0 ; 
28073     char *kwnames
[] = { 
28074         (char *) "self", NULL 
 
28077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
; 
28078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28080     result 
= (int) ((arg1
)->h
); 
28082     resultobj 
= SWIG_From_int((int)result
); 
28089 static PyObject 
*_wrap_VideoMode_bpp_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28090     PyObject 
*resultobj
; 
28091     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28093     PyObject 
* obj0 
= 0 ; 
28094     PyObject 
* obj1 
= 0 ; 
28095     char *kwnames
[] = { 
28096         (char *) "self",(char *) "bpp", NULL 
 
28099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
28100     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28102     arg2 
= (int)SWIG_As_int(obj1
);  
28103     if (PyErr_Occurred()) SWIG_fail
; 
28104     if (arg1
) (arg1
)->bpp 
= arg2
; 
28106     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28113 static PyObject 
*_wrap_VideoMode_bpp_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28114     PyObject 
*resultobj
; 
28115     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28117     PyObject 
* obj0 
= 0 ; 
28118     char *kwnames
[] = { 
28119         (char *) "self", NULL 
 
28122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
; 
28123     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28125     result 
= (int) ((arg1
)->bpp
); 
28127     resultobj 
= SWIG_From_int((int)result
); 
28134 static PyObject 
*_wrap_VideoMode_refresh_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28135     PyObject 
*resultobj
; 
28136     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28138     PyObject 
* obj0 
= 0 ; 
28139     PyObject 
* obj1 
= 0 ; 
28140     char *kwnames
[] = { 
28141         (char *) "self",(char *) "refresh", NULL 
 
28144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
28145     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28147     arg2 
= (int)SWIG_As_int(obj1
);  
28148     if (PyErr_Occurred()) SWIG_fail
; 
28149     if (arg1
) (arg1
)->refresh 
= arg2
; 
28151     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28158 static PyObject 
*_wrap_VideoMode_refresh_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28159     PyObject 
*resultobj
; 
28160     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
28162     PyObject 
* obj0 
= 0 ; 
28163     char *kwnames
[] = { 
28164         (char *) "self", NULL 
 
28167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
; 
28168     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
28169     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28170     result 
= (int) ((arg1
)->refresh
); 
28172     resultobj 
= SWIG_From_int((int)result
); 
28179 static PyObject 
* VideoMode_swigregister(PyObject 
*, PyObject 
*args
) { 
28181     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28182     SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
); 
28184     return Py_BuildValue((char *)""); 
28186 static int _wrap_DefaultVideoMode_set(PyObject 
*) { 
28187     PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only."); 
28192 static PyObject 
*_wrap_DefaultVideoMode_get() { 
28195     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0); 
28200 static PyObject 
*_wrap_new_Display(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28201     PyObject 
*resultobj
; 
28202     size_t arg1 
= (size_t) 0 ; 
28204     PyObject 
* obj0 
= 0 ; 
28205     char *kwnames
[] = { 
28206         (char *) "index", NULL 
 
28209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
; 
28211         arg1 
= (size_t)SWIG_As_unsigned_SS_long(obj0
);  
28212         if (PyErr_Occurred()) SWIG_fail
; 
28215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28216         result 
= (wxDisplay 
*)new wxDisplay(arg1
); 
28218         wxPyEndAllowThreads(__tstate
); 
28219         if (PyErr_Occurred()) SWIG_fail
; 
28221     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1); 
28228 static PyObject 
*_wrap_delete_Display(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28229     PyObject 
*resultobj
; 
28230     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28231     PyObject 
* obj0 
= 0 ; 
28232     char *kwnames
[] = { 
28233         (char *) "self", NULL 
 
28236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
; 
28237     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28243         wxPyEndAllowThreads(__tstate
); 
28244         if (PyErr_Occurred()) SWIG_fail
; 
28246     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28253 static PyObject 
*_wrap_Display_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28254     PyObject 
*resultobj
; 
28256     char *kwnames
[] = { 
28260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
; 
28262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28263         result 
= (size_t)wxDisplay::GetCount(); 
28265         wxPyEndAllowThreads(__tstate
); 
28266         if (PyErr_Occurred()) SWIG_fail
; 
28268     resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)result
); 
28275 static PyObject 
*_wrap_Display_GetFromPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28276     PyObject 
*resultobj
; 
28277     wxPoint 
*arg1 
= 0 ; 
28280     PyObject 
* obj0 
= 0 ; 
28281     char *kwnames
[] = { 
28282         (char *) "pt", NULL 
 
28285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
; 
28288         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
28291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28292         result 
= (int)wxDisplay::GetFromPoint((wxPoint 
const &)*arg1
); 
28294         wxPyEndAllowThreads(__tstate
); 
28295         if (PyErr_Occurred()) SWIG_fail
; 
28297     resultobj 
= SWIG_From_int((int)result
); 
28304 static PyObject 
*_wrap_Display_GetFromWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28305     PyObject 
*resultobj
; 
28306     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28308     PyObject 
* obj0 
= 0 ; 
28309     char *kwnames
[] = { 
28310         (char *) "window", NULL 
 
28313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
; 
28314     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
28315     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28318         result 
= (int)wxDisplay::GetFromWindow(arg1
); 
28320         wxPyEndAllowThreads(__tstate
); 
28321         if (PyErr_Occurred()) SWIG_fail
; 
28323     resultobj 
= SWIG_From_int((int)result
); 
28330 static PyObject 
*_wrap_Display_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28331     PyObject 
*resultobj
; 
28332     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28334     PyObject 
* obj0 
= 0 ; 
28335     char *kwnames
[] = { 
28336         (char *) "self", NULL 
 
28339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
; 
28340     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28341     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28344         result 
= (bool)((wxDisplay 
const *)arg1
)->IsOk(); 
28346         wxPyEndAllowThreads(__tstate
); 
28347         if (PyErr_Occurred()) SWIG_fail
; 
28350         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28358 static PyObject 
*_wrap_Display_GetGeometry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28359     PyObject 
*resultobj
; 
28360     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28362     PyObject 
* obj0 
= 0 ; 
28363     char *kwnames
[] = { 
28364         (char *) "self", NULL 
 
28367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
; 
28368     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28372         result 
= ((wxDisplay 
const *)arg1
)->GetGeometry(); 
28374         wxPyEndAllowThreads(__tstate
); 
28375         if (PyErr_Occurred()) SWIG_fail
; 
28378         wxRect 
* resultptr
; 
28379         resultptr 
= new wxRect((wxRect 
&) result
); 
28380         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
28388 static PyObject 
*_wrap_Display_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28389     PyObject 
*resultobj
; 
28390     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28392     PyObject 
* obj0 
= 0 ; 
28393     char *kwnames
[] = { 
28394         (char *) "self", NULL 
 
28397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
; 
28398     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28399     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28402         result 
= ((wxDisplay 
const *)arg1
)->GetName(); 
28404         wxPyEndAllowThreads(__tstate
); 
28405         if (PyErr_Occurred()) SWIG_fail
; 
28409         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28411         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28420 static PyObject 
*_wrap_Display_IsPrimary(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28421     PyObject 
*resultobj
; 
28422     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28424     PyObject 
* obj0 
= 0 ; 
28425     char *kwnames
[] = { 
28426         (char *) "self", NULL 
 
28429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
; 
28430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28434         result 
= (bool)((wxDisplay 
const *)arg1
)->IsPrimary(); 
28436         wxPyEndAllowThreads(__tstate
); 
28437         if (PyErr_Occurred()) SWIG_fail
; 
28440         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28448 static PyObject 
*_wrap_Display_GetModes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28449     PyObject 
*resultobj
; 
28450     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28451     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
28452     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
28454     PyObject 
* obj0 
= 0 ; 
28455     PyObject 
* obj1 
= 0 ; 
28456     char *kwnames
[] = { 
28457         (char *) "self",(char *) "mode", NULL 
 
28460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
; 
28461     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28464         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
28465         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28467         if (arg2 
== NULL
) { 
28468             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28474         result 
= (PyObject 
*)wxDisplay_GetModes(arg1
,(wxVideoMode 
const &)*arg2
); 
28476         wxPyEndAllowThreads(__tstate
); 
28477         if (PyErr_Occurred()) SWIG_fail
; 
28479     resultobj 
= result
; 
28486 static PyObject 
*_wrap_Display_GetCurrentMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28487     PyObject 
*resultobj
; 
28488     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28489     wxVideoMode result
; 
28490     PyObject 
* obj0 
= 0 ; 
28491     char *kwnames
[] = { 
28492         (char *) "self", NULL 
 
28495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
; 
28496     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28497     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28500         result 
= ((wxDisplay 
const *)arg1
)->GetCurrentMode(); 
28502         wxPyEndAllowThreads(__tstate
); 
28503         if (PyErr_Occurred()) SWIG_fail
; 
28506         wxVideoMode 
* resultptr
; 
28507         resultptr 
= new wxVideoMode((wxVideoMode 
&) result
); 
28508         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1); 
28516 static PyObject 
*_wrap_Display_ChangeMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28517     PyObject 
*resultobj
; 
28518     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28519     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
28520     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
28522     PyObject 
* obj0 
= 0 ; 
28523     PyObject 
* obj1 
= 0 ; 
28524     char *kwnames
[] = { 
28525         (char *) "self",(char *) "mode", NULL 
 
28528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
28529     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28530     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28532         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
28533         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28535         if (arg2 
== NULL
) { 
28536             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28542         result 
= (bool)(arg1
)->ChangeMode((wxVideoMode 
const &)*arg2
); 
28544         wxPyEndAllowThreads(__tstate
); 
28545         if (PyErr_Occurred()) SWIG_fail
; 
28548         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28556 static PyObject 
*_wrap_Display_ResetMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28557     PyObject 
*resultobj
; 
28558     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28559     PyObject 
* obj0 
= 0 ; 
28560     char *kwnames
[] = { 
28561         (char *) "self", NULL 
 
28564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
; 
28565     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28566     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28569         (arg1
)->ResetMode(); 
28571         wxPyEndAllowThreads(__tstate
); 
28572         if (PyErr_Occurred()) SWIG_fail
; 
28574     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28581 static PyObject 
* Display_swigregister(PyObject 
*, PyObject 
*args
) { 
28583     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28584     SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
); 
28586     return Py_BuildValue((char *)""); 
28588 static PyMethodDef SwigMethods
[] = { 
28589          { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28590          { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28591          { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28592          { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28593          { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28594          { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28595          { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL 
}, 
28596          { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28597          { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28598          { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28599          { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28600          { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28601          { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28602          { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL 
}, 
28603          { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28604          { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28605          { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28606          { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28607          { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28608          { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28609          { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28610          { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28611          { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28612          { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28613          { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28614          { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28615          { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28616          { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28617          { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28618          { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28619          { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28620          { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28621          { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28622          { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28623          { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28624          { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28625          { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28626          { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28627          { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28628          { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28629          { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28630          { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28631          { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28632          { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28633          { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28634          { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28635          { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28636          { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28637          { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28638          { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28639          { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28640          { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28641          { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28642          { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28643          { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28644          { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28645          { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28646          { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28647          { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28648          { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28649          { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28650          { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28651          { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28652          { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28653          { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28654          { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28655          { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28656          { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28657          { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28658          { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28659          { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28660          { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28661          { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28662          { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28663          { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28664          { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28665          { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28666          { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL 
}, 
28667          { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28668          { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28669          { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28670          { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28671          { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28672          { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28673          { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28674          { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL 
}, 
28675          { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28676          { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28677          { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28678          { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28679          { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28680          { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28681          { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28682          { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28683          { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28684          { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28685          { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28686          { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28687          { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28688          { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28689          { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28690          { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL 
}, 
28691          { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28692          { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28693          { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28694          { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28695          { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL 
}, 
28696          { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28697          { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28698          { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL 
}, 
28699          { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28700          { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28701          { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL 
}, 
28702          { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28703          { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28704          { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28705          { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28706          { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28707          { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL 
}, 
28708          { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28709          { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28710          { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28711          { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28712          { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28713          { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28714          { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28715          { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28716          { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28717          { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28718          { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28719          { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28720          { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28721          { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL 
}, 
28722          { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28723          { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28724          { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28725          { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28726          { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28727          { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL 
}, 
28728          { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28729          { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28730          { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28731          { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28732          { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28733          { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL 
}, 
28734          { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28735          { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28736          { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL 
}, 
28737          { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28738          { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28739          { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28740          { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28741          { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28742          { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28743          { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28744          { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28745          { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28746          { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28747          { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28748          { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28749          { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28750          { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL 
}, 
28751          { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28752          { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28753          { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL 
}, 
28754          { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL 
}, 
28755          { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28756          { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28757          { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL 
}, 
28758          { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28759          { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28760          { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28761          { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28762          { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28763          { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28764          { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28765          { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28766          { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28767          { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28768          { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28769          { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28770          { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28771          { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28772          { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28773          { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28774          { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28775          { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28776          { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28777          { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28778          { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28779          { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28780          { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28781          { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28782          { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28783          { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28784          { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL 
}, 
28785          { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28786          { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL 
}, 
28787          { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28788          { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL 
}, 
28789          { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28790          { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL 
}, 
28791          { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28792          { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28793          { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28794          { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28795          { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28796          { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28797          { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL 
}, 
28798          { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28799          { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28800          { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28801          { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28802          { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28803          { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL 
}, 
28804          { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28805          { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28806          { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28807          { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28808          { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28809          { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28810          { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28811          { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28812          { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28813          { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28814          { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28815          { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28816          { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL 
}, 
28817          { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28818          { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28819          { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28820          { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28821          { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL 
}, 
28822          { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28823          { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28824          { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL 
}, 
28825          { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28826          { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28827          { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28828          { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28829          { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28830          { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28831          { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28832          { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28833          { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28834          { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28835          { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28836          { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28837          { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28838          { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28839          { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28840          { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28841          { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL 
}, 
28842          { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28843          { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28844          { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28845          { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28846          { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28847          { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28848          { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28849          { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL 
}, 
28850          { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28851          { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28852          { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28853          { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28854          { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28855          { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28856          { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28857          { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28858          { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28859          { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28860          { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28861          { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28862          { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28863          { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28864          { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28865          { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28866          { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28867          { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28868          { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28869          { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28870          { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28871          { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28872          { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28873          { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28874          { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28875          { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28876          { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28877          { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28878          { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28879          { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28880          { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28881          { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28882          { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28883          { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28884          { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28885          { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28886          { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28887          { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28888          { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28889          { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28890          { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28891          { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28892          { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28893          { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28894          { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28895          { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL 
}, 
28896          { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28897          { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28898          { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28899          { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28900          { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28901          { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28902          { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28903          { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28904          { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28905          { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28906          { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28907          { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28908          { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28909          { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28910          { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28911          { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28912          { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28913          { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28914          { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28915          { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28916          { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28917          { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28918          { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28919          { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28920          { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28921          { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28922          { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28923          { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL 
}, 
28924          { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28925          { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28926          { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28927          { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28928          { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28929          { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28930          { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28931          { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28932          { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28933          { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL 
}, 
28934          { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28935          { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28936          { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28937          { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28938          { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28939          { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28940          { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28941          { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28942          { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28943          { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28944          { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28945          { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28946          { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28947          { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28948          { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28949          { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL 
}, 
28950          { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28951          { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28952          { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28953          { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28954          { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28955          { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28956          { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28957          { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28958          { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28959          { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28960          { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28961          { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28962          { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28963          { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28964          { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28965          { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL 
}, 
28966          { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28967          { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28968          { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28969          { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28970          { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28971          { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28972          { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28973          { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28974          { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28975          { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28976          { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28977          { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28978          { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28979          { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL 
}, 
28980          { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28981          { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28982          { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28983          { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28984          { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28985          { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28986          { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28987          { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28988          { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL 
}, 
28989          { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28990          { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28991          { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28992          { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28993          { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28994          { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28995          { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28996          { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28997          { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28998          { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
28999          { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29000          { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29001          { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29002          { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29003          { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29004          { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29005          { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29006          { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29007          { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29008          { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29009          { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29010          { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29011          { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29012          { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29013          { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29014          { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29015          { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29016          { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29017          { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29018          { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29019          { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29020          { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29021          { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29022          { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29023          { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29024          { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29025          { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29026          { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29027          { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29028          { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29029          { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29030          { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29031          { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL 
}, 
29032          { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29033          { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29034          { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL 
}, 
29035          { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29036          { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29037          { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL 
}, 
29038          { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29039          { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29040          { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29041          { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL 
}, 
29042          { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29043          { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29044          { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29045          { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29046          { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29047          { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29048          { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29049          { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29050          { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29051          { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29052          { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29053          { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29054          { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29055          { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29056          { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29057          { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29058          { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29059          { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29060          { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29061          { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29062          { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29063          { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29064          { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29065          { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29066          { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29067          { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29068          { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29069          { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29070          { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29071          { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29072          { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29073          { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29074          { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29075          { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29076          { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29077          { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29078          { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29079          { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29080          { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29081          { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29082          { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29083          { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29084          { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29085          { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29086          { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29087          { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29088          { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29089          { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29090          { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29091          { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29092          { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29093          { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29094          { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29095          { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29096          { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29097          { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29098          { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29099          { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29100          { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29101          { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29102          { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29103          { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29104          { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29105          { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29106          { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29107          { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29108          { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29109          { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29110          { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29111          { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29112          { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29113          { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29114          { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29115          { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29116          { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29117          { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29118          { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29119          { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29120          { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29121          { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29122          { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29123          { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29124          { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29125          { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29126          { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29127          { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29128          { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29129          { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29130          { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29131          { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29132          { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29133          { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29134          { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL 
}, 
29135          { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL 
}, 
29136          { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL 
}, 
29137          { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL 
}, 
29138          { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL 
}, 
29139          { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL 
}, 
29140          { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL 
}, 
29141          { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL 
}, 
29142          { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL 
}, 
29143          { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL 
}, 
29144          { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29145          { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29146          { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29147          { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29148          { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29149          { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29150          { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29151          { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29152          { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29153          { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29154          { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL 
}, 
29155          { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29156          { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29157          { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29158          { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29159          { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29160          { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29161          { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29162          { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29163          { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29164          { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29165          { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29166          { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29167          { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29168          { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29169          { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29170          { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29171          { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29172          { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29173          { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29174          { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29175          { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29176          { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29177          { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29178          { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29179          { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29180          { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29181          { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29182          { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29183          { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29184          { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29185          { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29186          { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29187          { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29188          { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29189          { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29190          { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29191          { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29192          { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29193          { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29194          { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29195          { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29196          { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29197          { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29198          { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29199          { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL 
}, 
29200          { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29201          { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29202          { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29203          { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29204          { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29205          { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29206          { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29207          { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29208          { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29209          { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29210          { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29211          { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29212          { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29213          { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29214          { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29215          { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29216          { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29217          { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29218          { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29219          { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29220          { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29221          { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29222          { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29223          { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29224          { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29225          { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29226          { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29227          { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29228          { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29229          { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29230          { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29231          { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29232          { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29233          { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL 
}, 
29234          { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29235          { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29236          { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29237          { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29238          { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29239          { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29240          { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29241          { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL 
}, 
29242          { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL 
}, 
29243          { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29244          { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29245          { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29246          { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29247          { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL 
}, 
29248          { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29249          { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29250          { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29251          { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29252          { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29253          { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29254          { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29255          { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29256          { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29257          { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29258          { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29259          { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29260          { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29261          { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29262          { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29263          { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL 
}, 
29264          { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29265          { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29266          { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL 
}, 
29267          { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29268          { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29269          { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL 
}, 
29270          { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29271          { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29272          { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29273          { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29274          { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29275          { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29276          { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29277          { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29278          { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29279          { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29280          { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29281          { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29282          { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29283          { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29284          { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29285          { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29286          { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29287          { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29288          { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29289          { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29290          { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29291          { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29292          { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29293          { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29294          { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29295          { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29296          { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29297          { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29298          { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29299          { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29300          { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29301          { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL 
}, 
29302          { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29303          { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29304          { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29305          { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29306          { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29307          { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29308          { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29309          { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29310          { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29311          { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL 
}, 
29312          { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29313          { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29314          { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29315          { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29316          { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29317          { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29318          { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29319          { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29320          { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29321          { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29322          { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL 
}, 
29323          { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29324          { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29325          { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29326          { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29327          { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29328          { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29329          { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29330          { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL 
}, 
29331          { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29332          { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29333          { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29334          { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29335          { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29336          { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29337          { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29338          { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL 
}, 
29339          { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29340          { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29341          { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29342          { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29343          { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29344          { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29345          { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29346          { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29347          { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29348          { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29349          { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29350          { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29351          { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29352          { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL 
}, 
29353          { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29354          { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29355          { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29356          { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL 
}, 
29357          { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29358          { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29359          { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29360          { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29361          { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29362          { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29363          { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29364          { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29365          { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29366          { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29367          { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29368          { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29369          { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29370          { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29371          { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29372          { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29373          { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29374          { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL 
}, 
29375          { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29376          { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29377          { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29378          { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29379          { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29380          { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29381          { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29382          { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29383          { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29384          { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29385          { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29386          { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29387          { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
29388          { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL 
}, 
29389          { NULL
, NULL
, 0, NULL 
} 
29393 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
29395 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
29396     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
29398 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
29399     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
29401 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
29402     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
29404 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
29405     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
29407 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
29408     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
29410 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
29411     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
29413 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) { 
29414     return (void *)((wxEvent 
*)  ((wxTimerEvent 
*) x
)); 
29416 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
29417     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
29419 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
29420     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
29422 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
29423     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
29425 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
29426     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
29428 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) { 
29429     return (void *)((wxEvent 
*)  ((wxJoystickEvent 
*) x
)); 
29431 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
29432     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
29434 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
29435     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
29437 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
29438     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
29440 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
29441     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
29443 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
29444     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
29446 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
29447     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
29449 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
29450     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
29452 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
29453     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
29455 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
29456     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
29458 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
29459     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
29461 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
29462     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29464 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
29465     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
29467 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
29468     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
29470 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
29471     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
29473 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
29474     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
29476 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
29477     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
29479 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
29480     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
29482 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
29483     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29485 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) { 
29486     return (void *)((wxEvent 
*)  ((wxProcessEvent 
*) x
)); 
29488 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
29489     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
29491 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
29492     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
29494 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
29495     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29497 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
29498     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29500 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
29501     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
29503 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
29504     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
29506 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
29507     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
29509 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) { 
29510     return (void *)((wxConfigBase 
*)  ((wxFileConfig 
*) x
)); 
29512 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) { 
29513     return (void *)((wxConfigBase 
*)  ((wxConfig 
*) x
)); 
29515 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) { 
29516     return (void *)((wxBitmapDataObject 
*)  ((wxPyBitmapDataObject 
*) x
)); 
29518 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) { 
29519     return (void *)((wxTextDataObject 
*)  ((wxPyTextDataObject 
*) x
)); 
29521 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29522     return (void *)((wxDataObject 
*)  ((wxDataObjectSimple 
*) x
)); 
29524 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29525     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxPyDataObjectSimple 
*) x
)); 
29527 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) { 
29528     return (void *)((wxDataObject 
*)  ((wxDataObjectComposite 
*) x
)); 
29530 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) { 
29531     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxTextDataObject 
*) x
)); 
29533 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) { 
29534     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29536 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29537     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxBitmapDataObject 
*) x
)); 
29539 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29540     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29542 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) { 
29543     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxFileDataObject 
*) x
)); 
29545 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) { 
29546     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxCustomDataObject 
*) x
)); 
29548 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) { 
29549     return (void *)((wxDataObject 
*) (wxDataObjectComposite 
*) ((wxURLDataObject 
*) x
)); 
29551 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) { 
29552     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxMetafileDataObject 
*) x
)); 
29554 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) { 
29555     return (void *)((wxDataObjectComposite 
*)  ((wxURLDataObject 
*) x
)); 
29557 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) { 
29558     return (void *)((wxDataObjectSimple 
*)  ((wxPyDataObjectSimple 
*) x
)); 
29560 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29561     return (void *)((wxDataObjectSimple 
*)  ((wxTextDataObject 
*) x
)); 
29563 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29564     return (void *)((wxDataObjectSimple 
*) (wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29566 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29567     return (void *)((wxDataObjectSimple 
*)  ((wxBitmapDataObject 
*) x
)); 
29569 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29570     return (void *)((wxDataObjectSimple 
*) (wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29572 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29573     return (void *)((wxDataObjectSimple 
*)  ((wxFileDataObject 
*) x
)); 
29575 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29576     return (void *)((wxDataObjectSimple 
*)  ((wxCustomDataObject 
*) x
)); 
29578 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29579     return (void *)((wxDataObjectSimple 
*)  ((wxMetafileDataObject 
*) x
)); 
29581 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
29582     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
29584 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
29585     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
29587 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
29588     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29590 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
29591     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
29593 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) { 
29594     return (void *)((wxEvtHandler 
*)  ((wxPyTimer 
*) x
)); 
29596 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
29597     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
29599 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
29600     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
29602 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
29603     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
29605 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
29606     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
29608 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) { 
29609     return (void *)((wxEvtHandler 
*)  ((wxPyProcess 
*) x
)); 
29611 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) { 
29612     return (void *)((wxTipProvider 
*)  ((wxPyTipProvider 
*) x
)); 
29614 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
29615     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
29617 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
29618     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
29620 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
29621     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
29623 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
29624     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
29626 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
29627     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
29629 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
29630     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
29632 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
29633     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
29635 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
29636     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
29638 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
29639     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
29641 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) { 
29642     return (void *)((wxObject 
*)  ((wxFileHistory 
*) x
)); 
29644 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
29645     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29647 static void *_p_wxEventTo_p_wxObject(void *x
) { 
29648     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
29650 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
29651     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
29653 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
29654     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
29656 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
29657     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
29659 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
29660     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
29662 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
29663     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
29665 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
29666     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
29668 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
29669     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
29671 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
29672     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
29674 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
29675     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
29677 static void *_p_wxControlTo_p_wxObject(void *x
) { 
29678     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
29680 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
29681     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
29683 static void *_p_wxTimerEventTo_p_wxObject(void *x
) { 
29684     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTimerEvent 
*) x
)); 
29686 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
29687     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
29689 static void *_p_wxClipboardTo_p_wxObject(void *x
) { 
29690     return (void *)((wxObject 
*)  ((wxClipboard 
*) x
)); 
29692 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
29693     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
29695 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
29696     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
29698 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
29699     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
29701 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
29702     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
29704 static void *_p_wxToolTipTo_p_wxObject(void *x
) { 
29705     return (void *)((wxObject 
*)  ((wxToolTip 
*) x
)); 
29707 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
29708     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
29710 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
29711     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
29713 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
29714     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
29716 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
29717     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
29719 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
29720     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
29722 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
29723     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
29725 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
29726     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
29728 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
29729     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
29731 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
29732     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
29734 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
29735     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
29737 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
29738     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
29740 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
29741     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
29743 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
29744     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
29746 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
29747     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
29749 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
29750     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
29752 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
29753     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
29755 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
29756     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
29758 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
29759     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
29761 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
29762     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
29764 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
29765     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
29767 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
29768     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
29770 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
29771     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
29773 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
29774     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
29776 static void *_p_wxImageTo_p_wxObject(void *x
) { 
29777     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
29779 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
29780     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
29782 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) { 
29783     return (void *)((wxObject 
*)  ((wxSystemOptions 
*) x
)); 
29785 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) { 
29786     return (void *)((wxObject 
*) (wxEvent 
*) ((wxJoystickEvent 
*) x
)); 
29788 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
29789     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29791 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
29792     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
29794 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
29795     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
29797 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
29798     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
29800 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
29801     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
29803 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
29804     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
29806 static void *_p_wxPyProcessTo_p_wxObject(void *x
) { 
29807     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyProcess 
*) x
)); 
29809 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
29810     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
29812 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
29813     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
29815 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
29816     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
29818 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
29819     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
29821 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
29822     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
29824 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
29825     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
29827 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
29828     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
29830 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) { 
29831     return (void *)((wxObject 
*)  ((wxBusyInfo 
*) x
)); 
29833 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
29834     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29836 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
29837     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
29839 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
29840     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
29842 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
29843     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
29845 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
29846     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29848 static void *_p_wxProcessEventTo_p_wxObject(void *x
) { 
29849     return (void *)((wxObject 
*) (wxEvent 
*) ((wxProcessEvent 
*) x
)); 
29851 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
29852     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29854 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
29855     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
29857 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
29858     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
29860 static void *_p_wxPyTimerTo_p_wxObject(void *x
) { 
29861     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTimer 
*) x
)); 
29863 static void *_p_wxLogStderrTo_p_wxLog(void *x
) { 
29864     return (void *)((wxLog 
*)  ((wxLogStderr 
*) x
)); 
29866 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) { 
29867     return (void *)((wxLog 
*)  ((wxLogTextCtrl 
*) x
)); 
29869 static void *_p_wxLogWindowTo_p_wxLog(void *x
) { 
29870     return (void *)((wxLog 
*)  ((wxLogWindow 
*) x
)); 
29872 static void *_p_wxLogChainTo_p_wxLog(void *x
) { 
29873     return (void *)((wxLog 
*)  ((wxLogChain 
*) x
)); 
29875 static void *_p_wxLogGuiTo_p_wxLog(void *x
) { 
29876     return (void *)((wxLog 
*)  ((wxLogGui 
*) x
)); 
29878 static void *_p_wxPyLogTo_p_wxLog(void *x
) { 
29879     return (void *)((wxLog 
*)  ((wxPyLog 
*) x
)); 
29881 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
29882     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
29884 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
29885     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
29887 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
29888     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
29890 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) { 
29891     return (void *)((wxPyDropTarget 
*)  ((wxPyTextDropTarget 
*) x
)); 
29893 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) { 
29894     return (void *)((wxPyDropTarget 
*)  ((wxPyFileDropTarget 
*) x
)); 
29896 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29897 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29898 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29899 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29900 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29901 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29902 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29903 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29904 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase
, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29905 static swig_type_info _swigt__p_wxDisplay
[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29906 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29907 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29908 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29909 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29910 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29911 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29912 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29913 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29914 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29915 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29916 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29917 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29918 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29919 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29920 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29921 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29922 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29923 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29924 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29925 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29926 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29927 static swig_type_info _swigt__p_wxDataObject
[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29928 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29929 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29930 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29931 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29932 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29933 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29934 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29935 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29936 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29937 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29938 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29939 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29940 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29941 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29942 static swig_type_info _swigt__p_wxVideoMode
[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29943 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29944 static swig_type_info _swigt__p_wxDataObjectSimple
[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29945 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29946 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29947 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29948 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29949 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29950 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29951 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29952 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29953 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29954 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29955 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29956 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29957 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29958 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29959 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29960 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29961 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29962 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29963 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29964 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29965 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29966 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29967 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29968 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29969 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29970 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29971 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29972 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget
, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29973 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29974 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29975 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29976 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29977 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29978 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29979 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29980 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29981 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29983 static swig_type_info 
*swig_types_initial
[] = { 
29984 _swigt__p_wxLogChain
,  
29985 _swigt__p_wxMutexGuiLocker
,  
29986 _swigt__p_wxMetafile
,  
29987 _swigt__p_wxFileHistory
,  
29989 _swigt__p_wxDateTime__TimeZone
,  
29992 _swigt__p_wxConfigBase
,  
29993 _swigt__p_wxDisplay
,  
29994 _swigt__p_wxFileType
,  
29995 _swigt__p_wxLogGui
,  
29997 _swigt__p_wxDataFormat
,  
29998 _swigt__p_wxTimerEvent
,  
30002 _swigt__p_wxClipboard
,  
30003 _swigt__p_wxStopWatch
,  
30005 _swigt__p_wxClipboardLocker
,  
30007 _swigt__p_wxLogStderr
,  
30008 _swigt__p_wxLogTextCtrl
,  
30009 _swigt__p_wxTextCtrl
,  
30010 _swigt__p_wxBusyCursor
,  
30011 _swigt__p_wxPyBitmapDataObject
,  
30012 _swigt__p_wxPyTextDataObject
,  
30013 _swigt__p_wxBitmapDataObject
,  
30014 _swigt__p_wxTextDataObject
,  
30015 _swigt__p_wxDataObject
,  
30016 _swigt__p_wxFileDataObject
,  
30017 _swigt__p_wxCustomDataObject
,  
30018 _swigt__p_wxURLDataObject
,  
30019 _swigt__p_wxMetafileDataObject
,  
30021 _swigt__p_wxTimerRunner
,  
30022 _swigt__p_wxLogWindow
,  
30023 _swigt__p_wxTimeSpan
,  
30024 _swigt__p_wxArrayString
,  
30025 _swigt__p_wxWindowDisabler
,  
30026 _swigt__p_wxToolTip
,  
30027 _swigt__p_wxDataObjectComposite
,  
30028 _swigt__p_wxFileConfig
,  
30029 _swigt__p_wxSystemSettings
,  
30030 _swigt__p_wxVideoMode
,  
30031 _swigt__p_wxPyDataObjectSimple
,  
30032 _swigt__p_wxDataObjectSimple
,  
30033 _swigt__p_wxEvtHandler
,  
30036 _swigt__p_wxSingleInstanceChecker
,  
30037 _swigt__p_wxFileTypeInfo
,  
30040 _swigt__p_wxMimeTypesManager
,  
30041 _swigt__p_wxPyArtProvider
,  
30042 _swigt__p_wxPyTipProvider
,  
30043 _swigt__p_wxTipProvider
,  
30044 _swigt__p_wxJoystick
,  
30045 _swigt__p_wxSystemOptions
,  
30047 _swigt__p_wxJoystickEvent
,  
30048 _swigt__p_wxCursor
,  
30049 _swigt__p_wxObject
,  
30050 _swigt__p_wxOutputStream
,  
30051 _swigt__p_wxDateTime
,  
30052 _swigt__p_wxPyDropSource
,  
30053 _swigt__p_wxWindow
,  
30054 _swigt__p_wxString
,  
30055 _swigt__p_wxPyProcess
,  
30056 _swigt__p_wxBitmap
,  
30057 _swigt__p_wxConfig
,  
30059 _swigt__p_wxBusyInfo
,  
30060 _swigt__p_wxPyDropTarget
,  
30061 _swigt__p_wxPyTextDropTarget
,  
30062 _swigt__p_wxPyFileDropTarget
,  
30063 _swigt__p_wxProcessEvent
,  
30065 _swigt__p_wxLogNull
,  
30066 _swigt__p_wxColour
,  
30067 _swigt__p_wxConfigPathChanger
,  
30068 _swigt__p_wxPyTimer
,  
30069 _swigt__p_wxDateSpan
,  
30074 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
30076 static swig_const_info swig_const_table
[] = { 
30077 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
}, 
30078 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
}, 
30079 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
}, 
30080 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
}, 
30081 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
}, 
30082 {0, 0, 0, 0.0, 0, 0}}; 
30091 SWIGEXPORT(void) SWIG_init(void) { 
30092     static PyObject 
*SWIG_globals 
= 0;  
30093     static int       typeinit 
= 0; 
30096     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
30097     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
30098     d 
= PyModule_GetDict(m
); 
30101         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
30102             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
30106     SWIG_InstallConstants(d
,swig_const_table
); 
30108     PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
)); 
30109     PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
)); 
30110     PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
)); 
30111     PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
)); 
30112     PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
)); 
30113     PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
)); 
30114     PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
)); 
30115     PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
)); 
30116     PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
)); 
30117     PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
)); 
30118     PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
)); 
30119     PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
)); 
30120     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
)); 
30121     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
)); 
30122     PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
)); 
30123     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
)); 
30124     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
)); 
30125     PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
)); 
30126     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
)); 
30127     PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
)); 
30128     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
)); 
30129     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
)); 
30130     PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
)); 
30131     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
)); 
30132     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
)); 
30133     PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
)); 
30134     PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
)); 
30135     PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
)); 
30136     PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
)); 
30137     PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
)); 
30138     PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
)); 
30139     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
)); 
30140     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
)); 
30141     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
)); 
30142     PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
)); 
30143     PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
)); 
30144     PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
)); 
30145     PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
)); 
30146     PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
)); 
30147     PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
)); 
30148     PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
)); 
30149     PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
)); 
30150     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
)); 
30151     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)); 
30152     PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
)); 
30153     PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
)); 
30154     PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
)); 
30155     PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
)); 
30156     PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
)); 
30157     PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
)); 
30158     PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
)); 
30159     PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
)); 
30160     PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
)); 
30161     PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
)); 
30162     PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
)); 
30163     PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
)); 
30164     PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
)); 
30165     PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
)); 
30166     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
)); 
30167     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
)); 
30168     PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
)); 
30169     PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
)); 
30170     PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
)); 
30171     PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
)); 
30172     PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
)); 
30173     PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
)); 
30174     PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
)); 
30175     PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
)); 
30176     PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
)); 
30177     PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
)); 
30178     PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
)); 
30179     PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
)); 
30180     PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
)); 
30181     PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
)); 
30182     PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
)); 
30183     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
)); 
30184     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
)); 
30185     PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
)); 
30186     PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
)); 
30187     PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
)); 
30188     PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
)); 
30189     PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
)); 
30190     PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
)); 
30191     PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
)); 
30192     PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
)); 
30193     PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
)); 
30194     PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
)); 
30195     PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
)); 
30196     PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
)); 
30197     PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
)); 
30198     PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
)); 
30199     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
30200     SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
); 
30201     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
); 
30202     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
); 
30203     SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
); 
30204     PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
)); 
30205     PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
)); 
30206     PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
)); 
30207     PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
)); 
30208     PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
)); 
30210     wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer"); 
30212     PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
)); 
30213     PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
)); 
30214     PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
)); 
30215     PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
)); 
30216     PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
)); 
30217     PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
)); 
30218     PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
)); 
30219     PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
)); 
30220     PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
)); 
30221     PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
)); 
30222     PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
)); 
30223     PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc")); 
30224     PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages")); 
30225     PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc")); 
30226     PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount")); 
30227     PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole")); 
30228     PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001)); 
30229     PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002)); 
30230     PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004)); 
30231     PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008)); 
30232     PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100)); 
30233     PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
)); 
30234     PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
)); 
30235     PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
)); 
30236     PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
)); 
30237     PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
)); 
30238     PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
)); 
30239     PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
)); 
30240     PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
)); 
30241     PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
)); 
30242     PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
)); 
30243     PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
)); 
30244     PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
)); 
30245     PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
)); 
30246     PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
)); 
30247     PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
)); 
30248     PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
)); 
30249     PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
)); 
30250     PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
)); 
30251     PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
)); 
30252     PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
)); 
30253     PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
)); 
30254     PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
)); 
30255     PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
)); 
30256     PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
)); 
30257     PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
)); 
30258     PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
)); 
30259     PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
)); 
30260     PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
)); 
30261     PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
)); 
30263     wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); 
30265     PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
)); 
30266     PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
)); 
30267     PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
)); 
30268     PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
)); 
30269     PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
)); 
30270     PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
)); 
30271     PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
)); 
30272     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
)); 
30273     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
)); 
30274     PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
)); 
30275     PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
)); 
30276     PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
)); 
30277     PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
)); 
30278     PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
)); 
30279     PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
)); 
30280     PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
)); 
30281     PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
)); 
30282     PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
)); 
30283     PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
)); 
30284     SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
); 
30285     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
); 
30286     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
); 
30287     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
); 
30288     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
); 
30289     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
); 
30290     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
); 
30291     SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
); 
30292     SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
); 
30293     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
); 
30294     SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
); 
30295     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
); 
30296     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
); 
30297     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
); 
30298     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
); 
30299     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
); 
30300     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
); 
30301     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
); 
30302     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
); 
30303     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
); 
30304     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
); 
30305     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
); 
30306     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
); 
30307     SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
); 
30308     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
); 
30309     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
); 
30310     SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
); 
30311     SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
); 
30312     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
); 
30313     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
); 
30314     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
); 
30315     SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
); 
30316     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
); 
30317     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
); 
30318     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
); 
30319     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
); 
30320     SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
); 
30321     SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
); 
30322     SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
); 
30323     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
); 
30325     wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider"); 
30327     PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
)); 
30328     PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
)); 
30329     PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
)); 
30330     PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)); 
30331     PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
)); 
30332     PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
)); 
30333     PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
)); 
30334     PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
)); 
30335     PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
)); 
30336     SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
); 
30337     SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
); 
30338     PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
)); 
30339     PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
)); 
30340     PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
)); 
30341     PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
)); 
30342     PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
)); 
30343     PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
)); 
30344     PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
)); 
30345     PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
)); 
30346     PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
)); 
30347     PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
)); 
30348     PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
)); 
30349     PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
)); 
30350     PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
)); 
30351     PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
)); 
30352     PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
)); 
30353     PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
)); 
30354     PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
)); 
30355     PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
)); 
30356     PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
)); 
30357     PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
)); 
30358     PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
)); 
30359     PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
)); 
30360     PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
)); 
30361     PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
)); 
30362     PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
)); 
30363     PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
)); 
30364     PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
)); 
30365     PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
)); 
30366     PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
)); 
30367     PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
)); 
30368     PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
)); 
30369     PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
)); 
30370     PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
)); 
30371     PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
)); 
30372     PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
)); 
30373     PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
)); 
30374     PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
)); 
30375     PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
)); 
30376     PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
)); 
30377     PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
)); 
30378     PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
)); 
30379     PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
)); 
30380     PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
)); 
30381     PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
)); 
30382     PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
)); 
30383     PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
)); 
30384     PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
)); 
30385     PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
)); 
30386     PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
)); 
30387     PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
)); 
30388     PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
)); 
30389     PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
)); 
30390     PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
)); 
30391     PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
)); 
30392     PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
)); 
30393     PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
)); 
30394     PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
)); 
30395     PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
)); 
30396     PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
)); 
30397     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
)); 
30398     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
)); 
30399     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
)); 
30400     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
)); 
30401     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
)); 
30402     PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
)); 
30403     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
)); 
30404     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
)); 
30405     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
)); 
30406     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
)); 
30407     PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
)); 
30408     PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
)); 
30409     PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
)); 
30410     PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
)); 
30411     PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
)); 
30412     PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
)); 
30413     PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
)); 
30414     PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
)); 
30415     PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
)); 
30416     PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
)); 
30417     PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
)); 
30418     PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
)); 
30419     PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
)); 
30420     PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
)); 
30421     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
)); 
30422     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
)); 
30423     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
)); 
30424     PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
)); 
30425     PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
)); 
30426     PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
)); 
30427     PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
)); 
30428     PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
)); 
30429     PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
)); 
30430     PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
)); 
30431     PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
)); 
30432     PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
)); 
30433     PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
)); 
30434     PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
)); 
30435     PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
)); 
30436     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
)); 
30437     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
)); 
30438     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
)); 
30439     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
)); 
30440     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
)); 
30441     PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
)); 
30442     PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
)); 
30443     PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
)); 
30444     PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
)); 
30445     PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
)); 
30446     PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
)); 
30447     PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
)); 
30448     PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
)); 
30449     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
)); 
30450     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
)); 
30451     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
)); 
30452     PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
)); 
30453     PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
)); 
30454     PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
)); 
30455     PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
)); 
30456     PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
)); 
30457     PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
)); 
30458     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
)); 
30459     PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
)); 
30460     PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
)); 
30461     PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
)); 
30462     PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
)); 
30463     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
)); 
30464     PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
)); 
30465     PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
)); 
30466     PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
)); 
30467     PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
)); 
30468     PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
)); 
30469     PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
)); 
30470     PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
)); 
30471     PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
)); 
30472     PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
)); 
30473     PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
)); 
30474     PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
)); 
30475     PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
)); 
30476     PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
)); 
30477     PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
)); 
30478     PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
)); 
30479     PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
)); 
30480     PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
)); 
30481     PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
)); 
30482     PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
)); 
30483     PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
)); 
30484     PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
)); 
30485     PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
)); 
30486     PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
)); 
30487     PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
)); 
30488     PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
)); 
30489     PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
)); 
30490     PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
)); 
30491     PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
)); 
30492     PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
)); 
30493     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
); 
30494     PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
)); 
30495     PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
)); 
30496     PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
)); 
30497     PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
)); 
30498     PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
)); 
30499     PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
)); 
30500     PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
)); 
30501     PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
)); 
30502     PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
)); 
30503     PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
)); 
30504     PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
)); 
30505     PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
)); 
30506     PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
)); 
30507     PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
)); 
30508     PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
)); 
30509     PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
)); 
30510     PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
)); 
30511     PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
)); 
30512     PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
)); 
30513     PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
)); 
30514     SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
); 
30515     PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
)); 
30516     PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
)); 
30517     PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
)); 
30518     PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
)); 
30519     PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
)); 
30520     PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
)); 
30521     PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
)); 
30522     PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
)); 
30523     PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
)); 
30524     PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
)); 
30525     PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
)); 
30526     PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
)); 
30528     wxPyPtrTypeMap_Add("wxDropSource",     "wxPyDropSource"); 
30529     wxPyPtrTypeMap_Add("wxDropTarget",     "wxPyDropTarget"); 
30530     wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget"); 
30531     wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget"); 
30533     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);