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_TypeQuery       SWIG_Python_TypeQuery 
  47 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  48 #define SWIG_PackData        SWIG_Python_PackData  
  49 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  52 /*********************************************************************** 
  53  * common.swg for wxPython 
  55  * Include only the function prototypes and such from SWIG's common.swg, 
  56  * but not the runtime functions themselves.  This helps keep the 
  57  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  60  ************************************************************************/ 
  64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  65 #  if defined(_MSC_VER) || defined(__GNUC__) 
  66 #    if defined(STATIC_LINKED) 
  67 #      define SWIGEXPORT(a) a 
  68 #      define SWIGIMPORT(a) extern a 
  70 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  71 #      define SWIGIMPORT(a) extern a 
  74 #    if defined(__BORLANDC__) 
  75 #      define SWIGEXPORT(a) a _export 
  76 #      define SWIGIMPORT(a) a _export 
  78 #      define SWIGEXPORT(a) a 
  79 #      define SWIGIMPORT(a) a 
  83 #  define SWIGEXPORT(a) a 
  84 #  define SWIGIMPORT(a) a 
  88 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  90 #  define SWIGRUNTIME(a) static a 
  97 typedef void *(*swig_converter_func
)(void *); 
  98 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 100 typedef struct swig_type_info 
{ 
 102   swig_converter_func     converter
; 
 105   swig_dycast_func        dcast
; 
 106   struct swig_type_info  
*next
; 
 107   struct swig_type_info  
*prev
; 
 111 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 113 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 114 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 115 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 116 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 117 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 118 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 119 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 126 /*********************************************************************** 
 127  * pyrun.swg for wxPython 
 129  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 130  * but not the runtime functions themselves.  This helps keep the 
 131  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 134  ************************************************************************/ 
 142 #define SWIG_PY_INT     1 
 143 #define SWIG_PY_FLOAT   2 
 144 #define SWIG_PY_STRING  3 
 145 #define SWIG_PY_POINTER 4 
 146 #define SWIG_PY_BINARY  5 
 148 /* Flags for pointer conversion */ 
 150 #define SWIG_POINTER_EXCEPTION     0x1 
 151 #define SWIG_POINTER_DISOWN        0x2 
 153 /* Exception handling in wrappers */ 
 154 #define SWIG_fail   goto fail 
 156 /* Constant information structure */ 
 157 typedef struct swig_const_info 
{ 
 163     swig_type_info 
**ptype
; 
 166 /* Common SWIG API */ 
 167 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 168   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 169 #define SWIG_NewPointerObj(p, type, flags) \ 
 170   SWIG_Python_NewPointerObj(p, type, flags) 
 171 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 172   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 174 /* Python-specific SWIG API */ 
 175 #define SWIG_newvarlink() \ 
 176   SWIG_Python_newvarlink() 
 177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 178   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 180   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 181 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 182   SWIG_Python_NewPackedObj(ptr, sz, type) 
 183 #define SWIG_InstallConstants(d, constants) \ 
 184   SWIG_Python_InstallConstants(d, constants) 
 186 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 188 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 189 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 190 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 191 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 192 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 193 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 194 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 195 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 198 /* Contract support */ 
 200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 207 /* -------- TYPES TABLE (BEGIN) -------- */ 
 209 #define  SWIGTYPE_p_wxLogChain swig_types[0]  
 210 #define  SWIGTYPE_p_wxMutexGuiLocker swig_types[1]  
 211 #define  SWIGTYPE_p_wxMetafile swig_types[2]  
 212 #define  SWIGTYPE_p_wxFileHistory swig_types[3]  
 213 #define  SWIGTYPE_p_wxLog swig_types[4]  
 214 #define  SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]  
 215 #define  SWIGTYPE_p_wxMenu swig_types[6]  
 216 #define  SWIGTYPE_p_wxEvent swig_types[7]  
 217 #define  SWIGTYPE_p_wxConfigBase swig_types[8]  
 218 #define  SWIGTYPE_p_wxDisplay swig_types[9]  
 219 #define  SWIGTYPE_p_wxFileType swig_types[10]  
 220 #define  SWIGTYPE_p_wxLogGui swig_types[11]  
 221 #define  SWIGTYPE_p_wxFont swig_types[12]  
 222 #define  SWIGTYPE_p_wxDataFormat swig_types[13]  
 223 #define  SWIGTYPE_p_wxTimerEvent swig_types[14]  
 224 #define  SWIGTYPE_p_wxCaret swig_types[15]  
 225 #define  SWIGTYPE_p_int swig_types[16]  
 226 #define  SWIGTYPE_p_wxSize swig_types[17]  
 227 #define  SWIGTYPE_p_wxClipboard swig_types[18]  
 228 #define  SWIGTYPE_p_wxStopWatch swig_types[19]  
 229 #define  SWIGTYPE_p_wxDC swig_types[20]  
 230 #define  SWIGTYPE_p_wxClipboardLocker swig_types[21]  
 231 #define  SWIGTYPE_p_wxIcon swig_types[22]  
 232 #define  SWIGTYPE_p_wxLogStderr swig_types[23]  
 233 #define  SWIGTYPE_p_wxLogTextCtrl swig_types[24]  
 234 #define  SWIGTYPE_p_wxTextCtrl swig_types[25]  
 235 #define  SWIGTYPE_p_wxBusyCursor swig_types[26]  
 236 #define  SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]  
 237 #define  SWIGTYPE_p_wxPyTextDataObject swig_types[28]  
 238 #define  SWIGTYPE_p_wxBitmapDataObject swig_types[29]  
 239 #define  SWIGTYPE_p_wxTextDataObject swig_types[30]  
 240 #define  SWIGTYPE_p_wxDataObject swig_types[31]  
 241 #define  SWIGTYPE_p_wxFileDataObject swig_types[32]  
 242 #define  SWIGTYPE_p_wxCustomDataObject swig_types[33]  
 243 #define  SWIGTYPE_p_wxURLDataObject swig_types[34]  
 244 #define  SWIGTYPE_p_wxMetafileDataObject swig_types[35]  
 245 #define  SWIGTYPE_p_wxSound swig_types[36]  
 246 #define  SWIGTYPE_p_wxTimerRunner swig_types[37]  
 247 #define  SWIGTYPE_p_wxLogWindow swig_types[38]  
 248 #define  SWIGTYPE_p_wxTimeSpan swig_types[39]  
 249 #define  SWIGTYPE_p_wxArrayString swig_types[40]  
 250 #define  SWIGTYPE_p_wxWindowDisabler swig_types[41]  
 251 #define  SWIGTYPE_p_wxToolTip swig_types[42]  
 252 #define  SWIGTYPE_p_wxDataObjectComposite swig_types[43]  
 253 #define  SWIGTYPE_p_wxFileConfig swig_types[44]  
 254 #define  SWIGTYPE_p_wxSystemSettings swig_types[45]  
 255 #define  SWIGTYPE_p_wxVideoMode swig_types[46]  
 256 #define  SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]  
 257 #define  SWIGTYPE_p_wxDataObjectSimple swig_types[48]  
 258 #define  SWIGTYPE_p_wxEvtHandler swig_types[49]  
 259 #define  SWIGTYPE_p_wxRect swig_types[50]  
 260 #define  SWIGTYPE_p_char swig_types[51]  
 261 #define  SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]  
 262 #define  SWIGTYPE_p_wxFileTypeInfo swig_types[53]  
 263 #define  SWIGTYPE_p_wxFrame swig_types[54]  
 264 #define  SWIGTYPE_p_wxTimer swig_types[55]  
 265 #define  SWIGTYPE_p_wxMimeTypesManager swig_types[56]  
 266 #define  SWIGTYPE_p_wxPyArtProvider swig_types[57]  
 267 #define  SWIGTYPE_p_wxPyTipProvider swig_types[58]  
 268 #define  SWIGTYPE_p_wxTipProvider swig_types[59]  
 269 #define  SWIGTYPE_p_wxJoystick swig_types[60]  
 270 #define  SWIGTYPE_p_wxSystemOptions swig_types[61]  
 271 #define  SWIGTYPE_p_wxPoint swig_types[62]  
 272 #define  SWIGTYPE_p_wxJoystickEvent swig_types[63]  
 273 #define  SWIGTYPE_p_wxCursor swig_types[64]  
 274 #define  SWIGTYPE_p_wxObject swig_types[65]  
 275 #define  SWIGTYPE_p_wxOutputStream swig_types[66]  
 276 #define  SWIGTYPE_p_wxDateTime swig_types[67]  
 277 #define  SWIGTYPE_p_wxPyDropSource swig_types[68]  
 278 #define  SWIGTYPE_p_wxWindow swig_types[69]  
 279 #define  SWIGTYPE_p_wxString swig_types[70]  
 280 #define  SWIGTYPE_p_wxPyProcess swig_types[71]  
 281 #define  SWIGTYPE_p_wxBitmap swig_types[72]  
 282 #define  SWIGTYPE_p_wxConfig swig_types[73]  
 283 #define  SWIGTYPE_p_wxChar swig_types[74]  
 284 #define  SWIGTYPE_p_wxBusyInfo swig_types[75]  
 285 #define  SWIGTYPE_p_wxPyDropTarget swig_types[76]  
 286 #define  SWIGTYPE_p_wxPyTextDropTarget swig_types[77]  
 287 #define  SWIGTYPE_p_wxPyFileDropTarget swig_types[78]  
 288 #define  SWIGTYPE_p_wxProcessEvent swig_types[79]  
 289 #define  SWIGTYPE_p_wxPyLog swig_types[80]  
 290 #define  SWIGTYPE_p_wxLogNull swig_types[81]  
 291 #define  SWIGTYPE_p_wxColour swig_types[82]  
 292 #define  SWIGTYPE_p_wxConfigPathChanger swig_types[83]  
 293 #define  SWIGTYPE_p_wxPyTimer swig_types[84]  
 294 #define  SWIGTYPE_p_wxDateSpan swig_types[85]  
 295 static swig_type_info 
*swig_types
[87]; 
 297 /* -------- TYPES TABLE (END) -------- */ 
 300 /*----------------------------------------------- 
 301               @(target):= _misc_.so 
 302   ------------------------------------------------*/ 
 303 #define SWIG_init    init_misc_ 
 305 #define SWIG_name    "_misc_" 
 307 /* Auxiliar swig  macros */ 
 310 #define SWIGSTATICINLINE(a) static inline a 
 311 #define SWIGSTATIC(a) static a 
 312 #define swig_new_array(type, size) (new type[(size)]) 
 313 #define swig_delete_array(cptr) delete[] cptr 
 314 #define swig_const_cast(type,a) const_cast<type>(a) 
 315 #define swig_static_cast(type,a) static_cast<type>(a) 
 316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) 
 318 #ifdef HAVE_NUMERIC_CAST 
 319 #define swig_numeric_cast(type,a) numeric_cast<type>(a) 
 321 #define swig_numeric_cast(type,a) static_cast<type>(a) 
 326 #define SWIGSTATICINLINE(a) static a 
 327 #define SWIGSTATIC(a) static a 
 328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) 
 329 #define swig_delete_array(cptr) free((char*)cptr) 
 330 #define swig_const_cast(type,a) (type)(a) 
 331 #define swig_static_cast(type,a) (type)(a) 
 332 #define swig_reinterpret_cast(type,a) (type)(a) 
 333 #define swig_numeric_cast(type,a) (type)(a) 
 335 #endif /* __cplusplus */ 
 338 #define SWIG_FromSignedChar     PyInt_FromLong 
 339 #define SWIG_FromUnsignedChar   PyInt_FromLong 
 340 #define SWIG_FromShort         PyInt_FromLong 
 341 #define SWIG_FromUnsignedShort  PyInt_FromLong 
 342 #define SWIG_FromInt           PyInt_FromLong 
 343 #define SWIG_FromLong          PyInt_FromLong 
 344 #define SWIG_FromFloat         PyFloat_FromDouble 
 345 #define SWIG_FromDouble        PyFloat_FromDouble 
 346 #define SWIG_FromFloat         PyFloat_FromDouble 
 347 #define SWIG_FromDouble        PyFloat_FromDouble 
 350 #include "wx/wxPython/wxPython.h" 
 351 #include "wx/wxPython/pyclasses.h" 
 352 #include "wx/wxPython/pyistream.h" 
 355  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 362 SWIGSTATICINLINE(long) 
 363 SWIG_CheckLongInRange(long value
, const char* type
, 
 364                       long min_value
, long max_value
) 
 366   if (!PyErr_Occurred()) { 
 367     if (value 
< min_value
) { 
 369         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 370                             value
, type
, min_value
); 
 372       PyErr_SetObject(PyExc_OverflowError
, err
); 
 374     } else if (value 
> max_value
) { 
 376         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 377                             value
, type
, max_value
); 
 378       PyErr_SetObject(PyExc_OverflowError
, err
); 
 386 SWIGSTATICINLINE(long) 
 387 SWIG_AsLong(PyObject 
* obj
) 
 389     if (PyNumber_Check(obj
)) 
 390         return PyInt_AsLong(obj
); 
 392         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 393                                                obj
->ob_type
->tp_name
); 
 394         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 401 #if INT_MAX != LONG_MAX 
 402 SWIGSTATICINLINE(int) 
 403 SWIG_AsInt(PyObject 
*obj
) 
 405   return swig_numeric_cast(int, 
 406     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 407                           "int", INT_MIN
, INT_MAX
)); 
 410 #define SWIG_AsInt SWIG_AsLong 
 414 SWIGSTATICINLINE(int) 
 415 SWIG_CheckInt(PyObject
* obj
) 
 418   if (PyErr_Occurred()) { 
 426  static const wxString 
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);  
 427  static const wxString 
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);  
 428  static const wxString 
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);  
 430 SWIGSTATICINLINE(int) 
 431 SWIG_CheckLong(PyObject
* obj
) 
 434   if (PyErr_Occurred()) { 
 443 SWIGSTATICINLINE(bool) 
 444 SWIG_AsBool(PyObject 
*obj
) 
 446   return PyObject_IsTrue(obj
) ? true : false; 
 450 SWIGSTATICINLINE(int) 
 451 SWIG_CheckBool(PyObject
* obj
) 
 454   if (PyErr_Occurred()) { 
 463 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 469     } else if (target 
== Py_None
) {   
 473         if (!PyTuple_Check(target
)) { 
 475             target 
= PyTuple_New(1); 
 476             PyTuple_SetItem(target
, 0, o2
); 
 479         PyTuple_SetItem(o3
, 0, o
);       
 482         target 
= PySequence_Concat(o2
, o3
);  
 490 SWIGSTATICINLINE(unsigned long) 
 491 SWIG_AsUnsignedLong(PyObject 
* obj
)  
 493   if (PyLong_Check(obj
)) { 
 494     return PyLong_AsUnsignedLong(obj
); 
 496     long i 
= SWIG_AsLong(obj
); 
 497     if ( !PyErr_Occurred() && (i 
< 0)) { 
 498       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 505 SWIGSTATICINLINE(int) 
 506 SWIG_CheckUnsignedLong(PyObject
* obj
) 
 508   SWIG_AsUnsignedLong(obj
); 
 509   if (PyErr_Occurred()) { 
 518 SWIGSTATICINLINE(PyObject
* ) 
 519 SWIG_FromUnsignedLong(unsigned long value
) 
 521   return (value 
> LONG_MAX
) ? 
 522     PyLong_FromUnsignedLong(value
)  
 523     : PyInt_FromLong(swig_numeric_cast(long,value
));  
 527     bool wxThread_IsMain() { 
 528 #ifdef WXP_WITH_THREAD 
 529         return wxThread::IsMain(); 
 536     int wxCaret_GetBlinkTime() { 
 537         return wxCaret::GetBlinkTime(); 
 540     void wxCaret_SetBlinkTime(int milliseconds
) { 
 541         wxCaret::SetBlinkTime(milliseconds
); 
 545 #include <wx/snglinst.h> 
 549 #include <wx/msw/private.h> 
 550 #include <wx/dynload.h> 
 555 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
) 
 562             // This one only partially works.  Appears to be an undocumented 
 563             // "standard" convention that not all widgets adhear to.  For 
 564             // example, for some widgets backgrounds or non-client areas may 
 566             ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0); 
 570             // This one works much better, except for on XP.  On Win2k nearly 
 571             // all widgets and their children are captured correctly[**].  On 
 572             // XP with Themes activated most native widgets draw only 
 573             // partially, if at all.  Without themes it works just like on 
 576             // ** For example the radio buttons in a wxRadioBox are not its 
 577             // children by default, but you can capture it via the panel 
 578             // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp. 
 579             ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 580                           PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| 
 581                           PRF_ERASEBKGND 
| PRF_OWNED 
); 
 585             // This one is only defined in the latest SDK and is only 
 586             // available on XP.  MSDN says it is similar to sending WM_PRINT 
 587             // so I expect that it will work similar to the above.  Since it 
 588             // is avaialble only on XP, it can't be compiled like this and 
 589             // will have to be loaded dynamically. 
 590             // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break; 
 595             // Use PrintWindow if available, or fallback to WM_PRINT 
 596             // otherwise.  Unfortunately using PrintWindow is even worse than 
 597             // WM_PRINT.  For most native widgets nothing is drawn to the dc 
 598             // at all, with or without Themes. 
 599             typedef BOOL (WINAPI 
*PrintWindow_t
)(HWND
, HDC
, UINT
); 
 600             static bool s_triedToLoad 
= False
; 
 601             static PrintWindow_t pfnPrintWindow 
= NULL
; 
 602             if ( !s_triedToLoad 
) 
 605                 s_triedToLoad 
= True
; 
 606                 wxDynamicLibrary 
dllUser32(_T("user32.dll")); 
 607                 if ( dllUser32
.IsLoaded() ) 
 609                     wxLogNull nolog
;  // Don't report errors here 
 610                     pfnPrintWindow 
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow")); 
 615                 printf("Using PrintWindow\n"); 
 616                 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0); 
 620                 printf("Using WM_PRINT\n"); 
 621                 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 622                               PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| PRF_ERASEBKGND 
| PRF_OWNED 
); 
 630 #include <wx/tipdlg.h> 
 633 class wxPyTipProvider 
: public wxTipProvider 
{ 
 635     wxPyTipProvider(size_t currentTip
) 
 636         : wxTipProvider(currentTip
) {} 
 638     DEC_PYCALLBACK_STRING__pure(GetTip
); 
 639     DEC_PYCALLBACK_STRING_STRING(PreprocessTip
); 
 643 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
); 
 644 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
); 
 647 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify); 
 649 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
); 
 651 void wxPyTimer::Notify() { 
 653     bool blocked 
= wxPyBeginBlockThreads(); 
 654     if ((found 
= wxPyCBH_findCallback(m_myInst
, "Notify"))) 
 655         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()")); 
 656     wxPyEndBlockThreads(blocked
); 
 660 void wxPyTimer::base_Notify() { 
 666 SWIGSTATICINLINE(PyObject 
*) 
 667 SWIG_FromCharPtr(const char* cptr
) 
 669   size_t size 
= cptr 
? strlen(cptr
) : 0; 
 671     if (size 
> INT_MAX
) { 
 672       return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),  
 673                                 SWIG_TypeQuery("char *"), 0); 
 675       return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
)); 
 684 SWIGSTATICINLINE(unsigned long) 
 685 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
, 
 686                               unsigned long max_value
)  
 688   if (!PyErr_Occurred()) { 
 689     if (value 
> max_value
) {      
 691         PyString_FromFormat("value %ld is greater than '%s' minimum %ld", 
 692                             value
, type
, max_value
); 
 693       PyErr_SetObject(PyExc_OverflowError
, err
); 
 701 #if UINT_MAX != ULONG_MAX 
 702 SWIGSTATICINLINE(unsigned int) 
 703 SWIG_AsUnsignedInt(PyObject 
*obj
) 
 705   return swig_numeric_cast(unsigned int, 
 706     SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
), 
 707                                   "unsigned int", UINT_MAX
)); 
 710 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong 
 714 SWIGSTATICINLINE(int) 
 715 SWIG_CheckUnsignedInt(PyObject
* obj
) 
 717   SWIG_AsUnsignedInt(obj
); 
 718   if (PyErr_Occurred()) { 
 726 wxString 
Log_TimeStamp(){ 
 728             wxLog::TimeStamp(&msg
); 
 731 void wxLog_Destroy(wxLog 
*self
){ delete self
; } 
 733 // A wxLog class that can be derived from in wxPython 
 734 class wxPyLog 
: public wxLog 
{ 
 736     wxPyLog() : wxLog() {} 
 738     virtual void DoLog(wxLogLevel level
, const wxChar 
*szString
, time_t t
) { 
 740         bool blocked 
= wxPyBeginBlockThreads(); 
 741         if ((found 
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) { 
 742             PyObject
* s 
= wx2PyString(szString
); 
 743             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
)); 
 746         wxPyEndBlockThreads(blocked
); 
 748             wxLog::DoLog(level
, szString
, t
); 
 751     virtual void DoLogString(const wxChar 
*szString
, time_t t
) { 
 753         bool blocked 
= wxPyBeginBlockThreads(); 
 754         if ((found 
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) { 
 755             PyObject
* s 
= wx2PyString(szString
); 
 756             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
)); 
 759         wxPyEndBlockThreads(blocked
); 
 761             wxLog::DoLogString(szString
, t
); 
 770 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
); 
 773 #include <wx/joystick.h> 
 776 #if !wxUSE_JOYSTICK && !defined(__WXMSW__) 
 777 // A C++ stub class for wxJoystick for platforms that don't have it. 
 778 class wxJoystick 
: public wxObject 
{ 
 780     wxJoystick(int joystick 
= wxJOYSTICK1
) { 
 781         bool blocked 
= wxPyBeginBlockThreads(); 
 782         PyErr_SetString(PyExc_NotImplementedError
, 
 783                         "wxJoystick is not available on this platform."); 
 784         wxPyEndBlockThreads(blocked
); 
 786     wxPoint 
GetPosition() { return wxPoint(-1,-1); } 
 787     int GetZPosition() { return -1; } 
 788     int GetButtonState() { return -1; } 
 789     int GetPOVPosition() { return -1; } 
 790     int GetPOVCTSPosition() { return -1; } 
 791     int GetRudderPosition() { return -1; } 
 792     int GetUPosition() { return -1; } 
 793     int GetVPosition() { return -1; } 
 794     int GetMovementThreshold() { return -1; } 
 795     void SetMovementThreshold(int threshold
) {} 
 797     bool IsOk(void) { return False
; } 
 798     int GetNumberJoysticks() { return -1; } 
 799     int GetManufacturerId() { return -1; } 
 800     int GetProductId() { return -1; } 
 801     wxString 
GetProductName() { return wxEmptyString
; } 
 802     int GetXMin() { return -1; } 
 803     int GetYMin() { return -1; } 
 804     int GetZMin() { return -1; } 
 805     int GetXMax() { return -1; } 
 806     int GetYMax() { return -1; } 
 807     int GetZMax() { return -1; } 
 808     int GetNumberButtons() { return -1; } 
 809     int GetNumberAxes() { return -1; } 
 810     int GetMaxButtons() { return -1; } 
 811     int GetMaxAxes() { return -1; } 
 812     int GetPollingMin() { return -1; } 
 813     int GetPollingMax() { return -1; } 
 814     int GetRudderMin() { return -1; } 
 815     int GetRudderMax() { return -1; } 
 816     int GetUMin() { return -1; } 
 817     int GetUMax() { return -1; } 
 818     int GetVMin() { return -1; } 
 819     int GetVMax() { return -1; } 
 821     bool HasRudder() { return False
; } 
 822     bool HasZ() { return False
; } 
 823     bool HasU() { return False
; } 
 824     bool HasV() { return False
; } 
 825     bool HasPOV() { return False
; } 
 826     bool HasPOV4Dir() { return False
; } 
 827     bool HasPOVCTS() { return False
; } 
 829     bool SetCapture(wxWindow
* win
, int pollingFreq 
= 0) { return False
; } 
 830     bool ReleaseCapture() { return False
; } 
 835 #include <wx/sound.h> 
 839 // A C++ stub class for wxWave for platforms that don't have it. 
 840 class wxSound 
: public wxObject
 
 844         bool blocked 
= wxPyBeginBlockThreads(); 
 845         PyErr_SetString(PyExc_NotImplementedError
, 
 846                         "wxSound is not available on this platform."); 
 847         wxPyEndBlockThreads(blocked
); 
 849     wxSound(const wxString
&/*, bool*/) { 
 850         bool blocked 
= wxPyBeginBlockThreads(); 
 851         PyErr_SetString(PyExc_NotImplementedError
, 
 852                         "wxSound is not available on this platform."); 
 853         wxPyEndBlockThreads(blocked
); 
 855     wxSound(int, const wxByte
*) { 
 856         bool blocked 
= wxPyBeginBlockThreads(); 
 857         PyErr_SetString(PyExc_NotImplementedError
, 
 858                         "wxSound is not available on this platform."); 
 859         wxPyEndBlockThreads(blocked
); 
 864     bool Create(const wxString
&/*, bool*/) { return false; } 
 865     bool Create(int, const wxByte
*) { return false; }; 
 866     bool IsOk() { return false; };     
 867     bool Play(unsigned) const { return false; } 
 868     static bool Play(const wxString
&, unsigned) { return false; } 
 869     static void Stop() {} 
 874 wxSound 
*new_wxSound(wxString 
const &fileName
){ 
 875             if (fileName
.Length() == 0) 
 878                 return new wxSound(fileName
); 
 880 wxSound 
*new_wxSound(PyObject 
*data
){ 
 881             unsigned char* buffer
; int size
; 
 882             wxSound 
*sound 
= NULL
; 
 884             bool blocked 
= wxPyBeginBlockThreads(); 
 885             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
 887             sound 
= new wxSound(size
, buffer
); 
 889             wxPyEndBlockThreads(blocked
); 
 892 bool wxSound_CreateFromData(wxSound 
*self
,PyObject 
*data
){ 
 894             unsigned char* buffer
; 
 898             bool blocked 
= wxPyBeginBlockThreads(); 
 899             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
 901             rv 
= self
->Create(size
, buffer
); 
 903             wxPyEndBlockThreads(blocked
); 
 906                  bool blocked 
= wxPyBeginBlockThreads(); 
 907                  PyErr_SetString(PyExc_NotImplementedError
, 
 908                                  "Create from data is not available on this platform."); 
 909                  wxPyEndBlockThreads(blocked
); 
 914 #include <wx/mimetype.h> 
 916 PyObject 
*wxFileType_GetMimeType(wxFileType 
*self
){ 
 918             if (self
->GetMimeType(&str
))  
 919                 return wx2PyString(str
); 
 923 PyObject 
*wxFileType_GetMimeTypes(wxFileType 
*self
){ 
 925             if (self
->GetMimeTypes(arr
)) 
 926                 return wxArrayString2PyList_helper(arr
); 
 930 PyObject 
*wxFileType_GetExtensions(wxFileType 
*self
){ 
 932             if (self
->GetExtensions(arr
)) 
 933                 return wxArrayString2PyList_helper(arr
); 
 937 wxIcon 
*wxFileType_GetIcon(wxFileType 
*self
){ 
 939             if (self
->GetIcon(&loc
)) 
 940                 return new wxIcon(loc
); 
 944 PyObject 
*wxFileType_GetIconInfo(wxFileType 
*self
){ 
 946             if (self
->GetIcon(&loc
)) { 
 947                 wxString iconFile 
= loc
.GetFileName(); 
 950                 iconIndex 
= loc
.GetIndex(); 
 952                 // Make a tuple and put the values in it 
 953                 bool blocked 
= wxPyBeginBlockThreads(); 
 954                 PyObject
* tuple 
= PyTuple_New(3); 
 955                 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
), 
 956                                                               wxT("wxIcon"), True
)); 
 957                 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
)); 
 958                 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
)); 
 959                 wxPyEndBlockThreads(blocked
); 
 965 PyObject 
*wxFileType_GetDescription(wxFileType 
*self
){ 
 967             if (self
->GetDescription(&str
))  
 968                 return wx2PyString(str
); 
 972 PyObject 
*wxFileType_GetOpenCommand(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
 974             if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))  
 975                 return wx2PyString(str
); 
 979 PyObject 
*wxFileType_GetPrintCommand(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
 981             if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))  
 982                 return wx2PyString(str
); 
 986 PyObject 
*wxFileType_GetAllCommands(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
 988             wxArrayString commands
; 
 989             if (self
->GetAllCommands(&verbs
, &commands
, 
 990                                      wxFileType::MessageParameters(filename
, mimetype
))) { 
 991                 bool blocked 
= wxPyBeginBlockThreads(); 
 992                 PyObject
* tuple 
= PyTuple_New(2); 
 993                 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
)); 
 994                 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
)); 
 995                 wxPyEndBlockThreads(blocked
); 
1001 wxString 
FileType_ExpandCommand(wxString 
const &command
,wxString 
const &filename
,wxString 
const &mimetype
){ 
1002             return wxFileType::ExpandCommand(command
, 
1003                                              wxFileType::MessageParameters(filename
, mimetype
)); 
1005 PyObject 
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager 
*self
){ 
1007             self
->EnumAllFileTypes(arr
); 
1008             return wxArrayString2PyList_helper(arr
); 
1011 #include <wx/artprov.h> 
1013  static const wxString 
wxPyART_TOOLBAR(wxART_TOOLBAR
);  
1014  static const wxString 
wxPyART_MENU(wxART_MENU
);  
1015  static const wxString 
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);  
1016  static const wxString 
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);  
1017  static const wxString 
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);  
1018  static const wxString 
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);  
1019  static const wxString 
wxPyART_OTHER(wxART_OTHER
);  
1020  static const wxString 
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);  
1021  static const wxString 
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);  
1022  static const wxString 
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);  
1023  static const wxString 
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);  
1024  static const wxString 
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);  
1025  static const wxString 
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);  
1026  static const wxString 
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);  
1027  static const wxString 
wxPyART_GO_BACK(wxART_GO_BACK
);  
1028  static const wxString 
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);  
1029  static const wxString 
wxPyART_GO_UP(wxART_GO_UP
);  
1030  static const wxString 
wxPyART_GO_DOWN(wxART_GO_DOWN
);  
1031  static const wxString 
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);  
1032  static const wxString 
wxPyART_GO_HOME(wxART_GO_HOME
);  
1033  static const wxString 
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);  
1034  static const wxString 
wxPyART_PRINT(wxART_PRINT
);  
1035  static const wxString 
wxPyART_HELP(wxART_HELP
);  
1036  static const wxString 
wxPyART_TIP(wxART_TIP
);  
1037  static const wxString 
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);  
1038  static const wxString 
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);  
1039  static const wxString 
wxPyART_NEW_DIR(wxART_NEW_DIR
);  
1040  static const wxString 
wxPyART_FOLDER(wxART_FOLDER
);  
1041  static const wxString 
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);  
1042  static const wxString 
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);  
1043  static const wxString 
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);  
1044  static const wxString 
wxPyART_TICK_MARK(wxART_TICK_MARK
);  
1045  static const wxString 
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);  
1046  static const wxString 
wxPyART_ERROR(wxART_ERROR
);  
1047  static const wxString 
wxPyART_QUESTION(wxART_QUESTION
);  
1048  static const wxString 
wxPyART_WARNING(wxART_WARNING
);  
1049  static const wxString 
wxPyART_INFORMATION(wxART_INFORMATION
);  
1050  static const wxString 
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);  
1051   // Python aware wxArtProvider 
1052 class wxPyArtProvider 
: public wxArtProvider  
{ 
1055     virtual wxBitmap 
CreateBitmap(const wxArtID
& id
, 
1056                                   const wxArtClient
& client
, 
1057                                   const wxSize
& size
) { 
1058         wxBitmap rval 
= wxNullBitmap
; 
1059         bool blocked 
= wxPyBeginBlockThreads(); 
1060         if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) { 
1061             PyObject
* so 
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0); 
1065             s1 
= wx2PyString(id
); 
1066             s2 
= wx2PyString(client
); 
1067             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
)); 
1072                 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap"))) 
1077         wxPyEndBlockThreads(blocked
); 
1084 void wxPyArtProvider_Destroy(wxPyArtProvider 
*self
){ delete self
; } 
1088     static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) { 
1089         PyObject
* ret 
= PyTuple_New(3); 
1091             PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
)); 
1092             PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
)); 
1093             PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
)); 
1098 PyObject 
*wxConfigBase_GetFirstGroup(wxConfigBase 
*self
){ 
1103             cont 
= self
->GetFirstGroup(value
, index
); 
1104             return __EnumerationHelper(cont
, value
, index
); 
1106 PyObject 
*wxConfigBase_GetNextGroup(wxConfigBase 
*self
,long index
){ 
1110             cont 
= self
->GetNextGroup(value
, index
); 
1111             return __EnumerationHelper(cont
, value
, index
); 
1113 PyObject 
*wxConfigBase_GetFirstEntry(wxConfigBase 
*self
){ 
1118             cont 
= self
->GetFirstEntry(value
, index
); 
1119             return __EnumerationHelper(cont
, value
, index
); 
1121 PyObject 
*wxConfigBase_GetNextEntry(wxConfigBase 
*self
,long index
){ 
1125             cont 
= self
->GetNextEntry(value
, index
); 
1126             return __EnumerationHelper(cont
, value
, index
); 
1128 long wxConfigBase_ReadInt(wxConfigBase 
*self
,wxString 
const &key
,long defaultVal
){ 
1130             self
->Read(key
, &rv
, defaultVal
); 
1134 SWIGSTATICINLINE(double) 
1135 SWIG_AsDouble(PyObject 
*obj
) 
1137     if (PyNumber_Check(obj
)) 
1138         return PyFloat_AsDouble(obj
); 
1140         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
1141                                                obj
->ob_type
->tp_name
); 
1142         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
1149 SWIGSTATICINLINE(int) 
1150 SWIG_CheckDouble(PyObject
* obj
) 
1153   if (PyErr_Occurred()) { 
1161 double wxConfigBase_ReadFloat(wxConfigBase 
*self
,wxString 
const &key
,double defaultVal
){ 
1163             self
->Read(key
, &rv
, defaultVal
); 
1166 bool wxConfigBase_ReadBool(wxConfigBase 
*self
,wxString 
const &key
,bool defaultVal
){ 
1168             self
->Read(key
, &rv
, defaultVal
); 
1172 #include <wx/datetime.h> 
1175  static const wxString 
wxPyDateFormatStr(wxT("%c"));  
1176  static const wxString 
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));  
1178 #define LOCAL_TZ wxDateTime::Local 
1181 #if UINT_MAX < LONG_MAX 
1182 #define SWIG_FromUnsignedInt    SWIG_FromLong 
1184 #define SWIG_FromUnsignedInt    SWIG_FromUnsignedLong 
1187 wxDateTime 
wxDateTime___add____SWIG_0(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1188 wxDateTime 
wxDateTime___add____SWIG_1(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1189 wxTimeSpan 
wxDateTime___sub____SWIG_0(wxDateTime 
*self
,wxDateTime 
const &other
){ return *self 
- other
; } 
1190 wxDateTime 
wxDateTime___sub____SWIG_1(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1191 wxDateTime 
wxDateTime___sub____SWIG_2(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1192 bool wxDateTime___lt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1193             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<  other
;  
1194             return (*self 
<  *other
); 
1196 bool wxDateTime___le__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1197             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<= other
;  
1198             return (*self 
<= *other
); 
1200 bool wxDateTime___gt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1201             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>  other
;  
1202             return (*self 
>  *other
); 
1204 bool wxDateTime___ge__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1205             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>= other
;  
1206             return (*self 
>= *other
); 
1208 bool wxDateTime___eq__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1209             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
== other
;  
1210             return (*self 
== *other
); 
1212 bool wxDateTime___ne__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1213             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
!= other
;  
1214             return (*self 
!= *other
); 
1216 int wxDateTime_ParseRfc822Date(wxDateTime 
*self
,wxString 
const &date
){ 
1218             const wxChar
* _date 
= date
; 
1219             rv 
= self
->ParseRfc822Date(_date
); 
1220             if (rv 
== NULL
) return -1; 
1223 int wxDateTime_ParseFormat(wxDateTime 
*self
,wxString 
const &date
,wxString 
const &format
,wxDateTime 
const &dateDef
){ 
1225             const wxChar
* _date 
= date
; 
1226             rv 
= self
->ParseFormat(_date
, format
, dateDef
); 
1227             if (rv 
== NULL
) return -1; 
1230 int wxDateTime_ParseDateTime(wxDateTime 
*self
,wxString 
const &datetime
){ 
1232             const wxChar
* _datetime 
= datetime
; 
1233             rv 
= self
->ParseDateTime(_datetime
); 
1234             if (rv 
== NULL
) return -1; 
1235             return rv 
- _datetime
; 
1237 int wxDateTime_ParseDate(wxDateTime 
*self
,wxString 
const &date
){ 
1239             const wxChar
* _date 
= date
; 
1240             rv 
= self
->ParseDate(_date
); 
1241             if (rv 
== NULL
) return -1; 
1244 int wxDateTime_ParseTime(wxDateTime 
*self
,wxString 
const &time
){ 
1246             const wxChar
* _time 
= time
; 
1247             rv 
= self
->ParseTime(_time
); 
1248             if (rv 
== NULL
) return -1; 
1251 wxTimeSpan 
wxTimeSpan___add__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1252 wxTimeSpan 
wxTimeSpan___sub__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1253 wxTimeSpan 
wxTimeSpan___mul__(wxTimeSpan 
*self
,int n
){ return *self 
* n
; } 
1254 wxTimeSpan 
wxTimeSpan___rmul__(wxTimeSpan 
*self
,int n
){ return n 
* *self
; } 
1255 bool wxTimeSpan___lt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<  *other
) : False
; } 
1256 bool wxTimeSpan___le__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<= *other
) : False
; } 
1257 bool wxTimeSpan___gt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>  *other
) : True
;  } 
1258 bool wxTimeSpan___ge__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>= *other
) : True
;  } 
1259 bool wxTimeSpan___eq__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1260 bool wxTimeSpan___ne__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1261 wxDateSpan 
wxDateSpan___add__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1262 wxDateSpan 
wxDateSpan___sub__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1263 wxDateSpan 
wxDateSpan___mul__(wxDateSpan 
*self
,int n
){ return *self 
* n
; } 
1264 wxDateSpan 
wxDateSpan___rmul__(wxDateSpan 
*self
,int n
){ return n 
* *self
; } 
1265 bool wxDateSpan___eq__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1266 bool wxDateSpan___ne__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1268 #include <wx/dataobj.h> 
1270 PyObject 
*wxDataObject_GetAllFormats(wxDataObject 
*self
,wxDataObject::Direction dir
){ 
1271             size_t count 
= self
->GetFormatCount(dir
); 
1272             wxDataFormat
* formats 
= new wxDataFormat
[count
]; 
1273             self
->GetAllFormats(formats
, dir
); 
1275             bool blocked 
= wxPyBeginBlockThreads(); 
1276             PyObject
* list 
= PyList_New(count
); 
1277             for (size_t i
=0; i
<count
; i
++) { 
1278                 wxDataFormat
* format 
= new wxDataFormat(formats
[i
]); 
1279                 PyObject
* obj 
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
); 
1280                 PyList_Append(list
, obj
); 
1283             wxPyEndBlockThreads(blocked
); 
1287 PyObject 
*wxDataObject_GetDataHere(wxDataObject 
*self
,wxDataFormat 
const &format
){ 
1288             PyObject
* rval 
= NULL
; 
1289             size_t size 
= self
->GetDataSize(format
);             
1290             bool blocked 
= wxPyBeginBlockThreads(); 
1292                 char* buf 
= new char[size
]; 
1293                 if (self
->GetDataHere(format
, buf
))  
1294                     rval 
= PyString_FromStringAndSize(buf
, size
); 
1301             wxPyEndBlockThreads(blocked
); 
1304 bool wxDataObject_SetData(wxDataObject 
*self
,wxDataFormat 
const &format
,PyObject 
*data
){ 
1306             bool blocked 
= wxPyBeginBlockThreads(); 
1307             if (PyString_Check(data
)) { 
1308                 rval 
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
)); 
1311                 // raise a TypeError if not a string 
1312                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1315             wxPyEndBlockThreads(blocked
); 
1318 PyObject 
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple 
*self
){ 
1319             PyObject
* rval 
= NULL
; 
1320             size_t size 
= self
->GetDataSize();             
1321             bool blocked 
= wxPyBeginBlockThreads(); 
1323                 char* buf 
= new char[size
]; 
1324                 if (self
->GetDataHere(buf
))  
1325                     rval 
= PyString_FromStringAndSize(buf
, size
); 
1332             wxPyEndBlockThreads(blocked
); 
1335 bool wxDataObjectSimple_SetData(wxDataObjectSimple 
*self
,PyObject 
*data
){ 
1337             bool blocked 
= wxPyBeginBlockThreads(); 
1338             if (PyString_Check(data
)) { 
1339                 rval 
= self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1342                 // raise a TypeError if not a string 
1343                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1346             wxPyEndBlockThreads(blocked
); 
1349   // Create a new class for wxPython to use 
1350 class wxPyDataObjectSimple 
: public wxDataObjectSimple 
{ 
1352     wxPyDataObjectSimple(const wxDataFormat
& format 
= wxFormatInvalid
) 
1353         : wxDataObjectSimple(format
) {} 
1355     DEC_PYCALLBACK_SIZET__const(GetDataSize
); 
1356     bool GetDataHere(void *buf
) const; 
1357     bool SetData(size_t len
, const void *buf
) const; 
1361 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
); 
1363 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const { 
1364     // We need to get the data for this object and write it to buf.  I think 
1365     // the best way to do this for wxPython is to have the Python method 
1366     // return either a string or None and then act appropriately with the 
1370     bool blocked 
= wxPyBeginBlockThreads(); 
1371     if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) { 
1373         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1375             rval 
= (ro 
!= Py_None 
&& PyString_Check(ro
)); 
1377                 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
)); 
1381     wxPyEndBlockThreads(blocked
); 
1385 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{ 
1386     // For this one we simply need to make a string from buf and len 
1387     // and send it to the Python method. 
1389     bool blocked 
= wxPyBeginBlockThreads(); 
1390     if (wxPyCBH_findCallback(m_myInst
, "SetData")) { 
1391         PyObject
* data 
= PyString_FromStringAndSize((char*)buf
, len
); 
1392         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
)); 
1395     wxPyEndBlockThreads(blocked
); 
1399   // Create a new class for wxPython to use 
1400 class wxPyTextDataObject 
: public wxTextDataObject 
{ 
1402     wxPyTextDataObject(const wxString
& text 
= wxPyEmptyString
) 
1403         : wxTextDataObject(text
) {} 
1405     DEC_PYCALLBACK_SIZET__const(GetTextLength
); 
1406     DEC_PYCALLBACK_STRING__const(GetText
); 
1407     DEC_PYCALLBACK__STRING(SetText
); 
1411 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
); 
1412 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
); 
1413 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
); 
1416   // Create a new class for wxPython to use 
1417 class wxPyBitmapDataObject 
: public wxBitmapDataObject 
{ 
1419     wxPyBitmapDataObject(const wxBitmap
& bitmap 
= wxNullBitmap
) 
1420         : wxBitmapDataObject(bitmap
) {} 
1422     wxBitmap 
GetBitmap() const; 
1423     void SetBitmap(const wxBitmap
& bitmap
); 
1427 wxBitmap 
wxPyBitmapDataObject::GetBitmap() const { 
1428     wxBitmap
* rval 
= &wxNullBitmap
; 
1429     bool blocked 
= wxPyBeginBlockThreads(); 
1430     if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) { 
1433         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1435             if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap"))) 
1440     wxPyEndBlockThreads(blocked
); 
1444 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) { 
1445     bool blocked 
= wxPyBeginBlockThreads(); 
1446     if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) { 
1447         PyObject
* bo 
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
); 
1448         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
)); 
1451     wxPyEndBlockThreads(blocked
); 
1454 bool wxCustomDataObject_SetData(wxCustomDataObject 
*self
,PyObject 
*data
){ 
1456             bool blocked 
= wxPyBeginBlockThreads(); 
1457             if (PyString_Check(data
)) { 
1458                 rval 
= self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1461                 // raise a TypeError if not a string 
1462                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1465             wxPyEndBlockThreads(blocked
); 
1468 PyObject 
*wxCustomDataObject_GetData(wxCustomDataObject 
*self
){ 
1470             bool blocked 
= wxPyBeginBlockThreads(); 
1471             obj 
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize()); 
1472             wxPyEndBlockThreads(blocked
); 
1476 #include <wx/metafile.h> 
1479 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
); 
1482 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
); 
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
); 
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
); 
1485 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
); 
1486 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
); 
1489 class wxPyTextDropTarget 
: public wxTextDropTarget 
{ 
1491     wxPyTextDropTarget() {} 
1493     DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
); 
1495     DEC_PYCALLBACK__(OnLeave
); 
1496     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1497     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1498     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1499     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1504 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
); 
1505 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
); 
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
); 
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
); 
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
); 
1509 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
); 
1513 class wxPyFileDropTarget 
: public wxFileDropTarget 
{ 
1515     wxPyFileDropTarget() {} 
1517     virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
); 
1519     DEC_PYCALLBACK__(OnLeave
); 
1520     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1521     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1522     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1523     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1528 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
, 
1529                                      const wxArrayString
& filenames
) { 
1531     bool blocked 
= wxPyBeginBlockThreads(); 
1532     if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) { 
1533         PyObject
* list 
= wxArrayString2PyList_helper(filenames
); 
1534         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
)); 
1537     wxPyEndBlockThreads(blocked
); 
1543 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
); 
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
); 
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
); 
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
); 
1547 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
); 
1552 bool wxClipboardLocker___nonzero__(wxClipboardLocker 
*self
){ return !!(*self
); } 
1554 #include "wx/display.h" 
1556 bool wxVideoMode___eq__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1557 bool wxVideoMode___ne__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1558 PyObject 
*wxDisplay_GetModes(wxDisplay 
*self
,wxVideoMode 
const &mode
){ 
1559             PyObject
* pyList 
= NULL
; 
1560             wxArrayVideoModes arr 
= self
->GetModes(mode
); 
1561             bool blocked 
= wxPyBeginBlockThreads(); 
1562             pyList 
= PyList_New(0); 
1563             for (int i
=0; i 
< arr
.GetCount(); i
++) { 
1564                 wxVideoMode
* m 
= new wxVideoMode(arr
.Item(i
)); 
1565                 PyObject
* pyObj 
= wxPyConstructObject(m
, wxT("wxVideoMode"), true); 
1566                 PyList_Append(pyList
, pyObj
); 
1569             wxPyEndBlockThreads(blocked
); 
1575 static PyObject 
*_wrap_SystemSettings_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1576     PyObject 
*resultobj
; 
1579     PyObject 
* obj0 
= 0 ; 
1581         (char *) "index", NULL 
 
1584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
; 
1585     arg1 
= (wxSystemColour
) SWIG_AsInt(obj0
);  
1586     if (PyErr_Occurred()) SWIG_fail
; 
1588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1589         result 
= wxSystemSettings::GetColour((wxSystemColour 
)arg1
); 
1591         wxPyEndAllowThreads(__tstate
); 
1592         if (PyErr_Occurred()) SWIG_fail
; 
1595         wxColour 
* resultptr
; 
1596         resultptr 
= new wxColour((wxColour 
&) result
); 
1597         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1605 static PyObject 
*_wrap_SystemSettings_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1606     PyObject 
*resultobj
; 
1609     PyObject 
* obj0 
= 0 ; 
1611         (char *) "index", NULL 
 
1614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
; 
1615     arg1 
= (wxSystemFont
) SWIG_AsInt(obj0
);  
1616     if (PyErr_Occurred()) SWIG_fail
; 
1618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1619         result 
= wxSystemSettings::GetFont((wxSystemFont 
)arg1
); 
1621         wxPyEndAllowThreads(__tstate
); 
1622         if (PyErr_Occurred()) SWIG_fail
; 
1626         resultptr 
= new wxFont((wxFont 
&) result
); 
1627         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
1635 static PyObject 
*_wrap_SystemSettings_GetMetric(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1636     PyObject 
*resultobj
; 
1639     PyObject 
* obj0 
= 0 ; 
1641         (char *) "index", NULL 
 
1644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
; 
1645     arg1 
= (wxSystemMetric
) SWIG_AsInt(obj0
);  
1646     if (PyErr_Occurred()) SWIG_fail
; 
1648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1649         result 
= (int)wxSystemSettings::GetMetric((wxSystemMetric 
)arg1
); 
1651         wxPyEndAllowThreads(__tstate
); 
1652         if (PyErr_Occurred()) SWIG_fail
; 
1654     resultobj 
= SWIG_FromInt((int)result
); 
1661 static PyObject 
*_wrap_SystemSettings_HasFeature(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1662     PyObject 
*resultobj
; 
1665     PyObject 
* obj0 
= 0 ; 
1667         (char *) "index", NULL 
 
1670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
; 
1671     arg1 
= (wxSystemFeature
) SWIG_AsInt(obj0
);  
1672     if (PyErr_Occurred()) SWIG_fail
; 
1674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1675         result 
= (bool)wxSystemSettings::HasFeature((wxSystemFeature 
)arg1
); 
1677         wxPyEndAllowThreads(__tstate
); 
1678         if (PyErr_Occurred()) SWIG_fail
; 
1681         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1689 static PyObject 
*_wrap_SystemSettings_GetScreenType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1690     PyObject 
*resultobj
; 
1696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
; 
1698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1699         result 
= (int)wxSystemSettings::GetScreenType(); 
1701         wxPyEndAllowThreads(__tstate
); 
1702         if (PyErr_Occurred()) SWIG_fail
; 
1704     resultobj 
= SWIG_FromInt((int)result
); 
1711 static PyObject 
*_wrap_SystemSettings_SetScreenType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1712     PyObject 
*resultobj
; 
1714     PyObject 
* obj0 
= 0 ; 
1716         (char *) "screen", NULL 
 
1719     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
; 
1720     arg1 
= (wxSystemScreenType
) SWIG_AsInt(obj0
);  
1721     if (PyErr_Occurred()) SWIG_fail
; 
1723         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1724         wxSystemSettings::SetScreenType((wxSystemScreenType 
)arg1
); 
1726         wxPyEndAllowThreads(__tstate
); 
1727         if (PyErr_Occurred()) SWIG_fail
; 
1729     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1736 static PyObject 
* SystemSettings_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1738     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1739     SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
); 
1741     return Py_BuildValue((char *)""); 
1743 static PyObject 
*_wrap_new_SystemOptions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1744     PyObject 
*resultobj
; 
1745     wxSystemOptions 
*result
; 
1750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
; 
1752         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1753         result 
= (wxSystemOptions 
*)new wxSystemOptions(); 
1755         wxPyEndAllowThreads(__tstate
); 
1756         if (PyErr_Occurred()) SWIG_fail
; 
1758     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1); 
1765 static PyObject 
*_wrap_SystemOptions_SetOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1766     PyObject 
*resultobj
; 
1767     wxString 
*arg1 
= 0 ; 
1768     wxString 
*arg2 
= 0 ; 
1769     bool temp1 
= False 
; 
1770     bool temp2 
= False 
; 
1771     PyObject 
* obj0 
= 0 ; 
1772     PyObject 
* obj1 
= 0 ; 
1774         (char *) "name",(char *) "value", NULL 
 
1777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
; 
1779         arg1 
= wxString_in_helper(obj0
); 
1780         if (arg1 
== NULL
) SWIG_fail
; 
1784         arg2 
= wxString_in_helper(obj1
); 
1785         if (arg2 
== NULL
) SWIG_fail
; 
1789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1790         wxSystemOptions::SetOption((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
1792         wxPyEndAllowThreads(__tstate
); 
1793         if (PyErr_Occurred()) SWIG_fail
; 
1795     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1818 static PyObject 
*_wrap_SystemOptions_SetOptionInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1819     PyObject 
*resultobj
; 
1820     wxString 
*arg1 
= 0 ; 
1822     bool temp1 
= False 
; 
1823     PyObject 
* obj0 
= 0 ; 
1824     PyObject 
* obj1 
= 0 ; 
1826         (char *) "name",(char *) "value", NULL 
 
1829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
1831         arg1 
= wxString_in_helper(obj0
); 
1832         if (arg1 
== NULL
) SWIG_fail
; 
1835     arg2 
= (int) SWIG_AsInt(obj1
);  
1836     if (PyErr_Occurred()) SWIG_fail
; 
1838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1839         wxSystemOptions::SetOption((wxString 
const &)*arg1
,arg2
); 
1841         wxPyEndAllowThreads(__tstate
); 
1842         if (PyErr_Occurred()) SWIG_fail
; 
1844     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1859 static PyObject 
*_wrap_SystemOptions_GetOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1860     PyObject 
*resultobj
; 
1861     wxString 
*arg1 
= 0 ; 
1863     bool temp1 
= False 
; 
1864     PyObject 
* obj0 
= 0 ; 
1866         (char *) "name", NULL 
 
1869     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
; 
1871         arg1 
= wxString_in_helper(obj0
); 
1872         if (arg1 
== NULL
) SWIG_fail
; 
1876         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1877         result 
= wxSystemOptions::GetOption((wxString 
const &)*arg1
); 
1879         wxPyEndAllowThreads(__tstate
); 
1880         if (PyErr_Occurred()) SWIG_fail
; 
1884         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1886         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1903 static PyObject 
*_wrap_SystemOptions_GetOptionInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1904     PyObject 
*resultobj
; 
1905     wxString 
*arg1 
= 0 ; 
1907     bool temp1 
= False 
; 
1908     PyObject 
* obj0 
= 0 ; 
1910         (char *) "name", NULL 
 
1913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
; 
1915         arg1 
= wxString_in_helper(obj0
); 
1916         if (arg1 
== NULL
) SWIG_fail
; 
1920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1921         result 
= (int)wxSystemOptions::GetOptionInt((wxString 
const &)*arg1
); 
1923         wxPyEndAllowThreads(__tstate
); 
1924         if (PyErr_Occurred()) SWIG_fail
; 
1926     resultobj 
= SWIG_FromInt((int)result
); 
1941 static PyObject 
*_wrap_SystemOptions_HasOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1942     PyObject 
*resultobj
; 
1943     wxString 
*arg1 
= 0 ; 
1945     bool temp1 
= False 
; 
1946     PyObject 
* obj0 
= 0 ; 
1948         (char *) "name", NULL 
 
1951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
; 
1953         arg1 
= wxString_in_helper(obj0
); 
1954         if (arg1 
== NULL
) SWIG_fail
; 
1958         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1959         result 
= (bool)wxSystemOptions::HasOption((wxString 
const &)*arg1
); 
1961         wxPyEndAllowThreads(__tstate
); 
1962         if (PyErr_Occurred()) SWIG_fail
; 
1965         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1981 static PyObject 
* SystemOptions_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1983     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1984     SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
); 
1986     return Py_BuildValue((char *)""); 
1988 static int _wrap_FileSelectorPromptStr_set(PyObject 
*_val
) { 
1989     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only."); 
1994 static PyObject 
*_wrap_FileSelectorPromptStr_get() { 
1999         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
2001         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
2008 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject 
*_val
) { 
2009     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only."); 
2014 static PyObject 
*_wrap_FileSelectorDefaultWildcardStr_get() { 
2019         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
2021         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
2028 static int _wrap_DirSelectorPromptStr_set(PyObject 
*_val
) { 
2029     PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only."); 
2034 static PyObject 
*_wrap_DirSelectorPromptStr_get() { 
2039         pyobj 
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
2041         pyobj 
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
2048 static PyObject 
*_wrap_NewId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2049     PyObject 
*resultobj
; 
2055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
; 
2057         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2058         result 
= (long)wxNewId(); 
2060         wxPyEndAllowThreads(__tstate
); 
2061         if (PyErr_Occurred()) SWIG_fail
; 
2063     resultobj 
= SWIG_FromLong((long)result
); 
2070 static PyObject 
*_wrap_RegisterId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2071     PyObject 
*resultobj
; 
2073     PyObject 
* obj0 
= 0 ; 
2078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
; 
2079     arg1 
= (long) SWIG_AsLong(obj0
);  
2080     if (PyErr_Occurred()) SWIG_fail
; 
2082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2085         wxPyEndAllowThreads(__tstate
); 
2086         if (PyErr_Occurred()) SWIG_fail
; 
2088     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2095 static PyObject 
*_wrap_GetCurrentId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2096     PyObject 
*resultobj
; 
2102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
; 
2104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2105         result 
= (long)wxGetCurrentId(); 
2107         wxPyEndAllowThreads(__tstate
); 
2108         if (PyErr_Occurred()) SWIG_fail
; 
2110     resultobj 
= SWIG_FromLong((long)result
); 
2117 static PyObject 
*_wrap_Bell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2118     PyObject 
*resultobj
; 
2123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
; 
2125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2128         wxPyEndAllowThreads(__tstate
); 
2129         if (PyErr_Occurred()) SWIG_fail
; 
2131     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2138 static PyObject 
*_wrap_EndBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2139     PyObject 
*resultobj
; 
2144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
; 
2146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2149         wxPyEndAllowThreads(__tstate
); 
2150         if (PyErr_Occurred()) SWIG_fail
; 
2152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2159 static PyObject 
*_wrap_GetElapsedTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2160     PyObject 
*resultobj
; 
2161     bool arg1 
= (bool) True 
; 
2163     PyObject 
* obj0 
= 0 ; 
2165         (char *) "resetTimer", NULL 
 
2168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
; 
2170         arg1 
= (bool) SWIG_AsBool(obj0
);  
2171         if (PyErr_Occurred()) SWIG_fail
; 
2174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2175         result 
= (long)wxGetElapsedTime(arg1
); 
2177         wxPyEndAllowThreads(__tstate
); 
2178         if (PyErr_Occurred()) SWIG_fail
; 
2180     resultobj 
= SWIG_FromLong((long)result
); 
2187 static PyObject 
*_wrap_GetMousePosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2188     PyObject 
*resultobj
; 
2189     int *arg1 
= (int *) 0 ; 
2190     int *arg2 
= (int *) 0 ; 
2199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
; 
2201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2202         wxGetMousePosition(arg1
,arg2
); 
2204         wxPyEndAllowThreads(__tstate
); 
2205         if (PyErr_Occurred()) SWIG_fail
; 
2207     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2209         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
2210         resultobj 
= t_output_helper(resultobj
,o
); 
2213         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
2214         resultobj 
= t_output_helper(resultobj
,o
); 
2222 static PyObject 
*_wrap_IsBusy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2223     PyObject 
*resultobj
; 
2229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
; 
2231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2232         result 
= (bool)wxIsBusy(); 
2234         wxPyEndAllowThreads(__tstate
); 
2235         if (PyErr_Occurred()) SWIG_fail
; 
2238         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2246 static PyObject 
*_wrap_Now(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2247     PyObject 
*resultobj
; 
2253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
; 
2255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2258         wxPyEndAllowThreads(__tstate
); 
2259         if (PyErr_Occurred()) SWIG_fail
; 
2263         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2265         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2274 static PyObject 
*_wrap_Shell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2275     PyObject 
*resultobj
; 
2276     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2277     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2279     bool temp1 
= False 
; 
2280     PyObject 
* obj0 
= 0 ; 
2282         (char *) "command", NULL 
 
2285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
; 
2288             arg1 
= wxString_in_helper(obj0
); 
2289             if (arg1 
== NULL
) SWIG_fail
; 
2294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2295         result 
= (bool)wxShell((wxString 
const &)*arg1
); 
2297         wxPyEndAllowThreads(__tstate
); 
2298         if (PyErr_Occurred()) SWIG_fail
; 
2301         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2317 static PyObject 
*_wrap_StartTimer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2318     PyObject 
*resultobj
; 
2323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
; 
2325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2328         wxPyEndAllowThreads(__tstate
); 
2329         if (PyErr_Occurred()) SWIG_fail
; 
2331     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2338 static PyObject 
*_wrap_GetOsVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2339     PyObject 
*resultobj
; 
2340     int *arg1 
= (int *) 0 ; 
2341     int *arg2 
= (int *) 0 ; 
2351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
; 
2353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2354         result 
= (int)wxGetOsVersion(arg1
,arg2
); 
2356         wxPyEndAllowThreads(__tstate
); 
2357         if (PyErr_Occurred()) SWIG_fail
; 
2359     resultobj 
= SWIG_FromInt((int)result
); 
2361         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
2362         resultobj 
= t_output_helper(resultobj
,o
); 
2365         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
2366         resultobj 
= t_output_helper(resultobj
,o
); 
2374 static PyObject 
*_wrap_GetOsDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2375     PyObject 
*resultobj
; 
2381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
; 
2383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2384         result 
= wxGetOsDescription(); 
2386         wxPyEndAllowThreads(__tstate
); 
2387         if (PyErr_Occurred()) SWIG_fail
; 
2391         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2393         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2402 static PyObject 
*_wrap_GetFreeMemory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2403     PyObject 
*resultobj
; 
2409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
; 
2411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2412         result 
= (long)wxGetFreeMemory(); 
2414         wxPyEndAllowThreads(__tstate
); 
2415         if (PyErr_Occurred()) SWIG_fail
; 
2417     resultobj 
= SWIG_FromLong((long)result
); 
2424 static PyObject 
*_wrap_Shutdown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2425     PyObject 
*resultobj
; 
2428     PyObject 
* obj0 
= 0 ; 
2430         (char *) "wFlags", NULL 
 
2433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
; 
2434     arg1 
= (wxShutdownFlags
) SWIG_AsInt(obj0
);  
2435     if (PyErr_Occurred()) SWIG_fail
; 
2437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2438         result 
= (bool)wxShutdown((wxShutdownFlags 
)arg1
); 
2440         wxPyEndAllowThreads(__tstate
); 
2441         if (PyErr_Occurred()) SWIG_fail
; 
2444         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2452 static PyObject 
*_wrap_Sleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2453     PyObject 
*resultobj
; 
2455     PyObject 
* obj0 
= 0 ; 
2457         (char *) "secs", NULL 
 
2460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
; 
2461     arg1 
= (int) SWIG_AsInt(obj0
);  
2462     if (PyErr_Occurred()) SWIG_fail
; 
2464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2467         wxPyEndAllowThreads(__tstate
); 
2468         if (PyErr_Occurred()) SWIG_fail
; 
2470     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2477 static PyObject 
*_wrap_Usleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2478     PyObject 
*resultobj
; 
2479     unsigned long arg1 
; 
2480     PyObject 
* obj0 
= 0 ; 
2482         (char *) "milliseconds", NULL 
 
2485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
; 
2486     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
2487     if (PyErr_Occurred()) SWIG_fail
; 
2489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2492         wxPyEndAllowThreads(__tstate
); 
2493         if (PyErr_Occurred()) SWIG_fail
; 
2495     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2502 static PyObject 
*_wrap_EnableTopLevelWindows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2503     PyObject 
*resultobj
; 
2505     PyObject 
* obj0 
= 0 ; 
2507         (char *) "enable", NULL 
 
2510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
; 
2511     arg1 
= (bool) SWIG_AsBool(obj0
);  
2512     if (PyErr_Occurred()) SWIG_fail
; 
2514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2515         wxEnableTopLevelWindows(arg1
); 
2517         wxPyEndAllowThreads(__tstate
); 
2518         if (PyErr_Occurred()) SWIG_fail
; 
2520     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2527 static PyObject 
*_wrap_StripMenuCodes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2528     PyObject 
*resultobj
; 
2529     wxString 
*arg1 
= 0 ; 
2531     bool temp1 
= False 
; 
2532     PyObject 
* obj0 
= 0 ; 
2537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
; 
2539         arg1 
= wxString_in_helper(obj0
); 
2540         if (arg1 
== NULL
) SWIG_fail
; 
2544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2545         result 
= wxStripMenuCodes((wxString 
const &)*arg1
); 
2547         wxPyEndAllowThreads(__tstate
); 
2548         if (PyErr_Occurred()) SWIG_fail
; 
2552         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2554         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2571 static PyObject 
*_wrap_GetEmailAddress(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2572     PyObject 
*resultobj
; 
2578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
; 
2580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2581         result 
= wxGetEmailAddress(); 
2583         wxPyEndAllowThreads(__tstate
); 
2584         if (PyErr_Occurred()) SWIG_fail
; 
2588         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2590         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2599 static PyObject 
*_wrap_GetHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2600     PyObject 
*resultobj
; 
2606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
; 
2608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2609         result 
= wxGetHostName(); 
2611         wxPyEndAllowThreads(__tstate
); 
2612         if (PyErr_Occurred()) SWIG_fail
; 
2616         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2618         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2627 static PyObject 
*_wrap_GetFullHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2628     PyObject 
*resultobj
; 
2634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
; 
2636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2637         result 
= wxGetFullHostName(); 
2639         wxPyEndAllowThreads(__tstate
); 
2640         if (PyErr_Occurred()) SWIG_fail
; 
2644         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2646         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2655 static PyObject 
*_wrap_GetUserId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2656     PyObject 
*resultobj
; 
2662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
; 
2664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2665         result 
= wxGetUserId(); 
2667         wxPyEndAllowThreads(__tstate
); 
2668         if (PyErr_Occurred()) SWIG_fail
; 
2672         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2674         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2683 static PyObject 
*_wrap_GetUserName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2684     PyObject 
*resultobj
; 
2690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
; 
2692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2693         result 
= wxGetUserName(); 
2695         wxPyEndAllowThreads(__tstate
); 
2696         if (PyErr_Occurred()) SWIG_fail
; 
2700         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2702         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2711 static PyObject 
*_wrap_GetHomeDir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2712     PyObject 
*resultobj
; 
2718     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
; 
2720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2721         result 
= wxGetHomeDir(); 
2723         wxPyEndAllowThreads(__tstate
); 
2724         if (PyErr_Occurred()) SWIG_fail
; 
2728         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2730         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2739 static PyObject 
*_wrap_GetUserHome(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2740     PyObject 
*resultobj
; 
2741     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2742     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2744     bool temp1 
= False 
; 
2745     PyObject 
* obj0 
= 0 ; 
2747         (char *) "user", NULL 
 
2750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
; 
2753             arg1 
= wxString_in_helper(obj0
); 
2754             if (arg1 
== NULL
) SWIG_fail
; 
2759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2760         result 
= wxGetUserHome((wxString 
const &)*arg1
); 
2762         wxPyEndAllowThreads(__tstate
); 
2763         if (PyErr_Occurred()) SWIG_fail
; 
2767         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2769         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2786 static PyObject 
*_wrap_GetProcessId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2787     PyObject 
*resultobj
; 
2788     unsigned long result
; 
2793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
; 
2795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2796         result 
= (unsigned long)wxGetProcessId(); 
2798         wxPyEndAllowThreads(__tstate
); 
2799         if (PyErr_Occurred()) SWIG_fail
; 
2801     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
2808 static PyObject 
*_wrap_Trap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2809     PyObject 
*resultobj
; 
2814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
; 
2816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2819         wxPyEndAllowThreads(__tstate
); 
2820         if (PyErr_Occurred()) SWIG_fail
; 
2822     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2829 static PyObject 
*_wrap_FileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2830     PyObject 
*resultobj
; 
2831     wxString 
const &arg1_defvalue 
= wxPyFileSelectorPromptStr 
; 
2832     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2833     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
2834     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
2835     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2836     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2837     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
2838     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
2839     wxString 
const &arg5_defvalue 
= wxPyFileSelectorDefaultWildcardStr 
; 
2840     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
2841     int arg6 
= (int) 0 ; 
2842     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
2843     int arg8 
= (int) -1 ; 
2844     int arg9 
= (int) -1 ; 
2846     bool temp1 
= False 
; 
2847     bool temp2 
= False 
; 
2848     bool temp3 
= False 
; 
2849     bool temp4 
= False 
; 
2850     bool temp5 
= False 
; 
2851     PyObject 
* obj0 
= 0 ; 
2852     PyObject 
* obj1 
= 0 ; 
2853     PyObject 
* obj2 
= 0 ; 
2854     PyObject 
* obj3 
= 0 ; 
2855     PyObject 
* obj4 
= 0 ; 
2856     PyObject 
* obj5 
= 0 ; 
2857     PyObject 
* obj6 
= 0 ; 
2858     PyObject 
* obj7 
= 0 ; 
2859     PyObject 
* obj8 
= 0 ; 
2861         (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
2864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2867             arg1 
= wxString_in_helper(obj0
); 
2868             if (arg1 
== NULL
) SWIG_fail
; 
2874             arg2 
= wxString_in_helper(obj1
); 
2875             if (arg2 
== NULL
) SWIG_fail
; 
2881             arg3 
= wxString_in_helper(obj2
); 
2882             if (arg3 
== NULL
) SWIG_fail
; 
2888             arg4 
= wxString_in_helper(obj3
); 
2889             if (arg4 
== NULL
) SWIG_fail
; 
2895             arg5 
= wxString_in_helper(obj4
); 
2896             if (arg5 
== NULL
) SWIG_fail
; 
2901         arg6 
= (int) SWIG_AsInt(obj5
);  
2902         if (PyErr_Occurred()) SWIG_fail
; 
2905         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
2906         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2909         arg8 
= (int) SWIG_AsInt(obj7
);  
2910         if (PyErr_Occurred()) SWIG_fail
; 
2913         arg9 
= (int) SWIG_AsInt(obj8
);  
2914         if (PyErr_Occurred()) SWIG_fail
; 
2917         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2918         result 
= wxFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
); 
2920         wxPyEndAllowThreads(__tstate
); 
2921         if (PyErr_Occurred()) SWIG_fail
; 
2925         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2927         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2976 static PyObject 
*_wrap_LoadFileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2977     PyObject 
*resultobj
; 
2978     wxString 
*arg1 
= 0 ; 
2979     wxString 
*arg2 
= 0 ; 
2980     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2981     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2982     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
2984     bool temp1 
= False 
; 
2985     bool temp2 
= False 
; 
2986     bool temp3 
= False 
; 
2987     PyObject 
* obj0 
= 0 ; 
2988     PyObject 
* obj1 
= 0 ; 
2989     PyObject 
* obj2 
= 0 ; 
2990     PyObject 
* obj3 
= 0 ; 
2992         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
2995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2997         arg1 
= wxString_in_helper(obj0
); 
2998         if (arg1 
== NULL
) SWIG_fail
; 
3002         arg2 
= wxString_in_helper(obj1
); 
3003         if (arg2 
== NULL
) SWIG_fail
; 
3008             arg3 
= wxString_in_helper(obj2
); 
3009             if (arg3 
== NULL
) SWIG_fail
; 
3014         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3015         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3019         result 
= wxLoadFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3021         wxPyEndAllowThreads(__tstate
); 
3022         if (PyErr_Occurred()) SWIG_fail
; 
3026         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3028         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3061 static PyObject 
*_wrap_SaveFileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3062     PyObject 
*resultobj
; 
3063     wxString 
*arg1 
= 0 ; 
3064     wxString 
*arg2 
= 0 ; 
3065     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3066     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3067     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3069     bool temp1 
= False 
; 
3070     bool temp2 
= False 
; 
3071     bool temp3 
= False 
; 
3072     PyObject 
* obj0 
= 0 ; 
3073     PyObject 
* obj1 
= 0 ; 
3074     PyObject 
* obj2 
= 0 ; 
3075     PyObject 
* obj3 
= 0 ; 
3077         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
3080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3082         arg1 
= wxString_in_helper(obj0
); 
3083         if (arg1 
== NULL
) SWIG_fail
; 
3087         arg2 
= wxString_in_helper(obj1
); 
3088         if (arg2 
== NULL
) SWIG_fail
; 
3093             arg3 
= wxString_in_helper(obj2
); 
3094             if (arg3 
== NULL
) SWIG_fail
; 
3099         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3100         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3104         result 
= wxSaveFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3106         wxPyEndAllowThreads(__tstate
); 
3107         if (PyErr_Occurred()) SWIG_fail
; 
3111         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3113         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3146 static PyObject 
*_wrap_DirSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3147     PyObject 
*resultobj
; 
3148     wxString 
const &arg1_defvalue 
= wxPyDirSelectorPromptStr 
; 
3149     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3150     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3151     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3152     long arg3 
= (long) wxDD_DEFAULT_STYLE 
; 
3153     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3154     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3155     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3157     bool temp1 
= False 
; 
3158     bool temp2 
= False 
; 
3160     PyObject 
* obj0 
= 0 ; 
3161     PyObject 
* obj1 
= 0 ; 
3162     PyObject 
* obj2 
= 0 ; 
3163     PyObject 
* obj3 
= 0 ; 
3164     PyObject 
* obj4 
= 0 ; 
3166         (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL 
 
3169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
3172             arg1 
= wxString_in_helper(obj0
); 
3173             if (arg1 
== NULL
) SWIG_fail
; 
3179             arg2 
= wxString_in_helper(obj1
); 
3180             if (arg2 
== NULL
) SWIG_fail
; 
3185         arg3 
= (long) SWIG_AsLong(obj2
);  
3186         if (PyErr_Occurred()) SWIG_fail
; 
3191             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3195         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3196         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3200         result 
= wxDirSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,arg5
); 
3202         wxPyEndAllowThreads(__tstate
); 
3203         if (PyErr_Occurred()) SWIG_fail
; 
3207         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3209         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3234 static PyObject 
*_wrap_GetTextFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3235     PyObject 
*resultobj
; 
3236     wxString 
*arg1 
= 0 ; 
3237     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3238     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3239     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3240     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3241     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3242     int arg5 
= (int) -1 ; 
3243     int arg6 
= (int) -1 ; 
3244     bool arg7 
= (bool) True 
; 
3246     bool temp1 
= False 
; 
3247     bool temp2 
= False 
; 
3248     bool temp3 
= False 
; 
3249     PyObject 
* obj0 
= 0 ; 
3250     PyObject 
* obj1 
= 0 ; 
3251     PyObject 
* obj2 
= 0 ; 
3252     PyObject 
* obj3 
= 0 ; 
3253     PyObject 
* obj4 
= 0 ; 
3254     PyObject 
* obj5 
= 0 ; 
3255     PyObject 
* obj6 
= 0 ; 
3257         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL 
 
3260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
3262         arg1 
= wxString_in_helper(obj0
); 
3263         if (arg1 
== NULL
) SWIG_fail
; 
3268             arg2 
= wxString_in_helper(obj1
); 
3269             if (arg2 
== NULL
) SWIG_fail
; 
3275             arg3 
= wxString_in_helper(obj2
); 
3276             if (arg3 
== NULL
) SWIG_fail
; 
3281         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3282         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3285         arg5 
= (int) SWIG_AsInt(obj4
);  
3286         if (PyErr_Occurred()) SWIG_fail
; 
3289         arg6 
= (int) SWIG_AsInt(obj5
);  
3290         if (PyErr_Occurred()) SWIG_fail
; 
3293         arg7 
= (bool) SWIG_AsBool(obj6
);  
3294         if (PyErr_Occurred()) SWIG_fail
; 
3297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3298         result 
= wxGetTextFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
); 
3300         wxPyEndAllowThreads(__tstate
); 
3301         if (PyErr_Occurred()) SWIG_fail
; 
3305         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3307         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3340 static PyObject 
*_wrap_GetPasswordFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3341     PyObject 
*resultobj
; 
3342     wxString 
*arg1 
= 0 ; 
3343     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3344     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3345     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3346     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3347     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3349     bool temp1 
= False 
; 
3350     bool temp2 
= False 
; 
3351     bool temp3 
= False 
; 
3352     PyObject 
* obj0 
= 0 ; 
3353     PyObject 
* obj1 
= 0 ; 
3354     PyObject 
* obj2 
= 0 ; 
3355     PyObject 
* obj3 
= 0 ; 
3357         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL 
 
3360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3362         arg1 
= wxString_in_helper(obj0
); 
3363         if (arg1 
== NULL
) SWIG_fail
; 
3368             arg2 
= wxString_in_helper(obj1
); 
3369             if (arg2 
== NULL
) SWIG_fail
; 
3375             arg3 
= wxString_in_helper(obj2
); 
3376             if (arg3 
== NULL
) SWIG_fail
; 
3381         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3382         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3386         result 
= wxGetPasswordFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3388         wxPyEndAllowThreads(__tstate
); 
3389         if (PyErr_Occurred()) SWIG_fail
; 
3393         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3395         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3428 static PyObject 
*_wrap_GetSingleChoice(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3429     PyObject 
*resultobj
; 
3430     wxString 
*arg1 
= 0 ; 
3431     wxString 
*arg2 
= 0 ; 
3433     wxString 
*arg4 
= (wxString 
*) 0 ; 
3434     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3435     int arg6 
= (int) -1 ; 
3436     int arg7 
= (int) -1 ; 
3437     bool arg8 
= (bool) True 
; 
3438     int arg9 
= (int) 150 ; 
3439     int arg10 
= (int) 200 ; 
3441     bool temp1 
= False 
; 
3442     bool temp2 
= False 
; 
3443     PyObject 
* obj0 
= 0 ; 
3444     PyObject 
* obj1 
= 0 ; 
3445     PyObject 
* obj2 
= 0 ; 
3446     PyObject 
* obj3 
= 0 ; 
3447     PyObject 
* obj4 
= 0 ; 
3448     PyObject 
* obj5 
= 0 ; 
3449     PyObject 
* obj6 
= 0 ; 
3450     PyObject 
* obj7 
= 0 ; 
3451     PyObject 
* obj8 
= 0 ; 
3453         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3458         arg1 
= wxString_in_helper(obj0
); 
3459         if (arg1 
== NULL
) SWIG_fail
; 
3463         arg2 
= wxString_in_helper(obj1
); 
3464         if (arg2 
== NULL
) SWIG_fail
; 
3468         arg3 
= PyList_Size(obj2
); 
3469         arg4 
= wxString_LIST_helper(obj2
); 
3470         if (arg4 
== NULL
) SWIG_fail
; 
3473         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3474         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3477         arg6 
= (int) SWIG_AsInt(obj4
);  
3478         if (PyErr_Occurred()) SWIG_fail
; 
3481         arg7 
= (int) SWIG_AsInt(obj5
);  
3482         if (PyErr_Occurred()) SWIG_fail
; 
3485         arg8 
= (bool) SWIG_AsBool(obj6
);  
3486         if (PyErr_Occurred()) SWIG_fail
; 
3489         arg9 
= (int) SWIG_AsInt(obj7
);  
3490         if (PyErr_Occurred()) SWIG_fail
; 
3493         arg10 
= (int) SWIG_AsInt(obj8
);  
3494         if (PyErr_Occurred()) SWIG_fail
; 
3497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3498         result 
= wxGetSingleChoice((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3500         wxPyEndAllowThreads(__tstate
); 
3501         if (PyErr_Occurred()) SWIG_fail
; 
3505         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3507         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3519         if (arg4
) delete [] arg4
; 
3532         if (arg4
) delete [] arg4
; 
3538 static PyObject 
*_wrap_GetSingleChoiceIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3539     PyObject 
*resultobj
; 
3540     wxString 
*arg1 
= 0 ; 
3541     wxString 
*arg2 
= 0 ; 
3543     wxString 
*arg4 
= (wxString 
*) 0 ; 
3544     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3545     int arg6 
= (int) -1 ; 
3546     int arg7 
= (int) -1 ; 
3547     bool arg8 
= (bool) True 
; 
3548     int arg9 
= (int) 150 ; 
3549     int arg10 
= (int) 200 ; 
3551     bool temp1 
= False 
; 
3552     bool temp2 
= False 
; 
3553     PyObject 
* obj0 
= 0 ; 
3554     PyObject 
* obj1 
= 0 ; 
3555     PyObject 
* obj2 
= 0 ; 
3556     PyObject 
* obj3 
= 0 ; 
3557     PyObject 
* obj4 
= 0 ; 
3558     PyObject 
* obj5 
= 0 ; 
3559     PyObject 
* obj6 
= 0 ; 
3560     PyObject 
* obj7 
= 0 ; 
3561     PyObject 
* obj8 
= 0 ; 
3563         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3568         arg1 
= wxString_in_helper(obj0
); 
3569         if (arg1 
== NULL
) SWIG_fail
; 
3573         arg2 
= wxString_in_helper(obj1
); 
3574         if (arg2 
== NULL
) SWIG_fail
; 
3578         arg3 
= PyList_Size(obj2
); 
3579         arg4 
= wxString_LIST_helper(obj2
); 
3580         if (arg4 
== NULL
) SWIG_fail
; 
3583         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3584         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3587         arg6 
= (int) SWIG_AsInt(obj4
);  
3588         if (PyErr_Occurred()) SWIG_fail
; 
3591         arg7 
= (int) SWIG_AsInt(obj5
);  
3592         if (PyErr_Occurred()) SWIG_fail
; 
3595         arg8 
= (bool) SWIG_AsBool(obj6
);  
3596         if (PyErr_Occurred()) SWIG_fail
; 
3599         arg9 
= (int) SWIG_AsInt(obj7
);  
3600         if (PyErr_Occurred()) SWIG_fail
; 
3603         arg10 
= (int) SWIG_AsInt(obj8
);  
3604         if (PyErr_Occurred()) SWIG_fail
; 
3607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3608         result 
= (int)wxGetSingleChoiceIndex((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3610         wxPyEndAllowThreads(__tstate
); 
3611         if (PyErr_Occurred()) SWIG_fail
; 
3613     resultobj 
= SWIG_FromInt((int)result
); 
3623         if (arg4
) delete [] arg4
; 
3636         if (arg4
) delete [] arg4
; 
3642 static PyObject 
*_wrap_MessageBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3643     PyObject 
*resultobj
; 
3644     wxString 
*arg1 
= 0 ; 
3645     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3646     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3647     int arg3 
= (int) wxOK
|wxCENTRE 
; 
3648     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3649     int arg5 
= (int) -1 ; 
3650     int arg6 
= (int) -1 ; 
3652     bool temp1 
= False 
; 
3653     bool temp2 
= False 
; 
3654     PyObject 
* obj0 
= 0 ; 
3655     PyObject 
* obj1 
= 0 ; 
3656     PyObject 
* obj2 
= 0 ; 
3657     PyObject 
* obj3 
= 0 ; 
3658     PyObject 
* obj4 
= 0 ; 
3659     PyObject 
* obj5 
= 0 ; 
3661         (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
3664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
3666         arg1 
= wxString_in_helper(obj0
); 
3667         if (arg1 
== NULL
) SWIG_fail
; 
3672             arg2 
= wxString_in_helper(obj1
); 
3673             if (arg2 
== NULL
) SWIG_fail
; 
3678         arg3 
= (int) SWIG_AsInt(obj2
);  
3679         if (PyErr_Occurred()) SWIG_fail
; 
3682         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3683         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3686         arg5 
= (int) SWIG_AsInt(obj4
);  
3687         if (PyErr_Occurred()) SWIG_fail
; 
3690         arg6 
= (int) SWIG_AsInt(obj5
);  
3691         if (PyErr_Occurred()) SWIG_fail
; 
3694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3695         result 
= (int)wxMessageBox((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
3697         wxPyEndAllowThreads(__tstate
); 
3698         if (PyErr_Occurred()) SWIG_fail
; 
3700     resultobj 
= SWIG_FromInt((int)result
); 
3723 static PyObject 
*_wrap_GetNumberFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3724     PyObject 
*resultobj
; 
3725     wxString 
*arg1 
= 0 ; 
3726     wxString 
*arg2 
= 0 ; 
3727     wxString 
*arg3 
= 0 ; 
3729     long arg5 
= (long) 0 ; 
3730     long arg6 
= (long) 100 ; 
3731     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
3732     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
3733     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
3735     bool temp1 
= False 
; 
3736     bool temp2 
= False 
; 
3737     bool temp3 
= False 
; 
3739     PyObject 
* obj0 
= 0 ; 
3740     PyObject 
* obj1 
= 0 ; 
3741     PyObject 
* obj2 
= 0 ; 
3742     PyObject 
* obj3 
= 0 ; 
3743     PyObject 
* obj4 
= 0 ; 
3744     PyObject 
* obj5 
= 0 ; 
3745     PyObject 
* obj6 
= 0 ; 
3746     PyObject 
* obj7 
= 0 ; 
3748         (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL 
 
3751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
3753         arg1 
= wxString_in_helper(obj0
); 
3754         if (arg1 
== NULL
) SWIG_fail
; 
3758         arg2 
= wxString_in_helper(obj1
); 
3759         if (arg2 
== NULL
) SWIG_fail
; 
3763         arg3 
= wxString_in_helper(obj2
); 
3764         if (arg3 
== NULL
) SWIG_fail
; 
3767     arg4 
= (long) SWIG_AsLong(obj3
);  
3768     if (PyErr_Occurred()) SWIG_fail
; 
3770         arg5 
= (long) SWIG_AsLong(obj4
);  
3771         if (PyErr_Occurred()) SWIG_fail
; 
3774         arg6 
= (long) SWIG_AsLong(obj5
);  
3775         if (PyErr_Occurred()) SWIG_fail
; 
3778         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
3779         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3784             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
3788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3789         result 
= (long)wxGetNumberFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
3791         wxPyEndAllowThreads(__tstate
); 
3792         if (PyErr_Occurred()) SWIG_fail
; 
3794     resultobj 
= SWIG_FromLong((long)result
); 
3825 static PyObject 
*_wrap_ColourDisplay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3826     PyObject 
*resultobj
; 
3832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
; 
3834         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3835         result 
= (bool)wxColourDisplay(); 
3837         wxPyEndAllowThreads(__tstate
); 
3838         if (PyErr_Occurred()) SWIG_fail
; 
3841         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3849 static PyObject 
*_wrap_DisplayDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3850     PyObject 
*resultobj
; 
3856     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
; 
3858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3859         result 
= (int)wxDisplayDepth(); 
3861         wxPyEndAllowThreads(__tstate
); 
3862         if (PyErr_Occurred()) SWIG_fail
; 
3864     resultobj 
= SWIG_FromInt((int)result
); 
3871 static PyObject 
*_wrap_GetDisplayDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3872     PyObject 
*resultobj
; 
3878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
; 
3880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3881         result 
= (int)wxGetDisplayDepth(); 
3883         wxPyEndAllowThreads(__tstate
); 
3884         if (PyErr_Occurred()) SWIG_fail
; 
3886     resultobj 
= SWIG_FromInt((int)result
); 
3893 static PyObject 
*_wrap_DisplaySize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3894     PyObject 
*resultobj
; 
3895     int *arg1 
= (int *) 0 ; 
3896     int *arg2 
= (int *) 0 ; 
3905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
; 
3907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3908         wxDisplaySize(arg1
,arg2
); 
3910         wxPyEndAllowThreads(__tstate
); 
3911         if (PyErr_Occurred()) SWIG_fail
; 
3913     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3915         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
3916         resultobj 
= t_output_helper(resultobj
,o
); 
3919         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
3920         resultobj 
= t_output_helper(resultobj
,o
); 
3928 static PyObject 
*_wrap_GetDisplaySize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3929     PyObject 
*resultobj
; 
3935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
; 
3937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3938         result 
= wxGetDisplaySize(); 
3940         wxPyEndAllowThreads(__tstate
); 
3941         if (PyErr_Occurred()) SWIG_fail
; 
3945         resultptr 
= new wxSize((wxSize 
&) result
); 
3946         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3954 static PyObject 
*_wrap_DisplaySizeMM(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3955     PyObject 
*resultobj
; 
3956     int *arg1 
= (int *) 0 ; 
3957     int *arg2 
= (int *) 0 ; 
3966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
; 
3968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3969         wxDisplaySizeMM(arg1
,arg2
); 
3971         wxPyEndAllowThreads(__tstate
); 
3972         if (PyErr_Occurred()) SWIG_fail
; 
3974     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3976         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
3977         resultobj 
= t_output_helper(resultobj
,o
); 
3980         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
3981         resultobj 
= t_output_helper(resultobj
,o
); 
3989 static PyObject 
*_wrap_GetDisplaySizeMM(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3990     PyObject 
*resultobj
; 
3996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
; 
3998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3999         result 
= wxGetDisplaySizeMM(); 
4001         wxPyEndAllowThreads(__tstate
); 
4002         if (PyErr_Occurred()) SWIG_fail
; 
4006         resultptr 
= new wxSize((wxSize 
&) result
); 
4007         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4015 static PyObject 
*_wrap_ClientDisplayRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4016     PyObject 
*resultobj
; 
4017     int *arg1 
= (int *) 0 ; 
4018     int *arg2 
= (int *) 0 ; 
4019     int *arg3 
= (int *) 0 ; 
4020     int *arg4 
= (int *) 0 ; 
4033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
; 
4035         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4036         wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
); 
4038         wxPyEndAllowThreads(__tstate
); 
4039         if (PyErr_Occurred()) SWIG_fail
; 
4041     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4043         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
4044         resultobj 
= t_output_helper(resultobj
,o
); 
4047         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4048         resultobj 
= t_output_helper(resultobj
,o
); 
4051         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4052         resultobj 
= t_output_helper(resultobj
,o
); 
4055         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
4056         resultobj 
= t_output_helper(resultobj
,o
); 
4064 static PyObject 
*_wrap_GetClientDisplayRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4065     PyObject 
*resultobj
; 
4071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
; 
4073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4074         result 
= wxGetClientDisplayRect(); 
4076         wxPyEndAllowThreads(__tstate
); 
4077         if (PyErr_Occurred()) SWIG_fail
; 
4081         resultptr 
= new wxRect((wxRect 
&) result
); 
4082         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
4090 static PyObject 
*_wrap_SetCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4091     PyObject 
*resultobj
; 
4092     wxCursor 
*arg1 
= 0 ; 
4093     PyObject 
* obj0 
= 0 ; 
4095         (char *) "cursor", NULL 
 
4098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
; 
4099     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4100     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4103         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4110         wxPyEndAllowThreads(__tstate
); 
4111         if (PyErr_Occurred()) SWIG_fail
; 
4113     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4120 static PyObject 
*_wrap_BeginBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4121     PyObject 
*resultobj
; 
4122     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
4123     PyObject 
* obj0 
= 0 ; 
4125         (char *) "cursor", NULL 
 
4128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
; 
4130         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4131         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4135         wxBeginBusyCursor(arg1
); 
4137         wxPyEndAllowThreads(__tstate
); 
4138         if (PyErr_Occurred()) SWIG_fail
; 
4140     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4147 static PyObject 
*_wrap_GetActiveWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4148     PyObject 
*resultobj
; 
4154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
; 
4156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4157         result 
= (wxWindow 
*)wxGetActiveWindow(); 
4159         wxPyEndAllowThreads(__tstate
); 
4160         if (PyErr_Occurred()) SWIG_fail
; 
4163         resultobj 
= wxPyMake_wxObject(result
);  
4171 static PyObject 
*_wrap_GenericFindWindowAtPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4172     PyObject 
*resultobj
; 
4176     PyObject 
* obj0 
= 0 ; 
4181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4184         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4188         result 
= (wxWindow 
*)wxGenericFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4190         wxPyEndAllowThreads(__tstate
); 
4191         if (PyErr_Occurred()) SWIG_fail
; 
4194         resultobj 
= wxPyMake_wxObject(result
);  
4202 static PyObject 
*_wrap_FindWindowAtPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4203     PyObject 
*resultobj
; 
4207     PyObject 
* obj0 
= 0 ; 
4212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4215         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4219         result 
= (wxWindow 
*)wxFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4221         wxPyEndAllowThreads(__tstate
); 
4222         if (PyErr_Occurred()) SWIG_fail
; 
4225         resultobj 
= wxPyMake_wxObject(result
);  
4233 static PyObject 
*_wrap_GetTopLevelParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4234     PyObject 
*resultobj
; 
4235     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4237     PyObject 
* obj0 
= 0 ; 
4239         (char *) "win", NULL 
 
4242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
; 
4243     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4244     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4247         result 
= (wxWindow 
*)wxGetTopLevelParent(arg1
); 
4249         wxPyEndAllowThreads(__tstate
); 
4250         if (PyErr_Occurred()) SWIG_fail
; 
4253         resultobj 
= wxPyMake_wxObject(result
);  
4261 static PyObject 
*_wrap_GetKeyState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4262     PyObject 
*resultobj
; 
4265     PyObject 
* obj0 
= 0 ; 
4267         (char *) "key", NULL 
 
4270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
; 
4271     arg1 
= (wxKeyCode
) SWIG_AsInt(obj0
);  
4272     if (PyErr_Occurred()) SWIG_fail
; 
4274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4275         result 
= (bool)wxGetKeyState((wxKeyCode 
)arg1
); 
4277         wxPyEndAllowThreads(__tstate
); 
4278         if (PyErr_Occurred()) SWIG_fail
; 
4281         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4289 static PyObject 
*_wrap_WakeUpMainThread(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4290     PyObject 
*resultobj
; 
4295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
; 
4297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4298         wxWakeUpMainThread(); 
4300         wxPyEndAllowThreads(__tstate
); 
4301         if (PyErr_Occurred()) SWIG_fail
; 
4303     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4310 static PyObject 
*_wrap_MutexGuiEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4311     PyObject 
*resultobj
; 
4316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
; 
4318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4321         wxPyEndAllowThreads(__tstate
); 
4322         if (PyErr_Occurred()) SWIG_fail
; 
4324     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4331 static PyObject 
*_wrap_MutexGuiLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4332     PyObject 
*resultobj
; 
4337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
; 
4339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4342         wxPyEndAllowThreads(__tstate
); 
4343         if (PyErr_Occurred()) SWIG_fail
; 
4345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4352 static PyObject 
*_wrap_new_MutexGuiLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4353     PyObject 
*resultobj
; 
4354     wxMutexGuiLocker 
*result
; 
4359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
; 
4361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4362         result 
= (wxMutexGuiLocker 
*)new wxMutexGuiLocker(); 
4364         wxPyEndAllowThreads(__tstate
); 
4365         if (PyErr_Occurred()) SWIG_fail
; 
4367     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1); 
4374 static PyObject 
*_wrap_delete_MutexGuiLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4375     PyObject 
*resultobj
; 
4376     wxMutexGuiLocker 
*arg1 
= (wxMutexGuiLocker 
*) 0 ; 
4377     PyObject 
* obj0 
= 0 ; 
4379         (char *) "self", NULL 
 
4382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
; 
4383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
, 
4384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4389         wxPyEndAllowThreads(__tstate
); 
4390         if (PyErr_Occurred()) SWIG_fail
; 
4392     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4399 static PyObject 
* MutexGuiLocker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4401     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4402     SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
); 
4404     return Py_BuildValue((char *)""); 
4406 static PyObject 
*_wrap_Thread_IsMain(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4407     PyObject 
*resultobj
; 
4413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
; 
4415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4416         result 
= (bool)wxThread_IsMain(); 
4418         wxPyEndAllowThreads(__tstate
); 
4419         if (PyErr_Occurred()) SWIG_fail
; 
4422         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4430 static PyObject 
*_wrap_new_ToolTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4431     PyObject 
*resultobj
; 
4432     wxString 
*arg1 
= 0 ; 
4434     bool temp1 
= False 
; 
4435     PyObject 
* obj0 
= 0 ; 
4437         (char *) "tip", NULL 
 
4440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
; 
4442         arg1 
= wxString_in_helper(obj0
); 
4443         if (arg1 
== NULL
) SWIG_fail
; 
4447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4448         result 
= (wxToolTip 
*)new wxToolTip((wxString 
const &)*arg1
); 
4450         wxPyEndAllowThreads(__tstate
); 
4451         if (PyErr_Occurred()) SWIG_fail
; 
4454         resultobj 
= wxPyMake_wxObject(result
);  
4470 static PyObject 
*_wrap_ToolTip_SetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4471     PyObject 
*resultobj
; 
4472     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4473     wxString 
*arg2 
= 0 ; 
4474     bool temp2 
= False 
; 
4475     PyObject 
* obj0 
= 0 ; 
4476     PyObject 
* obj1 
= 0 ; 
4478         (char *) "self",(char *) "tip", NULL 
 
4481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
4482     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4485         arg2 
= wxString_in_helper(obj1
); 
4486         if (arg2 
== NULL
) SWIG_fail
; 
4490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4491         (arg1
)->SetTip((wxString 
const &)*arg2
); 
4493         wxPyEndAllowThreads(__tstate
); 
4494         if (PyErr_Occurred()) SWIG_fail
; 
4496     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4511 static PyObject 
*_wrap_ToolTip_GetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4512     PyObject 
*resultobj
; 
4513     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4515     PyObject 
* obj0 
= 0 ; 
4517         (char *) "self", NULL 
 
4520     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
; 
4521     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4522     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4524         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4525         result 
= (arg1
)->GetTip(); 
4527         wxPyEndAllowThreads(__tstate
); 
4528         if (PyErr_Occurred()) SWIG_fail
; 
4532         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4534         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4543 static PyObject 
*_wrap_ToolTip_GetWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4544     PyObject 
*resultobj
; 
4545     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4547     PyObject 
* obj0 
= 0 ; 
4549         (char *) "self", NULL 
 
4552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
; 
4553     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4554     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4557         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
4559         wxPyEndAllowThreads(__tstate
); 
4560         if (PyErr_Occurred()) SWIG_fail
; 
4563         resultobj 
= wxPyMake_wxObject(result
);  
4571 static PyObject 
*_wrap_ToolTip_Enable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4572     PyObject 
*resultobj
; 
4574     PyObject 
* obj0 
= 0 ; 
4576         (char *) "flag", NULL 
 
4579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
; 
4580     arg1 
= (bool) SWIG_AsBool(obj0
);  
4581     if (PyErr_Occurred()) SWIG_fail
; 
4583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4584         wxToolTip::Enable(arg1
); 
4586         wxPyEndAllowThreads(__tstate
); 
4587         if (PyErr_Occurred()) SWIG_fail
; 
4589     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4596 static PyObject 
*_wrap_ToolTip_SetDelay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4597     PyObject 
*resultobj
; 
4599     PyObject 
* obj0 
= 0 ; 
4601         (char *) "milliseconds", NULL 
 
4604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
; 
4605     arg1 
= (long) SWIG_AsLong(obj0
);  
4606     if (PyErr_Occurred()) SWIG_fail
; 
4608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4609         wxToolTip::SetDelay(arg1
); 
4611         wxPyEndAllowThreads(__tstate
); 
4612         if (PyErr_Occurred()) SWIG_fail
; 
4614     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4621 static PyObject 
* ToolTip_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4623     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4624     SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
); 
4626     return Py_BuildValue((char *)""); 
4628 static PyObject 
*_wrap_new_Caret(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4629     PyObject 
*resultobj
; 
4630     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4634     PyObject 
* obj0 
= 0 ; 
4635     PyObject 
* obj1 
= 0 ; 
4637         (char *) "window",(char *) "size", NULL 
 
4640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
; 
4641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4645         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4649         result 
= (wxCaret 
*)new wxCaret(arg1
,(wxSize 
const &)*arg2
); 
4651         wxPyEndAllowThreads(__tstate
); 
4652         if (PyErr_Occurred()) SWIG_fail
; 
4654     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1); 
4661 static PyObject 
*_wrap_delete_Caret(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4662     PyObject 
*resultobj
; 
4663     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4664     PyObject 
* obj0 
= 0 ; 
4666         (char *) "self", NULL 
 
4669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
; 
4670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4676         wxPyEndAllowThreads(__tstate
); 
4677         if (PyErr_Occurred()) SWIG_fail
; 
4679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4686 static PyObject 
*_wrap_Caret_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4687     PyObject 
*resultobj
; 
4688     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4690     PyObject 
* obj0 
= 0 ; 
4692         (char *) "self", NULL 
 
4695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
; 
4696     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4697     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4700         result 
= (bool)(arg1
)->IsOk(); 
4702         wxPyEndAllowThreads(__tstate
); 
4703         if (PyErr_Occurred()) SWIG_fail
; 
4706         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4714 static PyObject 
*_wrap_Caret_IsVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4715     PyObject 
*resultobj
; 
4716     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4718     PyObject 
* obj0 
= 0 ; 
4720         (char *) "self", NULL 
 
4723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
; 
4724     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4725     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4728         result 
= (bool)(arg1
)->IsVisible(); 
4730         wxPyEndAllowThreads(__tstate
); 
4731         if (PyErr_Occurred()) SWIG_fail
; 
4734         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4742 static PyObject 
*_wrap_Caret_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4743     PyObject 
*resultobj
; 
4744     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4746     PyObject 
* obj0 
= 0 ; 
4748         (char *) "self", NULL 
 
4751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
; 
4752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4756         result 
= (arg1
)->GetPosition(); 
4758         wxPyEndAllowThreads(__tstate
); 
4759         if (PyErr_Occurred()) SWIG_fail
; 
4762         wxPoint 
* resultptr
; 
4763         resultptr 
= new wxPoint((wxPoint 
&) result
); 
4764         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
4772 static PyObject 
*_wrap_Caret_GetPositionTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4773     PyObject 
*resultobj
; 
4774     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4775     int *arg2 
= (int *) 0 ; 
4776     int *arg3 
= (int *) 0 ; 
4779     PyObject 
* obj0 
= 0 ; 
4781         (char *) "self", NULL 
 
4786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
; 
4787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4791         (arg1
)->GetPosition(arg2
,arg3
); 
4793         wxPyEndAllowThreads(__tstate
); 
4794         if (PyErr_Occurred()) SWIG_fail
; 
4796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4798         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4799         resultobj 
= t_output_helper(resultobj
,o
); 
4802         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4803         resultobj 
= t_output_helper(resultobj
,o
); 
4811 static PyObject 
*_wrap_Caret_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4812     PyObject 
*resultobj
; 
4813     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4815     PyObject 
* obj0 
= 0 ; 
4817         (char *) "self", NULL 
 
4820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
; 
4821     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4822     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4825         result 
= (arg1
)->GetSize(); 
4827         wxPyEndAllowThreads(__tstate
); 
4828         if (PyErr_Occurred()) SWIG_fail
; 
4832         resultptr 
= new wxSize((wxSize 
&) result
); 
4833         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4841 static PyObject 
*_wrap_Caret_GetSizeTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4842     PyObject 
*resultobj
; 
4843     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4844     int *arg2 
= (int *) 0 ; 
4845     int *arg3 
= (int *) 0 ; 
4848     PyObject 
* obj0 
= 0 ; 
4850         (char *) "self", NULL 
 
4855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
4856     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4857     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4860         (arg1
)->GetSize(arg2
,arg3
); 
4862         wxPyEndAllowThreads(__tstate
); 
4863         if (PyErr_Occurred()) SWIG_fail
; 
4865     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4867         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4868         resultobj 
= t_output_helper(resultobj
,o
); 
4871         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4872         resultobj 
= t_output_helper(resultobj
,o
); 
4880 static PyObject 
*_wrap_Caret_GetWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4881     PyObject 
*resultobj
; 
4882     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4884     PyObject 
* obj0 
= 0 ; 
4886         (char *) "self", NULL 
 
4889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
; 
4890     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4891     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4894         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
4896         wxPyEndAllowThreads(__tstate
); 
4897         if (PyErr_Occurred()) SWIG_fail
; 
4900         resultobj 
= wxPyMake_wxObject(result
);  
4908 static PyObject 
*_wrap_Caret_MoveXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4909     PyObject 
*resultobj
; 
4910     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4913     PyObject 
* obj0 
= 0 ; 
4914     PyObject 
* obj1 
= 0 ; 
4915     PyObject 
* obj2 
= 0 ; 
4917         (char *) "self",(char *) "x",(char *) "y", NULL 
 
4920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4921     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4922     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4923     arg2 
= (int) SWIG_AsInt(obj1
);  
4924     if (PyErr_Occurred()) SWIG_fail
; 
4925     arg3 
= (int) SWIG_AsInt(obj2
);  
4926     if (PyErr_Occurred()) SWIG_fail
; 
4928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4929         (arg1
)->Move(arg2
,arg3
); 
4931         wxPyEndAllowThreads(__tstate
); 
4932         if (PyErr_Occurred()) SWIG_fail
; 
4934     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4941 static PyObject 
*_wrap_Caret_Move(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4942     PyObject 
*resultobj
; 
4943     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4946     PyObject 
* obj0 
= 0 ; 
4947     PyObject 
* obj1 
= 0 ; 
4949         (char *) "self",(char *) "pt", NULL 
 
4952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
; 
4953     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4957         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4960         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4961         (arg1
)->Move((wxPoint 
const &)*arg2
); 
4963         wxPyEndAllowThreads(__tstate
); 
4964         if (PyErr_Occurred()) SWIG_fail
; 
4966     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4973 static PyObject 
*_wrap_Caret_SetSizeWH(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4974     PyObject 
*resultobj
; 
4975     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4978     PyObject 
* obj0 
= 0 ; 
4979     PyObject 
* obj1 
= 0 ; 
4980     PyObject 
* obj2 
= 0 ; 
4982         (char *) "self",(char *) "width",(char *) "height", NULL 
 
4985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4988     arg2 
= (int) SWIG_AsInt(obj1
);  
4989     if (PyErr_Occurred()) SWIG_fail
; 
4990     arg3 
= (int) SWIG_AsInt(obj2
);  
4991     if (PyErr_Occurred()) SWIG_fail
; 
4993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4994         (arg1
)->SetSize(arg2
,arg3
); 
4996         wxPyEndAllowThreads(__tstate
); 
4997         if (PyErr_Occurred()) SWIG_fail
; 
4999     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5006 static PyObject 
*_wrap_Caret_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5007     PyObject 
*resultobj
; 
5008     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5011     PyObject 
* obj0 
= 0 ; 
5012     PyObject 
* obj1 
= 0 ; 
5014         (char *) "self",(char *) "size", NULL 
 
5017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5018     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5019     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5022         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5026         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
5028         wxPyEndAllowThreads(__tstate
); 
5029         if (PyErr_Occurred()) SWIG_fail
; 
5031     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5038 static PyObject 
*_wrap_Caret_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5039     PyObject 
*resultobj
; 
5040     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5041     int arg2 
= (int) True 
; 
5042     PyObject 
* obj0 
= 0 ; 
5043     PyObject 
* obj1 
= 0 ; 
5045         (char *) "self",(char *) "show", NULL 
 
5048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
5049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5052         arg2 
= (int) SWIG_AsInt(obj1
);  
5053         if (PyErr_Occurred()) SWIG_fail
; 
5056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5059         wxPyEndAllowThreads(__tstate
); 
5060         if (PyErr_Occurred()) SWIG_fail
; 
5062     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5069 static PyObject 
*_wrap_Caret_Hide(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5070     PyObject 
*resultobj
; 
5071     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5072     PyObject 
* obj0 
= 0 ; 
5074         (char *) "self", NULL 
 
5077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
; 
5078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5084         wxPyEndAllowThreads(__tstate
); 
5085         if (PyErr_Occurred()) SWIG_fail
; 
5087     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5094 static PyObject 
* Caret_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5096     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5097     SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
); 
5099     return Py_BuildValue((char *)""); 
5101 static PyObject 
*_wrap_Caret_GetBlinkTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5102     PyObject 
*resultobj
; 
5108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
; 
5110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5111         result 
= (int)wxCaret_GetBlinkTime(); 
5113         wxPyEndAllowThreads(__tstate
); 
5114         if (PyErr_Occurred()) SWIG_fail
; 
5116     resultobj 
= SWIG_FromInt((int)result
); 
5123 static PyObject 
*_wrap_Caret_SetBlinkTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5124     PyObject 
*resultobj
; 
5126     PyObject 
* obj0 
= 0 ; 
5128         (char *) "milliseconds", NULL 
 
5131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
; 
5132     arg1 
= (int) SWIG_AsInt(obj0
);  
5133     if (PyErr_Occurred()) SWIG_fail
; 
5135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5136         wxCaret_SetBlinkTime(arg1
); 
5138         wxPyEndAllowThreads(__tstate
); 
5139         if (PyErr_Occurred()) SWIG_fail
; 
5141     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5148 static PyObject 
*_wrap_new_BusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5149     PyObject 
*resultobj
; 
5150     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
5151     wxBusyCursor 
*result
; 
5152     PyObject 
* obj0 
= 0 ; 
5154         (char *) "cursor", NULL 
 
5157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5159         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5160         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5164         result 
= (wxBusyCursor 
*)new wxBusyCursor(arg1
); 
5166         wxPyEndAllowThreads(__tstate
); 
5167         if (PyErr_Occurred()) SWIG_fail
; 
5169     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1); 
5176 static PyObject 
*_wrap_delete_BusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5177     PyObject 
*resultobj
; 
5178     wxBusyCursor 
*arg1 
= (wxBusyCursor 
*) 0 ; 
5179     PyObject 
* obj0 
= 0 ; 
5181         (char *) "self", NULL 
 
5184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5185     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
, 
5186     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5191         wxPyEndAllowThreads(__tstate
); 
5192         if (PyErr_Occurred()) SWIG_fail
; 
5194     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5201 static PyObject 
* BusyCursor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5203     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5204     SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
); 
5206     return Py_BuildValue((char *)""); 
5208 static PyObject 
*_wrap_new_WindowDisabler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5209     PyObject 
*resultobj
; 
5210     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
5211     wxWindowDisabler 
*result
; 
5212     PyObject 
* obj0 
= 0 ; 
5214         (char *) "winToSkip", NULL 
 
5217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5219         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5220         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5224         result 
= (wxWindowDisabler 
*)new wxWindowDisabler(arg1
); 
5226         wxPyEndAllowThreads(__tstate
); 
5227         if (PyErr_Occurred()) SWIG_fail
; 
5229     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1); 
5236 static PyObject 
*_wrap_delete_WindowDisabler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5237     PyObject 
*resultobj
; 
5238     wxWindowDisabler 
*arg1 
= (wxWindowDisabler 
*) 0 ; 
5239     PyObject 
* obj0 
= 0 ; 
5241         (char *) "self", NULL 
 
5244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5245     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
, 
5246     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5251         wxPyEndAllowThreads(__tstate
); 
5252         if (PyErr_Occurred()) SWIG_fail
; 
5254     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5261 static PyObject 
* WindowDisabler_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5263     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5264     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
); 
5266     return Py_BuildValue((char *)""); 
5268 static PyObject 
*_wrap_new_BusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5269     PyObject 
*resultobj
; 
5270     wxString 
*arg1 
= 0 ; 
5272     bool temp1 
= False 
; 
5273     PyObject 
* obj0 
= 0 ; 
5275         (char *) "message", NULL 
 
5278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5280         arg1 
= wxString_in_helper(obj0
); 
5281         if (arg1 
== NULL
) SWIG_fail
; 
5285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5286         result 
= (wxBusyInfo 
*)new wxBusyInfo((wxString 
const &)*arg1
); 
5288         wxPyEndAllowThreads(__tstate
); 
5289         if (PyErr_Occurred()) SWIG_fail
; 
5291     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1); 
5306 static PyObject 
*_wrap_delete_BusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5307     PyObject 
*resultobj
; 
5308     wxBusyInfo 
*arg1 
= (wxBusyInfo 
*) 0 ; 
5309     PyObject 
* obj0 
= 0 ; 
5311         (char *) "self", NULL 
 
5314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
, 
5316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5321         wxPyEndAllowThreads(__tstate
); 
5322         if (PyErr_Occurred()) SWIG_fail
; 
5324     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5331 static PyObject 
* BusyInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5333     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5334     SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
); 
5336     return Py_BuildValue((char *)""); 
5338 static PyObject 
*_wrap_new_StopWatch(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5339     PyObject 
*resultobj
; 
5340     wxStopWatch 
*result
; 
5345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
; 
5347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5348         result 
= (wxStopWatch 
*)new wxStopWatch(); 
5350         wxPyEndAllowThreads(__tstate
); 
5351         if (PyErr_Occurred()) SWIG_fail
; 
5353     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1); 
5360 static PyObject 
*_wrap_StopWatch_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5361     PyObject 
*resultobj
; 
5362     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5363     long arg2 
= (long) 0 ; 
5364     PyObject 
* obj0 
= 0 ; 
5365     PyObject 
* obj1 
= 0 ; 
5367         (char *) "self",(char *) "t0", NULL 
 
5370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
; 
5371     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5372     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5374         arg2 
= (long) SWIG_AsLong(obj1
);  
5375         if (PyErr_Occurred()) SWIG_fail
; 
5378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5379         (arg1
)->Start(arg2
); 
5381         wxPyEndAllowThreads(__tstate
); 
5382         if (PyErr_Occurred()) SWIG_fail
; 
5384     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5391 static PyObject 
*_wrap_StopWatch_Pause(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5392     PyObject 
*resultobj
; 
5393     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5394     PyObject 
* obj0 
= 0 ; 
5396         (char *) "self", NULL 
 
5399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
; 
5400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5406         wxPyEndAllowThreads(__tstate
); 
5407         if (PyErr_Occurred()) SWIG_fail
; 
5409     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5416 static PyObject 
*_wrap_StopWatch_Resume(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5417     PyObject 
*resultobj
; 
5418     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5419     PyObject 
* obj0 
= 0 ; 
5421         (char *) "self", NULL 
 
5424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
; 
5425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5431         wxPyEndAllowThreads(__tstate
); 
5432         if (PyErr_Occurred()) SWIG_fail
; 
5434     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5441 static PyObject 
*_wrap_StopWatch_Time(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5442     PyObject 
*resultobj
; 
5443     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5445     PyObject 
* obj0 
= 0 ; 
5447         (char *) "self", NULL 
 
5450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
; 
5451     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5455         result 
= (long)((wxStopWatch 
const *)arg1
)->Time(); 
5457         wxPyEndAllowThreads(__tstate
); 
5458         if (PyErr_Occurred()) SWIG_fail
; 
5460     resultobj 
= SWIG_FromLong((long)result
); 
5467 static PyObject 
* StopWatch_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5469     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5470     SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
); 
5472     return Py_BuildValue((char *)""); 
5474 static PyObject 
*_wrap_new_FileHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5475     PyObject 
*resultobj
; 
5476     int arg1 
= (int) 9 ; 
5477     wxFileHistory 
*result
; 
5478     PyObject 
* obj0 
= 0 ; 
5480         (char *) "maxFiles", NULL 
 
5483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
; 
5485         arg1 
= (int) SWIG_AsInt(obj0
);  
5486         if (PyErr_Occurred()) SWIG_fail
; 
5489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5490         result 
= (wxFileHistory 
*)new wxFileHistory(arg1
); 
5492         wxPyEndAllowThreads(__tstate
); 
5493         if (PyErr_Occurred()) SWIG_fail
; 
5495     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1); 
5502 static PyObject 
*_wrap_delete_FileHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5503     PyObject 
*resultobj
; 
5504     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5505     PyObject 
* obj0 
= 0 ; 
5507         (char *) "self", NULL 
 
5510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
; 
5511     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5512     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5517         wxPyEndAllowThreads(__tstate
); 
5518         if (PyErr_Occurred()) SWIG_fail
; 
5520     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5527 static PyObject 
*_wrap_FileHistory_AddFileToHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5528     PyObject 
*resultobj
; 
5529     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5530     wxString 
*arg2 
= 0 ; 
5531     bool temp2 
= False 
; 
5532     PyObject 
* obj0 
= 0 ; 
5533     PyObject 
* obj1 
= 0 ; 
5535         (char *) "self",(char *) "file", NULL 
 
5538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5542         arg2 
= wxString_in_helper(obj1
); 
5543         if (arg2 
== NULL
) SWIG_fail
; 
5547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5548         (arg1
)->AddFileToHistory((wxString 
const &)*arg2
); 
5550         wxPyEndAllowThreads(__tstate
); 
5551         if (PyErr_Occurred()) SWIG_fail
; 
5553     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5568 static PyObject 
*_wrap_FileHistory_RemoveFileFromHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5569     PyObject 
*resultobj
; 
5570     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5572     PyObject 
* obj0 
= 0 ; 
5573     PyObject 
* obj1 
= 0 ; 
5575         (char *) "self",(char *) "i", NULL 
 
5578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5579     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5580     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5581     arg2 
= (int) SWIG_AsInt(obj1
);  
5582     if (PyErr_Occurred()) SWIG_fail
; 
5584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5585         (arg1
)->RemoveFileFromHistory(arg2
); 
5587         wxPyEndAllowThreads(__tstate
); 
5588         if (PyErr_Occurred()) SWIG_fail
; 
5590     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5597 static PyObject 
*_wrap_FileHistory_GetMaxFiles(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5598     PyObject 
*resultobj
; 
5599     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5601     PyObject 
* obj0 
= 0 ; 
5603         (char *) "self", NULL 
 
5606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
; 
5607     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5611         result 
= (int)((wxFileHistory 
const *)arg1
)->GetMaxFiles(); 
5613         wxPyEndAllowThreads(__tstate
); 
5614         if (PyErr_Occurred()) SWIG_fail
; 
5616     resultobj 
= SWIG_FromInt((int)result
); 
5623 static PyObject 
*_wrap_FileHistory_UseMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5624     PyObject 
*resultobj
; 
5625     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5626     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5627     PyObject 
* obj0 
= 0 ; 
5628     PyObject 
* obj1 
= 0 ; 
5630         (char *) "self",(char *) "menu", NULL 
 
5633     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5634     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5636     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5639         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5640         (arg1
)->UseMenu(arg2
); 
5642         wxPyEndAllowThreads(__tstate
); 
5643         if (PyErr_Occurred()) SWIG_fail
; 
5645     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5652 static PyObject 
*_wrap_FileHistory_RemoveMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5653     PyObject 
*resultobj
; 
5654     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5655     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5656     PyObject 
* obj0 
= 0 ; 
5657     PyObject 
* obj1 
= 0 ; 
5659         (char *) "self",(char *) "menu", NULL 
 
5662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5663     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5664     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5665     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5669         (arg1
)->RemoveMenu(arg2
); 
5671         wxPyEndAllowThreads(__tstate
); 
5672         if (PyErr_Occurred()) SWIG_fail
; 
5674     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5681 static PyObject 
*_wrap_FileHistory_Load(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5682     PyObject 
*resultobj
; 
5683     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5684     wxConfigBase 
*arg2 
= 0 ; 
5685     PyObject 
* obj0 
= 0 ; 
5686     PyObject 
* obj1 
= 0 ; 
5688         (char *) "self",(char *) "config", NULL 
 
5691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
; 
5692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5694     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
5695     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5698         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5703         (arg1
)->Load(*arg2
); 
5705         wxPyEndAllowThreads(__tstate
); 
5706         if (PyErr_Occurred()) SWIG_fail
; 
5708     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5715 static PyObject 
*_wrap_FileHistory_Save(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5716     PyObject 
*resultobj
; 
5717     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5718     wxConfigBase 
*arg2 
= 0 ; 
5719     PyObject 
* obj0 
= 0 ; 
5720     PyObject 
* obj1 
= 0 ; 
5722         (char *) "self",(char *) "config", NULL 
 
5725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
; 
5726     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5728     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
5729     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5732         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5737         (arg1
)->Save(*arg2
); 
5739         wxPyEndAllowThreads(__tstate
); 
5740         if (PyErr_Occurred()) SWIG_fail
; 
5742     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5749 static PyObject 
*_wrap_FileHistory_AddFilesToMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5750     PyObject 
*resultobj
; 
5751     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5752     PyObject 
* obj0 
= 0 ; 
5754         (char *) "self", NULL 
 
5757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
; 
5758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5762         (arg1
)->AddFilesToMenu(); 
5764         wxPyEndAllowThreads(__tstate
); 
5765         if (PyErr_Occurred()) SWIG_fail
; 
5767     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5774 static PyObject 
*_wrap_FileHistory_AddFilesToThisMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5775     PyObject 
*resultobj
; 
5776     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5777     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5778     PyObject 
* obj0 
= 0 ; 
5779     PyObject 
* obj1 
= 0 ; 
5781         (char *) "self",(char *) "menu", NULL 
 
5784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5787     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5791         (arg1
)->AddFilesToMenu(arg2
); 
5793         wxPyEndAllowThreads(__tstate
); 
5794         if (PyErr_Occurred()) SWIG_fail
; 
5796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5803 static PyObject 
*_wrap_FileHistory_GetHistoryFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5804     PyObject 
*resultobj
; 
5805     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5808     PyObject 
* obj0 
= 0 ; 
5809     PyObject 
* obj1 
= 0 ; 
5811         (char *) "self",(char *) "i", NULL 
 
5814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
5815     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5816     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5817     arg2 
= (int) SWIG_AsInt(obj1
);  
5818     if (PyErr_Occurred()) SWIG_fail
; 
5820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5821         result 
= ((wxFileHistory 
const *)arg1
)->GetHistoryFile(arg2
); 
5823         wxPyEndAllowThreads(__tstate
); 
5824         if (PyErr_Occurred()) SWIG_fail
; 
5828         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5830         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5839 static PyObject 
*_wrap_FileHistory_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5840     PyObject 
*resultobj
; 
5841     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5843     PyObject 
* obj0 
= 0 ; 
5845         (char *) "self", NULL 
 
5848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
; 
5849     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5850     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5853         result 
= (int)((wxFileHistory 
const *)arg1
)->GetCount(); 
5855         wxPyEndAllowThreads(__tstate
); 
5856         if (PyErr_Occurred()) SWIG_fail
; 
5858     resultobj 
= SWIG_FromInt((int)result
); 
5865 static PyObject 
* FileHistory_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5867     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5868     SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
); 
5870     return Py_BuildValue((char *)""); 
5872 static PyObject 
*_wrap_new_SingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5873     PyObject 
*resultobj
; 
5874     wxString 
*arg1 
= 0 ; 
5875     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
5876     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5877     wxSingleInstanceChecker 
*result
; 
5878     bool temp1 
= False 
; 
5879     bool temp2 
= False 
; 
5880     PyObject 
* obj0 
= 0 ; 
5881     PyObject 
* obj1 
= 0 ; 
5883         (char *) "name",(char *) "path", NULL 
 
5886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
; 
5888         arg1 
= wxString_in_helper(obj0
); 
5889         if (arg1 
== NULL
) SWIG_fail
; 
5894             arg2 
= wxString_in_helper(obj1
); 
5895             if (arg2 
== NULL
) SWIG_fail
; 
5900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5901         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
5903         wxPyEndAllowThreads(__tstate
); 
5904         if (PyErr_Occurred()) SWIG_fail
; 
5906     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
5929 static PyObject 
*_wrap_new_PreSingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5930     PyObject 
*resultobj
; 
5931     wxSingleInstanceChecker 
*result
; 
5936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
; 
5938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5939         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker(); 
5941         wxPyEndAllowThreads(__tstate
); 
5942         if (PyErr_Occurred()) SWIG_fail
; 
5944     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
5951 static PyObject 
*_wrap_delete_SingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5952     PyObject 
*resultobj
; 
5953     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
5954     PyObject 
* obj0 
= 0 ; 
5956         (char *) "self", NULL 
 
5959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
; 
5960     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
5961     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5966         wxPyEndAllowThreads(__tstate
); 
5967         if (PyErr_Occurred()) SWIG_fail
; 
5969     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5976 static PyObject 
*_wrap_SingleInstanceChecker_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5977     PyObject 
*resultobj
; 
5978     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
5979     wxString 
*arg2 
= 0 ; 
5980     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
5981     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
5983     bool temp2 
= False 
; 
5984     bool temp3 
= False 
; 
5985     PyObject 
* obj0 
= 0 ; 
5986     PyObject 
* obj1 
= 0 ; 
5987     PyObject 
* obj2 
= 0 ; 
5989         (char *) "self",(char *) "name",(char *) "path", NULL 
 
5992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
5994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5996         arg2 
= wxString_in_helper(obj1
); 
5997         if (arg2 
== NULL
) SWIG_fail
; 
6002             arg3 
= wxString_in_helper(obj2
); 
6003             if (arg3 
== NULL
) SWIG_fail
; 
6008         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6009         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
6011         wxPyEndAllowThreads(__tstate
); 
6012         if (PyErr_Occurred()) SWIG_fail
; 
6015         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6039 static PyObject 
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6040     PyObject 
*resultobj
; 
6041     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
6043     PyObject 
* obj0 
= 0 ; 
6045         (char *) "self", NULL 
 
6048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
; 
6049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
6050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6053         result 
= (bool)((wxSingleInstanceChecker 
const *)arg1
)->IsAnotherRunning(); 
6055         wxPyEndAllowThreads(__tstate
); 
6056         if (PyErr_Occurred()) SWIG_fail
; 
6059         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6067 static PyObject 
* SingleInstanceChecker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6069     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6070     SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
); 
6072     return Py_BuildValue((char *)""); 
6074 static PyObject 
*_wrap_DrawWindowOnDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6075     PyObject 
*resultobj
; 
6076     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6079     PyObject 
* obj0 
= 0 ; 
6080     PyObject 
* obj1 
= 0 ; 
6081     PyObject 
* obj2 
= 0 ; 
6083         (char *) "window",(char *) "dc",(char *) "method", NULL 
 
6086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6089     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
6090     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6093         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6096     arg3 
= (int) SWIG_AsInt(obj2
);  
6097     if (PyErr_Occurred()) SWIG_fail
; 
6099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6100         wxDrawWindowOnDC(arg1
,(wxDC 
const &)*arg2
,arg3
); 
6102         wxPyEndAllowThreads(__tstate
); 
6103         if (PyErr_Occurred()) SWIG_fail
; 
6105     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6112 static PyObject 
*_wrap_delete_TipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6113     PyObject 
*resultobj
; 
6114     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6115     PyObject 
* obj0 
= 0 ; 
6117         (char *) "self", NULL 
 
6120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
; 
6121     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6122     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6127         wxPyEndAllowThreads(__tstate
); 
6128         if (PyErr_Occurred()) SWIG_fail
; 
6130     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6137 static PyObject 
*_wrap_TipProvider_GetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6138     PyObject 
*resultobj
; 
6139     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6141     PyObject 
* obj0 
= 0 ; 
6143         (char *) "self", NULL 
 
6146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
; 
6147     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6148     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6150         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6151         result 
= (arg1
)->GetTip(); 
6153         wxPyEndAllowThreads(__tstate
); 
6154         if (PyErr_Occurred()) SWIG_fail
; 
6158         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6160         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6169 static PyObject 
*_wrap_TipProvider_GetCurrentTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6170     PyObject 
*resultobj
; 
6171     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6173     PyObject 
* obj0 
= 0 ; 
6175         (char *) "self", NULL 
 
6178     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
; 
6179     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6180     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6183         result 
= (size_t)(arg1
)->GetCurrentTip(); 
6185         wxPyEndAllowThreads(__tstate
); 
6186         if (PyErr_Occurred()) SWIG_fail
; 
6188     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
6195 static PyObject 
*_wrap_TipProvider_PreprocessTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6196     PyObject 
*resultobj
; 
6197     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6198     wxString 
*arg2 
= 0 ; 
6200     bool temp2 
= False 
; 
6201     PyObject 
* obj0 
= 0 ; 
6202     PyObject 
* obj1 
= 0 ; 
6204         (char *) "self",(char *) "tip", NULL 
 
6207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
6208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6211         arg2 
= wxString_in_helper(obj1
); 
6212         if (arg2 
== NULL
) SWIG_fail
; 
6216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6217         result 
= (arg1
)->PreprocessTip((wxString 
const &)*arg2
); 
6219         wxPyEndAllowThreads(__tstate
); 
6220         if (PyErr_Occurred()) SWIG_fail
; 
6224         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6226         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6243 static PyObject 
* TipProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6245     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6246     SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
); 
6248     return Py_BuildValue((char *)""); 
6250 static PyObject 
*_wrap_new_PyTipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6251     PyObject 
*resultobj
; 
6253     wxPyTipProvider 
*result
; 
6254     PyObject 
* obj0 
= 0 ; 
6256         (char *) "currentTip", NULL 
 
6259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
; 
6260     arg1 
= (size_t) SWIG_AsUnsignedLong(obj0
);  
6261     if (PyErr_Occurred()) SWIG_fail
; 
6263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6264         result 
= (wxPyTipProvider 
*)new wxPyTipProvider(arg1
); 
6266         wxPyEndAllowThreads(__tstate
); 
6267         if (PyErr_Occurred()) SWIG_fail
; 
6269     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1); 
6276 static PyObject 
*_wrap_PyTipProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6277     PyObject 
*resultobj
; 
6278     wxPyTipProvider 
*arg1 
= (wxPyTipProvider 
*) 0 ; 
6279     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6280     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6281     PyObject 
* obj0 
= 0 ; 
6282     PyObject 
* obj1 
= 0 ; 
6283     PyObject 
* obj2 
= 0 ; 
6285         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
6288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
, 
6290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6295         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
6297         wxPyEndAllowThreads(__tstate
); 
6298         if (PyErr_Occurred()) SWIG_fail
; 
6300     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6307 static PyObject 
* PyTipProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6309     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6310     SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
); 
6312     return Py_BuildValue((char *)""); 
6314 static PyObject 
*_wrap_ShowTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6315     PyObject 
*resultobj
; 
6316     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6317     wxTipProvider 
*arg2 
= (wxTipProvider 
*) 0 ; 
6318     bool arg3 
= (bool) True 
; 
6320     PyObject 
* obj0 
= 0 ; 
6321     PyObject 
* obj1 
= 0 ; 
6322     PyObject 
* obj2 
= 0 ; 
6324         (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL 
 
6327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6328     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6330     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
, 
6331     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6333         arg3 
= (bool) SWIG_AsBool(obj2
);  
6334         if (PyErr_Occurred()) SWIG_fail
; 
6337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6338         result 
= (bool)wxShowTip(arg1
,arg2
,arg3
); 
6340         wxPyEndAllowThreads(__tstate
); 
6341         if (PyErr_Occurred()) SWIG_fail
; 
6344         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6352 static PyObject 
*_wrap_CreateFileTipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6353     PyObject 
*resultobj
; 
6354     wxString 
*arg1 
= 0 ; 
6356     wxTipProvider 
*result
; 
6357     bool temp1 
= False 
; 
6358     PyObject 
* obj0 
= 0 ; 
6359     PyObject 
* obj1 
= 0 ; 
6361         (char *) "filename",(char *) "currentTip", NULL 
 
6364     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
; 
6366         arg1 
= wxString_in_helper(obj0
); 
6367         if (arg1 
== NULL
) SWIG_fail
; 
6370     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6371     if (PyErr_Occurred()) SWIG_fail
; 
6373         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6374         result 
= (wxTipProvider 
*)wxCreateFileTipProvider((wxString 
const &)*arg1
,arg2
); 
6376         wxPyEndAllowThreads(__tstate
); 
6377         if (PyErr_Occurred()) SWIG_fail
; 
6379     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1); 
6394 static PyObject 
*_wrap_new_Timer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6395     PyObject 
*resultobj
; 
6396     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
6397     int arg2 
= (int) -1 ; 
6399     PyObject 
* obj0 
= 0 ; 
6400     PyObject 
* obj1 
= 0 ; 
6402         (char *) "owner",(char *) "id", NULL 
 
6405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
; 
6407         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
6408         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6411         arg2 
= (int) SWIG_AsInt(obj1
);  
6412         if (PyErr_Occurred()) SWIG_fail
; 
6415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6416         result 
= (wxPyTimer 
*)new wxPyTimer(arg1
,arg2
); 
6418         wxPyEndAllowThreads(__tstate
); 
6419         if (PyErr_Occurred()) SWIG_fail
; 
6421     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1); 
6428 static PyObject 
*_wrap_delete_Timer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6429     PyObject 
*resultobj
; 
6430     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6431     PyObject 
* obj0 
= 0 ; 
6433         (char *) "self", NULL 
 
6436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
; 
6437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6443         wxPyEndAllowThreads(__tstate
); 
6444         if (PyErr_Occurred()) SWIG_fail
; 
6446     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6453 static PyObject 
*_wrap_Timer__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6454     PyObject 
*resultobj
; 
6455     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6456     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6457     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6458     int arg4 
= (int) 1 ; 
6459     PyObject 
* obj0 
= 0 ; 
6460     PyObject 
* obj1 
= 0 ; 
6461     PyObject 
* obj2 
= 0 ; 
6462     PyObject 
* obj3 
= 0 ; 
6464         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
6467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6468     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6469     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6473         arg4 
= (int) SWIG_AsInt(obj3
);  
6474         if (PyErr_Occurred()) SWIG_fail
; 
6477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6478         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
6480         wxPyEndAllowThreads(__tstate
); 
6481         if (PyErr_Occurred()) SWIG_fail
; 
6483     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6490 static PyObject 
*_wrap_Timer_SetOwner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6491     PyObject 
*resultobj
; 
6492     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6493     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
6494     int arg3 
= (int) -1 ; 
6495     PyObject 
* obj0 
= 0 ; 
6496     PyObject 
* obj1 
= 0 ; 
6497     PyObject 
* obj2 
= 0 ; 
6499         (char *) "self",(char *) "owner",(char *) "id", NULL 
 
6502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6503     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6504     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6505     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
, 
6506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6508         arg3 
= (int) SWIG_AsInt(obj2
);  
6509         if (PyErr_Occurred()) SWIG_fail
; 
6512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6513         (arg1
)->SetOwner(arg2
,arg3
); 
6515         wxPyEndAllowThreads(__tstate
); 
6516         if (PyErr_Occurred()) SWIG_fail
; 
6518     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6525 static PyObject 
*_wrap_Timer_GetOwner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6526     PyObject 
*resultobj
; 
6527     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6528     wxEvtHandler 
*result
; 
6529     PyObject 
* obj0 
= 0 ; 
6531         (char *) "self", NULL 
 
6534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
; 
6535     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6539         result 
= (wxEvtHandler 
*)(arg1
)->GetOwner(); 
6541         wxPyEndAllowThreads(__tstate
); 
6542         if (PyErr_Occurred()) SWIG_fail
; 
6545         resultobj 
= wxPyMake_wxObject(result
);  
6553 static PyObject 
*_wrap_Timer_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6554     PyObject 
*resultobj
; 
6555     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6556     int arg2 
= (int) -1 ; 
6557     bool arg3 
= (bool) False 
; 
6559     PyObject 
* obj0 
= 0 ; 
6560     PyObject 
* obj1 
= 0 ; 
6561     PyObject 
* obj2 
= 0 ; 
6563         (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL 
 
6566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6568     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6570         arg2 
= (int) SWIG_AsInt(obj1
);  
6571         if (PyErr_Occurred()) SWIG_fail
; 
6574         arg3 
= (bool) SWIG_AsBool(obj2
);  
6575         if (PyErr_Occurred()) SWIG_fail
; 
6578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6579         result 
= (bool)(arg1
)->Start(arg2
,arg3
); 
6581         wxPyEndAllowThreads(__tstate
); 
6582         if (PyErr_Occurred()) SWIG_fail
; 
6585         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6593 static PyObject 
*_wrap_Timer_Stop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6594     PyObject 
*resultobj
; 
6595     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6596     PyObject 
* obj0 
= 0 ; 
6598         (char *) "self", NULL 
 
6601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
; 
6602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6608         wxPyEndAllowThreads(__tstate
); 
6609         if (PyErr_Occurred()) SWIG_fail
; 
6611     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6618 static PyObject 
*_wrap_Timer_IsRunning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6619     PyObject 
*resultobj
; 
6620     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6622     PyObject 
* obj0 
= 0 ; 
6624         (char *) "self", NULL 
 
6627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
; 
6628     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6632         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsRunning(); 
6634         wxPyEndAllowThreads(__tstate
); 
6635         if (PyErr_Occurred()) SWIG_fail
; 
6638         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6646 static PyObject 
*_wrap_Timer_GetInterval(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6647     PyObject 
*resultobj
; 
6648     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6650     PyObject 
* obj0 
= 0 ; 
6652         (char *) "self", NULL 
 
6655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
; 
6656     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6657     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6660         result 
= (int)((wxPyTimer 
const *)arg1
)->GetInterval(); 
6662         wxPyEndAllowThreads(__tstate
); 
6663         if (PyErr_Occurred()) SWIG_fail
; 
6665     resultobj 
= SWIG_FromInt((int)result
); 
6672 static PyObject 
*_wrap_Timer_IsOneShot(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6673     PyObject 
*resultobj
; 
6674     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6676     PyObject 
* obj0 
= 0 ; 
6678         (char *) "self", NULL 
 
6681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
; 
6682     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6683     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6686         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsOneShot(); 
6688         wxPyEndAllowThreads(__tstate
); 
6689         if (PyErr_Occurred()) SWIG_fail
; 
6692         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6700 static PyObject 
*_wrap_Timer_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6701     PyObject 
*resultobj
; 
6702     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6704     PyObject 
* obj0 
= 0 ; 
6706         (char *) "self", NULL 
 
6709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
; 
6710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6714         result 
= (int)((wxPyTimer 
const *)arg1
)->GetId(); 
6716         wxPyEndAllowThreads(__tstate
); 
6717         if (PyErr_Occurred()) SWIG_fail
; 
6719     resultobj 
= SWIG_FromInt((int)result
); 
6726 static PyObject 
* Timer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6728     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6729     SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
); 
6731     return Py_BuildValue((char *)""); 
6733 static PyObject 
*_wrap_new_TimerEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6734     PyObject 
*resultobj
; 
6735     int arg1 
= (int) 0 ; 
6736     int arg2 
= (int) 0 ; 
6737     wxTimerEvent 
*result
; 
6738     PyObject 
* obj0 
= 0 ; 
6739     PyObject 
* obj1 
= 0 ; 
6741         (char *) "timerid",(char *) "interval", NULL 
 
6744     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
6746         arg1 
= (int) SWIG_AsInt(obj0
);  
6747         if (PyErr_Occurred()) SWIG_fail
; 
6750         arg2 
= (int) SWIG_AsInt(obj1
);  
6751         if (PyErr_Occurred()) SWIG_fail
; 
6754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6755         result 
= (wxTimerEvent 
*)new wxTimerEvent(arg1
,arg2
); 
6757         wxPyEndAllowThreads(__tstate
); 
6758         if (PyErr_Occurred()) SWIG_fail
; 
6760     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1); 
6767 static PyObject 
*_wrap_TimerEvent_GetInterval(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6768     PyObject 
*resultobj
; 
6769     wxTimerEvent 
*arg1 
= (wxTimerEvent 
*) 0 ; 
6771     PyObject 
* obj0 
= 0 ; 
6773         (char *) "self", NULL 
 
6776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
; 
6777     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
, 
6778     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6781         result 
= (int)((wxTimerEvent 
const *)arg1
)->GetInterval(); 
6783         wxPyEndAllowThreads(__tstate
); 
6784         if (PyErr_Occurred()) SWIG_fail
; 
6786     resultobj 
= SWIG_FromInt((int)result
); 
6793 static PyObject 
* TimerEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6795     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6796     SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
); 
6798     return Py_BuildValue((char *)""); 
6800 static PyObject 
*_wrap_new_TimerRunner__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
6801     PyObject 
*resultobj
; 
6803     wxTimerRunner 
*result
; 
6804     PyObject 
* obj0 
= 0 ; 
6806     if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
; 
6807     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
6808     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6811         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6816         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
); 
6818         wxPyEndAllowThreads(__tstate
); 
6819         if (PyErr_Occurred()) SWIG_fail
; 
6821     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
6828 static PyObject 
*_wrap_new_TimerRunner__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
6829     PyObject 
*resultobj
; 
6832     bool arg3 
= (bool) False 
; 
6833     wxTimerRunner 
*result
; 
6834     PyObject 
* obj0 
= 0 ; 
6835     PyObject 
* obj1 
= 0 ; 
6836     PyObject 
* obj2 
= 0 ; 
6838     if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
; 
6839     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
6840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6843         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6846     arg2 
= (int) SWIG_AsInt(obj1
);  
6847     if (PyErr_Occurred()) SWIG_fail
; 
6849         arg3 
= (bool) SWIG_AsBool(obj2
);  
6850         if (PyErr_Occurred()) SWIG_fail
; 
6853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6854         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
,arg2
,arg3
); 
6856         wxPyEndAllowThreads(__tstate
); 
6857         if (PyErr_Occurred()) SWIG_fail
; 
6859     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
6866 static PyObject 
*_wrap_new_TimerRunner(PyObject 
*self
, PyObject 
*args
) { 
6871     argc 
= PyObject_Length(args
); 
6872     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
6873         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
6879             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
6887             return _wrap_new_TimerRunner__SWIG_0(self
,args
); 
6890     if ((argc 
>= 2) && (argc 
<= 3)) { 
6894             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
6902             _v 
= SWIG_CheckInt(argv
[1]); 
6905                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
6907                 _v 
= SWIG_CheckBool(argv
[2]); 
6909                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
6915     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'"); 
6920 static PyObject 
*_wrap_delete_TimerRunner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6921     PyObject 
*resultobj
; 
6922     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
6923     PyObject 
* obj0 
= 0 ; 
6925         (char *) "self", NULL 
 
6928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
; 
6929     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
6930     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6935         wxPyEndAllowThreads(__tstate
); 
6936         if (PyErr_Occurred()) SWIG_fail
; 
6938     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6945 static PyObject 
*_wrap_TimerRunner_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6946     PyObject 
*resultobj
; 
6947     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
6949     bool arg3 
= (bool) False 
; 
6950     PyObject 
* obj0 
= 0 ; 
6951     PyObject 
* obj1 
= 0 ; 
6952     PyObject 
* obj2 
= 0 ; 
6954         (char *) "self",(char *) "milli",(char *) "oneShot", NULL 
 
6957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
6959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6960     arg2 
= (int) SWIG_AsInt(obj1
);  
6961     if (PyErr_Occurred()) SWIG_fail
; 
6963         arg3 
= (bool) SWIG_AsBool(obj2
);  
6964         if (PyErr_Occurred()) SWIG_fail
; 
6967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6968         (arg1
)->Start(arg2
,arg3
); 
6970         wxPyEndAllowThreads(__tstate
); 
6971         if (PyErr_Occurred()) SWIG_fail
; 
6973     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6980 static PyObject 
* TimerRunner_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6982     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6983     SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
); 
6985     return Py_BuildValue((char *)""); 
6987 static PyObject 
*_wrap_new_Log(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6988     PyObject 
*resultobj
; 
6994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
; 
6996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6997         result 
= (wxLog 
*)new wxLog(); 
6999         wxPyEndAllowThreads(__tstate
); 
7000         if (PyErr_Occurred()) SWIG_fail
; 
7002     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1); 
7009 static PyObject 
*_wrap_Log_IsEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7010     PyObject 
*resultobj
; 
7016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
; 
7018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7019         result 
= (bool)wxLog::IsEnabled(); 
7021         wxPyEndAllowThreads(__tstate
); 
7022         if (PyErr_Occurred()) SWIG_fail
; 
7025         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7033 static PyObject 
*_wrap_Log_EnableLogging(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7034     PyObject 
*resultobj
; 
7035     bool arg1 
= (bool) True 
; 
7037     PyObject 
* obj0 
= 0 ; 
7039         (char *) "doIt", NULL 
 
7042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
; 
7044         arg1 
= (bool) SWIG_AsBool(obj0
);  
7045         if (PyErr_Occurred()) SWIG_fail
; 
7048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7049         result 
= (bool)wxLog::EnableLogging(arg1
); 
7051         wxPyEndAllowThreads(__tstate
); 
7052         if (PyErr_Occurred()) SWIG_fail
; 
7055         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7063 static PyObject 
*_wrap_Log_OnLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7064     PyObject 
*resultobj
; 
7066     wxChar 
*arg2 
= (wxChar 
*) 0 ; 
7068     PyObject 
* obj0 
= 0 ; 
7069     PyObject 
* obj1 
= 0 ; 
7070     PyObject 
* obj2 
= 0 ; 
7072         (char *) "level",(char *) "szString",(char *) "t", NULL 
 
7075     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7076     arg1 
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);  
7077     if (PyErr_Occurred()) SWIG_fail
; 
7078     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
, 
7079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7080     arg3 
= (time_t) SWIG_AsUnsignedInt(obj2
);  
7081     if (PyErr_Occurred()) SWIG_fail
; 
7083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7084         wxLog::OnLog(arg1
,(wxChar 
const *)arg2
,arg3
); 
7086         wxPyEndAllowThreads(__tstate
); 
7087         if (PyErr_Occurred()) SWIG_fail
; 
7089     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7096 static PyObject 
*_wrap_Log_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7097     PyObject 
*resultobj
; 
7098     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7099     PyObject 
* obj0 
= 0 ; 
7101         (char *) "self", NULL 
 
7104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
; 
7105     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7111         wxPyEndAllowThreads(__tstate
); 
7112         if (PyErr_Occurred()) SWIG_fail
; 
7114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7121 static PyObject 
*_wrap_Log_FlushActive(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7122     PyObject 
*resultobj
; 
7127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
; 
7129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7130         wxLog::FlushActive(); 
7132         wxPyEndAllowThreads(__tstate
); 
7133         if (PyErr_Occurred()) SWIG_fail
; 
7135     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7142 static PyObject 
*_wrap_Log_GetActiveTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7143     PyObject 
*resultobj
; 
7149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
; 
7151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7152         result 
= (wxLog 
*)wxLog::GetActiveTarget(); 
7154         wxPyEndAllowThreads(__tstate
); 
7155         if (PyErr_Occurred()) SWIG_fail
; 
7157     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7164 static PyObject 
*_wrap_Log_SetActiveTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7165     PyObject 
*resultobj
; 
7166     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7168     PyObject 
* obj0 
= 0 ; 
7170         (char *) "pLogger", NULL 
 
7173     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
; 
7174     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7175     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7178         result 
= (wxLog 
*)wxLog::SetActiveTarget(arg1
); 
7180         wxPyEndAllowThreads(__tstate
); 
7181         if (PyErr_Occurred()) SWIG_fail
; 
7183     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7190 static PyObject 
*_wrap_Log_Suspend(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7191     PyObject 
*resultobj
; 
7196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
; 
7198         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7201         wxPyEndAllowThreads(__tstate
); 
7202         if (PyErr_Occurred()) SWIG_fail
; 
7204     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7211 static PyObject 
*_wrap_Log_Resume(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7212     PyObject 
*resultobj
; 
7217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
; 
7219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7222         wxPyEndAllowThreads(__tstate
); 
7223         if (PyErr_Occurred()) SWIG_fail
; 
7225     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7232 static PyObject 
*_wrap_Log_SetVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7233     PyObject 
*resultobj
; 
7234     bool arg1 
= (bool) True 
; 
7235     PyObject 
* obj0 
= 0 ; 
7237         (char *) "bVerbose", NULL 
 
7240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
; 
7242         arg1 
= (bool) SWIG_AsBool(obj0
);  
7243         if (PyErr_Occurred()) SWIG_fail
; 
7246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7247         wxLog::SetVerbose(arg1
); 
7249         wxPyEndAllowThreads(__tstate
); 
7250         if (PyErr_Occurred()) SWIG_fail
; 
7252     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7259 static PyObject 
*_wrap_Log_SetLogLevel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7260     PyObject 
*resultobj
; 
7262     PyObject 
* obj0 
= 0 ; 
7264         (char *) "logLevel", NULL 
 
7267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
; 
7268     arg1 
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);  
7269     if (PyErr_Occurred()) SWIG_fail
; 
7271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7272         wxLog::SetLogLevel(arg1
); 
7274         wxPyEndAllowThreads(__tstate
); 
7275         if (PyErr_Occurred()) SWIG_fail
; 
7277     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7284 static PyObject 
*_wrap_Log_DontCreateOnDemand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7285     PyObject 
*resultobj
; 
7290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
; 
7292         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7293         wxLog::DontCreateOnDemand(); 
7295         wxPyEndAllowThreads(__tstate
); 
7296         if (PyErr_Occurred()) SWIG_fail
; 
7298     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7305 static PyObject 
*_wrap_Log_SetTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7306     PyObject 
*resultobj
; 
7308     PyObject 
* obj0 
= 0 ; 
7310         (char *) "ulMask", NULL 
 
7313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
; 
7314     arg1 
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);  
7315     if (PyErr_Occurred()) SWIG_fail
; 
7317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7318         wxLog::SetTraceMask(arg1
); 
7320         wxPyEndAllowThreads(__tstate
); 
7321         if (PyErr_Occurred()) SWIG_fail
; 
7323     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7330 static PyObject 
*_wrap_Log_AddTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7331     PyObject 
*resultobj
; 
7332     wxString 
*arg1 
= 0 ; 
7333     bool temp1 
= False 
; 
7334     PyObject 
* obj0 
= 0 ; 
7336         (char *) "str", NULL 
 
7339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
; 
7341         arg1 
= wxString_in_helper(obj0
); 
7342         if (arg1 
== NULL
) SWIG_fail
; 
7346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7347         wxLog::AddTraceMask((wxString 
const &)*arg1
); 
7349         wxPyEndAllowThreads(__tstate
); 
7350         if (PyErr_Occurred()) SWIG_fail
; 
7352     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7367 static PyObject 
*_wrap_Log_RemoveTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7368     PyObject 
*resultobj
; 
7369     wxString 
*arg1 
= 0 ; 
7370     bool temp1 
= False 
; 
7371     PyObject 
* obj0 
= 0 ; 
7373         (char *) "str", NULL 
 
7376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
; 
7378         arg1 
= wxString_in_helper(obj0
); 
7379         if (arg1 
== NULL
) SWIG_fail
; 
7383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7384         wxLog::RemoveTraceMask((wxString 
const &)*arg1
); 
7386         wxPyEndAllowThreads(__tstate
); 
7387         if (PyErr_Occurred()) SWIG_fail
; 
7389     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7404 static PyObject 
*_wrap_Log_ClearTraceMasks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7405     PyObject 
*resultobj
; 
7410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
; 
7412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7413         wxLog::ClearTraceMasks(); 
7415         wxPyEndAllowThreads(__tstate
); 
7416         if (PyErr_Occurred()) SWIG_fail
; 
7418     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7425 static PyObject 
*_wrap_Log_GetTraceMasks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7426     PyObject 
*resultobj
; 
7427     wxArrayString 
*result
; 
7432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
; 
7434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7436             wxArrayString 
const &_result_ref 
= wxLog::GetTraceMasks(); 
7437             result 
= (wxArrayString 
*) &_result_ref
; 
7440         wxPyEndAllowThreads(__tstate
); 
7441         if (PyErr_Occurred()) SWIG_fail
; 
7444         resultobj 
= wxArrayString2PyList_helper(*result
); 
7452 static PyObject 
*_wrap_Log_SetTimestamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7453     PyObject 
*resultobj
; 
7454     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7455     PyObject 
* obj0 
= 0 ; 
7460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
; 
7461     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7465         wxLog::SetTimestamp((wxChar 
const *)arg1
); 
7467         wxPyEndAllowThreads(__tstate
); 
7468         if (PyErr_Occurred()) SWIG_fail
; 
7470     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7477 static PyObject 
*_wrap_Log_GetVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7478     PyObject 
*resultobj
; 
7484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
; 
7486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7487         result 
= (bool)wxLog::GetVerbose(); 
7489         wxPyEndAllowThreads(__tstate
); 
7490         if (PyErr_Occurred()) SWIG_fail
; 
7493         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7501 static PyObject 
*_wrap_Log_GetTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7502     PyObject 
*resultobj
; 
7508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
; 
7510         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7511         result 
= (wxTraceMask
)wxLog::GetTraceMask(); 
7513         wxPyEndAllowThreads(__tstate
); 
7514         if (PyErr_Occurred()) SWIG_fail
; 
7516     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7523 static PyObject 
*_wrap_Log_IsAllowedTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7524     PyObject 
*resultobj
; 
7525     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7527     PyObject 
* obj0 
= 0 ; 
7529         (char *) "mask", NULL 
 
7532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
; 
7533     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7534     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7537         result 
= (bool)wxLog::IsAllowedTraceMask((wxChar 
const *)arg1
); 
7539         wxPyEndAllowThreads(__tstate
); 
7540         if (PyErr_Occurred()) SWIG_fail
; 
7543         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7551 static PyObject 
*_wrap_Log_GetLogLevel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7552     PyObject 
*resultobj
; 
7558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
; 
7560         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7561         result 
= (wxLogLevel
)wxLog::GetLogLevel(); 
7563         wxPyEndAllowThreads(__tstate
); 
7564         if (PyErr_Occurred()) SWIG_fail
; 
7566     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7573 static PyObject 
*_wrap_Log_GetTimestamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7574     PyObject 
*resultobj
; 
7580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
; 
7582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7583         result 
= (wxChar 
*)wxLog::GetTimestamp(); 
7585         wxPyEndAllowThreads(__tstate
); 
7586         if (PyErr_Occurred()) SWIG_fail
; 
7588     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0); 
7595 static PyObject 
*_wrap_Log_TimeStamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7596     PyObject 
*resultobj
; 
7602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
; 
7604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7605         result 
= Log_TimeStamp(); 
7607         wxPyEndAllowThreads(__tstate
); 
7608         if (PyErr_Occurred()) SWIG_fail
; 
7612         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7614         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7623 static PyObject 
*_wrap_Log_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7624     PyObject 
*resultobj
; 
7625     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7626     PyObject 
* obj0 
= 0 ; 
7628         (char *) "self", NULL 
 
7631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
; 
7632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7636         wxLog_Destroy(arg1
); 
7638         wxPyEndAllowThreads(__tstate
); 
7639         if (PyErr_Occurred()) SWIG_fail
; 
7641     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7648 static PyObject 
* Log_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7650     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7651     SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
); 
7653     return Py_BuildValue((char *)""); 
7655 static PyObject 
*_wrap_new_LogStderr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7656     PyObject 
*resultobj
; 
7657     wxLogStderr 
*result
; 
7662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
; 
7664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7665         result 
= (wxLogStderr 
*)new wxLogStderr(); 
7667         wxPyEndAllowThreads(__tstate
); 
7668         if (PyErr_Occurred()) SWIG_fail
; 
7670     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1); 
7677 static PyObject 
* LogStderr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7679     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7680     SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
); 
7682     return Py_BuildValue((char *)""); 
7684 static PyObject 
*_wrap_new_LogTextCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7685     PyObject 
*resultobj
; 
7686     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7687     wxLogTextCtrl 
*result
; 
7688     PyObject 
* obj0 
= 0 ; 
7690         (char *) "pTextCtrl", NULL 
 
7693     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
; 
7694     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7695     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7697         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7698         result 
= (wxLogTextCtrl 
*)new wxLogTextCtrl(arg1
); 
7700         wxPyEndAllowThreads(__tstate
); 
7701         if (PyErr_Occurred()) SWIG_fail
; 
7703     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1); 
7710 static PyObject 
* LogTextCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7712     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7713     SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
); 
7715     return Py_BuildValue((char *)""); 
7717 static PyObject 
*_wrap_new_LogGui(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7718     PyObject 
*resultobj
; 
7724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
; 
7726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7727         result 
= (wxLogGui 
*)new wxLogGui(); 
7729         wxPyEndAllowThreads(__tstate
); 
7730         if (PyErr_Occurred()) SWIG_fail
; 
7732     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1); 
7739 static PyObject 
* LogGui_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7741     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7742     SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
); 
7744     return Py_BuildValue((char *)""); 
7746 static PyObject 
*_wrap_new_LogWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7747     PyObject 
*resultobj
; 
7748     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7749     wxString 
*arg2 
= 0 ; 
7750     bool arg3 
= (bool) True 
; 
7751     bool arg4 
= (bool) True 
; 
7752     wxLogWindow 
*result
; 
7753     bool temp2 
= False 
; 
7754     PyObject 
* obj0 
= 0 ; 
7755     PyObject 
* obj1 
= 0 ; 
7756     PyObject 
* obj2 
= 0 ; 
7757     PyObject 
* obj3 
= 0 ; 
7759         (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL 
 
7762     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7763     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
7764     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7766         arg2 
= wxString_in_helper(obj1
); 
7767         if (arg2 
== NULL
) SWIG_fail
; 
7771         arg3 
= (bool) SWIG_AsBool(obj2
);  
7772         if (PyErr_Occurred()) SWIG_fail
; 
7775         arg4 
= (bool) SWIG_AsBool(obj3
);  
7776         if (PyErr_Occurred()) SWIG_fail
; 
7779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7780         result 
= (wxLogWindow 
*)new wxLogWindow(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
7782         wxPyEndAllowThreads(__tstate
); 
7783         if (PyErr_Occurred()) SWIG_fail
; 
7785     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1); 
7800 static PyObject 
*_wrap_LogWindow_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7801     PyObject 
*resultobj
; 
7802     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7803     bool arg2 
= (bool) True 
; 
7804     PyObject 
* obj0 
= 0 ; 
7805     PyObject 
* obj1 
= 0 ; 
7807         (char *) "self",(char *) "bShow", NULL 
 
7810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
7811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7814         arg2 
= (bool) SWIG_AsBool(obj1
);  
7815         if (PyErr_Occurred()) SWIG_fail
; 
7818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7821         wxPyEndAllowThreads(__tstate
); 
7822         if (PyErr_Occurred()) SWIG_fail
; 
7824     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7831 static PyObject 
*_wrap_LogWindow_GetFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7832     PyObject 
*resultobj
; 
7833     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7835     PyObject 
* obj0 
= 0 ; 
7837         (char *) "self", NULL 
 
7840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
; 
7841     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7842     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7845         result 
= (wxFrame 
*)((wxLogWindow 
const *)arg1
)->GetFrame(); 
7847         wxPyEndAllowThreads(__tstate
); 
7848         if (PyErr_Occurred()) SWIG_fail
; 
7851         resultobj 
= wxPyMake_wxObject(result
);  
7859 static PyObject 
*_wrap_LogWindow_GetOldLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7860     PyObject 
*resultobj
; 
7861     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7863     PyObject 
* obj0 
= 0 ; 
7865         (char *) "self", NULL 
 
7868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
; 
7869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7873         result 
= (wxLog 
*)((wxLogWindow 
const *)arg1
)->GetOldLog(); 
7875         wxPyEndAllowThreads(__tstate
); 
7876         if (PyErr_Occurred()) SWIG_fail
; 
7878     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7885 static PyObject 
*_wrap_LogWindow_IsPassingMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7886     PyObject 
*resultobj
; 
7887     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7889     PyObject 
* obj0 
= 0 ; 
7891         (char *) "self", NULL 
 
7894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
7895     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7899         result 
= (bool)((wxLogWindow 
const *)arg1
)->IsPassingMessages(); 
7901         wxPyEndAllowThreads(__tstate
); 
7902         if (PyErr_Occurred()) SWIG_fail
; 
7905         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7913 static PyObject 
*_wrap_LogWindow_PassMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7914     PyObject 
*resultobj
; 
7915     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7917     PyObject 
* obj0 
= 0 ; 
7918     PyObject 
* obj1 
= 0 ; 
7920         (char *) "self",(char *) "bDoPass", NULL 
 
7923     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
7924     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7925     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7926     arg2 
= (bool) SWIG_AsBool(obj1
);  
7927     if (PyErr_Occurred()) SWIG_fail
; 
7929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7930         (arg1
)->PassMessages(arg2
); 
7932         wxPyEndAllowThreads(__tstate
); 
7933         if (PyErr_Occurred()) SWIG_fail
; 
7935     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7942 static PyObject 
* LogWindow_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7944     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7945     SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
); 
7947     return Py_BuildValue((char *)""); 
7949 static PyObject 
*_wrap_new_LogChain(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7950     PyObject 
*resultobj
; 
7951     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7953     PyObject 
* obj0 
= 0 ; 
7955         (char *) "logger", NULL 
 
7958     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
; 
7959     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7960     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7962         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7963         result 
= (wxLogChain 
*)new wxLogChain(arg1
); 
7965         wxPyEndAllowThreads(__tstate
); 
7966         if (PyErr_Occurred()) SWIG_fail
; 
7968     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1); 
7975 static PyObject 
*_wrap_LogChain_SetLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7976     PyObject 
*resultobj
; 
7977     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
7978     wxLog 
*arg2 
= (wxLog 
*) 0 ; 
7979     PyObject 
* obj0 
= 0 ; 
7980     PyObject 
* obj1 
= 0 ; 
7982         (char *) "self",(char *) "logger", NULL 
 
7985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
; 
7986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
7987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7988     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
, 
7989     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7992         (arg1
)->SetLog(arg2
); 
7994         wxPyEndAllowThreads(__tstate
); 
7995         if (PyErr_Occurred()) SWIG_fail
; 
7997     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8004 static PyObject 
*_wrap_LogChain_PassMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8005     PyObject 
*resultobj
; 
8006     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8008     PyObject 
* obj0 
= 0 ; 
8009     PyObject 
* obj1 
= 0 ; 
8011         (char *) "self",(char *) "bDoPass", NULL 
 
8014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
8015     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8016     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8017     arg2 
= (bool) SWIG_AsBool(obj1
);  
8018     if (PyErr_Occurred()) SWIG_fail
; 
8020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8021         (arg1
)->PassMessages(arg2
); 
8023         wxPyEndAllowThreads(__tstate
); 
8024         if (PyErr_Occurred()) SWIG_fail
; 
8026     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8033 static PyObject 
*_wrap_LogChain_IsPassingMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8034     PyObject 
*resultobj
; 
8035     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8037     PyObject 
* obj0 
= 0 ; 
8039         (char *) "self", NULL 
 
8042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
8043     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8044     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8047         result 
= (bool)(arg1
)->IsPassingMessages(); 
8049         wxPyEndAllowThreads(__tstate
); 
8050         if (PyErr_Occurred()) SWIG_fail
; 
8053         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8061 static PyObject 
*_wrap_LogChain_GetOldLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8062     PyObject 
*resultobj
; 
8063     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8065     PyObject 
* obj0 
= 0 ; 
8067         (char *) "self", NULL 
 
8070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
; 
8071     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8072     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8075         result 
= (wxLog 
*)(arg1
)->GetOldLog(); 
8077         wxPyEndAllowThreads(__tstate
); 
8078         if (PyErr_Occurred()) SWIG_fail
; 
8080     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
8087 static PyObject 
* LogChain_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8089     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8090     SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
); 
8092     return Py_BuildValue((char *)""); 
8094 static PyObject 
*_wrap_SysErrorCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8095     PyObject 
*resultobj
; 
8096     unsigned long result
; 
8101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
; 
8103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8104         result 
= (unsigned long)wxSysErrorCode(); 
8106         wxPyEndAllowThreads(__tstate
); 
8107         if (PyErr_Occurred()) SWIG_fail
; 
8109     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
8116 static PyObject 
*_wrap_SysErrorMsg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8117     PyObject 
*resultobj
; 
8118     unsigned long arg1 
= (unsigned long) 0 ; 
8120     PyObject 
* obj0 
= 0 ; 
8122         (char *) "nErrCode", NULL 
 
8125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
; 
8127         arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8128         if (PyErr_Occurred()) SWIG_fail
; 
8131         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8132         result 
= wxSysErrorMsg(arg1
); 
8134         wxPyEndAllowThreads(__tstate
); 
8135         if (PyErr_Occurred()) SWIG_fail
; 
8139         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8141         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8150 static PyObject 
*_wrap_LogFatalError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8151     PyObject 
*resultobj
; 
8152     wxString 
*arg1 
= 0 ; 
8153     bool temp1 
= False 
; 
8154     PyObject 
* obj0 
= 0 ; 
8156         (char *) "msg", NULL 
 
8159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
; 
8161         arg1 
= wxString_in_helper(obj0
); 
8162         if (arg1 
== NULL
) SWIG_fail
; 
8166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8167         wxLogFatalError((wxString 
const &)*arg1
); 
8169         wxPyEndAllowThreads(__tstate
); 
8170         if (PyErr_Occurred()) SWIG_fail
; 
8172     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8187 static PyObject 
*_wrap_LogError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8188     PyObject 
*resultobj
; 
8189     wxString 
*arg1 
= 0 ; 
8190     bool temp1 
= False 
; 
8191     PyObject 
* obj0 
= 0 ; 
8193         (char *) "msg", NULL 
 
8196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
; 
8198         arg1 
= wxString_in_helper(obj0
); 
8199         if (arg1 
== NULL
) SWIG_fail
; 
8203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8204         wxLogError((wxString 
const &)*arg1
); 
8206         wxPyEndAllowThreads(__tstate
); 
8207         if (PyErr_Occurred()) SWIG_fail
; 
8209     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8224 static PyObject 
*_wrap_LogWarning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8225     PyObject 
*resultobj
; 
8226     wxString 
*arg1 
= 0 ; 
8227     bool temp1 
= False 
; 
8228     PyObject 
* obj0 
= 0 ; 
8230         (char *) "msg", NULL 
 
8233     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
; 
8235         arg1 
= wxString_in_helper(obj0
); 
8236         if (arg1 
== NULL
) SWIG_fail
; 
8240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8241         wxLogWarning((wxString 
const &)*arg1
); 
8243         wxPyEndAllowThreads(__tstate
); 
8244         if (PyErr_Occurred()) SWIG_fail
; 
8246     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8261 static PyObject 
*_wrap_LogMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8262     PyObject 
*resultobj
; 
8263     wxString 
*arg1 
= 0 ; 
8264     bool temp1 
= False 
; 
8265     PyObject 
* obj0 
= 0 ; 
8267         (char *) "msg", NULL 
 
8270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
; 
8272         arg1 
= wxString_in_helper(obj0
); 
8273         if (arg1 
== NULL
) SWIG_fail
; 
8277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8278         wxLogMessage((wxString 
const &)*arg1
); 
8280         wxPyEndAllowThreads(__tstate
); 
8281         if (PyErr_Occurred()) SWIG_fail
; 
8283     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8298 static PyObject 
*_wrap_LogInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8299     PyObject 
*resultobj
; 
8300     wxString 
*arg1 
= 0 ; 
8301     bool temp1 
= False 
; 
8302     PyObject 
* obj0 
= 0 ; 
8304         (char *) "msg", NULL 
 
8307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
; 
8309         arg1 
= wxString_in_helper(obj0
); 
8310         if (arg1 
== NULL
) SWIG_fail
; 
8314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8315         wxLogInfo((wxString 
const &)*arg1
); 
8317         wxPyEndAllowThreads(__tstate
); 
8318         if (PyErr_Occurred()) SWIG_fail
; 
8320     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8335 static PyObject 
*_wrap_LogDebug(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8336     PyObject 
*resultobj
; 
8337     wxString 
*arg1 
= 0 ; 
8338     bool temp1 
= False 
; 
8339     PyObject 
* obj0 
= 0 ; 
8341         (char *) "msg", NULL 
 
8344     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
; 
8346         arg1 
= wxString_in_helper(obj0
); 
8347         if (arg1 
== NULL
) SWIG_fail
; 
8351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8352         wxLogDebug((wxString 
const &)*arg1
); 
8354         wxPyEndAllowThreads(__tstate
); 
8355         if (PyErr_Occurred()) SWIG_fail
; 
8357     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8372 static PyObject 
*_wrap_LogVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8373     PyObject 
*resultobj
; 
8374     wxString 
*arg1 
= 0 ; 
8375     bool temp1 
= False 
; 
8376     PyObject 
* obj0 
= 0 ; 
8378         (char *) "msg", NULL 
 
8381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
; 
8383         arg1 
= wxString_in_helper(obj0
); 
8384         if (arg1 
== NULL
) SWIG_fail
; 
8388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8389         wxLogVerbose((wxString 
const &)*arg1
); 
8391         wxPyEndAllowThreads(__tstate
); 
8392         if (PyErr_Occurred()) SWIG_fail
; 
8394     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8409 static PyObject 
*_wrap_LogStatus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8410     PyObject 
*resultobj
; 
8411     wxString 
*arg1 
= 0 ; 
8412     bool temp1 
= False 
; 
8413     PyObject 
* obj0 
= 0 ; 
8415         (char *) "msg", NULL 
 
8418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
; 
8420         arg1 
= wxString_in_helper(obj0
); 
8421         if (arg1 
== NULL
) SWIG_fail
; 
8425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8426         wxLogStatus((wxString 
const &)*arg1
); 
8428         wxPyEndAllowThreads(__tstate
); 
8429         if (PyErr_Occurred()) SWIG_fail
; 
8431     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8446 static PyObject 
*_wrap_LogStatusFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8447     PyObject 
*resultobj
; 
8448     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
8449     wxString 
*arg2 
= 0 ; 
8450     bool temp2 
= False 
; 
8451     PyObject 
* obj0 
= 0 ; 
8452     PyObject 
* obj1 
= 0 ; 
8454         (char *) "pFrame",(char *) "msg", NULL 
 
8457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
8458     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
8459     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8461         arg2 
= wxString_in_helper(obj1
); 
8462         if (arg2 
== NULL
) SWIG_fail
; 
8466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8467         wxLogStatus(arg1
,(wxString 
const &)*arg2
); 
8469         wxPyEndAllowThreads(__tstate
); 
8470         if (PyErr_Occurred()) SWIG_fail
; 
8472     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8487 static PyObject 
*_wrap_LogSysError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8488     PyObject 
*resultobj
; 
8489     wxString 
*arg1 
= 0 ; 
8490     bool temp1 
= False 
; 
8491     PyObject 
* obj0 
= 0 ; 
8493         (char *) "msg", NULL 
 
8496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
; 
8498         arg1 
= wxString_in_helper(obj0
); 
8499         if (arg1 
== NULL
) SWIG_fail
; 
8503         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8504         wxLogSysError((wxString 
const &)*arg1
); 
8506         wxPyEndAllowThreads(__tstate
); 
8507         if (PyErr_Occurred()) SWIG_fail
; 
8509     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8524 static PyObject 
*_wrap_LogTrace__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
8525     PyObject 
*resultobj
; 
8526     unsigned long arg1 
; 
8527     wxString 
*arg2 
= 0 ; 
8528     bool temp2 
= False 
; 
8529     PyObject 
* obj0 
= 0 ; 
8530     PyObject 
* obj1 
= 0 ; 
8532     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8533     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8534     if (PyErr_Occurred()) SWIG_fail
; 
8536         arg2 
= wxString_in_helper(obj1
); 
8537         if (arg2 
== NULL
) SWIG_fail
; 
8541         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8542         wxLogTrace(arg1
,(wxString 
const &)*arg2
); 
8544         wxPyEndAllowThreads(__tstate
); 
8545         if (PyErr_Occurred()) SWIG_fail
; 
8547     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8562 static PyObject 
*_wrap_LogTrace__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
8563     PyObject 
*resultobj
; 
8564     wxString 
*arg1 
= 0 ; 
8565     wxString 
*arg2 
= 0 ; 
8566     bool temp1 
= False 
; 
8567     bool temp2 
= False 
; 
8568     PyObject 
* obj0 
= 0 ; 
8569     PyObject 
* obj1 
= 0 ; 
8571     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8573         arg1 
= wxString_in_helper(obj0
); 
8574         if (arg1 
== NULL
) SWIG_fail
; 
8578         arg2 
= wxString_in_helper(obj1
); 
8579         if (arg2 
== NULL
) SWIG_fail
; 
8583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8584         wxLogTrace((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
8586         wxPyEndAllowThreads(__tstate
); 
8587         if (PyErr_Occurred()) SWIG_fail
; 
8589     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8612 static PyObject 
*_wrap_LogTrace(PyObject 
*self
, PyObject 
*args
) { 
8617     argc 
= PyObject_Length(args
); 
8618     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
8619         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
8624             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
8628                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
8631                 return _wrap_LogTrace__SWIG_1(self
,args
); 
8637         _v 
= SWIG_CheckUnsignedLong(argv
[0]); 
8640                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
8643                 return _wrap_LogTrace__SWIG_0(self
,args
); 
8648     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'"); 
8653 static PyObject 
*_wrap_LogGeneric(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8654     PyObject 
*resultobj
; 
8655     unsigned long arg1 
; 
8656     wxString 
*arg2 
= 0 ; 
8657     bool temp2 
= False 
; 
8658     PyObject 
* obj0 
= 0 ; 
8659     PyObject 
* obj1 
= 0 ; 
8661         (char *) "level",(char *) "msg", NULL 
 
8664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
; 
8665     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8666     if (PyErr_Occurred()) SWIG_fail
; 
8668         arg2 
= wxString_in_helper(obj1
); 
8669         if (arg2 
== NULL
) SWIG_fail
; 
8673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8674         wxLogGeneric(arg1
,(wxString 
const &)*arg2
); 
8676         wxPyEndAllowThreads(__tstate
); 
8677         if (PyErr_Occurred()) SWIG_fail
; 
8679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8694 static PyObject 
*_wrap_SafeShowMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8695     PyObject 
*resultobj
; 
8696     wxString 
*arg1 
= 0 ; 
8697     wxString 
*arg2 
= 0 ; 
8698     bool temp1 
= False 
; 
8699     bool temp2 
= False 
; 
8700     PyObject 
* obj0 
= 0 ; 
8701     PyObject 
* obj1 
= 0 ; 
8703         (char *) "title",(char *) "text", NULL 
 
8706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
; 
8708         arg1 
= wxString_in_helper(obj0
); 
8709         if (arg1 
== NULL
) SWIG_fail
; 
8713         arg2 
= wxString_in_helper(obj1
); 
8714         if (arg2 
== NULL
) SWIG_fail
; 
8718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8719         wxSafeShowMessage((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
8721         wxPyEndAllowThreads(__tstate
); 
8722         if (PyErr_Occurred()) SWIG_fail
; 
8724     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8747 static PyObject 
*_wrap_new_LogNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8748     PyObject 
*resultobj
; 
8754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
; 
8756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8757         result 
= (wxLogNull 
*)new wxLogNull(); 
8759         wxPyEndAllowThreads(__tstate
); 
8760         if (PyErr_Occurred()) SWIG_fail
; 
8762     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1); 
8769 static PyObject 
*_wrap_delete_LogNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8770     PyObject 
*resultobj
; 
8771     wxLogNull 
*arg1 
= (wxLogNull 
*) 0 ; 
8772     PyObject 
* obj0 
= 0 ; 
8774         (char *) "self", NULL 
 
8777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
; 
8778     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
, 
8779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8781         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8784         wxPyEndAllowThreads(__tstate
); 
8785         if (PyErr_Occurred()) SWIG_fail
; 
8787     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8794 static PyObject 
* LogNull_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8796     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8797     SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
); 
8799     return Py_BuildValue((char *)""); 
8801 static PyObject 
*_wrap_new_PyLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8802     PyObject 
*resultobj
; 
8808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
; 
8810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8811         result 
= (wxPyLog 
*)new wxPyLog(); 
8813         wxPyEndAllowThreads(__tstate
); 
8814         if (PyErr_Occurred()) SWIG_fail
; 
8816     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1); 
8823 static PyObject 
*_wrap_PyLog__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8824     PyObject 
*resultobj
; 
8825     wxPyLog 
*arg1 
= (wxPyLog 
*) 0 ; 
8826     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
8827     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
8828     PyObject 
* obj0 
= 0 ; 
8829     PyObject 
* obj1 
= 0 ; 
8830     PyObject 
* obj2 
= 0 ; 
8832         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
8835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
, 
8837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8842         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
8844         wxPyEndAllowThreads(__tstate
); 
8845         if (PyErr_Occurred()) SWIG_fail
; 
8847     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8854 static PyObject 
* PyLog_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8856     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8857     SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
); 
8859     return Py_BuildValue((char *)""); 
8861 static PyObject 
*_wrap_Process_Kill(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8862     PyObject 
*resultobj
; 
8864     int arg2 
= (int) wxSIGTERM 
; 
8866     PyObject 
* obj0 
= 0 ; 
8867     PyObject 
* obj1 
= 0 ; 
8869         (char *) "pid",(char *) "sig", NULL 
 
8872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
; 
8873     arg1 
= (int) SWIG_AsInt(obj0
);  
8874     if (PyErr_Occurred()) SWIG_fail
; 
8876         arg2 
= (wxSignal
) SWIG_AsInt(obj1
);  
8877         if (PyErr_Occurred()) SWIG_fail
; 
8880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8881         result 
= (int)wxPyProcess::Kill(arg1
,(wxSignal 
)arg2
); 
8883         wxPyEndAllowThreads(__tstate
); 
8884         if (PyErr_Occurred()) SWIG_fail
; 
8886     resultobj 
= SWIG_FromInt((int)result
); 
8893 static PyObject 
*_wrap_Process_Exists(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8894     PyObject 
*resultobj
; 
8897     PyObject 
* obj0 
= 0 ; 
8899         (char *) "pid", NULL 
 
8902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
; 
8903     arg1 
= (int) SWIG_AsInt(obj0
);  
8904     if (PyErr_Occurred()) SWIG_fail
; 
8906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8907         result 
= (bool)wxPyProcess::Exists(arg1
); 
8909         wxPyEndAllowThreads(__tstate
); 
8910         if (PyErr_Occurred()) SWIG_fail
; 
8913         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8921 static PyObject 
*_wrap_Process_Open(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8922     PyObject 
*resultobj
; 
8923     wxString 
*arg1 
= 0 ; 
8924     int arg2 
= (int) wxEXEC_ASYNC 
; 
8925     wxPyProcess 
*result
; 
8926     bool temp1 
= False 
; 
8927     PyObject 
* obj0 
= 0 ; 
8928     PyObject 
* obj1 
= 0 ; 
8930         (char *) "cmd",(char *) "flags", NULL 
 
8933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
; 
8935         arg1 
= wxString_in_helper(obj0
); 
8936         if (arg1 
== NULL
) SWIG_fail
; 
8940         arg2 
= (int) SWIG_AsInt(obj1
);  
8941         if (PyErr_Occurred()) SWIG_fail
; 
8944         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8945         result 
= (wxPyProcess 
*)wxPyProcess::Open((wxString 
const &)*arg1
,arg2
); 
8947         wxPyEndAllowThreads(__tstate
); 
8948         if (PyErr_Occurred()) SWIG_fail
; 
8950     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0); 
8965 static PyObject 
*_wrap_new_Process(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8966     PyObject 
*resultobj
; 
8967     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
8968     int arg2 
= (int) -1 ; 
8969     wxPyProcess 
*result
; 
8970     PyObject 
* obj0 
= 0 ; 
8971     PyObject 
* obj1 
= 0 ; 
8973         (char *) "parent",(char *) "id", NULL 
 
8976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
; 
8978         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
8979         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8982         arg2 
= (int) SWIG_AsInt(obj1
);  
8983         if (PyErr_Occurred()) SWIG_fail
; 
8986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8987         result 
= (wxPyProcess 
*)new wxPyProcess(arg1
,arg2
); 
8989         wxPyEndAllowThreads(__tstate
); 
8990         if (PyErr_Occurred()) SWIG_fail
; 
8992     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1); 
8999 static PyObject 
*_wrap_Process__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9000     PyObject 
*resultobj
; 
9001     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9002     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9003     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9004     PyObject 
* obj0 
= 0 ; 
9005     PyObject 
* obj1 
= 0 ; 
9006     PyObject 
* obj2 
= 0 ; 
9008         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9018         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
9020         wxPyEndAllowThreads(__tstate
); 
9021         if (PyErr_Occurred()) SWIG_fail
; 
9023     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9030 static PyObject 
*_wrap_Process_base_OnTerminate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9031     PyObject 
*resultobj
; 
9032     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9035     PyObject 
* obj0 
= 0 ; 
9036     PyObject 
* obj1 
= 0 ; 
9037     PyObject 
* obj2 
= 0 ; 
9039         (char *) "self",(char *) "pid",(char *) "status", NULL 
 
9042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9043     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9044     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9045     arg2 
= (int) SWIG_AsInt(obj1
);  
9046     if (PyErr_Occurred()) SWIG_fail
; 
9047     arg3 
= (int) SWIG_AsInt(obj2
);  
9048     if (PyErr_Occurred()) SWIG_fail
; 
9050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9051         (arg1
)->base_OnTerminate(arg2
,arg3
); 
9053         wxPyEndAllowThreads(__tstate
); 
9054         if (PyErr_Occurred()) SWIG_fail
; 
9056     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9063 static PyObject 
*_wrap_Process_Redirect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9064     PyObject 
*resultobj
; 
9065     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9066     PyObject 
* obj0 
= 0 ; 
9068         (char *) "self", NULL 
 
9071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
; 
9072     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9073     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9078         wxPyEndAllowThreads(__tstate
); 
9079         if (PyErr_Occurred()) SWIG_fail
; 
9081     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9088 static PyObject 
*_wrap_Process_IsRedirected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9089     PyObject 
*resultobj
; 
9090     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9092     PyObject 
* obj0 
= 0 ; 
9094         (char *) "self", NULL 
 
9097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
; 
9098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9102         result 
= (bool)(arg1
)->IsRedirected(); 
9104         wxPyEndAllowThreads(__tstate
); 
9105         if (PyErr_Occurred()) SWIG_fail
; 
9108         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9116 static PyObject 
*_wrap_Process_Detach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9117     PyObject 
*resultobj
; 
9118     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9119     PyObject 
* obj0 
= 0 ; 
9121         (char *) "self", NULL 
 
9124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
; 
9125     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9126     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9131         wxPyEndAllowThreads(__tstate
); 
9132         if (PyErr_Occurred()) SWIG_fail
; 
9134     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9141 static PyObject 
*_wrap_Process_GetInputStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9142     PyObject 
*resultobj
; 
9143     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9144     wxInputStream 
*result
; 
9145     PyObject 
* obj0 
= 0 ; 
9147         (char *) "self", NULL 
 
9150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
; 
9151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9155         result 
= (wxInputStream 
*)(arg1
)->GetInputStream(); 
9157         wxPyEndAllowThreads(__tstate
); 
9158         if (PyErr_Occurred()) SWIG_fail
; 
9161         wxPyInputStream 
* _ptr 
= NULL
; 
9164             _ptr 
= new wxPyInputStream(result
); 
9166         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9174 static PyObject 
*_wrap_Process_GetErrorStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9175     PyObject 
*resultobj
; 
9176     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9177     wxInputStream 
*result
; 
9178     PyObject 
* obj0 
= 0 ; 
9180         (char *) "self", NULL 
 
9183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
; 
9184     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9185     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9188         result 
= (wxInputStream 
*)(arg1
)->GetErrorStream(); 
9190         wxPyEndAllowThreads(__tstate
); 
9191         if (PyErr_Occurred()) SWIG_fail
; 
9194         wxPyInputStream 
* _ptr 
= NULL
; 
9197             _ptr 
= new wxPyInputStream(result
); 
9199         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9207 static PyObject 
*_wrap_Process_GetOutputStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9208     PyObject 
*resultobj
; 
9209     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9210     wxOutputStream 
*result
; 
9211     PyObject 
* obj0 
= 0 ; 
9213         (char *) "self", NULL 
 
9216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
; 
9217     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9218     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9221         result 
= (wxOutputStream 
*)(arg1
)->GetOutputStream(); 
9223         wxPyEndAllowThreads(__tstate
); 
9224         if (PyErr_Occurred()) SWIG_fail
; 
9226     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0); 
9233 static PyObject 
*_wrap_Process_CloseOutput(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9234     PyObject 
*resultobj
; 
9235     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9236     PyObject 
* obj0 
= 0 ; 
9238         (char *) "self", NULL 
 
9241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
; 
9242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9246         (arg1
)->CloseOutput(); 
9248         wxPyEndAllowThreads(__tstate
); 
9249         if (PyErr_Occurred()) SWIG_fail
; 
9251     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9258 static PyObject 
*_wrap_Process_IsInputOpened(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9259     PyObject 
*resultobj
; 
9260     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9262     PyObject 
* obj0 
= 0 ; 
9264         (char *) "self", NULL 
 
9267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
; 
9268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9272         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputOpened(); 
9274         wxPyEndAllowThreads(__tstate
); 
9275         if (PyErr_Occurred()) SWIG_fail
; 
9278         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9286 static PyObject 
*_wrap_Process_IsInputAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9287     PyObject 
*resultobj
; 
9288     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9290     PyObject 
* obj0 
= 0 ; 
9292         (char *) "self", NULL 
 
9295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
; 
9296     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9300         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputAvailable(); 
9302         wxPyEndAllowThreads(__tstate
); 
9303         if (PyErr_Occurred()) SWIG_fail
; 
9306         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9314 static PyObject 
*_wrap_Process_IsErrorAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9315     PyObject 
*resultobj
; 
9316     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9318     PyObject 
* obj0 
= 0 ; 
9320         (char *) "self", NULL 
 
9323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
; 
9324     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9325     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9328         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsErrorAvailable(); 
9330         wxPyEndAllowThreads(__tstate
); 
9331         if (PyErr_Occurred()) SWIG_fail
; 
9334         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9342 static PyObject 
* Process_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9344     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9345     SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
); 
9347     return Py_BuildValue((char *)""); 
9349 static PyObject 
*_wrap_new_ProcessEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9350     PyObject 
*resultobj
; 
9351     int arg1 
= (int) 0 ; 
9352     int arg2 
= (int) 0 ; 
9353     int arg3 
= (int) 0 ; 
9354     wxProcessEvent 
*result
; 
9355     PyObject 
* obj0 
= 0 ; 
9356     PyObject 
* obj1 
= 0 ; 
9357     PyObject 
* obj2 
= 0 ; 
9359         (char *) "id",(char *) "pid",(char *) "exitcode", NULL 
 
9362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9364         arg1 
= (int) SWIG_AsInt(obj0
);  
9365         if (PyErr_Occurred()) SWIG_fail
; 
9368         arg2 
= (int) SWIG_AsInt(obj1
);  
9369         if (PyErr_Occurred()) SWIG_fail
; 
9372         arg3 
= (int) SWIG_AsInt(obj2
);  
9373         if (PyErr_Occurred()) SWIG_fail
; 
9376         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9377         result 
= (wxProcessEvent 
*)new wxProcessEvent(arg1
,arg2
,arg3
); 
9379         wxPyEndAllowThreads(__tstate
); 
9380         if (PyErr_Occurred()) SWIG_fail
; 
9382     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1); 
9389 static PyObject 
*_wrap_ProcessEvent_GetPid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9390     PyObject 
*resultobj
; 
9391     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9393     PyObject 
* obj0 
= 0 ; 
9395         (char *) "self", NULL 
 
9398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
; 
9399     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9400     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9403         result 
= (int)(arg1
)->GetPid(); 
9405         wxPyEndAllowThreads(__tstate
); 
9406         if (PyErr_Occurred()) SWIG_fail
; 
9408     resultobj 
= SWIG_FromInt((int)result
); 
9415 static PyObject 
*_wrap_ProcessEvent_GetExitCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9416     PyObject 
*resultobj
; 
9417     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9419     PyObject 
* obj0 
= 0 ; 
9421         (char *) "self", NULL 
 
9424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
; 
9425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9429         result 
= (int)(arg1
)->GetExitCode(); 
9431         wxPyEndAllowThreads(__tstate
); 
9432         if (PyErr_Occurred()) SWIG_fail
; 
9434     resultobj 
= SWIG_FromInt((int)result
); 
9441 static PyObject 
*_wrap_ProcessEvent_m_pid_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9442     PyObject 
*resultobj
; 
9443     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9445     PyObject 
* obj0 
= 0 ; 
9446     PyObject 
* obj1 
= 0 ; 
9448         (char *) "self",(char *) "m_pid", NULL 
 
9451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9454     arg2 
= (int) SWIG_AsInt(obj1
);  
9455     if (PyErr_Occurred()) SWIG_fail
; 
9456     if (arg1
) (arg1
)->m_pid 
= arg2
; 
9458     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9465 static PyObject 
*_wrap_ProcessEvent_m_pid_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9466     PyObject 
*resultobj
; 
9467     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9469     PyObject 
* obj0 
= 0 ; 
9471         (char *) "self", NULL 
 
9474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
; 
9475     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9476     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9477     result 
= (int) ((arg1
)->m_pid
); 
9479     resultobj 
= SWIG_FromInt((int)result
); 
9486 static PyObject 
*_wrap_ProcessEvent_m_exitcode_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9487     PyObject 
*resultobj
; 
9488     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9490     PyObject 
* obj0 
= 0 ; 
9491     PyObject 
* obj1 
= 0 ; 
9493         (char *) "self",(char *) "m_exitcode", NULL 
 
9496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9497     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9498     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9499     arg2 
= (int) SWIG_AsInt(obj1
);  
9500     if (PyErr_Occurred()) SWIG_fail
; 
9501     if (arg1
) (arg1
)->m_exitcode 
= arg2
; 
9503     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9510 static PyObject 
*_wrap_ProcessEvent_m_exitcode_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9511     PyObject 
*resultobj
; 
9512     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9514     PyObject 
* obj0 
= 0 ; 
9516         (char *) "self", NULL 
 
9519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
; 
9520     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9521     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9522     result 
= (int) ((arg1
)->m_exitcode
); 
9524     resultobj 
= SWIG_FromInt((int)result
); 
9531 static PyObject 
* ProcessEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9533     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9534     SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
); 
9536     return Py_BuildValue((char *)""); 
9538 static PyObject 
*_wrap_Execute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9539     PyObject 
*resultobj
; 
9540     wxString 
*arg1 
= 0 ; 
9541     int arg2 
= (int) wxEXEC_ASYNC 
; 
9542     wxPyProcess 
*arg3 
= (wxPyProcess 
*) NULL 
; 
9544     bool temp1 
= False 
; 
9545     PyObject 
* obj0 
= 0 ; 
9546     PyObject 
* obj1 
= 0 ; 
9547     PyObject 
* obj2 
= 0 ; 
9549         (char *) "command",(char *) "flags",(char *) "process", NULL 
 
9552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9554         arg1 
= wxString_in_helper(obj0
); 
9555         if (arg1 
== NULL
) SWIG_fail
; 
9559         arg2 
= (int) SWIG_AsInt(obj1
);  
9560         if (PyErr_Occurred()) SWIG_fail
; 
9563         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
, 
9564         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9568         result 
= (long)wxExecute((wxString 
const &)*arg1
,arg2
,arg3
); 
9570         wxPyEndAllowThreads(__tstate
); 
9571         if (PyErr_Occurred()) SWIG_fail
; 
9573     resultobj 
= SWIG_FromLong((long)result
); 
9588 static PyObject 
*_wrap_new_Joystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9589     PyObject 
*resultobj
; 
9590     int arg1 
= (int) wxJOYSTICK1 
; 
9592     PyObject 
* obj0 
= 0 ; 
9594         (char *) "joystick", NULL 
 
9597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
; 
9599         arg1 
= (int) SWIG_AsInt(obj0
);  
9600         if (PyErr_Occurred()) SWIG_fail
; 
9603         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9604         result 
= (wxJoystick 
*)new wxJoystick(arg1
); 
9606         wxPyEndAllowThreads(__tstate
); 
9607         if (PyErr_Occurred()) SWIG_fail
; 
9609     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1); 
9616 static PyObject 
*_wrap_delete_Joystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9617     PyObject 
*resultobj
; 
9618     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9619     PyObject 
* obj0 
= 0 ; 
9621         (char *) "self", NULL 
 
9624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
; 
9625     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9626     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9631         wxPyEndAllowThreads(__tstate
); 
9632         if (PyErr_Occurred()) SWIG_fail
; 
9634     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9641 static PyObject 
*_wrap_Joystick_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9642     PyObject 
*resultobj
; 
9643     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9645     PyObject 
* obj0 
= 0 ; 
9647         (char *) "self", NULL 
 
9650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
; 
9651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9654         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9655         result 
= (arg1
)->GetPosition(); 
9657         wxPyEndAllowThreads(__tstate
); 
9658         if (PyErr_Occurred()) SWIG_fail
; 
9661         wxPoint 
* resultptr
; 
9662         resultptr 
= new wxPoint((wxPoint 
&) result
); 
9663         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
9671 static PyObject 
*_wrap_Joystick_GetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9672     PyObject 
*resultobj
; 
9673     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9675     PyObject 
* obj0 
= 0 ; 
9677         (char *) "self", NULL 
 
9680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
; 
9681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9685         result 
= (int)(arg1
)->GetZPosition(); 
9687         wxPyEndAllowThreads(__tstate
); 
9688         if (PyErr_Occurred()) SWIG_fail
; 
9690     resultobj 
= SWIG_FromInt((int)result
); 
9697 static PyObject 
*_wrap_Joystick_GetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9698     PyObject 
*resultobj
; 
9699     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9701     PyObject 
* obj0 
= 0 ; 
9703         (char *) "self", NULL 
 
9706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
; 
9707     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9708     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9711         result 
= (int)(arg1
)->GetButtonState(); 
9713         wxPyEndAllowThreads(__tstate
); 
9714         if (PyErr_Occurred()) SWIG_fail
; 
9716     resultobj 
= SWIG_FromInt((int)result
); 
9723 static PyObject 
*_wrap_Joystick_GetPOVPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9724     PyObject 
*resultobj
; 
9725     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9727     PyObject 
* obj0 
= 0 ; 
9729         (char *) "self", NULL 
 
9732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
; 
9733     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9734     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9737         result 
= (int)(arg1
)->GetPOVPosition(); 
9739         wxPyEndAllowThreads(__tstate
); 
9740         if (PyErr_Occurred()) SWIG_fail
; 
9742     resultobj 
= SWIG_FromInt((int)result
); 
9749 static PyObject 
*_wrap_Joystick_GetPOVCTSPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9750     PyObject 
*resultobj
; 
9751     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9753     PyObject 
* obj0 
= 0 ; 
9755         (char *) "self", NULL 
 
9758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
; 
9759     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9760     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9763         result 
= (int)(arg1
)->GetPOVCTSPosition(); 
9765         wxPyEndAllowThreads(__tstate
); 
9766         if (PyErr_Occurred()) SWIG_fail
; 
9768     resultobj 
= SWIG_FromInt((int)result
); 
9775 static PyObject 
*_wrap_Joystick_GetRudderPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9776     PyObject 
*resultobj
; 
9777     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9779     PyObject 
* obj0 
= 0 ; 
9781         (char *) "self", NULL 
 
9784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
; 
9785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9789         result 
= (int)(arg1
)->GetRudderPosition(); 
9791         wxPyEndAllowThreads(__tstate
); 
9792         if (PyErr_Occurred()) SWIG_fail
; 
9794     resultobj 
= SWIG_FromInt((int)result
); 
9801 static PyObject 
*_wrap_Joystick_GetUPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9802     PyObject 
*resultobj
; 
9803     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9805     PyObject 
* obj0 
= 0 ; 
9807         (char *) "self", NULL 
 
9810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
; 
9811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9815         result 
= (int)(arg1
)->GetUPosition(); 
9817         wxPyEndAllowThreads(__tstate
); 
9818         if (PyErr_Occurred()) SWIG_fail
; 
9820     resultobj 
= SWIG_FromInt((int)result
); 
9827 static PyObject 
*_wrap_Joystick_GetVPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9828     PyObject 
*resultobj
; 
9829     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9831     PyObject 
* obj0 
= 0 ; 
9833         (char *) "self", NULL 
 
9836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
; 
9837     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9838     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9841         result 
= (int)(arg1
)->GetVPosition(); 
9843         wxPyEndAllowThreads(__tstate
); 
9844         if (PyErr_Occurred()) SWIG_fail
; 
9846     resultobj 
= SWIG_FromInt((int)result
); 
9853 static PyObject 
*_wrap_Joystick_GetMovementThreshold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9854     PyObject 
*resultobj
; 
9855     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9857     PyObject 
* obj0 
= 0 ; 
9859         (char *) "self", NULL 
 
9862     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
; 
9863     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9864     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9867         result 
= (int)(arg1
)->GetMovementThreshold(); 
9869         wxPyEndAllowThreads(__tstate
); 
9870         if (PyErr_Occurred()) SWIG_fail
; 
9872     resultobj 
= SWIG_FromInt((int)result
); 
9879 static PyObject 
*_wrap_Joystick_SetMovementThreshold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9880     PyObject 
*resultobj
; 
9881     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9883     PyObject 
* obj0 
= 0 ; 
9884     PyObject 
* obj1 
= 0 ; 
9886         (char *) "self",(char *) "threshold", NULL 
 
9889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
; 
9890     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9891     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9892     arg2 
= (int) SWIG_AsInt(obj1
);  
9893     if (PyErr_Occurred()) SWIG_fail
; 
9895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9896         (arg1
)->SetMovementThreshold(arg2
); 
9898         wxPyEndAllowThreads(__tstate
); 
9899         if (PyErr_Occurred()) SWIG_fail
; 
9901     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9908 static PyObject 
*_wrap_Joystick_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9909     PyObject 
*resultobj
; 
9910     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9912     PyObject 
* obj0 
= 0 ; 
9914         (char *) "self", NULL 
 
9917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
; 
9918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9922         result 
= (bool)(arg1
)->IsOk(); 
9924         wxPyEndAllowThreads(__tstate
); 
9925         if (PyErr_Occurred()) SWIG_fail
; 
9928         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9936 static PyObject 
*_wrap_Joystick_GetNumberJoysticks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9937     PyObject 
*resultobj
; 
9938     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9940     PyObject 
* obj0 
= 0 ; 
9942         (char *) "self", NULL 
 
9945     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
; 
9946     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9947     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9950         result 
= (int)(arg1
)->GetNumberJoysticks(); 
9952         wxPyEndAllowThreads(__tstate
); 
9953         if (PyErr_Occurred()) SWIG_fail
; 
9955     resultobj 
= SWIG_FromInt((int)result
); 
9962 static PyObject 
*_wrap_Joystick_GetManufacturerId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9963     PyObject 
*resultobj
; 
9964     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9966     PyObject 
* obj0 
= 0 ; 
9968         (char *) "self", NULL 
 
9971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
; 
9972     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9973     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9976         result 
= (int)(arg1
)->GetManufacturerId(); 
9978         wxPyEndAllowThreads(__tstate
); 
9979         if (PyErr_Occurred()) SWIG_fail
; 
9981     resultobj 
= SWIG_FromInt((int)result
); 
9988 static PyObject 
*_wrap_Joystick_GetProductId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9989     PyObject 
*resultobj
; 
9990     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9992     PyObject 
* obj0 
= 0 ; 
9994         (char *) "self", NULL 
 
9997     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
; 
9998     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9999     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10002         result 
= (int)(arg1
)->GetProductId(); 
10004         wxPyEndAllowThreads(__tstate
); 
10005         if (PyErr_Occurred()) SWIG_fail
; 
10007     resultobj 
= SWIG_FromInt((int)result
); 
10014 static PyObject 
*_wrap_Joystick_GetProductName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10015     PyObject 
*resultobj
; 
10016     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10018     PyObject 
* obj0 
= 0 ; 
10019     char *kwnames
[] = { 
10020         (char *) "self", NULL 
 
10023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
; 
10024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10028         result 
= (arg1
)->GetProductName(); 
10030         wxPyEndAllowThreads(__tstate
); 
10031         if (PyErr_Occurred()) SWIG_fail
; 
10035         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10037         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10046 static PyObject 
*_wrap_Joystick_GetXMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10047     PyObject 
*resultobj
; 
10048     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10050     PyObject 
* obj0 
= 0 ; 
10051     char *kwnames
[] = { 
10052         (char *) "self", NULL 
 
10055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
; 
10056     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10057     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10060         result 
= (int)(arg1
)->GetXMin(); 
10062         wxPyEndAllowThreads(__tstate
); 
10063         if (PyErr_Occurred()) SWIG_fail
; 
10065     resultobj 
= SWIG_FromInt((int)result
); 
10072 static PyObject 
*_wrap_Joystick_GetYMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10073     PyObject 
*resultobj
; 
10074     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10076     PyObject 
* obj0 
= 0 ; 
10077     char *kwnames
[] = { 
10078         (char *) "self", NULL 
 
10081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
; 
10082     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10086         result 
= (int)(arg1
)->GetYMin(); 
10088         wxPyEndAllowThreads(__tstate
); 
10089         if (PyErr_Occurred()) SWIG_fail
; 
10091     resultobj 
= SWIG_FromInt((int)result
); 
10098 static PyObject 
*_wrap_Joystick_GetZMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10099     PyObject 
*resultobj
; 
10100     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10102     PyObject 
* obj0 
= 0 ; 
10103     char *kwnames
[] = { 
10104         (char *) "self", NULL 
 
10107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
; 
10108     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10112         result 
= (int)(arg1
)->GetZMin(); 
10114         wxPyEndAllowThreads(__tstate
); 
10115         if (PyErr_Occurred()) SWIG_fail
; 
10117     resultobj 
= SWIG_FromInt((int)result
); 
10124 static PyObject 
*_wrap_Joystick_GetXMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10125     PyObject 
*resultobj
; 
10126     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10128     PyObject 
* obj0 
= 0 ; 
10129     char *kwnames
[] = { 
10130         (char *) "self", NULL 
 
10133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
; 
10134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10138         result 
= (int)(arg1
)->GetXMax(); 
10140         wxPyEndAllowThreads(__tstate
); 
10141         if (PyErr_Occurred()) SWIG_fail
; 
10143     resultobj 
= SWIG_FromInt((int)result
); 
10150 static PyObject 
*_wrap_Joystick_GetYMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10151     PyObject 
*resultobj
; 
10152     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10154     PyObject 
* obj0 
= 0 ; 
10155     char *kwnames
[] = { 
10156         (char *) "self", NULL 
 
10159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
; 
10160     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10161     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10164         result 
= (int)(arg1
)->GetYMax(); 
10166         wxPyEndAllowThreads(__tstate
); 
10167         if (PyErr_Occurred()) SWIG_fail
; 
10169     resultobj 
= SWIG_FromInt((int)result
); 
10176 static PyObject 
*_wrap_Joystick_GetZMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10177     PyObject 
*resultobj
; 
10178     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10180     PyObject 
* obj0 
= 0 ; 
10181     char *kwnames
[] = { 
10182         (char *) "self", NULL 
 
10185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
; 
10186     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10190         result 
= (int)(arg1
)->GetZMax(); 
10192         wxPyEndAllowThreads(__tstate
); 
10193         if (PyErr_Occurred()) SWIG_fail
; 
10195     resultobj 
= SWIG_FromInt((int)result
); 
10202 static PyObject 
*_wrap_Joystick_GetNumberButtons(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10203     PyObject 
*resultobj
; 
10204     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10206     PyObject 
* obj0 
= 0 ; 
10207     char *kwnames
[] = { 
10208         (char *) "self", NULL 
 
10211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
; 
10212     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10213     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10216         result 
= (int)(arg1
)->GetNumberButtons(); 
10218         wxPyEndAllowThreads(__tstate
); 
10219         if (PyErr_Occurred()) SWIG_fail
; 
10221     resultobj 
= SWIG_FromInt((int)result
); 
10228 static PyObject 
*_wrap_Joystick_GetNumberAxes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10229     PyObject 
*resultobj
; 
10230     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10232     PyObject 
* obj0 
= 0 ; 
10233     char *kwnames
[] = { 
10234         (char *) "self", NULL 
 
10237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
; 
10238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10242         result 
= (int)(arg1
)->GetNumberAxes(); 
10244         wxPyEndAllowThreads(__tstate
); 
10245         if (PyErr_Occurred()) SWIG_fail
; 
10247     resultobj 
= SWIG_FromInt((int)result
); 
10254 static PyObject 
*_wrap_Joystick_GetMaxButtons(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10255     PyObject 
*resultobj
; 
10256     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10258     PyObject 
* obj0 
= 0 ; 
10259     char *kwnames
[] = { 
10260         (char *) "self", NULL 
 
10263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
; 
10264     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10265     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10268         result 
= (int)(arg1
)->GetMaxButtons(); 
10270         wxPyEndAllowThreads(__tstate
); 
10271         if (PyErr_Occurred()) SWIG_fail
; 
10273     resultobj 
= SWIG_FromInt((int)result
); 
10280 static PyObject 
*_wrap_Joystick_GetMaxAxes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10281     PyObject 
*resultobj
; 
10282     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10284     PyObject 
* obj0 
= 0 ; 
10285     char *kwnames
[] = { 
10286         (char *) "self", NULL 
 
10289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
; 
10290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10294         result 
= (int)(arg1
)->GetMaxAxes(); 
10296         wxPyEndAllowThreads(__tstate
); 
10297         if (PyErr_Occurred()) SWIG_fail
; 
10299     resultobj 
= SWIG_FromInt((int)result
); 
10306 static PyObject 
*_wrap_Joystick_GetPollingMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10307     PyObject 
*resultobj
; 
10308     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10310     PyObject 
* obj0 
= 0 ; 
10311     char *kwnames
[] = { 
10312         (char *) "self", NULL 
 
10315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
; 
10316     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10317     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10320         result 
= (int)(arg1
)->GetPollingMin(); 
10322         wxPyEndAllowThreads(__tstate
); 
10323         if (PyErr_Occurred()) SWIG_fail
; 
10325     resultobj 
= SWIG_FromInt((int)result
); 
10332 static PyObject 
*_wrap_Joystick_GetPollingMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10333     PyObject 
*resultobj
; 
10334     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10336     PyObject 
* obj0 
= 0 ; 
10337     char *kwnames
[] = { 
10338         (char *) "self", NULL 
 
10341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
; 
10342     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10343     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10346         result 
= (int)(arg1
)->GetPollingMax(); 
10348         wxPyEndAllowThreads(__tstate
); 
10349         if (PyErr_Occurred()) SWIG_fail
; 
10351     resultobj 
= SWIG_FromInt((int)result
); 
10358 static PyObject 
*_wrap_Joystick_GetRudderMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10359     PyObject 
*resultobj
; 
10360     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10362     PyObject 
* obj0 
= 0 ; 
10363     char *kwnames
[] = { 
10364         (char *) "self", NULL 
 
10367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
; 
10368     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10372         result 
= (int)(arg1
)->GetRudderMin(); 
10374         wxPyEndAllowThreads(__tstate
); 
10375         if (PyErr_Occurred()) SWIG_fail
; 
10377     resultobj 
= SWIG_FromInt((int)result
); 
10384 static PyObject 
*_wrap_Joystick_GetRudderMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10385     PyObject 
*resultobj
; 
10386     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10388     PyObject 
* obj0 
= 0 ; 
10389     char *kwnames
[] = { 
10390         (char *) "self", NULL 
 
10393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
; 
10394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10398         result 
= (int)(arg1
)->GetRudderMax(); 
10400         wxPyEndAllowThreads(__tstate
); 
10401         if (PyErr_Occurred()) SWIG_fail
; 
10403     resultobj 
= SWIG_FromInt((int)result
); 
10410 static PyObject 
*_wrap_Joystick_GetUMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10411     PyObject 
*resultobj
; 
10412     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10414     PyObject 
* obj0 
= 0 ; 
10415     char *kwnames
[] = { 
10416         (char *) "self", NULL 
 
10419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
; 
10420     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10421     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10424         result 
= (int)(arg1
)->GetUMin(); 
10426         wxPyEndAllowThreads(__tstate
); 
10427         if (PyErr_Occurred()) SWIG_fail
; 
10429     resultobj 
= SWIG_FromInt((int)result
); 
10436 static PyObject 
*_wrap_Joystick_GetUMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10437     PyObject 
*resultobj
; 
10438     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10440     PyObject 
* obj0 
= 0 ; 
10441     char *kwnames
[] = { 
10442         (char *) "self", NULL 
 
10445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
; 
10446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10450         result 
= (int)(arg1
)->GetUMax(); 
10452         wxPyEndAllowThreads(__tstate
); 
10453         if (PyErr_Occurred()) SWIG_fail
; 
10455     resultobj 
= SWIG_FromInt((int)result
); 
10462 static PyObject 
*_wrap_Joystick_GetVMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10463     PyObject 
*resultobj
; 
10464     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10466     PyObject 
* obj0 
= 0 ; 
10467     char *kwnames
[] = { 
10468         (char *) "self", NULL 
 
10471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
; 
10472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10476         result 
= (int)(arg1
)->GetVMin(); 
10478         wxPyEndAllowThreads(__tstate
); 
10479         if (PyErr_Occurred()) SWIG_fail
; 
10481     resultobj 
= SWIG_FromInt((int)result
); 
10488 static PyObject 
*_wrap_Joystick_GetVMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10489     PyObject 
*resultobj
; 
10490     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10492     PyObject 
* obj0 
= 0 ; 
10493     char *kwnames
[] = { 
10494         (char *) "self", NULL 
 
10497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
; 
10498     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10502         result 
= (int)(arg1
)->GetVMax(); 
10504         wxPyEndAllowThreads(__tstate
); 
10505         if (PyErr_Occurred()) SWIG_fail
; 
10507     resultobj 
= SWIG_FromInt((int)result
); 
10514 static PyObject 
*_wrap_Joystick_HasRudder(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10515     PyObject 
*resultobj
; 
10516     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10518     PyObject 
* obj0 
= 0 ; 
10519     char *kwnames
[] = { 
10520         (char *) "self", NULL 
 
10523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
; 
10524     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10525     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10528         result 
= (bool)(arg1
)->HasRudder(); 
10530         wxPyEndAllowThreads(__tstate
); 
10531         if (PyErr_Occurred()) SWIG_fail
; 
10534         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10542 static PyObject 
*_wrap_Joystick_HasZ(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10543     PyObject 
*resultobj
; 
10544     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10546     PyObject 
* obj0 
= 0 ; 
10547     char *kwnames
[] = { 
10548         (char *) "self", NULL 
 
10551     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
; 
10552     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10556         result 
= (bool)(arg1
)->HasZ(); 
10558         wxPyEndAllowThreads(__tstate
); 
10559         if (PyErr_Occurred()) SWIG_fail
; 
10562         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10570 static PyObject 
*_wrap_Joystick_HasU(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10571     PyObject 
*resultobj
; 
10572     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10574     PyObject 
* obj0 
= 0 ; 
10575     char *kwnames
[] = { 
10576         (char *) "self", NULL 
 
10579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
; 
10580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10584         result 
= (bool)(arg1
)->HasU(); 
10586         wxPyEndAllowThreads(__tstate
); 
10587         if (PyErr_Occurred()) SWIG_fail
; 
10590         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10598 static PyObject 
*_wrap_Joystick_HasV(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10599     PyObject 
*resultobj
; 
10600     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10602     PyObject 
* obj0 
= 0 ; 
10603     char *kwnames
[] = { 
10604         (char *) "self", NULL 
 
10607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
; 
10608     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10609     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10612         result 
= (bool)(arg1
)->HasV(); 
10614         wxPyEndAllowThreads(__tstate
); 
10615         if (PyErr_Occurred()) SWIG_fail
; 
10618         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10626 static PyObject 
*_wrap_Joystick_HasPOV(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10627     PyObject 
*resultobj
; 
10628     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10630     PyObject 
* obj0 
= 0 ; 
10631     char *kwnames
[] = { 
10632         (char *) "self", NULL 
 
10635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
; 
10636     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10639         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10640         result 
= (bool)(arg1
)->HasPOV(); 
10642         wxPyEndAllowThreads(__tstate
); 
10643         if (PyErr_Occurred()) SWIG_fail
; 
10646         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10654 static PyObject 
*_wrap_Joystick_HasPOV4Dir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10655     PyObject 
*resultobj
; 
10656     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10658     PyObject 
* obj0 
= 0 ; 
10659     char *kwnames
[] = { 
10660         (char *) "self", NULL 
 
10663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
; 
10664     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10665     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10668         result 
= (bool)(arg1
)->HasPOV4Dir(); 
10670         wxPyEndAllowThreads(__tstate
); 
10671         if (PyErr_Occurred()) SWIG_fail
; 
10674         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10682 static PyObject 
*_wrap_Joystick_HasPOVCTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10683     PyObject 
*resultobj
; 
10684     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10686     PyObject 
* obj0 
= 0 ; 
10687     char *kwnames
[] = { 
10688         (char *) "self", NULL 
 
10691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
; 
10692     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10693     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10696         result 
= (bool)(arg1
)->HasPOVCTS(); 
10698         wxPyEndAllowThreads(__tstate
); 
10699         if (PyErr_Occurred()) SWIG_fail
; 
10702         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10710 static PyObject 
*_wrap_Joystick_SetCapture(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10711     PyObject 
*resultobj
; 
10712     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10713     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10714     int arg3 
= (int) 0 ; 
10716     PyObject 
* obj0 
= 0 ; 
10717     PyObject 
* obj1 
= 0 ; 
10718     PyObject 
* obj2 
= 0 ; 
10719     char *kwnames
[] = { 
10720         (char *) "self",(char *) "win",(char *) "pollingFreq", NULL 
 
10723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10724     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10725     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10726     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
10727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10729         arg3 
= (int) SWIG_AsInt(obj2
);  
10730         if (PyErr_Occurred()) SWIG_fail
; 
10733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10734         result 
= (bool)(arg1
)->SetCapture(arg2
,arg3
); 
10736         wxPyEndAllowThreads(__tstate
); 
10737         if (PyErr_Occurred()) SWIG_fail
; 
10740         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10748 static PyObject 
*_wrap_Joystick_ReleaseCapture(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10749     PyObject 
*resultobj
; 
10750     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10752     PyObject 
* obj0 
= 0 ; 
10753     char *kwnames
[] = { 
10754         (char *) "self", NULL 
 
10757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
; 
10758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10762         result 
= (bool)(arg1
)->ReleaseCapture(); 
10764         wxPyEndAllowThreads(__tstate
); 
10765         if (PyErr_Occurred()) SWIG_fail
; 
10768         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10776 static PyObject 
* Joystick_swigregister(PyObject 
*self
, PyObject 
*args
) { 
10778     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10779     SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
); 
10781     return Py_BuildValue((char *)""); 
10783 static PyObject 
*_wrap_JoystickEvent_m_pos_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10784     PyObject 
*resultobj
; 
10785     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10786     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
10787     PyObject 
* obj0 
= 0 ; 
10788     PyObject 
* obj1 
= 0 ; 
10789     char *kwnames
[] = { 
10790         (char *) "self",(char *) "m_pos", NULL 
 
10793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10794     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10795     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10796     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
, 
10797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10798     if (arg1
) (arg1
)->m_pos 
= *arg2
; 
10800     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10807 static PyObject 
*_wrap_JoystickEvent_m_pos_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10808     PyObject 
*resultobj
; 
10809     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10811     PyObject 
* obj0 
= 0 ; 
10812     char *kwnames
[] = { 
10813         (char *) "self", NULL 
 
10816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
; 
10817     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10818     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10819     result 
= (wxPoint 
*)& ((arg1
)->m_pos
); 
10821     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
10828 static PyObject 
*_wrap_JoystickEvent_m_zPosition_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10829     PyObject 
*resultobj
; 
10830     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10832     PyObject 
* obj0 
= 0 ; 
10833     PyObject 
* obj1 
= 0 ; 
10834     char *kwnames
[] = { 
10835         (char *) "self",(char *) "m_zPosition", NULL 
 
10838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10839     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10841     arg2 
= (int) SWIG_AsInt(obj1
);  
10842     if (PyErr_Occurred()) SWIG_fail
; 
10843     if (arg1
) (arg1
)->m_zPosition 
= arg2
; 
10845     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10852 static PyObject 
*_wrap_JoystickEvent_m_zPosition_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10853     PyObject 
*resultobj
; 
10854     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10856     PyObject 
* obj0 
= 0 ; 
10857     char *kwnames
[] = { 
10858         (char *) "self", NULL 
 
10861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
; 
10862     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10863     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10864     result 
= (int) ((arg1
)->m_zPosition
); 
10866     resultobj 
= SWIG_FromInt((int)result
); 
10873 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10874     PyObject 
*resultobj
; 
10875     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10877     PyObject 
* obj0 
= 0 ; 
10878     PyObject 
* obj1 
= 0 ; 
10879     char *kwnames
[] = { 
10880         (char *) "self",(char *) "m_buttonChange", NULL 
 
10883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10884     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10885     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10886     arg2 
= (int) SWIG_AsInt(obj1
);  
10887     if (PyErr_Occurred()) SWIG_fail
; 
10888     if (arg1
) (arg1
)->m_buttonChange 
= arg2
; 
10890     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10897 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10898     PyObject 
*resultobj
; 
10899     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10901     PyObject 
* obj0 
= 0 ; 
10902     char *kwnames
[] = { 
10903         (char *) "self", NULL 
 
10906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
; 
10907     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10909     result 
= (int) ((arg1
)->m_buttonChange
); 
10911     resultobj 
= SWIG_FromInt((int)result
); 
10918 static PyObject 
*_wrap_JoystickEvent_m_buttonState_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10919     PyObject 
*resultobj
; 
10920     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10922     PyObject 
* obj0 
= 0 ; 
10923     PyObject 
* obj1 
= 0 ; 
10924     char *kwnames
[] = { 
10925         (char *) "self",(char *) "m_buttonState", NULL 
 
10928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10929     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10930     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10931     arg2 
= (int) SWIG_AsInt(obj1
);  
10932     if (PyErr_Occurred()) SWIG_fail
; 
10933     if (arg1
) (arg1
)->m_buttonState 
= arg2
; 
10935     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10942 static PyObject 
*_wrap_JoystickEvent_m_buttonState_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10943     PyObject 
*resultobj
; 
10944     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10946     PyObject 
* obj0 
= 0 ; 
10947     char *kwnames
[] = { 
10948         (char *) "self", NULL 
 
10951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
; 
10952     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10953     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10954     result 
= (int) ((arg1
)->m_buttonState
); 
10956     resultobj 
= SWIG_FromInt((int)result
); 
10963 static PyObject 
*_wrap_JoystickEvent_m_joyStick_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10964     PyObject 
*resultobj
; 
10965     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10967     PyObject 
* obj0 
= 0 ; 
10968     PyObject 
* obj1 
= 0 ; 
10969     char *kwnames
[] = { 
10970         (char *) "self",(char *) "m_joyStick", NULL 
 
10973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10976     arg2 
= (int) SWIG_AsInt(obj1
);  
10977     if (PyErr_Occurred()) SWIG_fail
; 
10978     if (arg1
) (arg1
)->m_joyStick 
= arg2
; 
10980     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10987 static PyObject 
*_wrap_JoystickEvent_m_joyStick_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10988     PyObject 
*resultobj
; 
10989     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10991     PyObject 
* obj0 
= 0 ; 
10992     char *kwnames
[] = { 
10993         (char *) "self", NULL 
 
10996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
; 
10997     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10998     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10999     result 
= (int) ((arg1
)->m_joyStick
); 
11001     resultobj 
= SWIG_FromInt((int)result
); 
11008 static PyObject 
*_wrap_new_JoystickEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11009     PyObject 
*resultobj
; 
11010     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11011     int arg2 
= (int) 0 ; 
11012     int arg3 
= (int) wxJOYSTICK1 
; 
11013     int arg4 
= (int) 0 ; 
11014     wxJoystickEvent 
*result
; 
11015     PyObject 
* obj0 
= 0 ; 
11016     PyObject 
* obj1 
= 0 ; 
11017     PyObject 
* obj2 
= 0 ; 
11018     PyObject 
* obj3 
= 0 ; 
11019     char *kwnames
[] = { 
11020         (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL 
 
11023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11025         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
11026         if (PyErr_Occurred()) SWIG_fail
; 
11029         arg2 
= (int) SWIG_AsInt(obj1
);  
11030         if (PyErr_Occurred()) SWIG_fail
; 
11033         arg3 
= (int) SWIG_AsInt(obj2
);  
11034         if (PyErr_Occurred()) SWIG_fail
; 
11037         arg4 
= (int) SWIG_AsInt(obj3
);  
11038         if (PyErr_Occurred()) SWIG_fail
; 
11041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11042         result 
= (wxJoystickEvent 
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
); 
11044         wxPyEndAllowThreads(__tstate
); 
11045         if (PyErr_Occurred()) SWIG_fail
; 
11047     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1); 
11054 static PyObject 
*_wrap_JoystickEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11055     PyObject 
*resultobj
; 
11056     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11058     PyObject 
* obj0 
= 0 ; 
11059     char *kwnames
[] = { 
11060         (char *) "self", NULL 
 
11063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
11064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11068         result 
= ((wxJoystickEvent 
const *)arg1
)->GetPosition(); 
11070         wxPyEndAllowThreads(__tstate
); 
11071         if (PyErr_Occurred()) SWIG_fail
; 
11074         wxPoint 
* resultptr
; 
11075         resultptr 
= new wxPoint((wxPoint 
&) result
); 
11076         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
11084 static PyObject 
*_wrap_JoystickEvent_GetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11085     PyObject 
*resultobj
; 
11086     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11088     PyObject 
* obj0 
= 0 ; 
11089     char *kwnames
[] = { 
11090         (char *) "self", NULL 
 
11093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
; 
11094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11098         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetZPosition(); 
11100         wxPyEndAllowThreads(__tstate
); 
11101         if (PyErr_Occurred()) SWIG_fail
; 
11103     resultobj 
= SWIG_FromInt((int)result
); 
11110 static PyObject 
*_wrap_JoystickEvent_GetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11111     PyObject 
*resultobj
; 
11112     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11114     PyObject 
* obj0 
= 0 ; 
11115     char *kwnames
[] = { 
11116         (char *) "self", NULL 
 
11119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
; 
11120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11123         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11124         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonState(); 
11126         wxPyEndAllowThreads(__tstate
); 
11127         if (PyErr_Occurred()) SWIG_fail
; 
11129     resultobj 
= SWIG_FromInt((int)result
); 
11136 static PyObject 
*_wrap_JoystickEvent_GetButtonChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11137     PyObject 
*resultobj
; 
11138     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11140     PyObject 
* obj0 
= 0 ; 
11141     char *kwnames
[] = { 
11142         (char *) "self", NULL 
 
11145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
; 
11146     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11147     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11150         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonChange(); 
11152         wxPyEndAllowThreads(__tstate
); 
11153         if (PyErr_Occurred()) SWIG_fail
; 
11155     resultobj 
= SWIG_FromInt((int)result
); 
11162 static PyObject 
*_wrap_JoystickEvent_GetJoystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11163     PyObject 
*resultobj
; 
11164     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11166     PyObject 
* obj0 
= 0 ; 
11167     char *kwnames
[] = { 
11168         (char *) "self", NULL 
 
11171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
; 
11172     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11173     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11176         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetJoystick(); 
11178         wxPyEndAllowThreads(__tstate
); 
11179         if (PyErr_Occurred()) SWIG_fail
; 
11181     resultobj 
= SWIG_FromInt((int)result
); 
11188 static PyObject 
*_wrap_JoystickEvent_SetJoystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11189     PyObject 
*resultobj
; 
11190     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11192     PyObject 
* obj0 
= 0 ; 
11193     PyObject 
* obj1 
= 0 ; 
11194     char *kwnames
[] = { 
11195         (char *) "self",(char *) "stick", NULL 
 
11198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
; 
11199     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11200     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11201     arg2 
= (int) SWIG_AsInt(obj1
);  
11202     if (PyErr_Occurred()) SWIG_fail
; 
11204         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11205         (arg1
)->SetJoystick(arg2
); 
11207         wxPyEndAllowThreads(__tstate
); 
11208         if (PyErr_Occurred()) SWIG_fail
; 
11210     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11217 static PyObject 
*_wrap_JoystickEvent_SetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11218     PyObject 
*resultobj
; 
11219     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11221     PyObject 
* obj0 
= 0 ; 
11222     PyObject 
* obj1 
= 0 ; 
11223     char *kwnames
[] = { 
11224         (char *) "self",(char *) "state", NULL 
 
11227     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
; 
11228     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11229     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11230     arg2 
= (int) SWIG_AsInt(obj1
);  
11231     if (PyErr_Occurred()) SWIG_fail
; 
11233         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11234         (arg1
)->SetButtonState(arg2
); 
11236         wxPyEndAllowThreads(__tstate
); 
11237         if (PyErr_Occurred()) SWIG_fail
; 
11239     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11246 static PyObject 
*_wrap_JoystickEvent_SetButtonChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11247     PyObject 
*resultobj
; 
11248     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11250     PyObject 
* obj0 
= 0 ; 
11251     PyObject 
* obj1 
= 0 ; 
11252     char *kwnames
[] = { 
11253         (char *) "self",(char *) "change", NULL 
 
11256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
; 
11257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11259     arg2 
= (int) SWIG_AsInt(obj1
);  
11260     if (PyErr_Occurred()) SWIG_fail
; 
11262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11263         (arg1
)->SetButtonChange(arg2
); 
11265         wxPyEndAllowThreads(__tstate
); 
11266         if (PyErr_Occurred()) SWIG_fail
; 
11268     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11275 static PyObject 
*_wrap_JoystickEvent_SetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11276     PyObject 
*resultobj
; 
11277     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11278     wxPoint 
*arg2 
= 0 ; 
11280     PyObject 
* obj0 
= 0 ; 
11281     PyObject 
* obj1 
= 0 ; 
11282     char *kwnames
[] = { 
11283         (char *) "self",(char *) "pos", NULL 
 
11286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11287     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11288     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11291         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11295         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
11297         wxPyEndAllowThreads(__tstate
); 
11298         if (PyErr_Occurred()) SWIG_fail
; 
11300     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11307 static PyObject 
*_wrap_JoystickEvent_SetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11308     PyObject 
*resultobj
; 
11309     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11311     PyObject 
* obj0 
= 0 ; 
11312     PyObject 
* obj1 
= 0 ; 
11313     char *kwnames
[] = { 
11314         (char *) "self",(char *) "zPos", NULL 
 
11317     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11318     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11319     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11320     arg2 
= (int) SWIG_AsInt(obj1
);  
11321     if (PyErr_Occurred()) SWIG_fail
; 
11323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11324         (arg1
)->SetZPosition(arg2
); 
11326         wxPyEndAllowThreads(__tstate
); 
11327         if (PyErr_Occurred()) SWIG_fail
; 
11329     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11336 static PyObject 
*_wrap_JoystickEvent_IsButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11337     PyObject 
*resultobj
; 
11338     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11340     PyObject 
* obj0 
= 0 ; 
11341     char *kwnames
[] = { 
11342         (char *) "self", NULL 
 
11345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
; 
11346     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11347     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11350         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsButton(); 
11352         wxPyEndAllowThreads(__tstate
); 
11353         if (PyErr_Occurred()) SWIG_fail
; 
11356         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11364 static PyObject 
*_wrap_JoystickEvent_IsMove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11365     PyObject 
*resultobj
; 
11366     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11368     PyObject 
* obj0 
= 0 ; 
11369     char *kwnames
[] = { 
11370         (char *) "self", NULL 
 
11373     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
; 
11374     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11375     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11378         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsMove(); 
11380         wxPyEndAllowThreads(__tstate
); 
11381         if (PyErr_Occurred()) SWIG_fail
; 
11384         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11392 static PyObject 
*_wrap_JoystickEvent_IsZMove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11393     PyObject 
*resultobj
; 
11394     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11396     PyObject 
* obj0 
= 0 ; 
11397     char *kwnames
[] = { 
11398         (char *) "self", NULL 
 
11401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
; 
11402     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11403     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11406         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsZMove(); 
11408         wxPyEndAllowThreads(__tstate
); 
11409         if (PyErr_Occurred()) SWIG_fail
; 
11412         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11420 static PyObject 
*_wrap_JoystickEvent_ButtonDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11421     PyObject 
*resultobj
; 
11422     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11423     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11425     PyObject 
* obj0 
= 0 ; 
11426     PyObject 
* obj1 
= 0 ; 
11427     char *kwnames
[] = { 
11428         (char *) "self",(char *) "but", NULL 
 
11431     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11432     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11433     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11435         arg2 
= (int) SWIG_AsInt(obj1
);  
11436         if (PyErr_Occurred()) SWIG_fail
; 
11439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11440         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonDown(arg2
); 
11442         wxPyEndAllowThreads(__tstate
); 
11443         if (PyErr_Occurred()) SWIG_fail
; 
11446         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11454 static PyObject 
*_wrap_JoystickEvent_ButtonUp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11455     PyObject 
*resultobj
; 
11456     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11457     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11459     PyObject 
* obj0 
= 0 ; 
11460     PyObject 
* obj1 
= 0 ; 
11461     char *kwnames
[] = { 
11462         (char *) "self",(char *) "but", NULL 
 
11465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
; 
11466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11469         arg2 
= (int) SWIG_AsInt(obj1
);  
11470         if (PyErr_Occurred()) SWIG_fail
; 
11473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11474         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonUp(arg2
); 
11476         wxPyEndAllowThreads(__tstate
); 
11477         if (PyErr_Occurred()) SWIG_fail
; 
11480         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11488 static PyObject 
*_wrap_JoystickEvent_ButtonIsDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11489     PyObject 
*resultobj
; 
11490     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11491     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11493     PyObject 
* obj0 
= 0 ; 
11494     PyObject 
* obj1 
= 0 ; 
11495     char *kwnames
[] = { 
11496         (char *) "self",(char *) "but", NULL 
 
11499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11503         arg2 
= (int) SWIG_AsInt(obj1
);  
11504         if (PyErr_Occurred()) SWIG_fail
; 
11507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11508         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonIsDown(arg2
); 
11510         wxPyEndAllowThreads(__tstate
); 
11511         if (PyErr_Occurred()) SWIG_fail
; 
11514         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11522 static PyObject 
* JoystickEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11524     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11525     SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
); 
11527     return Py_BuildValue((char *)""); 
11529 static PyObject 
*_wrap_new_Sound(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11530     PyObject 
*resultobj
; 
11531     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
11532     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
11534     bool temp1 
= False 
; 
11535     PyObject 
* obj0 
= 0 ; 
11536     char *kwnames
[] = { 
11537         (char *) "fileName", NULL 
 
11540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
; 
11543             arg1 
= wxString_in_helper(obj0
); 
11544             if (arg1 
== NULL
) SWIG_fail
; 
11549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11550         result 
= (wxSound 
*)new_wxSound((wxString 
const &)*arg1
); 
11552         wxPyEndAllowThreads(__tstate
); 
11553         if (PyErr_Occurred()) SWIG_fail
; 
11555     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11570 static PyObject 
*_wrap_new_SoundFromData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11571     PyObject 
*resultobj
; 
11572     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
11574     PyObject 
* obj0 
= 0 ; 
11575     char *kwnames
[] = { 
11576         (char *) "data", NULL 
 
11579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
; 
11582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11583         result 
= (wxSound 
*)new_wxSound(arg1
); 
11585         wxPyEndAllowThreads(__tstate
); 
11586         if (PyErr_Occurred()) SWIG_fail
; 
11588     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11595 static PyObject 
*_wrap_delete_Sound(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11596     PyObject 
*resultobj
; 
11597     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11598     PyObject 
* obj0 
= 0 ; 
11599     char *kwnames
[] = { 
11600         (char *) "self", NULL 
 
11603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
; 
11604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11610         wxPyEndAllowThreads(__tstate
); 
11611         if (PyErr_Occurred()) SWIG_fail
; 
11613     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11620 static PyObject 
*_wrap_Sound_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11621     PyObject 
*resultobj
; 
11622     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11623     wxString 
*arg2 
= 0 ; 
11625     bool temp2 
= False 
; 
11626     PyObject 
* obj0 
= 0 ; 
11627     PyObject 
* obj1 
= 0 ; 
11628     char *kwnames
[] = { 
11629         (char *) "self",(char *) "fileName", NULL 
 
11632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
; 
11633     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11634     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11636         arg2 
= wxString_in_helper(obj1
); 
11637         if (arg2 
== NULL
) SWIG_fail
; 
11641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11642         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
); 
11644         wxPyEndAllowThreads(__tstate
); 
11645         if (PyErr_Occurred()) SWIG_fail
; 
11648         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11664 static PyObject 
*_wrap_Sound_CreateFromData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11665     PyObject 
*resultobj
; 
11666     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11667     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
11669     PyObject 
* obj0 
= 0 ; 
11670     PyObject 
* obj1 
= 0 ; 
11671     char *kwnames
[] = { 
11672         (char *) "self",(char *) "data", NULL 
 
11675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
; 
11676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11681         result 
= (bool)wxSound_CreateFromData(arg1
,arg2
); 
11683         wxPyEndAllowThreads(__tstate
); 
11684         if (PyErr_Occurred()) SWIG_fail
; 
11687         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11695 static PyObject 
*_wrap_Sound_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11696     PyObject 
*resultobj
; 
11697     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11699     PyObject 
* obj0 
= 0 ; 
11700     char *kwnames
[] = { 
11701         (char *) "self", NULL 
 
11704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
; 
11705     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11706     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11709         result 
= (bool)(arg1
)->IsOk(); 
11711         wxPyEndAllowThreads(__tstate
); 
11712         if (PyErr_Occurred()) SWIG_fail
; 
11715         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11723 static PyObject 
*_wrap_Sound_Play(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11724     PyObject 
*resultobj
; 
11725     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11726     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
11728     PyObject 
* obj0 
= 0 ; 
11729     PyObject 
* obj1 
= 0 ; 
11730     char *kwnames
[] = { 
11731         (char *) "self",(char *) "flags", NULL 
 
11734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
; 
11735     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11736     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11738         arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
11739         if (PyErr_Occurred()) SWIG_fail
; 
11742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11743         result 
= (bool)((wxSound 
const *)arg1
)->Play(arg2
); 
11745         wxPyEndAllowThreads(__tstate
); 
11746         if (PyErr_Occurred()) SWIG_fail
; 
11749         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11757 static PyObject 
*_wrap_Sound_PlaySound(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11758     PyObject 
*resultobj
; 
11759     wxString 
*arg1 
= 0 ; 
11760     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
11762     bool temp1 
= False 
; 
11763     PyObject 
* obj0 
= 0 ; 
11764     PyObject 
* obj1 
= 0 ; 
11765     char *kwnames
[] = { 
11766         (char *) "filename",(char *) "flags", NULL 
 
11769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
; 
11771         arg1 
= wxString_in_helper(obj0
); 
11772         if (arg1 
== NULL
) SWIG_fail
; 
11776         arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
11777         if (PyErr_Occurred()) SWIG_fail
; 
11780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11781         result 
= (bool)wxSound::Play((wxString 
const &)*arg1
,arg2
); 
11783         wxPyEndAllowThreads(__tstate
); 
11784         if (PyErr_Occurred()) SWIG_fail
; 
11787         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11803 static PyObject 
*_wrap_Sound_Stop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11804     PyObject 
*resultobj
; 
11805     char *kwnames
[] = { 
11809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
; 
11811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11814         wxPyEndAllowThreads(__tstate
); 
11815         if (PyErr_Occurred()) SWIG_fail
; 
11817     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11824 static PyObject 
* Sound_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11826     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11827     SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
); 
11829     return Py_BuildValue((char *)""); 
11831 static PyObject 
*_wrap_new_FileTypeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11832     PyObject 
*resultobj
; 
11833     wxString 
*arg1 
= 0 ; 
11834     wxString 
*arg2 
= 0 ; 
11835     wxString 
*arg3 
= 0 ; 
11836     wxString 
*arg4 
= 0 ; 
11837     wxFileTypeInfo 
*result
; 
11838     bool temp1 
= False 
; 
11839     bool temp2 
= False 
; 
11840     bool temp3 
= False 
; 
11841     bool temp4 
= False 
; 
11842     PyObject 
* obj0 
= 0 ; 
11843     PyObject 
* obj1 
= 0 ; 
11844     PyObject 
* obj2 
= 0 ; 
11845     PyObject 
* obj3 
= 0 ; 
11846     char *kwnames
[] = { 
11847         (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL 
 
11850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11852         arg1 
= wxString_in_helper(obj0
); 
11853         if (arg1 
== NULL
) SWIG_fail
; 
11857         arg2 
= wxString_in_helper(obj1
); 
11858         if (arg2 
== NULL
) SWIG_fail
; 
11862         arg3 
= wxString_in_helper(obj2
); 
11863         if (arg3 
== NULL
) SWIG_fail
; 
11867         arg4 
= wxString_in_helper(obj3
); 
11868         if (arg4 
== NULL
) SWIG_fail
; 
11872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11873         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
11875         wxPyEndAllowThreads(__tstate
); 
11876         if (PyErr_Occurred()) SWIG_fail
; 
11878     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
11917 static PyObject 
*_wrap_new_FileTypeInfoSequence(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11918     PyObject 
*resultobj
; 
11919     wxArrayString 
*arg1 
= 0 ; 
11920     wxFileTypeInfo 
*result
; 
11921     bool temp1 
= False 
; 
11922     PyObject 
* obj0 
= 0 ; 
11923     char *kwnames
[] = { 
11924         (char *) "sArray", NULL 
 
11927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
; 
11929         if (! PySequence_Check(obj0
)) { 
11930             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
11933         arg1 
= new wxArrayString
; 
11935         int i
, len
=PySequence_Length(obj0
); 
11936         for (i
=0; i
<len
; i
++) { 
11937             PyObject
* item 
= PySequence_GetItem(obj0
, i
); 
11939             PyObject
* str  
= PyObject_Unicode(item
); 
11941             PyObject
* str  
= PyObject_Str(item
); 
11943             if (PyErr_Occurred())  SWIG_fail
; 
11944             arg1
->Add(Py2wxString(str
)); 
11950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11951         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxArrayString 
const &)*arg1
); 
11953         wxPyEndAllowThreads(__tstate
); 
11954         if (PyErr_Occurred()) SWIG_fail
; 
11956     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
11958         if (temp1
) delete arg1
; 
11963         if (temp1
) delete arg1
; 
11969 static PyObject 
*_wrap_new_NullFileTypeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11970     PyObject 
*resultobj
; 
11971     wxFileTypeInfo 
*result
; 
11972     char *kwnames
[] = { 
11976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
; 
11978         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11979         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo(); 
11981         wxPyEndAllowThreads(__tstate
); 
11982         if (PyErr_Occurred()) SWIG_fail
; 
11984     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
11991 static PyObject 
*_wrap_FileTypeInfo_IsValid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11992     PyObject 
*resultobj
; 
11993     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
11995     PyObject 
* obj0 
= 0 ; 
11996     char *kwnames
[] = { 
11997         (char *) "self", NULL 
 
12000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
; 
12001     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12002     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12005         result 
= (bool)((wxFileTypeInfo 
const *)arg1
)->IsValid(); 
12007         wxPyEndAllowThreads(__tstate
); 
12008         if (PyErr_Occurred()) SWIG_fail
; 
12011         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12019 static PyObject 
*_wrap_FileTypeInfo_SetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12020     PyObject 
*resultobj
; 
12021     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12022     wxString 
*arg2 
= 0 ; 
12023     int arg3 
= (int) 0 ; 
12024     bool temp2 
= False 
; 
12025     PyObject 
* obj0 
= 0 ; 
12026     PyObject 
* obj1 
= 0 ; 
12027     PyObject 
* obj2 
= 0 ; 
12028     char *kwnames
[] = { 
12029         (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL 
 
12032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12033     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12034     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12036         arg2 
= wxString_in_helper(obj1
); 
12037         if (arg2 
== NULL
) SWIG_fail
; 
12041         arg3 
= (int) SWIG_AsInt(obj2
);  
12042         if (PyErr_Occurred()) SWIG_fail
; 
12045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12046         (arg1
)->SetIcon((wxString 
const &)*arg2
,arg3
); 
12048         wxPyEndAllowThreads(__tstate
); 
12049         if (PyErr_Occurred()) SWIG_fail
; 
12051     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12066 static PyObject 
*_wrap_FileTypeInfo_SetShortDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12067     PyObject 
*resultobj
; 
12068     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12069     wxString 
*arg2 
= 0 ; 
12070     bool temp2 
= False 
; 
12071     PyObject 
* obj0 
= 0 ; 
12072     PyObject 
* obj1 
= 0 ; 
12073     char *kwnames
[] = { 
12074         (char *) "self",(char *) "shortDesc", NULL 
 
12077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
12078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12081         arg2 
= wxString_in_helper(obj1
); 
12082         if (arg2 
== NULL
) SWIG_fail
; 
12086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12087         (arg1
)->SetShortDesc((wxString 
const &)*arg2
); 
12089         wxPyEndAllowThreads(__tstate
); 
12090         if (PyErr_Occurred()) SWIG_fail
; 
12092     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12107 static PyObject 
*_wrap_FileTypeInfo_GetMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12108     PyObject 
*resultobj
; 
12109     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12111     PyObject 
* obj0 
= 0 ; 
12112     char *kwnames
[] = { 
12113         (char *) "self", NULL 
 
12116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12117     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12118     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12120         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12122             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetMimeType(); 
12123             result 
= (wxString 
*) &_result_ref
; 
12126         wxPyEndAllowThreads(__tstate
); 
12127         if (PyErr_Occurred()) SWIG_fail
; 
12131         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12133         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12142 static PyObject 
*_wrap_FileTypeInfo_GetOpenCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12143     PyObject 
*resultobj
; 
12144     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12146     PyObject 
* obj0 
= 0 ; 
12147     char *kwnames
[] = { 
12148         (char *) "self", NULL 
 
12151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
; 
12152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12155         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12157             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetOpenCommand(); 
12158             result 
= (wxString 
*) &_result_ref
; 
12161         wxPyEndAllowThreads(__tstate
); 
12162         if (PyErr_Occurred()) SWIG_fail
; 
12166         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12168         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12177 static PyObject 
*_wrap_FileTypeInfo_GetPrintCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12178     PyObject 
*resultobj
; 
12179     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12181     PyObject 
* obj0 
= 0 ; 
12182     char *kwnames
[] = { 
12183         (char *) "self", NULL 
 
12186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
; 
12187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12192             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetPrintCommand(); 
12193             result 
= (wxString 
*) &_result_ref
; 
12196         wxPyEndAllowThreads(__tstate
); 
12197         if (PyErr_Occurred()) SWIG_fail
; 
12201         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12203         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12212 static PyObject 
*_wrap_FileTypeInfo_GetShortDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12213     PyObject 
*resultobj
; 
12214     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12216     PyObject 
* obj0 
= 0 ; 
12217     char *kwnames
[] = { 
12218         (char *) "self", NULL 
 
12221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
; 
12222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12227             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetShortDesc(); 
12228             result 
= (wxString 
*) &_result_ref
; 
12231         wxPyEndAllowThreads(__tstate
); 
12232         if (PyErr_Occurred()) SWIG_fail
; 
12236         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12238         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12247 static PyObject 
*_wrap_FileTypeInfo_GetDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12248     PyObject 
*resultobj
; 
12249     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12251     PyObject 
* obj0 
= 0 ; 
12252     char *kwnames
[] = { 
12253         (char *) "self", NULL 
 
12256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
; 
12257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12262             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetDescription(); 
12263             result 
= (wxString 
*) &_result_ref
; 
12266         wxPyEndAllowThreads(__tstate
); 
12267         if (PyErr_Occurred()) SWIG_fail
; 
12271         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12273         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12282 static PyObject 
*_wrap_FileTypeInfo_GetExtensions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12283     PyObject 
*resultobj
; 
12284     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12285     wxArrayString 
*result
; 
12286     PyObject 
* obj0 
= 0 ; 
12287     char *kwnames
[] = { 
12288         (char *) "self", NULL 
 
12291     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12292     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12293     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12297             wxArrayString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetExtensions(); 
12298             result 
= (wxArrayString 
*) &_result_ref
; 
12301         wxPyEndAllowThreads(__tstate
); 
12302         if (PyErr_Occurred()) SWIG_fail
; 
12305         resultobj 
= wxArrayString2PyList_helper(*result
); 
12313 static PyObject 
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12314     PyObject 
*resultobj
; 
12315     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12317     PyObject 
* obj0 
= 0 ; 
12318     char *kwnames
[] = { 
12319         (char *) "self", NULL 
 
12322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
; 
12323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12327         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetExtensionsCount(); 
12329         wxPyEndAllowThreads(__tstate
); 
12330         if (PyErr_Occurred()) SWIG_fail
; 
12332     resultobj 
= SWIG_FromInt((int)result
); 
12339 static PyObject 
*_wrap_FileTypeInfo_GetIconFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12340     PyObject 
*resultobj
; 
12341     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12343     PyObject 
* obj0 
= 0 ; 
12344     char *kwnames
[] = { 
12345         (char *) "self", NULL 
 
12348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
; 
12349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12354             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetIconFile(); 
12355             result 
= (wxString 
*) &_result_ref
; 
12358         wxPyEndAllowThreads(__tstate
); 
12359         if (PyErr_Occurred()) SWIG_fail
; 
12363         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12365         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12374 static PyObject 
*_wrap_FileTypeInfo_GetIconIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12375     PyObject 
*resultobj
; 
12376     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12378     PyObject 
* obj0 
= 0 ; 
12379     char *kwnames
[] = { 
12380         (char *) "self", NULL 
 
12383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
; 
12384     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12385     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12387         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12388         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetIconIndex(); 
12390         wxPyEndAllowThreads(__tstate
); 
12391         if (PyErr_Occurred()) SWIG_fail
; 
12393     resultobj 
= SWIG_FromInt((int)result
); 
12400 static PyObject 
* FileTypeInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
12402     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12403     SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
); 
12405     return Py_BuildValue((char *)""); 
12407 static PyObject 
*_wrap_new_FileType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12408     PyObject 
*resultobj
; 
12409     wxFileTypeInfo 
*arg1 
= 0 ; 
12410     wxFileType 
*result
; 
12411     PyObject 
* obj0 
= 0 ; 
12412     char *kwnames
[] = { 
12413         (char *) "ftInfo", NULL 
 
12416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
; 
12417     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12418     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12420     if (arg1 
== NULL
) { 
12421         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12426         result 
= (wxFileType 
*)new wxFileType((wxFileTypeInfo 
const &)*arg1
); 
12428         wxPyEndAllowThreads(__tstate
); 
12429         if (PyErr_Occurred()) SWIG_fail
; 
12431     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
12438 static PyObject 
*_wrap_delete_FileType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12439     PyObject 
*resultobj
; 
12440     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12441     PyObject 
* obj0 
= 0 ; 
12442     char *kwnames
[] = { 
12443         (char *) "self", NULL 
 
12446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
; 
12447     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12448     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12453         wxPyEndAllowThreads(__tstate
); 
12454         if (PyErr_Occurred()) SWIG_fail
; 
12456     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12463 static PyObject 
*_wrap_FileType_GetMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12464     PyObject 
*resultobj
; 
12465     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12467     PyObject 
* obj0 
= 0 ; 
12468     char *kwnames
[] = { 
12469         (char *) "self", NULL 
 
12472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12473     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12474     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12477         result 
= (PyObject 
*)wxFileType_GetMimeType(arg1
); 
12479         wxPyEndAllowThreads(__tstate
); 
12480         if (PyErr_Occurred()) SWIG_fail
; 
12482     resultobj 
= result
; 
12489 static PyObject 
*_wrap_FileType_GetMimeTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12490     PyObject 
*resultobj
; 
12491     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12493     PyObject 
* obj0 
= 0 ; 
12494     char *kwnames
[] = { 
12495         (char *) "self", NULL 
 
12498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
; 
12499     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12500     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12503         result 
= (PyObject 
*)wxFileType_GetMimeTypes(arg1
); 
12505         wxPyEndAllowThreads(__tstate
); 
12506         if (PyErr_Occurred()) SWIG_fail
; 
12508     resultobj 
= result
; 
12515 static PyObject 
*_wrap_FileType_GetExtensions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12516     PyObject 
*resultobj
; 
12517     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12519     PyObject 
* obj0 
= 0 ; 
12520     char *kwnames
[] = { 
12521         (char *) "self", NULL 
 
12524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12529         result 
= (PyObject 
*)wxFileType_GetExtensions(arg1
); 
12531         wxPyEndAllowThreads(__tstate
); 
12532         if (PyErr_Occurred()) SWIG_fail
; 
12534     resultobj 
= result
; 
12541 static PyObject 
*_wrap_FileType_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12542     PyObject 
*resultobj
; 
12543     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12545     PyObject 
* obj0 
= 0 ; 
12546     char *kwnames
[] = { 
12547         (char *) "self", NULL 
 
12550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
; 
12551     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12552     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12555         result 
= (wxIcon 
*)wxFileType_GetIcon(arg1
); 
12557         wxPyEndAllowThreads(__tstate
); 
12558         if (PyErr_Occurred()) SWIG_fail
; 
12560     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
12567 static PyObject 
*_wrap_FileType_GetIconInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12568     PyObject 
*resultobj
; 
12569     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12571     PyObject 
* obj0 
= 0 ; 
12572     char *kwnames
[] = { 
12573         (char *) "self", NULL 
 
12576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
; 
12577     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12578     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12581         result 
= (PyObject 
*)wxFileType_GetIconInfo(arg1
); 
12583         wxPyEndAllowThreads(__tstate
); 
12584         if (PyErr_Occurred()) SWIG_fail
; 
12586     resultobj 
= result
; 
12593 static PyObject 
*_wrap_FileType_GetDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12594     PyObject 
*resultobj
; 
12595     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12597     PyObject 
* obj0 
= 0 ; 
12598     char *kwnames
[] = { 
12599         (char *) "self", NULL 
 
12602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
; 
12603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12607         result 
= (PyObject 
*)wxFileType_GetDescription(arg1
); 
12609         wxPyEndAllowThreads(__tstate
); 
12610         if (PyErr_Occurred()) SWIG_fail
; 
12612     resultobj 
= result
; 
12619 static PyObject 
*_wrap_FileType_GetOpenCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12620     PyObject 
*resultobj
; 
12621     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12622     wxString 
*arg2 
= 0 ; 
12623     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12624     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12626     bool temp2 
= False 
; 
12627     bool temp3 
= False 
; 
12628     PyObject 
* obj0 
= 0 ; 
12629     PyObject 
* obj1 
= 0 ; 
12630     PyObject 
* obj2 
= 0 ; 
12631     char *kwnames
[] = { 
12632         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12636     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12637     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12639         arg2 
= wxString_in_helper(obj1
); 
12640         if (arg2 
== NULL
) SWIG_fail
; 
12645             arg3 
= wxString_in_helper(obj2
); 
12646             if (arg3 
== NULL
) SWIG_fail
; 
12651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12652         result 
= (PyObject 
*)wxFileType_GetOpenCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12654         wxPyEndAllowThreads(__tstate
); 
12655         if (PyErr_Occurred()) SWIG_fail
; 
12657     resultobj 
= result
; 
12680 static PyObject 
*_wrap_FileType_GetPrintCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12681     PyObject 
*resultobj
; 
12682     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12683     wxString 
*arg2 
= 0 ; 
12684     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12685     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12687     bool temp2 
= False 
; 
12688     bool temp3 
= False 
; 
12689     PyObject 
* obj0 
= 0 ; 
12690     PyObject 
* obj1 
= 0 ; 
12691     PyObject 
* obj2 
= 0 ; 
12692     char *kwnames
[] = { 
12693         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12700         arg2 
= wxString_in_helper(obj1
); 
12701         if (arg2 
== NULL
) SWIG_fail
; 
12706             arg3 
= wxString_in_helper(obj2
); 
12707             if (arg3 
== NULL
) SWIG_fail
; 
12712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12713         result 
= (PyObject 
*)wxFileType_GetPrintCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12715         wxPyEndAllowThreads(__tstate
); 
12716         if (PyErr_Occurred()) SWIG_fail
; 
12718     resultobj 
= result
; 
12741 static PyObject 
*_wrap_FileType_GetAllCommands(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12742     PyObject 
*resultobj
; 
12743     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12744     wxString 
*arg2 
= 0 ; 
12745     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12746     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12748     bool temp2 
= False 
; 
12749     bool temp3 
= False 
; 
12750     PyObject 
* obj0 
= 0 ; 
12751     PyObject 
* obj1 
= 0 ; 
12752     PyObject 
* obj2 
= 0 ; 
12753     char *kwnames
[] = { 
12754         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12761         arg2 
= wxString_in_helper(obj1
); 
12762         if (arg2 
== NULL
) SWIG_fail
; 
12767             arg3 
= wxString_in_helper(obj2
); 
12768             if (arg3 
== NULL
) SWIG_fail
; 
12773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12774         result 
= (PyObject 
*)wxFileType_GetAllCommands(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12776         wxPyEndAllowThreads(__tstate
); 
12777         if (PyErr_Occurred()) SWIG_fail
; 
12779     resultobj 
= result
; 
12802 static PyObject 
*_wrap_FileType_SetCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12803     PyObject 
*resultobj
; 
12804     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12805     wxString 
*arg2 
= 0 ; 
12806     wxString 
*arg3 
= 0 ; 
12807     bool arg4 
= (bool) True 
; 
12809     bool temp2 
= False 
; 
12810     bool temp3 
= False 
; 
12811     PyObject 
* obj0 
= 0 ; 
12812     PyObject 
* obj1 
= 0 ; 
12813     PyObject 
* obj2 
= 0 ; 
12814     PyObject 
* obj3 
= 0 ; 
12815     char *kwnames
[] = { 
12816         (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL 
 
12819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12823         arg2 
= wxString_in_helper(obj1
); 
12824         if (arg2 
== NULL
) SWIG_fail
; 
12828         arg3 
= wxString_in_helper(obj2
); 
12829         if (arg3 
== NULL
) SWIG_fail
; 
12833         arg4 
= (bool) SWIG_AsBool(obj3
);  
12834         if (PyErr_Occurred()) SWIG_fail
; 
12837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12838         result 
= (bool)(arg1
)->SetCommand((wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
12840         wxPyEndAllowThreads(__tstate
); 
12841         if (PyErr_Occurred()) SWIG_fail
; 
12844         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12868 static PyObject 
*_wrap_FileType_SetDefaultIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12869     PyObject 
*resultobj
; 
12870     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12871     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
12872     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
12873     int arg3 
= (int) 0 ; 
12875     bool temp2 
= False 
; 
12876     PyObject 
* obj0 
= 0 ; 
12877     PyObject 
* obj1 
= 0 ; 
12878     PyObject 
* obj2 
= 0 ; 
12879     char *kwnames
[] = { 
12880         (char *) "self",(char *) "cmd",(char *) "index", NULL 
 
12883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12884     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12885     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12888             arg2 
= wxString_in_helper(obj1
); 
12889             if (arg2 
== NULL
) SWIG_fail
; 
12894         arg3 
= (int) SWIG_AsInt(obj2
);  
12895         if (PyErr_Occurred()) SWIG_fail
; 
12898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12899         result 
= (bool)(arg1
)->SetDefaultIcon((wxString 
const &)*arg2
,arg3
); 
12901         wxPyEndAllowThreads(__tstate
); 
12902         if (PyErr_Occurred()) SWIG_fail
; 
12905         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12921 static PyObject 
*_wrap_FileType_Unassociate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12922     PyObject 
*resultobj
; 
12923     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12925     PyObject 
* obj0 
= 0 ; 
12926     char *kwnames
[] = { 
12927         (char *) "self", NULL 
 
12930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
; 
12931     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12932     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12935         result 
= (bool)(arg1
)->Unassociate(); 
12937         wxPyEndAllowThreads(__tstate
); 
12938         if (PyErr_Occurred()) SWIG_fail
; 
12941         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12949 static PyObject 
*_wrap_FileType_ExpandCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12950     PyObject 
*resultobj
; 
12951     wxString 
*arg1 
= 0 ; 
12952     wxString 
*arg2 
= 0 ; 
12953     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12954     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12956     bool temp1 
= False 
; 
12957     bool temp2 
= False 
; 
12958     bool temp3 
= False 
; 
12959     PyObject 
* obj0 
= 0 ; 
12960     PyObject 
* obj1 
= 0 ; 
12961     PyObject 
* obj2 
= 0 ; 
12962     char *kwnames
[] = { 
12963         (char *) "command",(char *) "filename",(char *) "mimetype", NULL 
 
12966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12968         arg1 
= wxString_in_helper(obj0
); 
12969         if (arg1 
== NULL
) SWIG_fail
; 
12973         arg2 
= wxString_in_helper(obj1
); 
12974         if (arg2 
== NULL
) SWIG_fail
; 
12979             arg3 
= wxString_in_helper(obj2
); 
12980             if (arg3 
== NULL
) SWIG_fail
; 
12985         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12986         result 
= FileType_ExpandCommand((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12988         wxPyEndAllowThreads(__tstate
); 
12989         if (PyErr_Occurred()) SWIG_fail
; 
12993         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12995         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13028 static PyObject 
* FileType_swigregister(PyObject 
*self
, PyObject 
*args
) { 
13030     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13031     SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
); 
13033     return Py_BuildValue((char *)""); 
13035 static int _wrap_TheMimeTypesManager_set(PyObject 
*_val
) { 
13036     PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only."); 
13041 static PyObject 
*_wrap_TheMimeTypesManager_get() { 
13044     pyobj 
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0); 
13049 static PyObject 
*_wrap_MimeTypesManager_IsOfType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13050     PyObject 
*resultobj
; 
13051     wxString 
*arg1 
= 0 ; 
13052     wxString 
*arg2 
= 0 ; 
13054     bool temp1 
= False 
; 
13055     bool temp2 
= False 
; 
13056     PyObject 
* obj0 
= 0 ; 
13057     PyObject 
* obj1 
= 0 ; 
13058     char *kwnames
[] = { 
13059         (char *) "mimeType",(char *) "wildcard", NULL 
 
13062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13064         arg1 
= wxString_in_helper(obj0
); 
13065         if (arg1 
== NULL
) SWIG_fail
; 
13069         arg2 
= wxString_in_helper(obj1
); 
13070         if (arg2 
== NULL
) SWIG_fail
; 
13074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13075         result 
= (bool)wxMimeTypesManager::IsOfType((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
13077         wxPyEndAllowThreads(__tstate
); 
13078         if (PyErr_Occurred()) SWIG_fail
; 
13081         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13105 static PyObject 
*_wrap_new_MimeTypesManager(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13106     PyObject 
*resultobj
; 
13107     wxMimeTypesManager 
*result
; 
13108     char *kwnames
[] = { 
13112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
; 
13114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13115         result 
= (wxMimeTypesManager 
*)new wxMimeTypesManager(); 
13117         wxPyEndAllowThreads(__tstate
); 
13118         if (PyErr_Occurred()) SWIG_fail
; 
13120     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1); 
13127 static PyObject 
*_wrap_MimeTypesManager_Initialize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13128     PyObject 
*resultobj
; 
13129     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13130     int arg2 
= (int) wxMAILCAP_ALL 
; 
13131     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13132     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13133     bool temp3 
= False 
; 
13134     PyObject 
* obj0 
= 0 ; 
13135     PyObject 
* obj1 
= 0 ; 
13136     PyObject 
* obj2 
= 0 ; 
13137     char *kwnames
[] = { 
13138         (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL 
 
13141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13145         arg2 
= (int) SWIG_AsInt(obj1
);  
13146         if (PyErr_Occurred()) SWIG_fail
; 
13150             arg3 
= wxString_in_helper(obj2
); 
13151             if (arg3 
== NULL
) SWIG_fail
; 
13156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13157         (arg1
)->Initialize(arg2
,(wxString 
const &)*arg3
); 
13159         wxPyEndAllowThreads(__tstate
); 
13160         if (PyErr_Occurred()) SWIG_fail
; 
13162     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13177 static PyObject 
*_wrap_MimeTypesManager_ClearData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13178     PyObject 
*resultobj
; 
13179     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13180     PyObject 
* obj0 
= 0 ; 
13181     char *kwnames
[] = { 
13182         (char *) "self", NULL 
 
13185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
; 
13186     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13190         (arg1
)->ClearData(); 
13192         wxPyEndAllowThreads(__tstate
); 
13193         if (PyErr_Occurred()) SWIG_fail
; 
13195     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13202 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13203     PyObject 
*resultobj
; 
13204     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13205     wxString 
*arg2 
= 0 ; 
13206     wxFileType 
*result
; 
13207     bool temp2 
= False 
; 
13208     PyObject 
* obj0 
= 0 ; 
13209     PyObject 
* obj1 
= 0 ; 
13210     char *kwnames
[] = { 
13211         (char *) "self",(char *) "ext", NULL 
 
13214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
; 
13215     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13216     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13218         arg2 
= wxString_in_helper(obj1
); 
13219         if (arg2 
== NULL
) SWIG_fail
; 
13223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13224         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromExtension((wxString 
const &)*arg2
); 
13226         wxPyEndAllowThreads(__tstate
); 
13227         if (PyErr_Occurred()) SWIG_fail
; 
13229     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13244 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13245     PyObject 
*resultobj
; 
13246     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13247     wxString 
*arg2 
= 0 ; 
13248     wxFileType 
*result
; 
13249     bool temp2 
= False 
; 
13250     PyObject 
* obj0 
= 0 ; 
13251     PyObject 
* obj1 
= 0 ; 
13252     char *kwnames
[] = { 
13253         (char *) "self",(char *) "mimeType", NULL 
 
13256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13260         arg2 
= wxString_in_helper(obj1
); 
13261         if (arg2 
== NULL
) SWIG_fail
; 
13265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13266         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromMimeType((wxString 
const &)*arg2
); 
13268         wxPyEndAllowThreads(__tstate
); 
13269         if (PyErr_Occurred()) SWIG_fail
; 
13271     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13286 static PyObject 
*_wrap_MimeTypesManager_ReadMailcap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13287     PyObject 
*resultobj
; 
13288     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13289     wxString 
*arg2 
= 0 ; 
13290     bool arg3 
= (bool) False 
; 
13292     bool temp2 
= False 
; 
13293     PyObject 
* obj0 
= 0 ; 
13294     PyObject 
* obj1 
= 0 ; 
13295     PyObject 
* obj2 
= 0 ; 
13296     char *kwnames
[] = { 
13297         (char *) "self",(char *) "filename",(char *) "fallback", NULL 
 
13300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13301     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13302     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13304         arg2 
= wxString_in_helper(obj1
); 
13305         if (arg2 
== NULL
) SWIG_fail
; 
13309         arg3 
= (bool) SWIG_AsBool(obj2
);  
13310         if (PyErr_Occurred()) SWIG_fail
; 
13313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13314         result 
= (bool)(arg1
)->ReadMailcap((wxString 
const &)*arg2
,arg3
); 
13316         wxPyEndAllowThreads(__tstate
); 
13317         if (PyErr_Occurred()) SWIG_fail
; 
13320         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13336 static PyObject 
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13337     PyObject 
*resultobj
; 
13338     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13339     wxString 
*arg2 
= 0 ; 
13341     bool temp2 
= False 
; 
13342     PyObject 
* obj0 
= 0 ; 
13343     PyObject 
* obj1 
= 0 ; 
13344     char *kwnames
[] = { 
13345         (char *) "self",(char *) "filename", NULL 
 
13348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
; 
13349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13352         arg2 
= wxString_in_helper(obj1
); 
13353         if (arg2 
== NULL
) SWIG_fail
; 
13357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13358         result 
= (bool)(arg1
)->ReadMimeTypes((wxString 
const &)*arg2
); 
13360         wxPyEndAllowThreads(__tstate
); 
13361         if (PyErr_Occurred()) SWIG_fail
; 
13364         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13380 static PyObject 
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13381     PyObject 
*resultobj
; 
13382     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13384     PyObject 
* obj0 
= 0 ; 
13385     char *kwnames
[] = { 
13386         (char *) "self", NULL 
 
13389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
; 
13390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13394         result 
= (PyObject 
*)wxMimeTypesManager_EnumAllFileTypes(arg1
); 
13396         wxPyEndAllowThreads(__tstate
); 
13397         if (PyErr_Occurred()) SWIG_fail
; 
13399     resultobj 
= result
; 
13406 static PyObject 
*_wrap_MimeTypesManager_AddFallback(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13407     PyObject 
*resultobj
; 
13408     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13409     wxFileTypeInfo 
*arg2 
= 0 ; 
13410     PyObject 
* obj0 
= 0 ; 
13411     PyObject 
* obj1 
= 0 ; 
13412     char *kwnames
[] = { 
13413         (char *) "self",(char *) "ft", NULL 
 
13416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
; 
13417     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13418     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13419     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13420     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13422     if (arg2 
== NULL
) { 
13423         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13428         (arg1
)->AddFallback((wxFileTypeInfo 
const &)*arg2
); 
13430         wxPyEndAllowThreads(__tstate
); 
13431         if (PyErr_Occurred()) SWIG_fail
; 
13433     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13440 static PyObject 
*_wrap_MimeTypesManager_Associate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13441     PyObject 
*resultobj
; 
13442     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13443     wxFileTypeInfo 
*arg2 
= 0 ; 
13444     wxFileType 
*result
; 
13445     PyObject 
* obj0 
= 0 ; 
13446     PyObject 
* obj1 
= 0 ; 
13447     char *kwnames
[] = { 
13448         (char *) "self",(char *) "ftInfo", NULL 
 
13451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13454     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13457     if (arg2 
== NULL
) { 
13458         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13463         result 
= (wxFileType 
*)(arg1
)->Associate((wxFileTypeInfo 
const &)*arg2
); 
13465         wxPyEndAllowThreads(__tstate
); 
13466         if (PyErr_Occurred()) SWIG_fail
; 
13468     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13475 static PyObject 
*_wrap_MimeTypesManager_Unassociate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13476     PyObject 
*resultobj
; 
13477     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13478     wxFileType 
*arg2 
= (wxFileType 
*) 0 ; 
13480     PyObject 
* obj0 
= 0 ; 
13481     PyObject 
* obj1 
= 0 ; 
13482     char *kwnames
[] = { 
13483         (char *) "self",(char *) "ft", NULL 
 
13486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13489     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
, 
13490     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13492         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13493         result 
= (bool)(arg1
)->Unassociate(arg2
); 
13495         wxPyEndAllowThreads(__tstate
); 
13496         if (PyErr_Occurred()) SWIG_fail
; 
13499         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13507 static PyObject 
*_wrap_delete_MimeTypesManager(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13508     PyObject 
*resultobj
; 
13509     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13510     PyObject 
* obj0 
= 0 ; 
13511     char *kwnames
[] = { 
13512         (char *) "self", NULL 
 
13515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
; 
13516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13522         wxPyEndAllowThreads(__tstate
); 
13523         if (PyErr_Occurred()) SWIG_fail
; 
13525     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13532 static PyObject 
* MimeTypesManager_swigregister(PyObject 
*self
, PyObject 
*args
) { 
13534     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13535     SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
); 
13537     return Py_BuildValue((char *)""); 
13539 static int _wrap_ART_TOOLBAR_set(PyObject 
*_val
) { 
13540     PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only."); 
13545 static PyObject 
*_wrap_ART_TOOLBAR_get() { 
13550         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13552         pyobj 
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13559 static int _wrap_ART_MENU_set(PyObject 
*_val
) { 
13560     PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only."); 
13565 static PyObject 
*_wrap_ART_MENU_get() { 
13570         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13572         pyobj 
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13579 static int _wrap_ART_FRAME_ICON_set(PyObject 
*_val
) { 
13580     PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only."); 
13585 static PyObject 
*_wrap_ART_FRAME_ICON_get() { 
13590         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13592         pyobj 
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13599 static int _wrap_ART_CMN_DIALOG_set(PyObject 
*_val
) { 
13600     PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only."); 
13605 static PyObject 
*_wrap_ART_CMN_DIALOG_get() { 
13610         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
13612         pyobj 
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
13619 static int _wrap_ART_HELP_BROWSER_set(PyObject 
*_val
) { 
13620     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only."); 
13625 static PyObject 
*_wrap_ART_HELP_BROWSER_get() { 
13630         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
13632         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
13639 static int _wrap_ART_MESSAGE_BOX_set(PyObject 
*_val
) { 
13640     PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only."); 
13645 static PyObject 
*_wrap_ART_MESSAGE_BOX_get() { 
13650         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
13652         pyobj 
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
13659 static int _wrap_ART_OTHER_set(PyObject 
*_val
) { 
13660     PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only."); 
13665 static PyObject 
*_wrap_ART_OTHER_get() { 
13670         pyobj 
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
13672         pyobj 
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
13679 static int _wrap_ART_ADD_BOOKMARK_set(PyObject 
*_val
) { 
13680     PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only."); 
13685 static PyObject 
*_wrap_ART_ADD_BOOKMARK_get() { 
13690         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
13692         pyobj 
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
13699 static int _wrap_ART_DEL_BOOKMARK_set(PyObject 
*_val
) { 
13700     PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only."); 
13705 static PyObject 
*_wrap_ART_DEL_BOOKMARK_get() { 
13710         pyobj 
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
13712         pyobj 
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
13719 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject 
*_val
) { 
13720     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only."); 
13725 static PyObject 
*_wrap_ART_HELP_SIDE_PANEL_get() { 
13730         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
13732         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
13739 static int _wrap_ART_HELP_SETTINGS_set(PyObject 
*_val
) { 
13740     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only."); 
13745 static PyObject 
*_wrap_ART_HELP_SETTINGS_get() { 
13750         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
13752         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
13759 static int _wrap_ART_HELP_BOOK_set(PyObject 
*_val
) { 
13760     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only."); 
13765 static PyObject 
*_wrap_ART_HELP_BOOK_get() { 
13770         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
13772         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
13779 static int _wrap_ART_HELP_FOLDER_set(PyObject 
*_val
) { 
13780     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only."); 
13785 static PyObject 
*_wrap_ART_HELP_FOLDER_get() { 
13790         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
13792         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
13799 static int _wrap_ART_HELP_PAGE_set(PyObject 
*_val
) { 
13800     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only."); 
13805 static PyObject 
*_wrap_ART_HELP_PAGE_get() { 
13810         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
13812         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
13819 static int _wrap_ART_GO_BACK_set(PyObject 
*_val
) { 
13820     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only."); 
13825 static PyObject 
*_wrap_ART_GO_BACK_get() { 
13830         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
13832         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
13839 static int _wrap_ART_GO_FORWARD_set(PyObject 
*_val
) { 
13840     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only."); 
13845 static PyObject 
*_wrap_ART_GO_FORWARD_get() { 
13850         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
13852         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
13859 static int _wrap_ART_GO_UP_set(PyObject 
*_val
) { 
13860     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only."); 
13865 static PyObject 
*_wrap_ART_GO_UP_get() { 
13870         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
13872         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
13879 static int _wrap_ART_GO_DOWN_set(PyObject 
*_val
) { 
13880     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only."); 
13885 static PyObject 
*_wrap_ART_GO_DOWN_get() { 
13890         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
13892         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
13899 static int _wrap_ART_GO_TO_PARENT_set(PyObject 
*_val
) { 
13900     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only."); 
13905 static PyObject 
*_wrap_ART_GO_TO_PARENT_get() { 
13910         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
13912         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
13919 static int _wrap_ART_GO_HOME_set(PyObject 
*_val
) { 
13920     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only."); 
13925 static PyObject 
*_wrap_ART_GO_HOME_get() { 
13930         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
13932         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
13939 static int _wrap_ART_FILE_OPEN_set(PyObject 
*_val
) { 
13940     PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only."); 
13945 static PyObject 
*_wrap_ART_FILE_OPEN_get() { 
13950         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
13952         pyobj 
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
13959 static int _wrap_ART_PRINT_set(PyObject 
*_val
) { 
13960     PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only."); 
13965 static PyObject 
*_wrap_ART_PRINT_get() { 
13970         pyobj 
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
13972         pyobj 
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
13979 static int _wrap_ART_HELP_set(PyObject 
*_val
) { 
13980     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only."); 
13985 static PyObject 
*_wrap_ART_HELP_get() { 
13990         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
13992         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
13999 static int _wrap_ART_TIP_set(PyObject 
*_val
) { 
14000     PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only."); 
14005 static PyObject 
*_wrap_ART_TIP_get() { 
14010         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14012         pyobj 
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14019 static int _wrap_ART_REPORT_VIEW_set(PyObject 
*_val
) { 
14020     PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only."); 
14025 static PyObject 
*_wrap_ART_REPORT_VIEW_get() { 
14030         pyobj 
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14032         pyobj 
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14039 static int _wrap_ART_LIST_VIEW_set(PyObject 
*_val
) { 
14040     PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only."); 
14045 static PyObject 
*_wrap_ART_LIST_VIEW_get() { 
14050         pyobj 
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14052         pyobj 
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14059 static int _wrap_ART_NEW_DIR_set(PyObject 
*_val
) { 
14060     PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only."); 
14065 static PyObject 
*_wrap_ART_NEW_DIR_get() { 
14070         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14072         pyobj 
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14079 static int _wrap_ART_FOLDER_set(PyObject 
*_val
) { 
14080     PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only."); 
14085 static PyObject 
*_wrap_ART_FOLDER_get() { 
14090         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14092         pyobj 
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14099 static int _wrap_ART_GO_DIR_UP_set(PyObject 
*_val
) { 
14100     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only."); 
14105 static PyObject 
*_wrap_ART_GO_DIR_UP_get() { 
14110         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14112         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14119 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject 
*_val
) { 
14120     PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only."); 
14125 static PyObject 
*_wrap_ART_EXECUTABLE_FILE_get() { 
14130         pyobj 
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14132         pyobj 
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14139 static int _wrap_ART_NORMAL_FILE_set(PyObject 
*_val
) { 
14140     PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only."); 
14145 static PyObject 
*_wrap_ART_NORMAL_FILE_get() { 
14150         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14152         pyobj 
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14159 static int _wrap_ART_TICK_MARK_set(PyObject 
*_val
) { 
14160     PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only."); 
14165 static PyObject 
*_wrap_ART_TICK_MARK_get() { 
14170         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14172         pyobj 
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14179 static int _wrap_ART_CROSS_MARK_set(PyObject 
*_val
) { 
14180     PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only."); 
14185 static PyObject 
*_wrap_ART_CROSS_MARK_get() { 
14190         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14192         pyobj 
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14199 static int _wrap_ART_ERROR_set(PyObject 
*_val
) { 
14200     PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only."); 
14205 static PyObject 
*_wrap_ART_ERROR_get() { 
14210         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14212         pyobj 
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14219 static int _wrap_ART_QUESTION_set(PyObject 
*_val
) { 
14220     PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only."); 
14225 static PyObject 
*_wrap_ART_QUESTION_get() { 
14230         pyobj 
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14232         pyobj 
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14239 static int _wrap_ART_WARNING_set(PyObject 
*_val
) { 
14240     PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only."); 
14245 static PyObject 
*_wrap_ART_WARNING_get() { 
14250         pyobj 
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14252         pyobj 
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14259 static int _wrap_ART_INFORMATION_set(PyObject 
*_val
) { 
14260     PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only."); 
14265 static PyObject 
*_wrap_ART_INFORMATION_get() { 
14270         pyobj 
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14272         pyobj 
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14279 static int _wrap_ART_MISSING_IMAGE_set(PyObject 
*_val
) { 
14280     PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only."); 
14285 static PyObject 
*_wrap_ART_MISSING_IMAGE_get() { 
14290         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14292         pyobj 
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14299 static PyObject 
*_wrap_new_ArtProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14300     PyObject 
*resultobj
; 
14301     wxPyArtProvider 
*result
; 
14302     char *kwnames
[] = { 
14306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
; 
14308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14309         result 
= (wxPyArtProvider 
*)new wxPyArtProvider(); 
14311         wxPyEndAllowThreads(__tstate
); 
14312         if (PyErr_Occurred()) SWIG_fail
; 
14314     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1); 
14321 static PyObject 
*_wrap_ArtProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14322     PyObject 
*resultobj
; 
14323     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14324     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14325     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14326     PyObject 
* obj0 
= 0 ; 
14327     PyObject 
* obj1 
= 0 ; 
14328     PyObject 
* obj2 
= 0 ; 
14329     char *kwnames
[] = { 
14330         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
14333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14334     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14335     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14340         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
14342         wxPyEndAllowThreads(__tstate
); 
14343         if (PyErr_Occurred()) SWIG_fail
; 
14345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14352 static PyObject 
*_wrap_ArtProvider_PushProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14353     PyObject 
*resultobj
; 
14354     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14355     PyObject 
* obj0 
= 0 ; 
14356     char *kwnames
[] = { 
14357         (char *) "provider", NULL 
 
14360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
; 
14361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14365         wxPyArtProvider::PushProvider(arg1
); 
14367         wxPyEndAllowThreads(__tstate
); 
14368         if (PyErr_Occurred()) SWIG_fail
; 
14370     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14377 static PyObject 
*_wrap_ArtProvider_PopProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14378     PyObject 
*resultobj
; 
14380     char *kwnames
[] = { 
14384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
; 
14386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14387         result 
= (bool)wxPyArtProvider::PopProvider(); 
14389         wxPyEndAllowThreads(__tstate
); 
14390         if (PyErr_Occurred()) SWIG_fail
; 
14393         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14401 static PyObject 
*_wrap_ArtProvider_RemoveProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14402     PyObject 
*resultobj
; 
14403     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14405     PyObject 
* obj0 
= 0 ; 
14406     char *kwnames
[] = { 
14407         (char *) "provider", NULL 
 
14410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
; 
14411     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14412     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14415         result 
= (bool)wxPyArtProvider::RemoveProvider(arg1
); 
14417         wxPyEndAllowThreads(__tstate
); 
14418         if (PyErr_Occurred()) SWIG_fail
; 
14421         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14429 static PyObject 
*_wrap_ArtProvider_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14430     PyObject 
*resultobj
; 
14431     wxString 
*arg1 
= 0 ; 
14432     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14433     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14434     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14435     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14437     bool temp1 
= False 
; 
14438     bool temp2 
= False 
; 
14440     PyObject 
* obj0 
= 0 ; 
14441     PyObject 
* obj1 
= 0 ; 
14442     PyObject 
* obj2 
= 0 ; 
14443     char *kwnames
[] = { 
14444         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14447     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14449         arg1 
= wxString_in_helper(obj0
); 
14450         if (arg1 
== NULL
) SWIG_fail
; 
14455             arg2 
= wxString_in_helper(obj1
); 
14456             if (arg2 
== NULL
) SWIG_fail
; 
14463             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14468         result 
= wxPyArtProvider::GetBitmap((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14470         wxPyEndAllowThreads(__tstate
); 
14471         if (PyErr_Occurred()) SWIG_fail
; 
14474         wxBitmap 
* resultptr
; 
14475         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
14476         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
14500 static PyObject 
*_wrap_ArtProvider_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14501     PyObject 
*resultobj
; 
14502     wxString 
*arg1 
= 0 ; 
14503     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14504     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14505     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14506     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14508     bool temp1 
= False 
; 
14509     bool temp2 
= False 
; 
14511     PyObject 
* obj0 
= 0 ; 
14512     PyObject 
* obj1 
= 0 ; 
14513     PyObject 
* obj2 
= 0 ; 
14514     char *kwnames
[] = { 
14515         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14520         arg1 
= wxString_in_helper(obj0
); 
14521         if (arg1 
== NULL
) SWIG_fail
; 
14526             arg2 
= wxString_in_helper(obj1
); 
14527             if (arg2 
== NULL
) SWIG_fail
; 
14534             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14539         result 
= wxPyArtProvider::GetIcon((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14541         wxPyEndAllowThreads(__tstate
); 
14542         if (PyErr_Occurred()) SWIG_fail
; 
14545         wxIcon 
* resultptr
; 
14546         resultptr 
= new wxIcon((wxIcon 
&) result
); 
14547         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
14571 static PyObject 
*_wrap_ArtProvider_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14572     PyObject 
*resultobj
; 
14573     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14574     PyObject 
* obj0 
= 0 ; 
14575     char *kwnames
[] = { 
14576         (char *) "self", NULL 
 
14579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
; 
14580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14584         wxPyArtProvider_Destroy(arg1
); 
14586         wxPyEndAllowThreads(__tstate
); 
14587         if (PyErr_Occurred()) SWIG_fail
; 
14589     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14596 static PyObject 
* ArtProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14598     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14599     SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
); 
14601     return Py_BuildValue((char *)""); 
14603 static PyObject 
*_wrap_delete_ConfigBase(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14604     PyObject 
*resultobj
; 
14605     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14606     PyObject 
* obj0 
= 0 ; 
14607     char *kwnames
[] = { 
14608         (char *) "self", NULL 
 
14611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
; 
14612     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14613     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14615         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14618         wxPyEndAllowThreads(__tstate
); 
14619         if (PyErr_Occurred()) SWIG_fail
; 
14621     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14628 static PyObject 
*_wrap_ConfigBase_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14629     PyObject 
*resultobj
; 
14630     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14631     wxConfigBase 
*result
; 
14632     PyObject 
* obj0 
= 0 ; 
14633     char *kwnames
[] = { 
14634         (char *) "config", NULL 
 
14637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
; 
14638     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14639     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14641         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14642         result 
= (wxConfigBase 
*)wxConfigBase::Set(arg1
); 
14644         wxPyEndAllowThreads(__tstate
); 
14645         if (PyErr_Occurred()) SWIG_fail
; 
14647     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14654 static PyObject 
*_wrap_ConfigBase_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14655     PyObject 
*resultobj
; 
14656     bool arg1 
= (bool) True 
; 
14657     wxConfigBase 
*result
; 
14658     PyObject 
* obj0 
= 0 ; 
14659     char *kwnames
[] = { 
14660         (char *) "createOnDemand", NULL 
 
14663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
; 
14665         arg1 
= (bool) SWIG_AsBool(obj0
);  
14666         if (PyErr_Occurred()) SWIG_fail
; 
14669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14670         result 
= (wxConfigBase 
*)wxConfigBase::Get(arg1
); 
14672         wxPyEndAllowThreads(__tstate
); 
14673         if (PyErr_Occurred()) SWIG_fail
; 
14675     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14682 static PyObject 
*_wrap_ConfigBase_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14683     PyObject 
*resultobj
; 
14684     wxConfigBase 
*result
; 
14685     char *kwnames
[] = { 
14689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
; 
14691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14692         result 
= (wxConfigBase 
*)wxConfigBase::Create(); 
14694         wxPyEndAllowThreads(__tstate
); 
14695         if (PyErr_Occurred()) SWIG_fail
; 
14697     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14704 static PyObject 
*_wrap_ConfigBase_DontCreateOnDemand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14705     PyObject 
*resultobj
; 
14706     char *kwnames
[] = { 
14710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
; 
14712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14713         wxConfigBase::DontCreateOnDemand(); 
14715         wxPyEndAllowThreads(__tstate
); 
14716         if (PyErr_Occurred()) SWIG_fail
; 
14718     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14725 static PyObject 
*_wrap_ConfigBase_SetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14726     PyObject 
*resultobj
; 
14727     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14728     wxString 
*arg2 
= 0 ; 
14729     bool temp2 
= False 
; 
14730     PyObject 
* obj0 
= 0 ; 
14731     PyObject 
* obj1 
= 0 ; 
14732     char *kwnames
[] = { 
14733         (char *) "self",(char *) "path", NULL 
 
14736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
14737     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14738     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14740         arg2 
= wxString_in_helper(obj1
); 
14741         if (arg2 
== NULL
) SWIG_fail
; 
14745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14746         (arg1
)->SetPath((wxString 
const &)*arg2
); 
14748         wxPyEndAllowThreads(__tstate
); 
14749         if (PyErr_Occurred()) SWIG_fail
; 
14751     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14766 static PyObject 
*_wrap_ConfigBase_GetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14767     PyObject 
*resultobj
; 
14768     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14770     PyObject 
* obj0 
= 0 ; 
14771     char *kwnames
[] = { 
14772         (char *) "self", NULL 
 
14775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
; 
14776     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14781             wxString 
const &_result_ref 
= ((wxConfigBase 
const *)arg1
)->GetPath(); 
14782             result 
= (wxString 
*) &_result_ref
; 
14785         wxPyEndAllowThreads(__tstate
); 
14786         if (PyErr_Occurred()) SWIG_fail
; 
14790         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
14792         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
14801 static PyObject 
*_wrap_ConfigBase_GetFirstGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14802     PyObject 
*resultobj
; 
14803     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14805     PyObject 
* obj0 
= 0 ; 
14806     char *kwnames
[] = { 
14807         (char *) "self", NULL 
 
14810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
; 
14811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14815         result 
= (PyObject 
*)wxConfigBase_GetFirstGroup(arg1
); 
14817         wxPyEndAllowThreads(__tstate
); 
14818         if (PyErr_Occurred()) SWIG_fail
; 
14820     resultobj 
= result
; 
14827 static PyObject 
*_wrap_ConfigBase_GetNextGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14828     PyObject 
*resultobj
; 
14829     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14832     PyObject 
* obj0 
= 0 ; 
14833     PyObject 
* obj1 
= 0 ; 
14834     char *kwnames
[] = { 
14835         (char *) "self",(char *) "index", NULL 
 
14838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
14839     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14841     arg2 
= (long) SWIG_AsLong(obj1
);  
14842     if (PyErr_Occurred()) SWIG_fail
; 
14844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14845         result 
= (PyObject 
*)wxConfigBase_GetNextGroup(arg1
,arg2
); 
14847         wxPyEndAllowThreads(__tstate
); 
14848         if (PyErr_Occurred()) SWIG_fail
; 
14850     resultobj 
= result
; 
14857 static PyObject 
*_wrap_ConfigBase_GetFirstEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14858     PyObject 
*resultobj
; 
14859     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14861     PyObject 
* obj0 
= 0 ; 
14862     char *kwnames
[] = { 
14863         (char *) "self", NULL 
 
14866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
; 
14867     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14868     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14871         result 
= (PyObject 
*)wxConfigBase_GetFirstEntry(arg1
); 
14873         wxPyEndAllowThreads(__tstate
); 
14874         if (PyErr_Occurred()) SWIG_fail
; 
14876     resultobj 
= result
; 
14883 static PyObject 
*_wrap_ConfigBase_GetNextEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14884     PyObject 
*resultobj
; 
14885     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14888     PyObject 
* obj0 
= 0 ; 
14889     PyObject 
* obj1 
= 0 ; 
14890     char *kwnames
[] = { 
14891         (char *) "self",(char *) "index", NULL 
 
14894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
14895     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14897     arg2 
= (long) SWIG_AsLong(obj1
);  
14898     if (PyErr_Occurred()) SWIG_fail
; 
14900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14901         result 
= (PyObject 
*)wxConfigBase_GetNextEntry(arg1
,arg2
); 
14903         wxPyEndAllowThreads(__tstate
); 
14904         if (PyErr_Occurred()) SWIG_fail
; 
14906     resultobj 
= result
; 
14913 static PyObject 
*_wrap_ConfigBase_GetNumberOfEntries(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14914     PyObject 
*resultobj
; 
14915     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14916     bool arg2 
= (bool) False 
; 
14918     PyObject 
* obj0 
= 0 ; 
14919     PyObject 
* obj1 
= 0 ; 
14920     char *kwnames
[] = { 
14921         (char *) "self",(char *) "recursive", NULL 
 
14924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
; 
14925     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14926     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14928         arg2 
= (bool) SWIG_AsBool(obj1
);  
14929         if (PyErr_Occurred()) SWIG_fail
; 
14932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14933         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfEntries(arg2
); 
14935         wxPyEndAllowThreads(__tstate
); 
14936         if (PyErr_Occurred()) SWIG_fail
; 
14938     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
14945 static PyObject 
*_wrap_ConfigBase_GetNumberOfGroups(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14946     PyObject 
*resultobj
; 
14947     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14948     bool arg2 
= (bool) False 
; 
14950     PyObject 
* obj0 
= 0 ; 
14951     PyObject 
* obj1 
= 0 ; 
14952     char *kwnames
[] = { 
14953         (char *) "self",(char *) "recursive", NULL 
 
14956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
; 
14957     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14958     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14960         arg2 
= (bool) SWIG_AsBool(obj1
);  
14961         if (PyErr_Occurred()) SWIG_fail
; 
14964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14965         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfGroups(arg2
); 
14967         wxPyEndAllowThreads(__tstate
); 
14968         if (PyErr_Occurred()) SWIG_fail
; 
14970     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
14977 static PyObject 
*_wrap_ConfigBase_HasGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14978     PyObject 
*resultobj
; 
14979     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14980     wxString 
*arg2 
= 0 ; 
14982     bool temp2 
= False 
; 
14983     PyObject 
* obj0 
= 0 ; 
14984     PyObject 
* obj1 
= 0 ; 
14985     char *kwnames
[] = { 
14986         (char *) "self",(char *) "name", NULL 
 
14989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
14990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14993         arg2 
= wxString_in_helper(obj1
); 
14994         if (arg2 
== NULL
) SWIG_fail
; 
14998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14999         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasGroup((wxString 
const &)*arg2
); 
15001         wxPyEndAllowThreads(__tstate
); 
15002         if (PyErr_Occurred()) SWIG_fail
; 
15005         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15021 static PyObject 
*_wrap_ConfigBase_HasEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15022     PyObject 
*resultobj
; 
15023     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15024     wxString 
*arg2 
= 0 ; 
15026     bool temp2 
= False 
; 
15027     PyObject 
* obj0 
= 0 ; 
15028     PyObject 
* obj1 
= 0 ; 
15029     char *kwnames
[] = { 
15030         (char *) "self",(char *) "name", NULL 
 
15033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
15034     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15037         arg2 
= wxString_in_helper(obj1
); 
15038         if (arg2 
== NULL
) SWIG_fail
; 
15042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15043         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasEntry((wxString 
const &)*arg2
); 
15045         wxPyEndAllowThreads(__tstate
); 
15046         if (PyErr_Occurred()) SWIG_fail
; 
15049         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15065 static PyObject 
*_wrap_ConfigBase_Exists(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15066     PyObject 
*resultobj
; 
15067     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15068     wxString 
*arg2 
= 0 ; 
15070     bool temp2 
= False 
; 
15071     PyObject 
* obj0 
= 0 ; 
15072     PyObject 
* obj1 
= 0 ; 
15073     char *kwnames
[] = { 
15074         (char *) "self",(char *) "name", NULL 
 
15077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
; 
15078     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15079     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15081         arg2 
= wxString_in_helper(obj1
); 
15082         if (arg2 
== NULL
) SWIG_fail
; 
15086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15087         result 
= (bool)((wxConfigBase 
const *)arg1
)->Exists((wxString 
const &)*arg2
); 
15089         wxPyEndAllowThreads(__tstate
); 
15090         if (PyErr_Occurred()) SWIG_fail
; 
15093         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15109 static PyObject 
*_wrap_ConfigBase_GetEntryType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15110     PyObject 
*resultobj
; 
15111     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15112     wxString 
*arg2 
= 0 ; 
15114     bool temp2 
= False 
; 
15115     PyObject 
* obj0 
= 0 ; 
15116     PyObject 
* obj1 
= 0 ; 
15117     char *kwnames
[] = { 
15118         (char *) "self",(char *) "name", NULL 
 
15121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
; 
15122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15125         arg2 
= wxString_in_helper(obj1
); 
15126         if (arg2 
== NULL
) SWIG_fail
; 
15130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15131         result 
= (int)((wxConfigBase 
const *)arg1
)->GetEntryType((wxString 
const &)*arg2
); 
15133         wxPyEndAllowThreads(__tstate
); 
15134         if (PyErr_Occurred()) SWIG_fail
; 
15136     resultobj 
= SWIG_FromInt((int)result
); 
15151 static PyObject 
*_wrap_ConfigBase_Read(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15152     PyObject 
*resultobj
; 
15153     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15154     wxString 
*arg2 
= 0 ; 
15155     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15156     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15158     bool temp2 
= False 
; 
15159     bool temp3 
= False 
; 
15160     PyObject 
* obj0 
= 0 ; 
15161     PyObject 
* obj1 
= 0 ; 
15162     PyObject 
* obj2 
= 0 ; 
15163     char *kwnames
[] = { 
15164         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15168     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15169     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15171         arg2 
= wxString_in_helper(obj1
); 
15172         if (arg2 
== NULL
) SWIG_fail
; 
15177             arg3 
= wxString_in_helper(obj2
); 
15178             if (arg3 
== NULL
) SWIG_fail
; 
15183         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15184         result 
= (arg1
)->Read((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15186         wxPyEndAllowThreads(__tstate
); 
15187         if (PyErr_Occurred()) SWIG_fail
; 
15191         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15193         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15218 static PyObject 
*_wrap_ConfigBase_ReadInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15219     PyObject 
*resultobj
; 
15220     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15221     wxString 
*arg2 
= 0 ; 
15222     long arg3 
= (long) 0 ; 
15224     bool temp2 
= False 
; 
15225     PyObject 
* obj0 
= 0 ; 
15226     PyObject 
* obj1 
= 0 ; 
15227     PyObject 
* obj2 
= 0 ; 
15228     char *kwnames
[] = { 
15229         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15233     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15234     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15236         arg2 
= wxString_in_helper(obj1
); 
15237         if (arg2 
== NULL
) SWIG_fail
; 
15241         arg3 
= (long) SWIG_AsLong(obj2
);  
15242         if (PyErr_Occurred()) SWIG_fail
; 
15245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15246         result 
= (long)wxConfigBase_ReadInt(arg1
,(wxString 
const &)*arg2
,arg3
); 
15248         wxPyEndAllowThreads(__tstate
); 
15249         if (PyErr_Occurred()) SWIG_fail
; 
15251     resultobj 
= SWIG_FromLong((long)result
); 
15266 static PyObject 
*_wrap_ConfigBase_ReadFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15267     PyObject 
*resultobj
; 
15268     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15269     wxString 
*arg2 
= 0 ; 
15270     double arg3 
= (double) 0.0 ; 
15272     bool temp2 
= False 
; 
15273     PyObject 
* obj0 
= 0 ; 
15274     PyObject 
* obj1 
= 0 ; 
15275     PyObject 
* obj2 
= 0 ; 
15276     char *kwnames
[] = { 
15277         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15281     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15282     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15284         arg2 
= wxString_in_helper(obj1
); 
15285         if (arg2 
== NULL
) SWIG_fail
; 
15289         arg3 
= (double) SWIG_AsDouble(obj2
);  
15290         if (PyErr_Occurred()) SWIG_fail
; 
15293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15294         result 
= (double)wxConfigBase_ReadFloat(arg1
,(wxString 
const &)*arg2
,arg3
); 
15296         wxPyEndAllowThreads(__tstate
); 
15297         if (PyErr_Occurred()) SWIG_fail
; 
15299     resultobj 
= SWIG_FromDouble((double)result
); 
15314 static PyObject 
*_wrap_ConfigBase_ReadBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15315     PyObject 
*resultobj
; 
15316     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15317     wxString 
*arg2 
= 0 ; 
15318     bool arg3 
= (bool) False 
; 
15320     bool temp2 
= False 
; 
15321     PyObject 
* obj0 
= 0 ; 
15322     PyObject 
* obj1 
= 0 ; 
15323     PyObject 
* obj2 
= 0 ; 
15324     char *kwnames
[] = { 
15325         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15329     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15330     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15332         arg2 
= wxString_in_helper(obj1
); 
15333         if (arg2 
== NULL
) SWIG_fail
; 
15337         arg3 
= (bool) SWIG_AsBool(obj2
);  
15338         if (PyErr_Occurred()) SWIG_fail
; 
15341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15342         result 
= (bool)wxConfigBase_ReadBool(arg1
,(wxString 
const &)*arg2
,arg3
); 
15344         wxPyEndAllowThreads(__tstate
); 
15345         if (PyErr_Occurred()) SWIG_fail
; 
15348         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15364 static PyObject 
*_wrap_ConfigBase_Write(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15365     PyObject 
*resultobj
; 
15366     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15367     wxString 
*arg2 
= 0 ; 
15368     wxString 
*arg3 
= 0 ; 
15370     bool temp2 
= False 
; 
15371     bool temp3 
= False 
; 
15372     PyObject 
* obj0 
= 0 ; 
15373     PyObject 
* obj1 
= 0 ; 
15374     PyObject 
* obj2 
= 0 ; 
15375     char *kwnames
[] = { 
15376         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15380     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15381     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15383         arg2 
= wxString_in_helper(obj1
); 
15384         if (arg2 
== NULL
) SWIG_fail
; 
15388         arg3 
= wxString_in_helper(obj2
); 
15389         if (arg3 
== NULL
) SWIG_fail
; 
15393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15394         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15396         wxPyEndAllowThreads(__tstate
); 
15397         if (PyErr_Occurred()) SWIG_fail
; 
15400         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15424 static PyObject 
*_wrap_ConfigBase_WriteInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15425     PyObject 
*resultobj
; 
15426     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15427     wxString 
*arg2 
= 0 ; 
15430     bool temp2 
= False 
; 
15431     PyObject 
* obj0 
= 0 ; 
15432     PyObject 
* obj1 
= 0 ; 
15433     PyObject 
* obj2 
= 0 ; 
15434     char *kwnames
[] = { 
15435         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15439     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15440     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15442         arg2 
= wxString_in_helper(obj1
); 
15443         if (arg2 
== NULL
) SWIG_fail
; 
15446     arg3 
= (long) SWIG_AsLong(obj2
);  
15447     if (PyErr_Occurred()) SWIG_fail
; 
15449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15450         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15452         wxPyEndAllowThreads(__tstate
); 
15453         if (PyErr_Occurred()) SWIG_fail
; 
15456         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15472 static PyObject 
*_wrap_ConfigBase_WriteFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15473     PyObject 
*resultobj
; 
15474     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15475     wxString 
*arg2 
= 0 ; 
15478     bool temp2 
= False 
; 
15479     PyObject 
* obj0 
= 0 ; 
15480     PyObject 
* obj1 
= 0 ; 
15481     PyObject 
* obj2 
= 0 ; 
15482     char *kwnames
[] = { 
15483         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15490         arg2 
= wxString_in_helper(obj1
); 
15491         if (arg2 
== NULL
) SWIG_fail
; 
15494     arg3 
= (double) SWIG_AsDouble(obj2
);  
15495     if (PyErr_Occurred()) SWIG_fail
; 
15497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15498         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15500         wxPyEndAllowThreads(__tstate
); 
15501         if (PyErr_Occurred()) SWIG_fail
; 
15504         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15520 static PyObject 
*_wrap_ConfigBase_WriteBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15521     PyObject 
*resultobj
; 
15522     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15523     wxString 
*arg2 
= 0 ; 
15526     bool temp2 
= False 
; 
15527     PyObject 
* obj0 
= 0 ; 
15528     PyObject 
* obj1 
= 0 ; 
15529     PyObject 
* obj2 
= 0 ; 
15530     char *kwnames
[] = { 
15531         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15535     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15536     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15538         arg2 
= wxString_in_helper(obj1
); 
15539         if (arg2 
== NULL
) SWIG_fail
; 
15542     arg3 
= (bool) SWIG_AsBool(obj2
);  
15543     if (PyErr_Occurred()) SWIG_fail
; 
15545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15546         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15548         wxPyEndAllowThreads(__tstate
); 
15549         if (PyErr_Occurred()) SWIG_fail
; 
15552         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15568 static PyObject 
*_wrap_ConfigBase_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15569     PyObject 
*resultobj
; 
15570     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15571     bool arg2 
= (bool) False 
; 
15573     PyObject 
* obj0 
= 0 ; 
15574     PyObject 
* obj1 
= 0 ; 
15575     char *kwnames
[] = { 
15576         (char *) "self",(char *) "currentOnly", NULL 
 
15579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
; 
15580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15583         arg2 
= (bool) SWIG_AsBool(obj1
);  
15584         if (PyErr_Occurred()) SWIG_fail
; 
15587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15588         result 
= (bool)(arg1
)->Flush(arg2
); 
15590         wxPyEndAllowThreads(__tstate
); 
15591         if (PyErr_Occurred()) SWIG_fail
; 
15594         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15602 static PyObject 
*_wrap_ConfigBase_RenameEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15603     PyObject 
*resultobj
; 
15604     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15605     wxString 
*arg2 
= 0 ; 
15606     wxString 
*arg3 
= 0 ; 
15608     bool temp2 
= False 
; 
15609     bool temp3 
= False 
; 
15610     PyObject 
* obj0 
= 0 ; 
15611     PyObject 
* obj1 
= 0 ; 
15612     PyObject 
* obj2 
= 0 ; 
15613     char *kwnames
[] = { 
15614         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
15617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15618     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15619     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15621         arg2 
= wxString_in_helper(obj1
); 
15622         if (arg2 
== NULL
) SWIG_fail
; 
15626         arg3 
= wxString_in_helper(obj2
); 
15627         if (arg3 
== NULL
) SWIG_fail
; 
15631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15632         result 
= (bool)(arg1
)->RenameEntry((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15634         wxPyEndAllowThreads(__tstate
); 
15635         if (PyErr_Occurred()) SWIG_fail
; 
15638         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15662 static PyObject 
*_wrap_ConfigBase_RenameGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15663     PyObject 
*resultobj
; 
15664     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15665     wxString 
*arg2 
= 0 ; 
15666     wxString 
*arg3 
= 0 ; 
15668     bool temp2 
= False 
; 
15669     bool temp3 
= False 
; 
15670     PyObject 
* obj0 
= 0 ; 
15671     PyObject 
* obj1 
= 0 ; 
15672     PyObject 
* obj2 
= 0 ; 
15673     char *kwnames
[] = { 
15674         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
15677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15678     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15679     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15681         arg2 
= wxString_in_helper(obj1
); 
15682         if (arg2 
== NULL
) SWIG_fail
; 
15686         arg3 
= wxString_in_helper(obj2
); 
15687         if (arg3 
== NULL
) SWIG_fail
; 
15691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15692         result 
= (bool)(arg1
)->RenameGroup((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15694         wxPyEndAllowThreads(__tstate
); 
15695         if (PyErr_Occurred()) SWIG_fail
; 
15698         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15722 static PyObject 
*_wrap_ConfigBase_DeleteEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15723     PyObject 
*resultobj
; 
15724     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15725     wxString 
*arg2 
= 0 ; 
15726     bool arg3 
= (bool) True 
; 
15728     bool temp2 
= False 
; 
15729     PyObject 
* obj0 
= 0 ; 
15730     PyObject 
* obj1 
= 0 ; 
15731     PyObject 
* obj2 
= 0 ; 
15732     char *kwnames
[] = { 
15733         (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL 
 
15736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15737     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15738     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15740         arg2 
= wxString_in_helper(obj1
); 
15741         if (arg2 
== NULL
) SWIG_fail
; 
15745         arg3 
= (bool) SWIG_AsBool(obj2
);  
15746         if (PyErr_Occurred()) SWIG_fail
; 
15749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15750         result 
= (bool)(arg1
)->DeleteEntry((wxString 
const &)*arg2
,arg3
); 
15752         wxPyEndAllowThreads(__tstate
); 
15753         if (PyErr_Occurred()) SWIG_fail
; 
15756         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15772 static PyObject 
*_wrap_ConfigBase_DeleteGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15773     PyObject 
*resultobj
; 
15774     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15775     wxString 
*arg2 
= 0 ; 
15777     bool temp2 
= False 
; 
15778     PyObject 
* obj0 
= 0 ; 
15779     PyObject 
* obj1 
= 0 ; 
15780     char *kwnames
[] = { 
15781         (char *) "self",(char *) "key", NULL 
 
15784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
15785     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15786     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15788         arg2 
= wxString_in_helper(obj1
); 
15789         if (arg2 
== NULL
) SWIG_fail
; 
15793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15794         result 
= (bool)(arg1
)->DeleteGroup((wxString 
const &)*arg2
); 
15796         wxPyEndAllowThreads(__tstate
); 
15797         if (PyErr_Occurred()) SWIG_fail
; 
15800         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15816 static PyObject 
*_wrap_ConfigBase_DeleteAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15817     PyObject 
*resultobj
; 
15818     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15820     PyObject 
* obj0 
= 0 ; 
15821     char *kwnames
[] = { 
15822         (char *) "self", NULL 
 
15825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
; 
15826     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15830         result 
= (bool)(arg1
)->DeleteAll(); 
15832         wxPyEndAllowThreads(__tstate
); 
15833         if (PyErr_Occurred()) SWIG_fail
; 
15836         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15844 static PyObject 
*_wrap_ConfigBase_SetExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15845     PyObject 
*resultobj
; 
15846     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15847     bool arg2 
= (bool) True 
; 
15848     PyObject 
* obj0 
= 0 ; 
15849     PyObject 
* obj1 
= 0 ; 
15850     char *kwnames
[] = { 
15851         (char *) "self",(char *) "doIt", NULL 
 
15854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
15855     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15858         arg2 
= (bool) SWIG_AsBool(obj1
);  
15859         if (PyErr_Occurred()) SWIG_fail
; 
15862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15863         (arg1
)->SetExpandEnvVars(arg2
); 
15865         wxPyEndAllowThreads(__tstate
); 
15866         if (PyErr_Occurred()) SWIG_fail
; 
15868     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15875 static PyObject 
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15876     PyObject 
*resultobj
; 
15877     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15879     PyObject 
* obj0 
= 0 ; 
15880     char *kwnames
[] = { 
15881         (char *) "self", NULL 
 
15884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
; 
15885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15889         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsExpandingEnvVars(); 
15891         wxPyEndAllowThreads(__tstate
); 
15892         if (PyErr_Occurred()) SWIG_fail
; 
15895         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15903 static PyObject 
*_wrap_ConfigBase_SetRecordDefaults(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15904     PyObject 
*resultobj
; 
15905     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15906     bool arg2 
= (bool) True 
; 
15907     PyObject 
* obj0 
= 0 ; 
15908     PyObject 
* obj1 
= 0 ; 
15909     char *kwnames
[] = { 
15910         (char *) "self",(char *) "doIt", NULL 
 
15913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
; 
15914     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15915     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15917         arg2 
= (bool) SWIG_AsBool(obj1
);  
15918         if (PyErr_Occurred()) SWIG_fail
; 
15921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15922         (arg1
)->SetRecordDefaults(arg2
); 
15924         wxPyEndAllowThreads(__tstate
); 
15925         if (PyErr_Occurred()) SWIG_fail
; 
15927     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15934 static PyObject 
*_wrap_ConfigBase_IsRecordingDefaults(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15935     PyObject 
*resultobj
; 
15936     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15938     PyObject 
* obj0 
= 0 ; 
15939     char *kwnames
[] = { 
15940         (char *) "self", NULL 
 
15943     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
; 
15944     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15945     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15948         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsRecordingDefaults(); 
15950         wxPyEndAllowThreads(__tstate
); 
15951         if (PyErr_Occurred()) SWIG_fail
; 
15954         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15962 static PyObject 
*_wrap_ConfigBase_ExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15963     PyObject 
*resultobj
; 
15964     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15965     wxString 
*arg2 
= 0 ; 
15967     bool temp2 
= False 
; 
15968     PyObject 
* obj0 
= 0 ; 
15969     PyObject 
* obj1 
= 0 ; 
15970     char *kwnames
[] = { 
15971         (char *) "self",(char *) "str", NULL 
 
15974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
15975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15978         arg2 
= wxString_in_helper(obj1
); 
15979         if (arg2 
== NULL
) SWIG_fail
; 
15983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15984         result 
= ((wxConfigBase 
const *)arg1
)->ExpandEnvVars((wxString 
const &)*arg2
); 
15986         wxPyEndAllowThreads(__tstate
); 
15987         if (PyErr_Occurred()) SWIG_fail
; 
15991         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15993         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16010 static PyObject 
*_wrap_ConfigBase_GetAppName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16011     PyObject 
*resultobj
; 
16012     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16014     PyObject 
* obj0 
= 0 ; 
16015     char *kwnames
[] = { 
16016         (char *) "self", NULL 
 
16019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
; 
16020     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16021     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16024         result 
= ((wxConfigBase 
const *)arg1
)->GetAppName(); 
16026         wxPyEndAllowThreads(__tstate
); 
16027         if (PyErr_Occurred()) SWIG_fail
; 
16031         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16033         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16042 static PyObject 
*_wrap_ConfigBase_GetVendorName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16043     PyObject 
*resultobj
; 
16044     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16046     PyObject 
* obj0 
= 0 ; 
16047     char *kwnames
[] = { 
16048         (char *) "self", NULL 
 
16051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
; 
16052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16056         result 
= ((wxConfigBase 
const *)arg1
)->GetVendorName(); 
16058         wxPyEndAllowThreads(__tstate
); 
16059         if (PyErr_Occurred()) SWIG_fail
; 
16063         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16065         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16074 static PyObject 
*_wrap_ConfigBase_SetAppName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16075     PyObject 
*resultobj
; 
16076     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16077     wxString 
*arg2 
= 0 ; 
16078     bool temp2 
= False 
; 
16079     PyObject 
* obj0 
= 0 ; 
16080     PyObject 
* obj1 
= 0 ; 
16081     char *kwnames
[] = { 
16082         (char *) "self",(char *) "appName", NULL 
 
16085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16086     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16089         arg2 
= wxString_in_helper(obj1
); 
16090         if (arg2 
== NULL
) SWIG_fail
; 
16094         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16095         (arg1
)->SetAppName((wxString 
const &)*arg2
); 
16097         wxPyEndAllowThreads(__tstate
); 
16098         if (PyErr_Occurred()) SWIG_fail
; 
16100     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16115 static PyObject 
*_wrap_ConfigBase_SetVendorName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16116     PyObject 
*resultobj
; 
16117     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16118     wxString 
*arg2 
= 0 ; 
16119     bool temp2 
= False 
; 
16120     PyObject 
* obj0 
= 0 ; 
16121     PyObject 
* obj1 
= 0 ; 
16122     char *kwnames
[] = { 
16123         (char *) "self",(char *) "vendorName", NULL 
 
16126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16127     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16128     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16130         arg2 
= wxString_in_helper(obj1
); 
16131         if (arg2 
== NULL
) SWIG_fail
; 
16135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16136         (arg1
)->SetVendorName((wxString 
const &)*arg2
); 
16138         wxPyEndAllowThreads(__tstate
); 
16139         if (PyErr_Occurred()) SWIG_fail
; 
16141     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16156 static PyObject 
*_wrap_ConfigBase_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16157     PyObject 
*resultobj
; 
16158     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16160     PyObject 
* obj0 
= 0 ; 
16161     PyObject 
* obj1 
= 0 ; 
16162     char *kwnames
[] = { 
16163         (char *) "self",(char *) "style", NULL 
 
16166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
16167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16169     arg2 
= (long) SWIG_AsLong(obj1
);  
16170     if (PyErr_Occurred()) SWIG_fail
; 
16172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16173         (arg1
)->SetStyle(arg2
); 
16175         wxPyEndAllowThreads(__tstate
); 
16176         if (PyErr_Occurred()) SWIG_fail
; 
16178     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16185 static PyObject 
*_wrap_ConfigBase_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16186     PyObject 
*resultobj
; 
16187     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16189     PyObject 
* obj0 
= 0 ; 
16190     char *kwnames
[] = { 
16191         (char *) "self", NULL 
 
16194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
; 
16195     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16196     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16198         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16199         result 
= (long)((wxConfigBase 
const *)arg1
)->GetStyle(); 
16201         wxPyEndAllowThreads(__tstate
); 
16202         if (PyErr_Occurred()) SWIG_fail
; 
16204     resultobj 
= SWIG_FromLong((long)result
); 
16211 static PyObject 
* ConfigBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16213     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16214     SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
); 
16216     return Py_BuildValue((char *)""); 
16218 static PyObject 
*_wrap_new_Config(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16219     PyObject 
*resultobj
; 
16220     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16221     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16222     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16223     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16224     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16225     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16226     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16227     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16228     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16230     bool temp1 
= False 
; 
16231     bool temp2 
= False 
; 
16232     bool temp3 
= False 
; 
16233     bool temp4 
= False 
; 
16234     PyObject 
* obj0 
= 0 ; 
16235     PyObject 
* obj1 
= 0 ; 
16236     PyObject 
* obj2 
= 0 ; 
16237     PyObject 
* obj3 
= 0 ; 
16238     PyObject 
* obj4 
= 0 ; 
16239     char *kwnames
[] = { 
16240         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16246             arg1 
= wxString_in_helper(obj0
); 
16247             if (arg1 
== NULL
) SWIG_fail
; 
16253             arg2 
= wxString_in_helper(obj1
); 
16254             if (arg2 
== NULL
) SWIG_fail
; 
16260             arg3 
= wxString_in_helper(obj2
); 
16261             if (arg3 
== NULL
) SWIG_fail
; 
16267             arg4 
= wxString_in_helper(obj3
); 
16268             if (arg4 
== NULL
) SWIG_fail
; 
16273         arg5 
= (long) SWIG_AsLong(obj4
);  
16274         if (PyErr_Occurred()) SWIG_fail
; 
16277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16278         result 
= (wxConfig 
*)new wxConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16280         wxPyEndAllowThreads(__tstate
); 
16281         if (PyErr_Occurred()) SWIG_fail
; 
16283     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1); 
16322 static PyObject 
*_wrap_delete_Config(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16323     PyObject 
*resultobj
; 
16324     wxConfig 
*arg1 
= (wxConfig 
*) 0 ; 
16325     PyObject 
* obj0 
= 0 ; 
16326     char *kwnames
[] = { 
16327         (char *) "self", NULL 
 
16330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
; 
16331     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
, 
16332     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16337         wxPyEndAllowThreads(__tstate
); 
16338         if (PyErr_Occurred()) SWIG_fail
; 
16340     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16347 static PyObject 
* Config_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16349     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16350     SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
); 
16352     return Py_BuildValue((char *)""); 
16354 static PyObject 
*_wrap_new_FileConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16355     PyObject 
*resultobj
; 
16356     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16357     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16358     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16359     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16360     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16361     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16362     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16363     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16364     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16365     wxFileConfig 
*result
; 
16366     bool temp1 
= False 
; 
16367     bool temp2 
= False 
; 
16368     bool temp3 
= False 
; 
16369     bool temp4 
= False 
; 
16370     PyObject 
* obj0 
= 0 ; 
16371     PyObject 
* obj1 
= 0 ; 
16372     PyObject 
* obj2 
= 0 ; 
16373     PyObject 
* obj3 
= 0 ; 
16374     PyObject 
* obj4 
= 0 ; 
16375     char *kwnames
[] = { 
16376         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16382             arg1 
= wxString_in_helper(obj0
); 
16383             if (arg1 
== NULL
) SWIG_fail
; 
16389             arg2 
= wxString_in_helper(obj1
); 
16390             if (arg2 
== NULL
) SWIG_fail
; 
16396             arg3 
= wxString_in_helper(obj2
); 
16397             if (arg3 
== NULL
) SWIG_fail
; 
16403             arg4 
= wxString_in_helper(obj3
); 
16404             if (arg4 
== NULL
) SWIG_fail
; 
16409         arg5 
= (long) SWIG_AsLong(obj4
);  
16410         if (PyErr_Occurred()) SWIG_fail
; 
16413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16414         result 
= (wxFileConfig 
*)new wxFileConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16416         wxPyEndAllowThreads(__tstate
); 
16417         if (PyErr_Occurred()) SWIG_fail
; 
16419     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1); 
16458 static PyObject 
*_wrap_delete_FileConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16459     PyObject 
*resultobj
; 
16460     wxFileConfig 
*arg1 
= (wxFileConfig 
*) 0 ; 
16461     PyObject 
* obj0 
= 0 ; 
16462     char *kwnames
[] = { 
16463         (char *) "self", NULL 
 
16466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
; 
16467     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
, 
16468     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16473         wxPyEndAllowThreads(__tstate
); 
16474         if (PyErr_Occurred()) SWIG_fail
; 
16476     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16483 static PyObject 
* FileConfig_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16485     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16486     SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
); 
16488     return Py_BuildValue((char *)""); 
16490 static PyObject 
*_wrap_new_ConfigPathChanger(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16491     PyObject 
*resultobj
; 
16492     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16493     wxString 
*arg2 
= 0 ; 
16494     wxConfigPathChanger 
*result
; 
16495     bool temp2 
= False 
; 
16496     PyObject 
* obj0 
= 0 ; 
16497     PyObject 
* obj1 
= 0 ; 
16498     char *kwnames
[] = { 
16499         (char *) "config",(char *) "entry", NULL 
 
16502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
; 
16503     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16504     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16506         arg2 
= wxString_in_helper(obj1
); 
16507         if (arg2 
== NULL
) SWIG_fail
; 
16511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16512         result 
= (wxConfigPathChanger 
*)new wxConfigPathChanger((wxConfigBase 
const *)arg1
,(wxString 
const &)*arg2
); 
16514         wxPyEndAllowThreads(__tstate
); 
16515         if (PyErr_Occurred()) SWIG_fail
; 
16517     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1); 
16532 static PyObject 
*_wrap_delete_ConfigPathChanger(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16533     PyObject 
*resultobj
; 
16534     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16535     PyObject 
* obj0 
= 0 ; 
16536     char *kwnames
[] = { 
16537         (char *) "self", NULL 
 
16540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
; 
16541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16547         wxPyEndAllowThreads(__tstate
); 
16548         if (PyErr_Occurred()) SWIG_fail
; 
16550     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16557 static PyObject 
*_wrap_ConfigPathChanger_Name(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16558     PyObject 
*resultobj
; 
16559     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16561     PyObject 
* obj0 
= 0 ; 
16562     char *kwnames
[] = { 
16563         (char *) "self", NULL 
 
16566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
; 
16567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16568     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16572             wxString 
const &_result_ref 
= ((wxConfigPathChanger 
const *)arg1
)->Name(); 
16573             result 
= (wxString 
*) &_result_ref
; 
16576         wxPyEndAllowThreads(__tstate
); 
16577         if (PyErr_Occurred()) SWIG_fail
; 
16581         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
16583         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
16592 static PyObject 
* ConfigPathChanger_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16594     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16595     SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
); 
16597     return Py_BuildValue((char *)""); 
16599 static PyObject 
*_wrap_ExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16600     PyObject 
*resultobj
; 
16601     wxString 
*arg1 
= 0 ; 
16603     bool temp1 
= False 
; 
16604     PyObject 
* obj0 
= 0 ; 
16605     char *kwnames
[] = { 
16606         (char *) "sz", NULL 
 
16609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
; 
16611         arg1 
= wxString_in_helper(obj0
); 
16612         if (arg1 
== NULL
) SWIG_fail
; 
16616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16617         result 
= wxExpandEnvVars((wxString 
const &)*arg1
); 
16619         wxPyEndAllowThreads(__tstate
); 
16620         if (PyErr_Occurred()) SWIG_fail
; 
16624         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16626         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16643 static int _wrap_DateFormatStr_set(PyObject 
*_val
) { 
16644     PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only."); 
16649 static PyObject 
*_wrap_DateFormatStr_get() { 
16654         pyobj 
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
16656         pyobj 
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
16663 static int _wrap_TimeSpanFormatStr_set(PyObject 
*_val
) { 
16664     PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only."); 
16669 static PyObject 
*_wrap_TimeSpanFormatStr_get() { 
16674         pyobj 
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
16676         pyobj 
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
16683 static PyObject 
*_wrap_DateTime_SetCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16684     PyObject 
*resultobj
; 
16686     PyObject 
* obj0 
= 0 ; 
16687     char *kwnames
[] = { 
16688         (char *) "country", NULL 
 
16691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
; 
16692     arg1 
= (wxDateTime::Country
) SWIG_AsInt(obj0
);  
16693     if (PyErr_Occurred()) SWIG_fail
; 
16695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16696         wxDateTime::SetCountry((wxDateTime::Country 
)arg1
); 
16698         wxPyEndAllowThreads(__tstate
); 
16699         if (PyErr_Occurred()) SWIG_fail
; 
16701     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16708 static PyObject 
*_wrap_DateTime_GetCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16709     PyObject 
*resultobj
; 
16711     char *kwnames
[] = { 
16715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
; 
16717         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16718         result 
= (int)wxDateTime::GetCountry(); 
16720         wxPyEndAllowThreads(__tstate
); 
16721         if (PyErr_Occurred()) SWIG_fail
; 
16723     resultobj 
= SWIG_FromInt((int)result
); 
16730 static PyObject 
*_wrap_DateTime_IsWestEuropeanCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16731     PyObject 
*resultobj
; 
16732     int arg1 
= (int) wxDateTime::Country_Default 
; 
16734     PyObject 
* obj0 
= 0 ; 
16735     char *kwnames
[] = { 
16736         (char *) "country", NULL 
 
16739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
; 
16741         arg1 
= (wxDateTime::Country
) SWIG_AsInt(obj0
);  
16742         if (PyErr_Occurred()) SWIG_fail
; 
16745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16746         result 
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country 
)arg1
); 
16748         wxPyEndAllowThreads(__tstate
); 
16749         if (PyErr_Occurred()) SWIG_fail
; 
16752         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16760 static PyObject 
*_wrap_DateTime_GetCurrentYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16761     PyObject 
*resultobj
; 
16762     int arg1 
= (int) wxDateTime::Gregorian 
; 
16764     PyObject 
* obj0 
= 0 ; 
16765     char *kwnames
[] = { 
16766         (char *) "cal", NULL 
 
16769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
; 
16771         arg1 
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);  
16772         if (PyErr_Occurred()) SWIG_fail
; 
16775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16776         result 
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar 
)arg1
); 
16778         wxPyEndAllowThreads(__tstate
); 
16779         if (PyErr_Occurred()) SWIG_fail
; 
16781     resultobj 
= SWIG_FromInt((int)result
); 
16788 static PyObject 
*_wrap_DateTime_ConvertYearToBC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16789     PyObject 
*resultobj
; 
16792     PyObject 
* obj0 
= 0 ; 
16793     char *kwnames
[] = { 
16794         (char *) "year", NULL 
 
16797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
; 
16798     arg1 
= (int) SWIG_AsInt(obj0
);  
16799     if (PyErr_Occurred()) SWIG_fail
; 
16801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16802         result 
= (int)wxDateTime::ConvertYearToBC(arg1
); 
16804         wxPyEndAllowThreads(__tstate
); 
16805         if (PyErr_Occurred()) SWIG_fail
; 
16807     resultobj 
= SWIG_FromInt((int)result
); 
16814 static PyObject 
*_wrap_DateTime_GetCurrentMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16815     PyObject 
*resultobj
; 
16816     int arg1 
= (int) wxDateTime::Gregorian 
; 
16818     PyObject 
* obj0 
= 0 ; 
16819     char *kwnames
[] = { 
16820         (char *) "cal", NULL 
 
16823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
; 
16825         arg1 
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);  
16826         if (PyErr_Occurred()) SWIG_fail
; 
16829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16830         result 
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar 
)arg1
); 
16832         wxPyEndAllowThreads(__tstate
); 
16833         if (PyErr_Occurred()) SWIG_fail
; 
16835     resultobj 
= SWIG_FromInt((int)result
); 
16842 static PyObject 
*_wrap_DateTime_IsLeapYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16843     PyObject 
*resultobj
; 
16844     int arg1 
= (int) wxDateTime::Inv_Year 
; 
16845     int arg2 
= (int) wxDateTime::Gregorian 
; 
16847     PyObject 
* obj0 
= 0 ; 
16848     PyObject 
* obj1 
= 0 ; 
16849     char *kwnames
[] = { 
16850         (char *) "year",(char *) "cal", NULL 
 
16853     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
16855         arg1 
= (int) SWIG_AsInt(obj0
);  
16856         if (PyErr_Occurred()) SWIG_fail
; 
16859         arg2 
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);  
16860         if (PyErr_Occurred()) SWIG_fail
; 
16863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16864         result 
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar 
)arg2
); 
16866         wxPyEndAllowThreads(__tstate
); 
16867         if (PyErr_Occurred()) SWIG_fail
; 
16870         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16878 static PyObject 
*_wrap_DateTime_GetCentury(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16879     PyObject 
*resultobj
; 
16880     int arg1 
= (int) wxDateTime::Inv_Year 
; 
16882     PyObject 
* obj0 
= 0 ; 
16883     char *kwnames
[] = { 
16884         (char *) "year", NULL 
 
16887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
; 
16889         arg1 
= (int) SWIG_AsInt(obj0
);  
16890         if (PyErr_Occurred()) SWIG_fail
; 
16893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16894         result 
= (int)wxDateTime::GetCentury(arg1
); 
16896         wxPyEndAllowThreads(__tstate
); 
16897         if (PyErr_Occurred()) SWIG_fail
; 
16899     resultobj 
= SWIG_FromInt((int)result
); 
16906 static PyObject 
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16907     PyObject 
*resultobj
; 
16909     int arg2 
= (int) wxDateTime::Gregorian 
; 
16911     PyObject 
* obj0 
= 0 ; 
16912     PyObject 
* obj1 
= 0 ; 
16913     char *kwnames
[] = { 
16914         (char *) "year",(char *) "cal", NULL 
 
16917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
16918     arg1 
= (int) SWIG_AsInt(obj0
);  
16919     if (PyErr_Occurred()) SWIG_fail
; 
16921         arg2 
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);  
16922         if (PyErr_Occurred()) SWIG_fail
; 
16925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16926         result 
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar 
)arg2
); 
16928         wxPyEndAllowThreads(__tstate
); 
16929         if (PyErr_Occurred()) SWIG_fail
; 
16931     resultobj 
= SWIG_FromInt((int)result
); 
16938 static PyObject 
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16939     PyObject 
*resultobj
; 
16941     int arg2 
= (int) wxDateTime::Inv_Year 
; 
16942     int arg3 
= (int) wxDateTime::Gregorian 
; 
16944     PyObject 
* obj0 
= 0 ; 
16945     PyObject 
* obj1 
= 0 ; 
16946     PyObject 
* obj2 
= 0 ; 
16947     char *kwnames
[] = { 
16948         (char *) "month",(char *) "year",(char *) "cal", NULL 
 
16951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16952     arg1 
= (wxDateTime::Month
) SWIG_AsInt(obj0
);  
16953     if (PyErr_Occurred()) SWIG_fail
; 
16955         arg2 
= (int) SWIG_AsInt(obj1
);  
16956         if (PyErr_Occurred()) SWIG_fail
; 
16959         arg3 
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);  
16960         if (PyErr_Occurred()) SWIG_fail
; 
16963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16964         result 
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month 
)arg1
,arg2
,(wxDateTime::Calendar 
)arg3
); 
16966         wxPyEndAllowThreads(__tstate
); 
16967         if (PyErr_Occurred()) SWIG_fail
; 
16969     resultobj 
= SWIG_FromInt((int)result
); 
16976 static PyObject 
*_wrap_DateTime_GetMonthName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16977     PyObject 
*resultobj
; 
16979     int arg2 
= (int) wxDateTime::Name_Full 
; 
16981     PyObject 
* obj0 
= 0 ; 
16982     PyObject 
* obj1 
= 0 ; 
16983     char *kwnames
[] = { 
16984         (char *) "month",(char *) "flags", NULL 
 
16987     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16988     arg1 
= (wxDateTime::Month
) SWIG_AsInt(obj0
);  
16989     if (PyErr_Occurred()) SWIG_fail
; 
16991         arg2 
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);  
16992         if (PyErr_Occurred()) SWIG_fail
; 
16995         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16996         result 
= wxDateTime::GetMonthName((wxDateTime::Month 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
16998         wxPyEndAllowThreads(__tstate
); 
16999         if (PyErr_Occurred()) SWIG_fail
; 
17003         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17005         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17014 static PyObject 
*_wrap_DateTime_GetWeekDayName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17015     PyObject 
*resultobj
; 
17017     int arg2 
= (int) wxDateTime::Name_Full 
; 
17019     PyObject 
* obj0 
= 0 ; 
17020     PyObject 
* obj1 
= 0 ; 
17021     char *kwnames
[] = { 
17022         (char *) "weekday",(char *) "flags", NULL 
 
17025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
; 
17026     arg1 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);  
17027     if (PyErr_Occurred()) SWIG_fail
; 
17029         arg2 
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);  
17030         if (PyErr_Occurred()) SWIG_fail
; 
17033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17034         result 
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
17036         wxPyEndAllowThreads(__tstate
); 
17037         if (PyErr_Occurred()) SWIG_fail
; 
17041         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17043         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17052 static PyObject 
*_wrap_DateTime_GetAmPmStrings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17053     PyObject 
*resultobj
; 
17054     wxString 
*arg1 
= (wxString 
*) 0 ; 
17055     wxString 
*arg2 
= (wxString 
*) 0 ; 
17056     bool temp1 
= False 
; 
17057     bool temp2 
= False 
; 
17058     PyObject 
* obj0 
= 0 ; 
17059     PyObject 
* obj1 
= 0 ; 
17060     char *kwnames
[] = { 
17061         (char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
17064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
; 
17066         arg1 
= wxString_in_helper(obj0
); 
17067         if (arg1 
== NULL
) SWIG_fail
; 
17071         arg2 
= wxString_in_helper(obj1
); 
17072         if (arg2 
== NULL
) SWIG_fail
; 
17076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17077         wxDateTime::GetAmPmStrings(arg1
,arg2
); 
17079         wxPyEndAllowThreads(__tstate
); 
17080         if (PyErr_Occurred()) SWIG_fail
; 
17082     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17105 static PyObject 
*_wrap_DateTime_IsDSTApplicable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17106     PyObject 
*resultobj
; 
17107     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17108     int arg2 
= (int) wxDateTime::Country_Default 
; 
17110     PyObject 
* obj0 
= 0 ; 
17111     PyObject 
* obj1 
= 0 ; 
17112     char *kwnames
[] = { 
17113         (char *) "year",(char *) "country", NULL 
 
17116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
; 
17118         arg1 
= (int) SWIG_AsInt(obj0
);  
17119         if (PyErr_Occurred()) SWIG_fail
; 
17122         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17123         if (PyErr_Occurred()) SWIG_fail
; 
17126         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17127         result 
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country 
)arg2
); 
17129         wxPyEndAllowThreads(__tstate
); 
17130         if (PyErr_Occurred()) SWIG_fail
; 
17133         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17141 static PyObject 
*_wrap_DateTime_GetBeginDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17142     PyObject 
*resultobj
; 
17143     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17144     int arg2 
= (int) wxDateTime::Country_Default 
; 
17146     PyObject 
* obj0 
= 0 ; 
17147     PyObject 
* obj1 
= 0 ; 
17148     char *kwnames
[] = { 
17149         (char *) "year",(char *) "country", NULL 
 
17152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17154         arg1 
= (int) SWIG_AsInt(obj0
);  
17155         if (PyErr_Occurred()) SWIG_fail
; 
17158         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17159         if (PyErr_Occurred()) SWIG_fail
; 
17162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17163         result 
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country 
)arg2
); 
17165         wxPyEndAllowThreads(__tstate
); 
17166         if (PyErr_Occurred()) SWIG_fail
; 
17169         wxDateTime 
* resultptr
; 
17170         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17171         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17179 static PyObject 
*_wrap_DateTime_GetEndDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17180     PyObject 
*resultobj
; 
17181     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17182     int arg2 
= (int) wxDateTime::Country_Default 
; 
17184     PyObject 
* obj0 
= 0 ; 
17185     PyObject 
* obj1 
= 0 ; 
17186     char *kwnames
[] = { 
17187         (char *) "year",(char *) "country", NULL 
 
17190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17192         arg1 
= (int) SWIG_AsInt(obj0
);  
17193         if (PyErr_Occurred()) SWIG_fail
; 
17196         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17197         if (PyErr_Occurred()) SWIG_fail
; 
17200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17201         result 
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country 
)arg2
); 
17203         wxPyEndAllowThreads(__tstate
); 
17204         if (PyErr_Occurred()) SWIG_fail
; 
17207         wxDateTime 
* resultptr
; 
17208         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17209         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17217 static PyObject 
*_wrap_DateTime_Now(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17218     PyObject 
*resultobj
; 
17220     char *kwnames
[] = { 
17224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
; 
17226         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17227         result 
= wxDateTime::Now(); 
17229         wxPyEndAllowThreads(__tstate
); 
17230         if (PyErr_Occurred()) SWIG_fail
; 
17233         wxDateTime 
* resultptr
; 
17234         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17235         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17243 static PyObject 
*_wrap_DateTime_UNow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17244     PyObject 
*resultobj
; 
17246     char *kwnames
[] = { 
17250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
; 
17252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17253         result 
= wxDateTime::UNow(); 
17255         wxPyEndAllowThreads(__tstate
); 
17256         if (PyErr_Occurred()) SWIG_fail
; 
17259         wxDateTime 
* resultptr
; 
17260         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17261         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17269 static PyObject 
*_wrap_DateTime_Today(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17270     PyObject 
*resultobj
; 
17272     char *kwnames
[] = { 
17276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
; 
17278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17279         result 
= wxDateTime::Today(); 
17281         wxPyEndAllowThreads(__tstate
); 
17282         if (PyErr_Occurred()) SWIG_fail
; 
17285         wxDateTime 
* resultptr
; 
17286         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17287         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17295 static PyObject 
*_wrap_new_DateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17296     PyObject 
*resultobj
; 
17297     wxDateTime 
*result
; 
17298     char *kwnames
[] = { 
17302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
; 
17304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17305         result 
= (wxDateTime 
*)new wxDateTime(); 
17307         wxPyEndAllowThreads(__tstate
); 
17308         if (PyErr_Occurred()) SWIG_fail
; 
17310     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17317 static PyObject 
*_wrap_new_DateTimeFromTimeT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17318     PyObject 
*resultobj
; 
17320     wxDateTime 
*result
; 
17321     PyObject 
* obj0 
= 0 ; 
17322     char *kwnames
[] = { 
17323         (char *) "timet", NULL 
 
17326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
; 
17327     arg1 
= (time_t) SWIG_AsUnsignedInt(obj0
);  
17328     if (PyErr_Occurred()) SWIG_fail
; 
17330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17331         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17333         wxPyEndAllowThreads(__tstate
); 
17334         if (PyErr_Occurred()) SWIG_fail
; 
17336     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17343 static PyObject 
*_wrap_new_DateTimeFromJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17344     PyObject 
*resultobj
; 
17346     wxDateTime 
*result
; 
17347     PyObject 
* obj0 
= 0 ; 
17348     char *kwnames
[] = { 
17349         (char *) "jdn", NULL 
 
17352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
; 
17353     arg1 
= (double) SWIG_AsDouble(obj0
);  
17354     if (PyErr_Occurred()) SWIG_fail
; 
17356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17357         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17359         wxPyEndAllowThreads(__tstate
); 
17360         if (PyErr_Occurred()) SWIG_fail
; 
17362     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17369 static PyObject 
*_wrap_new_DateTimeFromHMS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17370     PyObject 
*resultobj
; 
17372     int arg2 
= (int) 0 ; 
17373     int arg3 
= (int) 0 ; 
17374     int arg4 
= (int) 0 ; 
17375     wxDateTime 
*result
; 
17376     PyObject 
* obj0 
= 0 ; 
17377     PyObject 
* obj1 
= 0 ; 
17378     PyObject 
* obj2 
= 0 ; 
17379     PyObject 
* obj3 
= 0 ; 
17380     char *kwnames
[] = { 
17381         (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17385     arg1 
= (int) SWIG_AsInt(obj0
);  
17386     if (PyErr_Occurred()) SWIG_fail
; 
17388         arg2 
= (int) SWIG_AsInt(obj1
);  
17389         if (PyErr_Occurred()) SWIG_fail
; 
17392         arg3 
= (int) SWIG_AsInt(obj2
);  
17393         if (PyErr_Occurred()) SWIG_fail
; 
17396         arg4 
= (int) SWIG_AsInt(obj3
);  
17397         if (PyErr_Occurred()) SWIG_fail
; 
17400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17401         result 
= (wxDateTime 
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
); 
17403         wxPyEndAllowThreads(__tstate
); 
17404         if (PyErr_Occurred()) SWIG_fail
; 
17406     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17413 static PyObject 
*_wrap_new_DateTimeFromDMY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17414     PyObject 
*resultobj
; 
17416     int arg2 
= (int) wxDateTime::Inv_Month 
; 
17417     int arg3 
= (int) wxDateTime::Inv_Year 
; 
17418     int arg4 
= (int) 0 ; 
17419     int arg5 
= (int) 0 ; 
17420     int arg6 
= (int) 0 ; 
17421     int arg7 
= (int) 0 ; 
17422     wxDateTime 
*result
; 
17423     PyObject 
* obj0 
= 0 ; 
17424     PyObject 
* obj1 
= 0 ; 
17425     PyObject 
* obj2 
= 0 ; 
17426     PyObject 
* obj3 
= 0 ; 
17427     PyObject 
* obj4 
= 0 ; 
17428     PyObject 
* obj5 
= 0 ; 
17429     PyObject 
* obj6 
= 0 ; 
17430     char *kwnames
[] = { 
17431         (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17435     arg1 
= (int) SWIG_AsInt(obj0
);  
17436     if (PyErr_Occurred()) SWIG_fail
; 
17438         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
17439         if (PyErr_Occurred()) SWIG_fail
; 
17442         arg3 
= (int) SWIG_AsInt(obj2
);  
17443         if (PyErr_Occurred()) SWIG_fail
; 
17446         arg4 
= (int) SWIG_AsInt(obj3
);  
17447         if (PyErr_Occurred()) SWIG_fail
; 
17450         arg5 
= (int) SWIG_AsInt(obj4
);  
17451         if (PyErr_Occurred()) SWIG_fail
; 
17454         arg6 
= (int) SWIG_AsInt(obj5
);  
17455         if (PyErr_Occurred()) SWIG_fail
; 
17458         arg7 
= (int) SWIG_AsInt(obj6
);  
17459         if (PyErr_Occurred()) SWIG_fail
; 
17462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17463         result 
= (wxDateTime 
*)new wxDateTime(arg1
,(wxDateTime::Month 
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
17465         wxPyEndAllowThreads(__tstate
); 
17466         if (PyErr_Occurred()) SWIG_fail
; 
17468     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17475 static PyObject 
*_wrap_delete_DateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17476     PyObject 
*resultobj
; 
17477     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17478     PyObject 
* obj0 
= 0 ; 
17479     char *kwnames
[] = { 
17480         (char *) "self", NULL 
 
17483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
; 
17484     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17485     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17490         wxPyEndAllowThreads(__tstate
); 
17491         if (PyErr_Occurred()) SWIG_fail
; 
17493     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17500 static PyObject 
*_wrap_DateTime_SetToCurrent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17501     PyObject 
*resultobj
; 
17502     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17503     wxDateTime 
*result
; 
17504     PyObject 
* obj0 
= 0 ; 
17505     char *kwnames
[] = { 
17506         (char *) "self", NULL 
 
17509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
; 
17510     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17511     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17515             wxDateTime 
&_result_ref 
= (arg1
)->SetToCurrent(); 
17516             result 
= (wxDateTime 
*) &_result_ref
; 
17519         wxPyEndAllowThreads(__tstate
); 
17520         if (PyErr_Occurred()) SWIG_fail
; 
17522     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17529 static PyObject 
*_wrap_DateTime_SetTimeT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17530     PyObject 
*resultobj
; 
17531     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17533     wxDateTime 
*result
; 
17534     PyObject 
* obj0 
= 0 ; 
17535     PyObject 
* obj1 
= 0 ; 
17536     char *kwnames
[] = { 
17537         (char *) "self",(char *) "timet", NULL 
 
17540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
; 
17541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17543     arg2 
= (time_t) SWIG_AsUnsignedInt(obj1
);  
17544     if (PyErr_Occurred()) SWIG_fail
; 
17546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17548             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17549             result 
= (wxDateTime 
*) &_result_ref
; 
17552         wxPyEndAllowThreads(__tstate
); 
17553         if (PyErr_Occurred()) SWIG_fail
; 
17555     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17562 static PyObject 
*_wrap_DateTime_SetJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17563     PyObject 
*resultobj
; 
17564     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17566     wxDateTime 
*result
; 
17567     PyObject 
* obj0 
= 0 ; 
17568     PyObject 
* obj1 
= 0 ; 
17569     char *kwnames
[] = { 
17570         (char *) "self",(char *) "jdn", NULL 
 
17573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
; 
17574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17576     arg2 
= (double) SWIG_AsDouble(obj1
);  
17577     if (PyErr_Occurred()) SWIG_fail
; 
17579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17581             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17582             result 
= (wxDateTime 
*) &_result_ref
; 
17585         wxPyEndAllowThreads(__tstate
); 
17586         if (PyErr_Occurred()) SWIG_fail
; 
17588     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17595 static PyObject 
*_wrap_DateTime_SetHMS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17596     PyObject 
*resultobj
; 
17597     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17599     int arg3 
= (int) 0 ; 
17600     int arg4 
= (int) 0 ; 
17601     int arg5 
= (int) 0 ; 
17602     wxDateTime 
*result
; 
17603     PyObject 
* obj0 
= 0 ; 
17604     PyObject 
* obj1 
= 0 ; 
17605     PyObject 
* obj2 
= 0 ; 
17606     PyObject 
* obj3 
= 0 ; 
17607     PyObject 
* obj4 
= 0 ; 
17608     char *kwnames
[] = { 
17609         (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
17613     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17615     arg2 
= (int) SWIG_AsInt(obj1
);  
17616     if (PyErr_Occurred()) SWIG_fail
; 
17618         arg3 
= (int) SWIG_AsInt(obj2
);  
17619         if (PyErr_Occurred()) SWIG_fail
; 
17622         arg4 
= (int) SWIG_AsInt(obj3
);  
17623         if (PyErr_Occurred()) SWIG_fail
; 
17626         arg5 
= (int) SWIG_AsInt(obj4
);  
17627         if (PyErr_Occurred()) SWIG_fail
; 
17630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17632             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
); 
17633             result 
= (wxDateTime 
*) &_result_ref
; 
17636         wxPyEndAllowThreads(__tstate
); 
17637         if (PyErr_Occurred()) SWIG_fail
; 
17639     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17646 static PyObject 
*_wrap_DateTime_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17647     PyObject 
*resultobj
; 
17648     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17650     int arg3 
= (int) wxDateTime::Inv_Month 
; 
17651     int arg4 
= (int) wxDateTime::Inv_Year 
; 
17652     int arg5 
= (int) 0 ; 
17653     int arg6 
= (int) 0 ; 
17654     int arg7 
= (int) 0 ; 
17655     int arg8 
= (int) 0 ; 
17656     wxDateTime 
*result
; 
17657     PyObject 
* obj0 
= 0 ; 
17658     PyObject 
* obj1 
= 0 ; 
17659     PyObject 
* obj2 
= 0 ; 
17660     PyObject 
* obj3 
= 0 ; 
17661     PyObject 
* obj4 
= 0 ; 
17662     PyObject 
* obj5 
= 0 ; 
17663     PyObject 
* obj6 
= 0 ; 
17664     PyObject 
* obj7 
= 0 ; 
17665     char *kwnames
[] = { 
17666         (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
17670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17672     arg2 
= (int) SWIG_AsInt(obj1
);  
17673     if (PyErr_Occurred()) SWIG_fail
; 
17675         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
17676         if (PyErr_Occurred()) SWIG_fail
; 
17679         arg4 
= (int) SWIG_AsInt(obj3
);  
17680         if (PyErr_Occurred()) SWIG_fail
; 
17683         arg5 
= (int) SWIG_AsInt(obj4
);  
17684         if (PyErr_Occurred()) SWIG_fail
; 
17687         arg6 
= (int) SWIG_AsInt(obj5
);  
17688         if (PyErr_Occurred()) SWIG_fail
; 
17691         arg7 
= (int) SWIG_AsInt(obj6
);  
17692         if (PyErr_Occurred()) SWIG_fail
; 
17695         arg8 
= (int) SWIG_AsInt(obj7
);  
17696         if (PyErr_Occurred()) SWIG_fail
; 
17699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17701             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,(wxDateTime::Month 
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
); 
17702             result 
= (wxDateTime 
*) &_result_ref
; 
17705         wxPyEndAllowThreads(__tstate
); 
17706         if (PyErr_Occurred()) SWIG_fail
; 
17708     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17715 static PyObject 
*_wrap_DateTime_ResetTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17716     PyObject 
*resultobj
; 
17717     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17718     wxDateTime 
*result
; 
17719     PyObject 
* obj0 
= 0 ; 
17720     char *kwnames
[] = { 
17721         (char *) "self", NULL 
 
17724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
; 
17725     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17726     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17730             wxDateTime 
&_result_ref 
= (arg1
)->ResetTime(); 
17731             result 
= (wxDateTime 
*) &_result_ref
; 
17734         wxPyEndAllowThreads(__tstate
); 
17735         if (PyErr_Occurred()) SWIG_fail
; 
17737     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17744 static PyObject 
*_wrap_DateTime_SetYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17745     PyObject 
*resultobj
; 
17746     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17748     wxDateTime 
*result
; 
17749     PyObject 
* obj0 
= 0 ; 
17750     PyObject 
* obj1 
= 0 ; 
17751     char *kwnames
[] = { 
17752         (char *) "self",(char *) "year", NULL 
 
17755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
17756     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17757     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17758     arg2 
= (int) SWIG_AsInt(obj1
);  
17759     if (PyErr_Occurred()) SWIG_fail
; 
17761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17763             wxDateTime 
&_result_ref 
= (arg1
)->SetYear(arg2
); 
17764             result 
= (wxDateTime 
*) &_result_ref
; 
17767         wxPyEndAllowThreads(__tstate
); 
17768         if (PyErr_Occurred()) SWIG_fail
; 
17770     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17777 static PyObject 
*_wrap_DateTime_SetMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17778     PyObject 
*resultobj
; 
17779     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17781     wxDateTime 
*result
; 
17782     PyObject 
* obj0 
= 0 ; 
17783     PyObject 
* obj1 
= 0 ; 
17784     char *kwnames
[] = { 
17785         (char *) "self",(char *) "month", NULL 
 
17788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
17789     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17790     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17791     arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
17792     if (PyErr_Occurred()) SWIG_fail
; 
17794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17796             wxDateTime 
&_result_ref 
= (arg1
)->SetMonth((wxDateTime::Month 
)arg2
); 
17797             result 
= (wxDateTime 
*) &_result_ref
; 
17800         wxPyEndAllowThreads(__tstate
); 
17801         if (PyErr_Occurred()) SWIG_fail
; 
17803     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17810 static PyObject 
*_wrap_DateTime_SetDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17811     PyObject 
*resultobj
; 
17812     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17814     wxDateTime 
*result
; 
17815     PyObject 
* obj0 
= 0 ; 
17816     PyObject 
* obj1 
= 0 ; 
17817     char *kwnames
[] = { 
17818         (char *) "self",(char *) "day", NULL 
 
17821     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
17822     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17823     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17824     arg2 
= (int) SWIG_AsInt(obj1
);  
17825     if (PyErr_Occurred()) SWIG_fail
; 
17827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17829             wxDateTime 
&_result_ref 
= (arg1
)->SetDay(arg2
); 
17830             result 
= (wxDateTime 
*) &_result_ref
; 
17833         wxPyEndAllowThreads(__tstate
); 
17834         if (PyErr_Occurred()) SWIG_fail
; 
17836     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17843 static PyObject 
*_wrap_DateTime_SetHour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17844     PyObject 
*resultobj
; 
17845     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17847     wxDateTime 
*result
; 
17848     PyObject 
* obj0 
= 0 ; 
17849     PyObject 
* obj1 
= 0 ; 
17850     char *kwnames
[] = { 
17851         (char *) "self",(char *) "hour", NULL 
 
17854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
17855     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17857     arg2 
= (int) SWIG_AsInt(obj1
);  
17858     if (PyErr_Occurred()) SWIG_fail
; 
17860         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17862             wxDateTime 
&_result_ref 
= (arg1
)->SetHour(arg2
); 
17863             result 
= (wxDateTime 
*) &_result_ref
; 
17866         wxPyEndAllowThreads(__tstate
); 
17867         if (PyErr_Occurred()) SWIG_fail
; 
17869     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17876 static PyObject 
*_wrap_DateTime_SetMinute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17877     PyObject 
*resultobj
; 
17878     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17880     wxDateTime 
*result
; 
17881     PyObject 
* obj0 
= 0 ; 
17882     PyObject 
* obj1 
= 0 ; 
17883     char *kwnames
[] = { 
17884         (char *) "self",(char *) "minute", NULL 
 
17887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
17888     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17889     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17890     arg2 
= (int) SWIG_AsInt(obj1
);  
17891     if (PyErr_Occurred()) SWIG_fail
; 
17893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17895             wxDateTime 
&_result_ref 
= (arg1
)->SetMinute(arg2
); 
17896             result 
= (wxDateTime 
*) &_result_ref
; 
17899         wxPyEndAllowThreads(__tstate
); 
17900         if (PyErr_Occurred()) SWIG_fail
; 
17902     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17909 static PyObject 
*_wrap_DateTime_SetSecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17910     PyObject 
*resultobj
; 
17911     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17913     wxDateTime 
*result
; 
17914     PyObject 
* obj0 
= 0 ; 
17915     PyObject 
* obj1 
= 0 ; 
17916     char *kwnames
[] = { 
17917         (char *) "self",(char *) "second", NULL 
 
17920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
17921     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17922     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17923     arg2 
= (int) SWIG_AsInt(obj1
);  
17924     if (PyErr_Occurred()) SWIG_fail
; 
17926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17928             wxDateTime 
&_result_ref 
= (arg1
)->SetSecond(arg2
); 
17929             result 
= (wxDateTime 
*) &_result_ref
; 
17932         wxPyEndAllowThreads(__tstate
); 
17933         if (PyErr_Occurred()) SWIG_fail
; 
17935     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17942 static PyObject 
*_wrap_DateTime_SetMillisecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17943     PyObject 
*resultobj
; 
17944     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17946     wxDateTime 
*result
; 
17947     PyObject 
* obj0 
= 0 ; 
17948     PyObject 
* obj1 
= 0 ; 
17949     char *kwnames
[] = { 
17950         (char *) "self",(char *) "millisecond", NULL 
 
17953     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
17954     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17955     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17956     arg2 
= (int) SWIG_AsInt(obj1
);  
17957     if (PyErr_Occurred()) SWIG_fail
; 
17959         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17961             wxDateTime 
&_result_ref 
= (arg1
)->SetMillisecond(arg2
); 
17962             result 
= (wxDateTime 
*) &_result_ref
; 
17965         wxPyEndAllowThreads(__tstate
); 
17966         if (PyErr_Occurred()) SWIG_fail
; 
17968     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17975 static PyObject 
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17976     PyObject 
*resultobj
; 
17977     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17979     int arg3 
= (int) wxDateTime::Monday_First 
; 
17980     wxDateTime 
*result
; 
17981     PyObject 
* obj0 
= 0 ; 
17982     PyObject 
* obj1 
= 0 ; 
17983     PyObject 
* obj2 
= 0 ; 
17984     char *kwnames
[] = { 
17985         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
17988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17989     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17990     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17991     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
17992     if (PyErr_Occurred()) SWIG_fail
; 
17994         arg3 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);  
17995         if (PyErr_Occurred()) SWIG_fail
; 
17998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18000             wxDateTime 
&_result_ref 
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18001             result 
= (wxDateTime 
*) &_result_ref
; 
18004         wxPyEndAllowThreads(__tstate
); 
18005         if (PyErr_Occurred()) SWIG_fail
; 
18007     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18014 static PyObject 
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18015     PyObject 
*resultobj
; 
18016     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18018     int arg3 
= (int) wxDateTime::Monday_First 
; 
18020     PyObject 
* obj0 
= 0 ; 
18021     PyObject 
* obj1 
= 0 ; 
18022     PyObject 
* obj2 
= 0 ; 
18023     char *kwnames
[] = { 
18024         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
18027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18028     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18029     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18030     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18031     if (PyErr_Occurred()) SWIG_fail
; 
18033         arg3 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);  
18034         if (PyErr_Occurred()) SWIG_fail
; 
18037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18038         result 
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18040         wxPyEndAllowThreads(__tstate
); 
18041         if (PyErr_Occurred()) SWIG_fail
; 
18044         wxDateTime 
* resultptr
; 
18045         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18046         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18054 static PyObject 
*_wrap_DateTime_SetToNextWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18055     PyObject 
*resultobj
; 
18056     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18058     wxDateTime 
*result
; 
18059     PyObject 
* obj0 
= 0 ; 
18060     PyObject 
* obj1 
= 0 ; 
18061     char *kwnames
[] = { 
18062         (char *) "self",(char *) "weekday", NULL 
 
18065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18066     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18067     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18068     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18069     if (PyErr_Occurred()) SWIG_fail
; 
18071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18073             wxDateTime 
&_result_ref 
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18074             result 
= (wxDateTime 
*) &_result_ref
; 
18077         wxPyEndAllowThreads(__tstate
); 
18078         if (PyErr_Occurred()) SWIG_fail
; 
18080     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18087 static PyObject 
*_wrap_DateTime_GetNextWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18088     PyObject 
*resultobj
; 
18089     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18092     PyObject 
* obj0 
= 0 ; 
18093     PyObject 
* obj1 
= 0 ; 
18094     char *kwnames
[] = { 
18095         (char *) "self",(char *) "weekday", NULL 
 
18098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18099     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18100     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18101     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18102     if (PyErr_Occurred()) SWIG_fail
; 
18104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18105         result 
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18107         wxPyEndAllowThreads(__tstate
); 
18108         if (PyErr_Occurred()) SWIG_fail
; 
18111         wxDateTime 
* resultptr
; 
18112         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18113         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18121 static PyObject 
*_wrap_DateTime_SetToPrevWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18122     PyObject 
*resultobj
; 
18123     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18125     wxDateTime 
*result
; 
18126     PyObject 
* obj0 
= 0 ; 
18127     PyObject 
* obj1 
= 0 ; 
18128     char *kwnames
[] = { 
18129         (char *) "self",(char *) "weekday", NULL 
 
18132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18133     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18134     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18135     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18136     if (PyErr_Occurred()) SWIG_fail
; 
18138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18140             wxDateTime 
&_result_ref 
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18141             result 
= (wxDateTime 
*) &_result_ref
; 
18144         wxPyEndAllowThreads(__tstate
); 
18145         if (PyErr_Occurred()) SWIG_fail
; 
18147     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18154 static PyObject 
*_wrap_DateTime_GetPrevWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18155     PyObject 
*resultobj
; 
18156     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18159     PyObject 
* obj0 
= 0 ; 
18160     PyObject 
* obj1 
= 0 ; 
18161     char *kwnames
[] = { 
18162         (char *) "self",(char *) "weekday", NULL 
 
18165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18168     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18169     if (PyErr_Occurred()) SWIG_fail
; 
18171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18172         result 
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18174         wxPyEndAllowThreads(__tstate
); 
18175         if (PyErr_Occurred()) SWIG_fail
; 
18178         wxDateTime 
* resultptr
; 
18179         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18180         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18188 static PyObject 
*_wrap_DateTime_SetToWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18189     PyObject 
*resultobj
; 
18190     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18192     int arg3 
= (int) 1 ; 
18193     int arg4 
= (int) wxDateTime::Inv_Month 
; 
18194     int arg5 
= (int) wxDateTime::Inv_Year 
; 
18196     PyObject 
* obj0 
= 0 ; 
18197     PyObject 
* obj1 
= 0 ; 
18198     PyObject 
* obj2 
= 0 ; 
18199     PyObject 
* obj3 
= 0 ; 
18200     PyObject 
* obj4 
= 0 ; 
18201     char *kwnames
[] = { 
18202         (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL 
 
18205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
18206     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18207     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18208     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18209     if (PyErr_Occurred()) SWIG_fail
; 
18211         arg3 
= (int) SWIG_AsInt(obj2
);  
18212         if (PyErr_Occurred()) SWIG_fail
; 
18215         arg4 
= (wxDateTime::Month
) SWIG_AsInt(obj3
);  
18216         if (PyErr_Occurred()) SWIG_fail
; 
18219         arg5 
= (int) SWIG_AsInt(obj4
);  
18220         if (PyErr_Occurred()) SWIG_fail
; 
18223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18224         result 
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay 
)arg2
,arg3
,(wxDateTime::Month 
)arg4
,arg5
); 
18226         wxPyEndAllowThreads(__tstate
); 
18227         if (PyErr_Occurred()) SWIG_fail
; 
18230         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18238 static PyObject 
*_wrap_DateTime_SetToLastWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18239     PyObject 
*resultobj
; 
18240     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18242     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18243     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18245     PyObject 
* obj0 
= 0 ; 
18246     PyObject 
* obj1 
= 0 ; 
18247     PyObject 
* obj2 
= 0 ; 
18248     PyObject 
* obj3 
= 0 ; 
18249     char *kwnames
[] = { 
18250         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18254     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18255     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18256     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18257     if (PyErr_Occurred()) SWIG_fail
; 
18259         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
18260         if (PyErr_Occurred()) SWIG_fail
; 
18263         arg4 
= (int) SWIG_AsInt(obj3
);  
18264         if (PyErr_Occurred()) SWIG_fail
; 
18267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18268         result 
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18270         wxPyEndAllowThreads(__tstate
); 
18271         if (PyErr_Occurred()) SWIG_fail
; 
18274         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18282 static PyObject 
*_wrap_DateTime_GetLastWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18283     PyObject 
*resultobj
; 
18284     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18286     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18287     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18289     PyObject 
* obj0 
= 0 ; 
18290     PyObject 
* obj1 
= 0 ; 
18291     PyObject 
* obj2 
= 0 ; 
18292     PyObject 
* obj3 
= 0 ; 
18293     char *kwnames
[] = { 
18294         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18298     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18299     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18300     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18301     if (PyErr_Occurred()) SWIG_fail
; 
18303         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
18304         if (PyErr_Occurred()) SWIG_fail
; 
18307         arg4 
= (int) SWIG_AsInt(obj3
);  
18308         if (PyErr_Occurred()) SWIG_fail
; 
18311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18312         result 
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18314         wxPyEndAllowThreads(__tstate
); 
18315         if (PyErr_Occurred()) SWIG_fail
; 
18318         wxDateTime 
* resultptr
; 
18319         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18320         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18328 static PyObject 
*_wrap_DateTime_SetToTheWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18329     PyObject 
*resultobj
; 
18330     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18332     int arg3 
= (int) wxDateTime::Mon 
; 
18333     int arg4 
= (int) wxDateTime::Monday_First 
; 
18335     PyObject 
* obj0 
= 0 ; 
18336     PyObject 
* obj1 
= 0 ; 
18337     PyObject 
* obj2 
= 0 ; 
18338     PyObject 
* obj3 
= 0 ; 
18339     char *kwnames
[] = { 
18340         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18344     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18346     arg2 
= (int) SWIG_AsInt(obj1
);  
18347     if (PyErr_Occurred()) SWIG_fail
; 
18349         arg3 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);  
18350         if (PyErr_Occurred()) SWIG_fail
; 
18353         arg4 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);  
18354         if (PyErr_Occurred()) SWIG_fail
; 
18357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18358         result 
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18360         wxPyEndAllowThreads(__tstate
); 
18361         if (PyErr_Occurred()) SWIG_fail
; 
18364         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18372 static PyObject 
*_wrap_DateTime_GetWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18373     PyObject 
*resultobj
; 
18374     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18376     int arg3 
= (int) wxDateTime::Mon 
; 
18377     int arg4 
= (int) wxDateTime::Monday_First 
; 
18379     PyObject 
* obj0 
= 0 ; 
18380     PyObject 
* obj1 
= 0 ; 
18381     PyObject 
* obj2 
= 0 ; 
18382     PyObject 
* obj3 
= 0 ; 
18383     char *kwnames
[] = { 
18384         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18388     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18389     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18390     arg2 
= (int) SWIG_AsInt(obj1
);  
18391     if (PyErr_Occurred()) SWIG_fail
; 
18393         arg3 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);  
18394         if (PyErr_Occurred()) SWIG_fail
; 
18397         arg4 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);  
18398         if (PyErr_Occurred()) SWIG_fail
; 
18401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18402         result 
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18404         wxPyEndAllowThreads(__tstate
); 
18405         if (PyErr_Occurred()) SWIG_fail
; 
18408         wxDateTime 
* resultptr
; 
18409         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18410         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18418 static PyObject 
*_wrap_DateTime_SetToLastMonthDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18419     PyObject 
*resultobj
; 
18420     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18421     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18422     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18423     wxDateTime 
*result
; 
18424     PyObject 
* obj0 
= 0 ; 
18425     PyObject 
* obj1 
= 0 ; 
18426     PyObject 
* obj2 
= 0 ; 
18427     char *kwnames
[] = { 
18428         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18431     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18432     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18433     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18435         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
18436         if (PyErr_Occurred()) SWIG_fail
; 
18439         arg3 
= (int) SWIG_AsInt(obj2
);  
18440         if (PyErr_Occurred()) SWIG_fail
; 
18443         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18445             wxDateTime 
&_result_ref 
= (arg1
)->SetToLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18446             result 
= (wxDateTime 
*) &_result_ref
; 
18449         wxPyEndAllowThreads(__tstate
); 
18450         if (PyErr_Occurred()) SWIG_fail
; 
18452     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18459 static PyObject 
*_wrap_DateTime_GetLastMonthDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18460     PyObject 
*resultobj
; 
18461     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18462     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18463     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18465     PyObject 
* obj0 
= 0 ; 
18466     PyObject 
* obj1 
= 0 ; 
18467     PyObject 
* obj2 
= 0 ; 
18468     char *kwnames
[] = { 
18469         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18473     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18474     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18476         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
18477         if (PyErr_Occurred()) SWIG_fail
; 
18480         arg3 
= (int) SWIG_AsInt(obj2
);  
18481         if (PyErr_Occurred()) SWIG_fail
; 
18484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18485         result 
= (arg1
)->GetLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18487         wxPyEndAllowThreads(__tstate
); 
18488         if (PyErr_Occurred()) SWIG_fail
; 
18491         wxDateTime 
* resultptr
; 
18492         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18493         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18501 static PyObject 
*_wrap_DateTime_SetToYearDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18502     PyObject 
*resultobj
; 
18503     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18505     wxDateTime 
*result
; 
18506     PyObject 
* obj0 
= 0 ; 
18507     PyObject 
* obj1 
= 0 ; 
18508     char *kwnames
[] = { 
18509         (char *) "self",(char *) "yday", NULL 
 
18512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18515     arg2 
= (int) SWIG_AsInt(obj1
);  
18516     if (PyErr_Occurred()) SWIG_fail
; 
18518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18520             wxDateTime 
&_result_ref 
= (arg1
)->SetToYearDay(arg2
); 
18521             result 
= (wxDateTime 
*) &_result_ref
; 
18524         wxPyEndAllowThreads(__tstate
); 
18525         if (PyErr_Occurred()) SWIG_fail
; 
18527     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18534 static PyObject 
*_wrap_DateTime_GetYearDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18535     PyObject 
*resultobj
; 
18536     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18539     PyObject 
* obj0 
= 0 ; 
18540     PyObject 
* obj1 
= 0 ; 
18541     char *kwnames
[] = { 
18542         (char *) "self",(char *) "yday", NULL 
 
18545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18548     arg2 
= (int) SWIG_AsInt(obj1
);  
18549     if (PyErr_Occurred()) SWIG_fail
; 
18551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18552         result 
= (arg1
)->GetYearDay(arg2
); 
18554         wxPyEndAllowThreads(__tstate
); 
18555         if (PyErr_Occurred()) SWIG_fail
; 
18558         wxDateTime 
* resultptr
; 
18559         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18560         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18568 static PyObject 
*_wrap_DateTime_GetJulianDayNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18569     PyObject 
*resultobj
; 
18570     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18572     PyObject 
* obj0 
= 0 ; 
18573     char *kwnames
[] = { 
18574         (char *) "self", NULL 
 
18577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
18578     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18579     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18582         result 
= (double)(arg1
)->GetJulianDayNumber(); 
18584         wxPyEndAllowThreads(__tstate
); 
18585         if (PyErr_Occurred()) SWIG_fail
; 
18587     resultobj 
= SWIG_FromDouble((double)result
); 
18594 static PyObject 
*_wrap_DateTime_GetJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18595     PyObject 
*resultobj
; 
18596     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18598     PyObject 
* obj0 
= 0 ; 
18599     char *kwnames
[] = { 
18600         (char *) "self", NULL 
 
18603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
; 
18604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18608         result 
= (double)(arg1
)->GetJDN(); 
18610         wxPyEndAllowThreads(__tstate
); 
18611         if (PyErr_Occurred()) SWIG_fail
; 
18613     resultobj 
= SWIG_FromDouble((double)result
); 
18620 static PyObject 
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18621     PyObject 
*resultobj
; 
18622     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18624     PyObject 
* obj0 
= 0 ; 
18625     char *kwnames
[] = { 
18626         (char *) "self", NULL 
 
18629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
18630     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18631     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18634         result 
= (double)((wxDateTime 
const *)arg1
)->GetModifiedJulianDayNumber(); 
18636         wxPyEndAllowThreads(__tstate
); 
18637         if (PyErr_Occurred()) SWIG_fail
; 
18639     resultobj 
= SWIG_FromDouble((double)result
); 
18646 static PyObject 
*_wrap_DateTime_GetMJD(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18647     PyObject 
*resultobj
; 
18648     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18650     PyObject 
* obj0 
= 0 ; 
18651     char *kwnames
[] = { 
18652         (char *) "self", NULL 
 
18655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
; 
18656     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18657     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18660         result 
= (double)(arg1
)->GetMJD(); 
18662         wxPyEndAllowThreads(__tstate
); 
18663         if (PyErr_Occurred()) SWIG_fail
; 
18665     resultobj 
= SWIG_FromDouble((double)result
); 
18672 static PyObject 
*_wrap_DateTime_GetRataDie(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18673     PyObject 
*resultobj
; 
18674     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18676     PyObject 
* obj0 
= 0 ; 
18677     char *kwnames
[] = { 
18678         (char *) "self", NULL 
 
18681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
; 
18682     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18683     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18686         result 
= (double)(arg1
)->GetRataDie(); 
18688         wxPyEndAllowThreads(__tstate
); 
18689         if (PyErr_Occurred()) SWIG_fail
; 
18691     resultobj 
= SWIG_FromDouble((double)result
); 
18698 static PyObject 
*_wrap_DateTime_ToTimezone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18699     PyObject 
*resultobj
; 
18700     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18701     wxDateTime::TimeZone 
*arg2 
= 0 ; 
18702     bool arg3 
= (bool) False 
; 
18704     bool temp2 
= False 
; 
18705     PyObject 
* obj0 
= 0 ; 
18706     PyObject 
* obj1 
= 0 ; 
18707     PyObject 
* obj2 
= 0 ; 
18708     char *kwnames
[] = { 
18709         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
18712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18716         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18720         arg3 
= (bool) SWIG_AsBool(obj2
);  
18721         if (PyErr_Occurred()) SWIG_fail
; 
18724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18725         result 
= (arg1
)->ToTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
18727         wxPyEndAllowThreads(__tstate
); 
18728         if (PyErr_Occurred()) SWIG_fail
; 
18731         wxDateTime 
* resultptr
; 
18732         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18733         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18736         if (temp2
) delete arg2
; 
18741         if (temp2
) delete arg2
; 
18747 static PyObject 
*_wrap_DateTime_MakeTimezone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18748     PyObject 
*resultobj
; 
18749     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18750     wxDateTime::TimeZone 
*arg2 
= 0 ; 
18751     bool arg3 
= (bool) False 
; 
18752     wxDateTime 
*result
; 
18753     bool temp2 
= False 
; 
18754     PyObject 
* obj0 
= 0 ; 
18755     PyObject 
* obj1 
= 0 ; 
18756     PyObject 
* obj2 
= 0 ; 
18757     char *kwnames
[] = { 
18758         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
18761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18762     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18763     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18765         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18769         arg3 
= (bool) SWIG_AsBool(obj2
);  
18770         if (PyErr_Occurred()) SWIG_fail
; 
18773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18775             wxDateTime 
&_result_ref 
= (arg1
)->MakeTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
18776             result 
= (wxDateTime 
*) &_result_ref
; 
18779         wxPyEndAllowThreads(__tstate
); 
18780         if (PyErr_Occurred()) SWIG_fail
; 
18782     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18784         if (temp2
) delete arg2
; 
18789         if (temp2
) delete arg2
; 
18795 static PyObject 
*_wrap_DateTime_ToGMT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18796     PyObject 
*resultobj
; 
18797     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18798     bool arg2 
= (bool) False 
; 
18800     PyObject 
* obj0 
= 0 ; 
18801     PyObject 
* obj1 
= 0 ; 
18802     char *kwnames
[] = { 
18803         (char *) "self",(char *) "noDST", NULL 
 
18806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
18807     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18808     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18810         arg2 
= (bool) SWIG_AsBool(obj1
);  
18811         if (PyErr_Occurred()) SWIG_fail
; 
18814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18815         result 
= (arg1
)->ToGMT(arg2
); 
18817         wxPyEndAllowThreads(__tstate
); 
18818         if (PyErr_Occurred()) SWIG_fail
; 
18821         wxDateTime 
* resultptr
; 
18822         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18823         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18831 static PyObject 
*_wrap_DateTime_MakeGMT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18832     PyObject 
*resultobj
; 
18833     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18834     bool arg2 
= (bool) False 
; 
18835     wxDateTime 
*result
; 
18836     PyObject 
* obj0 
= 0 ; 
18837     PyObject 
* obj1 
= 0 ; 
18838     char *kwnames
[] = { 
18839         (char *) "self",(char *) "noDST", NULL 
 
18842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
18843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18846         arg2 
= (bool) SWIG_AsBool(obj1
);  
18847         if (PyErr_Occurred()) SWIG_fail
; 
18850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18852             wxDateTime 
&_result_ref 
= (arg1
)->MakeGMT(arg2
); 
18853             result 
= (wxDateTime 
*) &_result_ref
; 
18856         wxPyEndAllowThreads(__tstate
); 
18857         if (PyErr_Occurred()) SWIG_fail
; 
18859     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18866 static PyObject 
*_wrap_DateTime_IsDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18867     PyObject 
*resultobj
; 
18868     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18869     int arg2 
= (int) wxDateTime::Country_Default 
; 
18871     PyObject 
* obj0 
= 0 ; 
18872     PyObject 
* obj1 
= 0 ; 
18873     char *kwnames
[] = { 
18874         (char *) "self",(char *) "country", NULL 
 
18877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
18878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18881         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
18882         if (PyErr_Occurred()) SWIG_fail
; 
18885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18886         result 
= (int)(arg1
)->IsDST((wxDateTime::Country 
)arg2
); 
18888         wxPyEndAllowThreads(__tstate
); 
18889         if (PyErr_Occurred()) SWIG_fail
; 
18891     resultobj 
= SWIG_FromInt((int)result
); 
18898 static PyObject 
*_wrap_DateTime_IsValid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18899     PyObject 
*resultobj
; 
18900     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18902     PyObject 
* obj0 
= 0 ; 
18903     char *kwnames
[] = { 
18904         (char *) "self", NULL 
 
18907     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
; 
18908     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18909     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18911         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18912         result 
= (bool)((wxDateTime 
const *)arg1
)->IsValid(); 
18914         wxPyEndAllowThreads(__tstate
); 
18915         if (PyErr_Occurred()) SWIG_fail
; 
18918         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18926 static PyObject 
*_wrap_DateTime_GetTicks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18927     PyObject 
*resultobj
; 
18928     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18930     PyObject 
* obj0 
= 0 ; 
18931     char *kwnames
[] = { 
18932         (char *) "self", NULL 
 
18935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
; 
18936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18940         result 
= (time_t)((wxDateTime 
const *)arg1
)->GetTicks(); 
18942         wxPyEndAllowThreads(__tstate
); 
18943         if (PyErr_Occurred()) SWIG_fail
; 
18945     resultobj 
= SWIG_FromUnsignedInt((unsigned int)result
); 
18952 static PyObject 
*_wrap_DateTime_GetYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18953     PyObject 
*resultobj
; 
18954     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18955     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
18956     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
18958     bool temp2 
= False 
; 
18959     PyObject 
* obj0 
= 0 ; 
18960     PyObject 
* obj1 
= 0 ; 
18961     char *kwnames
[] = { 
18962         (char *) "self",(char *) "tz", NULL 
 
18965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
18966     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18970             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18976         result 
= (int)((wxDateTime 
const *)arg1
)->GetYear((wxDateTime::TimeZone 
const &)*arg2
); 
18978         wxPyEndAllowThreads(__tstate
); 
18979         if (PyErr_Occurred()) SWIG_fail
; 
18981     resultobj 
= SWIG_FromInt((int)result
); 
18983         if (temp2
) delete arg2
; 
18988         if (temp2
) delete arg2
; 
18994 static PyObject 
*_wrap_DateTime_GetMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18995     PyObject 
*resultobj
; 
18996     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18997     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
18998     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19000     bool temp2 
= False 
; 
19001     PyObject 
* obj0 
= 0 ; 
19002     PyObject 
* obj1 
= 0 ; 
19003     char *kwnames
[] = { 
19004         (char *) "self",(char *) "tz", NULL 
 
19007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
19008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19012             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19018         result 
= (int)((wxDateTime 
const *)arg1
)->GetMonth((wxDateTime::TimeZone 
const &)*arg2
); 
19020         wxPyEndAllowThreads(__tstate
); 
19021         if (PyErr_Occurred()) SWIG_fail
; 
19023     resultobj 
= SWIG_FromInt((int)result
); 
19025         if (temp2
) delete arg2
; 
19030         if (temp2
) delete arg2
; 
19036 static PyObject 
*_wrap_DateTime_GetDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19037     PyObject 
*resultobj
; 
19038     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19039     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19040     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19042     bool temp2 
= False 
; 
19043     PyObject 
* obj0 
= 0 ; 
19044     PyObject 
* obj1 
= 0 ; 
19045     char *kwnames
[] = { 
19046         (char *) "self",(char *) "tz", NULL 
 
19049     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19050     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19051     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19054             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19060         result 
= (int)((wxDateTime 
const *)arg1
)->GetDay((wxDateTime::TimeZone 
const &)*arg2
); 
19062         wxPyEndAllowThreads(__tstate
); 
19063         if (PyErr_Occurred()) SWIG_fail
; 
19065     resultobj 
= SWIG_FromInt((int)result
); 
19067         if (temp2
) delete arg2
; 
19072         if (temp2
) delete arg2
; 
19078 static PyObject 
*_wrap_DateTime_GetWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19079     PyObject 
*resultobj
; 
19080     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19081     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19082     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19084     bool temp2 
= False 
; 
19085     PyObject 
* obj0 
= 0 ; 
19086     PyObject 
* obj1 
= 0 ; 
19087     char *kwnames
[] = { 
19088         (char *) "self",(char *) "tz", NULL 
 
19091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19092     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19093     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19096             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19102         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone 
const &)*arg2
); 
19104         wxPyEndAllowThreads(__tstate
); 
19105         if (PyErr_Occurred()) SWIG_fail
; 
19107     resultobj 
= SWIG_FromInt((int)result
); 
19109         if (temp2
) delete arg2
; 
19114         if (temp2
) delete arg2
; 
19120 static PyObject 
*_wrap_DateTime_GetHour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19121     PyObject 
*resultobj
; 
19122     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19123     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19124     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19126     bool temp2 
= False 
; 
19127     PyObject 
* obj0 
= 0 ; 
19128     PyObject 
* obj1 
= 0 ; 
19129     char *kwnames
[] = { 
19130         (char *) "self",(char *) "tz", NULL 
 
19133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19138             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19144         result 
= (int)((wxDateTime 
const *)arg1
)->GetHour((wxDateTime::TimeZone 
const &)*arg2
); 
19146         wxPyEndAllowThreads(__tstate
); 
19147         if (PyErr_Occurred()) SWIG_fail
; 
19149     resultobj 
= SWIG_FromInt((int)result
); 
19151         if (temp2
) delete arg2
; 
19156         if (temp2
) delete arg2
; 
19162 static PyObject 
*_wrap_DateTime_GetMinute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19163     PyObject 
*resultobj
; 
19164     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19165     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19166     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19168     bool temp2 
= False 
; 
19169     PyObject 
* obj0 
= 0 ; 
19170     PyObject 
* obj1 
= 0 ; 
19171     char *kwnames
[] = { 
19172         (char *) "self",(char *) "tz", NULL 
 
19175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
19176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19180             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19186         result 
= (int)((wxDateTime 
const *)arg1
)->GetMinute((wxDateTime::TimeZone 
const &)*arg2
); 
19188         wxPyEndAllowThreads(__tstate
); 
19189         if (PyErr_Occurred()) SWIG_fail
; 
19191     resultobj 
= SWIG_FromInt((int)result
); 
19193         if (temp2
) delete arg2
; 
19198         if (temp2
) delete arg2
; 
19204 static PyObject 
*_wrap_DateTime_GetSecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19205     PyObject 
*resultobj
; 
19206     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19207     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19208     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19210     bool temp2 
= False 
; 
19211     PyObject 
* obj0 
= 0 ; 
19212     PyObject 
* obj1 
= 0 ; 
19213     char *kwnames
[] = { 
19214         (char *) "self",(char *) "tz", NULL 
 
19217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19218     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19219     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19222             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19228         result 
= (int)((wxDateTime 
const *)arg1
)->GetSecond((wxDateTime::TimeZone 
const &)*arg2
); 
19230         wxPyEndAllowThreads(__tstate
); 
19231         if (PyErr_Occurred()) SWIG_fail
; 
19233     resultobj 
= SWIG_FromInt((int)result
); 
19235         if (temp2
) delete arg2
; 
19240         if (temp2
) delete arg2
; 
19246 static PyObject 
*_wrap_DateTime_GetMillisecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19247     PyObject 
*resultobj
; 
19248     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19249     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19250     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19252     bool temp2 
= False 
; 
19253     PyObject 
* obj0 
= 0 ; 
19254     PyObject 
* obj1 
= 0 ; 
19255     char *kwnames
[] = { 
19256         (char *) "self",(char *) "tz", NULL 
 
19259     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19260     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19261     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19264             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19270         result 
= (int)((wxDateTime 
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone 
const &)*arg2
); 
19272         wxPyEndAllowThreads(__tstate
); 
19273         if (PyErr_Occurred()) SWIG_fail
; 
19275     resultobj 
= SWIG_FromInt((int)result
); 
19277         if (temp2
) delete arg2
; 
19282         if (temp2
) delete arg2
; 
19288 static PyObject 
*_wrap_DateTime_GetDayOfYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19289     PyObject 
*resultobj
; 
19290     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19291     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19292     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19294     bool temp2 
= False 
; 
19295     PyObject 
* obj0 
= 0 ; 
19296     PyObject 
* obj1 
= 0 ; 
19297     char *kwnames
[] = { 
19298         (char *) "self",(char *) "tz", NULL 
 
19301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
19302     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19306             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19312         result 
= (int)((wxDateTime 
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone 
const &)*arg2
); 
19314         wxPyEndAllowThreads(__tstate
); 
19315         if (PyErr_Occurred()) SWIG_fail
; 
19317     resultobj 
= SWIG_FromInt((int)result
); 
19319         if (temp2
) delete arg2
; 
19324         if (temp2
) delete arg2
; 
19330 static PyObject 
*_wrap_DateTime_GetWeekOfYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19331     PyObject 
*resultobj
; 
19332     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19333     int arg2 
= (int) wxDateTime::Monday_First 
; 
19334     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19335     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19337     bool temp3 
= False 
; 
19338     PyObject 
* obj0 
= 0 ; 
19339     PyObject 
* obj1 
= 0 ; 
19340     PyObject 
* obj2 
= 0 ; 
19341     char *kwnames
[] = { 
19342         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19346     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19347     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19349         arg2 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);  
19350         if (PyErr_Occurred()) SWIG_fail
; 
19354             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19360         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19362         wxPyEndAllowThreads(__tstate
); 
19363         if (PyErr_Occurred()) SWIG_fail
; 
19365     resultobj 
= SWIG_FromInt((int)result
); 
19367         if (temp3
) delete arg3
; 
19372         if (temp3
) delete arg3
; 
19378 static PyObject 
*_wrap_DateTime_GetWeekOfMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19379     PyObject 
*resultobj
; 
19380     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19381     int arg2 
= (int) wxDateTime::Monday_First 
; 
19382     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19383     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19385     bool temp3 
= False 
; 
19386     PyObject 
* obj0 
= 0 ; 
19387     PyObject 
* obj1 
= 0 ; 
19388     PyObject 
* obj2 
= 0 ; 
19389     char *kwnames
[] = { 
19390         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19397         arg2 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);  
19398         if (PyErr_Occurred()) SWIG_fail
; 
19402             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19408         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19410         wxPyEndAllowThreads(__tstate
); 
19411         if (PyErr_Occurred()) SWIG_fail
; 
19413     resultobj 
= SWIG_FromInt((int)result
); 
19415         if (temp3
) delete arg3
; 
19420         if (temp3
) delete arg3
; 
19426 static PyObject 
*_wrap_DateTime_IsWorkDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19427     PyObject 
*resultobj
; 
19428     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19429     int arg2 
= (int) wxDateTime::Country_Default 
; 
19431     PyObject 
* obj0 
= 0 ; 
19432     PyObject 
* obj1 
= 0 ; 
19433     char *kwnames
[] = { 
19434         (char *) "self",(char *) "country", NULL 
 
19437     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19438     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19439     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19441         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
19442         if (PyErr_Occurred()) SWIG_fail
; 
19445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19446         result 
= (bool)((wxDateTime 
const *)arg1
)->IsWorkDay((wxDateTime::Country 
)arg2
); 
19448         wxPyEndAllowThreads(__tstate
); 
19449         if (PyErr_Occurred()) SWIG_fail
; 
19452         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19460 static PyObject 
*_wrap_DateTime_IsEqualTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19461     PyObject 
*resultobj
; 
19462     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19463     wxDateTime 
*arg2 
= 0 ; 
19465     PyObject 
* obj0 
= 0 ; 
19466     PyObject 
* obj1 
= 0 ; 
19467     char *kwnames
[] = { 
19468         (char *) "self",(char *) "datetime", NULL 
 
19471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
19472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19474     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19475     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19477     if (arg2 
== NULL
) { 
19478         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19483         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualTo((wxDateTime 
const &)*arg2
); 
19485         wxPyEndAllowThreads(__tstate
); 
19486         if (PyErr_Occurred()) SWIG_fail
; 
19489         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19497 static PyObject 
*_wrap_DateTime_IsEarlierThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19498     PyObject 
*resultobj
; 
19499     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19500     wxDateTime 
*arg2 
= 0 ; 
19502     PyObject 
* obj0 
= 0 ; 
19503     PyObject 
* obj1 
= 0 ; 
19504     char *kwnames
[] = { 
19505         (char *) "self",(char *) "datetime", NULL 
 
19508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19509     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19511     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19512     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19514     if (arg2 
== NULL
) { 
19515         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19520         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEarlierThan((wxDateTime 
const &)*arg2
); 
19522         wxPyEndAllowThreads(__tstate
); 
19523         if (PyErr_Occurred()) SWIG_fail
; 
19526         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19534 static PyObject 
*_wrap_DateTime_IsLaterThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19535     PyObject 
*resultobj
; 
19536     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19537     wxDateTime 
*arg2 
= 0 ; 
19539     PyObject 
* obj0 
= 0 ; 
19540     PyObject 
* obj1 
= 0 ; 
19541     char *kwnames
[] = { 
19542         (char *) "self",(char *) "datetime", NULL 
 
19545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19548     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19551     if (arg2 
== NULL
) { 
19552         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19557         result 
= (bool)((wxDateTime 
const *)arg1
)->IsLaterThan((wxDateTime 
const &)*arg2
); 
19559         wxPyEndAllowThreads(__tstate
); 
19560         if (PyErr_Occurred()) SWIG_fail
; 
19563         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19571 static PyObject 
*_wrap_DateTime_IsStrictlyBetween(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19572     PyObject 
*resultobj
; 
19573     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19574     wxDateTime 
*arg2 
= 0 ; 
19575     wxDateTime 
*arg3 
= 0 ; 
19577     PyObject 
* obj0 
= 0 ; 
19578     PyObject 
* obj1 
= 0 ; 
19579     PyObject 
* obj2 
= 0 ; 
19580     char *kwnames
[] = { 
19581         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
19584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19587     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19590     if (arg2 
== NULL
) { 
19591         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19594     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
19595     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19597     if (arg3 
== NULL
) { 
19598         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19603         result 
= (bool)((wxDateTime 
const *)arg1
)->IsStrictlyBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
19605         wxPyEndAllowThreads(__tstate
); 
19606         if (PyErr_Occurred()) SWIG_fail
; 
19609         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19617 static PyObject 
*_wrap_DateTime_IsBetween(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19618     PyObject 
*resultobj
; 
19619     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19620     wxDateTime 
*arg2 
= 0 ; 
19621     wxDateTime 
*arg3 
= 0 ; 
19623     PyObject 
* obj0 
= 0 ; 
19624     PyObject 
* obj1 
= 0 ; 
19625     PyObject 
* obj2 
= 0 ; 
19626     char *kwnames
[] = { 
19627         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
19630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19633     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19634     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19636     if (arg2 
== NULL
) { 
19637         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19640     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
19641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19643     if (arg3 
== NULL
) { 
19644         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19649         result 
= (bool)((wxDateTime 
const *)arg1
)->IsBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
19651         wxPyEndAllowThreads(__tstate
); 
19652         if (PyErr_Occurred()) SWIG_fail
; 
19655         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19663 static PyObject 
*_wrap_DateTime_IsSameDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19664     PyObject 
*resultobj
; 
19665     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19666     wxDateTime 
*arg2 
= 0 ; 
19668     PyObject 
* obj0 
= 0 ; 
19669     PyObject 
* obj1 
= 0 ; 
19670     char *kwnames
[] = { 
19671         (char *) "self",(char *) "dt", NULL 
 
19674     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
19675     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19676     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19677     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19678     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19680     if (arg2 
== NULL
) { 
19681         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19686         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameDate((wxDateTime 
const &)*arg2
); 
19688         wxPyEndAllowThreads(__tstate
); 
19689         if (PyErr_Occurred()) SWIG_fail
; 
19692         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19700 static PyObject 
*_wrap_DateTime_IsSameTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19701     PyObject 
*resultobj
; 
19702     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19703     wxDateTime 
*arg2 
= 0 ; 
19705     PyObject 
* obj0 
= 0 ; 
19706     PyObject 
* obj1 
= 0 ; 
19707     char *kwnames
[] = { 
19708         (char *) "self",(char *) "dt", NULL 
 
19711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
19712     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19713     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19714     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19715     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19717     if (arg2 
== NULL
) { 
19718         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19723         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameTime((wxDateTime 
const &)*arg2
); 
19725         wxPyEndAllowThreads(__tstate
); 
19726         if (PyErr_Occurred()) SWIG_fail
; 
19729         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19737 static PyObject 
*_wrap_DateTime_IsEqualUpTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19738     PyObject 
*resultobj
; 
19739     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19740     wxDateTime 
*arg2 
= 0 ; 
19741     wxTimeSpan 
*arg3 
= 0 ; 
19743     PyObject 
* obj0 
= 0 ; 
19744     PyObject 
* obj1 
= 0 ; 
19745     PyObject 
* obj2 
= 0 ; 
19746     char *kwnames
[] = { 
19747         (char *) "self",(char *) "dt",(char *) "ts", NULL 
 
19750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19751     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19752     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19753     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19756     if (arg2 
== NULL
) { 
19757         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19760     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
, 
19761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19763     if (arg3 
== NULL
) { 
19764         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19769         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualUpTo((wxDateTime 
const &)*arg2
,(wxTimeSpan 
const &)*arg3
); 
19771         wxPyEndAllowThreads(__tstate
); 
19772         if (PyErr_Occurred()) SWIG_fail
; 
19775         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19783 static PyObject 
*_wrap_DateTime_AddTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19784     PyObject 
*resultobj
; 
19785     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19786     wxTimeSpan 
*arg2 
= 0 ; 
19787     wxDateTime 
*result
; 
19788     PyObject 
* obj0 
= 0 ; 
19789     PyObject 
* obj1 
= 0 ; 
19790     char *kwnames
[] = { 
19791         (char *) "self",(char *) "diff", NULL 
 
19794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19795     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19796     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19797     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
19798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19800     if (arg2 
== NULL
) { 
19801         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19807             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
19808             result 
= (wxDateTime 
*) &_result_ref
; 
19811         wxPyEndAllowThreads(__tstate
); 
19812         if (PyErr_Occurred()) SWIG_fail
; 
19814     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19821 static PyObject 
*_wrap_DateTime_AddDS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19822     PyObject 
*resultobj
; 
19823     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19824     wxDateSpan 
*arg2 
= 0 ; 
19825     wxDateTime 
*result
; 
19826     PyObject 
* obj0 
= 0 ; 
19827     PyObject 
* obj1 
= 0 ; 
19828     char *kwnames
[] = { 
19829         (char *) "self",(char *) "diff", NULL 
 
19832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19833     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19834     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19835     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
19836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19838     if (arg2 
== NULL
) { 
19839         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19845             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
19846             result 
= (wxDateTime 
*) &_result_ref
; 
19849         wxPyEndAllowThreads(__tstate
); 
19850         if (PyErr_Occurred()) SWIG_fail
; 
19852     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19859 static PyObject 
*_wrap_DateTime_SubtractTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19860     PyObject 
*resultobj
; 
19861     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19862     wxTimeSpan 
*arg2 
= 0 ; 
19863     wxDateTime 
*result
; 
19864     PyObject 
* obj0 
= 0 ; 
19865     PyObject 
* obj1 
= 0 ; 
19866     char *kwnames
[] = { 
19867         (char *) "self",(char *) "diff", NULL 
 
19870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19871     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19873     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
19874     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19876     if (arg2 
== NULL
) { 
19877         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19883             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
19884             result 
= (wxDateTime 
*) &_result_ref
; 
19887         wxPyEndAllowThreads(__tstate
); 
19888         if (PyErr_Occurred()) SWIG_fail
; 
19890     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19897 static PyObject 
*_wrap_DateTime_SubtractDS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19898     PyObject 
*resultobj
; 
19899     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19900     wxDateSpan 
*arg2 
= 0 ; 
19901     wxDateTime 
*result
; 
19902     PyObject 
* obj0 
= 0 ; 
19903     PyObject 
* obj1 
= 0 ; 
19904     char *kwnames
[] = { 
19905         (char *) "self",(char *) "diff", NULL 
 
19908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19909     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19911     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
19912     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19914     if (arg2 
== NULL
) { 
19915         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19919         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19921             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
19922             result 
= (wxDateTime 
*) &_result_ref
; 
19925         wxPyEndAllowThreads(__tstate
); 
19926         if (PyErr_Occurred()) SWIG_fail
; 
19928     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19935 static PyObject 
*_wrap_DateTime_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19936     PyObject 
*resultobj
; 
19937     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19938     wxDateTime 
*arg2 
= 0 ; 
19940     PyObject 
* obj0 
= 0 ; 
19941     PyObject 
* obj1 
= 0 ; 
19942     char *kwnames
[] = { 
19943         (char *) "self",(char *) "dt", NULL 
 
19946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
19947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19949     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19950     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19952     if (arg2 
== NULL
) { 
19953         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19958         result 
= ((wxDateTime 
const *)arg1
)->Subtract((wxDateTime 
const &)*arg2
); 
19960         wxPyEndAllowThreads(__tstate
); 
19961         if (PyErr_Occurred()) SWIG_fail
; 
19964         wxTimeSpan 
* resultptr
; 
19965         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
19966         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
19974 static PyObject 
*_wrap_DateTime___iadd____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
19975     PyObject 
*resultobj
; 
19976     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19977     wxTimeSpan 
*arg2 
= 0 ; 
19978     wxDateTime 
*result
; 
19979     PyObject 
* obj0 
= 0 ; 
19980     PyObject 
* obj1 
= 0 ; 
19982     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
19983     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19984     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19985     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
19986     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19988     if (arg2 
== NULL
) { 
19989         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19995             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
19996             result 
= (wxDateTime 
*) &_result_ref
; 
19999         wxPyEndAllowThreads(__tstate
); 
20000         if (PyErr_Occurred()) SWIG_fail
; 
20002     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20009 static PyObject 
*_wrap_DateTime___iadd____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20010     PyObject 
*resultobj
; 
20011     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20012     wxDateSpan 
*arg2 
= 0 ; 
20013     wxDateTime 
*result
; 
20014     PyObject 
* obj0 
= 0 ; 
20015     PyObject 
* obj1 
= 0 ; 
20017     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
20018     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20019     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20020     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20021     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20023     if (arg2 
== NULL
) { 
20024         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20030             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
20031             result 
= (wxDateTime 
*) &_result_ref
; 
20034         wxPyEndAllowThreads(__tstate
); 
20035         if (PyErr_Occurred()) SWIG_fail
; 
20037     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20044 static PyObject 
*_wrap_DateTime___iadd__(PyObject 
*self
, PyObject 
*args
) { 
20049     argc 
= PyObject_Length(args
); 
20050     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20051         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20057             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20067                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20075                 return _wrap_DateTime___iadd____SWIG_0(self
,args
); 
20083             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20093                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20101                 return _wrap_DateTime___iadd____SWIG_1(self
,args
); 
20106     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'"); 
20111 static PyObject 
*_wrap_DateTime___isub____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20112     PyObject 
*resultobj
; 
20113     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20114     wxTimeSpan 
*arg2 
= 0 ; 
20115     wxDateTime 
*result
; 
20116     PyObject 
* obj0 
= 0 ; 
20117     PyObject 
* obj1 
= 0 ; 
20119     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20122     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20125     if (arg2 
== NULL
) { 
20126         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20132             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
20133             result 
= (wxDateTime 
*) &_result_ref
; 
20136         wxPyEndAllowThreads(__tstate
); 
20137         if (PyErr_Occurred()) SWIG_fail
; 
20139     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20146 static PyObject 
*_wrap_DateTime___isub____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20147     PyObject 
*resultobj
; 
20148     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20149     wxDateSpan 
*arg2 
= 0 ; 
20150     wxDateTime 
*result
; 
20151     PyObject 
* obj0 
= 0 ; 
20152     PyObject 
* obj1 
= 0 ; 
20154     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20155     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20156     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20157     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20158     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20160     if (arg2 
== NULL
) { 
20161         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20167             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
20168             result 
= (wxDateTime 
*) &_result_ref
; 
20171         wxPyEndAllowThreads(__tstate
); 
20172         if (PyErr_Occurred()) SWIG_fail
; 
20174     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20181 static PyObject 
*_wrap_DateTime___isub__(PyObject 
*self
, PyObject 
*args
) { 
20186     argc 
= PyObject_Length(args
); 
20187     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20188         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20194             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20204                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20212                 return _wrap_DateTime___isub____SWIG_0(self
,args
); 
20220             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20230                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20238                 return _wrap_DateTime___isub____SWIG_1(self
,args
); 
20243     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'"); 
20248 static PyObject 
*_wrap_DateTime___add____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20249     PyObject 
*resultobj
; 
20250     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20251     wxTimeSpan 
*arg2 
= 0 ; 
20253     PyObject 
* obj0 
= 0 ; 
20254     PyObject 
* obj1 
= 0 ; 
20256     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20259     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20260     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20262     if (arg2 
== NULL
) { 
20263         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20268         result 
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan 
const &)*arg2
); 
20270         wxPyEndAllowThreads(__tstate
); 
20271         if (PyErr_Occurred()) SWIG_fail
; 
20274         wxDateTime 
* resultptr
; 
20275         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20276         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20284 static PyObject 
*_wrap_DateTime___add____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20285     PyObject 
*resultobj
; 
20286     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20287     wxDateSpan 
*arg2 
= 0 ; 
20289     PyObject 
* obj0 
= 0 ; 
20290     PyObject 
* obj1 
= 0 ; 
20292     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20295     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20298     if (arg2 
== NULL
) { 
20299         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20304         result 
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan 
const &)*arg2
); 
20306         wxPyEndAllowThreads(__tstate
); 
20307         if (PyErr_Occurred()) SWIG_fail
; 
20310         wxDateTime 
* resultptr
; 
20311         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20312         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20320 static PyObject 
*_wrap_DateTime___add__(PyObject 
*self
, PyObject 
*args
) { 
20325     argc 
= PyObject_Length(args
); 
20326     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20327         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20333             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20343                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20351                 return _wrap_DateTime___add____SWIG_0(self
,args
); 
20359             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20369                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20377                 return _wrap_DateTime___add____SWIG_1(self
,args
); 
20382     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'"); 
20387 static PyObject 
*_wrap_DateTime___sub____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20388     PyObject 
*resultobj
; 
20389     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20390     wxDateTime 
*arg2 
= 0 ; 
20392     PyObject 
* obj0 
= 0 ; 
20393     PyObject 
* obj1 
= 0 ; 
20395     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20396     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20398     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20399     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20401     if (arg2 
== NULL
) { 
20402         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20406         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20407         result 
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime 
const &)*arg2
); 
20409         wxPyEndAllowThreads(__tstate
); 
20410         if (PyErr_Occurred()) SWIG_fail
; 
20413         wxTimeSpan 
* resultptr
; 
20414         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
20415         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
20423 static PyObject 
*_wrap_DateTime___sub____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20424     PyObject 
*resultobj
; 
20425     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20426     wxTimeSpan 
*arg2 
= 0 ; 
20428     PyObject 
* obj0 
= 0 ; 
20429     PyObject 
* obj1 
= 0 ; 
20431     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20432     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20433     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20434     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20437     if (arg2 
== NULL
) { 
20438         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20442         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20443         result 
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan 
const &)*arg2
); 
20445         wxPyEndAllowThreads(__tstate
); 
20446         if (PyErr_Occurred()) SWIG_fail
; 
20449         wxDateTime 
* resultptr
; 
20450         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20451         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20459 static PyObject 
*_wrap_DateTime___sub____SWIG_2(PyObject 
*self
, PyObject 
*args
) { 
20460     PyObject 
*resultobj
; 
20461     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20462     wxDateSpan 
*arg2 
= 0 ; 
20464     PyObject 
* obj0 
= 0 ; 
20465     PyObject 
* obj1 
= 0 ; 
20467     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20468     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20469     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20470     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20471     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20473     if (arg2 
== NULL
) { 
20474         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20479         result 
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan 
const &)*arg2
); 
20481         wxPyEndAllowThreads(__tstate
); 
20482         if (PyErr_Occurred()) SWIG_fail
; 
20485         wxDateTime 
* resultptr
; 
20486         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20487         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20495 static PyObject 
*_wrap_DateTime___sub__(PyObject 
*self
, PyObject 
*args
) { 
20500     argc 
= PyObject_Length(args
); 
20501     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20502         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20508             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20518                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20526                 return _wrap_DateTime___sub____SWIG_0(self
,args
); 
20534             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20544                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20552                 return _wrap_DateTime___sub____SWIG_1(self
,args
); 
20560             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20570                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20578                 return _wrap_DateTime___sub____SWIG_2(self
,args
); 
20583     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'"); 
20588 static PyObject 
*_wrap_DateTime___lt__(PyObject 
*self
, PyObject 
*args
) { 
20589     PyObject 
*resultobj
; 
20590     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20591     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20593     PyObject 
* obj0 
= 0 ; 
20594     PyObject 
* obj1 
= 0 ; 
20596     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
; 
20597     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20598     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20599     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20603         result 
= (bool)wxDateTime___lt__(arg1
,(wxDateTime 
const *)arg2
); 
20605         wxPyEndAllowThreads(__tstate
); 
20606         if (PyErr_Occurred()) SWIG_fail
; 
20609         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20617 static PyObject 
*_wrap_DateTime___le__(PyObject 
*self
, PyObject 
*args
) { 
20618     PyObject 
*resultobj
; 
20619     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20620     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20622     PyObject 
* obj0 
= 0 ; 
20623     PyObject 
* obj1 
= 0 ; 
20625     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
; 
20626     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20628     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20632         result 
= (bool)wxDateTime___le__(arg1
,(wxDateTime 
const *)arg2
); 
20634         wxPyEndAllowThreads(__tstate
); 
20635         if (PyErr_Occurred()) SWIG_fail
; 
20638         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20646 static PyObject 
*_wrap_DateTime___gt__(PyObject 
*self
, PyObject 
*args
) { 
20647     PyObject 
*resultobj
; 
20648     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20649     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20651     PyObject 
* obj0 
= 0 ; 
20652     PyObject 
* obj1 
= 0 ; 
20654     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
; 
20655     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20656     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20657     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20658     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20661         result 
= (bool)wxDateTime___gt__(arg1
,(wxDateTime 
const *)arg2
); 
20663         wxPyEndAllowThreads(__tstate
); 
20664         if (PyErr_Occurred()) SWIG_fail
; 
20667         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20675 static PyObject 
*_wrap_DateTime___ge__(PyObject 
*self
, PyObject 
*args
) { 
20676     PyObject 
*resultobj
; 
20677     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20678     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20680     PyObject 
* obj0 
= 0 ; 
20681     PyObject 
* obj1 
= 0 ; 
20683     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
; 
20684     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20685     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20686     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20687     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20690         result 
= (bool)wxDateTime___ge__(arg1
,(wxDateTime 
const *)arg2
); 
20692         wxPyEndAllowThreads(__tstate
); 
20693         if (PyErr_Occurred()) SWIG_fail
; 
20696         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20704 static PyObject 
*_wrap_DateTime___eq__(PyObject 
*self
, PyObject 
*args
) { 
20705     PyObject 
*resultobj
; 
20706     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20707     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20709     PyObject 
* obj0 
= 0 ; 
20710     PyObject 
* obj1 
= 0 ; 
20712     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
; 
20713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20715     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20716     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20719         result 
= (bool)wxDateTime___eq__(arg1
,(wxDateTime 
const *)arg2
); 
20721         wxPyEndAllowThreads(__tstate
); 
20722         if (PyErr_Occurred()) SWIG_fail
; 
20725         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20733 static PyObject 
*_wrap_DateTime___ne__(PyObject 
*self
, PyObject 
*args
) { 
20734     PyObject 
*resultobj
; 
20735     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20736     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20738     PyObject 
* obj0 
= 0 ; 
20739     PyObject 
* obj1 
= 0 ; 
20741     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
; 
20742     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20743     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20744     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20745     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20748         result 
= (bool)wxDateTime___ne__(arg1
,(wxDateTime 
const *)arg2
); 
20750         wxPyEndAllowThreads(__tstate
); 
20751         if (PyErr_Occurred()) SWIG_fail
; 
20754         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20762 static PyObject 
*_wrap_DateTime_ParseRfc822Date(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20763     PyObject 
*resultobj
; 
20764     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20765     wxString 
*arg2 
= 0 ; 
20767     bool temp2 
= False 
; 
20768     PyObject 
* obj0 
= 0 ; 
20769     PyObject 
* obj1 
= 0 ; 
20770     char *kwnames
[] = { 
20771         (char *) "self",(char *) "date", NULL 
 
20774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
; 
20775     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20776     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20778         arg2 
= wxString_in_helper(obj1
); 
20779         if (arg2 
== NULL
) SWIG_fail
; 
20783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20784         result 
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString 
const &)*arg2
); 
20786         wxPyEndAllowThreads(__tstate
); 
20787         if (PyErr_Occurred()) SWIG_fail
; 
20789     resultobj 
= SWIG_FromInt((int)result
); 
20804 static PyObject 
*_wrap_DateTime_ParseFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20805     PyObject 
*resultobj
; 
20806     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20807     wxString 
*arg2 
= 0 ; 
20808     wxString 
const &arg3_defvalue 
= wxPyDateFormatStr 
; 
20809     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20810     wxDateTime 
const &arg4_defvalue 
= wxDefaultDateTime 
; 
20811     wxDateTime 
*arg4 
= (wxDateTime 
*) &arg4_defvalue 
; 
20813     bool temp2 
= False 
; 
20814     bool temp3 
= False 
; 
20815     PyObject 
* obj0 
= 0 ; 
20816     PyObject 
* obj1 
= 0 ; 
20817     PyObject 
* obj2 
= 0 ; 
20818     PyObject 
* obj3 
= 0 ; 
20819     char *kwnames
[] = { 
20820         (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL 
 
20823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20824     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20825     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20827         arg2 
= wxString_in_helper(obj1
); 
20828         if (arg2 
== NULL
) SWIG_fail
; 
20833             arg3 
= wxString_in_helper(obj2
); 
20834             if (arg3 
== NULL
) SWIG_fail
; 
20839         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
, 
20840         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20842         if (arg4 
== NULL
) { 
20843             PyErr_SetString(PyExc_TypeError
,"null reference"); 
20848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20849         result 
= (int)wxDateTime_ParseFormat(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxDateTime 
const &)*arg4
); 
20851         wxPyEndAllowThreads(__tstate
); 
20852         if (PyErr_Occurred()) SWIG_fail
; 
20854     resultobj 
= SWIG_FromInt((int)result
); 
20877 static PyObject 
*_wrap_DateTime_ParseDateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20878     PyObject 
*resultobj
; 
20879     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20880     wxString 
*arg2 
= 0 ; 
20882     bool temp2 
= False 
; 
20883     PyObject 
* obj0 
= 0 ; 
20884     PyObject 
* obj1 
= 0 ; 
20885     char *kwnames
[] = { 
20886         (char *) "self",(char *) "datetime", NULL 
 
20889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
20890     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20891     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20893         arg2 
= wxString_in_helper(obj1
); 
20894         if (arg2 
== NULL
) SWIG_fail
; 
20898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20899         result 
= (int)wxDateTime_ParseDateTime(arg1
,(wxString 
const &)*arg2
); 
20901         wxPyEndAllowThreads(__tstate
); 
20902         if (PyErr_Occurred()) SWIG_fail
; 
20904     resultobj 
= SWIG_FromInt((int)result
); 
20919 static PyObject 
*_wrap_DateTime_ParseDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20920     PyObject 
*resultobj
; 
20921     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20922     wxString 
*arg2 
= 0 ; 
20924     bool temp2 
= False 
; 
20925     PyObject 
* obj0 
= 0 ; 
20926     PyObject 
* obj1 
= 0 ; 
20927     char *kwnames
[] = { 
20928         (char *) "self",(char *) "date", NULL 
 
20931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
20932     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20933     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20935         arg2 
= wxString_in_helper(obj1
); 
20936         if (arg2 
== NULL
) SWIG_fail
; 
20940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20941         result 
= (int)wxDateTime_ParseDate(arg1
,(wxString 
const &)*arg2
); 
20943         wxPyEndAllowThreads(__tstate
); 
20944         if (PyErr_Occurred()) SWIG_fail
; 
20946     resultobj 
= SWIG_FromInt((int)result
); 
20961 static PyObject 
*_wrap_DateTime_ParseTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20962     PyObject 
*resultobj
; 
20963     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20964     wxString 
*arg2 
= 0 ; 
20966     bool temp2 
= False 
; 
20967     PyObject 
* obj0 
= 0 ; 
20968     PyObject 
* obj1 
= 0 ; 
20969     char *kwnames
[] = { 
20970         (char *) "self",(char *) "time", NULL 
 
20973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
20974     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20977         arg2 
= wxString_in_helper(obj1
); 
20978         if (arg2 
== NULL
) SWIG_fail
; 
20982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20983         result 
= (int)wxDateTime_ParseTime(arg1
,(wxString 
const &)*arg2
); 
20985         wxPyEndAllowThreads(__tstate
); 
20986         if (PyErr_Occurred()) SWIG_fail
; 
20988     resultobj 
= SWIG_FromInt((int)result
); 
21003 static PyObject 
*_wrap_DateTime_Format(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21004     PyObject 
*resultobj
; 
21005     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21006     wxString 
const &arg2_defvalue 
= wxPyDateFormatStr 
; 
21007     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
21008     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
21009     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
21011     bool temp2 
= False 
; 
21012     bool temp3 
= False 
; 
21013     PyObject 
* obj0 
= 0 ; 
21014     PyObject 
* obj1 
= 0 ; 
21015     PyObject 
* obj2 
= 0 ; 
21016     char *kwnames
[] = { 
21017         (char *) "self",(char *) "format",(char *) "tz", NULL 
 
21020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21021     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21022     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21025             arg2 
= wxString_in_helper(obj1
); 
21026             if (arg2 
== NULL
) SWIG_fail
; 
21032             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
21037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21038         result 
= ((wxDateTime 
const *)arg1
)->Format((wxString 
const &)*arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
21040         wxPyEndAllowThreads(__tstate
); 
21041         if (PyErr_Occurred()) SWIG_fail
; 
21045         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21047         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21055         if (temp3
) delete arg3
; 
21064         if (temp3
) delete arg3
; 
21070 static PyObject 
*_wrap_DateTime_FormatDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21071     PyObject 
*resultobj
; 
21072     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21074     PyObject 
* obj0 
= 0 ; 
21075     char *kwnames
[] = { 
21076         (char *) "self", NULL 
 
21079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
; 
21080     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21084         result 
= ((wxDateTime 
const *)arg1
)->FormatDate(); 
21086         wxPyEndAllowThreads(__tstate
); 
21087         if (PyErr_Occurred()) SWIG_fail
; 
21091         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21093         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21102 static PyObject 
*_wrap_DateTime_FormatTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21103     PyObject 
*resultobj
; 
21104     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21106     PyObject 
* obj0 
= 0 ; 
21107     char *kwnames
[] = { 
21108         (char *) "self", NULL 
 
21111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
; 
21112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21116         result 
= ((wxDateTime 
const *)arg1
)->FormatTime(); 
21118         wxPyEndAllowThreads(__tstate
); 
21119         if (PyErr_Occurred()) SWIG_fail
; 
21123         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21125         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21134 static PyObject 
*_wrap_DateTime_FormatISODate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21135     PyObject 
*resultobj
; 
21136     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21138     PyObject 
* obj0 
= 0 ; 
21139     char *kwnames
[] = { 
21140         (char *) "self", NULL 
 
21143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
; 
21144     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21145     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21148         result 
= ((wxDateTime 
const *)arg1
)->FormatISODate(); 
21150         wxPyEndAllowThreads(__tstate
); 
21151         if (PyErr_Occurred()) SWIG_fail
; 
21155         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21157         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21166 static PyObject 
*_wrap_DateTime_FormatISOTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21167     PyObject 
*resultobj
; 
21168     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21170     PyObject 
* obj0 
= 0 ; 
21171     char *kwnames
[] = { 
21172         (char *) "self", NULL 
 
21175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
; 
21176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21180         result 
= ((wxDateTime 
const *)arg1
)->FormatISOTime(); 
21182         wxPyEndAllowThreads(__tstate
); 
21183         if (PyErr_Occurred()) SWIG_fail
; 
21187         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21189         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21198 static PyObject 
* DateTime_swigregister(PyObject 
*self
, PyObject 
*args
) { 
21200     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21201     SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
); 
21203     return Py_BuildValue((char *)""); 
21205 static PyObject 
*_wrap_TimeSpan_Seconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21206     PyObject 
*resultobj
; 
21209     PyObject 
* obj0 
= 0 ; 
21210     char *kwnames
[] = { 
21211         (char *) "sec", NULL 
 
21214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
; 
21215     arg1 
= (long) SWIG_AsLong(obj0
);  
21216     if (PyErr_Occurred()) SWIG_fail
; 
21218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21219         result 
= wxTimeSpan::Seconds(arg1
); 
21221         wxPyEndAllowThreads(__tstate
); 
21222         if (PyErr_Occurred()) SWIG_fail
; 
21225         wxTimeSpan 
* resultptr
; 
21226         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21227         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21235 static PyObject 
*_wrap_TimeSpan_Second(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21236     PyObject 
*resultobj
; 
21238     char *kwnames
[] = { 
21242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
; 
21244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21245         result 
= wxTimeSpan::Second(); 
21247         wxPyEndAllowThreads(__tstate
); 
21248         if (PyErr_Occurred()) SWIG_fail
; 
21251         wxTimeSpan 
* resultptr
; 
21252         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21253         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21261 static PyObject 
*_wrap_TimeSpan_Minutes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21262     PyObject 
*resultobj
; 
21265     PyObject 
* obj0 
= 0 ; 
21266     char *kwnames
[] = { 
21267         (char *) "min", NULL 
 
21270     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
; 
21271     arg1 
= (long) SWIG_AsLong(obj0
);  
21272     if (PyErr_Occurred()) SWIG_fail
; 
21274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21275         result 
= wxTimeSpan::Minutes(arg1
); 
21277         wxPyEndAllowThreads(__tstate
); 
21278         if (PyErr_Occurred()) SWIG_fail
; 
21281         wxTimeSpan 
* resultptr
; 
21282         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21283         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21291 static PyObject 
*_wrap_TimeSpan_Minute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21292     PyObject 
*resultobj
; 
21294     char *kwnames
[] = { 
21298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
; 
21300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21301         result 
= wxTimeSpan::Minute(); 
21303         wxPyEndAllowThreads(__tstate
); 
21304         if (PyErr_Occurred()) SWIG_fail
; 
21307         wxTimeSpan 
* resultptr
; 
21308         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21309         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21317 static PyObject 
*_wrap_TimeSpan_Hours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21318     PyObject 
*resultobj
; 
21321     PyObject 
* obj0 
= 0 ; 
21322     char *kwnames
[] = { 
21323         (char *) "hours", NULL 
 
21326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
; 
21327     arg1 
= (long) SWIG_AsLong(obj0
);  
21328     if (PyErr_Occurred()) SWIG_fail
; 
21330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21331         result 
= wxTimeSpan::Hours(arg1
); 
21333         wxPyEndAllowThreads(__tstate
); 
21334         if (PyErr_Occurred()) SWIG_fail
; 
21337         wxTimeSpan 
* resultptr
; 
21338         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21339         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21347 static PyObject 
*_wrap_TimeSpan_Hour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21348     PyObject 
*resultobj
; 
21350     char *kwnames
[] = { 
21354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
; 
21356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21357         result 
= wxTimeSpan::Hour(); 
21359         wxPyEndAllowThreads(__tstate
); 
21360         if (PyErr_Occurred()) SWIG_fail
; 
21363         wxTimeSpan 
* resultptr
; 
21364         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21365         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21373 static PyObject 
*_wrap_TimeSpan_Days(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21374     PyObject 
*resultobj
; 
21377     PyObject 
* obj0 
= 0 ; 
21378     char *kwnames
[] = { 
21379         (char *) "days", NULL 
 
21382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
; 
21383     arg1 
= (long) SWIG_AsLong(obj0
);  
21384     if (PyErr_Occurred()) SWIG_fail
; 
21386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21387         result 
= wxTimeSpan::Days(arg1
); 
21389         wxPyEndAllowThreads(__tstate
); 
21390         if (PyErr_Occurred()) SWIG_fail
; 
21393         wxTimeSpan 
* resultptr
; 
21394         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21395         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21403 static PyObject 
*_wrap_TimeSpan_Day(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21404     PyObject 
*resultobj
; 
21406     char *kwnames
[] = { 
21410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
; 
21412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21413         result 
= wxTimeSpan::Day(); 
21415         wxPyEndAllowThreads(__tstate
); 
21416         if (PyErr_Occurred()) SWIG_fail
; 
21419         wxTimeSpan 
* resultptr
; 
21420         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21421         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21429 static PyObject 
*_wrap_TimeSpan_Weeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21430     PyObject 
*resultobj
; 
21433     PyObject 
* obj0 
= 0 ; 
21434     char *kwnames
[] = { 
21435         (char *) "days", NULL 
 
21438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
21439     arg1 
= (long) SWIG_AsLong(obj0
);  
21440     if (PyErr_Occurred()) SWIG_fail
; 
21442         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21443         result 
= wxTimeSpan::Weeks(arg1
); 
21445         wxPyEndAllowThreads(__tstate
); 
21446         if (PyErr_Occurred()) SWIG_fail
; 
21449         wxTimeSpan 
* resultptr
; 
21450         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21451         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21459 static PyObject 
*_wrap_TimeSpan_Week(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21460     PyObject 
*resultobj
; 
21462     char *kwnames
[] = { 
21466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
; 
21468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21469         result 
= wxTimeSpan::Week(); 
21471         wxPyEndAllowThreads(__tstate
); 
21472         if (PyErr_Occurred()) SWIG_fail
; 
21475         wxTimeSpan 
* resultptr
; 
21476         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21477         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21485 static PyObject 
*_wrap_new_TimeSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21486     PyObject 
*resultobj
; 
21487     long arg1 
= (long) 0 ; 
21488     long arg2 
= (long) 0 ; 
21489     long arg3 
= (long) 0 ; 
21490     long arg4 
= (long) 0 ; 
21491     wxTimeSpan 
*result
; 
21492     PyObject 
* obj0 
= 0 ; 
21493     PyObject 
* obj1 
= 0 ; 
21494     PyObject 
* obj2 
= 0 ; 
21495     PyObject 
* obj3 
= 0 ; 
21496     char *kwnames
[] = { 
21497         (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL 
 
21500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21502         arg1 
= (long) SWIG_AsLong(obj0
);  
21503         if (PyErr_Occurred()) SWIG_fail
; 
21506         arg2 
= (long) SWIG_AsLong(obj1
);  
21507         if (PyErr_Occurred()) SWIG_fail
; 
21510         arg3 
= (long) SWIG_AsLong(obj2
);  
21511         if (PyErr_Occurred()) SWIG_fail
; 
21514         arg4 
= (long) SWIG_AsLong(obj3
);  
21515         if (PyErr_Occurred()) SWIG_fail
; 
21518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21519         result 
= (wxTimeSpan 
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
); 
21521         wxPyEndAllowThreads(__tstate
); 
21522         if (PyErr_Occurred()) SWIG_fail
; 
21524     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1); 
21531 static PyObject 
*_wrap_delete_TimeSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21532     PyObject 
*resultobj
; 
21533     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21534     PyObject 
* obj0 
= 0 ; 
21535     char *kwnames
[] = { 
21536         (char *) "self", NULL 
 
21539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
; 
21540     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21541     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21546         wxPyEndAllowThreads(__tstate
); 
21547         if (PyErr_Occurred()) SWIG_fail
; 
21549     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21556 static PyObject 
*_wrap_TimeSpan_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21557     PyObject 
*resultobj
; 
21558     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21559     wxTimeSpan 
*arg2 
= 0 ; 
21560     wxTimeSpan 
*result
; 
21561     PyObject 
* obj0 
= 0 ; 
21562     PyObject 
* obj1 
= 0 ; 
21563     char *kwnames
[] = { 
21564         (char *) "self",(char *) "diff", NULL 
 
21567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
21568     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21570     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21573     if (arg2 
== NULL
) { 
21574         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21580             wxTimeSpan 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
21581             result 
= (wxTimeSpan 
*) &_result_ref
; 
21584         wxPyEndAllowThreads(__tstate
); 
21585         if (PyErr_Occurred()) SWIG_fail
; 
21587     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21594 static PyObject 
*_wrap_TimeSpan_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21595     PyObject 
*resultobj
; 
21596     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21597     wxTimeSpan 
*arg2 
= 0 ; 
21598     wxTimeSpan 
*result
; 
21599     PyObject 
* obj0 
= 0 ; 
21600     PyObject 
* obj1 
= 0 ; 
21601     char *kwnames
[] = { 
21602         (char *) "self",(char *) "diff", NULL 
 
21605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
21606     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21608     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21609     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21611     if (arg2 
== NULL
) { 
21612         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21618             wxTimeSpan 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
21619             result 
= (wxTimeSpan 
*) &_result_ref
; 
21622         wxPyEndAllowThreads(__tstate
); 
21623         if (PyErr_Occurred()) SWIG_fail
; 
21625     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21632 static PyObject 
*_wrap_TimeSpan_Multiply(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21633     PyObject 
*resultobj
; 
21634     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21636     wxTimeSpan 
*result
; 
21637     PyObject 
* obj0 
= 0 ; 
21638     PyObject 
* obj1 
= 0 ; 
21639     char *kwnames
[] = { 
21640         (char *) "self",(char *) "n", NULL 
 
21643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
21644     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21645     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21646     arg2 
= (int) SWIG_AsInt(obj1
);  
21647     if (PyErr_Occurred()) SWIG_fail
; 
21649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21651             wxTimeSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
21652             result 
= (wxTimeSpan 
*) &_result_ref
; 
21655         wxPyEndAllowThreads(__tstate
); 
21656         if (PyErr_Occurred()) SWIG_fail
; 
21658     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21665 static PyObject 
*_wrap_TimeSpan_Neg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21666     PyObject 
*resultobj
; 
21667     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21668     wxTimeSpan 
*result
; 
21669     PyObject 
* obj0 
= 0 ; 
21670     char *kwnames
[] = { 
21671         (char *) "self", NULL 
 
21674     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
; 
21675     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21676     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21680             wxTimeSpan 
&_result_ref 
= (arg1
)->Neg(); 
21681             result 
= (wxTimeSpan 
*) &_result_ref
; 
21684         wxPyEndAllowThreads(__tstate
); 
21685         if (PyErr_Occurred()) SWIG_fail
; 
21687     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21694 static PyObject 
*_wrap_TimeSpan_Abs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21695     PyObject 
*resultobj
; 
21696     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21698     PyObject 
* obj0 
= 0 ; 
21699     char *kwnames
[] = { 
21700         (char *) "self", NULL 
 
21703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
; 
21704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21708         result 
= ((wxTimeSpan 
const *)arg1
)->Abs(); 
21710         wxPyEndAllowThreads(__tstate
); 
21711         if (PyErr_Occurred()) SWIG_fail
; 
21714         wxTimeSpan 
* resultptr
; 
21715         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21716         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21724 static PyObject 
*_wrap_TimeSpan___iadd__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21725     PyObject 
*resultobj
; 
21726     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21727     wxTimeSpan 
*arg2 
= 0 ; 
21728     wxTimeSpan 
*result
; 
21729     PyObject 
* obj0 
= 0 ; 
21730     PyObject 
* obj1 
= 0 ; 
21731     char *kwnames
[] = { 
21732         (char *) "self",(char *) "diff", NULL 
 
21735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21738     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21739     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21741     if (arg2 
== NULL
) { 
21742         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21748             wxTimeSpan 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
21749             result 
= (wxTimeSpan 
*) &_result_ref
; 
21752         wxPyEndAllowThreads(__tstate
); 
21753         if (PyErr_Occurred()) SWIG_fail
; 
21755     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21762 static PyObject 
*_wrap_TimeSpan___isub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21763     PyObject 
*resultobj
; 
21764     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21765     wxTimeSpan 
*arg2 
= 0 ; 
21766     wxTimeSpan 
*result
; 
21767     PyObject 
* obj0 
= 0 ; 
21768     PyObject 
* obj1 
= 0 ; 
21769     char *kwnames
[] = { 
21770         (char *) "self",(char *) "diff", NULL 
 
21773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21776     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21777     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21779     if (arg2 
== NULL
) { 
21780         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21786             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
21787             result 
= (wxTimeSpan 
*) &_result_ref
; 
21790         wxPyEndAllowThreads(__tstate
); 
21791         if (PyErr_Occurred()) SWIG_fail
; 
21793     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21800 static PyObject 
*_wrap_TimeSpan___imul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21801     PyObject 
*resultobj
; 
21802     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21804     wxTimeSpan 
*result
; 
21805     PyObject 
* obj0 
= 0 ; 
21806     PyObject 
* obj1 
= 0 ; 
21807     char *kwnames
[] = { 
21808         (char *) "self",(char *) "n", NULL 
 
21811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21814     arg2 
= (int) SWIG_AsInt(obj1
);  
21815     if (PyErr_Occurred()) SWIG_fail
; 
21817         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21819             wxTimeSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
21820             result 
= (wxTimeSpan 
*) &_result_ref
; 
21823         wxPyEndAllowThreads(__tstate
); 
21824         if (PyErr_Occurred()) SWIG_fail
; 
21826     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21833 static PyObject 
*_wrap_TimeSpan___neg__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21834     PyObject 
*resultobj
; 
21835     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21836     wxTimeSpan 
*result
; 
21837     PyObject 
* obj0 
= 0 ; 
21838     char *kwnames
[] = { 
21839         (char *) "self", NULL 
 
21842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
; 
21843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21846         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21848             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -(); 
21849             result 
= (wxTimeSpan 
*) &_result_ref
; 
21852         wxPyEndAllowThreads(__tstate
); 
21853         if (PyErr_Occurred()) SWIG_fail
; 
21855     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21862 static PyObject 
*_wrap_TimeSpan___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21863     PyObject 
*resultobj
; 
21864     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21865     wxTimeSpan 
*arg2 
= 0 ; 
21867     PyObject 
* obj0 
= 0 ; 
21868     PyObject 
* obj1 
= 0 ; 
21869     char *kwnames
[] = { 
21870         (char *) "self",(char *) "other", NULL 
 
21873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21874     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21875     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21876     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21877     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21879     if (arg2 
== NULL
) { 
21880         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21885         result 
= wxTimeSpan___add__(arg1
,(wxTimeSpan 
const &)*arg2
); 
21887         wxPyEndAllowThreads(__tstate
); 
21888         if (PyErr_Occurred()) SWIG_fail
; 
21891         wxTimeSpan 
* resultptr
; 
21892         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21893         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21901 static PyObject 
*_wrap_TimeSpan___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21902     PyObject 
*resultobj
; 
21903     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21904     wxTimeSpan 
*arg2 
= 0 ; 
21906     PyObject 
* obj0 
= 0 ; 
21907     PyObject 
* obj1 
= 0 ; 
21908     char *kwnames
[] = { 
21909         (char *) "self",(char *) "other", NULL 
 
21912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21913     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21914     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21915     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21916     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21918     if (arg2 
== NULL
) { 
21919         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21924         result 
= wxTimeSpan___sub__(arg1
,(wxTimeSpan 
const &)*arg2
); 
21926         wxPyEndAllowThreads(__tstate
); 
21927         if (PyErr_Occurred()) SWIG_fail
; 
21930         wxTimeSpan 
* resultptr
; 
21931         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21932         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21940 static PyObject 
*_wrap_TimeSpan___mul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21941     PyObject 
*resultobj
; 
21942     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21945     PyObject 
* obj0 
= 0 ; 
21946     PyObject 
* obj1 
= 0 ; 
21947     char *kwnames
[] = { 
21948         (char *) "self",(char *) "n", NULL 
 
21951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21952     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21953     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21954     arg2 
= (int) SWIG_AsInt(obj1
);  
21955     if (PyErr_Occurred()) SWIG_fail
; 
21957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21958         result 
= wxTimeSpan___mul__(arg1
,arg2
); 
21960         wxPyEndAllowThreads(__tstate
); 
21961         if (PyErr_Occurred()) SWIG_fail
; 
21964         wxTimeSpan 
* resultptr
; 
21965         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21966         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21974 static PyObject 
*_wrap_TimeSpan___rmul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21975     PyObject 
*resultobj
; 
21976     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21979     PyObject 
* obj0 
= 0 ; 
21980     PyObject 
* obj1 
= 0 ; 
21981     char *kwnames
[] = { 
21982         (char *) "self",(char *) "n", NULL 
 
21985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21986     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21987     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21988     arg2 
= (int) SWIG_AsInt(obj1
);  
21989     if (PyErr_Occurred()) SWIG_fail
; 
21991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21992         result 
= wxTimeSpan___rmul__(arg1
,arg2
); 
21994         wxPyEndAllowThreads(__tstate
); 
21995         if (PyErr_Occurred()) SWIG_fail
; 
21998         wxTimeSpan 
* resultptr
; 
21999         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22000         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22008 static PyObject 
*_wrap_TimeSpan___lt__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22009     PyObject 
*resultobj
; 
22010     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22011     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22013     PyObject 
* obj0 
= 0 ; 
22014     PyObject 
* obj1 
= 0 ; 
22015     char *kwnames
[] = { 
22016         (char *) "self",(char *) "other", NULL 
 
22019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22020     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22021     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22022     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22023     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22026         result 
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22028         wxPyEndAllowThreads(__tstate
); 
22029         if (PyErr_Occurred()) SWIG_fail
; 
22032         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22040 static PyObject 
*_wrap_TimeSpan___le__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22041     PyObject 
*resultobj
; 
22042     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22043     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22045     PyObject 
* obj0 
= 0 ; 
22046     PyObject 
* obj1 
= 0 ; 
22047     char *kwnames
[] = { 
22048         (char *) "self",(char *) "other", NULL 
 
22051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22052     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22053     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22054     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22055     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22057         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22058         result 
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan 
const *)arg2
); 
22060         wxPyEndAllowThreads(__tstate
); 
22061         if (PyErr_Occurred()) SWIG_fail
; 
22064         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22072 static PyObject 
*_wrap_TimeSpan___gt__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22073     PyObject 
*resultobj
; 
22074     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22075     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22077     PyObject 
* obj0 
= 0 ; 
22078     PyObject 
* obj1 
= 0 ; 
22079     char *kwnames
[] = { 
22080         (char *) "self",(char *) "other", NULL 
 
22083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22084     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22085     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22086     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22090         result 
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22092         wxPyEndAllowThreads(__tstate
); 
22093         if (PyErr_Occurred()) SWIG_fail
; 
22096         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22104 static PyObject 
*_wrap_TimeSpan___ge__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22105     PyObject 
*resultobj
; 
22106     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22107     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22109     PyObject 
* obj0 
= 0 ; 
22110     PyObject 
* obj1 
= 0 ; 
22111     char *kwnames
[] = { 
22112         (char *) "self",(char *) "other", NULL 
 
22115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22116     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22117     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22118     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22119     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22122         result 
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan 
const *)arg2
); 
22124         wxPyEndAllowThreads(__tstate
); 
22125         if (PyErr_Occurred()) SWIG_fail
; 
22128         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22136 static PyObject 
*_wrap_TimeSpan___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22137     PyObject 
*resultobj
; 
22138     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22139     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22141     PyObject 
* obj0 
= 0 ; 
22142     PyObject 
* obj1 
= 0 ; 
22143     char *kwnames
[] = { 
22144         (char *) "self",(char *) "other", NULL 
 
22147     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22148     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22149     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22150     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22154         result 
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan 
const *)arg2
); 
22156         wxPyEndAllowThreads(__tstate
); 
22157         if (PyErr_Occurred()) SWIG_fail
; 
22160         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22168 static PyObject 
*_wrap_TimeSpan___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22169     PyObject 
*resultobj
; 
22170     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22171     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22173     PyObject 
* obj0 
= 0 ; 
22174     PyObject 
* obj1 
= 0 ; 
22175     char *kwnames
[] = { 
22176         (char *) "self",(char *) "other", NULL 
 
22179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22182     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22183     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22186         result 
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan 
const *)arg2
); 
22188         wxPyEndAllowThreads(__tstate
); 
22189         if (PyErr_Occurred()) SWIG_fail
; 
22192         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22200 static PyObject 
*_wrap_TimeSpan_IsNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22201     PyObject 
*resultobj
; 
22202     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22204     PyObject 
* obj0 
= 0 ; 
22205     char *kwnames
[] = { 
22206         (char *) "self", NULL 
 
22209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
; 
22210     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22214         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNull(); 
22216         wxPyEndAllowThreads(__tstate
); 
22217         if (PyErr_Occurred()) SWIG_fail
; 
22220         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22228 static PyObject 
*_wrap_TimeSpan_IsPositive(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22229     PyObject 
*resultobj
; 
22230     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22232     PyObject 
* obj0 
= 0 ; 
22233     char *kwnames
[] = { 
22234         (char *) "self", NULL 
 
22237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
; 
22238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22242         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsPositive(); 
22244         wxPyEndAllowThreads(__tstate
); 
22245         if (PyErr_Occurred()) SWIG_fail
; 
22248         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22256 static PyObject 
*_wrap_TimeSpan_IsNegative(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22257     PyObject 
*resultobj
; 
22258     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22260     PyObject 
* obj0 
= 0 ; 
22261     char *kwnames
[] = { 
22262         (char *) "self", NULL 
 
22265     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
; 
22266     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22267     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22270         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNegative(); 
22272         wxPyEndAllowThreads(__tstate
); 
22273         if (PyErr_Occurred()) SWIG_fail
; 
22276         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22284 static PyObject 
*_wrap_TimeSpan_IsEqualTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22285     PyObject 
*resultobj
; 
22286     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22287     wxTimeSpan 
*arg2 
= 0 ; 
22289     PyObject 
* obj0 
= 0 ; 
22290     PyObject 
* obj1 
= 0 ; 
22291     char *kwnames
[] = { 
22292         (char *) "self",(char *) "ts", NULL 
 
22295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
22296     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22298     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22299     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22301     if (arg2 
== NULL
) { 
22302         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22307         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsEqualTo((wxTimeSpan 
const &)*arg2
); 
22309         wxPyEndAllowThreads(__tstate
); 
22310         if (PyErr_Occurred()) SWIG_fail
; 
22313         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22321 static PyObject 
*_wrap_TimeSpan_IsLongerThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22322     PyObject 
*resultobj
; 
22323     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22324     wxTimeSpan 
*arg2 
= 0 ; 
22326     PyObject 
* obj0 
= 0 ; 
22327     PyObject 
* obj1 
= 0 ; 
22328     char *kwnames
[] = { 
22329         (char *) "self",(char *) "ts", NULL 
 
22332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22335     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22336     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22338     if (arg2 
== NULL
) { 
22339         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22344         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsLongerThan((wxTimeSpan 
const &)*arg2
); 
22346         wxPyEndAllowThreads(__tstate
); 
22347         if (PyErr_Occurred()) SWIG_fail
; 
22350         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22358 static PyObject 
*_wrap_TimeSpan_IsShorterThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22359     PyObject 
*resultobj
; 
22360     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22361     wxTimeSpan 
*arg2 
= 0 ; 
22363     PyObject 
* obj0 
= 0 ; 
22364     PyObject 
* obj1 
= 0 ; 
22365     char *kwnames
[] = { 
22366         (char *) "self",(char *) "t", NULL 
 
22369     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22370     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22371     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22372     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22373     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22375     if (arg2 
== NULL
) { 
22376         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22381         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsShorterThan((wxTimeSpan 
const &)*arg2
); 
22383         wxPyEndAllowThreads(__tstate
); 
22384         if (PyErr_Occurred()) SWIG_fail
; 
22387         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22395 static PyObject 
*_wrap_TimeSpan_GetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22396     PyObject 
*resultobj
; 
22397     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22399     PyObject 
* obj0 
= 0 ; 
22400     char *kwnames
[] = { 
22401         (char *) "self", NULL 
 
22404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
22405     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22409         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetWeeks(); 
22411         wxPyEndAllowThreads(__tstate
); 
22412         if (PyErr_Occurred()) SWIG_fail
; 
22414     resultobj 
= SWIG_FromInt((int)result
); 
22421 static PyObject 
*_wrap_TimeSpan_GetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22422     PyObject 
*resultobj
; 
22423     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22425     PyObject 
* obj0 
= 0 ; 
22426     char *kwnames
[] = { 
22427         (char *) "self", NULL 
 
22430     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
22431     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22432     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22435         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetDays(); 
22437         wxPyEndAllowThreads(__tstate
); 
22438         if (PyErr_Occurred()) SWIG_fail
; 
22440     resultobj 
= SWIG_FromInt((int)result
); 
22447 static PyObject 
*_wrap_TimeSpan_GetHours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22448     PyObject 
*resultobj
; 
22449     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22451     PyObject 
* obj0 
= 0 ; 
22452     char *kwnames
[] = { 
22453         (char *) "self", NULL 
 
22456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
; 
22457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22461         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetHours(); 
22463         wxPyEndAllowThreads(__tstate
); 
22464         if (PyErr_Occurred()) SWIG_fail
; 
22466     resultobj 
= SWIG_FromInt((int)result
); 
22473 static PyObject 
*_wrap_TimeSpan_GetMinutes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22474     PyObject 
*resultobj
; 
22475     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22477     PyObject 
* obj0 
= 0 ; 
22478     char *kwnames
[] = { 
22479         (char *) "self", NULL 
 
22482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
; 
22483     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22484     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22487         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetMinutes(); 
22489         wxPyEndAllowThreads(__tstate
); 
22490         if (PyErr_Occurred()) SWIG_fail
; 
22492     resultobj 
= SWIG_FromInt((int)result
); 
22499 static PyObject 
*_wrap_TimeSpan_GetSeconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22500     PyObject 
*resultobj
; 
22501     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22503     PyObject 
* obj0 
= 0 ; 
22504     char *kwnames
[] = { 
22505         (char *) "self", NULL 
 
22508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
; 
22509     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22513         result 
= ((wxTimeSpan 
const *)arg1
)->GetSeconds(); 
22515         wxPyEndAllowThreads(__tstate
); 
22516         if (PyErr_Occurred()) SWIG_fail
; 
22519         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
22520         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
22521         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
22522         shifter 
= PyLong_FromLong(32); 
22523         shifted 
= PyNumber_Lshift(hi
, shifter
); 
22524         resultobj 
= PyNumber_Or(shifted
, lo
); 
22527         Py_DECREF(shifter
); 
22528         Py_DECREF(shifted
); 
22536 static PyObject 
*_wrap_TimeSpan_GetMilliseconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22537     PyObject 
*resultobj
; 
22538     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22540     PyObject 
* obj0 
= 0 ; 
22541     char *kwnames
[] = { 
22542         (char *) "self", NULL 
 
22545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
; 
22546     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22547     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22550         result 
= ((wxTimeSpan 
const *)arg1
)->GetMilliseconds(); 
22552         wxPyEndAllowThreads(__tstate
); 
22553         if (PyErr_Occurred()) SWIG_fail
; 
22556         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
22557         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
22558         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
22559         shifter 
= PyLong_FromLong(32); 
22560         shifted 
= PyNumber_Lshift(hi
, shifter
); 
22561         resultobj 
= PyNumber_Or(shifted
, lo
); 
22564         Py_DECREF(shifter
); 
22565         Py_DECREF(shifted
); 
22573 static PyObject 
*_wrap_TimeSpan_Format(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22574     PyObject 
*resultobj
; 
22575     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22576     wxString 
const &arg2_defvalue 
= wxPyTimeSpanFormatStr 
; 
22577     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
22579     bool temp2 
= False 
; 
22580     PyObject 
* obj0 
= 0 ; 
22581     PyObject 
* obj1 
= 0 ; 
22582     char *kwnames
[] = { 
22583         (char *) "self",(char *) "format", NULL 
 
22586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
; 
22587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22591             arg2 
= wxString_in_helper(obj1
); 
22592             if (arg2 
== NULL
) SWIG_fail
; 
22597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22598         result 
= ((wxTimeSpan 
const *)arg1
)->Format((wxString 
const &)*arg2
); 
22600         wxPyEndAllowThreads(__tstate
); 
22601         if (PyErr_Occurred()) SWIG_fail
; 
22605         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
22607         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
22624 static PyObject 
* TimeSpan_swigregister(PyObject 
*self
, PyObject 
*args
) { 
22626     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22627     SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
); 
22629     return Py_BuildValue((char *)""); 
22631 static PyObject 
*_wrap_new_DateSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22632     PyObject 
*resultobj
; 
22633     int arg1 
= (int) 0 ; 
22634     int arg2 
= (int) 0 ; 
22635     int arg3 
= (int) 0 ; 
22636     int arg4 
= (int) 0 ; 
22637     wxDateSpan 
*result
; 
22638     PyObject 
* obj0 
= 0 ; 
22639     PyObject 
* obj1 
= 0 ; 
22640     PyObject 
* obj2 
= 0 ; 
22641     PyObject 
* obj3 
= 0 ; 
22642     char *kwnames
[] = { 
22643         (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL 
 
22646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22648         arg1 
= (int) SWIG_AsInt(obj0
);  
22649         if (PyErr_Occurred()) SWIG_fail
; 
22652         arg2 
= (int) SWIG_AsInt(obj1
);  
22653         if (PyErr_Occurred()) SWIG_fail
; 
22656         arg3 
= (int) SWIG_AsInt(obj2
);  
22657         if (PyErr_Occurred()) SWIG_fail
; 
22660         arg4 
= (int) SWIG_AsInt(obj3
);  
22661         if (PyErr_Occurred()) SWIG_fail
; 
22664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22665         result 
= (wxDateSpan 
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
); 
22667         wxPyEndAllowThreads(__tstate
); 
22668         if (PyErr_Occurred()) SWIG_fail
; 
22670     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1); 
22677 static PyObject 
*_wrap_delete_DateSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22678     PyObject 
*resultobj
; 
22679     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22680     PyObject 
* obj0 
= 0 ; 
22681     char *kwnames
[] = { 
22682         (char *) "self", NULL 
 
22685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
; 
22686     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
22687     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22692         wxPyEndAllowThreads(__tstate
); 
22693         if (PyErr_Occurred()) SWIG_fail
; 
22695     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22702 static PyObject 
*_wrap_DateSpan_Days(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22703     PyObject 
*resultobj
; 
22706     PyObject 
* obj0 
= 0 ; 
22707     char *kwnames
[] = { 
22708         (char *) "days", NULL 
 
22711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
; 
22712     arg1 
= (int) SWIG_AsInt(obj0
);  
22713     if (PyErr_Occurred()) SWIG_fail
; 
22715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22716         result 
= wxDateSpan::Days(arg1
); 
22718         wxPyEndAllowThreads(__tstate
); 
22719         if (PyErr_Occurred()) SWIG_fail
; 
22722         wxDateSpan 
* resultptr
; 
22723         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22724         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22732 static PyObject 
*_wrap_DateSpan_Day(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22733     PyObject 
*resultobj
; 
22735     char *kwnames
[] = { 
22739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
; 
22741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22742         result 
= wxDateSpan::Day(); 
22744         wxPyEndAllowThreads(__tstate
); 
22745         if (PyErr_Occurred()) SWIG_fail
; 
22748         wxDateSpan 
* resultptr
; 
22749         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22750         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22758 static PyObject 
*_wrap_DateSpan_Weeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22759     PyObject 
*resultobj
; 
22762     PyObject 
* obj0 
= 0 ; 
22763     char *kwnames
[] = { 
22764         (char *) "weeks", NULL 
 
22767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
22768     arg1 
= (int) SWIG_AsInt(obj0
);  
22769     if (PyErr_Occurred()) SWIG_fail
; 
22771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22772         result 
= wxDateSpan::Weeks(arg1
); 
22774         wxPyEndAllowThreads(__tstate
); 
22775         if (PyErr_Occurred()) SWIG_fail
; 
22778         wxDateSpan 
* resultptr
; 
22779         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22780         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22788 static PyObject 
*_wrap_DateSpan_Week(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22789     PyObject 
*resultobj
; 
22791     char *kwnames
[] = { 
22795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
; 
22797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22798         result 
= wxDateSpan::Week(); 
22800         wxPyEndAllowThreads(__tstate
); 
22801         if (PyErr_Occurred()) SWIG_fail
; 
22804         wxDateSpan 
* resultptr
; 
22805         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22806         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22814 static PyObject 
*_wrap_DateSpan_Months(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22815     PyObject 
*resultobj
; 
22818     PyObject 
* obj0 
= 0 ; 
22819     char *kwnames
[] = { 
22820         (char *) "mon", NULL 
 
22823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
; 
22824     arg1 
= (int) SWIG_AsInt(obj0
);  
22825     if (PyErr_Occurred()) SWIG_fail
; 
22827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22828         result 
= wxDateSpan::Months(arg1
); 
22830         wxPyEndAllowThreads(__tstate
); 
22831         if (PyErr_Occurred()) SWIG_fail
; 
22834         wxDateSpan 
* resultptr
; 
22835         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22836         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22844 static PyObject 
*_wrap_DateSpan_Month(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22845     PyObject 
*resultobj
; 
22847     char *kwnames
[] = { 
22851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
; 
22853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22854         result 
= wxDateSpan::Month(); 
22856         wxPyEndAllowThreads(__tstate
); 
22857         if (PyErr_Occurred()) SWIG_fail
; 
22860         wxDateSpan 
* resultptr
; 
22861         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22862         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22870 static PyObject 
*_wrap_DateSpan_Years(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22871     PyObject 
*resultobj
; 
22874     PyObject 
* obj0 
= 0 ; 
22875     char *kwnames
[] = { 
22876         (char *) "years", NULL 
 
22879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
; 
22880     arg1 
= (int) SWIG_AsInt(obj0
);  
22881     if (PyErr_Occurred()) SWIG_fail
; 
22883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22884         result 
= wxDateSpan::Years(arg1
); 
22886         wxPyEndAllowThreads(__tstate
); 
22887         if (PyErr_Occurred()) SWIG_fail
; 
22890         wxDateSpan 
* resultptr
; 
22891         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22892         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22900 static PyObject 
*_wrap_DateSpan_Year(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22901     PyObject 
*resultobj
; 
22903     char *kwnames
[] = { 
22907     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
; 
22909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22910         result 
= wxDateSpan::Year(); 
22912         wxPyEndAllowThreads(__tstate
); 
22913         if (PyErr_Occurred()) SWIG_fail
; 
22916         wxDateSpan 
* resultptr
; 
22917         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22918         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22926 static PyObject 
*_wrap_DateSpan_SetYears(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22927     PyObject 
*resultobj
; 
22928     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22930     wxDateSpan 
*result
; 
22931     PyObject 
* obj0 
= 0 ; 
22932     PyObject 
* obj1 
= 0 ; 
22933     char *kwnames
[] = { 
22934         (char *) "self",(char *) "n", NULL 
 
22937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
; 
22938     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
22939     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22940     arg2 
= (int) SWIG_AsInt(obj1
);  
22941     if (PyErr_Occurred()) SWIG_fail
; 
22943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22945             wxDateSpan 
&_result_ref 
= (arg1
)->SetYears(arg2
); 
22946             result 
= (wxDateSpan 
*) &_result_ref
; 
22949         wxPyEndAllowThreads(__tstate
); 
22950         if (PyErr_Occurred()) SWIG_fail
; 
22952     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
22959 static PyObject 
*_wrap_DateSpan_SetMonths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22960     PyObject 
*resultobj
; 
22961     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22963     wxDateSpan 
*result
; 
22964     PyObject 
* obj0 
= 0 ; 
22965     PyObject 
* obj1 
= 0 ; 
22966     char *kwnames
[] = { 
22967         (char *) "self",(char *) "n", NULL 
 
22970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
; 
22971     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
22972     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22973     arg2 
= (int) SWIG_AsInt(obj1
);  
22974     if (PyErr_Occurred()) SWIG_fail
; 
22976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22978             wxDateSpan 
&_result_ref 
= (arg1
)->SetMonths(arg2
); 
22979             result 
= (wxDateSpan 
*) &_result_ref
; 
22982         wxPyEndAllowThreads(__tstate
); 
22983         if (PyErr_Occurred()) SWIG_fail
; 
22985     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
22992 static PyObject 
*_wrap_DateSpan_SetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22993     PyObject 
*resultobj
; 
22994     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22996     wxDateSpan 
*result
; 
22997     PyObject 
* obj0 
= 0 ; 
22998     PyObject 
* obj1 
= 0 ; 
22999     char *kwnames
[] = { 
23000         (char *) "self",(char *) "n", NULL 
 
23003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
; 
23004     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23005     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23006     arg2 
= (int) SWIG_AsInt(obj1
);  
23007     if (PyErr_Occurred()) SWIG_fail
; 
23009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23011             wxDateSpan 
&_result_ref 
= (arg1
)->SetWeeks(arg2
); 
23012             result 
= (wxDateSpan 
*) &_result_ref
; 
23015         wxPyEndAllowThreads(__tstate
); 
23016         if (PyErr_Occurred()) SWIG_fail
; 
23018     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23025 static PyObject 
*_wrap_DateSpan_SetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23026     PyObject 
*resultobj
; 
23027     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23029     wxDateSpan 
*result
; 
23030     PyObject 
* obj0 
= 0 ; 
23031     PyObject 
* obj1 
= 0 ; 
23032     char *kwnames
[] = { 
23033         (char *) "self",(char *) "n", NULL 
 
23036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
; 
23037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23039     arg2 
= (int) SWIG_AsInt(obj1
);  
23040     if (PyErr_Occurred()) SWIG_fail
; 
23042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23044             wxDateSpan 
&_result_ref 
= (arg1
)->SetDays(arg2
); 
23045             result 
= (wxDateSpan 
*) &_result_ref
; 
23048         wxPyEndAllowThreads(__tstate
); 
23049         if (PyErr_Occurred()) SWIG_fail
; 
23051     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23058 static PyObject 
*_wrap_DateSpan_GetYears(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23059     PyObject 
*resultobj
; 
23060     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23062     PyObject 
* obj0 
= 0 ; 
23063     char *kwnames
[] = { 
23064         (char *) "self", NULL 
 
23067     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
; 
23068     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23069     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23072         result 
= (int)((wxDateSpan 
const *)arg1
)->GetYears(); 
23074         wxPyEndAllowThreads(__tstate
); 
23075         if (PyErr_Occurred()) SWIG_fail
; 
23077     resultobj 
= SWIG_FromInt((int)result
); 
23084 static PyObject 
*_wrap_DateSpan_GetMonths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23085     PyObject 
*resultobj
; 
23086     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23088     PyObject 
* obj0 
= 0 ; 
23089     char *kwnames
[] = { 
23090         (char *) "self", NULL 
 
23093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
; 
23094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23098         result 
= (int)((wxDateSpan 
const *)arg1
)->GetMonths(); 
23100         wxPyEndAllowThreads(__tstate
); 
23101         if (PyErr_Occurred()) SWIG_fail
; 
23103     resultobj 
= SWIG_FromInt((int)result
); 
23110 static PyObject 
*_wrap_DateSpan_GetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23111     PyObject 
*resultobj
; 
23112     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23114     PyObject 
* obj0 
= 0 ; 
23115     char *kwnames
[] = { 
23116         (char *) "self", NULL 
 
23119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
23120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23123         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23124         result 
= (int)((wxDateSpan 
const *)arg1
)->GetWeeks(); 
23126         wxPyEndAllowThreads(__tstate
); 
23127         if (PyErr_Occurred()) SWIG_fail
; 
23129     resultobj 
= SWIG_FromInt((int)result
); 
23136 static PyObject 
*_wrap_DateSpan_GetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23137     PyObject 
*resultobj
; 
23138     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23140     PyObject 
* obj0 
= 0 ; 
23141     char *kwnames
[] = { 
23142         (char *) "self", NULL 
 
23145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
23146     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23147     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23150         result 
= (int)((wxDateSpan 
const *)arg1
)->GetDays(); 
23152         wxPyEndAllowThreads(__tstate
); 
23153         if (PyErr_Occurred()) SWIG_fail
; 
23155     resultobj 
= SWIG_FromInt((int)result
); 
23162 static PyObject 
*_wrap_DateSpan_GetTotalDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23163     PyObject 
*resultobj
; 
23164     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23166     PyObject 
* obj0 
= 0 ; 
23167     char *kwnames
[] = { 
23168         (char *) "self", NULL 
 
23171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
; 
23172     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23173     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23176         result 
= (int)((wxDateSpan 
const *)arg1
)->GetTotalDays(); 
23178         wxPyEndAllowThreads(__tstate
); 
23179         if (PyErr_Occurred()) SWIG_fail
; 
23181     resultobj 
= SWIG_FromInt((int)result
); 
23188 static PyObject 
*_wrap_DateSpan_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23189     PyObject 
*resultobj
; 
23190     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23191     wxDateSpan 
*arg2 
= 0 ; 
23192     wxDateSpan 
*result
; 
23193     PyObject 
* obj0 
= 0 ; 
23194     PyObject 
* obj1 
= 0 ; 
23195     char *kwnames
[] = { 
23196         (char *) "self",(char *) "other", NULL 
 
23199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
23200     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23201     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23202     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23203     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23205     if (arg2 
== NULL
) { 
23206         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23212             wxDateSpan 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
23213             result 
= (wxDateSpan 
*) &_result_ref
; 
23216         wxPyEndAllowThreads(__tstate
); 
23217         if (PyErr_Occurred()) SWIG_fail
; 
23219     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23226 static PyObject 
*_wrap_DateSpan_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23227     PyObject 
*resultobj
; 
23228     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23229     wxDateSpan 
*arg2 
= 0 ; 
23230     wxDateSpan 
*result
; 
23231     PyObject 
* obj0 
= 0 ; 
23232     PyObject 
* obj1 
= 0 ; 
23233     char *kwnames
[] = { 
23234         (char *) "self",(char *) "other", NULL 
 
23237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
23238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23240     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23241     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23243     if (arg2 
== NULL
) { 
23244         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23250             wxDateSpan 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
23251             result 
= (wxDateSpan 
*) &_result_ref
; 
23254         wxPyEndAllowThreads(__tstate
); 
23255         if (PyErr_Occurred()) SWIG_fail
; 
23257     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23264 static PyObject 
*_wrap_DateSpan_Neg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23265     PyObject 
*resultobj
; 
23266     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23267     wxDateSpan 
*result
; 
23268     PyObject 
* obj0 
= 0 ; 
23269     char *kwnames
[] = { 
23270         (char *) "self", NULL 
 
23273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
; 
23274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23279             wxDateSpan 
&_result_ref 
= (arg1
)->Neg(); 
23280             result 
= (wxDateSpan 
*) &_result_ref
; 
23283         wxPyEndAllowThreads(__tstate
); 
23284         if (PyErr_Occurred()) SWIG_fail
; 
23286     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23293 static PyObject 
*_wrap_DateSpan_Multiply(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23294     PyObject 
*resultobj
; 
23295     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23297     wxDateSpan 
*result
; 
23298     PyObject 
* obj0 
= 0 ; 
23299     PyObject 
* obj1 
= 0 ; 
23300     char *kwnames
[] = { 
23301         (char *) "self",(char *) "factor", NULL 
 
23304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
23305     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23306     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23307     arg2 
= (int) SWIG_AsInt(obj1
);  
23308     if (PyErr_Occurred()) SWIG_fail
; 
23310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23312             wxDateSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
23313             result 
= (wxDateSpan 
*) &_result_ref
; 
23316         wxPyEndAllowThreads(__tstate
); 
23317         if (PyErr_Occurred()) SWIG_fail
; 
23319     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23326 static PyObject 
*_wrap_DateSpan___iadd__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23327     PyObject 
*resultobj
; 
23328     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23329     wxDateSpan 
*arg2 
= 0 ; 
23330     wxDateSpan 
*result
; 
23331     PyObject 
* obj0 
= 0 ; 
23332     PyObject 
* obj1 
= 0 ; 
23333     char *kwnames
[] = { 
23334         (char *) "self",(char *) "other", NULL 
 
23337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23338     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23340     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23341     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23343     if (arg2 
== NULL
) { 
23344         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23350             wxDateSpan 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
23351             result 
= (wxDateSpan 
*) &_result_ref
; 
23354         wxPyEndAllowThreads(__tstate
); 
23355         if (PyErr_Occurred()) SWIG_fail
; 
23357     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23364 static PyObject 
*_wrap_DateSpan___isub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23365     PyObject 
*resultobj
; 
23366     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23367     wxDateSpan 
*arg2 
= 0 ; 
23368     wxDateSpan 
*result
; 
23369     PyObject 
* obj0 
= 0 ; 
23370     PyObject 
* obj1 
= 0 ; 
23371     char *kwnames
[] = { 
23372         (char *) "self",(char *) "other", NULL 
 
23375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23376     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23378     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23379     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23381     if (arg2 
== NULL
) { 
23382         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23388             wxDateSpan 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
23389             result 
= (wxDateSpan 
*) &_result_ref
; 
23392         wxPyEndAllowThreads(__tstate
); 
23393         if (PyErr_Occurred()) SWIG_fail
; 
23395     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23402 static PyObject 
*_wrap_DateSpan___neg__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23403     PyObject 
*resultobj
; 
23404     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23405     wxDateSpan 
*result
; 
23406     PyObject 
* obj0 
= 0 ; 
23407     char *kwnames
[] = { 
23408         (char *) "self", NULL 
 
23411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
; 
23412     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23417             wxDateSpan 
&_result_ref 
= (arg1
)->operator -(); 
23418             result 
= (wxDateSpan 
*) &_result_ref
; 
23421         wxPyEndAllowThreads(__tstate
); 
23422         if (PyErr_Occurred()) SWIG_fail
; 
23424     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23431 static PyObject 
*_wrap_DateSpan___imul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23432     PyObject 
*resultobj
; 
23433     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23435     wxDateSpan 
*result
; 
23436     PyObject 
* obj0 
= 0 ; 
23437     PyObject 
* obj1 
= 0 ; 
23438     char *kwnames
[] = { 
23439         (char *) "self",(char *) "factor", NULL 
 
23442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23445     arg2 
= (int) SWIG_AsInt(obj1
);  
23446     if (PyErr_Occurred()) SWIG_fail
; 
23448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23450             wxDateSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
23451             result 
= (wxDateSpan 
*) &_result_ref
; 
23454         wxPyEndAllowThreads(__tstate
); 
23455         if (PyErr_Occurred()) SWIG_fail
; 
23457     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23464 static PyObject 
*_wrap_DateSpan___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23465     PyObject 
*resultobj
; 
23466     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23467     wxDateSpan 
*arg2 
= 0 ; 
23469     PyObject 
* obj0 
= 0 ; 
23470     PyObject 
* obj1 
= 0 ; 
23471     char *kwnames
[] = { 
23472         (char *) "self",(char *) "other", NULL 
 
23475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23476     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23478     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23479     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23481     if (arg2 
== NULL
) { 
23482         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23487         result 
= wxDateSpan___add__(arg1
,(wxDateSpan 
const &)*arg2
); 
23489         wxPyEndAllowThreads(__tstate
); 
23490         if (PyErr_Occurred()) SWIG_fail
; 
23493         wxDateSpan 
* resultptr
; 
23494         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23495         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23503 static PyObject 
*_wrap_DateSpan___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23504     PyObject 
*resultobj
; 
23505     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23506     wxDateSpan 
*arg2 
= 0 ; 
23508     PyObject 
* obj0 
= 0 ; 
23509     PyObject 
* obj1 
= 0 ; 
23510     char *kwnames
[] = { 
23511         (char *) "self",(char *) "other", NULL 
 
23514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23517     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23520     if (arg2 
== NULL
) { 
23521         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23526         result 
= wxDateSpan___sub__(arg1
,(wxDateSpan 
const &)*arg2
); 
23528         wxPyEndAllowThreads(__tstate
); 
23529         if (PyErr_Occurred()) SWIG_fail
; 
23532         wxDateSpan 
* resultptr
; 
23533         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23534         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23542 static PyObject 
*_wrap_DateSpan___mul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23543     PyObject 
*resultobj
; 
23544     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23547     PyObject 
* obj0 
= 0 ; 
23548     PyObject 
* obj1 
= 0 ; 
23549     char *kwnames
[] = { 
23550         (char *) "self",(char *) "n", NULL 
 
23553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23554     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23555     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23556     arg2 
= (int) SWIG_AsInt(obj1
);  
23557     if (PyErr_Occurred()) SWIG_fail
; 
23559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23560         result 
= wxDateSpan___mul__(arg1
,arg2
); 
23562         wxPyEndAllowThreads(__tstate
); 
23563         if (PyErr_Occurred()) SWIG_fail
; 
23566         wxDateSpan 
* resultptr
; 
23567         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23568         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23576 static PyObject 
*_wrap_DateSpan___rmul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23577     PyObject 
*resultobj
; 
23578     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23581     PyObject 
* obj0 
= 0 ; 
23582     PyObject 
* obj1 
= 0 ; 
23583     char *kwnames
[] = { 
23584         (char *) "self",(char *) "n", NULL 
 
23587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23590     arg2 
= (int) SWIG_AsInt(obj1
);  
23591     if (PyErr_Occurred()) SWIG_fail
; 
23593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23594         result 
= wxDateSpan___rmul__(arg1
,arg2
); 
23596         wxPyEndAllowThreads(__tstate
); 
23597         if (PyErr_Occurred()) SWIG_fail
; 
23600         wxDateSpan 
* resultptr
; 
23601         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23602         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23610 static PyObject 
*_wrap_DateSpan___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23611     PyObject 
*resultobj
; 
23612     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23613     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
23615     PyObject 
* obj0 
= 0 ; 
23616     PyObject 
* obj1 
= 0 ; 
23617     char *kwnames
[] = { 
23618         (char *) "self",(char *) "other", NULL 
 
23621     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23622     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23623     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23624     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23625     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23628         result 
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan 
const *)arg2
); 
23630         wxPyEndAllowThreads(__tstate
); 
23631         if (PyErr_Occurred()) SWIG_fail
; 
23634         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23642 static PyObject 
*_wrap_DateSpan___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23643     PyObject 
*resultobj
; 
23644     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23645     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
23647     PyObject 
* obj0 
= 0 ; 
23648     PyObject 
* obj1 
= 0 ; 
23649     char *kwnames
[] = { 
23650         (char *) "self",(char *) "other", NULL 
 
23653     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23654     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23655     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23656     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23657     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23660         result 
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan 
const *)arg2
); 
23662         wxPyEndAllowThreads(__tstate
); 
23663         if (PyErr_Occurred()) SWIG_fail
; 
23666         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23674 static PyObject 
* DateSpan_swigregister(PyObject 
*self
, PyObject 
*args
) { 
23676     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23677     SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
); 
23679     return Py_BuildValue((char *)""); 
23681 static PyObject 
*_wrap_GetLocalTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23682     PyObject 
*resultobj
; 
23684     char *kwnames
[] = { 
23688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
; 
23690         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23691         result 
= (long)wxGetLocalTime(); 
23693         wxPyEndAllowThreads(__tstate
); 
23694         if (PyErr_Occurred()) SWIG_fail
; 
23696     resultobj 
= SWIG_FromLong((long)result
); 
23703 static PyObject 
*_wrap_GetUTCTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23704     PyObject 
*resultobj
; 
23706     char *kwnames
[] = { 
23710     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
; 
23712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23713         result 
= (long)wxGetUTCTime(); 
23715         wxPyEndAllowThreads(__tstate
); 
23716         if (PyErr_Occurred()) SWIG_fail
; 
23718     resultobj 
= SWIG_FromLong((long)result
); 
23725 static PyObject 
*_wrap_GetCurrentTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23726     PyObject 
*resultobj
; 
23728     char *kwnames
[] = { 
23732     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
; 
23734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23735         result 
= (long)wxGetCurrentTime(); 
23737         wxPyEndAllowThreads(__tstate
); 
23738         if (PyErr_Occurred()) SWIG_fail
; 
23740     resultobj 
= SWIG_FromLong((long)result
); 
23747 static PyObject 
*_wrap_GetLocalTimeMillis(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23748     PyObject 
*resultobj
; 
23750     char *kwnames
[] = { 
23754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
; 
23756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23757         result 
= wxGetLocalTimeMillis(); 
23759         wxPyEndAllowThreads(__tstate
); 
23760         if (PyErr_Occurred()) SWIG_fail
; 
23763         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
23764         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
23765         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
23766         shifter 
= PyLong_FromLong(32); 
23767         shifted 
= PyNumber_Lshift(hi
, shifter
); 
23768         resultobj 
= PyNumber_Or(shifted
, lo
); 
23771         Py_DECREF(shifter
); 
23772         Py_DECREF(shifted
); 
23780 static int _wrap_DefaultDateTime_set(PyObject 
*_val
) { 
23781     PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only."); 
23786 static PyObject 
*_wrap_DefaultDateTime_get() { 
23789     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0); 
23794 static PyObject 
*_wrap_new_DataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23795     PyObject 
*resultobj
; 
23797     wxDataFormat 
*result
; 
23798     PyObject 
* obj0 
= 0 ; 
23799     char *kwnames
[] = { 
23800         (char *) "type", NULL 
 
23803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
; 
23804     arg1 
= (wxDataFormatId
) SWIG_AsInt(obj0
);  
23805     if (PyErr_Occurred()) SWIG_fail
; 
23807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23808         result 
= (wxDataFormat 
*)new wxDataFormat((wxDataFormatId 
)arg1
); 
23810         wxPyEndAllowThreads(__tstate
); 
23811         if (PyErr_Occurred()) SWIG_fail
; 
23813     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
23820 static PyObject 
*_wrap_new_CustomDataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23821     PyObject 
*resultobj
; 
23822     wxString 
*arg1 
= 0 ; 
23823     wxDataFormat 
*result
; 
23824     bool temp1 
= False 
; 
23825     PyObject 
* obj0 
= 0 ; 
23826     char *kwnames
[] = { 
23827         (char *) "format", NULL 
 
23830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
; 
23832         arg1 
= wxString_in_helper(obj0
); 
23833         if (arg1 
== NULL
) SWIG_fail
; 
23837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23838         result 
= (wxDataFormat 
*)new wxDataFormat((wxString 
const &)*arg1
); 
23840         wxPyEndAllowThreads(__tstate
); 
23841         if (PyErr_Occurred()) SWIG_fail
; 
23843     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
23858 static PyObject 
*_wrap_delete_DataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23859     PyObject 
*resultobj
; 
23860     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23861     PyObject 
* obj0 
= 0 ; 
23862     char *kwnames
[] = { 
23863         (char *) "self", NULL 
 
23866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
; 
23867     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23868     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23873         wxPyEndAllowThreads(__tstate
); 
23874         if (PyErr_Occurred()) SWIG_fail
; 
23876     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23883 static PyObject 
*_wrap_DataFormat___eq____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
23884     PyObject 
*resultobj
; 
23885     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23888     PyObject 
* obj0 
= 0 ; 
23889     PyObject 
* obj1 
= 0 ; 
23891     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
23892     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23893     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23894     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
23895     if (PyErr_Occurred()) SWIG_fail
; 
23897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23898         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormatId 
)arg2
); 
23900         wxPyEndAllowThreads(__tstate
); 
23901         if (PyErr_Occurred()) SWIG_fail
; 
23904         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23912 static PyObject 
*_wrap_DataFormat___ne____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
23913     PyObject 
*resultobj
; 
23914     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23917     PyObject 
* obj0 
= 0 ; 
23918     PyObject 
* obj1 
= 0 ; 
23920     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
23921     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23922     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23923     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
23924     if (PyErr_Occurred()) SWIG_fail
; 
23926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23927         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormatId 
)arg2
); 
23929         wxPyEndAllowThreads(__tstate
); 
23930         if (PyErr_Occurred()) SWIG_fail
; 
23933         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23941 static PyObject 
*_wrap_DataFormat___eq____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
23942     PyObject 
*resultobj
; 
23943     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23944     wxDataFormat 
*arg2 
= 0 ; 
23946     PyObject 
* obj0 
= 0 ; 
23947     PyObject 
* obj1 
= 0 ; 
23949     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
23950     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23951     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23952     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
23953     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23955     if (arg2 
== NULL
) { 
23956         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23960         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23961         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormat 
const &)*arg2
); 
23963         wxPyEndAllowThreads(__tstate
); 
23964         if (PyErr_Occurred()) SWIG_fail
; 
23967         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23975 static PyObject 
*_wrap_DataFormat___eq__(PyObject 
*self
, PyObject 
*args
) { 
23980     argc 
= PyObject_Length(args
); 
23981     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
23982         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
23988             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
23998                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24006                 return _wrap_DataFormat___eq____SWIG_1(self
,args
); 
24014             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24022             _v 
= SWIG_CheckInt(argv
[1]); 
24024                 return _wrap_DataFormat___eq____SWIG_0(self
,args
); 
24029     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'"); 
24034 static PyObject 
*_wrap_DataFormat___ne____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
24035     PyObject 
*resultobj
; 
24036     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24037     wxDataFormat 
*arg2 
= 0 ; 
24039     PyObject 
* obj0 
= 0 ; 
24040     PyObject 
* obj1 
= 0 ; 
24042     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
24043     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24044     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24045     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24046     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24048     if (arg2 
== NULL
) { 
24049         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24054         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormat 
const &)*arg2
); 
24056         wxPyEndAllowThreads(__tstate
); 
24057         if (PyErr_Occurred()) SWIG_fail
; 
24060         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24068 static PyObject 
*_wrap_DataFormat___ne__(PyObject 
*self
, PyObject 
*args
) { 
24073     argc 
= PyObject_Length(args
); 
24074     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
24075         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
24081             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24091                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24099                 return _wrap_DataFormat___ne____SWIG_1(self
,args
); 
24107             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24115             _v 
= SWIG_CheckInt(argv
[1]); 
24117                 return _wrap_DataFormat___ne____SWIG_0(self
,args
); 
24122     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'"); 
24127 static PyObject 
*_wrap_DataFormat_SetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24128     PyObject 
*resultobj
; 
24129     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24131     PyObject 
* obj0 
= 0 ; 
24132     PyObject 
* obj1 
= 0 ; 
24133     char *kwnames
[] = { 
24134         (char *) "self",(char *) "format", NULL 
 
24137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
; 
24138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24140     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
24141     if (PyErr_Occurred()) SWIG_fail
; 
24143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24144         (arg1
)->SetType((wxDataFormatId 
)arg2
); 
24146         wxPyEndAllowThreads(__tstate
); 
24147         if (PyErr_Occurred()) SWIG_fail
; 
24149     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24156 static PyObject 
*_wrap_DataFormat_GetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24157     PyObject 
*resultobj
; 
24158     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24160     PyObject 
* obj0 
= 0 ; 
24161     char *kwnames
[] = { 
24162         (char *) "self", NULL 
 
24165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
; 
24166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24170         result 
= (int)((wxDataFormat 
const *)arg1
)->GetType(); 
24172         wxPyEndAllowThreads(__tstate
); 
24173         if (PyErr_Occurred()) SWIG_fail
; 
24175     resultobj 
= SWIG_FromInt((int)result
); 
24182 static PyObject 
*_wrap_DataFormat_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24183     PyObject 
*resultobj
; 
24184     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24186     PyObject 
* obj0 
= 0 ; 
24187     char *kwnames
[] = { 
24188         (char *) "self", NULL 
 
24191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
; 
24192     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24193     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24196         result 
= ((wxDataFormat 
const *)arg1
)->GetId(); 
24198         wxPyEndAllowThreads(__tstate
); 
24199         if (PyErr_Occurred()) SWIG_fail
; 
24203         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24205         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24214 static PyObject 
*_wrap_DataFormat_SetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24215     PyObject 
*resultobj
; 
24216     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24217     wxString 
*arg2 
= 0 ; 
24218     bool temp2 
= False 
; 
24219     PyObject 
* obj0 
= 0 ; 
24220     PyObject 
* obj1 
= 0 ; 
24221     char *kwnames
[] = { 
24222         (char *) "self",(char *) "format", NULL 
 
24225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
24226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24229         arg2 
= wxString_in_helper(obj1
); 
24230         if (arg2 
== NULL
) SWIG_fail
; 
24234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24235         (arg1
)->SetId((wxString 
const &)*arg2
); 
24237         wxPyEndAllowThreads(__tstate
); 
24238         if (PyErr_Occurred()) SWIG_fail
; 
24240     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24255 static PyObject 
* DataFormat_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24257     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24258     SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
); 
24260     return Py_BuildValue((char *)""); 
24262 static int _wrap_FormatInvalid_set(PyObject 
*_val
) { 
24263     PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only."); 
24268 static PyObject 
*_wrap_FormatInvalid_get() { 
24271     pyobj 
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0); 
24276 static PyObject 
*_wrap_delete_DataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24277     PyObject 
*resultobj
; 
24278     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24279     PyObject 
* obj0 
= 0 ; 
24280     char *kwnames
[] = { 
24281         (char *) "self", NULL 
 
24284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
; 
24285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24291         wxPyEndAllowThreads(__tstate
); 
24292         if (PyErr_Occurred()) SWIG_fail
; 
24294     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24301 static PyObject 
*_wrap_DataObject_GetPreferredFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24302     PyObject 
*resultobj
; 
24303     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24304     int arg2 
= (int) wxDataObject::Get 
; 
24305     SwigValueWrapper
< wxDataFormat 
> result
; 
24306     PyObject 
* obj0 
= 0 ; 
24307     PyObject 
* obj1 
= 0 ; 
24308     char *kwnames
[] = { 
24309         (char *) "self",(char *) "dir", NULL 
 
24312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
24313     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24316         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24317         if (PyErr_Occurred()) SWIG_fail
; 
24320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24321         result 
= ((wxDataObject 
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction 
)arg2
); 
24323         wxPyEndAllowThreads(__tstate
); 
24324         if (PyErr_Occurred()) SWIG_fail
; 
24327         wxDataFormat 
* resultptr
; 
24328         resultptr 
= new wxDataFormat((wxDataFormat 
&) result
); 
24329         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1); 
24337 static PyObject 
*_wrap_DataObject_GetFormatCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24338     PyObject 
*resultobj
; 
24339     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24340     int arg2 
= (int) wxDataObject::Get 
; 
24342     PyObject 
* obj0 
= 0 ; 
24343     PyObject 
* obj1 
= 0 ; 
24344     char *kwnames
[] = { 
24345         (char *) "self",(char *) "dir", NULL 
 
24348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
24349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24352         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24353         if (PyErr_Occurred()) SWIG_fail
; 
24356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24357         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetFormatCount((wxDataObject::Direction 
)arg2
); 
24359         wxPyEndAllowThreads(__tstate
); 
24360         if (PyErr_Occurred()) SWIG_fail
; 
24362     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24369 static PyObject 
*_wrap_DataObject_IsSupported(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24370     PyObject 
*resultobj
; 
24371     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24372     wxDataFormat 
*arg2 
= 0 ; 
24373     int arg3 
= (int) wxDataObject::Get 
; 
24375     PyObject 
* obj0 
= 0 ; 
24376     PyObject 
* obj1 
= 0 ; 
24377     PyObject 
* obj2 
= 0 ; 
24378     char *kwnames
[] = { 
24379         (char *) "self",(char *) "format",(char *) "dir", NULL 
 
24382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24385     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24386     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24388     if (arg2 
== NULL
) { 
24389         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24393         arg3 
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);  
24394         if (PyErr_Occurred()) SWIG_fail
; 
24397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24398         result 
= (bool)((wxDataObject 
const *)arg1
)->IsSupported((wxDataFormat 
const &)*arg2
,(wxDataObject::Direction 
)arg3
); 
24400         wxPyEndAllowThreads(__tstate
); 
24401         if (PyErr_Occurred()) SWIG_fail
; 
24404         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24412 static PyObject 
*_wrap_DataObject_GetDataSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24413     PyObject 
*resultobj
; 
24414     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24415     wxDataFormat 
*arg2 
= 0 ; 
24417     PyObject 
* obj0 
= 0 ; 
24418     PyObject 
* obj1 
= 0 ; 
24419     char *kwnames
[] = { 
24420         (char *) "self",(char *) "format", NULL 
 
24423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
24424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24426     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24427     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24429     if (arg2 
== NULL
) { 
24430         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24435         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetDataSize((wxDataFormat 
const &)*arg2
); 
24437         wxPyEndAllowThreads(__tstate
); 
24438         if (PyErr_Occurred()) SWIG_fail
; 
24440     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24447 static PyObject 
*_wrap_DataObject_GetAllFormats(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24448     PyObject 
*resultobj
; 
24449     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24450     int arg2 
= (int) wxDataObject::Get 
; 
24452     PyObject 
* obj0 
= 0 ; 
24453     PyObject 
* obj1 
= 0 ; 
24454     char *kwnames
[] = { 
24455         (char *) "self",(char *) "dir", NULL 
 
24458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
; 
24459     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24460     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24462         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24463         if (PyErr_Occurred()) SWIG_fail
; 
24466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24467         result 
= (PyObject 
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction 
)arg2
); 
24469         wxPyEndAllowThreads(__tstate
); 
24470         if (PyErr_Occurred()) SWIG_fail
; 
24472     resultobj 
= result
; 
24479 static PyObject 
*_wrap_DataObject_GetDataHere(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24480     PyObject 
*resultobj
; 
24481     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24482     wxDataFormat 
*arg2 
= 0 ; 
24484     PyObject 
* obj0 
= 0 ; 
24485     PyObject 
* obj1 
= 0 ; 
24486     char *kwnames
[] = { 
24487         (char *) "self",(char *) "format", NULL 
 
24490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
; 
24491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24493     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24496     if (arg2 
== NULL
) { 
24497         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24502         result 
= (PyObject 
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat 
const &)*arg2
); 
24504         wxPyEndAllowThreads(__tstate
); 
24505         if (PyErr_Occurred()) SWIG_fail
; 
24507     resultobj 
= result
; 
24514 static PyObject 
*_wrap_DataObject_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24515     PyObject 
*resultobj
; 
24516     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24517     wxDataFormat 
*arg2 
= 0 ; 
24518     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24520     PyObject 
* obj0 
= 0 ; 
24521     PyObject 
* obj1 
= 0 ; 
24522     PyObject 
* obj2 
= 0 ; 
24523     char *kwnames
[] = { 
24524         (char *) "self",(char *) "format",(char *) "data", NULL 
 
24527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24530     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24531     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24533     if (arg2 
== NULL
) { 
24534         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24540         result 
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat 
const &)*arg2
,arg3
); 
24542         wxPyEndAllowThreads(__tstate
); 
24543         if (PyErr_Occurred()) SWIG_fail
; 
24546         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24554 static PyObject 
* DataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24556     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24557     SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
); 
24559     return Py_BuildValue((char *)""); 
24561 static PyObject 
*_wrap_new_DataObjectSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24562     PyObject 
*resultobj
; 
24563     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
24564     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
24565     wxDataObjectSimple 
*result
; 
24566     PyObject 
* obj0 
= 0 ; 
24567     char *kwnames
[] = { 
24568         (char *) "format", NULL 
 
24571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
; 
24573         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24574         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24576         if (arg1 
== NULL
) { 
24577             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24583         result 
= (wxDataObjectSimple 
*)new wxDataObjectSimple((wxDataFormat 
const &)*arg1
); 
24585         wxPyEndAllowThreads(__tstate
); 
24586         if (PyErr_Occurred()) SWIG_fail
; 
24588     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1); 
24595 static PyObject 
*_wrap_DataObjectSimple_GetFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24596     PyObject 
*resultobj
; 
24597     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24598     wxDataFormat 
*result
; 
24599     PyObject 
* obj0 
= 0 ; 
24600     char *kwnames
[] = { 
24601         (char *) "self", NULL 
 
24604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
; 
24605     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24606     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24610             wxDataFormat 
const &_result_ref 
= (arg1
)->GetFormat(); 
24611             result 
= (wxDataFormat 
*) &_result_ref
; 
24614         wxPyEndAllowThreads(__tstate
); 
24615         if (PyErr_Occurred()) SWIG_fail
; 
24617     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0); 
24624 static PyObject 
*_wrap_DataObjectSimple_SetFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24625     PyObject 
*resultobj
; 
24626     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24627     wxDataFormat 
*arg2 
= 0 ; 
24628     PyObject 
* obj0 
= 0 ; 
24629     PyObject 
* obj1 
= 0 ; 
24630     char *kwnames
[] = { 
24631         (char *) "self",(char *) "format", NULL 
 
24634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
24635     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24636     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24637     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24638     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24640     if (arg2 
== NULL
) { 
24641         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24646         (arg1
)->SetFormat((wxDataFormat 
const &)*arg2
); 
24648         wxPyEndAllowThreads(__tstate
); 
24649         if (PyErr_Occurred()) SWIG_fail
; 
24651     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24658 static PyObject 
*_wrap_DataObjectSimple_GetDataSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24659     PyObject 
*resultobj
; 
24660     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24662     PyObject 
* obj0 
= 0 ; 
24663     char *kwnames
[] = { 
24664         (char *) "self", NULL 
 
24667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
; 
24668     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24669     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24671         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24672         result 
= (size_t)((wxDataObjectSimple 
const *)arg1
)->GetDataSize(); 
24674         wxPyEndAllowThreads(__tstate
); 
24675         if (PyErr_Occurred()) SWIG_fail
; 
24677     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24684 static PyObject 
*_wrap_DataObjectSimple_GetDataHere(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24685     PyObject 
*resultobj
; 
24686     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24688     PyObject 
* obj0 
= 0 ; 
24689     char *kwnames
[] = { 
24690         (char *) "self", NULL 
 
24693     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
; 
24694     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24695     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24697         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24698         result 
= (PyObject 
*)wxDataObjectSimple_GetDataHere(arg1
); 
24700         wxPyEndAllowThreads(__tstate
); 
24701         if (PyErr_Occurred()) SWIG_fail
; 
24703     resultobj 
= result
; 
24710 static PyObject 
*_wrap_DataObjectSimple_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24711     PyObject 
*resultobj
; 
24712     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24713     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24715     PyObject 
* obj0 
= 0 ; 
24716     PyObject 
* obj1 
= 0 ; 
24717     char *kwnames
[] = { 
24718         (char *) "self",(char *) "data", NULL 
 
24721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
24722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24727         result 
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
); 
24729         wxPyEndAllowThreads(__tstate
); 
24730         if (PyErr_Occurred()) SWIG_fail
; 
24733         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24741 static PyObject 
* DataObjectSimple_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24743     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24744     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
); 
24746     return Py_BuildValue((char *)""); 
24748 static PyObject 
*_wrap_new_PyDataObjectSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24749     PyObject 
*resultobj
; 
24750     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
24751     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
24752     wxPyDataObjectSimple 
*result
; 
24753     PyObject 
* obj0 
= 0 ; 
24754     char *kwnames
[] = { 
24755         (char *) "format", NULL 
 
24758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
; 
24760         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24761         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24763         if (arg1 
== NULL
) { 
24764             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24770         result 
= (wxPyDataObjectSimple 
*)new wxPyDataObjectSimple((wxDataFormat 
const &)*arg1
); 
24772         wxPyEndAllowThreads(__tstate
); 
24773         if (PyErr_Occurred()) SWIG_fail
; 
24775     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1); 
24782 static PyObject 
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24783     PyObject 
*resultobj
; 
24784     wxPyDataObjectSimple 
*arg1 
= (wxPyDataObjectSimple 
*) 0 ; 
24785     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24786     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24787     PyObject 
* obj0 
= 0 ; 
24788     PyObject 
* obj1 
= 0 ; 
24789     PyObject 
* obj2 
= 0 ; 
24790     char *kwnames
[] = { 
24791         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
24794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24795     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
, 
24796     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24801         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
24803         wxPyEndAllowThreads(__tstate
); 
24804         if (PyErr_Occurred()) SWIG_fail
; 
24806     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24813 static PyObject 
* PyDataObjectSimple_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24815     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24816     SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
); 
24818     return Py_BuildValue((char *)""); 
24820 static PyObject 
*_wrap_new_DataObjectComposite(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24821     PyObject 
*resultobj
; 
24822     wxDataObjectComposite 
*result
; 
24823     char *kwnames
[] = { 
24827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
; 
24829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24830         result 
= (wxDataObjectComposite 
*)new wxDataObjectComposite(); 
24832         wxPyEndAllowThreads(__tstate
); 
24833         if (PyErr_Occurred()) SWIG_fail
; 
24835     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1); 
24842 static PyObject 
*_wrap_DataObjectComposite_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24843     PyObject 
*resultobj
; 
24844     wxDataObjectComposite 
*arg1 
= (wxDataObjectComposite 
*) 0 ; 
24845     wxDataObjectSimple 
*arg2 
= (wxDataObjectSimple 
*) 0 ; 
24846     bool arg3 
= (bool) False 
; 
24847     PyObject 
* obj0 
= 0 ; 
24848     PyObject 
* obj1 
= 0 ; 
24849     PyObject 
* obj2 
= 0 ; 
24850     char *kwnames
[] = { 
24851         (char *) "self",(char *) "dataObject",(char *) "preferred", NULL 
 
24854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24855     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
, 
24856     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24857     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
, 
24858     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
24860         arg3 
= (bool) SWIG_AsBool(obj2
);  
24861         if (PyErr_Occurred()) SWIG_fail
; 
24864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24865         (arg1
)->Add(arg2
,arg3
); 
24867         wxPyEndAllowThreads(__tstate
); 
24868         if (PyErr_Occurred()) SWIG_fail
; 
24870     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24877 static PyObject 
* DataObjectComposite_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24879     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24880     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
); 
24882     return Py_BuildValue((char *)""); 
24884 static PyObject 
*_wrap_new_TextDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24885     PyObject 
*resultobj
; 
24886     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
24887     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
24888     wxTextDataObject 
*result
; 
24889     bool temp1 
= False 
; 
24890     PyObject 
* obj0 
= 0 ; 
24891     char *kwnames
[] = { 
24892         (char *) "text", NULL 
 
24895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
; 
24898             arg1 
= wxString_in_helper(obj0
); 
24899             if (arg1 
== NULL
) SWIG_fail
; 
24904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24905         result 
= (wxTextDataObject 
*)new wxTextDataObject((wxString 
const &)*arg1
); 
24907         wxPyEndAllowThreads(__tstate
); 
24908         if (PyErr_Occurred()) SWIG_fail
; 
24910     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1); 
24925 static PyObject 
*_wrap_TextDataObject_GetTextLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24926     PyObject 
*resultobj
; 
24927     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
24929     PyObject 
* obj0 
= 0 ; 
24930     char *kwnames
[] = { 
24931         (char *) "self", NULL 
 
24934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
; 
24935     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
24936     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24939         result 
= (size_t)(arg1
)->GetTextLength(); 
24941         wxPyEndAllowThreads(__tstate
); 
24942         if (PyErr_Occurred()) SWIG_fail
; 
24944     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24951 static PyObject 
*_wrap_TextDataObject_GetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24952     PyObject 
*resultobj
; 
24953     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
24955     PyObject 
* obj0 
= 0 ; 
24956     char *kwnames
[] = { 
24957         (char *) "self", NULL 
 
24960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
; 
24961     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
24962     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24965         result 
= (arg1
)->GetText(); 
24967         wxPyEndAllowThreads(__tstate
); 
24968         if (PyErr_Occurred()) SWIG_fail
; 
24972         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24974         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24983 static PyObject 
*_wrap_TextDataObject_SetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24984     PyObject 
*resultobj
; 
24985     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
24986     wxString 
*arg2 
= 0 ; 
24987     bool temp2 
= False 
; 
24988     PyObject 
* obj0 
= 0 ; 
24989     PyObject 
* obj1 
= 0 ; 
24990     char *kwnames
[] = { 
24991         (char *) "self",(char *) "text", NULL 
 
24994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
24995     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
24996     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24998         arg2 
= wxString_in_helper(obj1
); 
24999         if (arg2 
== NULL
) SWIG_fail
; 
25003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25004         (arg1
)->SetText((wxString 
const &)*arg2
); 
25006         wxPyEndAllowThreads(__tstate
); 
25007         if (PyErr_Occurred()) SWIG_fail
; 
25009     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25024 static PyObject 
* TextDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25026     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25027     SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
); 
25029     return Py_BuildValue((char *)""); 
25031 static PyObject 
*_wrap_new_PyTextDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25032     PyObject 
*resultobj
; 
25033     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
25034     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
25035     wxPyTextDataObject 
*result
; 
25036     bool temp1 
= False 
; 
25037     PyObject 
* obj0 
= 0 ; 
25038     char *kwnames
[] = { 
25039         (char *) "text", NULL 
 
25042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
; 
25045             arg1 
= wxString_in_helper(obj0
); 
25046             if (arg1 
== NULL
) SWIG_fail
; 
25051         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25052         result 
= (wxPyTextDataObject 
*)new wxPyTextDataObject((wxString 
const &)*arg1
); 
25054         wxPyEndAllowThreads(__tstate
); 
25055         if (PyErr_Occurred()) SWIG_fail
; 
25057     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1); 
25072 static PyObject 
*_wrap_PyTextDataObject__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25073     PyObject 
*resultobj
; 
25074     wxPyTextDataObject 
*arg1 
= (wxPyTextDataObject 
*) 0 ; 
25075     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25076     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25077     PyObject 
* obj0 
= 0 ; 
25078     PyObject 
* obj1 
= 0 ; 
25079     PyObject 
* obj2 
= 0 ; 
25080     char *kwnames
[] = { 
25081         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25085     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
, 
25086     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25091         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25093         wxPyEndAllowThreads(__tstate
); 
25094         if (PyErr_Occurred()) SWIG_fail
; 
25096     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25103 static PyObject 
* PyTextDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25105     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25106     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
); 
25108     return Py_BuildValue((char *)""); 
25110 static PyObject 
*_wrap_new_BitmapDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25111     PyObject 
*resultobj
; 
25112     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25113     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25114     wxBitmapDataObject 
*result
; 
25115     PyObject 
* obj0 
= 0 ; 
25116     char *kwnames
[] = { 
25117         (char *) "bitmap", NULL 
 
25120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25122         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25123         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25125         if (arg1 
== NULL
) { 
25126             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25131         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25132         result 
= (wxBitmapDataObject 
*)new wxBitmapDataObject((wxBitmap 
const &)*arg1
); 
25134         wxPyEndAllowThreads(__tstate
); 
25135         if (PyErr_Occurred()) SWIG_fail
; 
25137     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1); 
25144 static PyObject 
*_wrap_BitmapDataObject_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25145     PyObject 
*resultobj
; 
25146     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25148     PyObject 
* obj0 
= 0 ; 
25149     char *kwnames
[] = { 
25150         (char *) "self", NULL 
 
25153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
; 
25154     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25155     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25158         result 
= ((wxBitmapDataObject 
const *)arg1
)->GetBitmap(); 
25160         wxPyEndAllowThreads(__tstate
); 
25161         if (PyErr_Occurred()) SWIG_fail
; 
25164         wxBitmap 
* resultptr
; 
25165         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
25166         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
25174 static PyObject 
*_wrap_BitmapDataObject_SetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25175     PyObject 
*resultobj
; 
25176     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25177     wxBitmap 
*arg2 
= 0 ; 
25178     PyObject 
* obj0 
= 0 ; 
25179     PyObject 
* obj1 
= 0 ; 
25180     char *kwnames
[] = { 
25181         (char *) "self",(char *) "bitmap", NULL 
 
25184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
25185     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25186     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25187     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
25188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25190     if (arg2 
== NULL
) { 
25191         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25196         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
25198         wxPyEndAllowThreads(__tstate
); 
25199         if (PyErr_Occurred()) SWIG_fail
; 
25201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25208 static PyObject 
* BitmapDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25210     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25211     SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
); 
25213     return Py_BuildValue((char *)""); 
25215 static PyObject 
*_wrap_new_PyBitmapDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25216     PyObject 
*resultobj
; 
25217     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25218     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25219     wxPyBitmapDataObject 
*result
; 
25220     PyObject 
* obj0 
= 0 ; 
25221     char *kwnames
[] = { 
25222         (char *) "bitmap", NULL 
 
25225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25227         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25228         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25230         if (arg1 
== NULL
) { 
25231             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25237         result 
= (wxPyBitmapDataObject 
*)new wxPyBitmapDataObject((wxBitmap 
const &)*arg1
); 
25239         wxPyEndAllowThreads(__tstate
); 
25240         if (PyErr_Occurred()) SWIG_fail
; 
25242     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1); 
25249 static PyObject 
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25250     PyObject 
*resultobj
; 
25251     wxPyBitmapDataObject 
*arg1 
= (wxPyBitmapDataObject 
*) 0 ; 
25252     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25253     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25254     PyObject 
* obj0 
= 0 ; 
25255     PyObject 
* obj1 
= 0 ; 
25256     PyObject 
* obj2 
= 0 ; 
25257     char *kwnames
[] = { 
25258         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25262     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
, 
25263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25268         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25270         wxPyEndAllowThreads(__tstate
); 
25271         if (PyErr_Occurred()) SWIG_fail
; 
25273     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25280 static PyObject 
* PyBitmapDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25282     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25283     SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
); 
25285     return Py_BuildValue((char *)""); 
25287 static PyObject 
*_wrap_new_FileDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25288     PyObject 
*resultobj
; 
25289     wxFileDataObject 
*result
; 
25290     char *kwnames
[] = { 
25294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
; 
25296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25297         result 
= (wxFileDataObject 
*)new wxFileDataObject(); 
25299         wxPyEndAllowThreads(__tstate
); 
25300         if (PyErr_Occurred()) SWIG_fail
; 
25302     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1); 
25309 static PyObject 
*_wrap_FileDataObject_GetFilenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25310     PyObject 
*resultobj
; 
25311     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25312     wxArrayString 
*result
; 
25313     PyObject 
* obj0 
= 0 ; 
25314     char *kwnames
[] = { 
25315         (char *) "self", NULL 
 
25318     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
; 
25319     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25320     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25324             wxArrayString 
const &_result_ref 
= (arg1
)->GetFilenames(); 
25325             result 
= (wxArrayString 
*) &_result_ref
; 
25328         wxPyEndAllowThreads(__tstate
); 
25329         if (PyErr_Occurred()) SWIG_fail
; 
25332         resultobj 
= wxArrayString2PyList_helper(*result
); 
25340 static PyObject 
*_wrap_FileDataObject_AddFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25341     PyObject 
*resultobj
; 
25342     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25343     wxString 
*arg2 
= 0 ; 
25344     bool temp2 
= False 
; 
25345     PyObject 
* obj0 
= 0 ; 
25346     PyObject 
* obj1 
= 0 ; 
25347     char *kwnames
[] = { 
25348         (char *) "self",(char *) "filename", NULL 
 
25351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
25352     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25353     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25355         arg2 
= wxString_in_helper(obj1
); 
25356         if (arg2 
== NULL
) SWIG_fail
; 
25360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25361         (arg1
)->AddFile((wxString 
const &)*arg2
); 
25363         wxPyEndAllowThreads(__tstate
); 
25364         if (PyErr_Occurred()) SWIG_fail
; 
25366     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25381 static PyObject 
* FileDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25383     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25384     SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
); 
25386     return Py_BuildValue((char *)""); 
25388 static PyObject 
*_wrap_new_CustomDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25389     PyObject 
*resultobj
; 
25390     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
25391     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
25392     wxCustomDataObject 
*result
; 
25393     PyObject 
* obj0 
= 0 ; 
25394     char *kwnames
[] = { 
25395         (char *) "format", NULL 
 
25398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
; 
25400         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
25401         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25403         if (arg1 
== NULL
) { 
25404             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25409         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25410         result 
= (wxCustomDataObject 
*)new wxCustomDataObject((wxDataFormat 
const &)*arg1
); 
25412         wxPyEndAllowThreads(__tstate
); 
25413         if (PyErr_Occurred()) SWIG_fail
; 
25415     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1); 
25422 static PyObject 
*_wrap_CustomDataObject_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25423     PyObject 
*resultobj
; 
25424     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25425     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25427     PyObject 
* obj0 
= 0 ; 
25428     PyObject 
* obj1 
= 0 ; 
25429     char *kwnames
[] = { 
25430         (char *) "self",(char *) "data", NULL 
 
25433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25434     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25439         result 
= (bool)wxCustomDataObject_SetData(arg1
,arg2
); 
25441         wxPyEndAllowThreads(__tstate
); 
25442         if (PyErr_Occurred()) SWIG_fail
; 
25445         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25453 static PyObject 
*_wrap_CustomDataObject_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25454     PyObject 
*resultobj
; 
25455     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25457     PyObject 
* obj0 
= 0 ; 
25458     char *kwnames
[] = { 
25459         (char *) "self", NULL 
 
25462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
; 
25463     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25464     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25467         result 
= (size_t)(arg1
)->GetSize(); 
25469         wxPyEndAllowThreads(__tstate
); 
25470         if (PyErr_Occurred()) SWIG_fail
; 
25472     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
25479 static PyObject 
*_wrap_CustomDataObject_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25480     PyObject 
*resultobj
; 
25481     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25483     PyObject 
* obj0 
= 0 ; 
25484     char *kwnames
[] = { 
25485         (char *) "self", NULL 
 
25488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
; 
25489     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25490     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25492         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25493         result 
= (PyObject 
*)wxCustomDataObject_GetData(arg1
); 
25495         wxPyEndAllowThreads(__tstate
); 
25496         if (PyErr_Occurred()) SWIG_fail
; 
25498     resultobj 
= result
; 
25505 static PyObject 
* CustomDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25507     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25508     SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
); 
25510     return Py_BuildValue((char *)""); 
25512 static PyObject 
*_wrap_new_URLDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25513     PyObject 
*resultobj
; 
25514     wxURLDataObject 
*result
; 
25515     char *kwnames
[] = { 
25519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
; 
25521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25522         result 
= (wxURLDataObject 
*)new wxURLDataObject(); 
25524         wxPyEndAllowThreads(__tstate
); 
25525         if (PyErr_Occurred()) SWIG_fail
; 
25527     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1); 
25534 static PyObject 
*_wrap_URLDataObject_GetURL(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25535     PyObject 
*resultobj
; 
25536     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
25538     PyObject 
* obj0 
= 0 ; 
25539     char *kwnames
[] = { 
25540         (char *) "self", NULL 
 
25543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
; 
25544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
25545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25548         result 
= (arg1
)->GetURL(); 
25550         wxPyEndAllowThreads(__tstate
); 
25551         if (PyErr_Occurred()) SWIG_fail
; 
25555         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25557         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25566 static PyObject 
*_wrap_URLDataObject_SetURL(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25567     PyObject 
*resultobj
; 
25568     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
25569     wxString 
*arg2 
= 0 ; 
25570     bool temp2 
= False 
; 
25571     PyObject 
* obj0 
= 0 ; 
25572     PyObject 
* obj1 
= 0 ; 
25573     char *kwnames
[] = { 
25574         (char *) "self",(char *) "url", NULL 
 
25577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
; 
25578     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
25579     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25581         arg2 
= wxString_in_helper(obj1
); 
25582         if (arg2 
== NULL
) SWIG_fail
; 
25586         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25587         (arg1
)->SetURL((wxString 
const &)*arg2
); 
25589         wxPyEndAllowThreads(__tstate
); 
25590         if (PyErr_Occurred()) SWIG_fail
; 
25592     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25607 static PyObject 
* URLDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25609     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25610     SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
); 
25612     return Py_BuildValue((char *)""); 
25614 static PyObject 
*_wrap_new_MetafileDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25615     PyObject 
*resultobj
; 
25616     wxMetafileDataObject 
*result
; 
25617     char *kwnames
[] = { 
25621     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
; 
25623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25624         result 
= (wxMetafileDataObject 
*)new wxMetafileDataObject(); 
25626         wxPyEndAllowThreads(__tstate
); 
25627         if (PyErr_Occurred()) SWIG_fail
; 
25629     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1); 
25636 static PyObject 
*_wrap_MetafileDataObject_SetMetafile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25637     PyObject 
*resultobj
; 
25638     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
25639     wxMetafile 
*arg2 
= 0 ; 
25640     PyObject 
* obj0 
= 0 ; 
25641     PyObject 
* obj1 
= 0 ; 
25642     char *kwnames
[] = { 
25643         (char *) "self",(char *) "metafile", NULL 
 
25646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
; 
25647     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
25648     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25649     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
, 
25650     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25652     if (arg2 
== NULL
) { 
25653         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25657         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25658         (arg1
)->SetMetafile((wxMetafile 
const &)*arg2
); 
25660         wxPyEndAllowThreads(__tstate
); 
25661         if (PyErr_Occurred()) SWIG_fail
; 
25663     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25670 static PyObject 
*_wrap_MetafileDataObject_GetMetafile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25671     PyObject 
*resultobj
; 
25672     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
25674     PyObject 
* obj0 
= 0 ; 
25675     char *kwnames
[] = { 
25676         (char *) "self", NULL 
 
25679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
; 
25680     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
25681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25684         result 
= ((wxMetafileDataObject 
const *)arg1
)->GetMetafile(); 
25686         wxPyEndAllowThreads(__tstate
); 
25687         if (PyErr_Occurred()) SWIG_fail
; 
25690         wxMetafile 
* resultptr
; 
25691         resultptr 
= new wxMetafile((wxMetafile 
&) result
); 
25692         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1); 
25700 static PyObject 
* MetafileDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25702     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25703     SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
); 
25705     return Py_BuildValue((char *)""); 
25707 static PyObject 
*_wrap_IsDragResultOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25708     PyObject 
*resultobj
; 
25711     PyObject 
* obj0 
= 0 ; 
25712     char *kwnames
[] = { 
25713         (char *) "res", NULL 
 
25716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
; 
25717     arg1 
= (wxDragResult
) SWIG_AsInt(obj0
);  
25718     if (PyErr_Occurred()) SWIG_fail
; 
25720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25721         result 
= (bool)wxIsDragResultOk((wxDragResult 
)arg1
); 
25723         wxPyEndAllowThreads(__tstate
); 
25724         if (PyErr_Occurred()) SWIG_fail
; 
25727         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25735 static PyObject 
*_wrap_new_DropSource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25736     PyObject 
*resultobj
; 
25737     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25738     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
25739     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
25740     wxCursor 
const &arg3_defvalue 
= wxNullCursor 
; 
25741     wxCursor 
*arg3 
= (wxCursor 
*) &arg3_defvalue 
; 
25742     wxCursor 
const &arg4_defvalue 
= wxNullCursor 
; 
25743     wxCursor 
*arg4 
= (wxCursor 
*) &arg4_defvalue 
; 
25744     wxPyDropSource 
*result
; 
25745     PyObject 
* obj0 
= 0 ; 
25746     PyObject 
* obj1 
= 0 ; 
25747     PyObject 
* obj2 
= 0 ; 
25748     PyObject 
* obj3 
= 0 ; 
25749     char *kwnames
[] = { 
25750         (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL 
 
25753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25754     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
25755     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25757         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
25758         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25760         if (arg2 
== NULL
) { 
25761             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25766         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
25767         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25769         if (arg3 
== NULL
) { 
25770             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25775         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
, 
25776         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25778         if (arg4 
== NULL
) { 
25779             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25785         result 
= (wxPyDropSource 
*)new wxPyDropSource(arg1
,(wxCursor 
const &)*arg2
,(wxCursor 
const &)*arg3
,(wxCursor 
const &)*arg4
); 
25787         wxPyEndAllowThreads(__tstate
); 
25788         if (PyErr_Occurred()) SWIG_fail
; 
25790     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1); 
25797 static PyObject 
*_wrap_DropSource__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25798     PyObject 
*resultobj
; 
25799     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25800     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25801     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25803     PyObject 
* obj0 
= 0 ; 
25804     PyObject 
* obj1 
= 0 ; 
25805     PyObject 
* obj2 
= 0 ; 
25806     PyObject 
* obj3 
= 0 ; 
25807     char *kwnames
[] = { 
25808         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
25811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25816     arg4 
= (int) SWIG_AsInt(obj3
);  
25817     if (PyErr_Occurred()) SWIG_fail
; 
25819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25820         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
25822         wxPyEndAllowThreads(__tstate
); 
25823         if (PyErr_Occurred()) SWIG_fail
; 
25825     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25832 static PyObject 
*_wrap_delete_DropSource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25833     PyObject 
*resultobj
; 
25834     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25835     PyObject 
* obj0 
= 0 ; 
25836     char *kwnames
[] = { 
25837         (char *) "self", NULL 
 
25840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
; 
25841     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25842     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25847         wxPyEndAllowThreads(__tstate
); 
25848         if (PyErr_Occurred()) SWIG_fail
; 
25850     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25857 static PyObject 
*_wrap_DropSource_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25858     PyObject 
*resultobj
; 
25859     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25860     wxDataObject 
*arg2 
= 0 ; 
25861     PyObject 
* obj0 
= 0 ; 
25862     PyObject 
* obj1 
= 0 ; 
25863     char *kwnames
[] = { 
25864         (char *) "self",(char *) "data", NULL 
 
25867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25868     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25869     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25870     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
25871     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25873     if (arg2 
== NULL
) { 
25874         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25879         (arg1
)->SetData(*arg2
); 
25881         wxPyEndAllowThreads(__tstate
); 
25882         if (PyErr_Occurred()) SWIG_fail
; 
25884     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25891 static PyObject 
*_wrap_DropSource_GetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25892     PyObject 
*resultobj
; 
25893     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25894     wxDataObject 
*result
; 
25895     PyObject 
* obj0 
= 0 ; 
25896     char *kwnames
[] = { 
25897         (char *) "self", NULL 
 
25900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
; 
25901     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25902     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25905         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
25907         wxPyEndAllowThreads(__tstate
); 
25908         if (PyErr_Occurred()) SWIG_fail
; 
25910     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
25917 static PyObject 
*_wrap_DropSource_SetCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25918     PyObject 
*resultobj
; 
25919     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25921     wxCursor 
*arg3 
= 0 ; 
25922     PyObject 
* obj0 
= 0 ; 
25923     PyObject 
* obj1 
= 0 ; 
25924     PyObject 
* obj2 
= 0 ; 
25925     char *kwnames
[] = { 
25926         (char *) "self",(char *) "res",(char *) "cursor", NULL 
 
25929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25930     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25931     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25932     arg2 
= (wxDragResult
) SWIG_AsInt(obj1
);  
25933     if (PyErr_Occurred()) SWIG_fail
; 
25934     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
25935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25937     if (arg3 
== NULL
) { 
25938         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25942         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25943         (arg1
)->SetCursor((wxDragResult 
)arg2
,(wxCursor 
const &)*arg3
); 
25945         wxPyEndAllowThreads(__tstate
); 
25946         if (PyErr_Occurred()) SWIG_fail
; 
25948     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25955 static PyObject 
*_wrap_DropSource_DoDragDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25956     PyObject 
*resultobj
; 
25957     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25958     int arg2 
= (int) wxDrag_CopyOnly 
; 
25960     PyObject 
* obj0 
= 0 ; 
25961     PyObject 
* obj1 
= 0 ; 
25962     char *kwnames
[] = { 
25963         (char *) "self",(char *) "flags", NULL 
 
25966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
; 
25967     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25970         arg2 
= (int) SWIG_AsInt(obj1
);  
25971         if (PyErr_Occurred()) SWIG_fail
; 
25974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25975         result 
= (int)(arg1
)->DoDragDrop(arg2
); 
25977         wxPyEndAllowThreads(__tstate
); 
25978         if (PyErr_Occurred()) SWIG_fail
; 
25980     resultobj 
= SWIG_FromInt((int)result
); 
25987 static PyObject 
*_wrap_DropSource_base_GiveFeedback(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25988     PyObject 
*resultobj
; 
25989     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25992     PyObject 
* obj0 
= 0 ; 
25993     PyObject 
* obj1 
= 0 ; 
25994     char *kwnames
[] = { 
25995         (char *) "self",(char *) "effect", NULL 
 
25998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
; 
25999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26001     arg2 
= (wxDragResult
) SWIG_AsInt(obj1
);  
26002     if (PyErr_Occurred()) SWIG_fail
; 
26004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26005         result 
= (bool)(arg1
)->base_GiveFeedback((wxDragResult 
)arg2
); 
26007         wxPyEndAllowThreads(__tstate
); 
26008         if (PyErr_Occurred()) SWIG_fail
; 
26011         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26019 static PyObject 
* DropSource_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26021     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26022     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
); 
26024     return Py_BuildValue((char *)""); 
26026 static PyObject 
*_wrap_new_DropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26027     PyObject 
*resultobj
; 
26028     wxDataObject 
*arg1 
= (wxDataObject 
*) NULL 
; 
26029     wxPyDropTarget 
*result
; 
26030     PyObject 
* obj0 
= 0 ; 
26031     char *kwnames
[] = { 
26032         (char *) "dataObject", NULL 
 
26035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
; 
26037         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
26038         SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26042         result 
= (wxPyDropTarget 
*)new wxPyDropTarget(arg1
); 
26044         wxPyEndAllowThreads(__tstate
); 
26045         if (PyErr_Occurred()) SWIG_fail
; 
26047     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1); 
26054 static PyObject 
*_wrap_DropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26055     PyObject 
*resultobj
; 
26056     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26057     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26058     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26059     PyObject 
* obj0 
= 0 ; 
26060     PyObject 
* obj1 
= 0 ; 
26061     PyObject 
* obj2 
= 0 ; 
26062     char *kwnames
[] = { 
26063         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26067     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26073         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26075         wxPyEndAllowThreads(__tstate
); 
26076         if (PyErr_Occurred()) SWIG_fail
; 
26078     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26085 static PyObject 
*_wrap_delete_DropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26086     PyObject 
*resultobj
; 
26087     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26088     PyObject 
* obj0 
= 0 ; 
26089     char *kwnames
[] = { 
26090         (char *) "self", NULL 
 
26093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
; 
26094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26100         wxPyEndAllowThreads(__tstate
); 
26101         if (PyErr_Occurred()) SWIG_fail
; 
26103     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26110 static PyObject 
*_wrap_DropTarget_GetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26111     PyObject 
*resultobj
; 
26112     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26113     wxDataObject 
*result
; 
26114     PyObject 
* obj0 
= 0 ; 
26115     char *kwnames
[] = { 
26116         (char *) "self", NULL 
 
26119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
; 
26120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26123         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26124         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
26126         wxPyEndAllowThreads(__tstate
); 
26127         if (PyErr_Occurred()) SWIG_fail
; 
26129     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
26136 static PyObject 
*_wrap_DropTarget_SetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26137     PyObject 
*resultobj
; 
26138     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26139     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26140     PyObject 
* obj0 
= 0 ; 
26141     PyObject 
* obj1 
= 0 ; 
26142     char *kwnames
[] = { 
26143         (char *) "self",(char *) "dataObject", NULL 
 
26146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
26147     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26148     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26149     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26150     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26153         (arg1
)->SetDataObject(arg2
); 
26155         wxPyEndAllowThreads(__tstate
); 
26156         if (PyErr_Occurred()) SWIG_fail
; 
26158     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26165 static PyObject 
*_wrap_DropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26166     PyObject 
*resultobj
; 
26167     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26172     PyObject 
* obj0 
= 0 ; 
26173     PyObject 
* obj1 
= 0 ; 
26174     PyObject 
* obj2 
= 0 ; 
26175     PyObject 
* obj3 
= 0 ; 
26176     char *kwnames
[] = { 
26177         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26181     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26182     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26183     arg2 
= (int) SWIG_AsInt(obj1
);  
26184     if (PyErr_Occurred()) SWIG_fail
; 
26185     arg3 
= (int) SWIG_AsInt(obj2
);  
26186     if (PyErr_Occurred()) SWIG_fail
; 
26187     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26188     if (PyErr_Occurred()) SWIG_fail
; 
26190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26191         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26193         wxPyEndAllowThreads(__tstate
); 
26194         if (PyErr_Occurred()) SWIG_fail
; 
26196     resultobj 
= SWIG_FromInt((int)result
); 
26203 static PyObject 
*_wrap_DropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26204     PyObject 
*resultobj
; 
26205     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26210     PyObject 
* obj0 
= 0 ; 
26211     PyObject 
* obj1 
= 0 ; 
26212     PyObject 
* obj2 
= 0 ; 
26213     PyObject 
* obj3 
= 0 ; 
26214     char *kwnames
[] = { 
26215         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26219     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26220     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26221     arg2 
= (int) SWIG_AsInt(obj1
);  
26222     if (PyErr_Occurred()) SWIG_fail
; 
26223     arg3 
= (int) SWIG_AsInt(obj2
);  
26224     if (PyErr_Occurred()) SWIG_fail
; 
26225     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26226     if (PyErr_Occurred()) SWIG_fail
; 
26228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26229         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26231         wxPyEndAllowThreads(__tstate
); 
26232         if (PyErr_Occurred()) SWIG_fail
; 
26234     resultobj 
= SWIG_FromInt((int)result
); 
26241 static PyObject 
*_wrap_DropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26242     PyObject 
*resultobj
; 
26243     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26244     PyObject 
* obj0 
= 0 ; 
26245     char *kwnames
[] = { 
26246         (char *) "self", NULL 
 
26249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26250     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26251     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26254         (arg1
)->base_OnLeave(); 
26256         wxPyEndAllowThreads(__tstate
); 
26257         if (PyErr_Occurred()) SWIG_fail
; 
26259     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26266 static PyObject 
*_wrap_DropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26267     PyObject 
*resultobj
; 
26268     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26272     PyObject 
* obj0 
= 0 ; 
26273     PyObject 
* obj1 
= 0 ; 
26274     PyObject 
* obj2 
= 0 ; 
26275     char *kwnames
[] = { 
26276         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26280     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26281     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26282     arg2 
= (int) SWIG_AsInt(obj1
);  
26283     if (PyErr_Occurred()) SWIG_fail
; 
26284     arg3 
= (int) SWIG_AsInt(obj2
);  
26285     if (PyErr_Occurred()) SWIG_fail
; 
26287         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26288         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26290         wxPyEndAllowThreads(__tstate
); 
26291         if (PyErr_Occurred()) SWIG_fail
; 
26294         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26302 static PyObject 
*_wrap_DropTarget_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26303     PyObject 
*resultobj
; 
26304     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26306     PyObject 
* obj0 
= 0 ; 
26307     char *kwnames
[] = { 
26308         (char *) "self", NULL 
 
26311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
; 
26312     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26313     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26316         result 
= (bool)(arg1
)->GetData(); 
26318         wxPyEndAllowThreads(__tstate
); 
26319         if (PyErr_Occurred()) SWIG_fail
; 
26322         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26330 static PyObject 
* DropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26332     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26333     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
); 
26335     return Py_BuildValue((char *)""); 
26337 static PyObject 
*_wrap_new_TextDropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26338     PyObject 
*resultobj
; 
26339     wxPyTextDropTarget 
*result
; 
26340     char *kwnames
[] = { 
26344     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
; 
26346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26347         result 
= (wxPyTextDropTarget 
*)new wxPyTextDropTarget(); 
26349         wxPyEndAllowThreads(__tstate
); 
26350         if (PyErr_Occurred()) SWIG_fail
; 
26352     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1); 
26359 static PyObject 
*_wrap_TextDropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26360     PyObject 
*resultobj
; 
26361     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26362     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26363     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26364     PyObject 
* obj0 
= 0 ; 
26365     PyObject 
* obj1 
= 0 ; 
26366     PyObject 
* obj2 
= 0 ; 
26367     char *kwnames
[] = { 
26368         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26372     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26373     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26378         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26380         wxPyEndAllowThreads(__tstate
); 
26381         if (PyErr_Occurred()) SWIG_fail
; 
26383     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26390 static PyObject 
*_wrap_TextDropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26391     PyObject 
*resultobj
; 
26392     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26397     PyObject 
* obj0 
= 0 ; 
26398     PyObject 
* obj1 
= 0 ; 
26399     PyObject 
* obj2 
= 0 ; 
26400     PyObject 
* obj3 
= 0 ; 
26401     char *kwnames
[] = { 
26402         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26406     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26407     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26408     arg2 
= (int) SWIG_AsInt(obj1
);  
26409     if (PyErr_Occurred()) SWIG_fail
; 
26410     arg3 
= (int) SWIG_AsInt(obj2
);  
26411     if (PyErr_Occurred()) SWIG_fail
; 
26412     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26413     if (PyErr_Occurred()) SWIG_fail
; 
26415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26416         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26418         wxPyEndAllowThreads(__tstate
); 
26419         if (PyErr_Occurred()) SWIG_fail
; 
26421     resultobj 
= SWIG_FromInt((int)result
); 
26428 static PyObject 
*_wrap_TextDropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26429     PyObject 
*resultobj
; 
26430     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26435     PyObject 
* obj0 
= 0 ; 
26436     PyObject 
* obj1 
= 0 ; 
26437     PyObject 
* obj2 
= 0 ; 
26438     PyObject 
* obj3 
= 0 ; 
26439     char *kwnames
[] = { 
26440         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26444     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26445     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26446     arg2 
= (int) SWIG_AsInt(obj1
);  
26447     if (PyErr_Occurred()) SWIG_fail
; 
26448     arg3 
= (int) SWIG_AsInt(obj2
);  
26449     if (PyErr_Occurred()) SWIG_fail
; 
26450     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26451     if (PyErr_Occurred()) SWIG_fail
; 
26453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26454         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26456         wxPyEndAllowThreads(__tstate
); 
26457         if (PyErr_Occurred()) SWIG_fail
; 
26459     resultobj 
= SWIG_FromInt((int)result
); 
26466 static PyObject 
*_wrap_TextDropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26467     PyObject 
*resultobj
; 
26468     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26469     PyObject 
* obj0 
= 0 ; 
26470     char *kwnames
[] = { 
26471         (char *) "self", NULL 
 
26474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26475     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26476     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26479         (arg1
)->base_OnLeave(); 
26481         wxPyEndAllowThreads(__tstate
); 
26482         if (PyErr_Occurred()) SWIG_fail
; 
26484     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26491 static PyObject 
*_wrap_TextDropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26492     PyObject 
*resultobj
; 
26493     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26497     PyObject 
* obj0 
= 0 ; 
26498     PyObject 
* obj1 
= 0 ; 
26499     PyObject 
* obj2 
= 0 ; 
26500     char *kwnames
[] = { 
26501         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26505     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26507     arg2 
= (int) SWIG_AsInt(obj1
);  
26508     if (PyErr_Occurred()) SWIG_fail
; 
26509     arg3 
= (int) SWIG_AsInt(obj2
);  
26510     if (PyErr_Occurred()) SWIG_fail
; 
26512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26513         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26515         wxPyEndAllowThreads(__tstate
); 
26516         if (PyErr_Occurred()) SWIG_fail
; 
26519         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26527 static PyObject 
*_wrap_TextDropTarget_base_OnData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26528     PyObject 
*resultobj
; 
26529     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26534     PyObject 
* obj0 
= 0 ; 
26535     PyObject 
* obj1 
= 0 ; 
26536     PyObject 
* obj2 
= 0 ; 
26537     PyObject 
* obj3 
= 0 ; 
26538     char *kwnames
[] = { 
26539         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26543     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26544     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26545     arg2 
= (int) SWIG_AsInt(obj1
);  
26546     if (PyErr_Occurred()) SWIG_fail
; 
26547     arg3 
= (int) SWIG_AsInt(obj2
);  
26548     if (PyErr_Occurred()) SWIG_fail
; 
26549     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26550     if (PyErr_Occurred()) SWIG_fail
; 
26552         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26553         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
26555         wxPyEndAllowThreads(__tstate
); 
26556         if (PyErr_Occurred()) SWIG_fail
; 
26558     resultobj 
= SWIG_FromInt((int)result
); 
26565 static PyObject 
* TextDropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26567     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26568     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
); 
26570     return Py_BuildValue((char *)""); 
26572 static PyObject 
*_wrap_new_FileDropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26573     PyObject 
*resultobj
; 
26574     wxPyFileDropTarget 
*result
; 
26575     char *kwnames
[] = { 
26579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
; 
26581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26582         result 
= (wxPyFileDropTarget 
*)new wxPyFileDropTarget(); 
26584         wxPyEndAllowThreads(__tstate
); 
26585         if (PyErr_Occurred()) SWIG_fail
; 
26587     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1); 
26594 static PyObject 
*_wrap_FileDropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26595     PyObject 
*resultobj
; 
26596     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26597     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26598     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26599     PyObject 
* obj0 
= 0 ; 
26600     PyObject 
* obj1 
= 0 ; 
26601     PyObject 
* obj2 
= 0 ; 
26602     char *kwnames
[] = { 
26603         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26607     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26613         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26615         wxPyEndAllowThreads(__tstate
); 
26616         if (PyErr_Occurred()) SWIG_fail
; 
26618     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26625 static PyObject 
*_wrap_FileDropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26626     PyObject 
*resultobj
; 
26627     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26632     PyObject 
* obj0 
= 0 ; 
26633     PyObject 
* obj1 
= 0 ; 
26634     PyObject 
* obj2 
= 0 ; 
26635     PyObject 
* obj3 
= 0 ; 
26636     char *kwnames
[] = { 
26637         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26643     arg2 
= (int) SWIG_AsInt(obj1
);  
26644     if (PyErr_Occurred()) SWIG_fail
; 
26645     arg3 
= (int) SWIG_AsInt(obj2
);  
26646     if (PyErr_Occurred()) SWIG_fail
; 
26647     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26648     if (PyErr_Occurred()) SWIG_fail
; 
26650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26651         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26653         wxPyEndAllowThreads(__tstate
); 
26654         if (PyErr_Occurred()) SWIG_fail
; 
26656     resultobj 
= SWIG_FromInt((int)result
); 
26663 static PyObject 
*_wrap_FileDropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26664     PyObject 
*resultobj
; 
26665     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26670     PyObject 
* obj0 
= 0 ; 
26671     PyObject 
* obj1 
= 0 ; 
26672     PyObject 
* obj2 
= 0 ; 
26673     PyObject 
* obj3 
= 0 ; 
26674     char *kwnames
[] = { 
26675         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26679     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26680     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26681     arg2 
= (int) SWIG_AsInt(obj1
);  
26682     if (PyErr_Occurred()) SWIG_fail
; 
26683     arg3 
= (int) SWIG_AsInt(obj2
);  
26684     if (PyErr_Occurred()) SWIG_fail
; 
26685     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26686     if (PyErr_Occurred()) SWIG_fail
; 
26688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26689         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26691         wxPyEndAllowThreads(__tstate
); 
26692         if (PyErr_Occurred()) SWIG_fail
; 
26694     resultobj 
= SWIG_FromInt((int)result
); 
26701 static PyObject 
*_wrap_FileDropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26702     PyObject 
*resultobj
; 
26703     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26704     PyObject 
* obj0 
= 0 ; 
26705     char *kwnames
[] = { 
26706         (char *) "self", NULL 
 
26709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26714         (arg1
)->base_OnLeave(); 
26716         wxPyEndAllowThreads(__tstate
); 
26717         if (PyErr_Occurred()) SWIG_fail
; 
26719     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26726 static PyObject 
*_wrap_FileDropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26727     PyObject 
*resultobj
; 
26728     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26732     PyObject 
* obj0 
= 0 ; 
26733     PyObject 
* obj1 
= 0 ; 
26734     PyObject 
* obj2 
= 0 ; 
26735     char *kwnames
[] = { 
26736         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26742     arg2 
= (int) SWIG_AsInt(obj1
);  
26743     if (PyErr_Occurred()) SWIG_fail
; 
26744     arg3 
= (int) SWIG_AsInt(obj2
);  
26745     if (PyErr_Occurred()) SWIG_fail
; 
26747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26748         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26750         wxPyEndAllowThreads(__tstate
); 
26751         if (PyErr_Occurred()) SWIG_fail
; 
26754         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26762 static PyObject 
*_wrap_FileDropTarget_base_OnData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26763     PyObject 
*resultobj
; 
26764     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26769     PyObject 
* obj0 
= 0 ; 
26770     PyObject 
* obj1 
= 0 ; 
26771     PyObject 
* obj2 
= 0 ; 
26772     PyObject 
* obj3 
= 0 ; 
26773     char *kwnames
[] = { 
26774         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26778     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26780     arg2 
= (int) SWIG_AsInt(obj1
);  
26781     if (PyErr_Occurred()) SWIG_fail
; 
26782     arg3 
= (int) SWIG_AsInt(obj2
);  
26783     if (PyErr_Occurred()) SWIG_fail
; 
26784     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26785     if (PyErr_Occurred()) SWIG_fail
; 
26787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26788         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
26790         wxPyEndAllowThreads(__tstate
); 
26791         if (PyErr_Occurred()) SWIG_fail
; 
26793     resultobj 
= SWIG_FromInt((int)result
); 
26800 static PyObject 
* FileDropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26802     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26803     SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
); 
26805     return Py_BuildValue((char *)""); 
26807 static PyObject 
*_wrap_new_Clipboard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26808     PyObject 
*resultobj
; 
26809     wxClipboard 
*result
; 
26810     char *kwnames
[] = { 
26814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
; 
26816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26817         result 
= (wxClipboard 
*)new wxClipboard(); 
26819         wxPyEndAllowThreads(__tstate
); 
26820         if (PyErr_Occurred()) SWIG_fail
; 
26822     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1); 
26829 static PyObject 
*_wrap_delete_Clipboard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26830     PyObject 
*resultobj
; 
26831     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26832     PyObject 
* obj0 
= 0 ; 
26833     char *kwnames
[] = { 
26834         (char *) "self", NULL 
 
26837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
; 
26838     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26839     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26844         wxPyEndAllowThreads(__tstate
); 
26845         if (PyErr_Occurred()) SWIG_fail
; 
26847     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26854 static PyObject 
*_wrap_Clipboard_Open(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26855     PyObject 
*resultobj
; 
26856     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26858     PyObject 
* obj0 
= 0 ; 
26859     char *kwnames
[] = { 
26860         (char *) "self", NULL 
 
26863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
; 
26864     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26865     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26868         result 
= (bool)(arg1
)->Open(); 
26870         wxPyEndAllowThreads(__tstate
); 
26871         if (PyErr_Occurred()) SWIG_fail
; 
26874         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26882 static PyObject 
*_wrap_Clipboard_Close(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26883     PyObject 
*resultobj
; 
26884     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26885     PyObject 
* obj0 
= 0 ; 
26886     char *kwnames
[] = { 
26887         (char *) "self", NULL 
 
26890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
; 
26891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26897         wxPyEndAllowThreads(__tstate
); 
26898         if (PyErr_Occurred()) SWIG_fail
; 
26900     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26907 static PyObject 
*_wrap_Clipboard_IsOpened(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26908     PyObject 
*resultobj
; 
26909     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26911     PyObject 
* obj0 
= 0 ; 
26912     char *kwnames
[] = { 
26913         (char *) "self", NULL 
 
26916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
; 
26917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26921         result 
= (bool)((wxClipboard 
const *)arg1
)->IsOpened(); 
26923         wxPyEndAllowThreads(__tstate
); 
26924         if (PyErr_Occurred()) SWIG_fail
; 
26927         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26935 static PyObject 
*_wrap_Clipboard_AddData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26936     PyObject 
*resultobj
; 
26937     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26938     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26940     PyObject 
* obj0 
= 0 ; 
26941     PyObject 
* obj1 
= 0 ; 
26942     char *kwnames
[] = { 
26943         (char *) "self",(char *) "data", NULL 
 
26946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26949     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26950     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26953         result 
= (bool)(arg1
)->AddData(arg2
); 
26955         wxPyEndAllowThreads(__tstate
); 
26956         if (PyErr_Occurred()) SWIG_fail
; 
26959         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26967 static PyObject 
*_wrap_Clipboard_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26968     PyObject 
*resultobj
; 
26969     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26970     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26972     PyObject 
* obj0 
= 0 ; 
26973     PyObject 
* obj1 
= 0 ; 
26974     char *kwnames
[] = { 
26975         (char *) "self",(char *) "data", NULL 
 
26978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26979     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26980     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26981     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26982     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26985         result 
= (bool)(arg1
)->SetData(arg2
); 
26987         wxPyEndAllowThreads(__tstate
); 
26988         if (PyErr_Occurred()) SWIG_fail
; 
26991         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26999 static PyObject 
*_wrap_Clipboard_IsSupported(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27000     PyObject 
*resultobj
; 
27001     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27002     wxDataFormat 
*arg2 
= 0 ; 
27004     PyObject 
* obj0 
= 0 ; 
27005     PyObject 
* obj1 
= 0 ; 
27006     char *kwnames
[] = { 
27007         (char *) "self",(char *) "format", NULL 
 
27010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
; 
27011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27013     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
27014     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27016     if (arg2 
== NULL
) { 
27017         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27021         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27022         result 
= (bool)(arg1
)->IsSupported((wxDataFormat 
const &)*arg2
); 
27024         wxPyEndAllowThreads(__tstate
); 
27025         if (PyErr_Occurred()) SWIG_fail
; 
27028         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27036 static PyObject 
*_wrap_Clipboard_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27037     PyObject 
*resultobj
; 
27038     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27039     wxDataObject 
*arg2 
= 0 ; 
27041     PyObject 
* obj0 
= 0 ; 
27042     PyObject 
* obj1 
= 0 ; 
27043     char *kwnames
[] = { 
27044         (char *) "self",(char *) "data", NULL 
 
27047     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27048     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27049     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27050     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27051     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27053     if (arg2 
== NULL
) { 
27054         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27059         result 
= (bool)(arg1
)->GetData(*arg2
); 
27061         wxPyEndAllowThreads(__tstate
); 
27062         if (PyErr_Occurred()) SWIG_fail
; 
27065         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27073 static PyObject 
*_wrap_Clipboard_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27074     PyObject 
*resultobj
; 
27075     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27076     PyObject 
* obj0 
= 0 ; 
27077     char *kwnames
[] = { 
27078         (char *) "self", NULL 
 
27081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
; 
27082     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27088         wxPyEndAllowThreads(__tstate
); 
27089         if (PyErr_Occurred()) SWIG_fail
; 
27091     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27098 static PyObject 
*_wrap_Clipboard_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27099     PyObject 
*resultobj
; 
27100     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27102     PyObject 
* obj0 
= 0 ; 
27103     char *kwnames
[] = { 
27104         (char *) "self", NULL 
 
27107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
; 
27108     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27112         result 
= (bool)(arg1
)->Flush(); 
27114         wxPyEndAllowThreads(__tstate
); 
27115         if (PyErr_Occurred()) SWIG_fail
; 
27118         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27126 static PyObject 
*_wrap_Clipboard_UsePrimarySelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27127     PyObject 
*resultobj
; 
27128     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27129     bool arg2 
= (bool) True 
; 
27130     PyObject 
* obj0 
= 0 ; 
27131     PyObject 
* obj1 
= 0 ; 
27132     char *kwnames
[] = { 
27133         (char *) "self",(char *) "primary", NULL 
 
27136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
27137     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27138     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27140         arg2 
= (bool) SWIG_AsBool(obj1
);  
27141         if (PyErr_Occurred()) SWIG_fail
; 
27144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27145         (arg1
)->UsePrimarySelection(arg2
); 
27147         wxPyEndAllowThreads(__tstate
); 
27148         if (PyErr_Occurred()) SWIG_fail
; 
27150     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27157 static PyObject 
* Clipboard_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27159     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27160     SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
); 
27162     return Py_BuildValue((char *)""); 
27164 static int _wrap_TheClipboard_set(PyObject 
*_val
) { 
27165     PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only."); 
27170 static PyObject 
*_wrap_TheClipboard_get() { 
27173     pyobj 
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0); 
27178 static PyObject 
*_wrap_new_ClipboardLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27179     PyObject 
*resultobj
; 
27180     wxClipboard 
*arg1 
= (wxClipboard 
*) NULL 
; 
27181     wxClipboardLocker 
*result
; 
27182     PyObject 
* obj0 
= 0 ; 
27183     char *kwnames
[] = { 
27184         (char *) "clipboard", NULL 
 
27187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27189         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27190         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27194         result 
= (wxClipboardLocker 
*)new wxClipboardLocker(arg1
); 
27196         wxPyEndAllowThreads(__tstate
); 
27197         if (PyErr_Occurred()) SWIG_fail
; 
27199     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1); 
27206 static PyObject 
*_wrap_delete_ClipboardLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27207     PyObject 
*resultobj
; 
27208     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27209     PyObject 
* obj0 
= 0 ; 
27210     char *kwnames
[] = { 
27211         (char *) "self", NULL 
 
27214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27215     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27216     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27221         wxPyEndAllowThreads(__tstate
); 
27222         if (PyErr_Occurred()) SWIG_fail
; 
27224     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27231 static PyObject 
*_wrap_ClipboardLocker___nonzero__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27232     PyObject 
*resultobj
; 
27233     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27235     PyObject 
* obj0 
= 0 ; 
27236     char *kwnames
[] = { 
27237         (char *) "self", NULL 
 
27240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
; 
27241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27245         result 
= (bool)wxClipboardLocker___nonzero__(arg1
); 
27247         wxPyEndAllowThreads(__tstate
); 
27248         if (PyErr_Occurred()) SWIG_fail
; 
27251         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27259 static PyObject 
* ClipboardLocker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27261     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27262     SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
); 
27264     return Py_BuildValue((char *)""); 
27266 static PyObject 
*_wrap_new_VideoMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27267     PyObject 
*resultobj
; 
27268     int arg1 
= (int) 0 ; 
27269     int arg2 
= (int) 0 ; 
27270     int arg3 
= (int) 0 ; 
27271     int arg4 
= (int) 0 ; 
27272     wxVideoMode 
*result
; 
27273     PyObject 
* obj0 
= 0 ; 
27274     PyObject 
* obj1 
= 0 ; 
27275     PyObject 
* obj2 
= 0 ; 
27276     PyObject 
* obj3 
= 0 ; 
27277     char *kwnames
[] = { 
27278         (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL 
 
27281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
27283         arg1 
= (int) SWIG_AsInt(obj0
);  
27284         if (PyErr_Occurred()) SWIG_fail
; 
27287         arg2 
= (int) SWIG_AsInt(obj1
);  
27288         if (PyErr_Occurred()) SWIG_fail
; 
27291         arg3 
= (int) SWIG_AsInt(obj2
);  
27292         if (PyErr_Occurred()) SWIG_fail
; 
27295         arg4 
= (int) SWIG_AsInt(obj3
);  
27296         if (PyErr_Occurred()) SWIG_fail
; 
27299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27300         result 
= (wxVideoMode 
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
); 
27302         wxPyEndAllowThreads(__tstate
); 
27303         if (PyErr_Occurred()) SWIG_fail
; 
27305     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1); 
27312 static PyObject 
*_wrap_delete_VideoMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27313     PyObject 
*resultobj
; 
27314     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27315     PyObject 
* obj0 
= 0 ; 
27316     char *kwnames
[] = { 
27317         (char *) "self", NULL 
 
27320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
; 
27321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27327         wxPyEndAllowThreads(__tstate
); 
27328         if (PyErr_Occurred()) SWIG_fail
; 
27330     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27337 static PyObject 
*_wrap_VideoMode_Matches(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27338     PyObject 
*resultobj
; 
27339     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27340     wxVideoMode 
*arg2 
= 0 ; 
27342     PyObject 
* obj0 
= 0 ; 
27343     PyObject 
* obj1 
= 0 ; 
27344     char *kwnames
[] = { 
27345         (char *) "self",(char *) "other", NULL 
 
27348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
; 
27349     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27350     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27351     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27354     if (arg2 
== NULL
) { 
27355         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27360         result 
= (bool)((wxVideoMode 
const *)arg1
)->Matches((wxVideoMode 
const &)*arg2
); 
27362         wxPyEndAllowThreads(__tstate
); 
27363         if (PyErr_Occurred()) SWIG_fail
; 
27366         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27374 static PyObject 
*_wrap_VideoMode_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27375     PyObject 
*resultobj
; 
27376     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27378     PyObject 
* obj0 
= 0 ; 
27379     char *kwnames
[] = { 
27380         (char *) "self", NULL 
 
27383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
; 
27384     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27385     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27387         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27388         result 
= (int)((wxVideoMode 
const *)arg1
)->GetWidth(); 
27390         wxPyEndAllowThreads(__tstate
); 
27391         if (PyErr_Occurred()) SWIG_fail
; 
27393     resultobj 
= SWIG_FromInt((int)result
); 
27400 static PyObject 
*_wrap_VideoMode_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27401     PyObject 
*resultobj
; 
27402     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27404     PyObject 
* obj0 
= 0 ; 
27405     char *kwnames
[] = { 
27406         (char *) "self", NULL 
 
27409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
; 
27410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27414         result 
= (int)((wxVideoMode 
const *)arg1
)->GetHeight(); 
27416         wxPyEndAllowThreads(__tstate
); 
27417         if (PyErr_Occurred()) SWIG_fail
; 
27419     resultobj 
= SWIG_FromInt((int)result
); 
27426 static PyObject 
*_wrap_VideoMode_GetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27427     PyObject 
*resultobj
; 
27428     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27430     PyObject 
* obj0 
= 0 ; 
27431     char *kwnames
[] = { 
27432         (char *) "self", NULL 
 
27435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
; 
27436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27440         result 
= (int)((wxVideoMode 
const *)arg1
)->GetDepth(); 
27442         wxPyEndAllowThreads(__tstate
); 
27443         if (PyErr_Occurred()) SWIG_fail
; 
27445     resultobj 
= SWIG_FromInt((int)result
); 
27452 static PyObject 
*_wrap_VideoMode_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27453     PyObject 
*resultobj
; 
27454     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27456     PyObject 
* obj0 
= 0 ; 
27457     char *kwnames
[] = { 
27458         (char *) "self", NULL 
 
27461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
; 
27462     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27463     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27465         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27466         result 
= (bool)((wxVideoMode 
const *)arg1
)->IsOk(); 
27468         wxPyEndAllowThreads(__tstate
); 
27469         if (PyErr_Occurred()) SWIG_fail
; 
27472         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27480 static PyObject 
*_wrap_VideoMode___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27481     PyObject 
*resultobj
; 
27482     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27483     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27485     PyObject 
* obj0 
= 0 ; 
27486     PyObject 
* obj1 
= 0 ; 
27487     char *kwnames
[] = { 
27488         (char *) "self",(char *) "other", NULL 
 
27491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27492     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27493     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27494     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27495     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27498         result 
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode 
const *)arg2
); 
27500         wxPyEndAllowThreads(__tstate
); 
27501         if (PyErr_Occurred()) SWIG_fail
; 
27504         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27512 static PyObject 
*_wrap_VideoMode___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27513     PyObject 
*resultobj
; 
27514     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27515     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27517     PyObject 
* obj0 
= 0 ; 
27518     PyObject 
* obj1 
= 0 ; 
27519     char *kwnames
[] = { 
27520         (char *) "self",(char *) "other", NULL 
 
27523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27524     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27525     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27526     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27527     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27530         result 
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode 
const *)arg2
); 
27532         wxPyEndAllowThreads(__tstate
); 
27533         if (PyErr_Occurred()) SWIG_fail
; 
27536         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27544 static PyObject 
*_wrap_VideoMode_w_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27545     PyObject 
*resultobj
; 
27546     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27548     PyObject 
* obj0 
= 0 ; 
27549     PyObject 
* obj1 
= 0 ; 
27550     char *kwnames
[] = { 
27551         (char *) "self",(char *) "w", NULL 
 
27554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27555     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27556     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27557     arg2 
= (int) SWIG_AsInt(obj1
);  
27558     if (PyErr_Occurred()) SWIG_fail
; 
27559     if (arg1
) (arg1
)->w 
= arg2
; 
27561     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27568 static PyObject 
*_wrap_VideoMode_w_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27569     PyObject 
*resultobj
; 
27570     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27572     PyObject 
* obj0 
= 0 ; 
27573     char *kwnames
[] = { 
27574         (char *) "self", NULL 
 
27577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
; 
27578     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27579     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27580     result 
= (int) ((arg1
)->w
); 
27582     resultobj 
= SWIG_FromInt((int)result
); 
27589 static PyObject 
*_wrap_VideoMode_h_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27590     PyObject 
*resultobj
; 
27591     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27593     PyObject 
* obj0 
= 0 ; 
27594     PyObject 
* obj1 
= 0 ; 
27595     char *kwnames
[] = { 
27596         (char *) "self",(char *) "h", NULL 
 
27599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27600     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27601     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27602     arg2 
= (int) SWIG_AsInt(obj1
);  
27603     if (PyErr_Occurred()) SWIG_fail
; 
27604     if (arg1
) (arg1
)->h 
= arg2
; 
27606     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27613 static PyObject 
*_wrap_VideoMode_h_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27614     PyObject 
*resultobj
; 
27615     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27617     PyObject 
* obj0 
= 0 ; 
27618     char *kwnames
[] = { 
27619         (char *) "self", NULL 
 
27622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
; 
27623     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27625     result 
= (int) ((arg1
)->h
); 
27627     resultobj 
= SWIG_FromInt((int)result
); 
27634 static PyObject 
*_wrap_VideoMode_bpp_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27635     PyObject 
*resultobj
; 
27636     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27638     PyObject 
* obj0 
= 0 ; 
27639     PyObject 
* obj1 
= 0 ; 
27640     char *kwnames
[] = { 
27641         (char *) "self",(char *) "bpp", NULL 
 
27644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27645     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27646     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27647     arg2 
= (int) SWIG_AsInt(obj1
);  
27648     if (PyErr_Occurred()) SWIG_fail
; 
27649     if (arg1
) (arg1
)->bpp 
= arg2
; 
27651     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27658 static PyObject 
*_wrap_VideoMode_bpp_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27659     PyObject 
*resultobj
; 
27660     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27662     PyObject 
* obj0 
= 0 ; 
27663     char *kwnames
[] = { 
27664         (char *) "self", NULL 
 
27667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
; 
27668     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27669     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27670     result 
= (int) ((arg1
)->bpp
); 
27672     resultobj 
= SWIG_FromInt((int)result
); 
27679 static PyObject 
*_wrap_VideoMode_refresh_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27680     PyObject 
*resultobj
; 
27681     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27683     PyObject 
* obj0 
= 0 ; 
27684     PyObject 
* obj1 
= 0 ; 
27685     char *kwnames
[] = { 
27686         (char *) "self",(char *) "refresh", NULL 
 
27689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27690     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27691     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27692     arg2 
= (int) SWIG_AsInt(obj1
);  
27693     if (PyErr_Occurred()) SWIG_fail
; 
27694     if (arg1
) (arg1
)->refresh 
= arg2
; 
27696     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27703 static PyObject 
*_wrap_VideoMode_refresh_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27704     PyObject 
*resultobj
; 
27705     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27707     PyObject 
* obj0 
= 0 ; 
27708     char *kwnames
[] = { 
27709         (char *) "self", NULL 
 
27712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
; 
27713     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27714     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27715     result 
= (int) ((arg1
)->refresh
); 
27717     resultobj 
= SWIG_FromInt((int)result
); 
27724 static PyObject 
* VideoMode_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27726     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27727     SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
); 
27729     return Py_BuildValue((char *)""); 
27731 static int _wrap_DefaultVideoMode_set(PyObject 
*_val
) { 
27732     PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only."); 
27737 static PyObject 
*_wrap_DefaultVideoMode_get() { 
27740     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0); 
27745 static PyObject 
*_wrap_new_Display(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27746     PyObject 
*resultobj
; 
27747     size_t arg1 
= (size_t) 0 ; 
27749     PyObject 
* obj0 
= 0 ; 
27750     char *kwnames
[] = { 
27751         (char *) "index", NULL 
 
27754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
; 
27756         arg1 
= (size_t) SWIG_AsUnsignedLong(obj0
);  
27757         if (PyErr_Occurred()) SWIG_fail
; 
27760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27761         result 
= (wxDisplay 
*)new wxDisplay(arg1
); 
27763         wxPyEndAllowThreads(__tstate
); 
27764         if (PyErr_Occurred()) SWIG_fail
; 
27766     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1); 
27773 static PyObject 
*_wrap_delete_Display(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27774     PyObject 
*resultobj
; 
27775     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27776     PyObject 
* obj0 
= 0 ; 
27777     char *kwnames
[] = { 
27778         (char *) "self", NULL 
 
27781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
; 
27782     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27785         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27788         wxPyEndAllowThreads(__tstate
); 
27789         if (PyErr_Occurred()) SWIG_fail
; 
27791     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27798 static PyObject 
*_wrap_Display_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27799     PyObject 
*resultobj
; 
27801     char *kwnames
[] = { 
27805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
; 
27807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27808         result 
= (size_t)wxDisplay::GetCount(); 
27810         wxPyEndAllowThreads(__tstate
); 
27811         if (PyErr_Occurred()) SWIG_fail
; 
27813     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
27820 static PyObject 
*_wrap_Display_GetFromPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27821     PyObject 
*resultobj
; 
27822     wxPoint 
*arg1 
= 0 ; 
27825     PyObject 
* obj0 
= 0 ; 
27826     char *kwnames
[] = { 
27827         (char *) "pt", NULL 
 
27830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
; 
27833         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
27836         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27837         result 
= (int)wxDisplay::GetFromPoint((wxPoint 
const &)*arg1
); 
27839         wxPyEndAllowThreads(__tstate
); 
27840         if (PyErr_Occurred()) SWIG_fail
; 
27842     resultobj 
= SWIG_FromInt((int)result
); 
27849 static PyObject 
*_wrap_Display_GetFromWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27850     PyObject 
*resultobj
; 
27851     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27853     PyObject 
* obj0 
= 0 ; 
27854     char *kwnames
[] = { 
27855         (char *) "window", NULL 
 
27858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
; 
27859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
27860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27863         result 
= (int)wxDisplay::GetFromWindow(arg1
); 
27865         wxPyEndAllowThreads(__tstate
); 
27866         if (PyErr_Occurred()) SWIG_fail
; 
27868     resultobj 
= SWIG_FromInt((int)result
); 
27875 static PyObject 
*_wrap_Display_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27876     PyObject 
*resultobj
; 
27877     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27879     PyObject 
* obj0 
= 0 ; 
27880     char *kwnames
[] = { 
27881         (char *) "self", NULL 
 
27884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
; 
27885     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27886     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27889         result 
= (bool)((wxDisplay 
const *)arg1
)->IsOk(); 
27891         wxPyEndAllowThreads(__tstate
); 
27892         if (PyErr_Occurred()) SWIG_fail
; 
27895         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27903 static PyObject 
*_wrap_Display_GetGeometry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27904     PyObject 
*resultobj
; 
27905     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27907     PyObject 
* obj0 
= 0 ; 
27908     char *kwnames
[] = { 
27909         (char *) "self", NULL 
 
27912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
; 
27913     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27914     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27917         result 
= ((wxDisplay 
const *)arg1
)->GetGeometry(); 
27919         wxPyEndAllowThreads(__tstate
); 
27920         if (PyErr_Occurred()) SWIG_fail
; 
27923         wxRect 
* resultptr
; 
27924         resultptr 
= new wxRect((wxRect 
&) result
); 
27925         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
27933 static PyObject 
*_wrap_Display_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27934     PyObject 
*resultobj
; 
27935     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27937     PyObject 
* obj0 
= 0 ; 
27938     char *kwnames
[] = { 
27939         (char *) "self", NULL 
 
27942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
; 
27943     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27944     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27947         result 
= ((wxDisplay 
const *)arg1
)->GetName(); 
27949         wxPyEndAllowThreads(__tstate
); 
27950         if (PyErr_Occurred()) SWIG_fail
; 
27954         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27956         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27965 static PyObject 
*_wrap_Display_IsPrimary(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27966     PyObject 
*resultobj
; 
27967     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27969     PyObject 
* obj0 
= 0 ; 
27970     char *kwnames
[] = { 
27971         (char *) "self", NULL 
 
27974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
; 
27975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27978         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27979         result 
= (bool)((wxDisplay 
const *)arg1
)->IsPrimary(); 
27981         wxPyEndAllowThreads(__tstate
); 
27982         if (PyErr_Occurred()) SWIG_fail
; 
27985         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27993 static PyObject 
*_wrap_Display_GetModes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27994     PyObject 
*resultobj
; 
27995     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27996     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
27997     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
27999     PyObject 
* obj0 
= 0 ; 
28000     PyObject 
* obj1 
= 0 ; 
28001     char *kwnames
[] = { 
28002         (char *) "self",(char *) "mode", NULL 
 
28005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
; 
28006     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28007     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28009         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
28010         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28012         if (arg2 
== NULL
) { 
28013             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28019         result 
= (PyObject 
*)wxDisplay_GetModes(arg1
,(wxVideoMode 
const &)*arg2
); 
28021         wxPyEndAllowThreads(__tstate
); 
28022         if (PyErr_Occurred()) SWIG_fail
; 
28024     resultobj 
= result
; 
28031 static PyObject 
*_wrap_Display_GetCurrentMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28032     PyObject 
*resultobj
; 
28033     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28034     wxVideoMode result
; 
28035     PyObject 
* obj0 
= 0 ; 
28036     char *kwnames
[] = { 
28037         (char *) "self", NULL 
 
28040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
; 
28041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28044         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28045         result 
= ((wxDisplay 
const *)arg1
)->GetCurrentMode(); 
28047         wxPyEndAllowThreads(__tstate
); 
28048         if (PyErr_Occurred()) SWIG_fail
; 
28051         wxVideoMode 
* resultptr
; 
28052         resultptr 
= new wxVideoMode((wxVideoMode 
&) result
); 
28053         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1); 
28061 static PyObject 
*_wrap_Display_ChangeMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28062     PyObject 
*resultobj
; 
28063     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28064     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
28065     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
28067     PyObject 
* obj0 
= 0 ; 
28068     PyObject 
* obj1 
= 0 ; 
28069     char *kwnames
[] = { 
28070         (char *) "self",(char *) "mode", NULL 
 
28073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
28074     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28075     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28077         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
28078         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28080         if (arg2 
== NULL
) { 
28081             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28087         result 
= (bool)(arg1
)->ChangeMode((wxVideoMode 
const &)*arg2
); 
28089         wxPyEndAllowThreads(__tstate
); 
28090         if (PyErr_Occurred()) SWIG_fail
; 
28093         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28101 static PyObject 
*_wrap_Display_ResetMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28102     PyObject 
*resultobj
; 
28103     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28104     PyObject 
* obj0 
= 0 ; 
28105     char *kwnames
[] = { 
28106         (char *) "self", NULL 
 
28109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
; 
28110     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28111     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28114         (arg1
)->ResetMode(); 
28116         wxPyEndAllowThreads(__tstate
); 
28117         if (PyErr_Occurred()) SWIG_fail
; 
28119     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28126 static PyObject 
* Display_swigregister(PyObject 
*self
, PyObject 
*args
) { 
28128     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28129     SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
); 
28131     return Py_BuildValue((char *)""); 
28133 static PyMethodDef SwigMethods
[] = { 
28134          { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28135          { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28136          { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28137          { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28138          { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28139          { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28140          { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS 
}, 
28141          { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28142          { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28143          { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28144          { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28145          { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28146          { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28147          { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS 
}, 
28148          { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28149          { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28150          { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28151          { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28152          { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28153          { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28154          { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28155          { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28156          { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28157          { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28158          { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28159          { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28160          { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28161          { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28162          { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28163          { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28164          { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28165          { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28166          { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28167          { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28168          { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28169          { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28170          { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28171          { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28172          { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28173          { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28174          { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28175          { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28176          { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28177          { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28178          { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28179          { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28180          { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28181          { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28182          { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28183          { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28184          { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28185          { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28186          { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28187          { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28188          { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28189          { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28190          { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28191          { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28192          { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28193          { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28194          { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28195          { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28196          { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28197          { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28198          { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28199          { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28200          { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28201          { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28202          { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28203          { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28204          { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28205          { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28206          { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28207          { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS 
}, 
28208          { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28209          { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28210          { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28211          { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28212          { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28213          { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28214          { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28215          { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS 
}, 
28216          { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28217          { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28218          { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28219          { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28220          { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28221          { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28222          { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28223          { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28224          { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28225          { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28226          { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28227          { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28228          { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28229          { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28230          { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28231          { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS 
}, 
28232          { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28233          { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28234          { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28235          { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28236          { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS 
}, 
28237          { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28238          { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28239          { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS 
}, 
28240          { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28241          { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28242          { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS 
}, 
28243          { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28244          { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28245          { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28246          { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28247          { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28248          { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS 
}, 
28249          { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28250          { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28251          { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28252          { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28253          { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28254          { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28255          { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28256          { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28257          { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28258          { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28259          { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28260          { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28261          { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28262          { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS 
}, 
28263          { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28264          { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28265          { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28266          { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28267          { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28268          { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS 
}, 
28269          { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28270          { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28271          { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28272          { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28273          { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28274          { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS 
}, 
28275          { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28276          { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28277          { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS 
}, 
28278          { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28279          { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28280          { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28281          { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28282          { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28283          { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28284          { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28285          { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28286          { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28287          { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28288          { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28289          { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28290          { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28291          { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS 
}, 
28292          { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28293          { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28294          { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS 
}, 
28295          { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS 
}, 
28296          { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28297          { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28298          { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS 
}, 
28299          { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28300          { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28301          { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28302          { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28303          { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28304          { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28305          { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28306          { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28307          { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28308          { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28309          { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28310          { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28311          { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28312          { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28313          { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28314          { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28315          { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28316          { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28317          { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28318          { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28319          { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28320          { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28321          { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28322          { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28323          { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28324          { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28325          { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS 
}, 
28326          { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28327          { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS 
}, 
28328          { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28329          { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS 
}, 
28330          { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28331          { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS 
}, 
28332          { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28333          { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28334          { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28335          { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28336          { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28337          { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28338          { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS 
}, 
28339          { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28340          { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28341          { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28342          { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28343          { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28344          { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS 
}, 
28345          { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28346          { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28347          { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28348          { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28349          { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28350          { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28351          { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28352          { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28353          { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28354          { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28355          { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28356          { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28357          { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS 
}, 
28358          { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28359          { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28360          { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28361          { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28362          { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS 
}, 
28363          { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28364          { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28365          { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS 
}, 
28366          { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28367          { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28368          { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28369          { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28370          { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28371          { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28372          { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28373          { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28374          { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28375          { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28376          { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28377          { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28378          { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28379          { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28380          { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28381          { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28382          { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS 
}, 
28383          { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28384          { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28385          { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28386          { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28387          { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28388          { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28389          { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28390          { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS 
}, 
28391          { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28392          { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28393          { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28394          { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28395          { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28396          { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28397          { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28398          { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28399          { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28400          { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28401          { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28402          { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28403          { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28404          { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28405          { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28406          { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28407          { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28408          { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28409          { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28410          { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28411          { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28412          { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28413          { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28414          { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28415          { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28416          { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28417          { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28418          { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28419          { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28420          { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28421          { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28422          { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28423          { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28424          { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28425          { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28426          { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28427          { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28428          { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28429          { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28430          { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28431          { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28432          { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28433          { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28434          { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28435          { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28436          { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS 
}, 
28437          { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28438          { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28439          { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28440          { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28441          { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28442          { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28443          { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28444          { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28445          { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28446          { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28447          { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28448          { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28449          { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28450          { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28451          { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28452          { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28453          { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28454          { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28455          { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28456          { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28457          { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28458          { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28459          { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28460          { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28461          { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28462          { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28463          { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28464          { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS 
}, 
28465          { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28466          { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28467          { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28468          { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28469          { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28470          { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28471          { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28472          { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28473          { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28474          { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS 
}, 
28475          { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28476          { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28477          { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28478          { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28479          { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28480          { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28481          { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28482          { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28483          { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28484          { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28485          { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28486          { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28487          { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28488          { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28489          { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28490          { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS 
}, 
28491          { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28492          { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28493          { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28494          { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28495          { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28496          { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28497          { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28498          { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28499          { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28500          { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28501          { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28502          { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28503          { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28504          { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28505          { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28506          { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS 
}, 
28507          { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28508          { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28509          { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28510          { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28511          { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28512          { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28513          { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28514          { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28515          { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28516          { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28517          { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28518          { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28519          { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28520          { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS 
}, 
28521          { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28522          { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28523          { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28524          { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28525          { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28526          { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28527          { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28528          { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28529          { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS 
}, 
28530          { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28531          { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28532          { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28533          { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28534          { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28535          { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28536          { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28537          { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28538          { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28539          { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28540          { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28541          { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28542          { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28543          { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28544          { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28545          { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28546          { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28547          { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28548          { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28549          { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28550          { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28551          { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28552          { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28553          { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28554          { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28555          { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28556          { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28557          { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28558          { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28559          { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28560          { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28561          { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28562          { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28563          { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28564          { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28565          { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28566          { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28567          { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28568          { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28569          { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28570          { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28571          { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28572          { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS 
}, 
28573          { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28574          { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28575          { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS 
}, 
28576          { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28577          { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28578          { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS 
}, 
28579          { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28580          { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28581          { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28582          { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS 
}, 
28583          { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28584          { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28585          { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28586          { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28587          { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28588          { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28589          { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28590          { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28591          { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28592          { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28593          { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28594          { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28595          { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28596          { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28597          { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28598          { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28599          { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28600          { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28601          { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28602          { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28603          { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28604          { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28605          { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28606          { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28607          { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28608          { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28609          { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28610          { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28611          { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28612          { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28613          { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28614          { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28615          { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28616          { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28617          { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28618          { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28619          { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28620          { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28621          { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28622          { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28623          { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28624          { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28625          { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28626          { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28627          { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28628          { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28629          { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28630          { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28631          { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28632          { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28633          { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28634          { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28635          { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28636          { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28637          { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28638          { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28639          { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28640          { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28641          { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28642          { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28643          { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28644          { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28645          { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28646          { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28647          { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28648          { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28649          { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28650          { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28651          { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28652          { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28653          { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28654          { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28655          { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28656          { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28657          { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28658          { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28659          { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28660          { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28661          { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28662          { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28663          { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28664          { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28665          { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28666          { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28667          { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28668          { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28669          { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28670          { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28671          { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28672          { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28673          { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28674          { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS 
}, 
28675          { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS 
}, 
28676          { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS 
}, 
28677          { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS 
}, 
28678          { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS 
}, 
28679          { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS 
}, 
28680          { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS 
}, 
28681          { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS 
}, 
28682          { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS 
}, 
28683          { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS 
}, 
28684          { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28685          { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28686          { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28687          { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28688          { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28689          { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28690          { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28691          { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28692          { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28693          { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28694          { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS 
}, 
28695          { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28696          { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28697          { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28698          { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28699          { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28700          { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28701          { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28702          { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28703          { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28704          { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28705          { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28706          { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28707          { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28708          { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28709          { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28710          { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28711          { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28712          { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28713          { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28714          { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28715          { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28716          { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28717          { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28718          { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28719          { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28720          { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28721          { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28722          { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28723          { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28724          { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28725          { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28726          { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28727          { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28728          { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28729          { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28730          { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28731          { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28732          { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28733          { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28734          { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28735          { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28736          { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28737          { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28738          { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28739          { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS 
}, 
28740          { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28741          { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28742          { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28743          { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28744          { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28745          { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28746          { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28747          { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28748          { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28749          { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28750          { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28751          { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28752          { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28753          { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28754          { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28755          { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28756          { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28757          { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28758          { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28759          { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28760          { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28761          { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28762          { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28763          { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28764          { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28765          { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28766          { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28767          { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28768          { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28769          { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28770          { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28771          { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28772          { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28773          { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS 
}, 
28774          { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28775          { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28776          { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28777          { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28778          { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28779          { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28780          { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28781          { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS 
}, 
28782          { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS 
}, 
28783          { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28784          { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28785          { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28786          { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28787          { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS 
}, 
28788          { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28789          { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28790          { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28791          { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28792          { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28793          { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28794          { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28795          { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28796          { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS 
}, 
28797          { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28798          { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28799          { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28800          { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28801          { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28802          { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28803          { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS 
}, 
28804          { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28805          { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28806          { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS 
}, 
28807          { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28808          { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28809          { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS 
}, 
28810          { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28811          { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28812          { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28813          { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28814          { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS 
}, 
28815          { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28816          { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28817          { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS 
}, 
28818          { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28819          { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28820          { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28821          { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS 
}, 
28822          { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28823          { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28824          { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS 
}, 
28825          { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28826          { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28827          { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28828          { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS 
}, 
28829          { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28830          { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28831          { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28832          { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28833          { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS 
}, 
28834          { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28835          { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28836          { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28837          { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS 
}, 
28838          { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28839          { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28840          { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28841          { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS 
}, 
28842          { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28843          { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28844          { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28845          { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28846          { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28847          { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28848          { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28849          { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28850          { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28851          { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS 
}, 
28852          { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28853          { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28854          { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28855          { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28856          { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28857          { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28858          { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28859          { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28860          { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28861          { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28862          { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS 
}, 
28863          { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28864          { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28865          { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28866          { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28867          { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28868          { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28869          { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28870          { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS 
}, 
28871          { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28872          { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28873          { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28874          { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28875          { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28876          { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28877          { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28878          { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS 
}, 
28879          { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28880          { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28881          { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28882          { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28883          { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28884          { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28885          { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28886          { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28887          { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28888          { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28889          { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28890          { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28891          { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS 
}, 
28892          { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28893          { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28894          { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28895          { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS 
}, 
28896          { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28897          { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28898          { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28899          { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28900          { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28901          { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28902          { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28903          { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28904          { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28905          { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28906          { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28907          { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28908          { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28909          { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28910          { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28911          { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28912          { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28913          { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS 
}, 
28914          { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28915          { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28916          { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28917          { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28918          { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28919          { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28920          { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28921          { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28922          { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28923          { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28924          { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28925          { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28926          { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28927          { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS 
}, 
28932 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
28934 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
28935     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
28937 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
28938     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
28940 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
28941     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
28943 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
28944     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
28946 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
28947     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
28949 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
28950     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
28952 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) { 
28953     return (void *)((wxEvent 
*)  ((wxTimerEvent 
*) x
)); 
28955 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
28956     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
28958 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
28959     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
28961 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
28962     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
28964 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
28965     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
28967 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) { 
28968     return (void *)((wxEvent 
*)  ((wxJoystickEvent 
*) x
)); 
28970 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
28971     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
28973 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
28974     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
28976 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
28977     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
28979 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
28980     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
28982 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
28983     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
28985 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
28986     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
28988 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
28989     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
28991 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
28992     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
28994 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
28995     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
28997 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
28998     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
29000 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
29001     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29003 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
29004     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
29006 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
29007     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
29009 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
29010     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
29012 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
29013     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
29015 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
29016     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
29018 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
29019     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
29021 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
29022     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29024 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) { 
29025     return (void *)((wxEvent 
*)  ((wxProcessEvent 
*) x
)); 
29027 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
29028     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
29030 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
29031     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
29033 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
29034     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29036 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
29037     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29039 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
29040     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
29042 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
29043     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
29045 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
29046     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
29048 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) { 
29049     return (void *)((wxConfigBase 
*)  ((wxFileConfig 
*) x
)); 
29051 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) { 
29052     return (void *)((wxConfigBase 
*)  ((wxConfig 
*) x
)); 
29054 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) { 
29055     return (void *)((wxBitmapDataObject 
*)  ((wxPyBitmapDataObject 
*) x
)); 
29057 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) { 
29058     return (void *)((wxTextDataObject 
*)  ((wxPyTextDataObject 
*) x
)); 
29060 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29061     return (void *)((wxDataObject 
*)  ((wxDataObjectSimple 
*) x
)); 
29063 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29064     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxPyDataObjectSimple 
*) x
)); 
29066 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) { 
29067     return (void *)((wxDataObject 
*)  ((wxDataObjectComposite 
*) x
)); 
29069 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) { 
29070     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxTextDataObject 
*) x
)); 
29072 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) { 
29073     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29075 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29076     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxBitmapDataObject 
*) x
)); 
29078 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29079     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29081 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) { 
29082     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxFileDataObject 
*) x
)); 
29084 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) { 
29085     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxCustomDataObject 
*) x
)); 
29087 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) { 
29088     return (void *)((wxDataObject 
*) (wxDataObjectComposite 
*) ((wxURLDataObject 
*) x
)); 
29090 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) { 
29091     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxMetafileDataObject 
*) x
)); 
29093 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) { 
29094     return (void *)((wxDataObjectComposite 
*)  ((wxURLDataObject 
*) x
)); 
29096 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) { 
29097     return (void *)((wxDataObjectSimple 
*)  ((wxPyDataObjectSimple 
*) x
)); 
29099 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29100     return (void *)((wxDataObjectSimple 
*)  ((wxTextDataObject 
*) x
)); 
29102 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29103     return (void *)((wxDataObjectSimple 
*) (wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29105 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29106     return (void *)((wxDataObjectSimple 
*)  ((wxBitmapDataObject 
*) x
)); 
29108 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29109     return (void *)((wxDataObjectSimple 
*) (wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29111 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29112     return (void *)((wxDataObjectSimple 
*)  ((wxFileDataObject 
*) x
)); 
29114 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29115     return (void *)((wxDataObjectSimple 
*)  ((wxCustomDataObject 
*) x
)); 
29117 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29118     return (void *)((wxDataObjectSimple 
*)  ((wxMetafileDataObject 
*) x
)); 
29120 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
29121     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
29123 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
29124     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
29126 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
29127     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29129 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
29130     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
29132 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) { 
29133     return (void *)((wxEvtHandler 
*)  ((wxPyTimer 
*) x
)); 
29135 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
29136     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
29138 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
29139     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
29141 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
29142     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
29144 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
29145     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
29147 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) { 
29148     return (void *)((wxEvtHandler 
*)  ((wxPyProcess 
*) x
)); 
29150 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) { 
29151     return (void *)((wxTipProvider 
*)  ((wxPyTipProvider 
*) x
)); 
29153 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
29154     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
29156 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
29157     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
29159 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
29160     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
29162 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
29163     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
29165 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
29166     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
29168 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
29169     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
29171 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
29172     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
29174 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
29175     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
29177 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
29178     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
29180 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) { 
29181     return (void *)((wxObject 
*)  ((wxFileHistory 
*) x
)); 
29183 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
29184     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29186 static void *_p_wxEventTo_p_wxObject(void *x
) { 
29187     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
29189 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
29190     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
29192 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
29193     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
29195 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
29196     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
29198 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
29199     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
29201 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
29202     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
29204 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
29205     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
29207 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
29208     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
29210 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
29211     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
29213 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
29214     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
29216 static void *_p_wxControlTo_p_wxObject(void *x
) { 
29217     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
29219 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
29220     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
29222 static void *_p_wxTimerEventTo_p_wxObject(void *x
) { 
29223     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTimerEvent 
*) x
)); 
29225 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
29226     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
29228 static void *_p_wxClipboardTo_p_wxObject(void *x
) { 
29229     return (void *)((wxObject 
*)  ((wxClipboard 
*) x
)); 
29231 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
29232     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
29234 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
29235     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
29237 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
29238     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
29240 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
29241     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
29243 static void *_p_wxToolTipTo_p_wxObject(void *x
) { 
29244     return (void *)((wxObject 
*)  ((wxToolTip 
*) x
)); 
29246 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
29247     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
29249 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
29250     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
29252 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
29253     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
29255 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
29256     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
29258 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
29259     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
29261 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
29262     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
29264 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
29265     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
29267 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
29268     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
29270 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
29271     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
29273 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
29274     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
29276 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
29277     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
29279 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
29280     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
29282 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
29283     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
29285 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
29286     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
29288 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
29289     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
29291 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
29292     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
29294 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
29295     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
29297 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
29298     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
29300 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
29301     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
29303 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
29304     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
29306 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
29307     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
29309 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
29310     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
29312 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
29313     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
29315 static void *_p_wxImageTo_p_wxObject(void *x
) { 
29316     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
29318 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
29319     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
29321 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) { 
29322     return (void *)((wxObject 
*)  ((wxSystemOptions 
*) x
)); 
29324 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) { 
29325     return (void *)((wxObject 
*) (wxEvent 
*) ((wxJoystickEvent 
*) x
)); 
29327 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
29328     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29330 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
29331     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
29333 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
29334     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
29336 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
29337     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
29339 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
29340     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
29342 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
29343     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
29345 static void *_p_wxPyProcessTo_p_wxObject(void *x
) { 
29346     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyProcess 
*) x
)); 
29348 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
29349     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
29351 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
29352     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
29354 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
29355     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
29357 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
29358     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
29360 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
29361     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
29363 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
29364     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
29366 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
29367     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
29369 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) { 
29370     return (void *)((wxObject 
*)  ((wxBusyInfo 
*) x
)); 
29372 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
29373     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29375 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
29376     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
29378 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
29379     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
29381 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
29382     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
29384 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
29385     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29387 static void *_p_wxProcessEventTo_p_wxObject(void *x
) { 
29388     return (void *)((wxObject 
*) (wxEvent 
*) ((wxProcessEvent 
*) x
)); 
29390 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
29391     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29393 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
29394     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
29396 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
29397     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
29399 static void *_p_wxPyTimerTo_p_wxObject(void *x
) { 
29400     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTimer 
*) x
)); 
29402 static void *_p_wxLogStderrTo_p_wxLog(void *x
) { 
29403     return (void *)((wxLog 
*)  ((wxLogStderr 
*) x
)); 
29405 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) { 
29406     return (void *)((wxLog 
*)  ((wxLogTextCtrl 
*) x
)); 
29408 static void *_p_wxLogWindowTo_p_wxLog(void *x
) { 
29409     return (void *)((wxLog 
*)  ((wxLogWindow 
*) x
)); 
29411 static void *_p_wxLogChainTo_p_wxLog(void *x
) { 
29412     return (void *)((wxLog 
*)  ((wxLogChain 
*) x
)); 
29414 static void *_p_wxLogGuiTo_p_wxLog(void *x
) { 
29415     return (void *)((wxLog 
*)  ((wxLogGui 
*) x
)); 
29417 static void *_p_wxPyLogTo_p_wxLog(void *x
) { 
29418     return (void *)((wxLog 
*)  ((wxPyLog 
*) x
)); 
29420 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
29421     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
29423 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
29424     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
29426 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
29427     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
29429 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) { 
29430     return (void *)((wxPyDropTarget 
*)  ((wxPyTextDropTarget 
*) x
)); 
29432 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) { 
29433     return (void *)((wxPyDropTarget 
*)  ((wxPyFileDropTarget 
*) x
)); 
29435 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}}; 
29436 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}}; 
29437 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}}; 
29438 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}}; 
29439 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}}; 
29440 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}}; 
29441 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}}; 
29442 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}}; 
29443 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}}; 
29444 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}}; 
29445 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}}; 
29446 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}}; 
29447 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}}; 
29448 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}}; 
29449 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}}; 
29450 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}}; 
29451 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}}; 
29452 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}}; 
29453 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}}; 
29454 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}}; 
29455 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}}; 
29456 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}}; 
29457 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}}; 
29458 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}}; 
29459 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}}; 
29460 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}}; 
29461 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}}; 
29462 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}}; 
29463 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}}; 
29464 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}}; 
29465 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}}; 
29466 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}}; 
29467 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}}; 
29468 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}}; 
29469 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}}; 
29470 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}}; 
29471 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}}; 
29472 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}}; 
29473 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}}; 
29474 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}}; 
29475 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}}; 
29476 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}}; 
29477 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}}; 
29478 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}}; 
29479 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}}; 
29480 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}}; 
29481 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}}; 
29482 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}}; 
29483 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}}; 
29484 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}}; 
29485 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}}; 
29486 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}}; 
29487 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}}; 
29488 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}}; 
29489 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}}; 
29490 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}}; 
29491 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}}; 
29492 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}}; 
29493 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}}; 
29494 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}}; 
29495 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}}; 
29496 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}}; 
29497 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}}; 
29498 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}}; 
29499 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}}; 
29500 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}}; 
29501 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}}; 
29502 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}}; 
29503 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}}; 
29504 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}}; 
29505 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}}; 
29506 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}}; 
29507 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}}; 
29508 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}}; 
29509 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}}; 
29510 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}}; 
29511 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}}; 
29512 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}}; 
29513 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}}; 
29514 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}}; 
29515 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}}; 
29516 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}}; 
29517 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}}; 
29518 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}}; 
29519 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}}; 
29520 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}}; 
29522 static swig_type_info 
*swig_types_initial
[] = { 
29523 _swigt__p_wxLogChain
,  
29524 _swigt__p_wxMutexGuiLocker
,  
29525 _swigt__p_wxMetafile
,  
29526 _swigt__p_wxFileHistory
,  
29528 _swigt__p_wxDateTime__TimeZone
,  
29531 _swigt__p_wxConfigBase
,  
29532 _swigt__p_wxDisplay
,  
29533 _swigt__p_wxFileType
,  
29534 _swigt__p_wxLogGui
,  
29536 _swigt__p_wxDataFormat
,  
29537 _swigt__p_wxTimerEvent
,  
29541 _swigt__p_wxClipboard
,  
29542 _swigt__p_wxStopWatch
,  
29544 _swigt__p_wxClipboardLocker
,  
29546 _swigt__p_wxLogStderr
,  
29547 _swigt__p_wxLogTextCtrl
,  
29548 _swigt__p_wxTextCtrl
,  
29549 _swigt__p_wxBusyCursor
,  
29550 _swigt__p_wxPyBitmapDataObject
,  
29551 _swigt__p_wxPyTextDataObject
,  
29552 _swigt__p_wxBitmapDataObject
,  
29553 _swigt__p_wxTextDataObject
,  
29554 _swigt__p_wxDataObject
,  
29555 _swigt__p_wxFileDataObject
,  
29556 _swigt__p_wxCustomDataObject
,  
29557 _swigt__p_wxURLDataObject
,  
29558 _swigt__p_wxMetafileDataObject
,  
29560 _swigt__p_wxTimerRunner
,  
29561 _swigt__p_wxLogWindow
,  
29562 _swigt__p_wxTimeSpan
,  
29563 _swigt__p_wxArrayString
,  
29564 _swigt__p_wxWindowDisabler
,  
29565 _swigt__p_wxToolTip
,  
29566 _swigt__p_wxDataObjectComposite
,  
29567 _swigt__p_wxFileConfig
,  
29568 _swigt__p_wxSystemSettings
,  
29569 _swigt__p_wxVideoMode
,  
29570 _swigt__p_wxPyDataObjectSimple
,  
29571 _swigt__p_wxDataObjectSimple
,  
29572 _swigt__p_wxEvtHandler
,  
29575 _swigt__p_wxSingleInstanceChecker
,  
29576 _swigt__p_wxFileTypeInfo
,  
29579 _swigt__p_wxMimeTypesManager
,  
29580 _swigt__p_wxPyArtProvider
,  
29581 _swigt__p_wxPyTipProvider
,  
29582 _swigt__p_wxTipProvider
,  
29583 _swigt__p_wxJoystick
,  
29584 _swigt__p_wxSystemOptions
,  
29586 _swigt__p_wxJoystickEvent
,  
29587 _swigt__p_wxCursor
,  
29588 _swigt__p_wxObject
,  
29589 _swigt__p_wxOutputStream
,  
29590 _swigt__p_wxDateTime
,  
29591 _swigt__p_wxPyDropSource
,  
29592 _swigt__p_wxWindow
,  
29593 _swigt__p_wxString
,  
29594 _swigt__p_wxPyProcess
,  
29595 _swigt__p_wxBitmap
,  
29596 _swigt__p_wxConfig
,  
29598 _swigt__p_wxBusyInfo
,  
29599 _swigt__p_wxPyDropTarget
,  
29600 _swigt__p_wxPyTextDropTarget
,  
29601 _swigt__p_wxPyFileDropTarget
,  
29602 _swigt__p_wxProcessEvent
,  
29604 _swigt__p_wxLogNull
,  
29605 _swigt__p_wxColour
,  
29606 _swigt__p_wxConfigPathChanger
,  
29607 _swigt__p_wxPyTimer
,  
29608 _swigt__p_wxDateSpan
,  
29613 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
29615 static swig_const_info swig_const_table
[] = { 
29616 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
}, 
29617 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
}, 
29618 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
}, 
29619 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
}, 
29620 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
}, 
29630 SWIGEXPORT(void) SWIG_init(void) { 
29631     static PyObject 
*SWIG_globals 
= 0;  
29632     static int       typeinit 
= 0; 
29635     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
29636     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
29637     d 
= PyModule_GetDict(m
); 
29640         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
29641             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
29645     SWIG_InstallConstants(d
,swig_const_table
); 
29647     PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
)); 
29648     PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
)); 
29649     PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
)); 
29650     PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
)); 
29651     PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
)); 
29652     PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
)); 
29653     PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
)); 
29654     PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
)); 
29655     PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
)); 
29656     PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
)); 
29657     PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
)); 
29658     PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
)); 
29659     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
)); 
29660     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
)); 
29661     PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
)); 
29662     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
)); 
29663     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
)); 
29664     PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
)); 
29665     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
)); 
29666     PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
)); 
29667     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
)); 
29668     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
)); 
29669     PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
)); 
29670     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
)); 
29671     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
)); 
29672     PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
)); 
29673     PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
)); 
29674     PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
)); 
29675     PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
)); 
29676     PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
)); 
29677     PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
)); 
29678     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
)); 
29679     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
)); 
29680     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
)); 
29681     PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
)); 
29682     PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
)); 
29683     PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
)); 
29684     PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
)); 
29685     PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
)); 
29686     PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
)); 
29687     PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
)); 
29688     PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
)); 
29689     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
)); 
29690     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)); 
29691     PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
)); 
29692     PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
)); 
29693     PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
)); 
29694     PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
)); 
29695     PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
)); 
29696     PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
)); 
29697     PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
)); 
29698     PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
)); 
29699     PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
)); 
29700     PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
)); 
29701     PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
)); 
29702     PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
)); 
29703     PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
)); 
29704     PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
)); 
29705     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
)); 
29706     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
)); 
29707     PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
)); 
29708     PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
)); 
29709     PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
)); 
29710     PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
)); 
29711     PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
)); 
29712     PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
)); 
29713     PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
)); 
29714     PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
)); 
29715     PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
)); 
29716     PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
)); 
29717     PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
)); 
29718     PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
)); 
29719     PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
)); 
29720     PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
)); 
29721     PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
)); 
29722     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
)); 
29723     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
)); 
29724     PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
)); 
29725     PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
)); 
29726     PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
)); 
29727     PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
)); 
29728     PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
)); 
29729     PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
)); 
29730     PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
)); 
29731     PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
)); 
29732     PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
)); 
29733     PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
)); 
29734     PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
)); 
29735     PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
)); 
29736     PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
)); 
29737     PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
)); 
29738     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
29739     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
); 
29740     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
); 
29741     SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
); 
29742     PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
)); 
29743     PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
)); 
29744     PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
)); 
29745     PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
)); 
29746     PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
)); 
29748     wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer"); 
29750     PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
)); 
29751     PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
)); 
29752     PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
)); 
29753     PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
)); 
29754     PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
)); 
29755     PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
)); 
29756     PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
)); 
29757     PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
)); 
29758     PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
)); 
29759     PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
)); 
29760     PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
)); 
29761     PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc")); 
29762     PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages")); 
29763     PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc")); 
29764     PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount")); 
29765     PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole")); 
29766     PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001)); 
29767     PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002)); 
29768     PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004)); 
29769     PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008)); 
29770     PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100)); 
29771     PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
)); 
29772     PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
)); 
29773     PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
)); 
29774     PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
)); 
29775     PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
)); 
29776     PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
)); 
29777     PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
)); 
29778     PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
)); 
29779     PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
)); 
29780     PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
)); 
29781     PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
)); 
29782     PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
)); 
29783     PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
)); 
29784     PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
)); 
29785     PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
)); 
29786     PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
)); 
29787     PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
)); 
29788     PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
)); 
29789     PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
)); 
29790     PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
)); 
29791     PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
)); 
29792     PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
)); 
29793     PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
)); 
29794     PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
)); 
29795     PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
)); 
29796     PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
)); 
29797     PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
)); 
29798     PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
)); 
29799     PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
)); 
29801     wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); 
29803     PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
)); 
29804     PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
)); 
29805     PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
)); 
29806     PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
)); 
29807     PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
)); 
29808     PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
)); 
29809     PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
)); 
29810     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
)); 
29811     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
)); 
29812     PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
)); 
29813     PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
)); 
29814     PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
)); 
29815     PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
)); 
29816     PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
)); 
29817     PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
)); 
29818     PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
)); 
29819     PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
)); 
29820     PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
)); 
29821     PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
)); 
29822     SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
); 
29823     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
); 
29824     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
); 
29825     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
); 
29826     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
); 
29827     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
); 
29828     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
); 
29829     SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
); 
29830     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
); 
29831     SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
); 
29832     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
); 
29833     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
); 
29834     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
); 
29835     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
); 
29836     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
); 
29837     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
); 
29838     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
); 
29839     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
); 
29840     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
); 
29841     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
); 
29842     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
); 
29843     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
); 
29844     SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
); 
29845     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
); 
29846     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
); 
29847     SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
); 
29848     SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
); 
29849     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
); 
29850     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
); 
29851     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
); 
29852     SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
); 
29853     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
); 
29854     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
); 
29855     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
); 
29856     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
); 
29857     SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
); 
29858     SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
); 
29859     SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
); 
29860     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
); 
29862     wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider"); 
29864     PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
)); 
29865     PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
)); 
29866     PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
)); 
29867     PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)); 
29868     PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
)); 
29869     PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
)); 
29870     PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
)); 
29871     PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
)); 
29872     PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
)); 
29873     SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
); 
29874     SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
); 
29875     PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
)); 
29876     PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
)); 
29877     PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
)); 
29878     PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
)); 
29879     PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
)); 
29880     PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
)); 
29881     PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
)); 
29882     PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
)); 
29883     PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
)); 
29884     PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
)); 
29885     PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
)); 
29886     PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
)); 
29887     PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
)); 
29888     PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
)); 
29889     PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
)); 
29890     PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
)); 
29891     PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
)); 
29892     PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
)); 
29893     PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
)); 
29894     PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
)); 
29895     PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
)); 
29896     PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
)); 
29897     PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
)); 
29898     PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
)); 
29899     PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
)); 
29900     PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
)); 
29901     PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
)); 
29902     PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
)); 
29903     PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
)); 
29904     PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
)); 
29905     PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
)); 
29906     PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
)); 
29907     PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
)); 
29908     PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
)); 
29909     PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
)); 
29910     PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
)); 
29911     PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
)); 
29912     PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
)); 
29913     PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
)); 
29914     PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
)); 
29915     PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
)); 
29916     PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
)); 
29917     PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
)); 
29918     PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
)); 
29919     PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
)); 
29920     PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
)); 
29921     PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
)); 
29922     PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
)); 
29923     PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
)); 
29924     PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
)); 
29925     PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
)); 
29926     PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
)); 
29927     PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
)); 
29928     PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
)); 
29929     PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
)); 
29930     PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
)); 
29931     PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
)); 
29932     PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
)); 
29933     PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
)); 
29934     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
)); 
29935     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
)); 
29936     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
)); 
29937     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
)); 
29938     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
)); 
29939     PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
)); 
29940     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
)); 
29941     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
)); 
29942     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
)); 
29943     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
)); 
29944     PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
)); 
29945     PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
)); 
29946     PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
)); 
29947     PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
)); 
29948     PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
)); 
29949     PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
)); 
29950     PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
)); 
29951     PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
)); 
29952     PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
)); 
29953     PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
)); 
29954     PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
)); 
29955     PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
)); 
29956     PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
)); 
29957     PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
)); 
29958     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
)); 
29959     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
)); 
29960     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
)); 
29961     PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
)); 
29962     PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
)); 
29963     PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
)); 
29964     PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
)); 
29965     PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
)); 
29966     PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
)); 
29967     PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
)); 
29968     PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
)); 
29969     PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
)); 
29970     PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
)); 
29971     PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
)); 
29972     PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
)); 
29973     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
)); 
29974     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
)); 
29975     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
)); 
29976     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
)); 
29977     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
)); 
29978     PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
)); 
29979     PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
)); 
29980     PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
)); 
29981     PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
)); 
29982     PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
)); 
29983     PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
)); 
29984     PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
)); 
29985     PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
)); 
29986     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
)); 
29987     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
)); 
29988     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
)); 
29989     PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
)); 
29990     PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
)); 
29991     PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
)); 
29992     PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
)); 
29993     PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
)); 
29994     PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
)); 
29995     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
)); 
29996     PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
)); 
29997     PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
)); 
29998     PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
)); 
29999     PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
)); 
30000     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
)); 
30001     PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
)); 
30002     PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
)); 
30003     PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
)); 
30004     PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
)); 
30005     PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
)); 
30006     PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
)); 
30007     PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
)); 
30008     PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
)); 
30009     PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
)); 
30010     PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
)); 
30011     PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
)); 
30012     PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
)); 
30013     PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
)); 
30014     PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
)); 
30015     PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
)); 
30016     PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
)); 
30017     PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
)); 
30018     PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
)); 
30019     PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
)); 
30020     PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
)); 
30021     PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
)); 
30022     PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
)); 
30023     PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
)); 
30024     PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
)); 
30025     PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
)); 
30026     PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
)); 
30027     PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
)); 
30028     PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
)); 
30029     PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
)); 
30030     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
); 
30031     PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
)); 
30032     PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
)); 
30033     PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
)); 
30034     PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
)); 
30035     PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
)); 
30036     PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
)); 
30037     PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
)); 
30038     PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
)); 
30039     PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
)); 
30040     PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
)); 
30041     PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
)); 
30042     PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
)); 
30043     PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
)); 
30044     PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
)); 
30045     PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
)); 
30046     PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
)); 
30047     PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
)); 
30048     PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
)); 
30049     PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
)); 
30050     PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
)); 
30051     SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
); 
30052     PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
)); 
30053     PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
)); 
30054     PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
)); 
30055     PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
)); 
30056     PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
)); 
30057     PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
)); 
30058     PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
)); 
30059     PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
)); 
30060     PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
)); 
30061     PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
)); 
30062     PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
)); 
30063     PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
)); 
30065     wxPyPtrTypeMap_Add("wxDropSource",     "wxPyDropSource"); 
30066     wxPyPtrTypeMap_Add("wxDropTarget",     "wxPyDropTarget"); 
30067     wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget"); 
30068     wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget"); 
30070     SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
); 
30071     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);