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"     
 354  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 361 SWIGSTATICINLINE(long) 
 362 SWIG_CheckLongInRange(long value
, const char* type
, 
 363                       long min_value
, long max_value
) 
 365   if (!PyErr_Occurred()) { 
 366     if (value 
< min_value
) { 
 368         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 369                             value
, type
, min_value
); 
 371       PyErr_SetObject(PyExc_OverflowError
, err
); 
 373     } else if (value 
> max_value
) { 
 375         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 376                             value
, type
, max_value
); 
 377       PyErr_SetObject(PyExc_OverflowError
, err
); 
 385 SWIGSTATICINLINE(long) 
 386 SWIG_AsLong(PyObject 
* obj
) 
 388     if (PyNumber_Check(obj
)) 
 389         return PyInt_AsLong(obj
); 
 391         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 392                                                obj
->ob_type
->tp_name
); 
 393         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 400 #if INT_MAX != LONG_MAX 
 401 SWIGSTATICINLINE(int) 
 402 SWIG_AsInt(PyObject 
*obj
) 
 404   return swig_numeric_cast(int, 
 405     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 406                           "int", INT_MIN
, INT_MAX
)); 
 409 #define SWIG_AsInt SWIG_AsLong 
 413 SWIGSTATICINLINE(int) 
 414 SWIG_CheckInt(PyObject
* obj
) 
 417   if (PyErr_Occurred()) { 
 425  static const wxString 
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);  
 426  static const wxString 
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);  
 427  static const wxString 
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);  
 429 SWIGSTATICINLINE(int) 
 430 SWIG_CheckLong(PyObject
* obj
) 
 433   if (PyErr_Occurred()) { 
 442 SWIGSTATICINLINE(bool) 
 443 SWIG_AsBool(PyObject 
*obj
) 
 445   return PyObject_IsTrue(obj
) ? true : false; 
 449 SWIGSTATICINLINE(int) 
 450 SWIG_CheckBool(PyObject
* obj
) 
 453   if (PyErr_Occurred()) { 
 462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 468     } else if (target 
== Py_None
) {   
 472         if (!PyTuple_Check(target
)) { 
 474             target 
= PyTuple_New(1); 
 475             PyTuple_SetItem(target
, 0, o2
); 
 478         PyTuple_SetItem(o3
, 0, o
);       
 481         target 
= PySequence_Concat(o2
, o3
);  
 489 SWIGSTATICINLINE(unsigned long) 
 490 SWIG_AsUnsignedLong(PyObject 
* obj
)  
 492   if (PyLong_Check(obj
)) { 
 493     return PyLong_AsUnsignedLong(obj
); 
 495     long i 
= SWIG_AsLong(obj
); 
 496     if ( !PyErr_Occurred() && (i 
< 0)) { 
 497       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 504 SWIGSTATICINLINE(int) 
 505 SWIG_CheckUnsignedLong(PyObject
* obj
) 
 507   SWIG_AsUnsignedLong(obj
); 
 508   if (PyErr_Occurred()) { 
 517 SWIGSTATICINLINE(PyObject
* ) 
 518 SWIG_FromUnsignedLong(unsigned long value
) 
 520   return (value 
> LONG_MAX
) ? 
 521     PyLong_FromUnsignedLong(value
)  
 522     : PyInt_FromLong(swig_numeric_cast(long,value
));  
 526     bool wxThread_IsMain() { 
 527 #ifdef WXP_WITH_THREAD 
 528         return wxThread::IsMain(); 
 535     int wxCaret_GetBlinkTime() { 
 536         return wxCaret::GetBlinkTime(); 
 539     void wxCaret_SetBlinkTime(int milliseconds
) { 
 540         wxCaret::SetBlinkTime(milliseconds
); 
 544 #include <wx/snglinst.h> 
 548 #include <wx/msw/private.h> 
 549 #include <wx/dynload.h> 
 554 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
) 
 561             // This one only partially works.  Appears to be an undocumented 
 562             // "standard" convention that not all widgets adhear to.  For 
 563             // example, for some widgets backgrounds or non-client areas may 
 565             ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0); 
 569             // This one works much better, except for on XP.  On Win2k nearly 
 570             // all widgets and their children are captured correctly[**].  On 
 571             // XP with Themes activated most native widgets draw only 
 572             // partially, if at all.  Without themes it works just like on 
 575             // ** For example the radio buttons in a wxRadioBox are not its 
 576             // children by default, but you can capture it via the panel 
 577             // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp. 
 578             ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 579                           PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| 
 580                           PRF_ERASEBKGND 
| PRF_OWNED 
); 
 584             // This one is only defined in the latest SDK and is only 
 585             // available on XP.  MSDN says it is similar to sending WM_PRINT 
 586             // so I expect that it will work similar to the above.  Since it 
 587             // is avaialble only on XP, it can't be compiled like this and 
 588             // will have to be loaded dynamically. 
 589             // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break; 
 594             // Use PrintWindow if available, or fallback to WM_PRINT 
 595             // otherwise.  Unfortunately using PrintWindow is even worse than 
 596             // WM_PRINT.  For most native widgets nothing is drawn to the dc 
 597             // at all, with or without Themes. 
 598             typedef BOOL (WINAPI 
*PrintWindow_t
)(HWND
, HDC
, UINT
); 
 599             static bool s_triedToLoad 
= False
; 
 600             static PrintWindow_t pfnPrintWindow 
= NULL
; 
 601             if ( !s_triedToLoad 
) 
 604                 s_triedToLoad 
= True
; 
 605                 wxDynamicLibrary 
dllUser32(_T("user32.dll")); 
 606                 if ( dllUser32
.IsLoaded() ) 
 608                     wxLogNull nolog
;  // Don't report errors here 
 609                     pfnPrintWindow 
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow")); 
 614                 printf("Using PrintWindow\n"); 
 615                 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0); 
 619                 printf("Using WM_PRINT\n"); 
 620                 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 621                               PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| PRF_ERASEBKGND 
| PRF_OWNED 
); 
 629 #include <wx/tipdlg.h> 
 632 class wxPyTipProvider 
: public wxTipProvider 
{ 
 634     wxPyTipProvider(size_t currentTip
) 
 635         : wxTipProvider(currentTip
) {} 
 637     DEC_PYCALLBACK_STRING__pure(GetTip
); 
 638     DEC_PYCALLBACK_STRING_STRING(PreprocessTip
); 
 642 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
); 
 643 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
); 
 646 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify); 
 648 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
); 
 650 void wxPyTimer::Notify() { 
 652     bool blocked 
= wxPyBeginBlockThreads(); 
 653     if ((found 
= wxPyCBH_findCallback(m_myInst
, "Notify"))) 
 654         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()")); 
 655     wxPyEndBlockThreads(blocked
); 
 659 void wxPyTimer::base_Notify() { 
 665 SWIGSTATICINLINE(PyObject 
*) 
 666 SWIG_FromCharPtr(const char* cptr
) 
 668   size_t size 
= cptr 
? strlen(cptr
) : 0; 
 670     if (size 
> INT_MAX
) { 
 671       return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),  
 672                                 SWIG_TypeQuery("char *"), 0); 
 674       return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
)); 
 683 SWIGSTATICINLINE(unsigned long) 
 684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
, 
 685                               unsigned long max_value
)  
 687   if (!PyErr_Occurred()) { 
 688     if (value 
> max_value
) {      
 690         PyString_FromFormat("value %ld is greater than '%s' minimum %ld", 
 691                             value
, type
, max_value
); 
 692       PyErr_SetObject(PyExc_OverflowError
, err
); 
 700 #if UINT_MAX != ULONG_MAX 
 701 SWIGSTATICINLINE(unsigned int) 
 702 SWIG_AsUnsignedInt(PyObject 
*obj
) 
 704   return swig_numeric_cast(unsigned int, 
 705     SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
), 
 706                                   "unsigned int", UINT_MAX
)); 
 709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong 
 713 SWIGSTATICINLINE(int) 
 714 SWIG_CheckUnsignedInt(PyObject
* obj
) 
 716   SWIG_AsUnsignedInt(obj
); 
 717   if (PyErr_Occurred()) { 
 725 wxString 
Log_TimeStamp(){ 
 727             wxLog::TimeStamp(&msg
); 
 730 void wxLog_Destroy(wxLog 
*self
){ delete self
; } 
 732 // A wxLog class that can be derived from in wxPython 
 733 class wxPyLog 
: public wxLog 
{ 
 735     wxPyLog() : wxLog() {} 
 737     virtual void DoLog(wxLogLevel level
, const wxChar 
*szString
, time_t t
) { 
 739         bool blocked 
= wxPyBeginBlockThreads(); 
 740         if ((found 
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) { 
 741             PyObject
* s 
= wx2PyString(szString
); 
 742             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
)); 
 745         wxPyEndBlockThreads(blocked
); 
 747             wxLog::DoLog(level
, szString
, t
); 
 750     virtual void DoLogString(const wxChar 
*szString
, time_t t
) { 
 752         bool blocked 
= wxPyBeginBlockThreads(); 
 753         if ((found 
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) { 
 754             PyObject
* s 
= wx2PyString(szString
); 
 755             wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
)); 
 758         wxPyEndBlockThreads(blocked
); 
 760             wxLog::DoLogString(szString
, t
); 
 769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
); 
 772 #include <wx/joystick.h> 
 775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__) 
 776 // A C++ stub class for wxJoystick for platforms that don't have it. 
 777 class wxJoystick 
: public wxObject 
{ 
 779     wxJoystick(int joystick 
= wxJOYSTICK1
) { 
 780         bool blocked 
= wxPyBeginBlockThreads(); 
 781         PyErr_SetString(PyExc_NotImplementedError
, 
 782                         "wxJoystick is not available on this platform."); 
 783         wxPyEndBlockThreads(blocked
); 
 785     wxPoint 
GetPosition() { return wxPoint(-1,-1); } 
 786     int GetZPosition() { return -1; } 
 787     int GetButtonState() { return -1; } 
 788     int GetPOVPosition() { return -1; } 
 789     int GetPOVCTSPosition() { return -1; } 
 790     int GetRudderPosition() { return -1; } 
 791     int GetUPosition() { return -1; } 
 792     int GetVPosition() { return -1; } 
 793     int GetMovementThreshold() { return -1; } 
 794     void SetMovementThreshold(int threshold
) {} 
 796     bool IsOk(void) { return False
; } 
 797     int GetNumberJoysticks() { return -1; } 
 798     int GetManufacturerId() { return -1; } 
 799     int GetProductId() { return -1; } 
 800     wxString 
GetProductName() { return wxEmptyString
; } 
 801     int GetXMin() { return -1; } 
 802     int GetYMin() { return -1; } 
 803     int GetZMin() { return -1; } 
 804     int GetXMax() { return -1; } 
 805     int GetYMax() { return -1; } 
 806     int GetZMax() { return -1; } 
 807     int GetNumberButtons() { return -1; } 
 808     int GetNumberAxes() { return -1; } 
 809     int GetMaxButtons() { return -1; } 
 810     int GetMaxAxes() { return -1; } 
 811     int GetPollingMin() { return -1; } 
 812     int GetPollingMax() { return -1; } 
 813     int GetRudderMin() { return -1; } 
 814     int GetRudderMax() { return -1; } 
 815     int GetUMin() { return -1; } 
 816     int GetUMax() { return -1; } 
 817     int GetVMin() { return -1; } 
 818     int GetVMax() { return -1; } 
 820     bool HasRudder() { return False
; } 
 821     bool HasZ() { return False
; } 
 822     bool HasU() { return False
; } 
 823     bool HasV() { return False
; } 
 824     bool HasPOV() { return False
; } 
 825     bool HasPOV4Dir() { return False
; } 
 826     bool HasPOVCTS() { return False
; } 
 828     bool SetCapture(wxWindow
* win
, int pollingFreq 
= 0) { return False
; } 
 829     bool ReleaseCapture() { return False
; } 
 834 #include <wx/sound.h> 
 838 // A C++ stub class for wxWave for platforms that don't have it. 
 839 class wxSound 
: public wxObject
 
 843         bool blocked 
= wxPyBeginBlockThreads(); 
 844         PyErr_SetString(PyExc_NotImplementedError
, 
 845                         "wxSound is not available on this platform."); 
 846         wxPyEndBlockThreads(blocked
); 
 848     wxSound(const wxString
&/*, bool*/) { 
 849         bool blocked 
= wxPyBeginBlockThreads(); 
 850         PyErr_SetString(PyExc_NotImplementedError
, 
 851                         "wxSound is not available on this platform."); 
 852         wxPyEndBlockThreads(blocked
); 
 854     wxSound(int, const wxByte
*) { 
 855         bool blocked 
= wxPyBeginBlockThreads(); 
 856         PyErr_SetString(PyExc_NotImplementedError
, 
 857                         "wxSound is not available on this platform."); 
 858         wxPyEndBlockThreads(blocked
); 
 863     bool Create(const wxString
&/*, bool*/) { return false; } 
 864     bool Create(int, const wxByte
*) { return false; }; 
 865     bool IsOk() { return false; };     
 866     bool Play(unsigned) const { return false; } 
 867     static bool Play(const wxString
&, unsigned) { return false; } 
 868     static void Stop() {} 
 873 wxSound 
*new_wxSound(wxString 
const &fileName
){ 
 874             if (fileName
.Length() == 0) 
 877                 return new wxSound(fileName
); 
 879 wxSound 
*new_wxSound(PyObject 
*data
){ 
 880             unsigned char* buffer
; int size
; 
 881             wxSound 
*sound 
= NULL
; 
 883             bool blocked 
= wxPyBeginBlockThreads(); 
 884             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
 886             sound 
= new wxSound(size
, buffer
); 
 888             wxPyEndBlockThreads(blocked
); 
 891 bool wxSound_CreateFromData(wxSound 
*self
,PyObject 
*data
){ 
 893             unsigned char* buffer
; 
 897             bool blocked 
= wxPyBeginBlockThreads(); 
 898             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
 900             rv 
= self
->Create(size
, buffer
); 
 902             wxPyEndBlockThreads(blocked
); 
 905                  bool blocked 
= wxPyBeginBlockThreads(); 
 906                  PyErr_SetString(PyExc_NotImplementedError
, 
 907                                  "Create from data is not available on this platform."); 
 908                  wxPyEndBlockThreads(blocked
); 
 912 void Sound_Stop(){ wxPyRaiseNotImplemented(); } 
 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(); 
 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_BUTTON(wxART_BUTTON
);  
1020  static const wxString 
wxPyART_OTHER(wxART_OTHER
);  
1021  static const wxString 
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);  
1022  static const wxString 
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);  
1023  static const wxString 
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);  
1024  static const wxString 
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);  
1025  static const wxString 
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);  
1026  static const wxString 
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);  
1027  static const wxString 
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);  
1028  static const wxString 
wxPyART_GO_BACK(wxART_GO_BACK
);  
1029  static const wxString 
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);  
1030  static const wxString 
wxPyART_GO_UP(wxART_GO_UP
);  
1031  static const wxString 
wxPyART_GO_DOWN(wxART_GO_DOWN
);  
1032  static const wxString 
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);  
1033  static const wxString 
wxPyART_GO_HOME(wxART_GO_HOME
);  
1034  static const wxString 
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);  
1035  static const wxString 
wxPyART_PRINT(wxART_PRINT
);  
1036  static const wxString 
wxPyART_HELP(wxART_HELP
);  
1037  static const wxString 
wxPyART_TIP(wxART_TIP
);  
1038  static const wxString 
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);  
1039  static const wxString 
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);  
1040  static const wxString 
wxPyART_NEW_DIR(wxART_NEW_DIR
);  
1041  static const wxString 
wxPyART_FOLDER(wxART_FOLDER
);  
1042  static const wxString 
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);  
1043  static const wxString 
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);  
1044  static const wxString 
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);  
1045  static const wxString 
wxPyART_TICK_MARK(wxART_TICK_MARK
);  
1046  static const wxString 
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);  
1047  static const wxString 
wxPyART_ERROR(wxART_ERROR
);  
1048  static const wxString 
wxPyART_QUESTION(wxART_QUESTION
);  
1049  static const wxString 
wxPyART_WARNING(wxART_WARNING
);  
1050  static const wxString 
wxPyART_INFORMATION(wxART_INFORMATION
);  
1051  static const wxString 
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);  
1052   // Python aware wxArtProvider 
1053 class wxPyArtProvider 
: public wxArtProvider  
{ 
1056     virtual wxBitmap 
CreateBitmap(const wxArtID
& id
, 
1057                                   const wxArtClient
& client
, 
1058                                   const wxSize
& size
) { 
1059         wxBitmap rval 
= wxNullBitmap
; 
1060         bool blocked 
= wxPyBeginBlockThreads(); 
1061         if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) { 
1062             PyObject
* so 
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0); 
1066             s1 
= wx2PyString(id
); 
1067             s2 
= wx2PyString(client
); 
1068             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
)); 
1073                 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap"))) 
1078         wxPyEndBlockThreads(blocked
); 
1085 void wxPyArtProvider_Destroy(wxPyArtProvider 
*self
){ delete self
; } 
1089     static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) { 
1090         PyObject
* ret 
= PyTuple_New(3); 
1092             PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
)); 
1093             PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
)); 
1094             PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
)); 
1099 PyObject 
*wxConfigBase_GetFirstGroup(wxConfigBase 
*self
){ 
1104             cont 
= self
->GetFirstGroup(value
, index
); 
1105             return __EnumerationHelper(cont
, value
, index
); 
1107 PyObject 
*wxConfigBase_GetNextGroup(wxConfigBase 
*self
,long index
){ 
1111             cont 
= self
->GetNextGroup(value
, index
); 
1112             return __EnumerationHelper(cont
, value
, index
); 
1114 PyObject 
*wxConfigBase_GetFirstEntry(wxConfigBase 
*self
){ 
1119             cont 
= self
->GetFirstEntry(value
, index
); 
1120             return __EnumerationHelper(cont
, value
, index
); 
1122 PyObject 
*wxConfigBase_GetNextEntry(wxConfigBase 
*self
,long index
){ 
1126             cont 
= self
->GetNextEntry(value
, index
); 
1127             return __EnumerationHelper(cont
, value
, index
); 
1129 long wxConfigBase_ReadInt(wxConfigBase 
*self
,wxString 
const &key
,long defaultVal
){ 
1131             self
->Read(key
, &rv
, defaultVal
); 
1135 SWIGSTATICINLINE(double) 
1136 SWIG_AsDouble(PyObject 
*obj
) 
1138     if (PyNumber_Check(obj
)) 
1139         return PyFloat_AsDouble(obj
); 
1141         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
1142                                                obj
->ob_type
->tp_name
); 
1143         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
1150 SWIGSTATICINLINE(int) 
1151 SWIG_CheckDouble(PyObject
* obj
) 
1154   if (PyErr_Occurred()) { 
1162 double wxConfigBase_ReadFloat(wxConfigBase 
*self
,wxString 
const &key
,double defaultVal
){ 
1164             self
->Read(key
, &rv
, defaultVal
); 
1167 bool wxConfigBase_ReadBool(wxConfigBase 
*self
,wxString 
const &key
,bool defaultVal
){ 
1169             self
->Read(key
, &rv
, defaultVal
); 
1173 #include <wx/datetime.h> 
1176  static const wxString 
wxPyDateFormatStr(wxT("%c"));  
1177  static const wxString 
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));  
1179 #define LOCAL_TZ wxDateTime::Local 
1182 #if UINT_MAX < LONG_MAX 
1183 #define SWIG_FromUnsignedInt    SWIG_FromLong 
1185 #define SWIG_FromUnsignedInt    SWIG_FromUnsignedLong 
1188 wxDateTime 
wxDateTime___add____SWIG_0(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1189 wxDateTime 
wxDateTime___add____SWIG_1(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1190 wxTimeSpan 
wxDateTime___sub____SWIG_0(wxDateTime 
*self
,wxDateTime 
const &other
){ return *self 
- other
; } 
1191 wxDateTime 
wxDateTime___sub____SWIG_1(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1192 wxDateTime 
wxDateTime___sub____SWIG_2(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1193 bool wxDateTime___lt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1194             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<  other
;  
1195             return (*self 
<  *other
); 
1197 bool wxDateTime___le__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1198             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<= other
;  
1199             return (*self 
<= *other
); 
1201 bool wxDateTime___gt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1202             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>  other
;  
1203             return (*self 
>  *other
); 
1205 bool wxDateTime___ge__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1206             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>= other
;  
1207             return (*self 
>= *other
); 
1209 bool wxDateTime___eq__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1210             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
== other
;  
1211             return (*self 
== *other
); 
1213 bool wxDateTime___ne__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1214             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
!= other
;  
1215             return (*self 
!= *other
); 
1217 int wxDateTime_ParseRfc822Date(wxDateTime 
*self
,wxString 
const &date
){ 
1219             const wxChar
* _date 
= date
; 
1220             rv 
= self
->ParseRfc822Date(_date
); 
1221             if (rv 
== NULL
) return -1; 
1224 int wxDateTime_ParseFormat(wxDateTime 
*self
,wxString 
const &date
,wxString 
const &format
,wxDateTime 
const &dateDef
){ 
1226             const wxChar
* _date 
= date
; 
1227             rv 
= self
->ParseFormat(_date
, format
, dateDef
); 
1228             if (rv 
== NULL
) return -1; 
1231 int wxDateTime_ParseDateTime(wxDateTime 
*self
,wxString 
const &datetime
){ 
1233             const wxChar
* _datetime 
= datetime
; 
1234             rv 
= self
->ParseDateTime(_datetime
); 
1235             if (rv 
== NULL
) return -1; 
1236             return rv 
- _datetime
; 
1238 int wxDateTime_ParseDate(wxDateTime 
*self
,wxString 
const &date
){ 
1240             const wxChar
* _date 
= date
; 
1241             rv 
= self
->ParseDate(_date
); 
1242             if (rv 
== NULL
) return -1; 
1245 int wxDateTime_ParseTime(wxDateTime 
*self
,wxString 
const &time
){ 
1247             const wxChar
* _time 
= time
; 
1248             rv 
= self
->ParseTime(_time
); 
1249             if (rv 
== NULL
) return -1; 
1252 wxTimeSpan 
wxTimeSpan___add__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1253 wxTimeSpan 
wxTimeSpan___sub__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1254 wxTimeSpan 
wxTimeSpan___mul__(wxTimeSpan 
*self
,int n
){ return *self 
* n
; } 
1255 wxTimeSpan 
wxTimeSpan___rmul__(wxTimeSpan 
*self
,int n
){ return n 
* *self
; } 
1256 bool wxTimeSpan___lt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<  *other
) : False
; } 
1257 bool wxTimeSpan___le__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<= *other
) : False
; } 
1258 bool wxTimeSpan___gt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>  *other
) : True
;  } 
1259 bool wxTimeSpan___ge__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>= *other
) : True
;  } 
1260 bool wxTimeSpan___eq__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1261 bool wxTimeSpan___ne__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1262 wxDateSpan 
wxDateSpan___add__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1263 wxDateSpan 
wxDateSpan___sub__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1264 wxDateSpan 
wxDateSpan___mul__(wxDateSpan 
*self
,int n
){ return *self 
* n
; } 
1265 wxDateSpan 
wxDateSpan___rmul__(wxDateSpan 
*self
,int n
){ return n 
* *self
; } 
1266 bool wxDateSpan___eq__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1267 bool wxDateSpan___ne__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1269 #include <wx/dataobj.h> 
1271 PyObject 
*wxDataObject_GetAllFormats(wxDataObject 
*self
,wxDataObject::Direction dir
){ 
1272             size_t count 
= self
->GetFormatCount(dir
); 
1273             wxDataFormat
* formats 
= new wxDataFormat
[count
]; 
1274             self
->GetAllFormats(formats
, dir
); 
1276             bool blocked 
= wxPyBeginBlockThreads(); 
1277             PyObject
* list 
= PyList_New(count
); 
1278             for (size_t i
=0; i
<count
; i
++) { 
1279                 wxDataFormat
* format 
= new wxDataFormat(formats
[i
]); 
1280                 PyObject
* obj 
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
); 
1281                 PyList_Append(list
, obj
); 
1284             wxPyEndBlockThreads(blocked
); 
1288 PyObject 
*wxDataObject_GetDataHere(wxDataObject 
*self
,wxDataFormat 
const &format
){ 
1289             PyObject
* rval 
= NULL
; 
1290             size_t size 
= self
->GetDataSize(format
);             
1291             bool blocked 
= wxPyBeginBlockThreads(); 
1293                 char* buf 
= new char[size
]; 
1294                 if (self
->GetDataHere(format
, buf
))  
1295                     rval 
= PyString_FromStringAndSize(buf
, size
); 
1302             wxPyEndBlockThreads(blocked
); 
1305 bool wxDataObject_SetData(wxDataObject 
*self
,wxDataFormat 
const &format
,PyObject 
*data
){ 
1307             bool blocked 
= wxPyBeginBlockThreads(); 
1308             if (PyString_Check(data
)) { 
1309                 rval 
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
)); 
1312                 // raise a TypeError if not a string 
1313                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1316             wxPyEndBlockThreads(blocked
); 
1319 PyObject 
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple 
*self
){ 
1320             PyObject
* rval 
= NULL
; 
1321             size_t size 
= self
->GetDataSize();             
1322             bool blocked 
= wxPyBeginBlockThreads(); 
1324                 char* buf 
= new char[size
]; 
1325                 if (self
->GetDataHere(buf
))  
1326                     rval 
= PyString_FromStringAndSize(buf
, size
); 
1333             wxPyEndBlockThreads(blocked
); 
1336 bool wxDataObjectSimple_SetData(wxDataObjectSimple 
*self
,PyObject 
*data
){ 
1338             bool blocked 
= wxPyBeginBlockThreads(); 
1339             if (PyString_Check(data
)) { 
1340                 rval 
= self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1343                 // raise a TypeError if not a string 
1344                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1347             wxPyEndBlockThreads(blocked
); 
1350   // Create a new class for wxPython to use 
1351 class wxPyDataObjectSimple 
: public wxDataObjectSimple 
{ 
1353     wxPyDataObjectSimple(const wxDataFormat
& format 
= wxFormatInvalid
) 
1354         : wxDataObjectSimple(format
) {} 
1356     DEC_PYCALLBACK_SIZET__const(GetDataSize
); 
1357     bool GetDataHere(void *buf
) const; 
1358     bool SetData(size_t len
, const void *buf
) const; 
1362 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
); 
1364 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const { 
1365     // We need to get the data for this object and write it to buf.  I think 
1366     // the best way to do this for wxPython is to have the Python method 
1367     // return either a string or None and then act appropriately with the 
1371     bool blocked 
= wxPyBeginBlockThreads(); 
1372     if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) { 
1374         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1376             rval 
= (ro 
!= Py_None 
&& PyString_Check(ro
)); 
1378                 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
)); 
1382     wxPyEndBlockThreads(blocked
); 
1386 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{ 
1387     // For this one we simply need to make a string from buf and len 
1388     // and send it to the Python method. 
1390     bool blocked 
= wxPyBeginBlockThreads(); 
1391     if (wxPyCBH_findCallback(m_myInst
, "SetData")) { 
1392         PyObject
* data 
= PyString_FromStringAndSize((char*)buf
, len
); 
1393         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
)); 
1396     wxPyEndBlockThreads(blocked
); 
1400   // Create a new class for wxPython to use 
1401 class wxPyTextDataObject 
: public wxTextDataObject 
{ 
1403     wxPyTextDataObject(const wxString
& text 
= wxPyEmptyString
) 
1404         : wxTextDataObject(text
) {} 
1406     DEC_PYCALLBACK_SIZET__const(GetTextLength
); 
1407     DEC_PYCALLBACK_STRING__const(GetText
); 
1408     DEC_PYCALLBACK__STRING(SetText
); 
1412 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
); 
1413 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
); 
1414 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
); 
1417   // Create a new class for wxPython to use 
1418 class wxPyBitmapDataObject 
: public wxBitmapDataObject 
{ 
1420     wxPyBitmapDataObject(const wxBitmap
& bitmap 
= wxNullBitmap
) 
1421         : wxBitmapDataObject(bitmap
) {} 
1423     wxBitmap 
GetBitmap() const; 
1424     void SetBitmap(const wxBitmap
& bitmap
); 
1428 wxBitmap 
wxPyBitmapDataObject::GetBitmap() const { 
1429     wxBitmap
* rval 
= &wxNullBitmap
; 
1430     bool blocked 
= wxPyBeginBlockThreads(); 
1431     if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) { 
1434         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1436             if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap"))) 
1441     wxPyEndBlockThreads(blocked
); 
1445 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) { 
1446     bool blocked 
= wxPyBeginBlockThreads(); 
1447     if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) { 
1448         PyObject
* bo 
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
); 
1449         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
)); 
1452     wxPyEndBlockThreads(blocked
); 
1455 bool wxCustomDataObject_SetData(wxCustomDataObject 
*self
,PyObject 
*data
){ 
1457             bool blocked 
= wxPyBeginBlockThreads(); 
1458             if (PyString_Check(data
)) { 
1459                 rval 
= self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1462                 // raise a TypeError if not a string 
1463                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1466             wxPyEndBlockThreads(blocked
); 
1469 PyObject 
*wxCustomDataObject_GetData(wxCustomDataObject 
*self
){ 
1471             bool blocked 
= wxPyBeginBlockThreads(); 
1472             obj 
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize()); 
1473             wxPyEndBlockThreads(blocked
); 
1477 #include <wx/metafile.h> 
1480 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
); 
1483 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
); 
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
); 
1485 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
); 
1486 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
); 
1487 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
); 
1490 class wxPyTextDropTarget 
: public wxTextDropTarget 
{ 
1492     wxPyTextDropTarget() {} 
1494     DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
); 
1496     DEC_PYCALLBACK__(OnLeave
); 
1497     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1498     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1499     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1500     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1505 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
); 
1506 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
); 
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
); 
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
); 
1509 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
); 
1510 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
); 
1514 class wxPyFileDropTarget 
: public wxFileDropTarget 
{ 
1516     wxPyFileDropTarget() {} 
1518     virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
); 
1520     DEC_PYCALLBACK__(OnLeave
); 
1521     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1522     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1523     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1524     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1529 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
, 
1530                                      const wxArrayString
& filenames
) { 
1532     bool blocked 
= wxPyBeginBlockThreads(); 
1533     if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) { 
1534         PyObject
* list 
= wxArrayString2PyList_helper(filenames
); 
1535         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
)); 
1538     wxPyEndBlockThreads(blocked
); 
1544 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
); 
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
); 
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
); 
1547 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
); 
1548 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
); 
1553 bool wxClipboardLocker___nonzero__(wxClipboardLocker 
*self
){ return !!(*self
); } 
1555 #include <wx/display.h> 
1557 bool wxVideoMode___eq__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1558 bool wxVideoMode___ne__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1560 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build 
1562 #include <wx/dynarray.h> 
1563 #include <wx/vidmode.h> 
1565 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
); 
1566 #include "wx/arrimpl.cpp" 
1567 WX_DEFINE_OBJARRAY(wxArrayVideoModes
); 
1568 const wxVideoMode wxDefaultVideoMode
; 
1573     wxDisplay(size_t index 
= 0) { wxPyRaiseNotImplemented(); } 
1576     static size_t  GetCount() 
1577         { wxPyRaiseNotImplemented(); return 0; } 
1579     static int GetFromPoint(const wxPoint
& pt
) 
1580         { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; } 
1581     static int GetFromWindow(wxWindow 
*window
)  
1582         { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; } 
1584     virtual bool IsOk() const { return false; } 
1585     virtual wxRect 
GetGeometry() const { wxRect r
; return r
; } 
1586     virtual wxString 
GetName() const { return wxEmptyString
; } 
1587     bool IsPrimary() const { return false; } 
1589     wxArrayVideoModes 
GetModes(const wxVideoMode
& mode 
= wxDefaultVideoMode
) 
1590         { wxArrayVideoModes a
; return a
; } 
1592     virtual wxVideoMode 
GetCurrentMode() const 
1593         { return wxDefaultVideoMode
; } 
1595     virtual bool ChangeMode(const wxVideoMode
& mode 
= wxDefaultVideoMode
) 
1602 int Display_GetFromWindow(wxWindow 
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; } 
1603 PyObject 
*wxDisplay_GetModes(wxDisplay 
*self
,wxVideoMode 
const &mode
){ 
1604             PyObject
* pyList 
= NULL
; 
1605             wxArrayVideoModes arr 
= self
->GetModes(mode
); 
1606             bool blocked 
= wxPyBeginBlockThreads(); 
1607             pyList 
= PyList_New(0); 
1608             for (int i
=0; i 
< arr
.GetCount(); i
++) { 
1609                 wxVideoMode
* m 
= new wxVideoMode(arr
.Item(i
)); 
1610                 PyObject
* pyObj 
= wxPyConstructObject(m
, wxT("wxVideoMode"), true); 
1611                 PyList_Append(pyList
, pyObj
); 
1614             wxPyEndBlockThreads(blocked
); 
1620 static PyObject 
*_wrap_SystemSettings_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1621     PyObject 
*resultobj
; 
1624     PyObject 
* obj0 
= 0 ; 
1626         (char *) "index", NULL 
 
1629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
; 
1630     arg1 
= (wxSystemColour
) SWIG_AsInt(obj0
);  
1631     if (PyErr_Occurred()) SWIG_fail
; 
1633         if (!wxPyCheckForApp()) SWIG_fail
; 
1634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1635         result 
= wxSystemSettings::GetColour((wxSystemColour 
)arg1
); 
1637         wxPyEndAllowThreads(__tstate
); 
1638         if (PyErr_Occurred()) SWIG_fail
; 
1641         wxColour 
* resultptr
; 
1642         resultptr 
= new wxColour((wxColour 
&) result
); 
1643         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1651 static PyObject 
*_wrap_SystemSettings_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1652     PyObject 
*resultobj
; 
1655     PyObject 
* obj0 
= 0 ; 
1657         (char *) "index", NULL 
 
1660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
; 
1661     arg1 
= (wxSystemFont
) SWIG_AsInt(obj0
);  
1662     if (PyErr_Occurred()) SWIG_fail
; 
1664         if (!wxPyCheckForApp()) SWIG_fail
; 
1665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1666         result 
= wxSystemSettings::GetFont((wxSystemFont 
)arg1
); 
1668         wxPyEndAllowThreads(__tstate
); 
1669         if (PyErr_Occurred()) SWIG_fail
; 
1673         resultptr 
= new wxFont((wxFont 
&) result
); 
1674         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
1682 static PyObject 
*_wrap_SystemSettings_GetMetric(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1683     PyObject 
*resultobj
; 
1686     PyObject 
* obj0 
= 0 ; 
1688         (char *) "index", NULL 
 
1691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
; 
1692     arg1 
= (wxSystemMetric
) SWIG_AsInt(obj0
);  
1693     if (PyErr_Occurred()) SWIG_fail
; 
1695         if (!wxPyCheckForApp()) SWIG_fail
; 
1696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1697         result 
= (int)wxSystemSettings::GetMetric((wxSystemMetric 
)arg1
); 
1699         wxPyEndAllowThreads(__tstate
); 
1700         if (PyErr_Occurred()) SWIG_fail
; 
1702     resultobj 
= SWIG_FromInt((int)result
); 
1709 static PyObject 
*_wrap_SystemSettings_HasFeature(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1710     PyObject 
*resultobj
; 
1713     PyObject 
* obj0 
= 0 ; 
1715         (char *) "index", NULL 
 
1718     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
; 
1719     arg1 
= (wxSystemFeature
) SWIG_AsInt(obj0
);  
1720     if (PyErr_Occurred()) SWIG_fail
; 
1722         if (!wxPyCheckForApp()) SWIG_fail
; 
1723         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1724         result 
= (bool)wxSystemSettings::HasFeature((wxSystemFeature 
)arg1
); 
1726         wxPyEndAllowThreads(__tstate
); 
1727         if (PyErr_Occurred()) SWIG_fail
; 
1730         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1738 static PyObject 
*_wrap_SystemSettings_GetScreenType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1739     PyObject 
*resultobj
; 
1745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
; 
1747         if (!wxPyCheckForApp()) SWIG_fail
; 
1748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1749         result 
= (int)wxSystemSettings::GetScreenType(); 
1751         wxPyEndAllowThreads(__tstate
); 
1752         if (PyErr_Occurred()) SWIG_fail
; 
1754     resultobj 
= SWIG_FromInt((int)result
); 
1761 static PyObject 
*_wrap_SystemSettings_SetScreenType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1762     PyObject 
*resultobj
; 
1764     PyObject 
* obj0 
= 0 ; 
1766         (char *) "screen", NULL 
 
1769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
; 
1770     arg1 
= (wxSystemScreenType
) SWIG_AsInt(obj0
);  
1771     if (PyErr_Occurred()) SWIG_fail
; 
1773         if (!wxPyCheckForApp()) SWIG_fail
; 
1774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1775         wxSystemSettings::SetScreenType((wxSystemScreenType 
)arg1
); 
1777         wxPyEndAllowThreads(__tstate
); 
1778         if (PyErr_Occurred()) SWIG_fail
; 
1780     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1787 static PyObject 
* SystemSettings_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1789     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1790     SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
); 
1792     return Py_BuildValue((char *)""); 
1794 static PyObject 
*_wrap_new_SystemOptions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1795     PyObject 
*resultobj
; 
1796     wxSystemOptions 
*result
; 
1801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
; 
1803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1804         result 
= (wxSystemOptions 
*)new wxSystemOptions(); 
1806         wxPyEndAllowThreads(__tstate
); 
1807         if (PyErr_Occurred()) SWIG_fail
; 
1809     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1); 
1816 static PyObject 
*_wrap_SystemOptions_SetOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1817     PyObject 
*resultobj
; 
1818     wxString 
*arg1 
= 0 ; 
1819     wxString 
*arg2 
= 0 ; 
1820     bool temp1 
= False 
; 
1821     bool temp2 
= False 
; 
1822     PyObject 
* obj0 
= 0 ; 
1823     PyObject 
* obj1 
= 0 ; 
1825         (char *) "name",(char *) "value", NULL 
 
1828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
; 
1830         arg1 
= wxString_in_helper(obj0
); 
1831         if (arg1 
== NULL
) SWIG_fail
; 
1835         arg2 
= wxString_in_helper(obj1
); 
1836         if (arg2 
== NULL
) SWIG_fail
; 
1840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1841         wxSystemOptions::SetOption((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
1843         wxPyEndAllowThreads(__tstate
); 
1844         if (PyErr_Occurred()) SWIG_fail
; 
1846     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1869 static PyObject 
*_wrap_SystemOptions_SetOptionInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1870     PyObject 
*resultobj
; 
1871     wxString 
*arg1 
= 0 ; 
1873     bool temp1 
= False 
; 
1874     PyObject 
* obj0 
= 0 ; 
1875     PyObject 
* obj1 
= 0 ; 
1877         (char *) "name",(char *) "value", NULL 
 
1880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
1882         arg1 
= wxString_in_helper(obj0
); 
1883         if (arg1 
== NULL
) SWIG_fail
; 
1886     arg2 
= (int) SWIG_AsInt(obj1
);  
1887     if (PyErr_Occurred()) SWIG_fail
; 
1889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1890         wxSystemOptions::SetOption((wxString 
const &)*arg1
,arg2
); 
1892         wxPyEndAllowThreads(__tstate
); 
1893         if (PyErr_Occurred()) SWIG_fail
; 
1895     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1910 static PyObject 
*_wrap_SystemOptions_GetOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1911     PyObject 
*resultobj
; 
1912     wxString 
*arg1 
= 0 ; 
1914     bool temp1 
= False 
; 
1915     PyObject 
* obj0 
= 0 ; 
1917         (char *) "name", NULL 
 
1920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
; 
1922         arg1 
= wxString_in_helper(obj0
); 
1923         if (arg1 
== NULL
) SWIG_fail
; 
1927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1928         result 
= wxSystemOptions::GetOption((wxString 
const &)*arg1
); 
1930         wxPyEndAllowThreads(__tstate
); 
1931         if (PyErr_Occurred()) SWIG_fail
; 
1935         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1937         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1954 static PyObject 
*_wrap_SystemOptions_GetOptionInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1955     PyObject 
*resultobj
; 
1956     wxString 
*arg1 
= 0 ; 
1958     bool temp1 
= False 
; 
1959     PyObject 
* obj0 
= 0 ; 
1961         (char *) "name", NULL 
 
1964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
; 
1966         arg1 
= wxString_in_helper(obj0
); 
1967         if (arg1 
== NULL
) SWIG_fail
; 
1971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1972         result 
= (int)wxSystemOptions::GetOptionInt((wxString 
const &)*arg1
); 
1974         wxPyEndAllowThreads(__tstate
); 
1975         if (PyErr_Occurred()) SWIG_fail
; 
1977     resultobj 
= SWIG_FromInt((int)result
); 
1992 static PyObject 
*_wrap_SystemOptions_HasOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1993     PyObject 
*resultobj
; 
1994     wxString 
*arg1 
= 0 ; 
1996     bool temp1 
= False 
; 
1997     PyObject 
* obj0 
= 0 ; 
1999         (char *) "name", NULL 
 
2002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
; 
2004         arg1 
= wxString_in_helper(obj0
); 
2005         if (arg1 
== NULL
) SWIG_fail
; 
2009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2010         result 
= (bool)wxSystemOptions::HasOption((wxString 
const &)*arg1
); 
2012         wxPyEndAllowThreads(__tstate
); 
2013         if (PyErr_Occurred()) SWIG_fail
; 
2016         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2032 static PyObject 
* SystemOptions_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2034     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2035     SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
); 
2037     return Py_BuildValue((char *)""); 
2039 static int _wrap_FileSelectorPromptStr_set(PyObject 
*_val
) { 
2040     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only."); 
2045 static PyObject 
*_wrap_FileSelectorPromptStr_get() { 
2050         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
2052         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
2059 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject 
*_val
) { 
2060     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only."); 
2065 static PyObject 
*_wrap_FileSelectorDefaultWildcardStr_get() { 
2070         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
2072         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
2079 static int _wrap_DirSelectorPromptStr_set(PyObject 
*_val
) { 
2080     PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only."); 
2085 static PyObject 
*_wrap_DirSelectorPromptStr_get() { 
2090         pyobj 
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
2092         pyobj 
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
2099 static PyObject 
*_wrap_NewId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2100     PyObject 
*resultobj
; 
2106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
; 
2108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2109         result 
= (long)wxNewId(); 
2111         wxPyEndAllowThreads(__tstate
); 
2112         if (PyErr_Occurred()) SWIG_fail
; 
2114     resultobj 
= SWIG_FromLong((long)result
); 
2121 static PyObject 
*_wrap_RegisterId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2122     PyObject 
*resultobj
; 
2124     PyObject 
* obj0 
= 0 ; 
2129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
; 
2130     arg1 
= (long) SWIG_AsLong(obj0
);  
2131     if (PyErr_Occurred()) SWIG_fail
; 
2133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2136         wxPyEndAllowThreads(__tstate
); 
2137         if (PyErr_Occurred()) SWIG_fail
; 
2139     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2146 static PyObject 
*_wrap_GetCurrentId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2147     PyObject 
*resultobj
; 
2153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
; 
2155         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2156         result 
= (long)wxGetCurrentId(); 
2158         wxPyEndAllowThreads(__tstate
); 
2159         if (PyErr_Occurred()) SWIG_fail
; 
2161     resultobj 
= SWIG_FromLong((long)result
); 
2168 static PyObject 
*_wrap_Bell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2169     PyObject 
*resultobj
; 
2174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
; 
2176         if (!wxPyCheckForApp()) SWIG_fail
; 
2177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2180         wxPyEndAllowThreads(__tstate
); 
2181         if (PyErr_Occurred()) SWIG_fail
; 
2183     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2190 static PyObject 
*_wrap_EndBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2191     PyObject 
*resultobj
; 
2196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
; 
2198         if (!wxPyCheckForApp()) SWIG_fail
; 
2199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2202         wxPyEndAllowThreads(__tstate
); 
2203         if (PyErr_Occurred()) SWIG_fail
; 
2205     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2212 static PyObject 
*_wrap_GetElapsedTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2213     PyObject 
*resultobj
; 
2214     bool arg1 
= (bool) True 
; 
2216     PyObject 
* obj0 
= 0 ; 
2218         (char *) "resetTimer", NULL 
 
2221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
; 
2223         arg1 
= (bool) SWIG_AsBool(obj0
);  
2224         if (PyErr_Occurred()) SWIG_fail
; 
2227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2228         result 
= (long)wxGetElapsedTime(arg1
); 
2230         wxPyEndAllowThreads(__tstate
); 
2231         if (PyErr_Occurred()) SWIG_fail
; 
2233     resultobj 
= SWIG_FromLong((long)result
); 
2240 static PyObject 
*_wrap_GetMousePosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2241     PyObject 
*resultobj
; 
2242     int *arg1 
= (int *) 0 ; 
2243     int *arg2 
= (int *) 0 ; 
2252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
; 
2254         if (!wxPyCheckForApp()) SWIG_fail
; 
2255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2256         wxGetMousePosition(arg1
,arg2
); 
2258         wxPyEndAllowThreads(__tstate
); 
2259         if (PyErr_Occurred()) SWIG_fail
; 
2261     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2263         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
2264         resultobj 
= t_output_helper(resultobj
,o
); 
2267         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
2268         resultobj 
= t_output_helper(resultobj
,o
); 
2276 static PyObject 
*_wrap_IsBusy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2277     PyObject 
*resultobj
; 
2283     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
; 
2285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2286         result 
= (bool)wxIsBusy(); 
2288         wxPyEndAllowThreads(__tstate
); 
2289         if (PyErr_Occurred()) SWIG_fail
; 
2292         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2300 static PyObject 
*_wrap_Now(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2301     PyObject 
*resultobj
; 
2307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
; 
2309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2312         wxPyEndAllowThreads(__tstate
); 
2313         if (PyErr_Occurred()) SWIG_fail
; 
2317         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2319         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2328 static PyObject 
*_wrap_Shell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2329     PyObject 
*resultobj
; 
2330     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2331     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2333     bool temp1 
= False 
; 
2334     PyObject 
* obj0 
= 0 ; 
2336         (char *) "command", NULL 
 
2339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
; 
2342             arg1 
= wxString_in_helper(obj0
); 
2343             if (arg1 
== NULL
) SWIG_fail
; 
2348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2349         result 
= (bool)wxShell((wxString 
const &)*arg1
); 
2351         wxPyEndAllowThreads(__tstate
); 
2352         if (PyErr_Occurred()) SWIG_fail
; 
2355         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2371 static PyObject 
*_wrap_StartTimer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2372     PyObject 
*resultobj
; 
2377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
; 
2379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2382         wxPyEndAllowThreads(__tstate
); 
2383         if (PyErr_Occurred()) SWIG_fail
; 
2385     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2392 static PyObject 
*_wrap_GetOsVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2393     PyObject 
*resultobj
; 
2394     int *arg1 
= (int *) 0 ; 
2395     int *arg2 
= (int *) 0 ; 
2405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
; 
2407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2408         result 
= (int)wxGetOsVersion(arg1
,arg2
); 
2410         wxPyEndAllowThreads(__tstate
); 
2411         if (PyErr_Occurred()) SWIG_fail
; 
2413     resultobj 
= SWIG_FromInt((int)result
); 
2415         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
2416         resultobj 
= t_output_helper(resultobj
,o
); 
2419         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
2420         resultobj 
= t_output_helper(resultobj
,o
); 
2428 static PyObject 
*_wrap_GetOsDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2429     PyObject 
*resultobj
; 
2435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
; 
2437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2438         result 
= wxGetOsDescription(); 
2440         wxPyEndAllowThreads(__tstate
); 
2441         if (PyErr_Occurred()) SWIG_fail
; 
2445         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2447         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2456 static PyObject 
*_wrap_GetFreeMemory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2457     PyObject 
*resultobj
; 
2463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
; 
2465         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2466         result 
= (long)wxGetFreeMemory(); 
2468         wxPyEndAllowThreads(__tstate
); 
2469         if (PyErr_Occurred()) SWIG_fail
; 
2471     resultobj 
= SWIG_FromLong((long)result
); 
2478 static PyObject 
*_wrap_Shutdown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2479     PyObject 
*resultobj
; 
2482     PyObject 
* obj0 
= 0 ; 
2484         (char *) "wFlags", NULL 
 
2487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
; 
2488     arg1 
= (wxShutdownFlags
) SWIG_AsInt(obj0
);  
2489     if (PyErr_Occurred()) SWIG_fail
; 
2491         if (!wxPyCheckForApp()) SWIG_fail
; 
2492         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2493         result 
= (bool)wxShutdown((wxShutdownFlags 
)arg1
); 
2495         wxPyEndAllowThreads(__tstate
); 
2496         if (PyErr_Occurred()) SWIG_fail
; 
2499         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2507 static PyObject 
*_wrap_Sleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2508     PyObject 
*resultobj
; 
2510     PyObject 
* obj0 
= 0 ; 
2512         (char *) "secs", NULL 
 
2515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
; 
2516     arg1 
= (int) SWIG_AsInt(obj0
);  
2517     if (PyErr_Occurred()) SWIG_fail
; 
2519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2522         wxPyEndAllowThreads(__tstate
); 
2523         if (PyErr_Occurred()) SWIG_fail
; 
2525     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2532 static PyObject 
*_wrap_MilliSleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2533     PyObject 
*resultobj
; 
2534     unsigned long arg1 
; 
2535     PyObject 
* obj0 
= 0 ; 
2537         (char *) "milliseconds", NULL 
 
2540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
; 
2541     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
2542     if (PyErr_Occurred()) SWIG_fail
; 
2544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2547         wxPyEndAllowThreads(__tstate
); 
2548         if (PyErr_Occurred()) SWIG_fail
; 
2550     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2557 static PyObject 
*_wrap_MicroSleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2558     PyObject 
*resultobj
; 
2559     unsigned long arg1 
; 
2560     PyObject 
* obj0 
= 0 ; 
2562         (char *) "microseconds", NULL 
 
2565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
; 
2566     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
2567     if (PyErr_Occurred()) SWIG_fail
; 
2569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2572         wxPyEndAllowThreads(__tstate
); 
2573         if (PyErr_Occurred()) SWIG_fail
; 
2575     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2582 static PyObject 
*_wrap_EnableTopLevelWindows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2583     PyObject 
*resultobj
; 
2585     PyObject 
* obj0 
= 0 ; 
2587         (char *) "enable", NULL 
 
2590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
; 
2591     arg1 
= (bool) SWIG_AsBool(obj0
);  
2592     if (PyErr_Occurred()) SWIG_fail
; 
2594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2595         wxEnableTopLevelWindows(arg1
); 
2597         wxPyEndAllowThreads(__tstate
); 
2598         if (PyErr_Occurred()) SWIG_fail
; 
2600     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2607 static PyObject 
*_wrap_StripMenuCodes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2608     PyObject 
*resultobj
; 
2609     wxString 
*arg1 
= 0 ; 
2611     bool temp1 
= False 
; 
2612     PyObject 
* obj0 
= 0 ; 
2617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
; 
2619         arg1 
= wxString_in_helper(obj0
); 
2620         if (arg1 
== NULL
) SWIG_fail
; 
2624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2625         result 
= wxStripMenuCodes((wxString 
const &)*arg1
); 
2627         wxPyEndAllowThreads(__tstate
); 
2628         if (PyErr_Occurred()) SWIG_fail
; 
2632         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2634         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2651 static PyObject 
*_wrap_GetEmailAddress(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2652     PyObject 
*resultobj
; 
2658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
; 
2660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2661         result 
= wxGetEmailAddress(); 
2663         wxPyEndAllowThreads(__tstate
); 
2664         if (PyErr_Occurred()) SWIG_fail
; 
2668         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2670         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2679 static PyObject 
*_wrap_GetHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2680     PyObject 
*resultobj
; 
2686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
; 
2688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2689         result 
= wxGetHostName(); 
2691         wxPyEndAllowThreads(__tstate
); 
2692         if (PyErr_Occurred()) SWIG_fail
; 
2696         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2698         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2707 static PyObject 
*_wrap_GetFullHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2708     PyObject 
*resultobj
; 
2714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
; 
2716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2717         result 
= wxGetFullHostName(); 
2719         wxPyEndAllowThreads(__tstate
); 
2720         if (PyErr_Occurred()) SWIG_fail
; 
2724         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2726         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2735 static PyObject 
*_wrap_GetUserId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2736     PyObject 
*resultobj
; 
2742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
; 
2744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2745         result 
= wxGetUserId(); 
2747         wxPyEndAllowThreads(__tstate
); 
2748         if (PyErr_Occurred()) SWIG_fail
; 
2752         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2754         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2763 static PyObject 
*_wrap_GetUserName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2764     PyObject 
*resultobj
; 
2770     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
; 
2772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2773         result 
= wxGetUserName(); 
2775         wxPyEndAllowThreads(__tstate
); 
2776         if (PyErr_Occurred()) SWIG_fail
; 
2780         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2782         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2791 static PyObject 
*_wrap_GetHomeDir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2792     PyObject 
*resultobj
; 
2798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
; 
2800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2801         result 
= wxGetHomeDir(); 
2803         wxPyEndAllowThreads(__tstate
); 
2804         if (PyErr_Occurred()) SWIG_fail
; 
2808         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2810         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2819 static PyObject 
*_wrap_GetUserHome(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2820     PyObject 
*resultobj
; 
2821     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2822     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2824     bool temp1 
= False 
; 
2825     PyObject 
* obj0 
= 0 ; 
2827         (char *) "user", NULL 
 
2830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
; 
2833             arg1 
= wxString_in_helper(obj0
); 
2834             if (arg1 
== NULL
) SWIG_fail
; 
2839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2840         result 
= wxGetUserHome((wxString 
const &)*arg1
); 
2842         wxPyEndAllowThreads(__tstate
); 
2843         if (PyErr_Occurred()) SWIG_fail
; 
2847         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2849         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2866 static PyObject 
*_wrap_GetProcessId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2867     PyObject 
*resultobj
; 
2868     unsigned long result
; 
2873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
; 
2875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2876         result 
= (unsigned long)wxGetProcessId(); 
2878         wxPyEndAllowThreads(__tstate
); 
2879         if (PyErr_Occurred()) SWIG_fail
; 
2881     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
2888 static PyObject 
*_wrap_Trap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2889     PyObject 
*resultobj
; 
2894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
; 
2896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2899         wxPyEndAllowThreads(__tstate
); 
2900         if (PyErr_Occurred()) SWIG_fail
; 
2902     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2909 static PyObject 
*_wrap_FileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2910     PyObject 
*resultobj
; 
2911     wxString 
const &arg1_defvalue 
= wxPyFileSelectorPromptStr 
; 
2912     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2913     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
2914     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
2915     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2916     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2917     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
2918     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
2919     wxString 
const &arg5_defvalue 
= wxPyFileSelectorDefaultWildcardStr 
; 
2920     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
2921     int arg6 
= (int) 0 ; 
2922     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
2923     int arg8 
= (int) -1 ; 
2924     int arg9 
= (int) -1 ; 
2926     bool temp1 
= False 
; 
2927     bool temp2 
= False 
; 
2928     bool temp3 
= False 
; 
2929     bool temp4 
= False 
; 
2930     bool temp5 
= False 
; 
2931     PyObject 
* obj0 
= 0 ; 
2932     PyObject 
* obj1 
= 0 ; 
2933     PyObject 
* obj2 
= 0 ; 
2934     PyObject 
* obj3 
= 0 ; 
2935     PyObject 
* obj4 
= 0 ; 
2936     PyObject 
* obj5 
= 0 ; 
2937     PyObject 
* obj6 
= 0 ; 
2938     PyObject 
* obj7 
= 0 ; 
2939     PyObject 
* obj8 
= 0 ; 
2941         (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
2944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2947             arg1 
= wxString_in_helper(obj0
); 
2948             if (arg1 
== NULL
) SWIG_fail
; 
2954             arg2 
= wxString_in_helper(obj1
); 
2955             if (arg2 
== NULL
) SWIG_fail
; 
2961             arg3 
= wxString_in_helper(obj2
); 
2962             if (arg3 
== NULL
) SWIG_fail
; 
2968             arg4 
= wxString_in_helper(obj3
); 
2969             if (arg4 
== NULL
) SWIG_fail
; 
2975             arg5 
= wxString_in_helper(obj4
); 
2976             if (arg5 
== NULL
) SWIG_fail
; 
2981         arg6 
= (int) SWIG_AsInt(obj5
);  
2982         if (PyErr_Occurred()) SWIG_fail
; 
2985         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
2986         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2989         arg8 
= (int) SWIG_AsInt(obj7
);  
2990         if (PyErr_Occurred()) SWIG_fail
; 
2993         arg9 
= (int) SWIG_AsInt(obj8
);  
2994         if (PyErr_Occurred()) SWIG_fail
; 
2997         if (!wxPyCheckForApp()) SWIG_fail
; 
2998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2999         result 
= wxFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
); 
3001         wxPyEndAllowThreads(__tstate
); 
3002         if (PyErr_Occurred()) SWIG_fail
; 
3006         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3008         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3057 static PyObject 
*_wrap_LoadFileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3058     PyObject 
*resultobj
; 
3059     wxString 
*arg1 
= 0 ; 
3060     wxString 
*arg2 
= 0 ; 
3061     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3062     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3063     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3065     bool temp1 
= False 
; 
3066     bool temp2 
= False 
; 
3067     bool temp3 
= False 
; 
3068     PyObject 
* obj0 
= 0 ; 
3069     PyObject 
* obj1 
= 0 ; 
3070     PyObject 
* obj2 
= 0 ; 
3071     PyObject 
* obj3 
= 0 ; 
3073         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
3076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3078         arg1 
= wxString_in_helper(obj0
); 
3079         if (arg1 
== NULL
) SWIG_fail
; 
3083         arg2 
= wxString_in_helper(obj1
); 
3084         if (arg2 
== NULL
) SWIG_fail
; 
3089             arg3 
= wxString_in_helper(obj2
); 
3090             if (arg3 
== NULL
) SWIG_fail
; 
3095         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3096         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3099         if (!wxPyCheckForApp()) SWIG_fail
; 
3100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3101         result 
= wxLoadFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3103         wxPyEndAllowThreads(__tstate
); 
3104         if (PyErr_Occurred()) SWIG_fail
; 
3108         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3110         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3143 static PyObject 
*_wrap_SaveFileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3144     PyObject 
*resultobj
; 
3145     wxString 
*arg1 
= 0 ; 
3146     wxString 
*arg2 
= 0 ; 
3147     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3148     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3149     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3151     bool temp1 
= False 
; 
3152     bool temp2 
= False 
; 
3153     bool temp3 
= False 
; 
3154     PyObject 
* obj0 
= 0 ; 
3155     PyObject 
* obj1 
= 0 ; 
3156     PyObject 
* obj2 
= 0 ; 
3157     PyObject 
* obj3 
= 0 ; 
3159         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
3162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3164         arg1 
= wxString_in_helper(obj0
); 
3165         if (arg1 
== NULL
) SWIG_fail
; 
3169         arg2 
= wxString_in_helper(obj1
); 
3170         if (arg2 
== NULL
) SWIG_fail
; 
3175             arg3 
= wxString_in_helper(obj2
); 
3176             if (arg3 
== NULL
) SWIG_fail
; 
3181         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3182         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3185         if (!wxPyCheckForApp()) SWIG_fail
; 
3186         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3187         result 
= wxSaveFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3189         wxPyEndAllowThreads(__tstate
); 
3190         if (PyErr_Occurred()) SWIG_fail
; 
3194         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3196         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3229 static PyObject 
*_wrap_DirSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3230     PyObject 
*resultobj
; 
3231     wxString 
const &arg1_defvalue 
= wxPyDirSelectorPromptStr 
; 
3232     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3233     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3234     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3235     long arg3 
= (long) wxDD_DEFAULT_STYLE 
; 
3236     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3237     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3238     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3240     bool temp1 
= False 
; 
3241     bool temp2 
= False 
; 
3243     PyObject 
* obj0 
= 0 ; 
3244     PyObject 
* obj1 
= 0 ; 
3245     PyObject 
* obj2 
= 0 ; 
3246     PyObject 
* obj3 
= 0 ; 
3247     PyObject 
* obj4 
= 0 ; 
3249         (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL 
 
3252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
3255             arg1 
= wxString_in_helper(obj0
); 
3256             if (arg1 
== NULL
) SWIG_fail
; 
3262             arg2 
= wxString_in_helper(obj1
); 
3263             if (arg2 
== NULL
) SWIG_fail
; 
3268         arg3 
= (long) SWIG_AsLong(obj2
);  
3269         if (PyErr_Occurred()) SWIG_fail
; 
3274             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3278         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3279         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3282         if (!wxPyCheckForApp()) SWIG_fail
; 
3283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3284         result 
= wxDirSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,arg5
); 
3286         wxPyEndAllowThreads(__tstate
); 
3287         if (PyErr_Occurred()) SWIG_fail
; 
3291         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3293         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3318 static PyObject 
*_wrap_GetTextFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3319     PyObject 
*resultobj
; 
3320     wxString 
*arg1 
= 0 ; 
3321     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3322     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3323     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3324     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3325     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3326     int arg5 
= (int) -1 ; 
3327     int arg6 
= (int) -1 ; 
3328     bool arg7 
= (bool) True 
; 
3330     bool temp1 
= False 
; 
3331     bool temp2 
= False 
; 
3332     bool temp3 
= False 
; 
3333     PyObject 
* obj0 
= 0 ; 
3334     PyObject 
* obj1 
= 0 ; 
3335     PyObject 
* obj2 
= 0 ; 
3336     PyObject 
* obj3 
= 0 ; 
3337     PyObject 
* obj4 
= 0 ; 
3338     PyObject 
* obj5 
= 0 ; 
3339     PyObject 
* obj6 
= 0 ; 
3341         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL 
 
3344     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
3346         arg1 
= wxString_in_helper(obj0
); 
3347         if (arg1 
== NULL
) SWIG_fail
; 
3352             arg2 
= wxString_in_helper(obj1
); 
3353             if (arg2 
== NULL
) SWIG_fail
; 
3359             arg3 
= wxString_in_helper(obj2
); 
3360             if (arg3 
== NULL
) SWIG_fail
; 
3365         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3366         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3369         arg5 
= (int) SWIG_AsInt(obj4
);  
3370         if (PyErr_Occurred()) SWIG_fail
; 
3373         arg6 
= (int) SWIG_AsInt(obj5
);  
3374         if (PyErr_Occurred()) SWIG_fail
; 
3377         arg7 
= (bool) SWIG_AsBool(obj6
);  
3378         if (PyErr_Occurred()) SWIG_fail
; 
3381         if (!wxPyCheckForApp()) SWIG_fail
; 
3382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3383         result 
= wxGetTextFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
); 
3385         wxPyEndAllowThreads(__tstate
); 
3386         if (PyErr_Occurred()) SWIG_fail
; 
3390         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3392         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3425 static PyObject 
*_wrap_GetPasswordFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3426     PyObject 
*resultobj
; 
3427     wxString 
*arg1 
= 0 ; 
3428     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3429     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3430     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3431     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3432     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3434     bool temp1 
= False 
; 
3435     bool temp2 
= False 
; 
3436     bool temp3 
= False 
; 
3437     PyObject 
* obj0 
= 0 ; 
3438     PyObject 
* obj1 
= 0 ; 
3439     PyObject 
* obj2 
= 0 ; 
3440     PyObject 
* obj3 
= 0 ; 
3442         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL 
 
3445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3447         arg1 
= wxString_in_helper(obj0
); 
3448         if (arg1 
== NULL
) SWIG_fail
; 
3453             arg2 
= wxString_in_helper(obj1
); 
3454             if (arg2 
== NULL
) SWIG_fail
; 
3460             arg3 
= wxString_in_helper(obj2
); 
3461             if (arg3 
== NULL
) SWIG_fail
; 
3466         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3467         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3470         if (!wxPyCheckForApp()) SWIG_fail
; 
3471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3472         result 
= wxGetPasswordFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3474         wxPyEndAllowThreads(__tstate
); 
3475         if (PyErr_Occurred()) SWIG_fail
; 
3479         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3481         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3514 static PyObject 
*_wrap_GetSingleChoice(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3515     PyObject 
*resultobj
; 
3516     wxString 
*arg1 
= 0 ; 
3517     wxString 
*arg2 
= 0 ; 
3519     wxString 
*arg4 
= (wxString 
*) 0 ; 
3520     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3521     int arg6 
= (int) -1 ; 
3522     int arg7 
= (int) -1 ; 
3523     bool arg8 
= (bool) True 
; 
3524     int arg9 
= (int) 150 ; 
3525     int arg10 
= (int) 200 ; 
3527     bool temp1 
= False 
; 
3528     bool temp2 
= False 
; 
3529     PyObject 
* obj0 
= 0 ; 
3530     PyObject 
* obj1 
= 0 ; 
3531     PyObject 
* obj2 
= 0 ; 
3532     PyObject 
* obj3 
= 0 ; 
3533     PyObject 
* obj4 
= 0 ; 
3534     PyObject 
* obj5 
= 0 ; 
3535     PyObject 
* obj6 
= 0 ; 
3536     PyObject 
* obj7 
= 0 ; 
3537     PyObject 
* obj8 
= 0 ; 
3539         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3544         arg1 
= wxString_in_helper(obj0
); 
3545         if (arg1 
== NULL
) SWIG_fail
; 
3549         arg2 
= wxString_in_helper(obj1
); 
3550         if (arg2 
== NULL
) SWIG_fail
; 
3554         arg3 
= PyList_Size(obj2
); 
3555         arg4 
= wxString_LIST_helper(obj2
); 
3556         if (arg4 
== NULL
) SWIG_fail
; 
3559         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3560         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3563         arg6 
= (int) SWIG_AsInt(obj4
);  
3564         if (PyErr_Occurred()) SWIG_fail
; 
3567         arg7 
= (int) SWIG_AsInt(obj5
);  
3568         if (PyErr_Occurred()) SWIG_fail
; 
3571         arg8 
= (bool) SWIG_AsBool(obj6
);  
3572         if (PyErr_Occurred()) SWIG_fail
; 
3575         arg9 
= (int) SWIG_AsInt(obj7
);  
3576         if (PyErr_Occurred()) SWIG_fail
; 
3579         arg10 
= (int) SWIG_AsInt(obj8
);  
3580         if (PyErr_Occurred()) SWIG_fail
; 
3583         if (!wxPyCheckForApp()) SWIG_fail
; 
3584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3585         result 
= wxGetSingleChoice((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3587         wxPyEndAllowThreads(__tstate
); 
3588         if (PyErr_Occurred()) SWIG_fail
; 
3592         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3594         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3606         if (arg4
) delete [] arg4
; 
3619         if (arg4
) delete [] arg4
; 
3625 static PyObject 
*_wrap_GetSingleChoiceIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3626     PyObject 
*resultobj
; 
3627     wxString 
*arg1 
= 0 ; 
3628     wxString 
*arg2 
= 0 ; 
3630     wxString 
*arg4 
= (wxString 
*) 0 ; 
3631     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3632     int arg6 
= (int) -1 ; 
3633     int arg7 
= (int) -1 ; 
3634     bool arg8 
= (bool) True 
; 
3635     int arg9 
= (int) 150 ; 
3636     int arg10 
= (int) 200 ; 
3638     bool temp1 
= False 
; 
3639     bool temp2 
= False 
; 
3640     PyObject 
* obj0 
= 0 ; 
3641     PyObject 
* obj1 
= 0 ; 
3642     PyObject 
* obj2 
= 0 ; 
3643     PyObject 
* obj3 
= 0 ; 
3644     PyObject 
* obj4 
= 0 ; 
3645     PyObject 
* obj5 
= 0 ; 
3646     PyObject 
* obj6 
= 0 ; 
3647     PyObject 
* obj7 
= 0 ; 
3648     PyObject 
* obj8 
= 0 ; 
3650         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3653     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3655         arg1 
= wxString_in_helper(obj0
); 
3656         if (arg1 
== NULL
) SWIG_fail
; 
3660         arg2 
= wxString_in_helper(obj1
); 
3661         if (arg2 
== NULL
) SWIG_fail
; 
3665         arg3 
= PyList_Size(obj2
); 
3666         arg4 
= wxString_LIST_helper(obj2
); 
3667         if (arg4 
== NULL
) SWIG_fail
; 
3670         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3671         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3674         arg6 
= (int) SWIG_AsInt(obj4
);  
3675         if (PyErr_Occurred()) SWIG_fail
; 
3678         arg7 
= (int) SWIG_AsInt(obj5
);  
3679         if (PyErr_Occurred()) SWIG_fail
; 
3682         arg8 
= (bool) SWIG_AsBool(obj6
);  
3683         if (PyErr_Occurred()) SWIG_fail
; 
3686         arg9 
= (int) SWIG_AsInt(obj7
);  
3687         if (PyErr_Occurred()) SWIG_fail
; 
3690         arg10 
= (int) SWIG_AsInt(obj8
);  
3691         if (PyErr_Occurred()) SWIG_fail
; 
3694         if (!wxPyCheckForApp()) SWIG_fail
; 
3695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3696         result 
= (int)wxGetSingleChoiceIndex((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3698         wxPyEndAllowThreads(__tstate
); 
3699         if (PyErr_Occurred()) SWIG_fail
; 
3701     resultobj 
= SWIG_FromInt((int)result
); 
3711         if (arg4
) delete [] arg4
; 
3724         if (arg4
) delete [] arg4
; 
3730 static PyObject 
*_wrap_MessageBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3731     PyObject 
*resultobj
; 
3732     wxString 
*arg1 
= 0 ; 
3733     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3734     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3735     int arg3 
= (int) wxOK
|wxCENTRE 
; 
3736     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3737     int arg5 
= (int) -1 ; 
3738     int arg6 
= (int) -1 ; 
3740     bool temp1 
= False 
; 
3741     bool temp2 
= False 
; 
3742     PyObject 
* obj0 
= 0 ; 
3743     PyObject 
* obj1 
= 0 ; 
3744     PyObject 
* obj2 
= 0 ; 
3745     PyObject 
* obj3 
= 0 ; 
3746     PyObject 
* obj4 
= 0 ; 
3747     PyObject 
* obj5 
= 0 ; 
3749         (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
3752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
3754         arg1 
= wxString_in_helper(obj0
); 
3755         if (arg1 
== NULL
) SWIG_fail
; 
3760             arg2 
= wxString_in_helper(obj1
); 
3761             if (arg2 
== NULL
) SWIG_fail
; 
3766         arg3 
= (int) SWIG_AsInt(obj2
);  
3767         if (PyErr_Occurred()) SWIG_fail
; 
3770         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3771         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3774         arg5 
= (int) SWIG_AsInt(obj4
);  
3775         if (PyErr_Occurred()) SWIG_fail
; 
3778         arg6 
= (int) SWIG_AsInt(obj5
);  
3779         if (PyErr_Occurred()) SWIG_fail
; 
3782         if (!wxPyCheckForApp()) SWIG_fail
; 
3783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3784         result 
= (int)wxMessageBox((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
3786         wxPyEndAllowThreads(__tstate
); 
3787         if (PyErr_Occurred()) SWIG_fail
; 
3789     resultobj 
= SWIG_FromInt((int)result
); 
3812 static PyObject 
*_wrap_GetNumberFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3813     PyObject 
*resultobj
; 
3814     wxString 
*arg1 
= 0 ; 
3815     wxString 
*arg2 
= 0 ; 
3816     wxString 
*arg3 
= 0 ; 
3818     long arg5 
= (long) 0 ; 
3819     long arg6 
= (long) 100 ; 
3820     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
3821     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
3822     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
3824     bool temp1 
= False 
; 
3825     bool temp2 
= False 
; 
3826     bool temp3 
= False 
; 
3828     PyObject 
* obj0 
= 0 ; 
3829     PyObject 
* obj1 
= 0 ; 
3830     PyObject 
* obj2 
= 0 ; 
3831     PyObject 
* obj3 
= 0 ; 
3832     PyObject 
* obj4 
= 0 ; 
3833     PyObject 
* obj5 
= 0 ; 
3834     PyObject 
* obj6 
= 0 ; 
3835     PyObject 
* obj7 
= 0 ; 
3837         (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL 
 
3840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
3842         arg1 
= wxString_in_helper(obj0
); 
3843         if (arg1 
== NULL
) SWIG_fail
; 
3847         arg2 
= wxString_in_helper(obj1
); 
3848         if (arg2 
== NULL
) SWIG_fail
; 
3852         arg3 
= wxString_in_helper(obj2
); 
3853         if (arg3 
== NULL
) SWIG_fail
; 
3856     arg4 
= (long) SWIG_AsLong(obj3
);  
3857     if (PyErr_Occurred()) SWIG_fail
; 
3859         arg5 
= (long) SWIG_AsLong(obj4
);  
3860         if (PyErr_Occurred()) SWIG_fail
; 
3863         arg6 
= (long) SWIG_AsLong(obj5
);  
3864         if (PyErr_Occurred()) SWIG_fail
; 
3867         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
3868         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3873             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
3877         if (!wxPyCheckForApp()) SWIG_fail
; 
3878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3879         result 
= (long)wxGetNumberFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
3881         wxPyEndAllowThreads(__tstate
); 
3882         if (PyErr_Occurred()) SWIG_fail
; 
3884     resultobj 
= SWIG_FromLong((long)result
); 
3915 static PyObject 
*_wrap_ColourDisplay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3916     PyObject 
*resultobj
; 
3922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
; 
3924         if (!wxPyCheckForApp()) SWIG_fail
; 
3925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3926         result 
= (bool)wxColourDisplay(); 
3928         wxPyEndAllowThreads(__tstate
); 
3929         if (PyErr_Occurred()) SWIG_fail
; 
3932         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3940 static PyObject 
*_wrap_DisplayDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3941     PyObject 
*resultobj
; 
3947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
; 
3949         if (!wxPyCheckForApp()) SWIG_fail
; 
3950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3951         result 
= (int)wxDisplayDepth(); 
3953         wxPyEndAllowThreads(__tstate
); 
3954         if (PyErr_Occurred()) SWIG_fail
; 
3956     resultobj 
= SWIG_FromInt((int)result
); 
3963 static PyObject 
*_wrap_GetDisplayDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3964     PyObject 
*resultobj
; 
3970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
; 
3972         if (!wxPyCheckForApp()) SWIG_fail
; 
3973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3974         result 
= (int)wxGetDisplayDepth(); 
3976         wxPyEndAllowThreads(__tstate
); 
3977         if (PyErr_Occurred()) SWIG_fail
; 
3979     resultobj 
= SWIG_FromInt((int)result
); 
3986 static PyObject 
*_wrap_DisplaySize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3987     PyObject 
*resultobj
; 
3988     int *arg1 
= (int *) 0 ; 
3989     int *arg2 
= (int *) 0 ; 
3998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
; 
4000         if (!wxPyCheckForApp()) SWIG_fail
; 
4001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4002         wxDisplaySize(arg1
,arg2
); 
4004         wxPyEndAllowThreads(__tstate
); 
4005         if (PyErr_Occurred()) SWIG_fail
; 
4007     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4009         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
4010         resultobj 
= t_output_helper(resultobj
,o
); 
4013         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4014         resultobj 
= t_output_helper(resultobj
,o
); 
4022 static PyObject 
*_wrap_GetDisplaySize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4023     PyObject 
*resultobj
; 
4029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
; 
4031         if (!wxPyCheckForApp()) SWIG_fail
; 
4032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4033         result 
= wxGetDisplaySize(); 
4035         wxPyEndAllowThreads(__tstate
); 
4036         if (PyErr_Occurred()) SWIG_fail
; 
4040         resultptr 
= new wxSize((wxSize 
&) result
); 
4041         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4049 static PyObject 
*_wrap_DisplaySizeMM(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4050     PyObject 
*resultobj
; 
4051     int *arg1 
= (int *) 0 ; 
4052     int *arg2 
= (int *) 0 ; 
4061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
; 
4063         if (!wxPyCheckForApp()) SWIG_fail
; 
4064         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4065         wxDisplaySizeMM(arg1
,arg2
); 
4067         wxPyEndAllowThreads(__tstate
); 
4068         if (PyErr_Occurred()) SWIG_fail
; 
4070     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4072         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
4073         resultobj 
= t_output_helper(resultobj
,o
); 
4076         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4077         resultobj 
= t_output_helper(resultobj
,o
); 
4085 static PyObject 
*_wrap_GetDisplaySizeMM(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4086     PyObject 
*resultobj
; 
4092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
; 
4094         if (!wxPyCheckForApp()) SWIG_fail
; 
4095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4096         result 
= wxGetDisplaySizeMM(); 
4098         wxPyEndAllowThreads(__tstate
); 
4099         if (PyErr_Occurred()) SWIG_fail
; 
4103         resultptr 
= new wxSize((wxSize 
&) result
); 
4104         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4112 static PyObject 
*_wrap_ClientDisplayRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4113     PyObject 
*resultobj
; 
4114     int *arg1 
= (int *) 0 ; 
4115     int *arg2 
= (int *) 0 ; 
4116     int *arg3 
= (int *) 0 ; 
4117     int *arg4 
= (int *) 0 ; 
4130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
; 
4132         if (!wxPyCheckForApp()) SWIG_fail
; 
4133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4134         wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
); 
4136         wxPyEndAllowThreads(__tstate
); 
4137         if (PyErr_Occurred()) SWIG_fail
; 
4139     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4141         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
4142         resultobj 
= t_output_helper(resultobj
,o
); 
4145         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4146         resultobj 
= t_output_helper(resultobj
,o
); 
4149         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4150         resultobj 
= t_output_helper(resultobj
,o
); 
4153         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
4154         resultobj 
= t_output_helper(resultobj
,o
); 
4162 static PyObject 
*_wrap_GetClientDisplayRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4163     PyObject 
*resultobj
; 
4169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
; 
4171         if (!wxPyCheckForApp()) SWIG_fail
; 
4172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4173         result 
= wxGetClientDisplayRect(); 
4175         wxPyEndAllowThreads(__tstate
); 
4176         if (PyErr_Occurred()) SWIG_fail
; 
4180         resultptr 
= new wxRect((wxRect 
&) result
); 
4181         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
4189 static PyObject 
*_wrap_SetCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4190     PyObject 
*resultobj
; 
4191     wxCursor 
*arg1 
= 0 ; 
4192     PyObject 
* obj0 
= 0 ; 
4194         (char *) "cursor", NULL 
 
4197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
; 
4198     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
4202         PyErr_SetString(PyExc_TypeError
,"null reference"); 
4206         if (!wxPyCheckForApp()) SWIG_fail
; 
4207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4210         wxPyEndAllowThreads(__tstate
); 
4211         if (PyErr_Occurred()) SWIG_fail
; 
4213     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4220 static PyObject 
*_wrap_BeginBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4221     PyObject 
*resultobj
; 
4222     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
4223     PyObject 
* obj0 
= 0 ; 
4225         (char *) "cursor", NULL 
 
4228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
; 
4230         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4231         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4234         if (!wxPyCheckForApp()) SWIG_fail
; 
4235         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4236         wxBeginBusyCursor(arg1
); 
4238         wxPyEndAllowThreads(__tstate
); 
4239         if (PyErr_Occurred()) SWIG_fail
; 
4241     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4248 static PyObject 
*_wrap_GetActiveWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4249     PyObject 
*resultobj
; 
4255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
; 
4257         if (!wxPyCheckForApp()) SWIG_fail
; 
4258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4259         result 
= (wxWindow 
*)wxGetActiveWindow(); 
4261         wxPyEndAllowThreads(__tstate
); 
4262         if (PyErr_Occurred()) SWIG_fail
; 
4265         resultobj 
= wxPyMake_wxObject(result
, 0);  
4273 static PyObject 
*_wrap_GenericFindWindowAtPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4274     PyObject 
*resultobj
; 
4278     PyObject 
* obj0 
= 0 ; 
4283     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4286         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4289         if (!wxPyCheckForApp()) SWIG_fail
; 
4290         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4291         result 
= (wxWindow 
*)wxGenericFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4293         wxPyEndAllowThreads(__tstate
); 
4294         if (PyErr_Occurred()) SWIG_fail
; 
4297         resultobj 
= wxPyMake_wxObject(result
, 0);  
4305 static PyObject 
*_wrap_FindWindowAtPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4306     PyObject 
*resultobj
; 
4310     PyObject 
* obj0 
= 0 ; 
4315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4318         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4321         if (!wxPyCheckForApp()) SWIG_fail
; 
4322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4323         result 
= (wxWindow 
*)wxFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4325         wxPyEndAllowThreads(__tstate
); 
4326         if (PyErr_Occurred()) SWIG_fail
; 
4329         resultobj 
= wxPyMake_wxObject(result
, 0);  
4337 static PyObject 
*_wrap_GetTopLevelParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4338     PyObject 
*resultobj
; 
4339     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4341     PyObject 
* obj0 
= 0 ; 
4343         (char *) "win", NULL 
 
4346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
; 
4347     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4348     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4350         if (!wxPyCheckForApp()) SWIG_fail
; 
4351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4352         result 
= (wxWindow 
*)wxGetTopLevelParent(arg1
); 
4354         wxPyEndAllowThreads(__tstate
); 
4355         if (PyErr_Occurred()) SWIG_fail
; 
4358         resultobj 
= wxPyMake_wxObject(result
, 0);  
4366 static PyObject 
*_wrap_GetKeyState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4367     PyObject 
*resultobj
; 
4370     PyObject 
* obj0 
= 0 ; 
4372         (char *) "key", NULL 
 
4375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
; 
4376     arg1 
= (wxKeyCode
) SWIG_AsInt(obj0
);  
4377     if (PyErr_Occurred()) SWIG_fail
; 
4379         if (!wxPyCheckForApp()) SWIG_fail
; 
4380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4381         result 
= (bool)wxGetKeyState((wxKeyCode 
)arg1
); 
4383         wxPyEndAllowThreads(__tstate
); 
4384         if (PyErr_Occurred()) SWIG_fail
; 
4387         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4395 static PyObject 
*_wrap_WakeUpMainThread(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4396     PyObject 
*resultobj
; 
4401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
; 
4403         if (!wxPyCheckForApp()) SWIG_fail
; 
4404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4405         wxWakeUpMainThread(); 
4407         wxPyEndAllowThreads(__tstate
); 
4408         if (PyErr_Occurred()) SWIG_fail
; 
4410     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4417 static PyObject 
*_wrap_MutexGuiEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4418     PyObject 
*resultobj
; 
4423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
; 
4425         if (!wxPyCheckForApp()) SWIG_fail
; 
4426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4429         wxPyEndAllowThreads(__tstate
); 
4430         if (PyErr_Occurred()) SWIG_fail
; 
4432     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4439 static PyObject 
*_wrap_MutexGuiLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4440     PyObject 
*resultobj
; 
4445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
; 
4447         if (!wxPyCheckForApp()) SWIG_fail
; 
4448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4451         wxPyEndAllowThreads(__tstate
); 
4452         if (PyErr_Occurred()) SWIG_fail
; 
4454     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4461 static PyObject 
*_wrap_new_MutexGuiLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4462     PyObject 
*resultobj
; 
4463     wxMutexGuiLocker 
*result
; 
4468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
; 
4470         if (!wxPyCheckForApp()) SWIG_fail
; 
4471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4472         result 
= (wxMutexGuiLocker 
*)new wxMutexGuiLocker(); 
4474         wxPyEndAllowThreads(__tstate
); 
4475         if (PyErr_Occurred()) SWIG_fail
; 
4477     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1); 
4484 static PyObject 
*_wrap_delete_MutexGuiLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4485     PyObject 
*resultobj
; 
4486     wxMutexGuiLocker 
*arg1 
= (wxMutexGuiLocker 
*) 0 ; 
4487     PyObject 
* obj0 
= 0 ; 
4489         (char *) "self", NULL 
 
4492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
; 
4493     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
, 
4494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4499         wxPyEndAllowThreads(__tstate
); 
4500         if (PyErr_Occurred()) SWIG_fail
; 
4502     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4509 static PyObject 
* MutexGuiLocker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4511     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4512     SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
); 
4514     return Py_BuildValue((char *)""); 
4516 static PyObject 
*_wrap_Thread_IsMain(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4517     PyObject 
*resultobj
; 
4523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
; 
4525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4526         result 
= (bool)wxThread_IsMain(); 
4528         wxPyEndAllowThreads(__tstate
); 
4529         if (PyErr_Occurred()) SWIG_fail
; 
4532         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4540 static PyObject 
*_wrap_new_ToolTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4541     PyObject 
*resultobj
; 
4542     wxString 
*arg1 
= 0 ; 
4544     bool temp1 
= False 
; 
4545     PyObject 
* obj0 
= 0 ; 
4547         (char *) "tip", NULL 
 
4550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
; 
4552         arg1 
= wxString_in_helper(obj0
); 
4553         if (arg1 
== NULL
) SWIG_fail
; 
4557         if (!wxPyCheckForApp()) SWIG_fail
; 
4558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4559         result 
= (wxToolTip 
*)new wxToolTip((wxString 
const &)*arg1
); 
4561         wxPyEndAllowThreads(__tstate
); 
4562         if (PyErr_Occurred()) SWIG_fail
; 
4565         resultobj 
= wxPyMake_wxObject(result
, 1);  
4581 static PyObject 
*_wrap_ToolTip_SetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4582     PyObject 
*resultobj
; 
4583     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4584     wxString 
*arg2 
= 0 ; 
4585     bool temp2 
= False 
; 
4586     PyObject 
* obj0 
= 0 ; 
4587     PyObject 
* obj1 
= 0 ; 
4589         (char *) "self",(char *) "tip", NULL 
 
4592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
4593     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4594     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4596         arg2 
= wxString_in_helper(obj1
); 
4597         if (arg2 
== NULL
) SWIG_fail
; 
4601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4602         (arg1
)->SetTip((wxString 
const &)*arg2
); 
4604         wxPyEndAllowThreads(__tstate
); 
4605         if (PyErr_Occurred()) SWIG_fail
; 
4607     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4622 static PyObject 
*_wrap_ToolTip_GetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4623     PyObject 
*resultobj
; 
4624     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4626     PyObject 
* obj0 
= 0 ; 
4628         (char *) "self", NULL 
 
4631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
; 
4632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4636         result 
= (arg1
)->GetTip(); 
4638         wxPyEndAllowThreads(__tstate
); 
4639         if (PyErr_Occurred()) SWIG_fail
; 
4643         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4645         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4654 static PyObject 
*_wrap_ToolTip_GetWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4655     PyObject 
*resultobj
; 
4656     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4658     PyObject 
* obj0 
= 0 ; 
4660         (char *) "self", NULL 
 
4663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
; 
4664     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4665     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4668         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
4670         wxPyEndAllowThreads(__tstate
); 
4671         if (PyErr_Occurred()) SWIG_fail
; 
4674         resultobj 
= wxPyMake_wxObject(result
, 0);  
4682 static PyObject 
*_wrap_ToolTip_Enable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4683     PyObject 
*resultobj
; 
4685     PyObject 
* obj0 
= 0 ; 
4687         (char *) "flag", NULL 
 
4690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
; 
4691     arg1 
= (bool) SWIG_AsBool(obj0
);  
4692     if (PyErr_Occurred()) SWIG_fail
; 
4694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4695         wxToolTip::Enable(arg1
); 
4697         wxPyEndAllowThreads(__tstate
); 
4698         if (PyErr_Occurred()) SWIG_fail
; 
4700     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4707 static PyObject 
*_wrap_ToolTip_SetDelay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4708     PyObject 
*resultobj
; 
4710     PyObject 
* obj0 
= 0 ; 
4712         (char *) "milliseconds", NULL 
 
4715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
; 
4716     arg1 
= (long) SWIG_AsLong(obj0
);  
4717     if (PyErr_Occurred()) SWIG_fail
; 
4719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4720         wxToolTip::SetDelay(arg1
); 
4722         wxPyEndAllowThreads(__tstate
); 
4723         if (PyErr_Occurred()) SWIG_fail
; 
4725     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4732 static PyObject 
* ToolTip_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4734     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4735     SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
); 
4737     return Py_BuildValue((char *)""); 
4739 static PyObject 
*_wrap_new_Caret(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4740     PyObject 
*resultobj
; 
4741     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4745     PyObject 
* obj0 
= 0 ; 
4746     PyObject 
* obj1 
= 0 ; 
4748         (char *) "window",(char *) "size", NULL 
 
4751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
; 
4752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4756         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4759         if (!wxPyCheckForApp()) SWIG_fail
; 
4760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4761         result 
= (wxCaret 
*)new wxCaret(arg1
,(wxSize 
const &)*arg2
); 
4763         wxPyEndAllowThreads(__tstate
); 
4764         if (PyErr_Occurred()) SWIG_fail
; 
4766     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1); 
4773 static PyObject 
*_wrap_delete_Caret(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4774     PyObject 
*resultobj
; 
4775     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4776     PyObject 
* obj0 
= 0 ; 
4778         (char *) "self", NULL 
 
4781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
; 
4782     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4785         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4788         wxPyEndAllowThreads(__tstate
); 
4789         if (PyErr_Occurred()) SWIG_fail
; 
4791     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4798 static PyObject 
*_wrap_Caret_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4799     PyObject 
*resultobj
; 
4800     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4802     PyObject 
* obj0 
= 0 ; 
4804         (char *) "self", NULL 
 
4807     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
; 
4808     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4809     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4812         result 
= (bool)(arg1
)->IsOk(); 
4814         wxPyEndAllowThreads(__tstate
); 
4815         if (PyErr_Occurred()) SWIG_fail
; 
4818         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4826 static PyObject 
*_wrap_Caret_IsVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4827     PyObject 
*resultobj
; 
4828     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4830     PyObject 
* obj0 
= 0 ; 
4832         (char *) "self", NULL 
 
4835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
; 
4836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4840         result 
= (bool)(arg1
)->IsVisible(); 
4842         wxPyEndAllowThreads(__tstate
); 
4843         if (PyErr_Occurred()) SWIG_fail
; 
4846         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4854 static PyObject 
*_wrap_Caret_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4855     PyObject 
*resultobj
; 
4856     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4858     PyObject 
* obj0 
= 0 ; 
4860         (char *) "self", NULL 
 
4863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
; 
4864     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4865     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4868         result 
= (arg1
)->GetPosition(); 
4870         wxPyEndAllowThreads(__tstate
); 
4871         if (PyErr_Occurred()) SWIG_fail
; 
4874         wxPoint 
* resultptr
; 
4875         resultptr 
= new wxPoint((wxPoint 
&) result
); 
4876         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
4884 static PyObject 
*_wrap_Caret_GetPositionTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4885     PyObject 
*resultobj
; 
4886     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4887     int *arg2 
= (int *) 0 ; 
4888     int *arg3 
= (int *) 0 ; 
4891     PyObject 
* obj0 
= 0 ; 
4893         (char *) "self", NULL 
 
4898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
; 
4899     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4900     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4903         (arg1
)->GetPosition(arg2
,arg3
); 
4905         wxPyEndAllowThreads(__tstate
); 
4906         if (PyErr_Occurred()) SWIG_fail
; 
4908     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4910         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4911         resultobj 
= t_output_helper(resultobj
,o
); 
4914         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4915         resultobj 
= t_output_helper(resultobj
,o
); 
4923 static PyObject 
*_wrap_Caret_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4924     PyObject 
*resultobj
; 
4925     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4927     PyObject 
* obj0 
= 0 ; 
4929         (char *) "self", NULL 
 
4932     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
; 
4933     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4934     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4937         result 
= (arg1
)->GetSize(); 
4939         wxPyEndAllowThreads(__tstate
); 
4940         if (PyErr_Occurred()) SWIG_fail
; 
4944         resultptr 
= new wxSize((wxSize 
&) result
); 
4945         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4953 static PyObject 
*_wrap_Caret_GetSizeTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4954     PyObject 
*resultobj
; 
4955     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4956     int *arg2 
= (int *) 0 ; 
4957     int *arg3 
= (int *) 0 ; 
4960     PyObject 
* obj0 
= 0 ; 
4962         (char *) "self", NULL 
 
4967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
4968     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4969     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4972         (arg1
)->GetSize(arg2
,arg3
); 
4974         wxPyEndAllowThreads(__tstate
); 
4975         if (PyErr_Occurred()) SWIG_fail
; 
4977     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4979         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4980         resultobj 
= t_output_helper(resultobj
,o
); 
4983         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4984         resultobj 
= t_output_helper(resultobj
,o
); 
4992 static PyObject 
*_wrap_Caret_GetWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4993     PyObject 
*resultobj
; 
4994     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4996     PyObject 
* obj0 
= 0 ; 
4998         (char *) "self", NULL 
 
5001     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
; 
5002     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5003     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5006         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
5008         wxPyEndAllowThreads(__tstate
); 
5009         if (PyErr_Occurred()) SWIG_fail
; 
5012         resultobj 
= wxPyMake_wxObject(result
, 0);  
5020 static PyObject 
*_wrap_Caret_MoveXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5021     PyObject 
*resultobj
; 
5022     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5025     PyObject 
* obj0 
= 0 ; 
5026     PyObject 
* obj1 
= 0 ; 
5027     PyObject 
* obj2 
= 0 ; 
5029         (char *) "self",(char *) "x",(char *) "y", NULL 
 
5032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5033     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5034     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5035     arg2 
= (int) SWIG_AsInt(obj1
);  
5036     if (PyErr_Occurred()) SWIG_fail
; 
5037     arg3 
= (int) SWIG_AsInt(obj2
);  
5038     if (PyErr_Occurred()) SWIG_fail
; 
5040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5041         (arg1
)->Move(arg2
,arg3
); 
5043         wxPyEndAllowThreads(__tstate
); 
5044         if (PyErr_Occurred()) SWIG_fail
; 
5046     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5053 static PyObject 
*_wrap_Caret_Move(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5054     PyObject 
*resultobj
; 
5055     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5058     PyObject 
* obj0 
= 0 ; 
5059     PyObject 
* obj1 
= 0 ; 
5061         (char *) "self",(char *) "pt", NULL 
 
5064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
; 
5065     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5066     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5069         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5073         (arg1
)->Move((wxPoint 
const &)*arg2
); 
5075         wxPyEndAllowThreads(__tstate
); 
5076         if (PyErr_Occurred()) SWIG_fail
; 
5078     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5085 static PyObject 
*_wrap_Caret_SetSizeWH(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5086     PyObject 
*resultobj
; 
5087     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5090     PyObject 
* obj0 
= 0 ; 
5091     PyObject 
* obj1 
= 0 ; 
5092     PyObject 
* obj2 
= 0 ; 
5094         (char *) "self",(char *) "width",(char *) "height", NULL 
 
5097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5100     arg2 
= (int) SWIG_AsInt(obj1
);  
5101     if (PyErr_Occurred()) SWIG_fail
; 
5102     arg3 
= (int) SWIG_AsInt(obj2
);  
5103     if (PyErr_Occurred()) SWIG_fail
; 
5105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5106         (arg1
)->SetSize(arg2
,arg3
); 
5108         wxPyEndAllowThreads(__tstate
); 
5109         if (PyErr_Occurred()) SWIG_fail
; 
5111     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5118 static PyObject 
*_wrap_Caret_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5119     PyObject 
*resultobj
; 
5120     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5123     PyObject 
* obj0 
= 0 ; 
5124     PyObject 
* obj1 
= 0 ; 
5126         (char *) "self",(char *) "size", NULL 
 
5129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5130     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5131     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5134         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5138         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
5140         wxPyEndAllowThreads(__tstate
); 
5141         if (PyErr_Occurred()) SWIG_fail
; 
5143     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5150 static PyObject 
*_wrap_Caret_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5151     PyObject 
*resultobj
; 
5152     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5153     int arg2 
= (int) True 
; 
5154     PyObject 
* obj0 
= 0 ; 
5155     PyObject 
* obj1 
= 0 ; 
5157         (char *) "self",(char *) "show", NULL 
 
5160     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
5161     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5164         arg2 
= (int) SWIG_AsInt(obj1
);  
5165         if (PyErr_Occurred()) SWIG_fail
; 
5168         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5171         wxPyEndAllowThreads(__tstate
); 
5172         if (PyErr_Occurred()) SWIG_fail
; 
5174     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5181 static PyObject 
*_wrap_Caret_Hide(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5182     PyObject 
*resultobj
; 
5183     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
5184     PyObject 
* obj0 
= 0 ; 
5186         (char *) "self", NULL 
 
5189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
; 
5190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
5191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5196         wxPyEndAllowThreads(__tstate
); 
5197         if (PyErr_Occurred()) SWIG_fail
; 
5199     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5206 static PyObject 
* Caret_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5208     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5209     SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
); 
5211     return Py_BuildValue((char *)""); 
5213 static PyObject 
*_wrap_Caret_GetBlinkTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5214     PyObject 
*resultobj
; 
5220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
; 
5222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5223         result 
= (int)wxCaret_GetBlinkTime(); 
5225         wxPyEndAllowThreads(__tstate
); 
5226         if (PyErr_Occurred()) SWIG_fail
; 
5228     resultobj 
= SWIG_FromInt((int)result
); 
5235 static PyObject 
*_wrap_Caret_SetBlinkTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5236     PyObject 
*resultobj
; 
5238     PyObject 
* obj0 
= 0 ; 
5240         (char *) "milliseconds", NULL 
 
5243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
; 
5244     arg1 
= (int) SWIG_AsInt(obj0
);  
5245     if (PyErr_Occurred()) SWIG_fail
; 
5247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5248         wxCaret_SetBlinkTime(arg1
); 
5250         wxPyEndAllowThreads(__tstate
); 
5251         if (PyErr_Occurred()) SWIG_fail
; 
5253     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5260 static PyObject 
*_wrap_new_BusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5261     PyObject 
*resultobj
; 
5262     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
5263     wxBusyCursor 
*result
; 
5264     PyObject 
* obj0 
= 0 ; 
5266         (char *) "cursor", NULL 
 
5269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5271         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5272         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5275         if (!wxPyCheckForApp()) SWIG_fail
; 
5276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5277         result 
= (wxBusyCursor 
*)new wxBusyCursor(arg1
); 
5279         wxPyEndAllowThreads(__tstate
); 
5280         if (PyErr_Occurred()) SWIG_fail
; 
5282     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1); 
5289 static PyObject 
*_wrap_delete_BusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5290     PyObject 
*resultobj
; 
5291     wxBusyCursor 
*arg1 
= (wxBusyCursor 
*) 0 ; 
5292     PyObject 
* obj0 
= 0 ; 
5294         (char *) "self", NULL 
 
5297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5298     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
, 
5299     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5301         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5304         wxPyEndAllowThreads(__tstate
); 
5305         if (PyErr_Occurred()) SWIG_fail
; 
5307     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5314 static PyObject 
* BusyCursor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5316     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5317     SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
); 
5319     return Py_BuildValue((char *)""); 
5321 static PyObject 
*_wrap_new_WindowDisabler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5322     PyObject 
*resultobj
; 
5323     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
5324     wxWindowDisabler 
*result
; 
5325     PyObject 
* obj0 
= 0 ; 
5327         (char *) "winToSkip", NULL 
 
5330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5332         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5333         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5336         if (!wxPyCheckForApp()) SWIG_fail
; 
5337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5338         result 
= (wxWindowDisabler 
*)new wxWindowDisabler(arg1
); 
5340         wxPyEndAllowThreads(__tstate
); 
5341         if (PyErr_Occurred()) SWIG_fail
; 
5343     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1); 
5350 static PyObject 
*_wrap_delete_WindowDisabler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5351     PyObject 
*resultobj
; 
5352     wxWindowDisabler 
*arg1 
= (wxWindowDisabler 
*) 0 ; 
5353     PyObject 
* obj0 
= 0 ; 
5355         (char *) "self", NULL 
 
5358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5359     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
, 
5360     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5365         wxPyEndAllowThreads(__tstate
); 
5366         if (PyErr_Occurred()) SWIG_fail
; 
5368     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5375 static PyObject 
* WindowDisabler_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5377     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5378     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
); 
5380     return Py_BuildValue((char *)""); 
5382 static PyObject 
*_wrap_new_BusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5383     PyObject 
*resultobj
; 
5384     wxString 
*arg1 
= 0 ; 
5386     bool temp1 
= False 
; 
5387     PyObject 
* obj0 
= 0 ; 
5389         (char *) "message", NULL 
 
5392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5394         arg1 
= wxString_in_helper(obj0
); 
5395         if (arg1 
== NULL
) SWIG_fail
; 
5399         if (!wxPyCheckForApp()) SWIG_fail
; 
5400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5401         result 
= (wxBusyInfo 
*)new wxBusyInfo((wxString 
const &)*arg1
); 
5403         wxPyEndAllowThreads(__tstate
); 
5404         if (PyErr_Occurred()) SWIG_fail
; 
5406     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1); 
5421 static PyObject 
*_wrap_delete_BusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5422     PyObject 
*resultobj
; 
5423     wxBusyInfo 
*arg1 
= (wxBusyInfo 
*) 0 ; 
5424     PyObject 
* obj0 
= 0 ; 
5426         (char *) "self", NULL 
 
5429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
, 
5431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5436         wxPyEndAllowThreads(__tstate
); 
5437         if (PyErr_Occurred()) SWIG_fail
; 
5439     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5446 static PyObject 
* BusyInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5448     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5449     SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
); 
5451     return Py_BuildValue((char *)""); 
5453 static PyObject 
*_wrap_new_StopWatch(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5454     PyObject 
*resultobj
; 
5455     wxStopWatch 
*result
; 
5460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
; 
5462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5463         result 
= (wxStopWatch 
*)new wxStopWatch(); 
5465         wxPyEndAllowThreads(__tstate
); 
5466         if (PyErr_Occurred()) SWIG_fail
; 
5468     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1); 
5475 static PyObject 
*_wrap_StopWatch_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5476     PyObject 
*resultobj
; 
5477     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5478     long arg2 
= (long) 0 ; 
5479     PyObject 
* obj0 
= 0 ; 
5480     PyObject 
* obj1 
= 0 ; 
5482         (char *) "self",(char *) "t0", NULL 
 
5485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
; 
5486     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5487     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5489         arg2 
= (long) SWIG_AsLong(obj1
);  
5490         if (PyErr_Occurred()) SWIG_fail
; 
5493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5494         (arg1
)->Start(arg2
); 
5496         wxPyEndAllowThreads(__tstate
); 
5497         if (PyErr_Occurred()) SWIG_fail
; 
5499     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5506 static PyObject 
*_wrap_StopWatch_Pause(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5507     PyObject 
*resultobj
; 
5508     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5509     PyObject 
* obj0 
= 0 ; 
5511         (char *) "self", NULL 
 
5514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
; 
5515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5521         wxPyEndAllowThreads(__tstate
); 
5522         if (PyErr_Occurred()) SWIG_fail
; 
5524     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5531 static PyObject 
*_wrap_StopWatch_Resume(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5532     PyObject 
*resultobj
; 
5533     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5534     PyObject 
* obj0 
= 0 ; 
5536         (char *) "self", NULL 
 
5539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
; 
5540     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5541     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5546         wxPyEndAllowThreads(__tstate
); 
5547         if (PyErr_Occurred()) SWIG_fail
; 
5549     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5556 static PyObject 
*_wrap_StopWatch_Time(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5557     PyObject 
*resultobj
; 
5558     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5560     PyObject 
* obj0 
= 0 ; 
5562         (char *) "self", NULL 
 
5565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
; 
5566     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5567     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5570         result 
= (long)((wxStopWatch 
const *)arg1
)->Time(); 
5572         wxPyEndAllowThreads(__tstate
); 
5573         if (PyErr_Occurred()) SWIG_fail
; 
5575     resultobj 
= SWIG_FromLong((long)result
); 
5582 static PyObject 
* StopWatch_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5584     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5585     SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
); 
5587     return Py_BuildValue((char *)""); 
5589 static PyObject 
*_wrap_new_FileHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5590     PyObject 
*resultobj
; 
5591     int arg1 
= (int) 9 ; 
5592     int arg2 
= (int) wxID_FILE1 
; 
5593     wxFileHistory 
*result
; 
5594     PyObject 
* obj0 
= 0 ; 
5595     PyObject 
* obj1 
= 0 ; 
5597         (char *) "maxFiles",(char *) "idBase", NULL 
 
5600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5602         arg1 
= (int) SWIG_AsInt(obj0
);  
5603         if (PyErr_Occurred()) SWIG_fail
; 
5606         arg2 
= (int) SWIG_AsInt(obj1
);  
5607         if (PyErr_Occurred()) SWIG_fail
; 
5610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5611         result 
= (wxFileHistory 
*)new wxFileHistory(arg1
,arg2
); 
5613         wxPyEndAllowThreads(__tstate
); 
5614         if (PyErr_Occurred()) SWIG_fail
; 
5616     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1); 
5623 static PyObject 
*_wrap_delete_FileHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5624     PyObject 
*resultobj
; 
5625     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5626     PyObject 
* obj0 
= 0 ; 
5628         (char *) "self", NULL 
 
5631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
; 
5632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5638         wxPyEndAllowThreads(__tstate
); 
5639         if (PyErr_Occurred()) SWIG_fail
; 
5641     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5648 static PyObject 
*_wrap_FileHistory_AddFileToHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5649     PyObject 
*resultobj
; 
5650     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5651     wxString 
*arg2 
= 0 ; 
5652     bool temp2 
= False 
; 
5653     PyObject 
* obj0 
= 0 ; 
5654     PyObject 
* obj1 
= 0 ; 
5656         (char *) "self",(char *) "file", NULL 
 
5659     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5660     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5661     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5663         arg2 
= wxString_in_helper(obj1
); 
5664         if (arg2 
== NULL
) SWIG_fail
; 
5668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5669         (arg1
)->AddFileToHistory((wxString 
const &)*arg2
); 
5671         wxPyEndAllowThreads(__tstate
); 
5672         if (PyErr_Occurred()) SWIG_fail
; 
5674     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5689 static PyObject 
*_wrap_FileHistory_RemoveFileFromHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5690     PyObject 
*resultobj
; 
5691     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5693     PyObject 
* obj0 
= 0 ; 
5694     PyObject 
* obj1 
= 0 ; 
5696         (char *) "self",(char *) "i", NULL 
 
5699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5702     arg2 
= (int) SWIG_AsInt(obj1
);  
5703     if (PyErr_Occurred()) SWIG_fail
; 
5705         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5706         (arg1
)->RemoveFileFromHistory(arg2
); 
5708         wxPyEndAllowThreads(__tstate
); 
5709         if (PyErr_Occurred()) SWIG_fail
; 
5711     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5718 static PyObject 
*_wrap_FileHistory_GetMaxFiles(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5719     PyObject 
*resultobj
; 
5720     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5722     PyObject 
* obj0 
= 0 ; 
5724         (char *) "self", NULL 
 
5727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
; 
5728     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5729     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5732         result 
= (int)((wxFileHistory 
const *)arg1
)->GetMaxFiles(); 
5734         wxPyEndAllowThreads(__tstate
); 
5735         if (PyErr_Occurred()) SWIG_fail
; 
5737     resultobj 
= SWIG_FromInt((int)result
); 
5744 static PyObject 
*_wrap_FileHistory_UseMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5745     PyObject 
*resultobj
; 
5746     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5747     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5748     PyObject 
* obj0 
= 0 ; 
5749     PyObject 
* obj1 
= 0 ; 
5751         (char *) "self",(char *) "menu", NULL 
 
5754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5755     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5756     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5757     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5758     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5761         (arg1
)->UseMenu(arg2
); 
5763         wxPyEndAllowThreads(__tstate
); 
5764         if (PyErr_Occurred()) SWIG_fail
; 
5766     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5773 static PyObject 
*_wrap_FileHistory_RemoveMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5774     PyObject 
*resultobj
; 
5775     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5776     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5777     PyObject 
* obj0 
= 0 ; 
5778     PyObject 
* obj1 
= 0 ; 
5780         (char *) "self",(char *) "menu", NULL 
 
5783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5784     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5785     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5786     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5790         (arg1
)->RemoveMenu(arg2
); 
5792         wxPyEndAllowThreads(__tstate
); 
5793         if (PyErr_Occurred()) SWIG_fail
; 
5795     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5802 static PyObject 
*_wrap_FileHistory_Load(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5803     PyObject 
*resultobj
; 
5804     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5805     wxConfigBase 
*arg2 
= 0 ; 
5806     PyObject 
* obj0 
= 0 ; 
5807     PyObject 
* obj1 
= 0 ; 
5809         (char *) "self",(char *) "config", NULL 
 
5812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
; 
5813     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5814     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5815     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
5816     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5819         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5823         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5824         (arg1
)->Load(*arg2
); 
5826         wxPyEndAllowThreads(__tstate
); 
5827         if (PyErr_Occurred()) SWIG_fail
; 
5829     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5836 static PyObject 
*_wrap_FileHistory_Save(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5837     PyObject 
*resultobj
; 
5838     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5839     wxConfigBase 
*arg2 
= 0 ; 
5840     PyObject 
* obj0 
= 0 ; 
5841     PyObject 
* obj1 
= 0 ; 
5843         (char *) "self",(char *) "config", NULL 
 
5846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
; 
5847     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5848     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5849     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
5850     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5853         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5858         (arg1
)->Save(*arg2
); 
5860         wxPyEndAllowThreads(__tstate
); 
5861         if (PyErr_Occurred()) SWIG_fail
; 
5863     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5870 static PyObject 
*_wrap_FileHistory_AddFilesToMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5871     PyObject 
*resultobj
; 
5872     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5873     PyObject 
* obj0 
= 0 ; 
5875         (char *) "self", NULL 
 
5878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
; 
5879     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5880     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5883         (arg1
)->AddFilesToMenu(); 
5885         wxPyEndAllowThreads(__tstate
); 
5886         if (PyErr_Occurred()) SWIG_fail
; 
5888     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5895 static PyObject 
*_wrap_FileHistory_AddFilesToThisMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5896     PyObject 
*resultobj
; 
5897     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5898     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5899     PyObject 
* obj0 
= 0 ; 
5900     PyObject 
* obj1 
= 0 ; 
5902         (char *) "self",(char *) "menu", NULL 
 
5905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5906     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5907     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5908     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5909     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5911         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5912         (arg1
)->AddFilesToMenu(arg2
); 
5914         wxPyEndAllowThreads(__tstate
); 
5915         if (PyErr_Occurred()) SWIG_fail
; 
5917     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5924 static PyObject 
*_wrap_FileHistory_GetHistoryFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5925     PyObject 
*resultobj
; 
5926     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5929     PyObject 
* obj0 
= 0 ; 
5930     PyObject 
* obj1 
= 0 ; 
5932         (char *) "self",(char *) "i", NULL 
 
5935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
5936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5938     arg2 
= (int) SWIG_AsInt(obj1
);  
5939     if (PyErr_Occurred()) SWIG_fail
; 
5941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5942         result 
= ((wxFileHistory 
const *)arg1
)->GetHistoryFile(arg2
); 
5944         wxPyEndAllowThreads(__tstate
); 
5945         if (PyErr_Occurred()) SWIG_fail
; 
5949         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5951         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5960 static PyObject 
*_wrap_FileHistory_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5961     PyObject 
*resultobj
; 
5962     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5964     PyObject 
* obj0 
= 0 ; 
5966         (char *) "self", NULL 
 
5969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
; 
5970     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5971     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5974         result 
= (int)((wxFileHistory 
const *)arg1
)->GetCount(); 
5976         wxPyEndAllowThreads(__tstate
); 
5977         if (PyErr_Occurred()) SWIG_fail
; 
5979     resultobj 
= SWIG_FromInt((int)result
); 
5986 static PyObject 
* FileHistory_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5988     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5989     SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
); 
5991     return Py_BuildValue((char *)""); 
5993 static PyObject 
*_wrap_new_SingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5994     PyObject 
*resultobj
; 
5995     wxString 
*arg1 
= 0 ; 
5996     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
5997     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5998     wxSingleInstanceChecker 
*result
; 
5999     bool temp1 
= False 
; 
6000     bool temp2 
= False 
; 
6001     PyObject 
* obj0 
= 0 ; 
6002     PyObject 
* obj1 
= 0 ; 
6004         (char *) "name",(char *) "path", NULL 
 
6007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
; 
6009         arg1 
= wxString_in_helper(obj0
); 
6010         if (arg1 
== NULL
) SWIG_fail
; 
6015             arg2 
= wxString_in_helper(obj1
); 
6016             if (arg2 
== NULL
) SWIG_fail
; 
6021         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6022         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
6024         wxPyEndAllowThreads(__tstate
); 
6025         if (PyErr_Occurred()) SWIG_fail
; 
6027     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
6050 static PyObject 
*_wrap_new_PreSingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6051     PyObject 
*resultobj
; 
6052     wxSingleInstanceChecker 
*result
; 
6057     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
; 
6059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6060         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker(); 
6062         wxPyEndAllowThreads(__tstate
); 
6063         if (PyErr_Occurred()) SWIG_fail
; 
6065     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
6072 static PyObject 
*_wrap_delete_SingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6073     PyObject 
*resultobj
; 
6074     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
6075     PyObject 
* obj0 
= 0 ; 
6077         (char *) "self", NULL 
 
6080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
; 
6081     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
6082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6087         wxPyEndAllowThreads(__tstate
); 
6088         if (PyErr_Occurred()) SWIG_fail
; 
6090     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6097 static PyObject 
*_wrap_SingleInstanceChecker_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6098     PyObject 
*resultobj
; 
6099     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
6100     wxString 
*arg2 
= 0 ; 
6101     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
6102     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
6104     bool temp2 
= False 
; 
6105     bool temp3 
= False 
; 
6106     PyObject 
* obj0 
= 0 ; 
6107     PyObject 
* obj1 
= 0 ; 
6108     PyObject 
* obj2 
= 0 ; 
6110         (char *) "self",(char *) "name",(char *) "path", NULL 
 
6113     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6114     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
6115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6117         arg2 
= wxString_in_helper(obj1
); 
6118         if (arg2 
== NULL
) SWIG_fail
; 
6123             arg3 
= wxString_in_helper(obj2
); 
6124             if (arg3 
== NULL
) SWIG_fail
; 
6129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6130         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
6132         wxPyEndAllowThreads(__tstate
); 
6133         if (PyErr_Occurred()) SWIG_fail
; 
6136         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6160 static PyObject 
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6161     PyObject 
*resultobj
; 
6162     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
6164     PyObject 
* obj0 
= 0 ; 
6166         (char *) "self", NULL 
 
6169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
; 
6170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
6171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6174         result 
= (bool)((wxSingleInstanceChecker 
const *)arg1
)->IsAnotherRunning(); 
6176         wxPyEndAllowThreads(__tstate
); 
6177         if (PyErr_Occurred()) SWIG_fail
; 
6180         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6188 static PyObject 
* SingleInstanceChecker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6190     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6191     SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
); 
6193     return Py_BuildValue((char *)""); 
6195 static PyObject 
*_wrap_DrawWindowOnDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6196     PyObject 
*resultobj
; 
6197     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6200     PyObject 
* obj0 
= 0 ; 
6201     PyObject 
* obj1 
= 0 ; 
6202     PyObject 
* obj2 
= 0 ; 
6204         (char *) "window",(char *) "dc",(char *) "method", NULL 
 
6207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6210     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
6211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6214         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6217     arg3 
= (int) SWIG_AsInt(obj2
);  
6218     if (PyErr_Occurred()) SWIG_fail
; 
6220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6221         wxDrawWindowOnDC(arg1
,(wxDC 
const &)*arg2
,arg3
); 
6223         wxPyEndAllowThreads(__tstate
); 
6224         if (PyErr_Occurred()) SWIG_fail
; 
6226     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6233 static PyObject 
*_wrap_delete_TipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6234     PyObject 
*resultobj
; 
6235     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6236     PyObject 
* obj0 
= 0 ; 
6238         (char *) "self", NULL 
 
6241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
; 
6242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6248         wxPyEndAllowThreads(__tstate
); 
6249         if (PyErr_Occurred()) SWIG_fail
; 
6251     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6258 static PyObject 
*_wrap_TipProvider_GetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6259     PyObject 
*resultobj
; 
6260     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6262     PyObject 
* obj0 
= 0 ; 
6264         (char *) "self", NULL 
 
6267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
; 
6268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6272         result 
= (arg1
)->GetTip(); 
6274         wxPyEndAllowThreads(__tstate
); 
6275         if (PyErr_Occurred()) SWIG_fail
; 
6279         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6281         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6290 static PyObject 
*_wrap_TipProvider_GetCurrentTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6291     PyObject 
*resultobj
; 
6292     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6294     PyObject 
* obj0 
= 0 ; 
6296         (char *) "self", NULL 
 
6299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
; 
6300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6304         result 
= (size_t)(arg1
)->GetCurrentTip(); 
6306         wxPyEndAllowThreads(__tstate
); 
6307         if (PyErr_Occurred()) SWIG_fail
; 
6309     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
6316 static PyObject 
*_wrap_TipProvider_PreprocessTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6317     PyObject 
*resultobj
; 
6318     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6319     wxString 
*arg2 
= 0 ; 
6321     bool temp2 
= False 
; 
6322     PyObject 
* obj0 
= 0 ; 
6323     PyObject 
* obj1 
= 0 ; 
6325         (char *) "self",(char *) "tip", NULL 
 
6328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
6329     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6330     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6332         arg2 
= wxString_in_helper(obj1
); 
6333         if (arg2 
== NULL
) SWIG_fail
; 
6337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6338         result 
= (arg1
)->PreprocessTip((wxString 
const &)*arg2
); 
6340         wxPyEndAllowThreads(__tstate
); 
6341         if (PyErr_Occurred()) SWIG_fail
; 
6345         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6347         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6364 static PyObject 
* TipProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6366     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6367     SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
); 
6369     return Py_BuildValue((char *)""); 
6371 static PyObject 
*_wrap_new_PyTipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6372     PyObject 
*resultobj
; 
6374     wxPyTipProvider 
*result
; 
6375     PyObject 
* obj0 
= 0 ; 
6377         (char *) "currentTip", NULL 
 
6380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
; 
6381     arg1 
= (size_t) SWIG_AsUnsignedLong(obj0
);  
6382     if (PyErr_Occurred()) SWIG_fail
; 
6384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6385         result 
= (wxPyTipProvider 
*)new wxPyTipProvider(arg1
); 
6387         wxPyEndAllowThreads(__tstate
); 
6388         if (PyErr_Occurred()) SWIG_fail
; 
6390     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1); 
6397 static PyObject 
*_wrap_PyTipProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6398     PyObject 
*resultobj
; 
6399     wxPyTipProvider 
*arg1 
= (wxPyTipProvider 
*) 0 ; 
6400     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6401     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6402     PyObject 
* obj0 
= 0 ; 
6403     PyObject 
* obj1 
= 0 ; 
6404     PyObject 
* obj2 
= 0 ; 
6406         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
6409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
, 
6411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6416         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
6418         wxPyEndAllowThreads(__tstate
); 
6419         if (PyErr_Occurred()) SWIG_fail
; 
6421     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6428 static PyObject 
* PyTipProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6430     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6431     SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
); 
6433     return Py_BuildValue((char *)""); 
6435 static PyObject 
*_wrap_ShowTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6436     PyObject 
*resultobj
; 
6437     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6438     wxTipProvider 
*arg2 
= (wxTipProvider 
*) 0 ; 
6439     bool arg3 
= (bool) True 
; 
6441     PyObject 
* obj0 
= 0 ; 
6442     PyObject 
* obj1 
= 0 ; 
6443     PyObject 
* obj2 
= 0 ; 
6445         (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL 
 
6448     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6449     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6450     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6451     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
, 
6452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6454         arg3 
= (bool) SWIG_AsBool(obj2
);  
6455         if (PyErr_Occurred()) SWIG_fail
; 
6458         if (!wxPyCheckForApp()) SWIG_fail
; 
6459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6460         result 
= (bool)wxShowTip(arg1
,arg2
,arg3
); 
6462         wxPyEndAllowThreads(__tstate
); 
6463         if (PyErr_Occurred()) SWIG_fail
; 
6466         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6474 static PyObject 
*_wrap_CreateFileTipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6475     PyObject 
*resultobj
; 
6476     wxString 
*arg1 
= 0 ; 
6478     wxTipProvider 
*result
; 
6479     bool temp1 
= False 
; 
6480     PyObject 
* obj0 
= 0 ; 
6481     PyObject 
* obj1 
= 0 ; 
6483         (char *) "filename",(char *) "currentTip", NULL 
 
6486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
; 
6488         arg1 
= wxString_in_helper(obj0
); 
6489         if (arg1 
== NULL
) SWIG_fail
; 
6492     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6493     if (PyErr_Occurred()) SWIG_fail
; 
6495         if (!wxPyCheckForApp()) SWIG_fail
; 
6496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6497         result 
= (wxTipProvider 
*)wxCreateFileTipProvider((wxString 
const &)*arg1
,arg2
); 
6499         wxPyEndAllowThreads(__tstate
); 
6500         if (PyErr_Occurred()) SWIG_fail
; 
6502     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1); 
6517 static PyObject 
*_wrap_new_Timer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6518     PyObject 
*resultobj
; 
6519     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
6520     int arg2 
= (int) -1 ; 
6522     PyObject 
* obj0 
= 0 ; 
6523     PyObject 
* obj1 
= 0 ; 
6525         (char *) "owner",(char *) "id", NULL 
 
6528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
; 
6530         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
6531         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6534         arg2 
= (int) SWIG_AsInt(obj1
);  
6535         if (PyErr_Occurred()) SWIG_fail
; 
6538         if (!wxPyCheckForApp()) SWIG_fail
; 
6539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6540         result 
= (wxPyTimer 
*)new wxPyTimer(arg1
,arg2
); 
6542         wxPyEndAllowThreads(__tstate
); 
6543         if (PyErr_Occurred()) SWIG_fail
; 
6545     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1); 
6552 static PyObject 
*_wrap_delete_Timer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6553     PyObject 
*resultobj
; 
6554     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6555     PyObject 
* obj0 
= 0 ; 
6557         (char *) "self", NULL 
 
6560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
; 
6561     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6562     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6567         wxPyEndAllowThreads(__tstate
); 
6568         if (PyErr_Occurred()) SWIG_fail
; 
6570     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6577 static PyObject 
*_wrap_Timer__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6578     PyObject 
*resultobj
; 
6579     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6580     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6581     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6582     int arg4 
= (int) 1 ; 
6583     PyObject 
* obj0 
= 0 ; 
6584     PyObject 
* obj1 
= 0 ; 
6585     PyObject 
* obj2 
= 0 ; 
6586     PyObject 
* obj3 
= 0 ; 
6588         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
6591     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6592     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6593     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6597         arg4 
= (int) SWIG_AsInt(obj3
);  
6598         if (PyErr_Occurred()) SWIG_fail
; 
6601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6602         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
6604         wxPyEndAllowThreads(__tstate
); 
6605         if (PyErr_Occurred()) SWIG_fail
; 
6607     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6614 static PyObject 
*_wrap_Timer_SetOwner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6615     PyObject 
*resultobj
; 
6616     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6617     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
6618     int arg3 
= (int) -1 ; 
6619     PyObject 
* obj0 
= 0 ; 
6620     PyObject 
* obj1 
= 0 ; 
6621     PyObject 
* obj2 
= 0 ; 
6623         (char *) "self",(char *) "owner",(char *) "id", NULL 
 
6626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6627     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6628     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6629     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
, 
6630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6632         arg3 
= (int) SWIG_AsInt(obj2
);  
6633         if (PyErr_Occurred()) SWIG_fail
; 
6636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6637         (arg1
)->SetOwner(arg2
,arg3
); 
6639         wxPyEndAllowThreads(__tstate
); 
6640         if (PyErr_Occurred()) SWIG_fail
; 
6642     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6649 static PyObject 
*_wrap_Timer_GetOwner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6650     PyObject 
*resultobj
; 
6651     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6652     wxEvtHandler 
*result
; 
6653     PyObject 
* obj0 
= 0 ; 
6655         (char *) "self", NULL 
 
6658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
; 
6659     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6660     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6663         result 
= (wxEvtHandler 
*)(arg1
)->GetOwner(); 
6665         wxPyEndAllowThreads(__tstate
); 
6666         if (PyErr_Occurred()) SWIG_fail
; 
6669         resultobj 
= wxPyMake_wxObject(result
, 0);  
6677 static PyObject 
*_wrap_Timer_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6678     PyObject 
*resultobj
; 
6679     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6680     int arg2 
= (int) -1 ; 
6681     bool arg3 
= (bool) False 
; 
6683     PyObject 
* obj0 
= 0 ; 
6684     PyObject 
* obj1 
= 0 ; 
6685     PyObject 
* obj2 
= 0 ; 
6687         (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL 
 
6690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6691     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6694         arg2 
= (int) SWIG_AsInt(obj1
);  
6695         if (PyErr_Occurred()) SWIG_fail
; 
6698         arg3 
= (bool) SWIG_AsBool(obj2
);  
6699         if (PyErr_Occurred()) SWIG_fail
; 
6702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6703         result 
= (bool)(arg1
)->Start(arg2
,arg3
); 
6705         wxPyEndAllowThreads(__tstate
); 
6706         if (PyErr_Occurred()) SWIG_fail
; 
6709         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6717 static PyObject 
*_wrap_Timer_Stop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6718     PyObject 
*resultobj
; 
6719     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6720     PyObject 
* obj0 
= 0 ; 
6722         (char *) "self", NULL 
 
6725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
; 
6726     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6732         wxPyEndAllowThreads(__tstate
); 
6733         if (PyErr_Occurred()) SWIG_fail
; 
6735     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6742 static PyObject 
*_wrap_Timer_IsRunning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6743     PyObject 
*resultobj
; 
6744     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6746     PyObject 
* obj0 
= 0 ; 
6748         (char *) "self", NULL 
 
6751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
; 
6752     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6753     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6756         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsRunning(); 
6758         wxPyEndAllowThreads(__tstate
); 
6759         if (PyErr_Occurred()) SWIG_fail
; 
6762         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6770 static PyObject 
*_wrap_Timer_GetInterval(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6771     PyObject 
*resultobj
; 
6772     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6774     PyObject 
* obj0 
= 0 ; 
6776         (char *) "self", NULL 
 
6779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
; 
6780     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6781     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6784         result 
= (int)((wxPyTimer 
const *)arg1
)->GetInterval(); 
6786         wxPyEndAllowThreads(__tstate
); 
6787         if (PyErr_Occurred()) SWIG_fail
; 
6789     resultobj 
= SWIG_FromInt((int)result
); 
6796 static PyObject 
*_wrap_Timer_IsOneShot(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6797     PyObject 
*resultobj
; 
6798     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6800     PyObject 
* obj0 
= 0 ; 
6802         (char *) "self", NULL 
 
6805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
; 
6806     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6807     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6809         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6810         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsOneShot(); 
6812         wxPyEndAllowThreads(__tstate
); 
6813         if (PyErr_Occurred()) SWIG_fail
; 
6816         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6824 static PyObject 
*_wrap_Timer_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6825     PyObject 
*resultobj
; 
6826     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6828     PyObject 
* obj0 
= 0 ; 
6830         (char *) "self", NULL 
 
6833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
; 
6834     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6835     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6838         result 
= (int)((wxPyTimer 
const *)arg1
)->GetId(); 
6840         wxPyEndAllowThreads(__tstate
); 
6841         if (PyErr_Occurred()) SWIG_fail
; 
6843     resultobj 
= SWIG_FromInt((int)result
); 
6850 static PyObject 
* Timer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6852     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6853     SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
); 
6855     return Py_BuildValue((char *)""); 
6857 static PyObject 
*_wrap_new_TimerEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6858     PyObject 
*resultobj
; 
6859     int arg1 
= (int) 0 ; 
6860     int arg2 
= (int) 0 ; 
6861     wxTimerEvent 
*result
; 
6862     PyObject 
* obj0 
= 0 ; 
6863     PyObject 
* obj1 
= 0 ; 
6865         (char *) "timerid",(char *) "interval", NULL 
 
6868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
6870         arg1 
= (int) SWIG_AsInt(obj0
);  
6871         if (PyErr_Occurred()) SWIG_fail
; 
6874         arg2 
= (int) SWIG_AsInt(obj1
);  
6875         if (PyErr_Occurred()) SWIG_fail
; 
6878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6879         result 
= (wxTimerEvent 
*)new wxTimerEvent(arg1
,arg2
); 
6881         wxPyEndAllowThreads(__tstate
); 
6882         if (PyErr_Occurred()) SWIG_fail
; 
6884     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1); 
6891 static PyObject 
*_wrap_TimerEvent_GetInterval(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6892     PyObject 
*resultobj
; 
6893     wxTimerEvent 
*arg1 
= (wxTimerEvent 
*) 0 ; 
6895     PyObject 
* obj0 
= 0 ; 
6897         (char *) "self", NULL 
 
6900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
; 
6901     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
, 
6902     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6905         result 
= (int)((wxTimerEvent 
const *)arg1
)->GetInterval(); 
6907         wxPyEndAllowThreads(__tstate
); 
6908         if (PyErr_Occurred()) SWIG_fail
; 
6910     resultobj 
= SWIG_FromInt((int)result
); 
6917 static PyObject 
* TimerEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6919     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6920     SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
); 
6922     return Py_BuildValue((char *)""); 
6924 static PyObject 
*_wrap_new_TimerRunner__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
6925     PyObject 
*resultobj
; 
6927     wxTimerRunner 
*result
; 
6928     PyObject 
* obj0 
= 0 ; 
6930     if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
; 
6931     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
6932     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6935         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6939         if (!wxPyCheckForApp()) SWIG_fail
; 
6940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6941         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
); 
6943         wxPyEndAllowThreads(__tstate
); 
6944         if (PyErr_Occurred()) SWIG_fail
; 
6946     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
6953 static PyObject 
*_wrap_new_TimerRunner__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
6954     PyObject 
*resultobj
; 
6957     bool arg3 
= (bool) False 
; 
6958     wxTimerRunner 
*result
; 
6959     PyObject 
* obj0 
= 0 ; 
6960     PyObject 
* obj1 
= 0 ; 
6961     PyObject 
* obj2 
= 0 ; 
6963     if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
; 
6964     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
6965     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6968         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6971     arg2 
= (int) SWIG_AsInt(obj1
);  
6972     if (PyErr_Occurred()) SWIG_fail
; 
6974         arg3 
= (bool) SWIG_AsBool(obj2
);  
6975         if (PyErr_Occurred()) SWIG_fail
; 
6978         if (!wxPyCheckForApp()) SWIG_fail
; 
6979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6980         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
,arg2
,arg3
); 
6982         wxPyEndAllowThreads(__tstate
); 
6983         if (PyErr_Occurred()) SWIG_fail
; 
6985     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
6992 static PyObject 
*_wrap_new_TimerRunner(PyObject 
*self
, PyObject 
*args
) { 
6997     argc 
= PyObject_Length(args
); 
6998     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
6999         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
7005             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
7013             return _wrap_new_TimerRunner__SWIG_0(self
,args
); 
7016     if ((argc 
>= 2) && (argc 
<= 3)) { 
7020             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
7028             _v 
= SWIG_CheckInt(argv
[1]); 
7031                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
7033                 _v 
= SWIG_CheckBool(argv
[2]); 
7035                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
7041     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'"); 
7046 static PyObject 
*_wrap_delete_TimerRunner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7047     PyObject 
*resultobj
; 
7048     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
7049     PyObject 
* obj0 
= 0 ; 
7051         (char *) "self", NULL 
 
7054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
; 
7055     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
7056     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7061         wxPyEndAllowThreads(__tstate
); 
7062         if (PyErr_Occurred()) SWIG_fail
; 
7064     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7071 static PyObject 
*_wrap_TimerRunner_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7072     PyObject 
*resultobj
; 
7073     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
7075     bool arg3 
= (bool) False 
; 
7076     PyObject 
* obj0 
= 0 ; 
7077     PyObject 
* obj1 
= 0 ; 
7078     PyObject 
* obj2 
= 0 ; 
7080         (char *) "self",(char *) "milli",(char *) "oneShot", NULL 
 
7083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7084     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
7085     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7086     arg2 
= (int) SWIG_AsInt(obj1
);  
7087     if (PyErr_Occurred()) SWIG_fail
; 
7089         arg3 
= (bool) SWIG_AsBool(obj2
);  
7090         if (PyErr_Occurred()) SWIG_fail
; 
7093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7094         (arg1
)->Start(arg2
,arg3
); 
7096         wxPyEndAllowThreads(__tstate
); 
7097         if (PyErr_Occurred()) SWIG_fail
; 
7099     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7106 static PyObject 
* TimerRunner_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7108     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7109     SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
); 
7111     return Py_BuildValue((char *)""); 
7113 static PyObject 
*_wrap_new_Log(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7114     PyObject 
*resultobj
; 
7120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
; 
7122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7123         result 
= (wxLog 
*)new wxLog(); 
7125         wxPyEndAllowThreads(__tstate
); 
7126         if (PyErr_Occurred()) SWIG_fail
; 
7128     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1); 
7135 static PyObject 
*_wrap_Log_IsEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7136     PyObject 
*resultobj
; 
7142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
; 
7144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7145         result 
= (bool)wxLog::IsEnabled(); 
7147         wxPyEndAllowThreads(__tstate
); 
7148         if (PyErr_Occurred()) SWIG_fail
; 
7151         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7159 static PyObject 
*_wrap_Log_EnableLogging(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7160     PyObject 
*resultobj
; 
7161     bool arg1 
= (bool) True 
; 
7163     PyObject 
* obj0 
= 0 ; 
7165         (char *) "doIt", NULL 
 
7168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
; 
7170         arg1 
= (bool) SWIG_AsBool(obj0
);  
7171         if (PyErr_Occurred()) SWIG_fail
; 
7174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7175         result 
= (bool)wxLog::EnableLogging(arg1
); 
7177         wxPyEndAllowThreads(__tstate
); 
7178         if (PyErr_Occurred()) SWIG_fail
; 
7181         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7189 static PyObject 
*_wrap_Log_OnLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7190     PyObject 
*resultobj
; 
7192     wxChar 
*arg2 
= (wxChar 
*) 0 ; 
7194     PyObject 
* obj0 
= 0 ; 
7195     PyObject 
* obj1 
= 0 ; 
7196     PyObject 
* obj2 
= 0 ; 
7198         (char *) "level",(char *) "szString",(char *) "t", NULL 
 
7201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7202     arg1 
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);  
7203     if (PyErr_Occurred()) SWIG_fail
; 
7204     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
, 
7205     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7206     arg3 
= (time_t) SWIG_AsUnsignedInt(obj2
);  
7207     if (PyErr_Occurred()) SWIG_fail
; 
7209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7210         wxLog::OnLog(arg1
,(wxChar 
const *)arg2
,arg3
); 
7212         wxPyEndAllowThreads(__tstate
); 
7213         if (PyErr_Occurred()) SWIG_fail
; 
7215     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7222 static PyObject 
*_wrap_Log_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7223     PyObject 
*resultobj
; 
7224     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7225     PyObject 
* obj0 
= 0 ; 
7227         (char *) "self", NULL 
 
7230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
; 
7231     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7237         wxPyEndAllowThreads(__tstate
); 
7238         if (PyErr_Occurred()) SWIG_fail
; 
7240     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7247 static PyObject 
*_wrap_Log_FlushActive(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7248     PyObject 
*resultobj
; 
7253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
; 
7255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7256         wxLog::FlushActive(); 
7258         wxPyEndAllowThreads(__tstate
); 
7259         if (PyErr_Occurred()) SWIG_fail
; 
7261     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7268 static PyObject 
*_wrap_Log_GetActiveTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7269     PyObject 
*resultobj
; 
7275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
; 
7277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7278         result 
= (wxLog 
*)wxLog::GetActiveTarget(); 
7280         wxPyEndAllowThreads(__tstate
); 
7281         if (PyErr_Occurred()) SWIG_fail
; 
7283     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7290 static PyObject 
*_wrap_Log_SetActiveTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7291     PyObject 
*resultobj
; 
7292     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7294     PyObject 
* obj0 
= 0 ; 
7296         (char *) "pLogger", NULL 
 
7299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
; 
7300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7304         result 
= (wxLog 
*)wxLog::SetActiveTarget(arg1
); 
7306         wxPyEndAllowThreads(__tstate
); 
7307         if (PyErr_Occurred()) SWIG_fail
; 
7309     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7316 static PyObject 
*_wrap_Log_Suspend(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7317     PyObject 
*resultobj
; 
7322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
; 
7324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7327         wxPyEndAllowThreads(__tstate
); 
7328         if (PyErr_Occurred()) SWIG_fail
; 
7330     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7337 static PyObject 
*_wrap_Log_Resume(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7338     PyObject 
*resultobj
; 
7343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
; 
7345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7348         wxPyEndAllowThreads(__tstate
); 
7349         if (PyErr_Occurred()) SWIG_fail
; 
7351     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7358 static PyObject 
*_wrap_Log_SetVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7359     PyObject 
*resultobj
; 
7360     bool arg1 
= (bool) True 
; 
7361     PyObject 
* obj0 
= 0 ; 
7363         (char *) "bVerbose", NULL 
 
7366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
; 
7368         arg1 
= (bool) SWIG_AsBool(obj0
);  
7369         if (PyErr_Occurred()) SWIG_fail
; 
7372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7373         wxLog::SetVerbose(arg1
); 
7375         wxPyEndAllowThreads(__tstate
); 
7376         if (PyErr_Occurred()) SWIG_fail
; 
7378     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7385 static PyObject 
*_wrap_Log_SetLogLevel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7386     PyObject 
*resultobj
; 
7388     PyObject 
* obj0 
= 0 ; 
7390         (char *) "logLevel", NULL 
 
7393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
; 
7394     arg1 
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);  
7395     if (PyErr_Occurred()) SWIG_fail
; 
7397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7398         wxLog::SetLogLevel(arg1
); 
7400         wxPyEndAllowThreads(__tstate
); 
7401         if (PyErr_Occurred()) SWIG_fail
; 
7403     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7410 static PyObject 
*_wrap_Log_DontCreateOnDemand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7411     PyObject 
*resultobj
; 
7416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
; 
7418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7419         wxLog::DontCreateOnDemand(); 
7421         wxPyEndAllowThreads(__tstate
); 
7422         if (PyErr_Occurred()) SWIG_fail
; 
7424     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7431 static PyObject 
*_wrap_Log_SetTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7432     PyObject 
*resultobj
; 
7434     PyObject 
* obj0 
= 0 ; 
7436         (char *) "ulMask", NULL 
 
7439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
; 
7440     arg1 
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);  
7441     if (PyErr_Occurred()) SWIG_fail
; 
7443         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7444         wxLog::SetTraceMask(arg1
); 
7446         wxPyEndAllowThreads(__tstate
); 
7447         if (PyErr_Occurred()) SWIG_fail
; 
7449     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7456 static PyObject 
*_wrap_Log_AddTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7457     PyObject 
*resultobj
; 
7458     wxString 
*arg1 
= 0 ; 
7459     bool temp1 
= False 
; 
7460     PyObject 
* obj0 
= 0 ; 
7462         (char *) "str", NULL 
 
7465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
; 
7467         arg1 
= wxString_in_helper(obj0
); 
7468         if (arg1 
== NULL
) SWIG_fail
; 
7472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7473         wxLog::AddTraceMask((wxString 
const &)*arg1
); 
7475         wxPyEndAllowThreads(__tstate
); 
7476         if (PyErr_Occurred()) SWIG_fail
; 
7478     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7493 static PyObject 
*_wrap_Log_RemoveTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7494     PyObject 
*resultobj
; 
7495     wxString 
*arg1 
= 0 ; 
7496     bool temp1 
= False 
; 
7497     PyObject 
* obj0 
= 0 ; 
7499         (char *) "str", NULL 
 
7502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
; 
7504         arg1 
= wxString_in_helper(obj0
); 
7505         if (arg1 
== NULL
) SWIG_fail
; 
7509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7510         wxLog::RemoveTraceMask((wxString 
const &)*arg1
); 
7512         wxPyEndAllowThreads(__tstate
); 
7513         if (PyErr_Occurred()) SWIG_fail
; 
7515     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7530 static PyObject 
*_wrap_Log_ClearTraceMasks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7531     PyObject 
*resultobj
; 
7536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
; 
7538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7539         wxLog::ClearTraceMasks(); 
7541         wxPyEndAllowThreads(__tstate
); 
7542         if (PyErr_Occurred()) SWIG_fail
; 
7544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7551 static PyObject 
*_wrap_Log_GetTraceMasks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7552     PyObject 
*resultobj
; 
7553     wxArrayString 
*result
; 
7558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
; 
7560         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7562             wxArrayString 
const &_result_ref 
= wxLog::GetTraceMasks(); 
7563             result 
= (wxArrayString 
*) &_result_ref
; 
7566         wxPyEndAllowThreads(__tstate
); 
7567         if (PyErr_Occurred()) SWIG_fail
; 
7570         resultobj 
= wxArrayString2PyList_helper(*result
); 
7578 static PyObject 
*_wrap_Log_SetTimestamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7579     PyObject 
*resultobj
; 
7580     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7581     PyObject 
* obj0 
= 0 ; 
7586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
; 
7587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7591         wxLog::SetTimestamp((wxChar 
const *)arg1
); 
7593         wxPyEndAllowThreads(__tstate
); 
7594         if (PyErr_Occurred()) SWIG_fail
; 
7596     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7603 static PyObject 
*_wrap_Log_GetVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7604     PyObject 
*resultobj
; 
7610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
; 
7612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7613         result 
= (bool)wxLog::GetVerbose(); 
7615         wxPyEndAllowThreads(__tstate
); 
7616         if (PyErr_Occurred()) SWIG_fail
; 
7619         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7627 static PyObject 
*_wrap_Log_GetTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7628     PyObject 
*resultobj
; 
7634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
; 
7636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7637         result 
= (wxTraceMask
)wxLog::GetTraceMask(); 
7639         wxPyEndAllowThreads(__tstate
); 
7640         if (PyErr_Occurred()) SWIG_fail
; 
7642     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7649 static PyObject 
*_wrap_Log_IsAllowedTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7650     PyObject 
*resultobj
; 
7651     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7653     PyObject 
* obj0 
= 0 ; 
7655         (char *) "mask", NULL 
 
7658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
; 
7659     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7660     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7663         result 
= (bool)wxLog::IsAllowedTraceMask((wxChar 
const *)arg1
); 
7665         wxPyEndAllowThreads(__tstate
); 
7666         if (PyErr_Occurred()) SWIG_fail
; 
7669         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7677 static PyObject 
*_wrap_Log_GetLogLevel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7678     PyObject 
*resultobj
; 
7684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
; 
7686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7687         result 
= (wxLogLevel
)wxLog::GetLogLevel(); 
7689         wxPyEndAllowThreads(__tstate
); 
7690         if (PyErr_Occurred()) SWIG_fail
; 
7692     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7699 static PyObject 
*_wrap_Log_GetTimestamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7700     PyObject 
*resultobj
; 
7706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
; 
7708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7709         result 
= (wxChar 
*)wxLog::GetTimestamp(); 
7711         wxPyEndAllowThreads(__tstate
); 
7712         if (PyErr_Occurred()) SWIG_fail
; 
7714     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0); 
7721 static PyObject 
*_wrap_Log_TimeStamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7722     PyObject 
*resultobj
; 
7728     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
; 
7730         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7731         result 
= Log_TimeStamp(); 
7733         wxPyEndAllowThreads(__tstate
); 
7734         if (PyErr_Occurred()) SWIG_fail
; 
7738         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7740         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7749 static PyObject 
*_wrap_Log_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7750     PyObject 
*resultobj
; 
7751     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7752     PyObject 
* obj0 
= 0 ; 
7754         (char *) "self", NULL 
 
7757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
; 
7758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7762         wxLog_Destroy(arg1
); 
7764         wxPyEndAllowThreads(__tstate
); 
7765         if (PyErr_Occurred()) SWIG_fail
; 
7767     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7774 static PyObject 
* Log_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7776     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7777     SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
); 
7779     return Py_BuildValue((char *)""); 
7781 static PyObject 
*_wrap_new_LogStderr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7782     PyObject 
*resultobj
; 
7783     wxLogStderr 
*result
; 
7788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
; 
7790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7791         result 
= (wxLogStderr 
*)new wxLogStderr(); 
7793         wxPyEndAllowThreads(__tstate
); 
7794         if (PyErr_Occurred()) SWIG_fail
; 
7796     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1); 
7803 static PyObject 
* LogStderr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7805     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7806     SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
); 
7808     return Py_BuildValue((char *)""); 
7810 static PyObject 
*_wrap_new_LogTextCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7811     PyObject 
*resultobj
; 
7812     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7813     wxLogTextCtrl 
*result
; 
7814     PyObject 
* obj0 
= 0 ; 
7816         (char *) "pTextCtrl", NULL 
 
7819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
; 
7820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7823         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7824         result 
= (wxLogTextCtrl 
*)new wxLogTextCtrl(arg1
); 
7826         wxPyEndAllowThreads(__tstate
); 
7827         if (PyErr_Occurred()) SWIG_fail
; 
7829     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1); 
7836 static PyObject 
* LogTextCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7838     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7839     SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
); 
7841     return Py_BuildValue((char *)""); 
7843 static PyObject 
*_wrap_new_LogGui(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7844     PyObject 
*resultobj
; 
7850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
; 
7852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7853         result 
= (wxLogGui 
*)new wxLogGui(); 
7855         wxPyEndAllowThreads(__tstate
); 
7856         if (PyErr_Occurred()) SWIG_fail
; 
7858     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1); 
7865 static PyObject 
* LogGui_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7867     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7868     SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
); 
7870     return Py_BuildValue((char *)""); 
7872 static PyObject 
*_wrap_new_LogWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7873     PyObject 
*resultobj
; 
7874     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7875     wxString 
*arg2 
= 0 ; 
7876     bool arg3 
= (bool) True 
; 
7877     bool arg4 
= (bool) True 
; 
7878     wxLogWindow 
*result
; 
7879     bool temp2 
= False 
; 
7880     PyObject 
* obj0 
= 0 ; 
7881     PyObject 
* obj1 
= 0 ; 
7882     PyObject 
* obj2 
= 0 ; 
7883     PyObject 
* obj3 
= 0 ; 
7885         (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL 
 
7888     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7889     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
7890     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7892         arg2 
= wxString_in_helper(obj1
); 
7893         if (arg2 
== NULL
) SWIG_fail
; 
7897         arg3 
= (bool) SWIG_AsBool(obj2
);  
7898         if (PyErr_Occurred()) SWIG_fail
; 
7901         arg4 
= (bool) SWIG_AsBool(obj3
);  
7902         if (PyErr_Occurred()) SWIG_fail
; 
7905         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7906         result 
= (wxLogWindow 
*)new wxLogWindow(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
7908         wxPyEndAllowThreads(__tstate
); 
7909         if (PyErr_Occurred()) SWIG_fail
; 
7911     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1); 
7926 static PyObject 
*_wrap_LogWindow_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7927     PyObject 
*resultobj
; 
7928     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7929     bool arg2 
= (bool) True 
; 
7930     PyObject 
* obj0 
= 0 ; 
7931     PyObject 
* obj1 
= 0 ; 
7933         (char *) "self",(char *) "bShow", NULL 
 
7936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
7937     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7938     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7940         arg2 
= (bool) SWIG_AsBool(obj1
);  
7941         if (PyErr_Occurred()) SWIG_fail
; 
7944         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7947         wxPyEndAllowThreads(__tstate
); 
7948         if (PyErr_Occurred()) SWIG_fail
; 
7950     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7957 static PyObject 
*_wrap_LogWindow_GetFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7958     PyObject 
*resultobj
; 
7959     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7961     PyObject 
* obj0 
= 0 ; 
7963         (char *) "self", NULL 
 
7966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
; 
7967     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7970         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7971         result 
= (wxFrame 
*)((wxLogWindow 
const *)arg1
)->GetFrame(); 
7973         wxPyEndAllowThreads(__tstate
); 
7974         if (PyErr_Occurred()) SWIG_fail
; 
7977         resultobj 
= wxPyMake_wxObject(result
, 0);  
7985 static PyObject 
*_wrap_LogWindow_GetOldLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7986     PyObject 
*resultobj
; 
7987     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7989     PyObject 
* obj0 
= 0 ; 
7991         (char *) "self", NULL 
 
7994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
; 
7995     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7996     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7999         result 
= (wxLog 
*)((wxLogWindow 
const *)arg1
)->GetOldLog(); 
8001         wxPyEndAllowThreads(__tstate
); 
8002         if (PyErr_Occurred()) SWIG_fail
; 
8004     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
8011 static PyObject 
*_wrap_LogWindow_IsPassingMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8012     PyObject 
*resultobj
; 
8013     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
8015     PyObject 
* obj0 
= 0 ; 
8017         (char *) "self", NULL 
 
8020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
8021     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
8022     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8024         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8025         result 
= (bool)((wxLogWindow 
const *)arg1
)->IsPassingMessages(); 
8027         wxPyEndAllowThreads(__tstate
); 
8028         if (PyErr_Occurred()) SWIG_fail
; 
8031         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8039 static PyObject 
*_wrap_LogWindow_PassMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8040     PyObject 
*resultobj
; 
8041     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
8043     PyObject 
* obj0 
= 0 ; 
8044     PyObject 
* obj1 
= 0 ; 
8046         (char *) "self",(char *) "bDoPass", NULL 
 
8049     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
8050     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
8051     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8052     arg2 
= (bool) SWIG_AsBool(obj1
);  
8053     if (PyErr_Occurred()) SWIG_fail
; 
8055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8056         (arg1
)->PassMessages(arg2
); 
8058         wxPyEndAllowThreads(__tstate
); 
8059         if (PyErr_Occurred()) SWIG_fail
; 
8061     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8068 static PyObject 
* LogWindow_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8070     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8071     SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
); 
8073     return Py_BuildValue((char *)""); 
8075 static PyObject 
*_wrap_new_LogChain(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8076     PyObject 
*resultobj
; 
8077     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
8079     PyObject 
* obj0 
= 0 ; 
8081         (char *) "logger", NULL 
 
8084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
; 
8085     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
8086     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8089         result 
= (wxLogChain 
*)new wxLogChain(arg1
); 
8091         wxPyEndAllowThreads(__tstate
); 
8092         if (PyErr_Occurred()) SWIG_fail
; 
8094     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1); 
8101 static PyObject 
*_wrap_LogChain_SetLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8102     PyObject 
*resultobj
; 
8103     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8104     wxLog 
*arg2 
= (wxLog 
*) 0 ; 
8105     PyObject 
* obj0 
= 0 ; 
8106     PyObject 
* obj1 
= 0 ; 
8108         (char *) "self",(char *) "logger", NULL 
 
8111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
; 
8112     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8113     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8114     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
, 
8115     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8117         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8118         (arg1
)->SetLog(arg2
); 
8120         wxPyEndAllowThreads(__tstate
); 
8121         if (PyErr_Occurred()) SWIG_fail
; 
8123     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8130 static PyObject 
*_wrap_LogChain_PassMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8131     PyObject 
*resultobj
; 
8132     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8134     PyObject 
* obj0 
= 0 ; 
8135     PyObject 
* obj1 
= 0 ; 
8137         (char *) "self",(char *) "bDoPass", NULL 
 
8140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
8141     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8143     arg2 
= (bool) SWIG_AsBool(obj1
);  
8144     if (PyErr_Occurred()) SWIG_fail
; 
8146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8147         (arg1
)->PassMessages(arg2
); 
8149         wxPyEndAllowThreads(__tstate
); 
8150         if (PyErr_Occurred()) SWIG_fail
; 
8152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8159 static PyObject 
*_wrap_LogChain_IsPassingMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8160     PyObject 
*resultobj
; 
8161     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8163     PyObject 
* obj0 
= 0 ; 
8165         (char *) "self", NULL 
 
8168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
8169     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8173         result 
= (bool)(arg1
)->IsPassingMessages(); 
8175         wxPyEndAllowThreads(__tstate
); 
8176         if (PyErr_Occurred()) SWIG_fail
; 
8179         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8187 static PyObject 
*_wrap_LogChain_GetOldLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8188     PyObject 
*resultobj
; 
8189     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
8191     PyObject 
* obj0 
= 0 ; 
8193         (char *) "self", NULL 
 
8196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
; 
8197     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
8198     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8201         result 
= (wxLog 
*)(arg1
)->GetOldLog(); 
8203         wxPyEndAllowThreads(__tstate
); 
8204         if (PyErr_Occurred()) SWIG_fail
; 
8206     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
8213 static PyObject 
* LogChain_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8215     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8216     SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
); 
8218     return Py_BuildValue((char *)""); 
8220 static PyObject 
*_wrap_SysErrorCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8221     PyObject 
*resultobj
; 
8222     unsigned long result
; 
8227     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
; 
8229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8230         result 
= (unsigned long)wxSysErrorCode(); 
8232         wxPyEndAllowThreads(__tstate
); 
8233         if (PyErr_Occurred()) SWIG_fail
; 
8235     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
8242 static PyObject 
*_wrap_SysErrorMsg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8243     PyObject 
*resultobj
; 
8244     unsigned long arg1 
= (unsigned long) 0 ; 
8246     PyObject 
* obj0 
= 0 ; 
8248         (char *) "nErrCode", NULL 
 
8251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
; 
8253         arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8254         if (PyErr_Occurred()) SWIG_fail
; 
8257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8258         result 
= wxSysErrorMsg(arg1
); 
8260         wxPyEndAllowThreads(__tstate
); 
8261         if (PyErr_Occurred()) SWIG_fail
; 
8265         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8267         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8276 static PyObject 
*_wrap_LogFatalError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8277     PyObject 
*resultobj
; 
8278     wxString 
*arg1 
= 0 ; 
8279     bool temp1 
= False 
; 
8280     PyObject 
* obj0 
= 0 ; 
8282         (char *) "msg", NULL 
 
8285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
; 
8287         arg1 
= wxString_in_helper(obj0
); 
8288         if (arg1 
== NULL
) SWIG_fail
; 
8292         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8293         wxLogFatalError((wxString 
const &)*arg1
); 
8295         wxPyEndAllowThreads(__tstate
); 
8296         if (PyErr_Occurred()) SWIG_fail
; 
8298     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8313 static PyObject 
*_wrap_LogError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8314     PyObject 
*resultobj
; 
8315     wxString 
*arg1 
= 0 ; 
8316     bool temp1 
= False 
; 
8317     PyObject 
* obj0 
= 0 ; 
8319         (char *) "msg", NULL 
 
8322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
; 
8324         arg1 
= wxString_in_helper(obj0
); 
8325         if (arg1 
== NULL
) SWIG_fail
; 
8329         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8330         wxLogError((wxString 
const &)*arg1
); 
8332         wxPyEndAllowThreads(__tstate
); 
8333         if (PyErr_Occurred()) SWIG_fail
; 
8335     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8350 static PyObject 
*_wrap_LogWarning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8351     PyObject 
*resultobj
; 
8352     wxString 
*arg1 
= 0 ; 
8353     bool temp1 
= False 
; 
8354     PyObject 
* obj0 
= 0 ; 
8356         (char *) "msg", NULL 
 
8359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
; 
8361         arg1 
= wxString_in_helper(obj0
); 
8362         if (arg1 
== NULL
) SWIG_fail
; 
8366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8367         wxLogWarning((wxString 
const &)*arg1
); 
8369         wxPyEndAllowThreads(__tstate
); 
8370         if (PyErr_Occurred()) SWIG_fail
; 
8372     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8387 static PyObject 
*_wrap_LogMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8388     PyObject 
*resultobj
; 
8389     wxString 
*arg1 
= 0 ; 
8390     bool temp1 
= False 
; 
8391     PyObject 
* obj0 
= 0 ; 
8393         (char *) "msg", NULL 
 
8396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
; 
8398         arg1 
= wxString_in_helper(obj0
); 
8399         if (arg1 
== NULL
) SWIG_fail
; 
8403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8404         wxLogMessage((wxString 
const &)*arg1
); 
8406         wxPyEndAllowThreads(__tstate
); 
8407         if (PyErr_Occurred()) SWIG_fail
; 
8409     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8424 static PyObject 
*_wrap_LogInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8425     PyObject 
*resultobj
; 
8426     wxString 
*arg1 
= 0 ; 
8427     bool temp1 
= False 
; 
8428     PyObject 
* obj0 
= 0 ; 
8430         (char *) "msg", NULL 
 
8433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
; 
8435         arg1 
= wxString_in_helper(obj0
); 
8436         if (arg1 
== NULL
) SWIG_fail
; 
8440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8441         wxLogInfo((wxString 
const &)*arg1
); 
8443         wxPyEndAllowThreads(__tstate
); 
8444         if (PyErr_Occurred()) SWIG_fail
; 
8446     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8461 static PyObject 
*_wrap_LogDebug(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8462     PyObject 
*resultobj
; 
8463     wxString 
*arg1 
= 0 ; 
8464     bool temp1 
= False 
; 
8465     PyObject 
* obj0 
= 0 ; 
8467         (char *) "msg", NULL 
 
8470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
; 
8472         arg1 
= wxString_in_helper(obj0
); 
8473         if (arg1 
== NULL
) SWIG_fail
; 
8477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8478         wxLogDebug((wxString 
const &)*arg1
); 
8480         wxPyEndAllowThreads(__tstate
); 
8481         if (PyErr_Occurred()) SWIG_fail
; 
8483     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8498 static PyObject 
*_wrap_LogVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8499     PyObject 
*resultobj
; 
8500     wxString 
*arg1 
= 0 ; 
8501     bool temp1 
= False 
; 
8502     PyObject 
* obj0 
= 0 ; 
8504         (char *) "msg", NULL 
 
8507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
; 
8509         arg1 
= wxString_in_helper(obj0
); 
8510         if (arg1 
== NULL
) SWIG_fail
; 
8514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8515         wxLogVerbose((wxString 
const &)*arg1
); 
8517         wxPyEndAllowThreads(__tstate
); 
8518         if (PyErr_Occurred()) SWIG_fail
; 
8520     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8535 static PyObject 
*_wrap_LogStatus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8536     PyObject 
*resultobj
; 
8537     wxString 
*arg1 
= 0 ; 
8538     bool temp1 
= False 
; 
8539     PyObject 
* obj0 
= 0 ; 
8541         (char *) "msg", NULL 
 
8544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
; 
8546         arg1 
= wxString_in_helper(obj0
); 
8547         if (arg1 
== NULL
) SWIG_fail
; 
8551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8552         wxLogStatus((wxString 
const &)*arg1
); 
8554         wxPyEndAllowThreads(__tstate
); 
8555         if (PyErr_Occurred()) SWIG_fail
; 
8557     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8572 static PyObject 
*_wrap_LogStatusFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8573     PyObject 
*resultobj
; 
8574     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
8575     wxString 
*arg2 
= 0 ; 
8576     bool temp2 
= False 
; 
8577     PyObject 
* obj0 
= 0 ; 
8578     PyObject 
* obj1 
= 0 ; 
8580         (char *) "pFrame",(char *) "msg", NULL 
 
8583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
8584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
8585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8587         arg2 
= wxString_in_helper(obj1
); 
8588         if (arg2 
== NULL
) SWIG_fail
; 
8592         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8593         wxLogStatus(arg1
,(wxString 
const &)*arg2
); 
8595         wxPyEndAllowThreads(__tstate
); 
8596         if (PyErr_Occurred()) SWIG_fail
; 
8598     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8613 static PyObject 
*_wrap_LogSysError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8614     PyObject 
*resultobj
; 
8615     wxString 
*arg1 
= 0 ; 
8616     bool temp1 
= False 
; 
8617     PyObject 
* obj0 
= 0 ; 
8619         (char *) "msg", NULL 
 
8622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
; 
8624         arg1 
= wxString_in_helper(obj0
); 
8625         if (arg1 
== NULL
) SWIG_fail
; 
8629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8630         wxLogSysError((wxString 
const &)*arg1
); 
8632         wxPyEndAllowThreads(__tstate
); 
8633         if (PyErr_Occurred()) SWIG_fail
; 
8635     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8650 static PyObject 
*_wrap_LogTrace__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
8651     PyObject 
*resultobj
; 
8652     unsigned long arg1 
; 
8653     wxString 
*arg2 
= 0 ; 
8654     bool temp2 
= False 
; 
8655     PyObject 
* obj0 
= 0 ; 
8656     PyObject 
* obj1 
= 0 ; 
8658     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8659     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8660     if (PyErr_Occurred()) SWIG_fail
; 
8662         arg2 
= wxString_in_helper(obj1
); 
8663         if (arg2 
== NULL
) SWIG_fail
; 
8667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8668         wxLogTrace(arg1
,(wxString 
const &)*arg2
); 
8670         wxPyEndAllowThreads(__tstate
); 
8671         if (PyErr_Occurred()) SWIG_fail
; 
8673     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8688 static PyObject 
*_wrap_LogTrace__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
8689     PyObject 
*resultobj
; 
8690     wxString 
*arg1 
= 0 ; 
8691     wxString 
*arg2 
= 0 ; 
8692     bool temp1 
= False 
; 
8693     bool temp2 
= False 
; 
8694     PyObject 
* obj0 
= 0 ; 
8695     PyObject 
* obj1 
= 0 ; 
8697     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8699         arg1 
= wxString_in_helper(obj0
); 
8700         if (arg1 
== NULL
) SWIG_fail
; 
8704         arg2 
= wxString_in_helper(obj1
); 
8705         if (arg2 
== NULL
) SWIG_fail
; 
8709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8710         wxLogTrace((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
8712         wxPyEndAllowThreads(__tstate
); 
8713         if (PyErr_Occurred()) SWIG_fail
; 
8715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8738 static PyObject 
*_wrap_LogTrace(PyObject 
*self
, PyObject 
*args
) { 
8743     argc 
= PyObject_Length(args
); 
8744     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
8745         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
8750             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
8754                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
8757                 return _wrap_LogTrace__SWIG_1(self
,args
); 
8763         _v 
= SWIG_CheckUnsignedLong(argv
[0]); 
8766                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
8769                 return _wrap_LogTrace__SWIG_0(self
,args
); 
8774     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'"); 
8779 static PyObject 
*_wrap_LogGeneric(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8780     PyObject 
*resultobj
; 
8781     unsigned long arg1 
; 
8782     wxString 
*arg2 
= 0 ; 
8783     bool temp2 
= False 
; 
8784     PyObject 
* obj0 
= 0 ; 
8785     PyObject 
* obj1 
= 0 ; 
8787         (char *) "level",(char *) "msg", NULL 
 
8790     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
; 
8791     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8792     if (PyErr_Occurred()) SWIG_fail
; 
8794         arg2 
= wxString_in_helper(obj1
); 
8795         if (arg2 
== NULL
) SWIG_fail
; 
8799         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8800         wxLogGeneric(arg1
,(wxString 
const &)*arg2
); 
8802         wxPyEndAllowThreads(__tstate
); 
8803         if (PyErr_Occurred()) SWIG_fail
; 
8805     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8820 static PyObject 
*_wrap_SafeShowMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8821     PyObject 
*resultobj
; 
8822     wxString 
*arg1 
= 0 ; 
8823     wxString 
*arg2 
= 0 ; 
8824     bool temp1 
= False 
; 
8825     bool temp2 
= False 
; 
8826     PyObject 
* obj0 
= 0 ; 
8827     PyObject 
* obj1 
= 0 ; 
8829         (char *) "title",(char *) "text", NULL 
 
8832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
; 
8834         arg1 
= wxString_in_helper(obj0
); 
8835         if (arg1 
== NULL
) SWIG_fail
; 
8839         arg2 
= wxString_in_helper(obj1
); 
8840         if (arg2 
== NULL
) SWIG_fail
; 
8844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8845         wxSafeShowMessage((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
8847         wxPyEndAllowThreads(__tstate
); 
8848         if (PyErr_Occurred()) SWIG_fail
; 
8850     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8873 static PyObject 
*_wrap_new_LogNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8874     PyObject 
*resultobj
; 
8880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
; 
8882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8883         result 
= (wxLogNull 
*)new wxLogNull(); 
8885         wxPyEndAllowThreads(__tstate
); 
8886         if (PyErr_Occurred()) SWIG_fail
; 
8888     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1); 
8895 static PyObject 
*_wrap_delete_LogNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8896     PyObject 
*resultobj
; 
8897     wxLogNull 
*arg1 
= (wxLogNull 
*) 0 ; 
8898     PyObject 
* obj0 
= 0 ; 
8900         (char *) "self", NULL 
 
8903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
; 
8904     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
, 
8905     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8910         wxPyEndAllowThreads(__tstate
); 
8911         if (PyErr_Occurred()) SWIG_fail
; 
8913     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8920 static PyObject 
* LogNull_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8922     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8923     SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
); 
8925     return Py_BuildValue((char *)""); 
8927 static PyObject 
*_wrap_new_PyLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8928     PyObject 
*resultobj
; 
8934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
; 
8936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8937         result 
= (wxPyLog 
*)new wxPyLog(); 
8939         wxPyEndAllowThreads(__tstate
); 
8940         if (PyErr_Occurred()) SWIG_fail
; 
8942     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1); 
8949 static PyObject 
*_wrap_PyLog__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8950     PyObject 
*resultobj
; 
8951     wxPyLog 
*arg1 
= (wxPyLog 
*) 0 ; 
8952     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
8953     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
8954     PyObject 
* obj0 
= 0 ; 
8955     PyObject 
* obj1 
= 0 ; 
8956     PyObject 
* obj2 
= 0 ; 
8958         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
8961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8962     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
, 
8963     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8968         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
8970         wxPyEndAllowThreads(__tstate
); 
8971         if (PyErr_Occurred()) SWIG_fail
; 
8973     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8980 static PyObject 
* PyLog_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8982     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8983     SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
); 
8985     return Py_BuildValue((char *)""); 
8987 static PyObject 
*_wrap_Process_Kill(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8988     PyObject 
*resultobj
; 
8990     int arg2 
= (int) wxSIGTERM 
; 
8992     PyObject 
* obj0 
= 0 ; 
8993     PyObject 
* obj1 
= 0 ; 
8995         (char *) "pid",(char *) "sig", NULL 
 
8998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
; 
8999     arg1 
= (int) SWIG_AsInt(obj0
);  
9000     if (PyErr_Occurred()) SWIG_fail
; 
9002         arg2 
= (wxSignal
) SWIG_AsInt(obj1
);  
9003         if (PyErr_Occurred()) SWIG_fail
; 
9006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9007         result 
= (int)wxPyProcess::Kill(arg1
,(wxSignal 
)arg2
); 
9009         wxPyEndAllowThreads(__tstate
); 
9010         if (PyErr_Occurred()) SWIG_fail
; 
9012     resultobj 
= SWIG_FromInt((int)result
); 
9019 static PyObject 
*_wrap_Process_Exists(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9020     PyObject 
*resultobj
; 
9023     PyObject 
* obj0 
= 0 ; 
9025         (char *) "pid", NULL 
 
9028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
; 
9029     arg1 
= (int) SWIG_AsInt(obj0
);  
9030     if (PyErr_Occurred()) SWIG_fail
; 
9032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9033         result 
= (bool)wxPyProcess::Exists(arg1
); 
9035         wxPyEndAllowThreads(__tstate
); 
9036         if (PyErr_Occurred()) SWIG_fail
; 
9039         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9047 static PyObject 
*_wrap_Process_Open(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9048     PyObject 
*resultobj
; 
9049     wxString 
*arg1 
= 0 ; 
9050     int arg2 
= (int) wxEXEC_ASYNC 
; 
9051     wxPyProcess 
*result
; 
9052     bool temp1 
= False 
; 
9053     PyObject 
* obj0 
= 0 ; 
9054     PyObject 
* obj1 
= 0 ; 
9056         (char *) "cmd",(char *) "flags", NULL 
 
9059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
; 
9061         arg1 
= wxString_in_helper(obj0
); 
9062         if (arg1 
== NULL
) SWIG_fail
; 
9066         arg2 
= (int) SWIG_AsInt(obj1
);  
9067         if (PyErr_Occurred()) SWIG_fail
; 
9070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9071         result 
= (wxPyProcess 
*)wxPyProcess::Open((wxString 
const &)*arg1
,arg2
); 
9073         wxPyEndAllowThreads(__tstate
); 
9074         if (PyErr_Occurred()) SWIG_fail
; 
9076     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0); 
9091 static PyObject 
*_wrap_new_Process(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9092     PyObject 
*resultobj
; 
9093     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
9094     int arg2 
= (int) -1 ; 
9095     wxPyProcess 
*result
; 
9096     PyObject 
* obj0 
= 0 ; 
9097     PyObject 
* obj1 
= 0 ; 
9099         (char *) "parent",(char *) "id", NULL 
 
9102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
; 
9104         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
9105         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9108         arg2 
= (int) SWIG_AsInt(obj1
);  
9109         if (PyErr_Occurred()) SWIG_fail
; 
9112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9113         result 
= (wxPyProcess 
*)new wxPyProcess(arg1
,arg2
); 
9115         wxPyEndAllowThreads(__tstate
); 
9116         if (PyErr_Occurred()) SWIG_fail
; 
9118     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1); 
9125 static PyObject 
*_wrap_Process__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9126     PyObject 
*resultobj
; 
9127     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9128     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9129     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
9130     PyObject 
* obj0 
= 0 ; 
9131     PyObject 
* obj1 
= 0 ; 
9132     PyObject 
* obj2 
= 0 ; 
9134         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9144         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
9146         wxPyEndAllowThreads(__tstate
); 
9147         if (PyErr_Occurred()) SWIG_fail
; 
9149     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9156 static PyObject 
*_wrap_Process_base_OnTerminate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9157     PyObject 
*resultobj
; 
9158     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9161     PyObject 
* obj0 
= 0 ; 
9162     PyObject 
* obj1 
= 0 ; 
9163     PyObject 
* obj2 
= 0 ; 
9165         (char *) "self",(char *) "pid",(char *) "status", NULL 
 
9168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9169     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9171     arg2 
= (int) SWIG_AsInt(obj1
);  
9172     if (PyErr_Occurred()) SWIG_fail
; 
9173     arg3 
= (int) SWIG_AsInt(obj2
);  
9174     if (PyErr_Occurred()) SWIG_fail
; 
9176         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9177         (arg1
)->base_OnTerminate(arg2
,arg3
); 
9179         wxPyEndAllowThreads(__tstate
); 
9180         if (PyErr_Occurred()) SWIG_fail
; 
9182     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9189 static PyObject 
*_wrap_Process_Redirect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9190     PyObject 
*resultobj
; 
9191     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9192     PyObject 
* obj0 
= 0 ; 
9194         (char *) "self", NULL 
 
9197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
; 
9198     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9199     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9204         wxPyEndAllowThreads(__tstate
); 
9205         if (PyErr_Occurred()) SWIG_fail
; 
9207     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9214 static PyObject 
*_wrap_Process_IsRedirected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9215     PyObject 
*resultobj
; 
9216     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9218     PyObject 
* obj0 
= 0 ; 
9220         (char *) "self", NULL 
 
9223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
; 
9224     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9225     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9228         result 
= (bool)(arg1
)->IsRedirected(); 
9230         wxPyEndAllowThreads(__tstate
); 
9231         if (PyErr_Occurred()) SWIG_fail
; 
9234         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9242 static PyObject 
*_wrap_Process_Detach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9243     PyObject 
*resultobj
; 
9244     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9245     PyObject 
* obj0 
= 0 ; 
9247         (char *) "self", NULL 
 
9250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
; 
9251     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9252     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9257         wxPyEndAllowThreads(__tstate
); 
9258         if (PyErr_Occurred()) SWIG_fail
; 
9260     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9267 static PyObject 
*_wrap_Process_GetInputStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9268     PyObject 
*resultobj
; 
9269     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9270     wxInputStream 
*result
; 
9271     PyObject 
* obj0 
= 0 ; 
9273         (char *) "self", NULL 
 
9276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
; 
9277     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9278     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9281         result 
= (wxInputStream 
*)(arg1
)->GetInputStream(); 
9283         wxPyEndAllowThreads(__tstate
); 
9284         if (PyErr_Occurred()) SWIG_fail
; 
9287         wxPyInputStream 
* _ptr 
= NULL
; 
9290             _ptr 
= new wxPyInputStream(result
); 
9292         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9300 static PyObject 
*_wrap_Process_GetErrorStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9301     PyObject 
*resultobj
; 
9302     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9303     wxInputStream 
*result
; 
9304     PyObject 
* obj0 
= 0 ; 
9306         (char *) "self", NULL 
 
9309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
; 
9310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9314         result 
= (wxInputStream 
*)(arg1
)->GetErrorStream(); 
9316         wxPyEndAllowThreads(__tstate
); 
9317         if (PyErr_Occurred()) SWIG_fail
; 
9320         wxPyInputStream 
* _ptr 
= NULL
; 
9323             _ptr 
= new wxPyInputStream(result
); 
9325         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9333 static PyObject 
*_wrap_Process_GetOutputStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9334     PyObject 
*resultobj
; 
9335     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9336     wxOutputStream 
*result
; 
9337     PyObject 
* obj0 
= 0 ; 
9339         (char *) "self", NULL 
 
9342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
; 
9343     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9347         result 
= (wxOutputStream 
*)(arg1
)->GetOutputStream(); 
9349         wxPyEndAllowThreads(__tstate
); 
9350         if (PyErr_Occurred()) SWIG_fail
; 
9352     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0); 
9359 static PyObject 
*_wrap_Process_CloseOutput(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9360     PyObject 
*resultobj
; 
9361     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9362     PyObject 
* obj0 
= 0 ; 
9364         (char *) "self", NULL 
 
9367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
; 
9368     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9369     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9372         (arg1
)->CloseOutput(); 
9374         wxPyEndAllowThreads(__tstate
); 
9375         if (PyErr_Occurred()) SWIG_fail
; 
9377     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9384 static PyObject 
*_wrap_Process_IsInputOpened(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9385     PyObject 
*resultobj
; 
9386     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9388     PyObject 
* obj0 
= 0 ; 
9390         (char *) "self", NULL 
 
9393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
; 
9394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9398         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputOpened(); 
9400         wxPyEndAllowThreads(__tstate
); 
9401         if (PyErr_Occurred()) SWIG_fail
; 
9404         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9412 static PyObject 
*_wrap_Process_IsInputAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9413     PyObject 
*resultobj
; 
9414     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9416     PyObject 
* obj0 
= 0 ; 
9418         (char *) "self", NULL 
 
9421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
; 
9422     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9423     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9426         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputAvailable(); 
9428         wxPyEndAllowThreads(__tstate
); 
9429         if (PyErr_Occurred()) SWIG_fail
; 
9432         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9440 static PyObject 
*_wrap_Process_IsErrorAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9441     PyObject 
*resultobj
; 
9442     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9444     PyObject 
* obj0 
= 0 ; 
9446         (char *) "self", NULL 
 
9449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
; 
9450     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9451     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9454         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsErrorAvailable(); 
9456         wxPyEndAllowThreads(__tstate
); 
9457         if (PyErr_Occurred()) SWIG_fail
; 
9460         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9468 static PyObject 
* Process_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9470     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9471     SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
); 
9473     return Py_BuildValue((char *)""); 
9475 static PyObject 
*_wrap_new_ProcessEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9476     PyObject 
*resultobj
; 
9477     int arg1 
= (int) 0 ; 
9478     int arg2 
= (int) 0 ; 
9479     int arg3 
= (int) 0 ; 
9480     wxProcessEvent 
*result
; 
9481     PyObject 
* obj0 
= 0 ; 
9482     PyObject 
* obj1 
= 0 ; 
9483     PyObject 
* obj2 
= 0 ; 
9485         (char *) "id",(char *) "pid",(char *) "exitcode", NULL 
 
9488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9490         arg1 
= (int) SWIG_AsInt(obj0
);  
9491         if (PyErr_Occurred()) SWIG_fail
; 
9494         arg2 
= (int) SWIG_AsInt(obj1
);  
9495         if (PyErr_Occurred()) SWIG_fail
; 
9498         arg3 
= (int) SWIG_AsInt(obj2
);  
9499         if (PyErr_Occurred()) SWIG_fail
; 
9502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9503         result 
= (wxProcessEvent 
*)new wxProcessEvent(arg1
,arg2
,arg3
); 
9505         wxPyEndAllowThreads(__tstate
); 
9506         if (PyErr_Occurred()) SWIG_fail
; 
9508     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1); 
9515 static PyObject 
*_wrap_ProcessEvent_GetPid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9516     PyObject 
*resultobj
; 
9517     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9519     PyObject 
* obj0 
= 0 ; 
9521         (char *) "self", NULL 
 
9524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
; 
9525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9529         result 
= (int)(arg1
)->GetPid(); 
9531         wxPyEndAllowThreads(__tstate
); 
9532         if (PyErr_Occurred()) SWIG_fail
; 
9534     resultobj 
= SWIG_FromInt((int)result
); 
9541 static PyObject 
*_wrap_ProcessEvent_GetExitCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9542     PyObject 
*resultobj
; 
9543     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9545     PyObject 
* obj0 
= 0 ; 
9547         (char *) "self", NULL 
 
9550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
; 
9551     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9552     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9555         result 
= (int)(arg1
)->GetExitCode(); 
9557         wxPyEndAllowThreads(__tstate
); 
9558         if (PyErr_Occurred()) SWIG_fail
; 
9560     resultobj 
= SWIG_FromInt((int)result
); 
9567 static PyObject 
*_wrap_ProcessEvent_m_pid_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9568     PyObject 
*resultobj
; 
9569     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9571     PyObject 
* obj0 
= 0 ; 
9572     PyObject 
* obj1 
= 0 ; 
9574         (char *) "self",(char *) "m_pid", NULL 
 
9577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9578     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9579     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9580     arg2 
= (int) SWIG_AsInt(obj1
);  
9581     if (PyErr_Occurred()) SWIG_fail
; 
9582     if (arg1
) (arg1
)->m_pid 
= arg2
; 
9584     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9591 static PyObject 
*_wrap_ProcessEvent_m_pid_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9592     PyObject 
*resultobj
; 
9593     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9595     PyObject 
* obj0 
= 0 ; 
9597         (char *) "self", NULL 
 
9600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
; 
9601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9603     result 
= (int) ((arg1
)->m_pid
); 
9605     resultobj 
= SWIG_FromInt((int)result
); 
9612 static PyObject 
*_wrap_ProcessEvent_m_exitcode_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9613     PyObject 
*resultobj
; 
9614     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9616     PyObject 
* obj0 
= 0 ; 
9617     PyObject 
* obj1 
= 0 ; 
9619         (char *) "self",(char *) "m_exitcode", NULL 
 
9622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9623     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9625     arg2 
= (int) SWIG_AsInt(obj1
);  
9626     if (PyErr_Occurred()) SWIG_fail
; 
9627     if (arg1
) (arg1
)->m_exitcode 
= arg2
; 
9629     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9636 static PyObject 
*_wrap_ProcessEvent_m_exitcode_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9637     PyObject 
*resultobj
; 
9638     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9640     PyObject 
* obj0 
= 0 ; 
9642         (char *) "self", NULL 
 
9645     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
; 
9646     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9647     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9648     result 
= (int) ((arg1
)->m_exitcode
); 
9650     resultobj 
= SWIG_FromInt((int)result
); 
9657 static PyObject 
* ProcessEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9659     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9660     SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
); 
9662     return Py_BuildValue((char *)""); 
9664 static PyObject 
*_wrap_Execute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9665     PyObject 
*resultobj
; 
9666     wxString 
*arg1 
= 0 ; 
9667     int arg2 
= (int) wxEXEC_ASYNC 
; 
9668     wxPyProcess 
*arg3 
= (wxPyProcess 
*) NULL 
; 
9670     bool temp1 
= False 
; 
9671     PyObject 
* obj0 
= 0 ; 
9672     PyObject 
* obj1 
= 0 ; 
9673     PyObject 
* obj2 
= 0 ; 
9675         (char *) "command",(char *) "flags",(char *) "process", NULL 
 
9678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9680         arg1 
= wxString_in_helper(obj0
); 
9681         if (arg1 
== NULL
) SWIG_fail
; 
9685         arg2 
= (int) SWIG_AsInt(obj1
);  
9686         if (PyErr_Occurred()) SWIG_fail
; 
9689         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
, 
9690         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9693         if (!wxPyCheckForApp()) SWIG_fail
; 
9694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9695         result 
= (long)wxExecute((wxString 
const &)*arg1
,arg2
,arg3
); 
9697         wxPyEndAllowThreads(__tstate
); 
9698         if (PyErr_Occurred()) SWIG_fail
; 
9700     resultobj 
= SWIG_FromLong((long)result
); 
9715 static PyObject 
*_wrap_new_Joystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9716     PyObject 
*resultobj
; 
9717     int arg1 
= (int) wxJOYSTICK1 
; 
9719     PyObject 
* obj0 
= 0 ; 
9721         (char *) "joystick", NULL 
 
9724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
; 
9726         arg1 
= (int) SWIG_AsInt(obj0
);  
9727         if (PyErr_Occurred()) SWIG_fail
; 
9730         if (!wxPyCheckForApp()) SWIG_fail
; 
9731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9732         result 
= (wxJoystick 
*)new wxJoystick(arg1
); 
9734         wxPyEndAllowThreads(__tstate
); 
9735         if (PyErr_Occurred()) SWIG_fail
; 
9737     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1); 
9744 static PyObject 
*_wrap_delete_Joystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9745     PyObject 
*resultobj
; 
9746     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9747     PyObject 
* obj0 
= 0 ; 
9749         (char *) "self", NULL 
 
9752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
; 
9753     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9759         wxPyEndAllowThreads(__tstate
); 
9760         if (PyErr_Occurred()) SWIG_fail
; 
9762     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9769 static PyObject 
*_wrap_Joystick_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9770     PyObject 
*resultobj
; 
9771     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9773     PyObject 
* obj0 
= 0 ; 
9775         (char *) "self", NULL 
 
9778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
; 
9779     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9780     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9783         result 
= (arg1
)->GetPosition(); 
9785         wxPyEndAllowThreads(__tstate
); 
9786         if (PyErr_Occurred()) SWIG_fail
; 
9789         wxPoint 
* resultptr
; 
9790         resultptr 
= new wxPoint((wxPoint 
&) result
); 
9791         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
9799 static PyObject 
*_wrap_Joystick_GetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9800     PyObject 
*resultobj
; 
9801     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9803     PyObject 
* obj0 
= 0 ; 
9805         (char *) "self", NULL 
 
9808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
; 
9809     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9810     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9813         result 
= (int)(arg1
)->GetZPosition(); 
9815         wxPyEndAllowThreads(__tstate
); 
9816         if (PyErr_Occurred()) SWIG_fail
; 
9818     resultobj 
= SWIG_FromInt((int)result
); 
9825 static PyObject 
*_wrap_Joystick_GetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9826     PyObject 
*resultobj
; 
9827     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9829     PyObject 
* obj0 
= 0 ; 
9831         (char *) "self", NULL 
 
9834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
; 
9835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9839         result 
= (int)(arg1
)->GetButtonState(); 
9841         wxPyEndAllowThreads(__tstate
); 
9842         if (PyErr_Occurred()) SWIG_fail
; 
9844     resultobj 
= SWIG_FromInt((int)result
); 
9851 static PyObject 
*_wrap_Joystick_GetPOVPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9852     PyObject 
*resultobj
; 
9853     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9855     PyObject 
* obj0 
= 0 ; 
9857         (char *) "self", NULL 
 
9860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
; 
9861     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9862     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9865         result 
= (int)(arg1
)->GetPOVPosition(); 
9867         wxPyEndAllowThreads(__tstate
); 
9868         if (PyErr_Occurred()) SWIG_fail
; 
9870     resultobj 
= SWIG_FromInt((int)result
); 
9877 static PyObject 
*_wrap_Joystick_GetPOVCTSPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9878     PyObject 
*resultobj
; 
9879     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9881     PyObject 
* obj0 
= 0 ; 
9883         (char *) "self", NULL 
 
9886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
; 
9887     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9888     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9891         result 
= (int)(arg1
)->GetPOVCTSPosition(); 
9893         wxPyEndAllowThreads(__tstate
); 
9894         if (PyErr_Occurred()) SWIG_fail
; 
9896     resultobj 
= SWIG_FromInt((int)result
); 
9903 static PyObject 
*_wrap_Joystick_GetRudderPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9904     PyObject 
*resultobj
; 
9905     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9907     PyObject 
* obj0 
= 0 ; 
9909         (char *) "self", NULL 
 
9912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
; 
9913     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9914     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9917         result 
= (int)(arg1
)->GetRudderPosition(); 
9919         wxPyEndAllowThreads(__tstate
); 
9920         if (PyErr_Occurred()) SWIG_fail
; 
9922     resultobj 
= SWIG_FromInt((int)result
); 
9929 static PyObject 
*_wrap_Joystick_GetUPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9930     PyObject 
*resultobj
; 
9931     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9933     PyObject 
* obj0 
= 0 ; 
9935         (char *) "self", NULL 
 
9938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
; 
9939     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9940     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9942         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9943         result 
= (int)(arg1
)->GetUPosition(); 
9945         wxPyEndAllowThreads(__tstate
); 
9946         if (PyErr_Occurred()) SWIG_fail
; 
9948     resultobj 
= SWIG_FromInt((int)result
); 
9955 static PyObject 
*_wrap_Joystick_GetVPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9956     PyObject 
*resultobj
; 
9957     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9959     PyObject 
* obj0 
= 0 ; 
9961         (char *) "self", NULL 
 
9964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
; 
9965     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9966     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9969         result 
= (int)(arg1
)->GetVPosition(); 
9971         wxPyEndAllowThreads(__tstate
); 
9972         if (PyErr_Occurred()) SWIG_fail
; 
9974     resultobj 
= SWIG_FromInt((int)result
); 
9981 static PyObject 
*_wrap_Joystick_GetMovementThreshold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9982     PyObject 
*resultobj
; 
9983     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9985     PyObject 
* obj0 
= 0 ; 
9987         (char *) "self", NULL 
 
9990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
; 
9991     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9995         result 
= (int)(arg1
)->GetMovementThreshold(); 
9997         wxPyEndAllowThreads(__tstate
); 
9998         if (PyErr_Occurred()) SWIG_fail
; 
10000     resultobj 
= SWIG_FromInt((int)result
); 
10007 static PyObject 
*_wrap_Joystick_SetMovementThreshold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10008     PyObject 
*resultobj
; 
10009     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10011     PyObject 
* obj0 
= 0 ; 
10012     PyObject 
* obj1 
= 0 ; 
10013     char *kwnames
[] = { 
10014         (char *) "self",(char *) "threshold", NULL 
 
10017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
; 
10018     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10019     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10020     arg2 
= (int) SWIG_AsInt(obj1
);  
10021     if (PyErr_Occurred()) SWIG_fail
; 
10023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10024         (arg1
)->SetMovementThreshold(arg2
); 
10026         wxPyEndAllowThreads(__tstate
); 
10027         if (PyErr_Occurred()) SWIG_fail
; 
10029     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10036 static PyObject 
*_wrap_Joystick_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10037     PyObject 
*resultobj
; 
10038     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10040     PyObject 
* obj0 
= 0 ; 
10041     char *kwnames
[] = { 
10042         (char *) "self", NULL 
 
10045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
; 
10046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10050         result 
= (bool)(arg1
)->IsOk(); 
10052         wxPyEndAllowThreads(__tstate
); 
10053         if (PyErr_Occurred()) SWIG_fail
; 
10056         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10064 static PyObject 
*_wrap_Joystick_GetNumberJoysticks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10065     PyObject 
*resultobj
; 
10066     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10068     PyObject 
* obj0 
= 0 ; 
10069     char *kwnames
[] = { 
10070         (char *) "self", NULL 
 
10073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
; 
10074     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10075     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10078         result 
= (int)(arg1
)->GetNumberJoysticks(); 
10080         wxPyEndAllowThreads(__tstate
); 
10081         if (PyErr_Occurred()) SWIG_fail
; 
10083     resultobj 
= SWIG_FromInt((int)result
); 
10090 static PyObject 
*_wrap_Joystick_GetManufacturerId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10091     PyObject 
*resultobj
; 
10092     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10094     PyObject 
* obj0 
= 0 ; 
10095     char *kwnames
[] = { 
10096         (char *) "self", NULL 
 
10099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
; 
10100     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10104         result 
= (int)(arg1
)->GetManufacturerId(); 
10106         wxPyEndAllowThreads(__tstate
); 
10107         if (PyErr_Occurred()) SWIG_fail
; 
10109     resultobj 
= SWIG_FromInt((int)result
); 
10116 static PyObject 
*_wrap_Joystick_GetProductId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10117     PyObject 
*resultobj
; 
10118     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10120     PyObject 
* obj0 
= 0 ; 
10121     char *kwnames
[] = { 
10122         (char *) "self", NULL 
 
10125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
; 
10126     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10127     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10130         result 
= (int)(arg1
)->GetProductId(); 
10132         wxPyEndAllowThreads(__tstate
); 
10133         if (PyErr_Occurred()) SWIG_fail
; 
10135     resultobj 
= SWIG_FromInt((int)result
); 
10142 static PyObject 
*_wrap_Joystick_GetProductName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10143     PyObject 
*resultobj
; 
10144     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10146     PyObject 
* obj0 
= 0 ; 
10147     char *kwnames
[] = { 
10148         (char *) "self", NULL 
 
10151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
; 
10152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10155         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10156         result 
= (arg1
)->GetProductName(); 
10158         wxPyEndAllowThreads(__tstate
); 
10159         if (PyErr_Occurred()) SWIG_fail
; 
10163         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10165         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10174 static PyObject 
*_wrap_Joystick_GetXMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10175     PyObject 
*resultobj
; 
10176     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10178     PyObject 
* obj0 
= 0 ; 
10179     char *kwnames
[] = { 
10180         (char *) "self", NULL 
 
10183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
; 
10184     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10185     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10188         result 
= (int)(arg1
)->GetXMin(); 
10190         wxPyEndAllowThreads(__tstate
); 
10191         if (PyErr_Occurred()) SWIG_fail
; 
10193     resultobj 
= SWIG_FromInt((int)result
); 
10200 static PyObject 
*_wrap_Joystick_GetYMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10201     PyObject 
*resultobj
; 
10202     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10204     PyObject 
* obj0 
= 0 ; 
10205     char *kwnames
[] = { 
10206         (char *) "self", NULL 
 
10209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
; 
10210     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10214         result 
= (int)(arg1
)->GetYMin(); 
10216         wxPyEndAllowThreads(__tstate
); 
10217         if (PyErr_Occurred()) SWIG_fail
; 
10219     resultobj 
= SWIG_FromInt((int)result
); 
10226 static PyObject 
*_wrap_Joystick_GetZMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10227     PyObject 
*resultobj
; 
10228     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10230     PyObject 
* obj0 
= 0 ; 
10231     char *kwnames
[] = { 
10232         (char *) "self", NULL 
 
10235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
; 
10236     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10237     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10240         result 
= (int)(arg1
)->GetZMin(); 
10242         wxPyEndAllowThreads(__tstate
); 
10243         if (PyErr_Occurred()) SWIG_fail
; 
10245     resultobj 
= SWIG_FromInt((int)result
); 
10252 static PyObject 
*_wrap_Joystick_GetXMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10253     PyObject 
*resultobj
; 
10254     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10256     PyObject 
* obj0 
= 0 ; 
10257     char *kwnames
[] = { 
10258         (char *) "self", NULL 
 
10261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
; 
10262     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10266         result 
= (int)(arg1
)->GetXMax(); 
10268         wxPyEndAllowThreads(__tstate
); 
10269         if (PyErr_Occurred()) SWIG_fail
; 
10271     resultobj 
= SWIG_FromInt((int)result
); 
10278 static PyObject 
*_wrap_Joystick_GetYMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10279     PyObject 
*resultobj
; 
10280     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10282     PyObject 
* obj0 
= 0 ; 
10283     char *kwnames
[] = { 
10284         (char *) "self", NULL 
 
10287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
; 
10288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10292         result 
= (int)(arg1
)->GetYMax(); 
10294         wxPyEndAllowThreads(__tstate
); 
10295         if (PyErr_Occurred()) SWIG_fail
; 
10297     resultobj 
= SWIG_FromInt((int)result
); 
10304 static PyObject 
*_wrap_Joystick_GetZMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10305     PyObject 
*resultobj
; 
10306     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10308     PyObject 
* obj0 
= 0 ; 
10309     char *kwnames
[] = { 
10310         (char *) "self", NULL 
 
10313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
; 
10314     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10315     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10318         result 
= (int)(arg1
)->GetZMax(); 
10320         wxPyEndAllowThreads(__tstate
); 
10321         if (PyErr_Occurred()) SWIG_fail
; 
10323     resultobj 
= SWIG_FromInt((int)result
); 
10330 static PyObject 
*_wrap_Joystick_GetNumberButtons(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10331     PyObject 
*resultobj
; 
10332     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10334     PyObject 
* obj0 
= 0 ; 
10335     char *kwnames
[] = { 
10336         (char *) "self", NULL 
 
10339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
; 
10340     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10341     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10344         result 
= (int)(arg1
)->GetNumberButtons(); 
10346         wxPyEndAllowThreads(__tstate
); 
10347         if (PyErr_Occurred()) SWIG_fail
; 
10349     resultobj 
= SWIG_FromInt((int)result
); 
10356 static PyObject 
*_wrap_Joystick_GetNumberAxes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10357     PyObject 
*resultobj
; 
10358     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10360     PyObject 
* obj0 
= 0 ; 
10361     char *kwnames
[] = { 
10362         (char *) "self", NULL 
 
10365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
; 
10366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10370         result 
= (int)(arg1
)->GetNumberAxes(); 
10372         wxPyEndAllowThreads(__tstate
); 
10373         if (PyErr_Occurred()) SWIG_fail
; 
10375     resultobj 
= SWIG_FromInt((int)result
); 
10382 static PyObject 
*_wrap_Joystick_GetMaxButtons(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10383     PyObject 
*resultobj
; 
10384     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10386     PyObject 
* obj0 
= 0 ; 
10387     char *kwnames
[] = { 
10388         (char *) "self", NULL 
 
10391     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
; 
10392     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10393     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10396         result 
= (int)(arg1
)->GetMaxButtons(); 
10398         wxPyEndAllowThreads(__tstate
); 
10399         if (PyErr_Occurred()) SWIG_fail
; 
10401     resultobj 
= SWIG_FromInt((int)result
); 
10408 static PyObject 
*_wrap_Joystick_GetMaxAxes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10409     PyObject 
*resultobj
; 
10410     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10412     PyObject 
* obj0 
= 0 ; 
10413     char *kwnames
[] = { 
10414         (char *) "self", NULL 
 
10417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
; 
10418     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10419     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10422         result 
= (int)(arg1
)->GetMaxAxes(); 
10424         wxPyEndAllowThreads(__tstate
); 
10425         if (PyErr_Occurred()) SWIG_fail
; 
10427     resultobj 
= SWIG_FromInt((int)result
); 
10434 static PyObject 
*_wrap_Joystick_GetPollingMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10435     PyObject 
*resultobj
; 
10436     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10438     PyObject 
* obj0 
= 0 ; 
10439     char *kwnames
[] = { 
10440         (char *) "self", NULL 
 
10443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
; 
10444     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10445     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10448         result 
= (int)(arg1
)->GetPollingMin(); 
10450         wxPyEndAllowThreads(__tstate
); 
10451         if (PyErr_Occurred()) SWIG_fail
; 
10453     resultobj 
= SWIG_FromInt((int)result
); 
10460 static PyObject 
*_wrap_Joystick_GetPollingMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10461     PyObject 
*resultobj
; 
10462     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10464     PyObject 
* obj0 
= 0 ; 
10465     char *kwnames
[] = { 
10466         (char *) "self", NULL 
 
10469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
; 
10470     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10471     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10474         result 
= (int)(arg1
)->GetPollingMax(); 
10476         wxPyEndAllowThreads(__tstate
); 
10477         if (PyErr_Occurred()) SWIG_fail
; 
10479     resultobj 
= SWIG_FromInt((int)result
); 
10486 static PyObject 
*_wrap_Joystick_GetRudderMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10487     PyObject 
*resultobj
; 
10488     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10490     PyObject 
* obj0 
= 0 ; 
10491     char *kwnames
[] = { 
10492         (char *) "self", NULL 
 
10495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
; 
10496     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10497     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10500         result 
= (int)(arg1
)->GetRudderMin(); 
10502         wxPyEndAllowThreads(__tstate
); 
10503         if (PyErr_Occurred()) SWIG_fail
; 
10505     resultobj 
= SWIG_FromInt((int)result
); 
10512 static PyObject 
*_wrap_Joystick_GetRudderMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10513     PyObject 
*resultobj
; 
10514     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10516     PyObject 
* obj0 
= 0 ; 
10517     char *kwnames
[] = { 
10518         (char *) "self", NULL 
 
10521     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
; 
10522     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10523     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10526         result 
= (int)(arg1
)->GetRudderMax(); 
10528         wxPyEndAllowThreads(__tstate
); 
10529         if (PyErr_Occurred()) SWIG_fail
; 
10531     resultobj 
= SWIG_FromInt((int)result
); 
10538 static PyObject 
*_wrap_Joystick_GetUMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10539     PyObject 
*resultobj
; 
10540     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10542     PyObject 
* obj0 
= 0 ; 
10543     char *kwnames
[] = { 
10544         (char *) "self", NULL 
 
10547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
; 
10548     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10552         result 
= (int)(arg1
)->GetUMin(); 
10554         wxPyEndAllowThreads(__tstate
); 
10555         if (PyErr_Occurred()) SWIG_fail
; 
10557     resultobj 
= SWIG_FromInt((int)result
); 
10564 static PyObject 
*_wrap_Joystick_GetUMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10565     PyObject 
*resultobj
; 
10566     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10568     PyObject 
* obj0 
= 0 ; 
10569     char *kwnames
[] = { 
10570         (char *) "self", NULL 
 
10573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
; 
10574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10578         result 
= (int)(arg1
)->GetUMax(); 
10580         wxPyEndAllowThreads(__tstate
); 
10581         if (PyErr_Occurred()) SWIG_fail
; 
10583     resultobj 
= SWIG_FromInt((int)result
); 
10590 static PyObject 
*_wrap_Joystick_GetVMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10591     PyObject 
*resultobj
; 
10592     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10594     PyObject 
* obj0 
= 0 ; 
10595     char *kwnames
[] = { 
10596         (char *) "self", NULL 
 
10599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
; 
10600     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10601     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10603         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10604         result 
= (int)(arg1
)->GetVMin(); 
10606         wxPyEndAllowThreads(__tstate
); 
10607         if (PyErr_Occurred()) SWIG_fail
; 
10609     resultobj 
= SWIG_FromInt((int)result
); 
10616 static PyObject 
*_wrap_Joystick_GetVMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10617     PyObject 
*resultobj
; 
10618     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10620     PyObject 
* obj0 
= 0 ; 
10621     char *kwnames
[] = { 
10622         (char *) "self", NULL 
 
10625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
; 
10626     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10630         result 
= (int)(arg1
)->GetVMax(); 
10632         wxPyEndAllowThreads(__tstate
); 
10633         if (PyErr_Occurred()) SWIG_fail
; 
10635     resultobj 
= SWIG_FromInt((int)result
); 
10642 static PyObject 
*_wrap_Joystick_HasRudder(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10643     PyObject 
*resultobj
; 
10644     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10646     PyObject 
* obj0 
= 0 ; 
10647     char *kwnames
[] = { 
10648         (char *) "self", NULL 
 
10651     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
; 
10652     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10653     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10656         result 
= (bool)(arg1
)->HasRudder(); 
10658         wxPyEndAllowThreads(__tstate
); 
10659         if (PyErr_Occurred()) SWIG_fail
; 
10662         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10670 static PyObject 
*_wrap_Joystick_HasZ(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10671     PyObject 
*resultobj
; 
10672     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10674     PyObject 
* obj0 
= 0 ; 
10675     char *kwnames
[] = { 
10676         (char *) "self", NULL 
 
10679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
; 
10680     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10684         result 
= (bool)(arg1
)->HasZ(); 
10686         wxPyEndAllowThreads(__tstate
); 
10687         if (PyErr_Occurred()) SWIG_fail
; 
10690         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10698 static PyObject 
*_wrap_Joystick_HasU(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10699     PyObject 
*resultobj
; 
10700     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10702     PyObject 
* obj0 
= 0 ; 
10703     char *kwnames
[] = { 
10704         (char *) "self", NULL 
 
10707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
; 
10708     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10709     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10712         result 
= (bool)(arg1
)->HasU(); 
10714         wxPyEndAllowThreads(__tstate
); 
10715         if (PyErr_Occurred()) SWIG_fail
; 
10718         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10726 static PyObject 
*_wrap_Joystick_HasV(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10727     PyObject 
*resultobj
; 
10728     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10730     PyObject 
* obj0 
= 0 ; 
10731     char *kwnames
[] = { 
10732         (char *) "self", NULL 
 
10735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
; 
10736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10740         result 
= (bool)(arg1
)->HasV(); 
10742         wxPyEndAllowThreads(__tstate
); 
10743         if (PyErr_Occurred()) SWIG_fail
; 
10746         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10754 static PyObject 
*_wrap_Joystick_HasPOV(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10755     PyObject 
*resultobj
; 
10756     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10758     PyObject 
* obj0 
= 0 ; 
10759     char *kwnames
[] = { 
10760         (char *) "self", NULL 
 
10763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
; 
10764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10767         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10768         result 
= (bool)(arg1
)->HasPOV(); 
10770         wxPyEndAllowThreads(__tstate
); 
10771         if (PyErr_Occurred()) SWIG_fail
; 
10774         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10782 static PyObject 
*_wrap_Joystick_HasPOV4Dir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10783     PyObject 
*resultobj
; 
10784     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10786     PyObject 
* obj0 
= 0 ; 
10787     char *kwnames
[] = { 
10788         (char *) "self", NULL 
 
10791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
; 
10792     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10793     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10796         result 
= (bool)(arg1
)->HasPOV4Dir(); 
10798         wxPyEndAllowThreads(__tstate
); 
10799         if (PyErr_Occurred()) SWIG_fail
; 
10802         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10810 static PyObject 
*_wrap_Joystick_HasPOVCTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10811     PyObject 
*resultobj
; 
10812     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10814     PyObject 
* obj0 
= 0 ; 
10815     char *kwnames
[] = { 
10816         (char *) "self", NULL 
 
10819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
; 
10820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10823         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10824         result 
= (bool)(arg1
)->HasPOVCTS(); 
10826         wxPyEndAllowThreads(__tstate
); 
10827         if (PyErr_Occurred()) SWIG_fail
; 
10830         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10838 static PyObject 
*_wrap_Joystick_SetCapture(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10839     PyObject 
*resultobj
; 
10840     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10841     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10842     int arg3 
= (int) 0 ; 
10844     PyObject 
* obj0 
= 0 ; 
10845     PyObject 
* obj1 
= 0 ; 
10846     PyObject 
* obj2 
= 0 ; 
10847     char *kwnames
[] = { 
10848         (char *) "self",(char *) "win",(char *) "pollingFreq", NULL 
 
10851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10852     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10853     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10854     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
10855     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10857         arg3 
= (int) SWIG_AsInt(obj2
);  
10858         if (PyErr_Occurred()) SWIG_fail
; 
10861         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10862         result 
= (bool)(arg1
)->SetCapture(arg2
,arg3
); 
10864         wxPyEndAllowThreads(__tstate
); 
10865         if (PyErr_Occurred()) SWIG_fail
; 
10868         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10876 static PyObject 
*_wrap_Joystick_ReleaseCapture(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10877     PyObject 
*resultobj
; 
10878     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10880     PyObject 
* obj0 
= 0 ; 
10881     char *kwnames
[] = { 
10882         (char *) "self", NULL 
 
10885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
; 
10886     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10887     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10890         result 
= (bool)(arg1
)->ReleaseCapture(); 
10892         wxPyEndAllowThreads(__tstate
); 
10893         if (PyErr_Occurred()) SWIG_fail
; 
10896         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10904 static PyObject 
* Joystick_swigregister(PyObject 
*self
, PyObject 
*args
) { 
10906     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10907     SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
); 
10909     return Py_BuildValue((char *)""); 
10911 static PyObject 
*_wrap_JoystickEvent_m_pos_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10912     PyObject 
*resultobj
; 
10913     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10914     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
10915     PyObject 
* obj0 
= 0 ; 
10916     PyObject 
* obj1 
= 0 ; 
10917     char *kwnames
[] = { 
10918         (char *) "self",(char *) "m_pos", NULL 
 
10921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10922     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10923     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10924     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
, 
10925     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10926     if (arg1
) (arg1
)->m_pos 
= *arg2
; 
10928     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10935 static PyObject 
*_wrap_JoystickEvent_m_pos_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10936     PyObject 
*resultobj
; 
10937     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10939     PyObject 
* obj0 
= 0 ; 
10940     char *kwnames
[] = { 
10941         (char *) "self", NULL 
 
10944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
; 
10945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10947     result 
= (wxPoint 
*)& ((arg1
)->m_pos
); 
10949     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
10956 static PyObject 
*_wrap_JoystickEvent_m_zPosition_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10957     PyObject 
*resultobj
; 
10958     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10960     PyObject 
* obj0 
= 0 ; 
10961     PyObject 
* obj1 
= 0 ; 
10962     char *kwnames
[] = { 
10963         (char *) "self",(char *) "m_zPosition", NULL 
 
10966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10967     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10969     arg2 
= (int) SWIG_AsInt(obj1
);  
10970     if (PyErr_Occurred()) SWIG_fail
; 
10971     if (arg1
) (arg1
)->m_zPosition 
= arg2
; 
10973     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10980 static PyObject 
*_wrap_JoystickEvent_m_zPosition_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10981     PyObject 
*resultobj
; 
10982     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10984     PyObject 
* obj0 
= 0 ; 
10985     char *kwnames
[] = { 
10986         (char *) "self", NULL 
 
10989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
; 
10990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10992     result 
= (int) ((arg1
)->m_zPosition
); 
10994     resultobj 
= SWIG_FromInt((int)result
); 
11001 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11002     PyObject 
*resultobj
; 
11003     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11005     PyObject 
* obj0 
= 0 ; 
11006     PyObject 
* obj1 
= 0 ; 
11007     char *kwnames
[] = { 
11008         (char *) "self",(char *) "m_buttonChange", NULL 
 
11011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11014     arg2 
= (int) SWIG_AsInt(obj1
);  
11015     if (PyErr_Occurred()) SWIG_fail
; 
11016     if (arg1
) (arg1
)->m_buttonChange 
= arg2
; 
11018     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11025 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11026     PyObject 
*resultobj
; 
11027     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11029     PyObject 
* obj0 
= 0 ; 
11030     char *kwnames
[] = { 
11031         (char *) "self", NULL 
 
11034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
; 
11035     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11036     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11037     result 
= (int) ((arg1
)->m_buttonChange
); 
11039     resultobj 
= SWIG_FromInt((int)result
); 
11046 static PyObject 
*_wrap_JoystickEvent_m_buttonState_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11047     PyObject 
*resultobj
; 
11048     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11050     PyObject 
* obj0 
= 0 ; 
11051     PyObject 
* obj1 
= 0 ; 
11052     char *kwnames
[] = { 
11053         (char *) "self",(char *) "m_buttonState", NULL 
 
11056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11059     arg2 
= (int) SWIG_AsInt(obj1
);  
11060     if (PyErr_Occurred()) SWIG_fail
; 
11061     if (arg1
) (arg1
)->m_buttonState 
= arg2
; 
11063     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11070 static PyObject 
*_wrap_JoystickEvent_m_buttonState_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11071     PyObject 
*resultobj
; 
11072     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11074     PyObject 
* obj0 
= 0 ; 
11075     char *kwnames
[] = { 
11076         (char *) "self", NULL 
 
11079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
; 
11080     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11082     result 
= (int) ((arg1
)->m_buttonState
); 
11084     resultobj 
= SWIG_FromInt((int)result
); 
11091 static PyObject 
*_wrap_JoystickEvent_m_joyStick_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11092     PyObject 
*resultobj
; 
11093     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11095     PyObject 
* obj0 
= 0 ; 
11096     PyObject 
* obj1 
= 0 ; 
11097     char *kwnames
[] = { 
11098         (char *) "self",(char *) "m_joyStick", NULL 
 
11101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11102     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11103     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11104     arg2 
= (int) SWIG_AsInt(obj1
);  
11105     if (PyErr_Occurred()) SWIG_fail
; 
11106     if (arg1
) (arg1
)->m_joyStick 
= arg2
; 
11108     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11115 static PyObject 
*_wrap_JoystickEvent_m_joyStick_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11116     PyObject 
*resultobj
; 
11117     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11119     PyObject 
* obj0 
= 0 ; 
11120     char *kwnames
[] = { 
11121         (char *) "self", NULL 
 
11124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
; 
11125     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11126     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11127     result 
= (int) ((arg1
)->m_joyStick
); 
11129     resultobj 
= SWIG_FromInt((int)result
); 
11136 static PyObject 
*_wrap_new_JoystickEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11137     PyObject 
*resultobj
; 
11138     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
11139     int arg2 
= (int) 0 ; 
11140     int arg3 
= (int) wxJOYSTICK1 
; 
11141     int arg4 
= (int) 0 ; 
11142     wxJoystickEvent 
*result
; 
11143     PyObject 
* obj0 
= 0 ; 
11144     PyObject 
* obj1 
= 0 ; 
11145     PyObject 
* obj2 
= 0 ; 
11146     PyObject 
* obj3 
= 0 ; 
11147     char *kwnames
[] = { 
11148         (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL 
 
11151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11153         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
11154         if (PyErr_Occurred()) SWIG_fail
; 
11157         arg2 
= (int) SWIG_AsInt(obj1
);  
11158         if (PyErr_Occurred()) SWIG_fail
; 
11161         arg3 
= (int) SWIG_AsInt(obj2
);  
11162         if (PyErr_Occurred()) SWIG_fail
; 
11165         arg4 
= (int) SWIG_AsInt(obj3
);  
11166         if (PyErr_Occurred()) SWIG_fail
; 
11169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11170         result 
= (wxJoystickEvent 
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
); 
11172         wxPyEndAllowThreads(__tstate
); 
11173         if (PyErr_Occurred()) SWIG_fail
; 
11175     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1); 
11182 static PyObject 
*_wrap_JoystickEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11183     PyObject 
*resultobj
; 
11184     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11186     PyObject 
* obj0 
= 0 ; 
11187     char *kwnames
[] = { 
11188         (char *) "self", NULL 
 
11191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
11192     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11193     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11196         result 
= ((wxJoystickEvent 
const *)arg1
)->GetPosition(); 
11198         wxPyEndAllowThreads(__tstate
); 
11199         if (PyErr_Occurred()) SWIG_fail
; 
11202         wxPoint 
* resultptr
; 
11203         resultptr 
= new wxPoint((wxPoint 
&) result
); 
11204         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
11212 static PyObject 
*_wrap_JoystickEvent_GetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11213     PyObject 
*resultobj
; 
11214     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11216     PyObject 
* obj0 
= 0 ; 
11217     char *kwnames
[] = { 
11218         (char *) "self", NULL 
 
11221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
; 
11222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11226         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetZPosition(); 
11228         wxPyEndAllowThreads(__tstate
); 
11229         if (PyErr_Occurred()) SWIG_fail
; 
11231     resultobj 
= SWIG_FromInt((int)result
); 
11238 static PyObject 
*_wrap_JoystickEvent_GetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11239     PyObject 
*resultobj
; 
11240     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11242     PyObject 
* obj0 
= 0 ; 
11243     char *kwnames
[] = { 
11244         (char *) "self", NULL 
 
11247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
; 
11248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11252         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonState(); 
11254         wxPyEndAllowThreads(__tstate
); 
11255         if (PyErr_Occurred()) SWIG_fail
; 
11257     resultobj 
= SWIG_FromInt((int)result
); 
11264 static PyObject 
*_wrap_JoystickEvent_GetButtonChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11265     PyObject 
*resultobj
; 
11266     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11268     PyObject 
* obj0 
= 0 ; 
11269     char *kwnames
[] = { 
11270         (char *) "self", NULL 
 
11273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
; 
11274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11278         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonChange(); 
11280         wxPyEndAllowThreads(__tstate
); 
11281         if (PyErr_Occurred()) SWIG_fail
; 
11283     resultobj 
= SWIG_FromInt((int)result
); 
11290 static PyObject 
*_wrap_JoystickEvent_GetJoystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11291     PyObject 
*resultobj
; 
11292     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11294     PyObject 
* obj0 
= 0 ; 
11295     char *kwnames
[] = { 
11296         (char *) "self", NULL 
 
11299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
; 
11300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11304         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetJoystick(); 
11306         wxPyEndAllowThreads(__tstate
); 
11307         if (PyErr_Occurred()) SWIG_fail
; 
11309     resultobj 
= SWIG_FromInt((int)result
); 
11316 static PyObject 
*_wrap_JoystickEvent_SetJoystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11317     PyObject 
*resultobj
; 
11318     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11320     PyObject 
* obj0 
= 0 ; 
11321     PyObject 
* obj1 
= 0 ; 
11322     char *kwnames
[] = { 
11323         (char *) "self",(char *) "stick", NULL 
 
11326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
; 
11327     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11328     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11329     arg2 
= (int) SWIG_AsInt(obj1
);  
11330     if (PyErr_Occurred()) SWIG_fail
; 
11332         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11333         (arg1
)->SetJoystick(arg2
); 
11335         wxPyEndAllowThreads(__tstate
); 
11336         if (PyErr_Occurred()) SWIG_fail
; 
11338     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11345 static PyObject 
*_wrap_JoystickEvent_SetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11346     PyObject 
*resultobj
; 
11347     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11349     PyObject 
* obj0 
= 0 ; 
11350     PyObject 
* obj1 
= 0 ; 
11351     char *kwnames
[] = { 
11352         (char *) "self",(char *) "state", NULL 
 
11355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
; 
11356     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11357     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11358     arg2 
= (int) SWIG_AsInt(obj1
);  
11359     if (PyErr_Occurred()) SWIG_fail
; 
11361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11362         (arg1
)->SetButtonState(arg2
); 
11364         wxPyEndAllowThreads(__tstate
); 
11365         if (PyErr_Occurred()) SWIG_fail
; 
11367     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11374 static PyObject 
*_wrap_JoystickEvent_SetButtonChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11375     PyObject 
*resultobj
; 
11376     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11378     PyObject 
* obj0 
= 0 ; 
11379     PyObject 
* obj1 
= 0 ; 
11380     char *kwnames
[] = { 
11381         (char *) "self",(char *) "change", NULL 
 
11384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
; 
11385     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11386     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11387     arg2 
= (int) SWIG_AsInt(obj1
);  
11388     if (PyErr_Occurred()) SWIG_fail
; 
11390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11391         (arg1
)->SetButtonChange(arg2
); 
11393         wxPyEndAllowThreads(__tstate
); 
11394         if (PyErr_Occurred()) SWIG_fail
; 
11396     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11403 static PyObject 
*_wrap_JoystickEvent_SetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11404     PyObject 
*resultobj
; 
11405     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11406     wxPoint 
*arg2 
= 0 ; 
11408     PyObject 
* obj0 
= 0 ; 
11409     PyObject 
* obj1 
= 0 ; 
11410     char *kwnames
[] = { 
11411         (char *) "self",(char *) "pos", NULL 
 
11414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11415     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11419         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11423         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
11425         wxPyEndAllowThreads(__tstate
); 
11426         if (PyErr_Occurred()) SWIG_fail
; 
11428     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11435 static PyObject 
*_wrap_JoystickEvent_SetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11436     PyObject 
*resultobj
; 
11437     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11439     PyObject 
* obj0 
= 0 ; 
11440     PyObject 
* obj1 
= 0 ; 
11441     char *kwnames
[] = { 
11442         (char *) "self",(char *) "zPos", NULL 
 
11445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11446     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11447     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11448     arg2 
= (int) SWIG_AsInt(obj1
);  
11449     if (PyErr_Occurred()) SWIG_fail
; 
11451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11452         (arg1
)->SetZPosition(arg2
); 
11454         wxPyEndAllowThreads(__tstate
); 
11455         if (PyErr_Occurred()) SWIG_fail
; 
11457     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11464 static PyObject 
*_wrap_JoystickEvent_IsButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11465     PyObject 
*resultobj
; 
11466     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11468     PyObject 
* obj0 
= 0 ; 
11469     char *kwnames
[] = { 
11470         (char *) "self", NULL 
 
11473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
; 
11474     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11475     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11478         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsButton(); 
11480         wxPyEndAllowThreads(__tstate
); 
11481         if (PyErr_Occurred()) SWIG_fail
; 
11484         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11492 static PyObject 
*_wrap_JoystickEvent_IsMove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11493     PyObject 
*resultobj
; 
11494     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11496     PyObject 
* obj0 
= 0 ; 
11497     char *kwnames
[] = { 
11498         (char *) "self", NULL 
 
11501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
; 
11502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11506         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsMove(); 
11508         wxPyEndAllowThreads(__tstate
); 
11509         if (PyErr_Occurred()) SWIG_fail
; 
11512         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11520 static PyObject 
*_wrap_JoystickEvent_IsZMove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11521     PyObject 
*resultobj
; 
11522     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11524     PyObject 
* obj0 
= 0 ; 
11525     char *kwnames
[] = { 
11526         (char *) "self", NULL 
 
11529     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
; 
11530     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11531     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11533         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11534         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsZMove(); 
11536         wxPyEndAllowThreads(__tstate
); 
11537         if (PyErr_Occurred()) SWIG_fail
; 
11540         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11548 static PyObject 
*_wrap_JoystickEvent_ButtonDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11549     PyObject 
*resultobj
; 
11550     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11551     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11553     PyObject 
* obj0 
= 0 ; 
11554     PyObject 
* obj1 
= 0 ; 
11555     char *kwnames
[] = { 
11556         (char *) "self",(char *) "but", NULL 
 
11559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11560     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11561     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11563         arg2 
= (int) SWIG_AsInt(obj1
);  
11564         if (PyErr_Occurred()) SWIG_fail
; 
11567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11568         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonDown(arg2
); 
11570         wxPyEndAllowThreads(__tstate
); 
11571         if (PyErr_Occurred()) SWIG_fail
; 
11574         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11582 static PyObject 
*_wrap_JoystickEvent_ButtonUp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11583     PyObject 
*resultobj
; 
11584     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11585     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11587     PyObject 
* obj0 
= 0 ; 
11588     PyObject 
* obj1 
= 0 ; 
11589     char *kwnames
[] = { 
11590         (char *) "self",(char *) "but", NULL 
 
11593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
; 
11594     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11595     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11597         arg2 
= (int) SWIG_AsInt(obj1
);  
11598         if (PyErr_Occurred()) SWIG_fail
; 
11601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11602         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonUp(arg2
); 
11604         wxPyEndAllowThreads(__tstate
); 
11605         if (PyErr_Occurred()) SWIG_fail
; 
11608         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11616 static PyObject 
*_wrap_JoystickEvent_ButtonIsDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11617     PyObject 
*resultobj
; 
11618     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11619     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11621     PyObject 
* obj0 
= 0 ; 
11622     PyObject 
* obj1 
= 0 ; 
11623     char *kwnames
[] = { 
11624         (char *) "self",(char *) "but", NULL 
 
11627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11628     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11631         arg2 
= (int) SWIG_AsInt(obj1
);  
11632         if (PyErr_Occurred()) SWIG_fail
; 
11635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11636         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonIsDown(arg2
); 
11638         wxPyEndAllowThreads(__tstate
); 
11639         if (PyErr_Occurred()) SWIG_fail
; 
11642         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11650 static PyObject 
* JoystickEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11652     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11653     SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
); 
11655     return Py_BuildValue((char *)""); 
11657 static PyObject 
*_wrap_new_Sound(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11658     PyObject 
*resultobj
; 
11659     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
11660     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
11662     bool temp1 
= False 
; 
11663     PyObject 
* obj0 
= 0 ; 
11664     char *kwnames
[] = { 
11665         (char *) "fileName", NULL 
 
11668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
; 
11671             arg1 
= wxString_in_helper(obj0
); 
11672             if (arg1 
== NULL
) SWIG_fail
; 
11677         if (!wxPyCheckForApp()) SWIG_fail
; 
11678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11679         result 
= (wxSound 
*)new_wxSound((wxString 
const &)*arg1
); 
11681         wxPyEndAllowThreads(__tstate
); 
11682         if (PyErr_Occurred()) SWIG_fail
; 
11684     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11699 static PyObject 
*_wrap_new_SoundFromData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11700     PyObject 
*resultobj
; 
11701     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
11703     PyObject 
* obj0 
= 0 ; 
11704     char *kwnames
[] = { 
11705         (char *) "data", NULL 
 
11708     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
; 
11711         if (!wxPyCheckForApp()) SWIG_fail
; 
11712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11713         result 
= (wxSound 
*)new_wxSound(arg1
); 
11715         wxPyEndAllowThreads(__tstate
); 
11716         if (PyErr_Occurred()) SWIG_fail
; 
11718     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11725 static PyObject 
*_wrap_delete_Sound(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11726     PyObject 
*resultobj
; 
11727     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11728     PyObject 
* obj0 
= 0 ; 
11729     char *kwnames
[] = { 
11730         (char *) "self", NULL 
 
11733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
; 
11734     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11740         wxPyEndAllowThreads(__tstate
); 
11741         if (PyErr_Occurred()) SWIG_fail
; 
11743     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11750 static PyObject 
*_wrap_Sound_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11751     PyObject 
*resultobj
; 
11752     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11753     wxString 
*arg2 
= 0 ; 
11755     bool temp2 
= False 
; 
11756     PyObject 
* obj0 
= 0 ; 
11757     PyObject 
* obj1 
= 0 ; 
11758     char *kwnames
[] = { 
11759         (char *) "self",(char *) "fileName", NULL 
 
11762     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
; 
11763     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11764     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11766         arg2 
= wxString_in_helper(obj1
); 
11767         if (arg2 
== NULL
) SWIG_fail
; 
11771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11772         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
); 
11774         wxPyEndAllowThreads(__tstate
); 
11775         if (PyErr_Occurred()) SWIG_fail
; 
11778         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11794 static PyObject 
*_wrap_Sound_CreateFromData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11795     PyObject 
*resultobj
; 
11796     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11797     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
11799     PyObject 
* obj0 
= 0 ; 
11800     PyObject 
* obj1 
= 0 ; 
11801     char *kwnames
[] = { 
11802         (char *) "self",(char *) "data", NULL 
 
11805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
; 
11806     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11807     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11811         result 
= (bool)wxSound_CreateFromData(arg1
,arg2
); 
11813         wxPyEndAllowThreads(__tstate
); 
11814         if (PyErr_Occurred()) SWIG_fail
; 
11817         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11825 static PyObject 
*_wrap_Sound_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11826     PyObject 
*resultobj
; 
11827     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11829     PyObject 
* obj0 
= 0 ; 
11830     char *kwnames
[] = { 
11831         (char *) "self", NULL 
 
11834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
; 
11835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11839         result 
= (bool)(arg1
)->IsOk(); 
11841         wxPyEndAllowThreads(__tstate
); 
11842         if (PyErr_Occurred()) SWIG_fail
; 
11845         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11853 static PyObject 
*_wrap_Sound_Play(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11854     PyObject 
*resultobj
; 
11855     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11856     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
11858     PyObject 
* obj0 
= 0 ; 
11859     PyObject 
* obj1 
= 0 ; 
11860     char *kwnames
[] = { 
11861         (char *) "self",(char *) "flags", NULL 
 
11864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
; 
11865     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11866     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11868         arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
11869         if (PyErr_Occurred()) SWIG_fail
; 
11872         if (!wxPyCheckForApp()) SWIG_fail
; 
11873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11874         result 
= (bool)((wxSound 
const *)arg1
)->Play(arg2
); 
11876         wxPyEndAllowThreads(__tstate
); 
11877         if (PyErr_Occurred()) SWIG_fail
; 
11880         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11888 static PyObject 
*_wrap_Sound_PlaySound(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11889     PyObject 
*resultobj
; 
11890     wxString 
*arg1 
= 0 ; 
11891     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
11893     bool temp1 
= False 
; 
11894     PyObject 
* obj0 
= 0 ; 
11895     PyObject 
* obj1 
= 0 ; 
11896     char *kwnames
[] = { 
11897         (char *) "filename",(char *) "flags", NULL 
 
11900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
; 
11902         arg1 
= wxString_in_helper(obj0
); 
11903         if (arg1 
== NULL
) SWIG_fail
; 
11907         arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
11908         if (PyErr_Occurred()) SWIG_fail
; 
11911         if (!wxPyCheckForApp()) SWIG_fail
; 
11912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11913         result 
= (bool)wxSound::Play((wxString 
const &)*arg1
,arg2
); 
11915         wxPyEndAllowThreads(__tstate
); 
11916         if (PyErr_Occurred()) SWIG_fail
; 
11919         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11935 static PyObject 
*_wrap_Sound_Stop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11936     PyObject 
*resultobj
; 
11937     char *kwnames
[] = { 
11941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
; 
11943         if (!wxPyCheckForApp()) SWIG_fail
; 
11944         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11947         wxPyEndAllowThreads(__tstate
); 
11948         if (PyErr_Occurred()) SWIG_fail
; 
11950     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11957 static PyObject 
* Sound_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11959     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11960     SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
); 
11962     return Py_BuildValue((char *)""); 
11964 static PyObject 
*_wrap_new_FileTypeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11965     PyObject 
*resultobj
; 
11966     wxString 
*arg1 
= 0 ; 
11967     wxString 
*arg2 
= 0 ; 
11968     wxString 
*arg3 
= 0 ; 
11969     wxString 
*arg4 
= 0 ; 
11970     wxFileTypeInfo 
*result
; 
11971     bool temp1 
= False 
; 
11972     bool temp2 
= False 
; 
11973     bool temp3 
= False 
; 
11974     bool temp4 
= False 
; 
11975     PyObject 
* obj0 
= 0 ; 
11976     PyObject 
* obj1 
= 0 ; 
11977     PyObject 
* obj2 
= 0 ; 
11978     PyObject 
* obj3 
= 0 ; 
11979     char *kwnames
[] = { 
11980         (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL 
 
11983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11985         arg1 
= wxString_in_helper(obj0
); 
11986         if (arg1 
== NULL
) SWIG_fail
; 
11990         arg2 
= wxString_in_helper(obj1
); 
11991         if (arg2 
== NULL
) SWIG_fail
; 
11995         arg3 
= wxString_in_helper(obj2
); 
11996         if (arg3 
== NULL
) SWIG_fail
; 
12000         arg4 
= wxString_in_helper(obj3
); 
12001         if (arg4 
== NULL
) SWIG_fail
; 
12005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12006         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
12008         wxPyEndAllowThreads(__tstate
); 
12009         if (PyErr_Occurred()) SWIG_fail
; 
12011     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
12050 static PyObject 
*_wrap_new_FileTypeInfoSequence(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12051     PyObject 
*resultobj
; 
12052     wxArrayString 
*arg1 
= 0 ; 
12053     wxFileTypeInfo 
*result
; 
12054     bool temp1 
= False 
; 
12055     PyObject 
* obj0 
= 0 ; 
12056     char *kwnames
[] = { 
12057         (char *) "sArray", NULL 
 
12060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
; 
12062         if (! PySequence_Check(obj0
)) { 
12063             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
12066         arg1 
= new wxArrayString
; 
12068         int i
, len
=PySequence_Length(obj0
); 
12069         for (i
=0; i
<len
; i
++) { 
12070             PyObject
* item 
= PySequence_GetItem(obj0
, i
); 
12072             PyObject
* str  
= PyObject_Unicode(item
); 
12074             PyObject
* str  
= PyObject_Str(item
); 
12076             if (PyErr_Occurred())  SWIG_fail
; 
12077             arg1
->Add(Py2wxString(str
)); 
12083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12084         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxArrayString 
const &)*arg1
); 
12086         wxPyEndAllowThreads(__tstate
); 
12087         if (PyErr_Occurred()) SWIG_fail
; 
12089     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
12091         if (temp1
) delete arg1
; 
12096         if (temp1
) delete arg1
; 
12102 static PyObject 
*_wrap_new_NullFileTypeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12103     PyObject 
*resultobj
; 
12104     wxFileTypeInfo 
*result
; 
12105     char *kwnames
[] = { 
12109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
; 
12111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12112         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo(); 
12114         wxPyEndAllowThreads(__tstate
); 
12115         if (PyErr_Occurred()) SWIG_fail
; 
12117     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
12124 static PyObject 
*_wrap_FileTypeInfo_IsValid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12125     PyObject 
*resultobj
; 
12126     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12128     PyObject 
* obj0 
= 0 ; 
12129     char *kwnames
[] = { 
12130         (char *) "self", NULL 
 
12133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
; 
12134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12138         result 
= (bool)((wxFileTypeInfo 
const *)arg1
)->IsValid(); 
12140         wxPyEndAllowThreads(__tstate
); 
12141         if (PyErr_Occurred()) SWIG_fail
; 
12144         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12152 static PyObject 
*_wrap_FileTypeInfo_SetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12153     PyObject 
*resultobj
; 
12154     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12155     wxString 
*arg2 
= 0 ; 
12156     int arg3 
= (int) 0 ; 
12157     bool temp2 
= False 
; 
12158     PyObject 
* obj0 
= 0 ; 
12159     PyObject 
* obj1 
= 0 ; 
12160     PyObject 
* obj2 
= 0 ; 
12161     char *kwnames
[] = { 
12162         (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL 
 
12165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12166     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12167     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12169         arg2 
= wxString_in_helper(obj1
); 
12170         if (arg2 
== NULL
) SWIG_fail
; 
12174         arg3 
= (int) SWIG_AsInt(obj2
);  
12175         if (PyErr_Occurred()) SWIG_fail
; 
12178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12179         (arg1
)->SetIcon((wxString 
const &)*arg2
,arg3
); 
12181         wxPyEndAllowThreads(__tstate
); 
12182         if (PyErr_Occurred()) SWIG_fail
; 
12184     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12199 static PyObject 
*_wrap_FileTypeInfo_SetShortDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12200     PyObject 
*resultobj
; 
12201     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12202     wxString 
*arg2 
= 0 ; 
12203     bool temp2 
= False 
; 
12204     PyObject 
* obj0 
= 0 ; 
12205     PyObject 
* obj1 
= 0 ; 
12206     char *kwnames
[] = { 
12207         (char *) "self",(char *) "shortDesc", NULL 
 
12210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
12211     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12212     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12214         arg2 
= wxString_in_helper(obj1
); 
12215         if (arg2 
== NULL
) SWIG_fail
; 
12219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12220         (arg1
)->SetShortDesc((wxString 
const &)*arg2
); 
12222         wxPyEndAllowThreads(__tstate
); 
12223         if (PyErr_Occurred()) SWIG_fail
; 
12225     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12240 static PyObject 
*_wrap_FileTypeInfo_GetMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12241     PyObject 
*resultobj
; 
12242     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12244     PyObject 
* obj0 
= 0 ; 
12245     char *kwnames
[] = { 
12246         (char *) "self", NULL 
 
12249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12250     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12251     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12255             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetMimeType(); 
12256             result 
= (wxString 
*) &_result_ref
; 
12259         wxPyEndAllowThreads(__tstate
); 
12260         if (PyErr_Occurred()) SWIG_fail
; 
12264         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12266         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12275 static PyObject 
*_wrap_FileTypeInfo_GetOpenCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12276     PyObject 
*resultobj
; 
12277     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12279     PyObject 
* obj0 
= 0 ; 
12280     char *kwnames
[] = { 
12281         (char *) "self", NULL 
 
12284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
; 
12285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12290             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetOpenCommand(); 
12291             result 
= (wxString 
*) &_result_ref
; 
12294         wxPyEndAllowThreads(__tstate
); 
12295         if (PyErr_Occurred()) SWIG_fail
; 
12299         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12301         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12310 static PyObject 
*_wrap_FileTypeInfo_GetPrintCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12311     PyObject 
*resultobj
; 
12312     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12314     PyObject 
* obj0 
= 0 ; 
12315     char *kwnames
[] = { 
12316         (char *) "self", NULL 
 
12319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
; 
12320     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12321     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12325             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetPrintCommand(); 
12326             result 
= (wxString 
*) &_result_ref
; 
12329         wxPyEndAllowThreads(__tstate
); 
12330         if (PyErr_Occurred()) SWIG_fail
; 
12334         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12336         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12345 static PyObject 
*_wrap_FileTypeInfo_GetShortDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12346     PyObject 
*resultobj
; 
12347     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12349     PyObject 
* obj0 
= 0 ; 
12350     char *kwnames
[] = { 
12351         (char *) "self", NULL 
 
12354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
; 
12355     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12356     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12360             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetShortDesc(); 
12361             result 
= (wxString 
*) &_result_ref
; 
12364         wxPyEndAllowThreads(__tstate
); 
12365         if (PyErr_Occurred()) SWIG_fail
; 
12369         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12371         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12380 static PyObject 
*_wrap_FileTypeInfo_GetDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12381     PyObject 
*resultobj
; 
12382     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12384     PyObject 
* obj0 
= 0 ; 
12385     char *kwnames
[] = { 
12386         (char *) "self", NULL 
 
12389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
; 
12390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12395             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetDescription(); 
12396             result 
= (wxString 
*) &_result_ref
; 
12399         wxPyEndAllowThreads(__tstate
); 
12400         if (PyErr_Occurred()) SWIG_fail
; 
12404         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12406         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12415 static PyObject 
*_wrap_FileTypeInfo_GetExtensions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12416     PyObject 
*resultobj
; 
12417     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12418     wxArrayString 
*result
; 
12419     PyObject 
* obj0 
= 0 ; 
12420     char *kwnames
[] = { 
12421         (char *) "self", NULL 
 
12424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12425     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12426     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12430             wxArrayString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetExtensions(); 
12431             result 
= (wxArrayString 
*) &_result_ref
; 
12434         wxPyEndAllowThreads(__tstate
); 
12435         if (PyErr_Occurred()) SWIG_fail
; 
12438         resultobj 
= wxArrayString2PyList_helper(*result
); 
12446 static PyObject 
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12447     PyObject 
*resultobj
; 
12448     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12450     PyObject 
* obj0 
= 0 ; 
12451     char *kwnames
[] = { 
12452         (char *) "self", NULL 
 
12455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
; 
12456     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12457     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12460         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetExtensionsCount(); 
12462         wxPyEndAllowThreads(__tstate
); 
12463         if (PyErr_Occurred()) SWIG_fail
; 
12465     resultobj 
= SWIG_FromInt((int)result
); 
12472 static PyObject 
*_wrap_FileTypeInfo_GetIconFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12473     PyObject 
*resultobj
; 
12474     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12476     PyObject 
* obj0 
= 0 ; 
12477     char *kwnames
[] = { 
12478         (char *) "self", NULL 
 
12481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
; 
12482     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12487             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetIconFile(); 
12488             result 
= (wxString 
*) &_result_ref
; 
12491         wxPyEndAllowThreads(__tstate
); 
12492         if (PyErr_Occurred()) SWIG_fail
; 
12496         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12498         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12507 static PyObject 
*_wrap_FileTypeInfo_GetIconIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12508     PyObject 
*resultobj
; 
12509     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12511     PyObject 
* obj0 
= 0 ; 
12512     char *kwnames
[] = { 
12513         (char *) "self", NULL 
 
12516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
; 
12517     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12521         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetIconIndex(); 
12523         wxPyEndAllowThreads(__tstate
); 
12524         if (PyErr_Occurred()) SWIG_fail
; 
12526     resultobj 
= SWIG_FromInt((int)result
); 
12533 static PyObject 
* FileTypeInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
12535     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12536     SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
); 
12538     return Py_BuildValue((char *)""); 
12540 static PyObject 
*_wrap_new_FileType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12541     PyObject 
*resultobj
; 
12542     wxFileTypeInfo 
*arg1 
= 0 ; 
12543     wxFileType 
*result
; 
12544     PyObject 
* obj0 
= 0 ; 
12545     char *kwnames
[] = { 
12546         (char *) "ftInfo", NULL 
 
12549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
; 
12550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12553     if (arg1 
== NULL
) { 
12554         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12559         result 
= (wxFileType 
*)new wxFileType((wxFileTypeInfo 
const &)*arg1
); 
12561         wxPyEndAllowThreads(__tstate
); 
12562         if (PyErr_Occurred()) SWIG_fail
; 
12564     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
12571 static PyObject 
*_wrap_delete_FileType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12572     PyObject 
*resultobj
; 
12573     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12574     PyObject 
* obj0 
= 0 ; 
12575     char *kwnames
[] = { 
12576         (char *) "self", NULL 
 
12579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
; 
12580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12586         wxPyEndAllowThreads(__tstate
); 
12587         if (PyErr_Occurred()) SWIG_fail
; 
12589     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12596 static PyObject 
*_wrap_FileType_GetMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12597     PyObject 
*resultobj
; 
12598     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12600     PyObject 
* obj0 
= 0 ; 
12601     char *kwnames
[] = { 
12602         (char *) "self", NULL 
 
12605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12606     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12609         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12610         result 
= (PyObject 
*)wxFileType_GetMimeType(arg1
); 
12612         wxPyEndAllowThreads(__tstate
); 
12613         if (PyErr_Occurred()) SWIG_fail
; 
12615     resultobj 
= result
; 
12622 static PyObject 
*_wrap_FileType_GetMimeTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12623     PyObject 
*resultobj
; 
12624     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12626     PyObject 
* obj0 
= 0 ; 
12627     char *kwnames
[] = { 
12628         (char *) "self", NULL 
 
12631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
; 
12632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12636         result 
= (PyObject 
*)wxFileType_GetMimeTypes(arg1
); 
12638         wxPyEndAllowThreads(__tstate
); 
12639         if (PyErr_Occurred()) SWIG_fail
; 
12641     resultobj 
= result
; 
12648 static PyObject 
*_wrap_FileType_GetExtensions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12649     PyObject 
*resultobj
; 
12650     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12652     PyObject 
* obj0 
= 0 ; 
12653     char *kwnames
[] = { 
12654         (char *) "self", NULL 
 
12657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12662         result 
= (PyObject 
*)wxFileType_GetExtensions(arg1
); 
12664         wxPyEndAllowThreads(__tstate
); 
12665         if (PyErr_Occurred()) SWIG_fail
; 
12667     resultobj 
= result
; 
12674 static PyObject 
*_wrap_FileType_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12675     PyObject 
*resultobj
; 
12676     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12678     PyObject 
* obj0 
= 0 ; 
12679     char *kwnames
[] = { 
12680         (char *) "self", NULL 
 
12683     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
; 
12684     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12685     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12687         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12688         result 
= (wxIcon 
*)wxFileType_GetIcon(arg1
); 
12690         wxPyEndAllowThreads(__tstate
); 
12691         if (PyErr_Occurred()) SWIG_fail
; 
12693     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
12700 static PyObject 
*_wrap_FileType_GetIconInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12701     PyObject 
*resultobj
; 
12702     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12704     PyObject 
* obj0 
= 0 ; 
12705     char *kwnames
[] = { 
12706         (char *) "self", NULL 
 
12709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
; 
12710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12714         result 
= (PyObject 
*)wxFileType_GetIconInfo(arg1
); 
12716         wxPyEndAllowThreads(__tstate
); 
12717         if (PyErr_Occurred()) SWIG_fail
; 
12719     resultobj 
= result
; 
12726 static PyObject 
*_wrap_FileType_GetDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12727     PyObject 
*resultobj
; 
12728     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12730     PyObject 
* obj0 
= 0 ; 
12731     char *kwnames
[] = { 
12732         (char *) "self", NULL 
 
12735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
; 
12736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12740         result 
= (PyObject 
*)wxFileType_GetDescription(arg1
); 
12742         wxPyEndAllowThreads(__tstate
); 
12743         if (PyErr_Occurred()) SWIG_fail
; 
12745     resultobj 
= result
; 
12752 static PyObject 
*_wrap_FileType_GetOpenCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12753     PyObject 
*resultobj
; 
12754     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12755     wxString 
*arg2 
= 0 ; 
12756     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12757     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12759     bool temp2 
= False 
; 
12760     bool temp3 
= False 
; 
12761     PyObject 
* obj0 
= 0 ; 
12762     PyObject 
* obj1 
= 0 ; 
12763     PyObject 
* obj2 
= 0 ; 
12764     char *kwnames
[] = { 
12765         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12769     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12770     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12772         arg2 
= wxString_in_helper(obj1
); 
12773         if (arg2 
== NULL
) SWIG_fail
; 
12778             arg3 
= wxString_in_helper(obj2
); 
12779             if (arg3 
== NULL
) SWIG_fail
; 
12784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12785         result 
= (PyObject 
*)wxFileType_GetOpenCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12787         wxPyEndAllowThreads(__tstate
); 
12788         if (PyErr_Occurred()) SWIG_fail
; 
12790     resultobj 
= result
; 
12813 static PyObject 
*_wrap_FileType_GetPrintCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12814     PyObject 
*resultobj
; 
12815     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12816     wxString 
*arg2 
= 0 ; 
12817     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12818     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12820     bool temp2 
= False 
; 
12821     bool temp3 
= False 
; 
12822     PyObject 
* obj0 
= 0 ; 
12823     PyObject 
* obj1 
= 0 ; 
12824     PyObject 
* obj2 
= 0 ; 
12825     char *kwnames
[] = { 
12826         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12830     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12831     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12833         arg2 
= wxString_in_helper(obj1
); 
12834         if (arg2 
== NULL
) SWIG_fail
; 
12839             arg3 
= wxString_in_helper(obj2
); 
12840             if (arg3 
== NULL
) SWIG_fail
; 
12845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12846         result 
= (PyObject 
*)wxFileType_GetPrintCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12848         wxPyEndAllowThreads(__tstate
); 
12849         if (PyErr_Occurred()) SWIG_fail
; 
12851     resultobj 
= result
; 
12874 static PyObject 
*_wrap_FileType_GetAllCommands(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12875     PyObject 
*resultobj
; 
12876     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12877     wxString 
*arg2 
= 0 ; 
12878     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12879     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12881     bool temp2 
= False 
; 
12882     bool temp3 
= False 
; 
12883     PyObject 
* obj0 
= 0 ; 
12884     PyObject 
* obj1 
= 0 ; 
12885     PyObject 
* obj2 
= 0 ; 
12886     char *kwnames
[] = { 
12887         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12894         arg2 
= wxString_in_helper(obj1
); 
12895         if (arg2 
== NULL
) SWIG_fail
; 
12900             arg3 
= wxString_in_helper(obj2
); 
12901             if (arg3 
== NULL
) SWIG_fail
; 
12906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12907         result 
= (PyObject 
*)wxFileType_GetAllCommands(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12909         wxPyEndAllowThreads(__tstate
); 
12910         if (PyErr_Occurred()) SWIG_fail
; 
12912     resultobj 
= result
; 
12935 static PyObject 
*_wrap_FileType_SetCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12936     PyObject 
*resultobj
; 
12937     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12938     wxString 
*arg2 
= 0 ; 
12939     wxString 
*arg3 
= 0 ; 
12940     bool arg4 
= (bool) True 
; 
12942     bool temp2 
= False 
; 
12943     bool temp3 
= False 
; 
12944     PyObject 
* obj0 
= 0 ; 
12945     PyObject 
* obj1 
= 0 ; 
12946     PyObject 
* obj2 
= 0 ; 
12947     PyObject 
* obj3 
= 0 ; 
12948     char *kwnames
[] = { 
12949         (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL 
 
12952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12953     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12956         arg2 
= wxString_in_helper(obj1
); 
12957         if (arg2 
== NULL
) SWIG_fail
; 
12961         arg3 
= wxString_in_helper(obj2
); 
12962         if (arg3 
== NULL
) SWIG_fail
; 
12966         arg4 
= (bool) SWIG_AsBool(obj3
);  
12967         if (PyErr_Occurred()) SWIG_fail
; 
12970         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12971         result 
= (bool)(arg1
)->SetCommand((wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
12973         wxPyEndAllowThreads(__tstate
); 
12974         if (PyErr_Occurred()) SWIG_fail
; 
12977         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13001 static PyObject 
*_wrap_FileType_SetDefaultIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13002     PyObject 
*resultobj
; 
13003     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13004     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
13005     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
13006     int arg3 
= (int) 0 ; 
13008     bool temp2 
= False 
; 
13009     PyObject 
* obj0 
= 0 ; 
13010     PyObject 
* obj1 
= 0 ; 
13011     PyObject 
* obj2 
= 0 ; 
13012     char *kwnames
[] = { 
13013         (char *) "self",(char *) "cmd",(char *) "index", NULL 
 
13016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13017     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13018     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13021             arg2 
= wxString_in_helper(obj1
); 
13022             if (arg2 
== NULL
) SWIG_fail
; 
13027         arg3 
= (int) SWIG_AsInt(obj2
);  
13028         if (PyErr_Occurred()) SWIG_fail
; 
13031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13032         result 
= (bool)(arg1
)->SetDefaultIcon((wxString 
const &)*arg2
,arg3
); 
13034         wxPyEndAllowThreads(__tstate
); 
13035         if (PyErr_Occurred()) SWIG_fail
; 
13038         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13054 static PyObject 
*_wrap_FileType_Unassociate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13055     PyObject 
*resultobj
; 
13056     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
13058     PyObject 
* obj0 
= 0 ; 
13059     char *kwnames
[] = { 
13060         (char *) "self", NULL 
 
13063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
; 
13064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
13065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13068         result 
= (bool)(arg1
)->Unassociate(); 
13070         wxPyEndAllowThreads(__tstate
); 
13071         if (PyErr_Occurred()) SWIG_fail
; 
13074         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13082 static PyObject 
*_wrap_FileType_ExpandCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13083     PyObject 
*resultobj
; 
13084     wxString 
*arg1 
= 0 ; 
13085     wxString 
*arg2 
= 0 ; 
13086     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13087     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13089     bool temp1 
= False 
; 
13090     bool temp2 
= False 
; 
13091     bool temp3 
= False 
; 
13092     PyObject 
* obj0 
= 0 ; 
13093     PyObject 
* obj1 
= 0 ; 
13094     PyObject 
* obj2 
= 0 ; 
13095     char *kwnames
[] = { 
13096         (char *) "command",(char *) "filename",(char *) "mimetype", NULL 
 
13099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13101         arg1 
= wxString_in_helper(obj0
); 
13102         if (arg1 
== NULL
) SWIG_fail
; 
13106         arg2 
= wxString_in_helper(obj1
); 
13107         if (arg2 
== NULL
) SWIG_fail
; 
13112             arg3 
= wxString_in_helper(obj2
); 
13113             if (arg3 
== NULL
) SWIG_fail
; 
13118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13119         result 
= FileType_ExpandCommand((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
13121         wxPyEndAllowThreads(__tstate
); 
13122         if (PyErr_Occurred()) SWIG_fail
; 
13126         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13128         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13161 static PyObject 
* FileType_swigregister(PyObject 
*self
, PyObject 
*args
) { 
13163     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13164     SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
); 
13166     return Py_BuildValue((char *)""); 
13168 static int _wrap_TheMimeTypesManager_set(PyObject 
*_val
) { 
13169     PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only."); 
13174 static PyObject 
*_wrap_TheMimeTypesManager_get() { 
13177     pyobj 
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0); 
13182 static PyObject 
*_wrap_MimeTypesManager_IsOfType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13183     PyObject 
*resultobj
; 
13184     wxString 
*arg1 
= 0 ; 
13185     wxString 
*arg2 
= 0 ; 
13187     bool temp1 
= False 
; 
13188     bool temp2 
= False 
; 
13189     PyObject 
* obj0 
= 0 ; 
13190     PyObject 
* obj1 
= 0 ; 
13191     char *kwnames
[] = { 
13192         (char *) "mimeType",(char *) "wildcard", NULL 
 
13195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13197         arg1 
= wxString_in_helper(obj0
); 
13198         if (arg1 
== NULL
) SWIG_fail
; 
13202         arg2 
= wxString_in_helper(obj1
); 
13203         if (arg2 
== NULL
) SWIG_fail
; 
13207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13208         result 
= (bool)wxMimeTypesManager::IsOfType((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
13210         wxPyEndAllowThreads(__tstate
); 
13211         if (PyErr_Occurred()) SWIG_fail
; 
13214         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13238 static PyObject 
*_wrap_new_MimeTypesManager(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13239     PyObject 
*resultobj
; 
13240     wxMimeTypesManager 
*result
; 
13241     char *kwnames
[] = { 
13245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
; 
13247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13248         result 
= (wxMimeTypesManager 
*)new wxMimeTypesManager(); 
13250         wxPyEndAllowThreads(__tstate
); 
13251         if (PyErr_Occurred()) SWIG_fail
; 
13253     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1); 
13260 static PyObject 
*_wrap_MimeTypesManager_Initialize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13261     PyObject 
*resultobj
; 
13262     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13263     int arg2 
= (int) wxMAILCAP_ALL 
; 
13264     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13265     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13266     bool temp3 
= False 
; 
13267     PyObject 
* obj0 
= 0 ; 
13268     PyObject 
* obj1 
= 0 ; 
13269     PyObject 
* obj2 
= 0 ; 
13270     char *kwnames
[] = { 
13271         (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL 
 
13274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13275     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13276     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13278         arg2 
= (int) SWIG_AsInt(obj1
);  
13279         if (PyErr_Occurred()) SWIG_fail
; 
13283             arg3 
= wxString_in_helper(obj2
); 
13284             if (arg3 
== NULL
) SWIG_fail
; 
13289         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13290         (arg1
)->Initialize(arg2
,(wxString 
const &)*arg3
); 
13292         wxPyEndAllowThreads(__tstate
); 
13293         if (PyErr_Occurred()) SWIG_fail
; 
13295     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13310 static PyObject 
*_wrap_MimeTypesManager_ClearData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13311     PyObject 
*resultobj
; 
13312     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13313     PyObject 
* obj0 
= 0 ; 
13314     char *kwnames
[] = { 
13315         (char *) "self", NULL 
 
13318     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
; 
13319     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13320     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13323         (arg1
)->ClearData(); 
13325         wxPyEndAllowThreads(__tstate
); 
13326         if (PyErr_Occurred()) SWIG_fail
; 
13328     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13335 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13336     PyObject 
*resultobj
; 
13337     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13338     wxString 
*arg2 
= 0 ; 
13339     wxFileType 
*result
; 
13340     bool temp2 
= False 
; 
13341     PyObject 
* obj0 
= 0 ; 
13342     PyObject 
* obj1 
= 0 ; 
13343     char *kwnames
[] = { 
13344         (char *) "self",(char *) "ext", NULL 
 
13347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
; 
13348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13351         arg2 
= wxString_in_helper(obj1
); 
13352         if (arg2 
== NULL
) SWIG_fail
; 
13356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13357         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromExtension((wxString 
const &)*arg2
); 
13359         wxPyEndAllowThreads(__tstate
); 
13360         if (PyErr_Occurred()) SWIG_fail
; 
13362     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13377 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13378     PyObject 
*resultobj
; 
13379     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13380     wxString 
*arg2 
= 0 ; 
13381     wxFileType 
*result
; 
13382     bool temp2 
= False 
; 
13383     PyObject 
* obj0 
= 0 ; 
13384     PyObject 
* obj1 
= 0 ; 
13385     char *kwnames
[] = { 
13386         (char *) "self",(char *) "mimeType", NULL 
 
13389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13393         arg2 
= wxString_in_helper(obj1
); 
13394         if (arg2 
== NULL
) SWIG_fail
; 
13398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13399         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromMimeType((wxString 
const &)*arg2
); 
13401         wxPyEndAllowThreads(__tstate
); 
13402         if (PyErr_Occurred()) SWIG_fail
; 
13404     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13419 static PyObject 
*_wrap_MimeTypesManager_ReadMailcap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13420     PyObject 
*resultobj
; 
13421     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13422     wxString 
*arg2 
= 0 ; 
13423     bool arg3 
= (bool) False 
; 
13425     bool temp2 
= False 
; 
13426     PyObject 
* obj0 
= 0 ; 
13427     PyObject 
* obj1 
= 0 ; 
13428     PyObject 
* obj2 
= 0 ; 
13429     char *kwnames
[] = { 
13430         (char *) "self",(char *) "filename",(char *) "fallback", NULL 
 
13433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13434     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13437         arg2 
= wxString_in_helper(obj1
); 
13438         if (arg2 
== NULL
) SWIG_fail
; 
13442         arg3 
= (bool) SWIG_AsBool(obj2
);  
13443         if (PyErr_Occurred()) SWIG_fail
; 
13446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13447         result 
= (bool)(arg1
)->ReadMailcap((wxString 
const &)*arg2
,arg3
); 
13449         wxPyEndAllowThreads(__tstate
); 
13450         if (PyErr_Occurred()) SWIG_fail
; 
13453         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13469 static PyObject 
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13470     PyObject 
*resultobj
; 
13471     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13472     wxString 
*arg2 
= 0 ; 
13474     bool temp2 
= False 
; 
13475     PyObject 
* obj0 
= 0 ; 
13476     PyObject 
* obj1 
= 0 ; 
13477     char *kwnames
[] = { 
13478         (char *) "self",(char *) "filename", NULL 
 
13481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
; 
13482     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13485         arg2 
= wxString_in_helper(obj1
); 
13486         if (arg2 
== NULL
) SWIG_fail
; 
13490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13491         result 
= (bool)(arg1
)->ReadMimeTypes((wxString 
const &)*arg2
); 
13493         wxPyEndAllowThreads(__tstate
); 
13494         if (PyErr_Occurred()) SWIG_fail
; 
13497         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13513 static PyObject 
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13514     PyObject 
*resultobj
; 
13515     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13517     PyObject 
* obj0 
= 0 ; 
13518     char *kwnames
[] = { 
13519         (char *) "self", NULL 
 
13522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
; 
13523     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13524     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13527         result 
= (PyObject 
*)wxMimeTypesManager_EnumAllFileTypes(arg1
); 
13529         wxPyEndAllowThreads(__tstate
); 
13530         if (PyErr_Occurred()) SWIG_fail
; 
13532     resultobj 
= result
; 
13539 static PyObject 
*_wrap_MimeTypesManager_AddFallback(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13540     PyObject 
*resultobj
; 
13541     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13542     wxFileTypeInfo 
*arg2 
= 0 ; 
13543     PyObject 
* obj0 
= 0 ; 
13544     PyObject 
* obj1 
= 0 ; 
13545     char *kwnames
[] = { 
13546         (char *) "self",(char *) "ft", NULL 
 
13549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
; 
13550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13552     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13555     if (arg2 
== NULL
) { 
13556         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13560         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13561         (arg1
)->AddFallback((wxFileTypeInfo 
const &)*arg2
); 
13563         wxPyEndAllowThreads(__tstate
); 
13564         if (PyErr_Occurred()) SWIG_fail
; 
13566     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13573 static PyObject 
*_wrap_MimeTypesManager_Associate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13574     PyObject 
*resultobj
; 
13575     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13576     wxFileTypeInfo 
*arg2 
= 0 ; 
13577     wxFileType 
*result
; 
13578     PyObject 
* obj0 
= 0 ; 
13579     PyObject 
* obj1 
= 0 ; 
13580     char *kwnames
[] = { 
13581         (char *) "self",(char *) "ftInfo", NULL 
 
13584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13585     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13587     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13590     if (arg2 
== NULL
) { 
13591         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13596         result 
= (wxFileType 
*)(arg1
)->Associate((wxFileTypeInfo 
const &)*arg2
); 
13598         wxPyEndAllowThreads(__tstate
); 
13599         if (PyErr_Occurred()) SWIG_fail
; 
13601     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13608 static PyObject 
*_wrap_MimeTypesManager_Unassociate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13609     PyObject 
*resultobj
; 
13610     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13611     wxFileType 
*arg2 
= (wxFileType 
*) 0 ; 
13613     PyObject 
* obj0 
= 0 ; 
13614     PyObject 
* obj1 
= 0 ; 
13615     char *kwnames
[] = { 
13616         (char *) "self",(char *) "ft", NULL 
 
13619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13620     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13621     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13622     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
, 
13623     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13626         result 
= (bool)(arg1
)->Unassociate(arg2
); 
13628         wxPyEndAllowThreads(__tstate
); 
13629         if (PyErr_Occurred()) SWIG_fail
; 
13632         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13640 static PyObject 
*_wrap_delete_MimeTypesManager(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13641     PyObject 
*resultobj
; 
13642     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13643     PyObject 
* obj0 
= 0 ; 
13644     char *kwnames
[] = { 
13645         (char *) "self", NULL 
 
13648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
; 
13649     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13650     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13655         wxPyEndAllowThreads(__tstate
); 
13656         if (PyErr_Occurred()) SWIG_fail
; 
13658     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13665 static PyObject 
* MimeTypesManager_swigregister(PyObject 
*self
, PyObject 
*args
) { 
13667     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13668     SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
); 
13670     return Py_BuildValue((char *)""); 
13672 static int _wrap_ART_TOOLBAR_set(PyObject 
*_val
) { 
13673     PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only."); 
13678 static PyObject 
*_wrap_ART_TOOLBAR_get() { 
13683         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13685         pyobj 
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13692 static int _wrap_ART_MENU_set(PyObject 
*_val
) { 
13693     PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only."); 
13698 static PyObject 
*_wrap_ART_MENU_get() { 
13703         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13705         pyobj 
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13712 static int _wrap_ART_FRAME_ICON_set(PyObject 
*_val
) { 
13713     PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only."); 
13718 static PyObject 
*_wrap_ART_FRAME_ICON_get() { 
13723         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13725         pyobj 
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13732 static int _wrap_ART_CMN_DIALOG_set(PyObject 
*_val
) { 
13733     PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only."); 
13738 static PyObject 
*_wrap_ART_CMN_DIALOG_get() { 
13743         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
13745         pyobj 
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
13752 static int _wrap_ART_HELP_BROWSER_set(PyObject 
*_val
) { 
13753     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only."); 
13758 static PyObject 
*_wrap_ART_HELP_BROWSER_get() { 
13763         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
13765         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
13772 static int _wrap_ART_MESSAGE_BOX_set(PyObject 
*_val
) { 
13773     PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only."); 
13778 static PyObject 
*_wrap_ART_MESSAGE_BOX_get() { 
13783         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
13785         pyobj 
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
13792 static int _wrap_ART_BUTTON_set(PyObject 
*_val
) { 
13793     PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only."); 
13798 static PyObject 
*_wrap_ART_BUTTON_get() { 
13803         pyobj 
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len()); 
13805         pyobj 
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len()); 
13812 static int _wrap_ART_OTHER_set(PyObject 
*_val
) { 
13813     PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only."); 
13818 static PyObject 
*_wrap_ART_OTHER_get() { 
13823         pyobj 
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
13825         pyobj 
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
13832 static int _wrap_ART_ADD_BOOKMARK_set(PyObject 
*_val
) { 
13833     PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only."); 
13838 static PyObject 
*_wrap_ART_ADD_BOOKMARK_get() { 
13843         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
13845         pyobj 
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
13852 static int _wrap_ART_DEL_BOOKMARK_set(PyObject 
*_val
) { 
13853     PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only."); 
13858 static PyObject 
*_wrap_ART_DEL_BOOKMARK_get() { 
13863         pyobj 
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
13865         pyobj 
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
13872 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject 
*_val
) { 
13873     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only."); 
13878 static PyObject 
*_wrap_ART_HELP_SIDE_PANEL_get() { 
13883         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
13885         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
13892 static int _wrap_ART_HELP_SETTINGS_set(PyObject 
*_val
) { 
13893     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only."); 
13898 static PyObject 
*_wrap_ART_HELP_SETTINGS_get() { 
13903         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
13905         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
13912 static int _wrap_ART_HELP_BOOK_set(PyObject 
*_val
) { 
13913     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only."); 
13918 static PyObject 
*_wrap_ART_HELP_BOOK_get() { 
13923         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
13925         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
13932 static int _wrap_ART_HELP_FOLDER_set(PyObject 
*_val
) { 
13933     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only."); 
13938 static PyObject 
*_wrap_ART_HELP_FOLDER_get() { 
13943         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
13945         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
13952 static int _wrap_ART_HELP_PAGE_set(PyObject 
*_val
) { 
13953     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only."); 
13958 static PyObject 
*_wrap_ART_HELP_PAGE_get() { 
13963         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
13965         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
13972 static int _wrap_ART_GO_BACK_set(PyObject 
*_val
) { 
13973     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only."); 
13978 static PyObject 
*_wrap_ART_GO_BACK_get() { 
13983         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
13985         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
13992 static int _wrap_ART_GO_FORWARD_set(PyObject 
*_val
) { 
13993     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only."); 
13998 static PyObject 
*_wrap_ART_GO_FORWARD_get() { 
14003         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
14005         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
14012 static int _wrap_ART_GO_UP_set(PyObject 
*_val
) { 
14013     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only."); 
14018 static PyObject 
*_wrap_ART_GO_UP_get() { 
14023         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
14025         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
14032 static int _wrap_ART_GO_DOWN_set(PyObject 
*_val
) { 
14033     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only."); 
14038 static PyObject 
*_wrap_ART_GO_DOWN_get() { 
14043         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
14045         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
14052 static int _wrap_ART_GO_TO_PARENT_set(PyObject 
*_val
) { 
14053     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only."); 
14058 static PyObject 
*_wrap_ART_GO_TO_PARENT_get() { 
14063         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
14065         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
14072 static int _wrap_ART_GO_HOME_set(PyObject 
*_val
) { 
14073     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only."); 
14078 static PyObject 
*_wrap_ART_GO_HOME_get() { 
14083         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
14085         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
14092 static int _wrap_ART_FILE_OPEN_set(PyObject 
*_val
) { 
14093     PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only."); 
14098 static PyObject 
*_wrap_ART_FILE_OPEN_get() { 
14103         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
14105         pyobj 
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
14112 static int _wrap_ART_PRINT_set(PyObject 
*_val
) { 
14113     PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only."); 
14118 static PyObject 
*_wrap_ART_PRINT_get() { 
14123         pyobj 
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
14125         pyobj 
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
14132 static int _wrap_ART_HELP_set(PyObject 
*_val
) { 
14133     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only."); 
14138 static PyObject 
*_wrap_ART_HELP_get() { 
14143         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
14145         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
14152 static int _wrap_ART_TIP_set(PyObject 
*_val
) { 
14153     PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only."); 
14158 static PyObject 
*_wrap_ART_TIP_get() { 
14163         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14165         pyobj 
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14172 static int _wrap_ART_REPORT_VIEW_set(PyObject 
*_val
) { 
14173     PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only."); 
14178 static PyObject 
*_wrap_ART_REPORT_VIEW_get() { 
14183         pyobj 
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14185         pyobj 
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14192 static int _wrap_ART_LIST_VIEW_set(PyObject 
*_val
) { 
14193     PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only."); 
14198 static PyObject 
*_wrap_ART_LIST_VIEW_get() { 
14203         pyobj 
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14205         pyobj 
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14212 static int _wrap_ART_NEW_DIR_set(PyObject 
*_val
) { 
14213     PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only."); 
14218 static PyObject 
*_wrap_ART_NEW_DIR_get() { 
14223         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14225         pyobj 
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14232 static int _wrap_ART_FOLDER_set(PyObject 
*_val
) { 
14233     PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only."); 
14238 static PyObject 
*_wrap_ART_FOLDER_get() { 
14243         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14245         pyobj 
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14252 static int _wrap_ART_GO_DIR_UP_set(PyObject 
*_val
) { 
14253     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only."); 
14258 static PyObject 
*_wrap_ART_GO_DIR_UP_get() { 
14263         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14265         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14272 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject 
*_val
) { 
14273     PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only."); 
14278 static PyObject 
*_wrap_ART_EXECUTABLE_FILE_get() { 
14283         pyobj 
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14285         pyobj 
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14292 static int _wrap_ART_NORMAL_FILE_set(PyObject 
*_val
) { 
14293     PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only."); 
14298 static PyObject 
*_wrap_ART_NORMAL_FILE_get() { 
14303         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14305         pyobj 
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14312 static int _wrap_ART_TICK_MARK_set(PyObject 
*_val
) { 
14313     PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only."); 
14318 static PyObject 
*_wrap_ART_TICK_MARK_get() { 
14323         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14325         pyobj 
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14332 static int _wrap_ART_CROSS_MARK_set(PyObject 
*_val
) { 
14333     PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only."); 
14338 static PyObject 
*_wrap_ART_CROSS_MARK_get() { 
14343         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14345         pyobj 
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14352 static int _wrap_ART_ERROR_set(PyObject 
*_val
) { 
14353     PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only."); 
14358 static PyObject 
*_wrap_ART_ERROR_get() { 
14363         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14365         pyobj 
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14372 static int _wrap_ART_QUESTION_set(PyObject 
*_val
) { 
14373     PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only."); 
14378 static PyObject 
*_wrap_ART_QUESTION_get() { 
14383         pyobj 
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14385         pyobj 
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14392 static int _wrap_ART_WARNING_set(PyObject 
*_val
) { 
14393     PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only."); 
14398 static PyObject 
*_wrap_ART_WARNING_get() { 
14403         pyobj 
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14405         pyobj 
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14412 static int _wrap_ART_INFORMATION_set(PyObject 
*_val
) { 
14413     PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only."); 
14418 static PyObject 
*_wrap_ART_INFORMATION_get() { 
14423         pyobj 
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14425         pyobj 
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14432 static int _wrap_ART_MISSING_IMAGE_set(PyObject 
*_val
) { 
14433     PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only."); 
14438 static PyObject 
*_wrap_ART_MISSING_IMAGE_get() { 
14443         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14445         pyobj 
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14452 static PyObject 
*_wrap_new_ArtProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14453     PyObject 
*resultobj
; 
14454     wxPyArtProvider 
*result
; 
14455     char *kwnames
[] = { 
14459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
; 
14461         if (!wxPyCheckForApp()) SWIG_fail
; 
14462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14463         result 
= (wxPyArtProvider 
*)new wxPyArtProvider(); 
14465         wxPyEndAllowThreads(__tstate
); 
14466         if (PyErr_Occurred()) SWIG_fail
; 
14468     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1); 
14475 static PyObject 
*_wrap_ArtProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14476     PyObject 
*resultobj
; 
14477     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14478     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14479     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14480     PyObject 
* obj0 
= 0 ; 
14481     PyObject 
* obj1 
= 0 ; 
14482     PyObject 
* obj2 
= 0 ; 
14483     char *kwnames
[] = { 
14484         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
14487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14494         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
14496         wxPyEndAllowThreads(__tstate
); 
14497         if (PyErr_Occurred()) SWIG_fail
; 
14499     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14506 static PyObject 
*_wrap_ArtProvider_PushProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14507     PyObject 
*resultobj
; 
14508     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14509     PyObject 
* obj0 
= 0 ; 
14510     char *kwnames
[] = { 
14511         (char *) "provider", NULL 
 
14514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
; 
14515     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14519         wxPyArtProvider::PushProvider(arg1
); 
14521         wxPyEndAllowThreads(__tstate
); 
14522         if (PyErr_Occurred()) SWIG_fail
; 
14524     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14531 static PyObject 
*_wrap_ArtProvider_PopProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14532     PyObject 
*resultobj
; 
14534     char *kwnames
[] = { 
14538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
; 
14540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14541         result 
= (bool)wxPyArtProvider::PopProvider(); 
14543         wxPyEndAllowThreads(__tstate
); 
14544         if (PyErr_Occurred()) SWIG_fail
; 
14547         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14555 static PyObject 
*_wrap_ArtProvider_RemoveProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14556     PyObject 
*resultobj
; 
14557     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14559     PyObject 
* obj0 
= 0 ; 
14560     char *kwnames
[] = { 
14561         (char *) "provider", NULL 
 
14564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
; 
14565     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14566     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14569         result 
= (bool)wxPyArtProvider::RemoveProvider(arg1
); 
14571         wxPyEndAllowThreads(__tstate
); 
14572         if (PyErr_Occurred()) SWIG_fail
; 
14575         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14583 static PyObject 
*_wrap_ArtProvider_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14584     PyObject 
*resultobj
; 
14585     wxString 
*arg1 
= 0 ; 
14586     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14587     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14588     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14589     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14591     bool temp1 
= False 
; 
14592     bool temp2 
= False 
; 
14594     PyObject 
* obj0 
= 0 ; 
14595     PyObject 
* obj1 
= 0 ; 
14596     PyObject 
* obj2 
= 0 ; 
14597     char *kwnames
[] = { 
14598         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14603         arg1 
= wxString_in_helper(obj0
); 
14604         if (arg1 
== NULL
) SWIG_fail
; 
14609             arg2 
= wxString_in_helper(obj1
); 
14610             if (arg2 
== NULL
) SWIG_fail
; 
14617             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14621         if (!wxPyCheckForApp()) SWIG_fail
; 
14622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14623         result 
= wxPyArtProvider::GetBitmap((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14625         wxPyEndAllowThreads(__tstate
); 
14626         if (PyErr_Occurred()) SWIG_fail
; 
14629         wxBitmap 
* resultptr
; 
14630         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
14631         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
14655 static PyObject 
*_wrap_ArtProvider_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14656     PyObject 
*resultobj
; 
14657     wxString 
*arg1 
= 0 ; 
14658     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14659     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14660     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14661     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14663     bool temp1 
= False 
; 
14664     bool temp2 
= False 
; 
14666     PyObject 
* obj0 
= 0 ; 
14667     PyObject 
* obj1 
= 0 ; 
14668     PyObject 
* obj2 
= 0 ; 
14669     char *kwnames
[] = { 
14670         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14675         arg1 
= wxString_in_helper(obj0
); 
14676         if (arg1 
== NULL
) SWIG_fail
; 
14681             arg2 
= wxString_in_helper(obj1
); 
14682             if (arg2 
== NULL
) SWIG_fail
; 
14689             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14693         if (!wxPyCheckForApp()) SWIG_fail
; 
14694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14695         result 
= wxPyArtProvider::GetIcon((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14697         wxPyEndAllowThreads(__tstate
); 
14698         if (PyErr_Occurred()) SWIG_fail
; 
14701         wxIcon 
* resultptr
; 
14702         resultptr 
= new wxIcon((wxIcon 
&) result
); 
14703         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
14727 static PyObject 
*_wrap_ArtProvider_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14728     PyObject 
*resultobj
; 
14729     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14730     PyObject 
* obj0 
= 0 ; 
14731     char *kwnames
[] = { 
14732         (char *) "self", NULL 
 
14735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
; 
14736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14740         wxPyArtProvider_Destroy(arg1
); 
14742         wxPyEndAllowThreads(__tstate
); 
14743         if (PyErr_Occurred()) SWIG_fail
; 
14745     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14752 static PyObject 
* ArtProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14754     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14755     SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
); 
14757     return Py_BuildValue((char *)""); 
14759 static PyObject 
*_wrap_delete_ConfigBase(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14760     PyObject 
*resultobj
; 
14761     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14762     PyObject 
* obj0 
= 0 ; 
14763     char *kwnames
[] = { 
14764         (char *) "self", NULL 
 
14767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
; 
14768     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14769     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14774         wxPyEndAllowThreads(__tstate
); 
14775         if (PyErr_Occurred()) SWIG_fail
; 
14777     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14784 static PyObject 
*_wrap_ConfigBase_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14785     PyObject 
*resultobj
; 
14786     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14787     wxConfigBase 
*result
; 
14788     PyObject 
* obj0 
= 0 ; 
14789     char *kwnames
[] = { 
14790         (char *) "config", NULL 
 
14793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
; 
14794     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14795     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14798         result 
= (wxConfigBase 
*)wxConfigBase::Set(arg1
); 
14800         wxPyEndAllowThreads(__tstate
); 
14801         if (PyErr_Occurred()) SWIG_fail
; 
14803     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14810 static PyObject 
*_wrap_ConfigBase_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14811     PyObject 
*resultobj
; 
14812     bool arg1 
= (bool) True 
; 
14813     wxConfigBase 
*result
; 
14814     PyObject 
* obj0 
= 0 ; 
14815     char *kwnames
[] = { 
14816         (char *) "createOnDemand", NULL 
 
14819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
; 
14821         arg1 
= (bool) SWIG_AsBool(obj0
);  
14822         if (PyErr_Occurred()) SWIG_fail
; 
14825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14826         result 
= (wxConfigBase 
*)wxConfigBase::Get(arg1
); 
14828         wxPyEndAllowThreads(__tstate
); 
14829         if (PyErr_Occurred()) SWIG_fail
; 
14831     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14838 static PyObject 
*_wrap_ConfigBase_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14839     PyObject 
*resultobj
; 
14840     wxConfigBase 
*result
; 
14841     char *kwnames
[] = { 
14845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
; 
14847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14848         result 
= (wxConfigBase 
*)wxConfigBase::Create(); 
14850         wxPyEndAllowThreads(__tstate
); 
14851         if (PyErr_Occurred()) SWIG_fail
; 
14853     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14860 static PyObject 
*_wrap_ConfigBase_DontCreateOnDemand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14861     PyObject 
*resultobj
; 
14862     char *kwnames
[] = { 
14866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
; 
14868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14869         wxConfigBase::DontCreateOnDemand(); 
14871         wxPyEndAllowThreads(__tstate
); 
14872         if (PyErr_Occurred()) SWIG_fail
; 
14874     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14881 static PyObject 
*_wrap_ConfigBase_SetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14882     PyObject 
*resultobj
; 
14883     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14884     wxString 
*arg2 
= 0 ; 
14885     bool temp2 
= False 
; 
14886     PyObject 
* obj0 
= 0 ; 
14887     PyObject 
* obj1 
= 0 ; 
14888     char *kwnames
[] = { 
14889         (char *) "self",(char *) "path", NULL 
 
14892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
14893     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14894     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14896         arg2 
= wxString_in_helper(obj1
); 
14897         if (arg2 
== NULL
) SWIG_fail
; 
14901         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14902         (arg1
)->SetPath((wxString 
const &)*arg2
); 
14904         wxPyEndAllowThreads(__tstate
); 
14905         if (PyErr_Occurred()) SWIG_fail
; 
14907     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14922 static PyObject 
*_wrap_ConfigBase_GetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14923     PyObject 
*resultobj
; 
14924     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14926     PyObject 
* obj0 
= 0 ; 
14927     char *kwnames
[] = { 
14928         (char *) "self", NULL 
 
14931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
; 
14932     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14933     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14937             wxString 
const &_result_ref 
= ((wxConfigBase 
const *)arg1
)->GetPath(); 
14938             result 
= (wxString 
*) &_result_ref
; 
14941         wxPyEndAllowThreads(__tstate
); 
14942         if (PyErr_Occurred()) SWIG_fail
; 
14946         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
14948         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
14957 static PyObject 
*_wrap_ConfigBase_GetFirstGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14958     PyObject 
*resultobj
; 
14959     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14961     PyObject 
* obj0 
= 0 ; 
14962     char *kwnames
[] = { 
14963         (char *) "self", NULL 
 
14966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
; 
14967     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14970         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14971         result 
= (PyObject 
*)wxConfigBase_GetFirstGroup(arg1
); 
14973         wxPyEndAllowThreads(__tstate
); 
14974         if (PyErr_Occurred()) SWIG_fail
; 
14976     resultobj 
= result
; 
14983 static PyObject 
*_wrap_ConfigBase_GetNextGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14984     PyObject 
*resultobj
; 
14985     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14988     PyObject 
* obj0 
= 0 ; 
14989     PyObject 
* obj1 
= 0 ; 
14990     char *kwnames
[] = { 
14991         (char *) "self",(char *) "index", NULL 
 
14994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
14995     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14996     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14997     arg2 
= (long) SWIG_AsLong(obj1
);  
14998     if (PyErr_Occurred()) SWIG_fail
; 
15000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15001         result 
= (PyObject 
*)wxConfigBase_GetNextGroup(arg1
,arg2
); 
15003         wxPyEndAllowThreads(__tstate
); 
15004         if (PyErr_Occurred()) SWIG_fail
; 
15006     resultobj 
= result
; 
15013 static PyObject 
*_wrap_ConfigBase_GetFirstEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15014     PyObject 
*resultobj
; 
15015     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15017     PyObject 
* obj0 
= 0 ; 
15018     char *kwnames
[] = { 
15019         (char *) "self", NULL 
 
15022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
; 
15023     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15027         result 
= (PyObject 
*)wxConfigBase_GetFirstEntry(arg1
); 
15029         wxPyEndAllowThreads(__tstate
); 
15030         if (PyErr_Occurred()) SWIG_fail
; 
15032     resultobj 
= result
; 
15039 static PyObject 
*_wrap_ConfigBase_GetNextEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15040     PyObject 
*resultobj
; 
15041     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15044     PyObject 
* obj0 
= 0 ; 
15045     PyObject 
* obj1 
= 0 ; 
15046     char *kwnames
[] = { 
15047         (char *) "self",(char *) "index", NULL 
 
15050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
15051     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15052     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15053     arg2 
= (long) SWIG_AsLong(obj1
);  
15054     if (PyErr_Occurred()) SWIG_fail
; 
15056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15057         result 
= (PyObject 
*)wxConfigBase_GetNextEntry(arg1
,arg2
); 
15059         wxPyEndAllowThreads(__tstate
); 
15060         if (PyErr_Occurred()) SWIG_fail
; 
15062     resultobj 
= result
; 
15069 static PyObject 
*_wrap_ConfigBase_GetNumberOfEntries(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15070     PyObject 
*resultobj
; 
15071     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15072     bool arg2 
= (bool) False 
; 
15074     PyObject 
* obj0 
= 0 ; 
15075     PyObject 
* obj1 
= 0 ; 
15076     char *kwnames
[] = { 
15077         (char *) "self",(char *) "recursive", NULL 
 
15080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
; 
15081     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15084         arg2 
= (bool) SWIG_AsBool(obj1
);  
15085         if (PyErr_Occurred()) SWIG_fail
; 
15088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15089         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfEntries(arg2
); 
15091         wxPyEndAllowThreads(__tstate
); 
15092         if (PyErr_Occurred()) SWIG_fail
; 
15094     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
15101 static PyObject 
*_wrap_ConfigBase_GetNumberOfGroups(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15102     PyObject 
*resultobj
; 
15103     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15104     bool arg2 
= (bool) False 
; 
15106     PyObject 
* obj0 
= 0 ; 
15107     PyObject 
* obj1 
= 0 ; 
15108     char *kwnames
[] = { 
15109         (char *) "self",(char *) "recursive", NULL 
 
15112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
; 
15113     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15114     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15116         arg2 
= (bool) SWIG_AsBool(obj1
);  
15117         if (PyErr_Occurred()) SWIG_fail
; 
15120         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15121         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfGroups(arg2
); 
15123         wxPyEndAllowThreads(__tstate
); 
15124         if (PyErr_Occurred()) SWIG_fail
; 
15126     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
15133 static PyObject 
*_wrap_ConfigBase_HasGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15134     PyObject 
*resultobj
; 
15135     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15136     wxString 
*arg2 
= 0 ; 
15138     bool temp2 
= False 
; 
15139     PyObject 
* obj0 
= 0 ; 
15140     PyObject 
* obj1 
= 0 ; 
15141     char *kwnames
[] = { 
15142         (char *) "self",(char *) "name", NULL 
 
15145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
15146     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15147     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15149         arg2 
= wxString_in_helper(obj1
); 
15150         if (arg2 
== NULL
) SWIG_fail
; 
15154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15155         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasGroup((wxString 
const &)*arg2
); 
15157         wxPyEndAllowThreads(__tstate
); 
15158         if (PyErr_Occurred()) SWIG_fail
; 
15161         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15177 static PyObject 
*_wrap_ConfigBase_HasEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15178     PyObject 
*resultobj
; 
15179     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15180     wxString 
*arg2 
= 0 ; 
15182     bool temp2 
= False 
; 
15183     PyObject 
* obj0 
= 0 ; 
15184     PyObject 
* obj1 
= 0 ; 
15185     char *kwnames
[] = { 
15186         (char *) "self",(char *) "name", NULL 
 
15189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
15190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15193         arg2 
= wxString_in_helper(obj1
); 
15194         if (arg2 
== NULL
) SWIG_fail
; 
15198         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15199         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasEntry((wxString 
const &)*arg2
); 
15201         wxPyEndAllowThreads(__tstate
); 
15202         if (PyErr_Occurred()) SWIG_fail
; 
15205         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15221 static PyObject 
*_wrap_ConfigBase_Exists(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15222     PyObject 
*resultobj
; 
15223     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15224     wxString 
*arg2 
= 0 ; 
15226     bool temp2 
= False 
; 
15227     PyObject 
* obj0 
= 0 ; 
15228     PyObject 
* obj1 
= 0 ; 
15229     char *kwnames
[] = { 
15230         (char *) "self",(char *) "name", NULL 
 
15233     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
; 
15234     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15235     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15237         arg2 
= wxString_in_helper(obj1
); 
15238         if (arg2 
== NULL
) SWIG_fail
; 
15242         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15243         result 
= (bool)((wxConfigBase 
const *)arg1
)->Exists((wxString 
const &)*arg2
); 
15245         wxPyEndAllowThreads(__tstate
); 
15246         if (PyErr_Occurred()) SWIG_fail
; 
15249         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15265 static PyObject 
*_wrap_ConfigBase_GetEntryType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15266     PyObject 
*resultobj
; 
15267     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15268     wxString 
*arg2 
= 0 ; 
15270     bool temp2 
= False 
; 
15271     PyObject 
* obj0 
= 0 ; 
15272     PyObject 
* obj1 
= 0 ; 
15273     char *kwnames
[] = { 
15274         (char *) "self",(char *) "name", NULL 
 
15277     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
; 
15278     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15279     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15281         arg2 
= wxString_in_helper(obj1
); 
15282         if (arg2 
== NULL
) SWIG_fail
; 
15286         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15287         result 
= (int)((wxConfigBase 
const *)arg1
)->GetEntryType((wxString 
const &)*arg2
); 
15289         wxPyEndAllowThreads(__tstate
); 
15290         if (PyErr_Occurred()) SWIG_fail
; 
15292     resultobj 
= SWIG_FromInt((int)result
); 
15307 static PyObject 
*_wrap_ConfigBase_Read(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15308     PyObject 
*resultobj
; 
15309     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15310     wxString 
*arg2 
= 0 ; 
15311     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15312     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15314     bool temp2 
= False 
; 
15315     bool temp3 
= False 
; 
15316     PyObject 
* obj0 
= 0 ; 
15317     PyObject 
* obj1 
= 0 ; 
15318     PyObject 
* obj2 
= 0 ; 
15319     char *kwnames
[] = { 
15320         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15324     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15325     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15327         arg2 
= wxString_in_helper(obj1
); 
15328         if (arg2 
== NULL
) SWIG_fail
; 
15333             arg3 
= wxString_in_helper(obj2
); 
15334             if (arg3 
== NULL
) SWIG_fail
; 
15339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15340         result 
= (arg1
)->Read((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15342         wxPyEndAllowThreads(__tstate
); 
15343         if (PyErr_Occurred()) SWIG_fail
; 
15347         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15349         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15374 static PyObject 
*_wrap_ConfigBase_ReadInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15375     PyObject 
*resultobj
; 
15376     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15377     wxString 
*arg2 
= 0 ; 
15378     long arg3 
= (long) 0 ; 
15380     bool temp2 
= False 
; 
15381     PyObject 
* obj0 
= 0 ; 
15382     PyObject 
* obj1 
= 0 ; 
15383     PyObject 
* obj2 
= 0 ; 
15384     char *kwnames
[] = { 
15385         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15389     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15392         arg2 
= wxString_in_helper(obj1
); 
15393         if (arg2 
== NULL
) SWIG_fail
; 
15397         arg3 
= (long) SWIG_AsLong(obj2
);  
15398         if (PyErr_Occurred()) SWIG_fail
; 
15401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15402         result 
= (long)wxConfigBase_ReadInt(arg1
,(wxString 
const &)*arg2
,arg3
); 
15404         wxPyEndAllowThreads(__tstate
); 
15405         if (PyErr_Occurred()) SWIG_fail
; 
15407     resultobj 
= SWIG_FromLong((long)result
); 
15422 static PyObject 
*_wrap_ConfigBase_ReadFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15423     PyObject 
*resultobj
; 
15424     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15425     wxString 
*arg2 
= 0 ; 
15426     double arg3 
= (double) 0.0 ; 
15428     bool temp2 
= False 
; 
15429     PyObject 
* obj0 
= 0 ; 
15430     PyObject 
* obj1 
= 0 ; 
15431     PyObject 
* obj2 
= 0 ; 
15432     char *kwnames
[] = { 
15433         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15437     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15438     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15440         arg2 
= wxString_in_helper(obj1
); 
15441         if (arg2 
== NULL
) SWIG_fail
; 
15445         arg3 
= (double) SWIG_AsDouble(obj2
);  
15446         if (PyErr_Occurred()) SWIG_fail
; 
15449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15450         result 
= (double)wxConfigBase_ReadFloat(arg1
,(wxString 
const &)*arg2
,arg3
); 
15452         wxPyEndAllowThreads(__tstate
); 
15453         if (PyErr_Occurred()) SWIG_fail
; 
15455     resultobj 
= SWIG_FromDouble((double)result
); 
15470 static PyObject 
*_wrap_ConfigBase_ReadBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15471     PyObject 
*resultobj
; 
15472     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15473     wxString 
*arg2 
= 0 ; 
15474     bool arg3 
= (bool) False 
; 
15476     bool temp2 
= False 
; 
15477     PyObject 
* obj0 
= 0 ; 
15478     PyObject 
* obj1 
= 0 ; 
15479     PyObject 
* obj2 
= 0 ; 
15480     char *kwnames
[] = { 
15481         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15485     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15486     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15488         arg2 
= wxString_in_helper(obj1
); 
15489         if (arg2 
== NULL
) SWIG_fail
; 
15493         arg3 
= (bool) SWIG_AsBool(obj2
);  
15494         if (PyErr_Occurred()) SWIG_fail
; 
15497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15498         result 
= (bool)wxConfigBase_ReadBool(arg1
,(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_Write(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15521     PyObject 
*resultobj
; 
15522     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15523     wxString 
*arg2 
= 0 ; 
15524     wxString 
*arg3 
= 0 ; 
15526     bool temp2 
= False 
; 
15527     bool temp3 
= False 
; 
15528     PyObject 
* obj0 
= 0 ; 
15529     PyObject 
* obj1 
= 0 ; 
15530     PyObject 
* obj2 
= 0 ; 
15531     char *kwnames
[] = { 
15532         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15536     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15537     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15539         arg2 
= wxString_in_helper(obj1
); 
15540         if (arg2 
== NULL
) SWIG_fail
; 
15544         arg3 
= wxString_in_helper(obj2
); 
15545         if (arg3 
== NULL
) SWIG_fail
; 
15549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15550         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15552         wxPyEndAllowThreads(__tstate
); 
15553         if (PyErr_Occurred()) SWIG_fail
; 
15556         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15580 static PyObject 
*_wrap_ConfigBase_WriteInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15581     PyObject 
*resultobj
; 
15582     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15583     wxString 
*arg2 
= 0 ; 
15586     bool temp2 
= False 
; 
15587     PyObject 
* obj0 
= 0 ; 
15588     PyObject 
* obj1 
= 0 ; 
15589     PyObject 
* obj2 
= 0 ; 
15590     char *kwnames
[] = { 
15591         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15595     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15596     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15598         arg2 
= wxString_in_helper(obj1
); 
15599         if (arg2 
== NULL
) SWIG_fail
; 
15602     arg3 
= (long) SWIG_AsLong(obj2
);  
15603     if (PyErr_Occurred()) SWIG_fail
; 
15605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15606         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15608         wxPyEndAllowThreads(__tstate
); 
15609         if (PyErr_Occurred()) SWIG_fail
; 
15612         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15628 static PyObject 
*_wrap_ConfigBase_WriteFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15629     PyObject 
*resultobj
; 
15630     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15631     wxString 
*arg2 
= 0 ; 
15634     bool temp2 
= False 
; 
15635     PyObject 
* obj0 
= 0 ; 
15636     PyObject 
* obj1 
= 0 ; 
15637     PyObject 
* obj2 
= 0 ; 
15638     char *kwnames
[] = { 
15639         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15643     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15644     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15646         arg2 
= wxString_in_helper(obj1
); 
15647         if (arg2 
== NULL
) SWIG_fail
; 
15650     arg3 
= (double) SWIG_AsDouble(obj2
);  
15651     if (PyErr_Occurred()) SWIG_fail
; 
15653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15654         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15656         wxPyEndAllowThreads(__tstate
); 
15657         if (PyErr_Occurred()) SWIG_fail
; 
15660         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15676 static PyObject 
*_wrap_ConfigBase_WriteBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15677     PyObject 
*resultobj
; 
15678     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15679     wxString 
*arg2 
= 0 ; 
15682     bool temp2 
= False 
; 
15683     PyObject 
* obj0 
= 0 ; 
15684     PyObject 
* obj1 
= 0 ; 
15685     PyObject 
* obj2 
= 0 ; 
15686     char *kwnames
[] = { 
15687         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15691     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15692     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15694         arg2 
= wxString_in_helper(obj1
); 
15695         if (arg2 
== NULL
) SWIG_fail
; 
15698     arg3 
= (bool) SWIG_AsBool(obj2
);  
15699     if (PyErr_Occurred()) SWIG_fail
; 
15701         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15702         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15704         wxPyEndAllowThreads(__tstate
); 
15705         if (PyErr_Occurred()) SWIG_fail
; 
15708         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15724 static PyObject 
*_wrap_ConfigBase_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15725     PyObject 
*resultobj
; 
15726     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15727     bool arg2 
= (bool) False 
; 
15729     PyObject 
* obj0 
= 0 ; 
15730     PyObject 
* obj1 
= 0 ; 
15731     char *kwnames
[] = { 
15732         (char *) "self",(char *) "currentOnly", NULL 
 
15735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
; 
15736     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15737     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15739         arg2 
= (bool) SWIG_AsBool(obj1
);  
15740         if (PyErr_Occurred()) SWIG_fail
; 
15743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15744         result 
= (bool)(arg1
)->Flush(arg2
); 
15746         wxPyEndAllowThreads(__tstate
); 
15747         if (PyErr_Occurred()) SWIG_fail
; 
15750         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15758 static PyObject 
*_wrap_ConfigBase_RenameEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15759     PyObject 
*resultobj
; 
15760     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15761     wxString 
*arg2 
= 0 ; 
15762     wxString 
*arg3 
= 0 ; 
15764     bool temp2 
= False 
; 
15765     bool temp3 
= False 
; 
15766     PyObject 
* obj0 
= 0 ; 
15767     PyObject 
* obj1 
= 0 ; 
15768     PyObject 
* obj2 
= 0 ; 
15769     char *kwnames
[] = { 
15770         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
15773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15774     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15775     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15777         arg2 
= wxString_in_helper(obj1
); 
15778         if (arg2 
== NULL
) SWIG_fail
; 
15782         arg3 
= wxString_in_helper(obj2
); 
15783         if (arg3 
== NULL
) SWIG_fail
; 
15787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15788         result 
= (bool)(arg1
)->RenameEntry((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15790         wxPyEndAllowThreads(__tstate
); 
15791         if (PyErr_Occurred()) SWIG_fail
; 
15794         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15818 static PyObject 
*_wrap_ConfigBase_RenameGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15819     PyObject 
*resultobj
; 
15820     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15821     wxString 
*arg2 
= 0 ; 
15822     wxString 
*arg3 
= 0 ; 
15824     bool temp2 
= False 
; 
15825     bool temp3 
= False 
; 
15826     PyObject 
* obj0 
= 0 ; 
15827     PyObject 
* obj1 
= 0 ; 
15828     PyObject 
* obj2 
= 0 ; 
15829     char *kwnames
[] = { 
15830         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
15833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15834     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15835     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15837         arg2 
= wxString_in_helper(obj1
); 
15838         if (arg2 
== NULL
) SWIG_fail
; 
15842         arg3 
= wxString_in_helper(obj2
); 
15843         if (arg3 
== NULL
) SWIG_fail
; 
15847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15848         result 
= (bool)(arg1
)->RenameGroup((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15850         wxPyEndAllowThreads(__tstate
); 
15851         if (PyErr_Occurred()) SWIG_fail
; 
15854         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15878 static PyObject 
*_wrap_ConfigBase_DeleteEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15879     PyObject 
*resultobj
; 
15880     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15881     wxString 
*arg2 
= 0 ; 
15882     bool arg3 
= (bool) True 
; 
15884     bool temp2 
= False 
; 
15885     PyObject 
* obj0 
= 0 ; 
15886     PyObject 
* obj1 
= 0 ; 
15887     PyObject 
* obj2 
= 0 ; 
15888     char *kwnames
[] = { 
15889         (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL 
 
15892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15893     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15894     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15896         arg2 
= wxString_in_helper(obj1
); 
15897         if (arg2 
== NULL
) SWIG_fail
; 
15901         arg3 
= (bool) SWIG_AsBool(obj2
);  
15902         if (PyErr_Occurred()) SWIG_fail
; 
15905         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15906         result 
= (bool)(arg1
)->DeleteEntry((wxString 
const &)*arg2
,arg3
); 
15908         wxPyEndAllowThreads(__tstate
); 
15909         if (PyErr_Occurred()) SWIG_fail
; 
15912         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15928 static PyObject 
*_wrap_ConfigBase_DeleteGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15929     PyObject 
*resultobj
; 
15930     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15931     wxString 
*arg2 
= 0 ; 
15933     bool temp2 
= False 
; 
15934     PyObject 
* obj0 
= 0 ; 
15935     PyObject 
* obj1 
= 0 ; 
15936     char *kwnames
[] = { 
15937         (char *) "self",(char *) "key", NULL 
 
15940     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
15941     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15942     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15944         arg2 
= wxString_in_helper(obj1
); 
15945         if (arg2 
== NULL
) SWIG_fail
; 
15949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15950         result 
= (bool)(arg1
)->DeleteGroup((wxString 
const &)*arg2
); 
15952         wxPyEndAllowThreads(__tstate
); 
15953         if (PyErr_Occurred()) SWIG_fail
; 
15956         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15972 static PyObject 
*_wrap_ConfigBase_DeleteAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15973     PyObject 
*resultobj
; 
15974     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15976     PyObject 
* obj0 
= 0 ; 
15977     char *kwnames
[] = { 
15978         (char *) "self", NULL 
 
15981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
; 
15982     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15983     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15985         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15986         result 
= (bool)(arg1
)->DeleteAll(); 
15988         wxPyEndAllowThreads(__tstate
); 
15989         if (PyErr_Occurred()) SWIG_fail
; 
15992         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16000 static PyObject 
*_wrap_ConfigBase_SetExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16001     PyObject 
*resultobj
; 
16002     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16003     bool arg2 
= (bool) True 
; 
16004     PyObject 
* obj0 
= 0 ; 
16005     PyObject 
* obj1 
= 0 ; 
16006     char *kwnames
[] = { 
16007         (char *) "self",(char *) "doIt", NULL 
 
16010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
16011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16014         arg2 
= (bool) SWIG_AsBool(obj1
);  
16015         if (PyErr_Occurred()) SWIG_fail
; 
16018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16019         (arg1
)->SetExpandEnvVars(arg2
); 
16021         wxPyEndAllowThreads(__tstate
); 
16022         if (PyErr_Occurred()) SWIG_fail
; 
16024     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16031 static PyObject 
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16032     PyObject 
*resultobj
; 
16033     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16035     PyObject 
* obj0 
= 0 ; 
16036     char *kwnames
[] = { 
16037         (char *) "self", NULL 
 
16040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
; 
16041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16044         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16045         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsExpandingEnvVars(); 
16047         wxPyEndAllowThreads(__tstate
); 
16048         if (PyErr_Occurred()) SWIG_fail
; 
16051         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16059 static PyObject 
*_wrap_ConfigBase_SetRecordDefaults(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16060     PyObject 
*resultobj
; 
16061     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16062     bool arg2 
= (bool) True 
; 
16063     PyObject 
* obj0 
= 0 ; 
16064     PyObject 
* obj1 
= 0 ; 
16065     char *kwnames
[] = { 
16066         (char *) "self",(char *) "doIt", NULL 
 
16069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
; 
16070     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16071     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16073         arg2 
= (bool) SWIG_AsBool(obj1
);  
16074         if (PyErr_Occurred()) SWIG_fail
; 
16077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16078         (arg1
)->SetRecordDefaults(arg2
); 
16080         wxPyEndAllowThreads(__tstate
); 
16081         if (PyErr_Occurred()) SWIG_fail
; 
16083     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16090 static PyObject 
*_wrap_ConfigBase_IsRecordingDefaults(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16091     PyObject 
*resultobj
; 
16092     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16094     PyObject 
* obj0 
= 0 ; 
16095     char *kwnames
[] = { 
16096         (char *) "self", NULL 
 
16099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
; 
16100     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16101     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16104         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsRecordingDefaults(); 
16106         wxPyEndAllowThreads(__tstate
); 
16107         if (PyErr_Occurred()) SWIG_fail
; 
16110         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16118 static PyObject 
*_wrap_ConfigBase_ExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16119     PyObject 
*resultobj
; 
16120     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16121     wxString 
*arg2 
= 0 ; 
16123     bool temp2 
= False 
; 
16124     PyObject 
* obj0 
= 0 ; 
16125     PyObject 
* obj1 
= 0 ; 
16126     char *kwnames
[] = { 
16127         (char *) "self",(char *) "str", NULL 
 
16130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
16131     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16134         arg2 
= wxString_in_helper(obj1
); 
16135         if (arg2 
== NULL
) SWIG_fail
; 
16139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16140         result 
= ((wxConfigBase 
const *)arg1
)->ExpandEnvVars((wxString 
const &)*arg2
); 
16142         wxPyEndAllowThreads(__tstate
); 
16143         if (PyErr_Occurred()) SWIG_fail
; 
16147         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16149         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16166 static PyObject 
*_wrap_ConfigBase_GetAppName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16167     PyObject 
*resultobj
; 
16168     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16170     PyObject 
* obj0 
= 0 ; 
16171     char *kwnames
[] = { 
16172         (char *) "self", NULL 
 
16175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
; 
16176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16180         result 
= ((wxConfigBase 
const *)arg1
)->GetAppName(); 
16182         wxPyEndAllowThreads(__tstate
); 
16183         if (PyErr_Occurred()) SWIG_fail
; 
16187         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16189         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16198 static PyObject 
*_wrap_ConfigBase_GetVendorName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16199     PyObject 
*resultobj
; 
16200     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16202     PyObject 
* obj0 
= 0 ; 
16203     char *kwnames
[] = { 
16204         (char *) "self", NULL 
 
16207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
; 
16208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16212         result 
= ((wxConfigBase 
const *)arg1
)->GetVendorName(); 
16214         wxPyEndAllowThreads(__tstate
); 
16215         if (PyErr_Occurred()) SWIG_fail
; 
16219         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16221         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16230 static PyObject 
*_wrap_ConfigBase_SetAppName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16231     PyObject 
*resultobj
; 
16232     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16233     wxString 
*arg2 
= 0 ; 
16234     bool temp2 
= False 
; 
16235     PyObject 
* obj0 
= 0 ; 
16236     PyObject 
* obj1 
= 0 ; 
16237     char *kwnames
[] = { 
16238         (char *) "self",(char *) "appName", NULL 
 
16241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16245         arg2 
= wxString_in_helper(obj1
); 
16246         if (arg2 
== NULL
) SWIG_fail
; 
16250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16251         (arg1
)->SetAppName((wxString 
const &)*arg2
); 
16253         wxPyEndAllowThreads(__tstate
); 
16254         if (PyErr_Occurred()) SWIG_fail
; 
16256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16271 static PyObject 
*_wrap_ConfigBase_SetVendorName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16272     PyObject 
*resultobj
; 
16273     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16274     wxString 
*arg2 
= 0 ; 
16275     bool temp2 
= False 
; 
16276     PyObject 
* obj0 
= 0 ; 
16277     PyObject 
* obj1 
= 0 ; 
16278     char *kwnames
[] = { 
16279         (char *) "self",(char *) "vendorName", NULL 
 
16282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16283     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16286         arg2 
= wxString_in_helper(obj1
); 
16287         if (arg2 
== NULL
) SWIG_fail
; 
16291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16292         (arg1
)->SetVendorName((wxString 
const &)*arg2
); 
16294         wxPyEndAllowThreads(__tstate
); 
16295         if (PyErr_Occurred()) SWIG_fail
; 
16297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16312 static PyObject 
*_wrap_ConfigBase_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16313     PyObject 
*resultobj
; 
16314     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16316     PyObject 
* obj0 
= 0 ; 
16317     PyObject 
* obj1 
= 0 ; 
16318     char *kwnames
[] = { 
16319         (char *) "self",(char *) "style", NULL 
 
16322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
16323     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16324     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16325     arg2 
= (long) SWIG_AsLong(obj1
);  
16326     if (PyErr_Occurred()) SWIG_fail
; 
16328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16329         (arg1
)->SetStyle(arg2
); 
16331         wxPyEndAllowThreads(__tstate
); 
16332         if (PyErr_Occurred()) SWIG_fail
; 
16334     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16341 static PyObject 
*_wrap_ConfigBase_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16342     PyObject 
*resultobj
; 
16343     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16345     PyObject 
* obj0 
= 0 ; 
16346     char *kwnames
[] = { 
16347         (char *) "self", NULL 
 
16350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
; 
16351     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16355         result 
= (long)((wxConfigBase 
const *)arg1
)->GetStyle(); 
16357         wxPyEndAllowThreads(__tstate
); 
16358         if (PyErr_Occurred()) SWIG_fail
; 
16360     resultobj 
= SWIG_FromLong((long)result
); 
16367 static PyObject 
* ConfigBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16369     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16370     SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
); 
16372     return Py_BuildValue((char *)""); 
16374 static PyObject 
*_wrap_new_Config(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16375     PyObject 
*resultobj
; 
16376     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16377     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16378     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16379     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16380     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16381     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16382     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16383     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16384     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16386     bool temp1 
= False 
; 
16387     bool temp2 
= False 
; 
16388     bool temp3 
= False 
; 
16389     bool temp4 
= False 
; 
16390     PyObject 
* obj0 
= 0 ; 
16391     PyObject 
* obj1 
= 0 ; 
16392     PyObject 
* obj2 
= 0 ; 
16393     PyObject 
* obj3 
= 0 ; 
16394     PyObject 
* obj4 
= 0 ; 
16395     char *kwnames
[] = { 
16396         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16402             arg1 
= wxString_in_helper(obj0
); 
16403             if (arg1 
== NULL
) SWIG_fail
; 
16409             arg2 
= wxString_in_helper(obj1
); 
16410             if (arg2 
== NULL
) SWIG_fail
; 
16416             arg3 
= wxString_in_helper(obj2
); 
16417             if (arg3 
== NULL
) SWIG_fail
; 
16423             arg4 
= wxString_in_helper(obj3
); 
16424             if (arg4 
== NULL
) SWIG_fail
; 
16429         arg5 
= (long) SWIG_AsLong(obj4
);  
16430         if (PyErr_Occurred()) SWIG_fail
; 
16433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16434         result 
= (wxConfig 
*)new wxConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16436         wxPyEndAllowThreads(__tstate
); 
16437         if (PyErr_Occurred()) SWIG_fail
; 
16439     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1); 
16478 static PyObject 
*_wrap_delete_Config(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16479     PyObject 
*resultobj
; 
16480     wxConfig 
*arg1 
= (wxConfig 
*) 0 ; 
16481     PyObject 
* obj0 
= 0 ; 
16482     char *kwnames
[] = { 
16483         (char *) "self", NULL 
 
16486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
; 
16487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
, 
16488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16493         wxPyEndAllowThreads(__tstate
); 
16494         if (PyErr_Occurred()) SWIG_fail
; 
16496     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16503 static PyObject 
* Config_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16505     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16506     SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
); 
16508     return Py_BuildValue((char *)""); 
16510 static PyObject 
*_wrap_new_FileConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16511     PyObject 
*resultobj
; 
16512     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16513     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16514     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16515     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16516     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16517     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16518     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16519     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16520     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16521     wxFileConfig 
*result
; 
16522     bool temp1 
= False 
; 
16523     bool temp2 
= False 
; 
16524     bool temp3 
= False 
; 
16525     bool temp4 
= False 
; 
16526     PyObject 
* obj0 
= 0 ; 
16527     PyObject 
* obj1 
= 0 ; 
16528     PyObject 
* obj2 
= 0 ; 
16529     PyObject 
* obj3 
= 0 ; 
16530     PyObject 
* obj4 
= 0 ; 
16531     char *kwnames
[] = { 
16532         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16538             arg1 
= wxString_in_helper(obj0
); 
16539             if (arg1 
== NULL
) SWIG_fail
; 
16545             arg2 
= wxString_in_helper(obj1
); 
16546             if (arg2 
== NULL
) SWIG_fail
; 
16552             arg3 
= wxString_in_helper(obj2
); 
16553             if (arg3 
== NULL
) SWIG_fail
; 
16559             arg4 
= wxString_in_helper(obj3
); 
16560             if (arg4 
== NULL
) SWIG_fail
; 
16565         arg5 
= (long) SWIG_AsLong(obj4
);  
16566         if (PyErr_Occurred()) SWIG_fail
; 
16569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16570         result 
= (wxFileConfig 
*)new wxFileConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16572         wxPyEndAllowThreads(__tstate
); 
16573         if (PyErr_Occurred()) SWIG_fail
; 
16575     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1); 
16614 static PyObject 
*_wrap_delete_FileConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16615     PyObject 
*resultobj
; 
16616     wxFileConfig 
*arg1 
= (wxFileConfig 
*) 0 ; 
16617     PyObject 
* obj0 
= 0 ; 
16618     char *kwnames
[] = { 
16619         (char *) "self", NULL 
 
16622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
; 
16623     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
, 
16624     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16629         wxPyEndAllowThreads(__tstate
); 
16630         if (PyErr_Occurred()) SWIG_fail
; 
16632     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16639 static PyObject 
* FileConfig_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16641     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16642     SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
); 
16644     return Py_BuildValue((char *)""); 
16646 static PyObject 
*_wrap_new_ConfigPathChanger(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16647     PyObject 
*resultobj
; 
16648     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16649     wxString 
*arg2 
= 0 ; 
16650     wxConfigPathChanger 
*result
; 
16651     bool temp2 
= False 
; 
16652     PyObject 
* obj0 
= 0 ; 
16653     PyObject 
* obj1 
= 0 ; 
16654     char *kwnames
[] = { 
16655         (char *) "config",(char *) "entry", NULL 
 
16658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
; 
16659     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16660     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16662         arg2 
= wxString_in_helper(obj1
); 
16663         if (arg2 
== NULL
) SWIG_fail
; 
16667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16668         result 
= (wxConfigPathChanger 
*)new wxConfigPathChanger((wxConfigBase 
const *)arg1
,(wxString 
const &)*arg2
); 
16670         wxPyEndAllowThreads(__tstate
); 
16671         if (PyErr_Occurred()) SWIG_fail
; 
16673     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1); 
16688 static PyObject 
*_wrap_delete_ConfigPathChanger(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16689     PyObject 
*resultobj
; 
16690     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16691     PyObject 
* obj0 
= 0 ; 
16692     char *kwnames
[] = { 
16693         (char *) "self", NULL 
 
16696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
; 
16697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16703         wxPyEndAllowThreads(__tstate
); 
16704         if (PyErr_Occurred()) SWIG_fail
; 
16706     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16713 static PyObject 
*_wrap_ConfigPathChanger_Name(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16714     PyObject 
*resultobj
; 
16715     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16717     PyObject 
* obj0 
= 0 ; 
16718     char *kwnames
[] = { 
16719         (char *) "self", NULL 
 
16722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
; 
16723     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16724     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16728             wxString 
const &_result_ref 
= ((wxConfigPathChanger 
const *)arg1
)->Name(); 
16729             result 
= (wxString 
*) &_result_ref
; 
16732         wxPyEndAllowThreads(__tstate
); 
16733         if (PyErr_Occurred()) SWIG_fail
; 
16737         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
16739         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
16748 static PyObject 
* ConfigPathChanger_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16750     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16751     SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
); 
16753     return Py_BuildValue((char *)""); 
16755 static PyObject 
*_wrap_ExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16756     PyObject 
*resultobj
; 
16757     wxString 
*arg1 
= 0 ; 
16759     bool temp1 
= False 
; 
16760     PyObject 
* obj0 
= 0 ; 
16761     char *kwnames
[] = { 
16762         (char *) "sz", NULL 
 
16765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
; 
16767         arg1 
= wxString_in_helper(obj0
); 
16768         if (arg1 
== NULL
) SWIG_fail
; 
16772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16773         result 
= wxExpandEnvVars((wxString 
const &)*arg1
); 
16775         wxPyEndAllowThreads(__tstate
); 
16776         if (PyErr_Occurred()) SWIG_fail
; 
16780         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16782         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16799 static int _wrap_DateFormatStr_set(PyObject 
*_val
) { 
16800     PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only."); 
16805 static PyObject 
*_wrap_DateFormatStr_get() { 
16810         pyobj 
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
16812         pyobj 
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
16819 static int _wrap_TimeSpanFormatStr_set(PyObject 
*_val
) { 
16820     PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only."); 
16825 static PyObject 
*_wrap_TimeSpanFormatStr_get() { 
16830         pyobj 
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
16832         pyobj 
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
16839 static PyObject 
*_wrap_DateTime_SetCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16840     PyObject 
*resultobj
; 
16842     PyObject 
* obj0 
= 0 ; 
16843     char *kwnames
[] = { 
16844         (char *) "country", NULL 
 
16847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
; 
16848     arg1 
= (wxDateTime::Country
) SWIG_AsInt(obj0
);  
16849     if (PyErr_Occurred()) SWIG_fail
; 
16851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16852         wxDateTime::SetCountry((wxDateTime::Country 
)arg1
); 
16854         wxPyEndAllowThreads(__tstate
); 
16855         if (PyErr_Occurred()) SWIG_fail
; 
16857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16864 static PyObject 
*_wrap_DateTime_GetCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16865     PyObject 
*resultobj
; 
16867     char *kwnames
[] = { 
16871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
; 
16873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16874         result 
= (int)wxDateTime::GetCountry(); 
16876         wxPyEndAllowThreads(__tstate
); 
16877         if (PyErr_Occurred()) SWIG_fail
; 
16879     resultobj 
= SWIG_FromInt((int)result
); 
16886 static PyObject 
*_wrap_DateTime_IsWestEuropeanCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16887     PyObject 
*resultobj
; 
16888     int arg1 
= (int) wxDateTime::Country_Default 
; 
16890     PyObject 
* obj0 
= 0 ; 
16891     char *kwnames
[] = { 
16892         (char *) "country", NULL 
 
16895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
; 
16897         arg1 
= (wxDateTime::Country
) SWIG_AsInt(obj0
);  
16898         if (PyErr_Occurred()) SWIG_fail
; 
16901         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16902         result 
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country 
)arg1
); 
16904         wxPyEndAllowThreads(__tstate
); 
16905         if (PyErr_Occurred()) SWIG_fail
; 
16908         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16916 static PyObject 
*_wrap_DateTime_GetCurrentYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16917     PyObject 
*resultobj
; 
16918     int arg1 
= (int) wxDateTime::Gregorian 
; 
16920     PyObject 
* obj0 
= 0 ; 
16921     char *kwnames
[] = { 
16922         (char *) "cal", NULL 
 
16925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
; 
16927         arg1 
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);  
16928         if (PyErr_Occurred()) SWIG_fail
; 
16931         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16932         result 
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar 
)arg1
); 
16934         wxPyEndAllowThreads(__tstate
); 
16935         if (PyErr_Occurred()) SWIG_fail
; 
16937     resultobj 
= SWIG_FromInt((int)result
); 
16944 static PyObject 
*_wrap_DateTime_ConvertYearToBC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16945     PyObject 
*resultobj
; 
16948     PyObject 
* obj0 
= 0 ; 
16949     char *kwnames
[] = { 
16950         (char *) "year", NULL 
 
16953     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
; 
16954     arg1 
= (int) SWIG_AsInt(obj0
);  
16955     if (PyErr_Occurred()) SWIG_fail
; 
16957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16958         result 
= (int)wxDateTime::ConvertYearToBC(arg1
); 
16960         wxPyEndAllowThreads(__tstate
); 
16961         if (PyErr_Occurred()) SWIG_fail
; 
16963     resultobj 
= SWIG_FromInt((int)result
); 
16970 static PyObject 
*_wrap_DateTime_GetCurrentMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16971     PyObject 
*resultobj
; 
16972     int arg1 
= (int) wxDateTime::Gregorian 
; 
16974     PyObject 
* obj0 
= 0 ; 
16975     char *kwnames
[] = { 
16976         (char *) "cal", NULL 
 
16979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
; 
16981         arg1 
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);  
16982         if (PyErr_Occurred()) SWIG_fail
; 
16985         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16986         result 
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar 
)arg1
); 
16988         wxPyEndAllowThreads(__tstate
); 
16989         if (PyErr_Occurred()) SWIG_fail
; 
16991     resultobj 
= SWIG_FromInt((int)result
); 
16998 static PyObject 
*_wrap_DateTime_IsLeapYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16999     PyObject 
*resultobj
; 
17000     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17001     int arg2 
= (int) wxDateTime::Gregorian 
; 
17003     PyObject 
* obj0 
= 0 ; 
17004     PyObject 
* obj1 
= 0 ; 
17005     char *kwnames
[] = { 
17006         (char *) "year",(char *) "cal", NULL 
 
17009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
17011         arg1 
= (int) SWIG_AsInt(obj0
);  
17012         if (PyErr_Occurred()) SWIG_fail
; 
17015         arg2 
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);  
17016         if (PyErr_Occurred()) SWIG_fail
; 
17019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17020         result 
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar 
)arg2
); 
17022         wxPyEndAllowThreads(__tstate
); 
17023         if (PyErr_Occurred()) SWIG_fail
; 
17026         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17034 static PyObject 
*_wrap_DateTime_GetCentury(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17035     PyObject 
*resultobj
; 
17036     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17038     PyObject 
* obj0 
= 0 ; 
17039     char *kwnames
[] = { 
17040         (char *) "year", NULL 
 
17043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
; 
17045         arg1 
= (int) SWIG_AsInt(obj0
);  
17046         if (PyErr_Occurred()) SWIG_fail
; 
17049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17050         result 
= (int)wxDateTime::GetCentury(arg1
); 
17052         wxPyEndAllowThreads(__tstate
); 
17053         if (PyErr_Occurred()) SWIG_fail
; 
17055     resultobj 
= SWIG_FromInt((int)result
); 
17062 static PyObject 
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17063     PyObject 
*resultobj
; 
17065     int arg2 
= (int) wxDateTime::Gregorian 
; 
17067     PyObject 
* obj0 
= 0 ; 
17068     PyObject 
* obj1 
= 0 ; 
17069     char *kwnames
[] = { 
17070         (char *) "year",(char *) "cal", NULL 
 
17073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
17074     arg1 
= (int) SWIG_AsInt(obj0
);  
17075     if (PyErr_Occurred()) SWIG_fail
; 
17077         arg2 
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);  
17078         if (PyErr_Occurred()) SWIG_fail
; 
17081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17082         result 
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar 
)arg2
); 
17084         wxPyEndAllowThreads(__tstate
); 
17085         if (PyErr_Occurred()) SWIG_fail
; 
17087     resultobj 
= SWIG_FromInt((int)result
); 
17094 static PyObject 
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17095     PyObject 
*resultobj
; 
17097     int arg2 
= (int) wxDateTime::Inv_Year 
; 
17098     int arg3 
= (int) wxDateTime::Gregorian 
; 
17100     PyObject 
* obj0 
= 0 ; 
17101     PyObject 
* obj1 
= 0 ; 
17102     PyObject 
* obj2 
= 0 ; 
17103     char *kwnames
[] = { 
17104         (char *) "month",(char *) "year",(char *) "cal", NULL 
 
17107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17108     arg1 
= (wxDateTime::Month
) SWIG_AsInt(obj0
);  
17109     if (PyErr_Occurred()) SWIG_fail
; 
17111         arg2 
= (int) SWIG_AsInt(obj1
);  
17112         if (PyErr_Occurred()) SWIG_fail
; 
17115         arg3 
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);  
17116         if (PyErr_Occurred()) SWIG_fail
; 
17119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17120         result 
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month 
)arg1
,arg2
,(wxDateTime::Calendar 
)arg3
); 
17122         wxPyEndAllowThreads(__tstate
); 
17123         if (PyErr_Occurred()) SWIG_fail
; 
17125     resultobj 
= SWIG_FromInt((int)result
); 
17132 static PyObject 
*_wrap_DateTime_GetMonthName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17133     PyObject 
*resultobj
; 
17135     int arg2 
= (int) wxDateTime::Name_Full 
; 
17137     PyObject 
* obj0 
= 0 ; 
17138     PyObject 
* obj1 
= 0 ; 
17139     char *kwnames
[] = { 
17140         (char *) "month",(char *) "flags", NULL 
 
17143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
; 
17144     arg1 
= (wxDateTime::Month
) SWIG_AsInt(obj0
);  
17145     if (PyErr_Occurred()) SWIG_fail
; 
17147         arg2 
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);  
17148         if (PyErr_Occurred()) SWIG_fail
; 
17151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17152         result 
= wxDateTime::GetMonthName((wxDateTime::Month 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
17154         wxPyEndAllowThreads(__tstate
); 
17155         if (PyErr_Occurred()) SWIG_fail
; 
17159         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17161         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17170 static PyObject 
*_wrap_DateTime_GetWeekDayName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17171     PyObject 
*resultobj
; 
17173     int arg2 
= (int) wxDateTime::Name_Full 
; 
17175     PyObject 
* obj0 
= 0 ; 
17176     PyObject 
* obj1 
= 0 ; 
17177     char *kwnames
[] = { 
17178         (char *) "weekday",(char *) "flags", NULL 
 
17181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
; 
17182     arg1 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);  
17183     if (PyErr_Occurred()) SWIG_fail
; 
17185         arg2 
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);  
17186         if (PyErr_Occurred()) SWIG_fail
; 
17189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17190         result 
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
17192         wxPyEndAllowThreads(__tstate
); 
17193         if (PyErr_Occurred()) SWIG_fail
; 
17197         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17199         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17208 static PyObject 
*_wrap_DateTime_GetAmPmStrings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17209     PyObject 
*resultobj
; 
17210     wxString 
*arg1 
= (wxString 
*) 0 ; 
17211     wxString 
*arg2 
= (wxString 
*) 0 ; 
17212     bool temp1 
= False 
; 
17213     bool temp2 
= False 
; 
17214     PyObject 
* obj0 
= 0 ; 
17215     PyObject 
* obj1 
= 0 ; 
17216     char *kwnames
[] = { 
17217         (char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
17220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
; 
17222         arg1 
= wxString_in_helper(obj0
); 
17223         if (arg1 
== NULL
) SWIG_fail
; 
17227         arg2 
= wxString_in_helper(obj1
); 
17228         if (arg2 
== NULL
) SWIG_fail
; 
17232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17233         wxDateTime::GetAmPmStrings(arg1
,arg2
); 
17235         wxPyEndAllowThreads(__tstate
); 
17236         if (PyErr_Occurred()) SWIG_fail
; 
17238     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17261 static PyObject 
*_wrap_DateTime_IsDSTApplicable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17262     PyObject 
*resultobj
; 
17263     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17264     int arg2 
= (int) wxDateTime::Country_Default 
; 
17266     PyObject 
* obj0 
= 0 ; 
17267     PyObject 
* obj1 
= 0 ; 
17268     char *kwnames
[] = { 
17269         (char *) "year",(char *) "country", NULL 
 
17272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
; 
17274         arg1 
= (int) SWIG_AsInt(obj0
);  
17275         if (PyErr_Occurred()) SWIG_fail
; 
17278         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17279         if (PyErr_Occurred()) SWIG_fail
; 
17282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17283         result 
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country 
)arg2
); 
17285         wxPyEndAllowThreads(__tstate
); 
17286         if (PyErr_Occurred()) SWIG_fail
; 
17289         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17297 static PyObject 
*_wrap_DateTime_GetBeginDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17298     PyObject 
*resultobj
; 
17299     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17300     int arg2 
= (int) wxDateTime::Country_Default 
; 
17302     PyObject 
* obj0 
= 0 ; 
17303     PyObject 
* obj1 
= 0 ; 
17304     char *kwnames
[] = { 
17305         (char *) "year",(char *) "country", NULL 
 
17308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17310         arg1 
= (int) SWIG_AsInt(obj0
);  
17311         if (PyErr_Occurred()) SWIG_fail
; 
17314         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17315         if (PyErr_Occurred()) SWIG_fail
; 
17318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17319         result 
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country 
)arg2
); 
17321         wxPyEndAllowThreads(__tstate
); 
17322         if (PyErr_Occurred()) SWIG_fail
; 
17325         wxDateTime 
* resultptr
; 
17326         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17327         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17335 static PyObject 
*_wrap_DateTime_GetEndDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17336     PyObject 
*resultobj
; 
17337     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17338     int arg2 
= (int) wxDateTime::Country_Default 
; 
17340     PyObject 
* obj0 
= 0 ; 
17341     PyObject 
* obj1 
= 0 ; 
17342     char *kwnames
[] = { 
17343         (char *) "year",(char *) "country", NULL 
 
17346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17348         arg1 
= (int) SWIG_AsInt(obj0
);  
17349         if (PyErr_Occurred()) SWIG_fail
; 
17352         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17353         if (PyErr_Occurred()) SWIG_fail
; 
17356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17357         result 
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country 
)arg2
); 
17359         wxPyEndAllowThreads(__tstate
); 
17360         if (PyErr_Occurred()) SWIG_fail
; 
17363         wxDateTime 
* resultptr
; 
17364         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17365         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17373 static PyObject 
*_wrap_DateTime_Now(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17374     PyObject 
*resultobj
; 
17376     char *kwnames
[] = { 
17380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
; 
17382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17383         result 
= wxDateTime::Now(); 
17385         wxPyEndAllowThreads(__tstate
); 
17386         if (PyErr_Occurred()) SWIG_fail
; 
17389         wxDateTime 
* resultptr
; 
17390         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17391         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17399 static PyObject 
*_wrap_DateTime_UNow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17400     PyObject 
*resultobj
; 
17402     char *kwnames
[] = { 
17406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
; 
17408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17409         result 
= wxDateTime::UNow(); 
17411         wxPyEndAllowThreads(__tstate
); 
17412         if (PyErr_Occurred()) SWIG_fail
; 
17415         wxDateTime 
* resultptr
; 
17416         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17417         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17425 static PyObject 
*_wrap_DateTime_Today(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17426     PyObject 
*resultobj
; 
17428     char *kwnames
[] = { 
17432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
; 
17434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17435         result 
= wxDateTime::Today(); 
17437         wxPyEndAllowThreads(__tstate
); 
17438         if (PyErr_Occurred()) SWIG_fail
; 
17441         wxDateTime 
* resultptr
; 
17442         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17443         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17451 static PyObject 
*_wrap_new_DateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17452     PyObject 
*resultobj
; 
17453     wxDateTime 
*result
; 
17454     char *kwnames
[] = { 
17458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
; 
17460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17461         result 
= (wxDateTime 
*)new wxDateTime(); 
17463         wxPyEndAllowThreads(__tstate
); 
17464         if (PyErr_Occurred()) SWIG_fail
; 
17466     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17473 static PyObject 
*_wrap_new_DateTimeFromTimeT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17474     PyObject 
*resultobj
; 
17476     wxDateTime 
*result
; 
17477     PyObject 
* obj0 
= 0 ; 
17478     char *kwnames
[] = { 
17479         (char *) "timet", NULL 
 
17482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
; 
17483     arg1 
= (time_t) SWIG_AsUnsignedInt(obj0
);  
17484     if (PyErr_Occurred()) SWIG_fail
; 
17486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17487         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17489         wxPyEndAllowThreads(__tstate
); 
17490         if (PyErr_Occurred()) SWIG_fail
; 
17492     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17499 static PyObject 
*_wrap_new_DateTimeFromJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17500     PyObject 
*resultobj
; 
17502     wxDateTime 
*result
; 
17503     PyObject 
* obj0 
= 0 ; 
17504     char *kwnames
[] = { 
17505         (char *) "jdn", NULL 
 
17508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
; 
17509     arg1 
= (double) SWIG_AsDouble(obj0
);  
17510     if (PyErr_Occurred()) SWIG_fail
; 
17512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17513         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17515         wxPyEndAllowThreads(__tstate
); 
17516         if (PyErr_Occurred()) SWIG_fail
; 
17518     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17525 static PyObject 
*_wrap_new_DateTimeFromHMS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17526     PyObject 
*resultobj
; 
17528     int arg2 
= (int) 0 ; 
17529     int arg3 
= (int) 0 ; 
17530     int arg4 
= (int) 0 ; 
17531     wxDateTime 
*result
; 
17532     PyObject 
* obj0 
= 0 ; 
17533     PyObject 
* obj1 
= 0 ; 
17534     PyObject 
* obj2 
= 0 ; 
17535     PyObject 
* obj3 
= 0 ; 
17536     char *kwnames
[] = { 
17537         (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17541     arg1 
= (int) SWIG_AsInt(obj0
);  
17542     if (PyErr_Occurred()) SWIG_fail
; 
17544         arg2 
= (int) SWIG_AsInt(obj1
);  
17545         if (PyErr_Occurred()) SWIG_fail
; 
17548         arg3 
= (int) SWIG_AsInt(obj2
);  
17549         if (PyErr_Occurred()) SWIG_fail
; 
17552         arg4 
= (int) SWIG_AsInt(obj3
);  
17553         if (PyErr_Occurred()) SWIG_fail
; 
17556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17557         result 
= (wxDateTime 
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
); 
17559         wxPyEndAllowThreads(__tstate
); 
17560         if (PyErr_Occurred()) SWIG_fail
; 
17562     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17569 static PyObject 
*_wrap_new_DateTimeFromDMY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17570     PyObject 
*resultobj
; 
17572     int arg2 
= (int) wxDateTime::Inv_Month 
; 
17573     int arg3 
= (int) wxDateTime::Inv_Year 
; 
17574     int arg4 
= (int) 0 ; 
17575     int arg5 
= (int) 0 ; 
17576     int arg6 
= (int) 0 ; 
17577     int arg7 
= (int) 0 ; 
17578     wxDateTime 
*result
; 
17579     PyObject 
* obj0 
= 0 ; 
17580     PyObject 
* obj1 
= 0 ; 
17581     PyObject 
* obj2 
= 0 ; 
17582     PyObject 
* obj3 
= 0 ; 
17583     PyObject 
* obj4 
= 0 ; 
17584     PyObject 
* obj5 
= 0 ; 
17585     PyObject 
* obj6 
= 0 ; 
17586     char *kwnames
[] = { 
17587         (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17591     arg1 
= (int) SWIG_AsInt(obj0
);  
17592     if (PyErr_Occurred()) SWIG_fail
; 
17594         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
17595         if (PyErr_Occurred()) SWIG_fail
; 
17598         arg3 
= (int) SWIG_AsInt(obj2
);  
17599         if (PyErr_Occurred()) SWIG_fail
; 
17602         arg4 
= (int) SWIG_AsInt(obj3
);  
17603         if (PyErr_Occurred()) SWIG_fail
; 
17606         arg5 
= (int) SWIG_AsInt(obj4
);  
17607         if (PyErr_Occurred()) SWIG_fail
; 
17610         arg6 
= (int) SWIG_AsInt(obj5
);  
17611         if (PyErr_Occurred()) SWIG_fail
; 
17614         arg7 
= (int) SWIG_AsInt(obj6
);  
17615         if (PyErr_Occurred()) SWIG_fail
; 
17618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17619         result 
= (wxDateTime 
*)new wxDateTime(arg1
,(wxDateTime::Month 
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
17621         wxPyEndAllowThreads(__tstate
); 
17622         if (PyErr_Occurred()) SWIG_fail
; 
17624     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17631 static PyObject 
*_wrap_delete_DateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17632     PyObject 
*resultobj
; 
17633     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17634     PyObject 
* obj0 
= 0 ; 
17635     char *kwnames
[] = { 
17636         (char *) "self", NULL 
 
17639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
; 
17640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17646         wxPyEndAllowThreads(__tstate
); 
17647         if (PyErr_Occurred()) SWIG_fail
; 
17649     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17656 static PyObject 
*_wrap_DateTime_SetToCurrent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17657     PyObject 
*resultobj
; 
17658     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17659     wxDateTime 
*result
; 
17660     PyObject 
* obj0 
= 0 ; 
17661     char *kwnames
[] = { 
17662         (char *) "self", NULL 
 
17665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
; 
17666     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17667     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17671             wxDateTime 
&_result_ref 
= (arg1
)->SetToCurrent(); 
17672             result 
= (wxDateTime 
*) &_result_ref
; 
17675         wxPyEndAllowThreads(__tstate
); 
17676         if (PyErr_Occurred()) SWIG_fail
; 
17678     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17685 static PyObject 
*_wrap_DateTime_SetTimeT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17686     PyObject 
*resultobj
; 
17687     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17689     wxDateTime 
*result
; 
17690     PyObject 
* obj0 
= 0 ; 
17691     PyObject 
* obj1 
= 0 ; 
17692     char *kwnames
[] = { 
17693         (char *) "self",(char *) "timet", NULL 
 
17696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
; 
17697     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17698     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17699     arg2 
= (time_t) SWIG_AsUnsignedInt(obj1
);  
17700     if (PyErr_Occurred()) SWIG_fail
; 
17702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17704             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17705             result 
= (wxDateTime 
*) &_result_ref
; 
17708         wxPyEndAllowThreads(__tstate
); 
17709         if (PyErr_Occurred()) SWIG_fail
; 
17711     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17718 static PyObject 
*_wrap_DateTime_SetJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17719     PyObject 
*resultobj
; 
17720     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17722     wxDateTime 
*result
; 
17723     PyObject 
* obj0 
= 0 ; 
17724     PyObject 
* obj1 
= 0 ; 
17725     char *kwnames
[] = { 
17726         (char *) "self",(char *) "jdn", NULL 
 
17729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
; 
17730     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17731     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17732     arg2 
= (double) SWIG_AsDouble(obj1
);  
17733     if (PyErr_Occurred()) SWIG_fail
; 
17735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17737             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17738             result 
= (wxDateTime 
*) &_result_ref
; 
17741         wxPyEndAllowThreads(__tstate
); 
17742         if (PyErr_Occurred()) SWIG_fail
; 
17744     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17751 static PyObject 
*_wrap_DateTime_SetHMS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17752     PyObject 
*resultobj
; 
17753     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17755     int arg3 
= (int) 0 ; 
17756     int arg4 
= (int) 0 ; 
17757     int arg5 
= (int) 0 ; 
17758     wxDateTime 
*result
; 
17759     PyObject 
* obj0 
= 0 ; 
17760     PyObject 
* obj1 
= 0 ; 
17761     PyObject 
* obj2 
= 0 ; 
17762     PyObject 
* obj3 
= 0 ; 
17763     PyObject 
* obj4 
= 0 ; 
17764     char *kwnames
[] = { 
17765         (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
17769     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17770     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17771     arg2 
= (int) SWIG_AsInt(obj1
);  
17772     if (PyErr_Occurred()) SWIG_fail
; 
17774         arg3 
= (int) SWIG_AsInt(obj2
);  
17775         if (PyErr_Occurred()) SWIG_fail
; 
17778         arg4 
= (int) SWIG_AsInt(obj3
);  
17779         if (PyErr_Occurred()) SWIG_fail
; 
17782         arg5 
= (int) SWIG_AsInt(obj4
);  
17783         if (PyErr_Occurred()) SWIG_fail
; 
17786         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17788             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
); 
17789             result 
= (wxDateTime 
*) &_result_ref
; 
17792         wxPyEndAllowThreads(__tstate
); 
17793         if (PyErr_Occurred()) SWIG_fail
; 
17795     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17802 static PyObject 
*_wrap_DateTime_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17803     PyObject 
*resultobj
; 
17804     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17806     int arg3 
= (int) wxDateTime::Inv_Month 
; 
17807     int arg4 
= (int) wxDateTime::Inv_Year 
; 
17808     int arg5 
= (int) 0 ; 
17809     int arg6 
= (int) 0 ; 
17810     int arg7 
= (int) 0 ; 
17811     int arg8 
= (int) 0 ; 
17812     wxDateTime 
*result
; 
17813     PyObject 
* obj0 
= 0 ; 
17814     PyObject 
* obj1 
= 0 ; 
17815     PyObject 
* obj2 
= 0 ; 
17816     PyObject 
* obj3 
= 0 ; 
17817     PyObject 
* obj4 
= 0 ; 
17818     PyObject 
* obj5 
= 0 ; 
17819     PyObject 
* obj6 
= 0 ; 
17820     PyObject 
* obj7 
= 0 ; 
17821     char *kwnames
[] = { 
17822         (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
17826     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17827     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17828     arg2 
= (int) SWIG_AsInt(obj1
);  
17829     if (PyErr_Occurred()) SWIG_fail
; 
17831         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
17832         if (PyErr_Occurred()) SWIG_fail
; 
17835         arg4 
= (int) SWIG_AsInt(obj3
);  
17836         if (PyErr_Occurred()) SWIG_fail
; 
17839         arg5 
= (int) SWIG_AsInt(obj4
);  
17840         if (PyErr_Occurred()) SWIG_fail
; 
17843         arg6 
= (int) SWIG_AsInt(obj5
);  
17844         if (PyErr_Occurred()) SWIG_fail
; 
17847         arg7 
= (int) SWIG_AsInt(obj6
);  
17848         if (PyErr_Occurred()) SWIG_fail
; 
17851         arg8 
= (int) SWIG_AsInt(obj7
);  
17852         if (PyErr_Occurred()) SWIG_fail
; 
17855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17857             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,(wxDateTime::Month 
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
); 
17858             result 
= (wxDateTime 
*) &_result_ref
; 
17861         wxPyEndAllowThreads(__tstate
); 
17862         if (PyErr_Occurred()) SWIG_fail
; 
17864     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17871 static PyObject 
*_wrap_DateTime_ResetTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17872     PyObject 
*resultobj
; 
17873     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17874     wxDateTime 
*result
; 
17875     PyObject 
* obj0 
= 0 ; 
17876     char *kwnames
[] = { 
17877         (char *) "self", NULL 
 
17880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
; 
17881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17886             wxDateTime 
&_result_ref 
= (arg1
)->ResetTime(); 
17887             result 
= (wxDateTime 
*) &_result_ref
; 
17890         wxPyEndAllowThreads(__tstate
); 
17891         if (PyErr_Occurred()) SWIG_fail
; 
17893     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17900 static PyObject 
*_wrap_DateTime_SetYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17901     PyObject 
*resultobj
; 
17902     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17904     wxDateTime 
*result
; 
17905     PyObject 
* obj0 
= 0 ; 
17906     PyObject 
* obj1 
= 0 ; 
17907     char *kwnames
[] = { 
17908         (char *) "self",(char *) "year", NULL 
 
17911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
17912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17914     arg2 
= (int) SWIG_AsInt(obj1
);  
17915     if (PyErr_Occurred()) SWIG_fail
; 
17917         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17919             wxDateTime 
&_result_ref 
= (arg1
)->SetYear(arg2
); 
17920             result 
= (wxDateTime 
*) &_result_ref
; 
17923         wxPyEndAllowThreads(__tstate
); 
17924         if (PyErr_Occurred()) SWIG_fail
; 
17926     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17933 static PyObject 
*_wrap_DateTime_SetMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17934     PyObject 
*resultobj
; 
17935     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17937     wxDateTime 
*result
; 
17938     PyObject 
* obj0 
= 0 ; 
17939     PyObject 
* obj1 
= 0 ; 
17940     char *kwnames
[] = { 
17941         (char *) "self",(char *) "month", NULL 
 
17944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
17945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17947     arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
17948     if (PyErr_Occurred()) SWIG_fail
; 
17950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17952             wxDateTime 
&_result_ref 
= (arg1
)->SetMonth((wxDateTime::Month 
)arg2
); 
17953             result 
= (wxDateTime 
*) &_result_ref
; 
17956         wxPyEndAllowThreads(__tstate
); 
17957         if (PyErr_Occurred()) SWIG_fail
; 
17959     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17966 static PyObject 
*_wrap_DateTime_SetDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17967     PyObject 
*resultobj
; 
17968     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17970     wxDateTime 
*result
; 
17971     PyObject 
* obj0 
= 0 ; 
17972     PyObject 
* obj1 
= 0 ; 
17973     char *kwnames
[] = { 
17974         (char *) "self",(char *) "day", NULL 
 
17977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
17978     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17979     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17980     arg2 
= (int) SWIG_AsInt(obj1
);  
17981     if (PyErr_Occurred()) SWIG_fail
; 
17983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17985             wxDateTime 
&_result_ref 
= (arg1
)->SetDay(arg2
); 
17986             result 
= (wxDateTime 
*) &_result_ref
; 
17989         wxPyEndAllowThreads(__tstate
); 
17990         if (PyErr_Occurred()) SWIG_fail
; 
17992     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17999 static PyObject 
*_wrap_DateTime_SetHour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18000     PyObject 
*resultobj
; 
18001     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18003     wxDateTime 
*result
; 
18004     PyObject 
* obj0 
= 0 ; 
18005     PyObject 
* obj1 
= 0 ; 
18006     char *kwnames
[] = { 
18007         (char *) "self",(char *) "hour", NULL 
 
18010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
18011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18013     arg2 
= (int) SWIG_AsInt(obj1
);  
18014     if (PyErr_Occurred()) SWIG_fail
; 
18016         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18018             wxDateTime 
&_result_ref 
= (arg1
)->SetHour(arg2
); 
18019             result 
= (wxDateTime 
*) &_result_ref
; 
18022         wxPyEndAllowThreads(__tstate
); 
18023         if (PyErr_Occurred()) SWIG_fail
; 
18025     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18032 static PyObject 
*_wrap_DateTime_SetMinute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18033     PyObject 
*resultobj
; 
18034     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18036     wxDateTime 
*result
; 
18037     PyObject 
* obj0 
= 0 ; 
18038     PyObject 
* obj1 
= 0 ; 
18039     char *kwnames
[] = { 
18040         (char *) "self",(char *) "minute", NULL 
 
18043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
18044     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18045     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18046     arg2 
= (int) SWIG_AsInt(obj1
);  
18047     if (PyErr_Occurred()) SWIG_fail
; 
18049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18051             wxDateTime 
&_result_ref 
= (arg1
)->SetMinute(arg2
); 
18052             result 
= (wxDateTime 
*) &_result_ref
; 
18055         wxPyEndAllowThreads(__tstate
); 
18056         if (PyErr_Occurred()) SWIG_fail
; 
18058     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18065 static PyObject 
*_wrap_DateTime_SetSecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18066     PyObject 
*resultobj
; 
18067     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18069     wxDateTime 
*result
; 
18070     PyObject 
* obj0 
= 0 ; 
18071     PyObject 
* obj1 
= 0 ; 
18072     char *kwnames
[] = { 
18073         (char *) "self",(char *) "second", NULL 
 
18076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
18077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18079     arg2 
= (int) SWIG_AsInt(obj1
);  
18080     if (PyErr_Occurred()) SWIG_fail
; 
18082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18084             wxDateTime 
&_result_ref 
= (arg1
)->SetSecond(arg2
); 
18085             result 
= (wxDateTime 
*) &_result_ref
; 
18088         wxPyEndAllowThreads(__tstate
); 
18089         if (PyErr_Occurred()) SWIG_fail
; 
18091     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18098 static PyObject 
*_wrap_DateTime_SetMillisecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18099     PyObject 
*resultobj
; 
18100     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18102     wxDateTime 
*result
; 
18103     PyObject 
* obj0 
= 0 ; 
18104     PyObject 
* obj1 
= 0 ; 
18105     char *kwnames
[] = { 
18106         (char *) "self",(char *) "millisecond", NULL 
 
18109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
18110     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18111     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18112     arg2 
= (int) SWIG_AsInt(obj1
);  
18113     if (PyErr_Occurred()) SWIG_fail
; 
18115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18117             wxDateTime 
&_result_ref 
= (arg1
)->SetMillisecond(arg2
); 
18118             result 
= (wxDateTime 
*) &_result_ref
; 
18121         wxPyEndAllowThreads(__tstate
); 
18122         if (PyErr_Occurred()) SWIG_fail
; 
18124     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18131 static PyObject 
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18132     PyObject 
*resultobj
; 
18133     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18135     int arg3 
= (int) wxDateTime::Monday_First 
; 
18136     wxDateTime 
*result
; 
18137     PyObject 
* obj0 
= 0 ; 
18138     PyObject 
* obj1 
= 0 ; 
18139     PyObject 
* obj2 
= 0 ; 
18140     char *kwnames
[] = { 
18141         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
18144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18145     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18146     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18147     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18148     if (PyErr_Occurred()) SWIG_fail
; 
18150         arg3 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);  
18151         if (PyErr_Occurred()) SWIG_fail
; 
18154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18156             wxDateTime 
&_result_ref 
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18157             result 
= (wxDateTime 
*) &_result_ref
; 
18160         wxPyEndAllowThreads(__tstate
); 
18161         if (PyErr_Occurred()) SWIG_fail
; 
18163     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18170 static PyObject 
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18171     PyObject 
*resultobj
; 
18172     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18174     int arg3 
= (int) wxDateTime::Monday_First 
; 
18176     PyObject 
* obj0 
= 0 ; 
18177     PyObject 
* obj1 
= 0 ; 
18178     PyObject 
* obj2 
= 0 ; 
18179     char *kwnames
[] = { 
18180         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
18183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18184     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18185     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18186     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18187     if (PyErr_Occurred()) SWIG_fail
; 
18189         arg3 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);  
18190         if (PyErr_Occurred()) SWIG_fail
; 
18193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18194         result 
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18196         wxPyEndAllowThreads(__tstate
); 
18197         if (PyErr_Occurred()) SWIG_fail
; 
18200         wxDateTime 
* resultptr
; 
18201         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18202         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18210 static PyObject 
*_wrap_DateTime_SetToNextWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18211     PyObject 
*resultobj
; 
18212     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18214     wxDateTime 
*result
; 
18215     PyObject 
* obj0 
= 0 ; 
18216     PyObject 
* obj1 
= 0 ; 
18217     char *kwnames
[] = { 
18218         (char *) "self",(char *) "weekday", NULL 
 
18221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18224     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18225     if (PyErr_Occurred()) SWIG_fail
; 
18227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18229             wxDateTime 
&_result_ref 
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18230             result 
= (wxDateTime 
*) &_result_ref
; 
18233         wxPyEndAllowThreads(__tstate
); 
18234         if (PyErr_Occurred()) SWIG_fail
; 
18236     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18243 static PyObject 
*_wrap_DateTime_GetNextWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18244     PyObject 
*resultobj
; 
18245     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18248     PyObject 
* obj0 
= 0 ; 
18249     PyObject 
* obj1 
= 0 ; 
18250     char *kwnames
[] = { 
18251         (char *) "self",(char *) "weekday", NULL 
 
18254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18255     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18256     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18257     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18258     if (PyErr_Occurred()) SWIG_fail
; 
18260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18261         result 
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18263         wxPyEndAllowThreads(__tstate
); 
18264         if (PyErr_Occurred()) SWIG_fail
; 
18267         wxDateTime 
* resultptr
; 
18268         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18269         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18277 static PyObject 
*_wrap_DateTime_SetToPrevWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18278     PyObject 
*resultobj
; 
18279     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18281     wxDateTime 
*result
; 
18282     PyObject 
* obj0 
= 0 ; 
18283     PyObject 
* obj1 
= 0 ; 
18284     char *kwnames
[] = { 
18285         (char *) "self",(char *) "weekday", NULL 
 
18288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18291     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18292     if (PyErr_Occurred()) SWIG_fail
; 
18294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18296             wxDateTime 
&_result_ref 
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18297             result 
= (wxDateTime 
*) &_result_ref
; 
18300         wxPyEndAllowThreads(__tstate
); 
18301         if (PyErr_Occurred()) SWIG_fail
; 
18303     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18310 static PyObject 
*_wrap_DateTime_GetPrevWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18311     PyObject 
*resultobj
; 
18312     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18315     PyObject 
* obj0 
= 0 ; 
18316     PyObject 
* obj1 
= 0 ; 
18317     char *kwnames
[] = { 
18318         (char *) "self",(char *) "weekday", NULL 
 
18321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18322     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18323     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18324     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18325     if (PyErr_Occurred()) SWIG_fail
; 
18327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18328         result 
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18330         wxPyEndAllowThreads(__tstate
); 
18331         if (PyErr_Occurred()) SWIG_fail
; 
18334         wxDateTime 
* resultptr
; 
18335         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18336         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18344 static PyObject 
*_wrap_DateTime_SetToWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18345     PyObject 
*resultobj
; 
18346     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18348     int arg3 
= (int) 1 ; 
18349     int arg4 
= (int) wxDateTime::Inv_Month 
; 
18350     int arg5 
= (int) wxDateTime::Inv_Year 
; 
18352     PyObject 
* obj0 
= 0 ; 
18353     PyObject 
* obj1 
= 0 ; 
18354     PyObject 
* obj2 
= 0 ; 
18355     PyObject 
* obj3 
= 0 ; 
18356     PyObject 
* obj4 
= 0 ; 
18357     char *kwnames
[] = { 
18358         (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL 
 
18361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
18362     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18363     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18364     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18365     if (PyErr_Occurred()) SWIG_fail
; 
18367         arg3 
= (int) SWIG_AsInt(obj2
);  
18368         if (PyErr_Occurred()) SWIG_fail
; 
18371         arg4 
= (wxDateTime::Month
) SWIG_AsInt(obj3
);  
18372         if (PyErr_Occurred()) SWIG_fail
; 
18375         arg5 
= (int) SWIG_AsInt(obj4
);  
18376         if (PyErr_Occurred()) SWIG_fail
; 
18379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18380         result 
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay 
)arg2
,arg3
,(wxDateTime::Month 
)arg4
,arg5
); 
18382         wxPyEndAllowThreads(__tstate
); 
18383         if (PyErr_Occurred()) SWIG_fail
; 
18386         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18394 static PyObject 
*_wrap_DateTime_SetToLastWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18395     PyObject 
*resultobj
; 
18396     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18398     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18399     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18401     PyObject 
* obj0 
= 0 ; 
18402     PyObject 
* obj1 
= 0 ; 
18403     PyObject 
* obj2 
= 0 ; 
18404     PyObject 
* obj3 
= 0 ; 
18405     char *kwnames
[] = { 
18406         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18410     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18411     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18412     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18413     if (PyErr_Occurred()) SWIG_fail
; 
18415         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
18416         if (PyErr_Occurred()) SWIG_fail
; 
18419         arg4 
= (int) SWIG_AsInt(obj3
);  
18420         if (PyErr_Occurred()) SWIG_fail
; 
18423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18424         result 
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18426         wxPyEndAllowThreads(__tstate
); 
18427         if (PyErr_Occurred()) SWIG_fail
; 
18430         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18438 static PyObject 
*_wrap_DateTime_GetLastWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18439     PyObject 
*resultobj
; 
18440     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18442     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18443     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18445     PyObject 
* obj0 
= 0 ; 
18446     PyObject 
* obj1 
= 0 ; 
18447     PyObject 
* obj2 
= 0 ; 
18448     PyObject 
* obj3 
= 0 ; 
18449     char *kwnames
[] = { 
18450         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18454     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18456     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18457     if (PyErr_Occurred()) SWIG_fail
; 
18459         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
18460         if (PyErr_Occurred()) SWIG_fail
; 
18463         arg4 
= (int) SWIG_AsInt(obj3
);  
18464         if (PyErr_Occurred()) SWIG_fail
; 
18467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18468         result 
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18470         wxPyEndAllowThreads(__tstate
); 
18471         if (PyErr_Occurred()) SWIG_fail
; 
18474         wxDateTime 
* resultptr
; 
18475         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18476         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18484 static PyObject 
*_wrap_DateTime_SetToTheWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18485     PyObject 
*resultobj
; 
18486     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18488     int arg3 
= (int) wxDateTime::Mon 
; 
18489     int arg4 
= (int) wxDateTime::Monday_First 
; 
18491     PyObject 
* obj0 
= 0 ; 
18492     PyObject 
* obj1 
= 0 ; 
18493     PyObject 
* obj2 
= 0 ; 
18494     PyObject 
* obj3 
= 0 ; 
18495     char *kwnames
[] = { 
18496         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18502     arg2 
= (int) SWIG_AsInt(obj1
);  
18503     if (PyErr_Occurred()) SWIG_fail
; 
18505         arg3 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);  
18506         if (PyErr_Occurred()) SWIG_fail
; 
18509         arg4 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);  
18510         if (PyErr_Occurred()) SWIG_fail
; 
18513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18514         result 
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18516         wxPyEndAllowThreads(__tstate
); 
18517         if (PyErr_Occurred()) SWIG_fail
; 
18520         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18528 static PyObject 
*_wrap_DateTime_GetWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18529     PyObject 
*resultobj
; 
18530     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18532     int arg3 
= (int) wxDateTime::Mon 
; 
18533     int arg4 
= (int) wxDateTime::Monday_First 
; 
18535     PyObject 
* obj0 
= 0 ; 
18536     PyObject 
* obj1 
= 0 ; 
18537     PyObject 
* obj2 
= 0 ; 
18538     PyObject 
* obj3 
= 0 ; 
18539     char *kwnames
[] = { 
18540         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18546     arg2 
= (int) SWIG_AsInt(obj1
);  
18547     if (PyErr_Occurred()) SWIG_fail
; 
18549         arg3 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);  
18550         if (PyErr_Occurred()) SWIG_fail
; 
18553         arg4 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);  
18554         if (PyErr_Occurred()) SWIG_fail
; 
18557         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18558         result 
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18560         wxPyEndAllowThreads(__tstate
); 
18561         if (PyErr_Occurred()) SWIG_fail
; 
18564         wxDateTime 
* resultptr
; 
18565         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18566         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18574 static PyObject 
*_wrap_DateTime_SetToLastMonthDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18575     PyObject 
*resultobj
; 
18576     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18577     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18578     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18579     wxDateTime 
*result
; 
18580     PyObject 
* obj0 
= 0 ; 
18581     PyObject 
* obj1 
= 0 ; 
18582     PyObject 
* obj2 
= 0 ; 
18583     char *kwnames
[] = { 
18584         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18591         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
18592         if (PyErr_Occurred()) SWIG_fail
; 
18595         arg3 
= (int) SWIG_AsInt(obj2
);  
18596         if (PyErr_Occurred()) SWIG_fail
; 
18599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18601             wxDateTime 
&_result_ref 
= (arg1
)->SetToLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18602             result 
= (wxDateTime 
*) &_result_ref
; 
18605         wxPyEndAllowThreads(__tstate
); 
18606         if (PyErr_Occurred()) SWIG_fail
; 
18608     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18615 static PyObject 
*_wrap_DateTime_GetLastMonthDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18616     PyObject 
*resultobj
; 
18617     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18618     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18619     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18621     PyObject 
* obj0 
= 0 ; 
18622     PyObject 
* obj1 
= 0 ; 
18623     PyObject 
* obj2 
= 0 ; 
18624     char *kwnames
[] = { 
18625         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18629     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18632         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
18633         if (PyErr_Occurred()) SWIG_fail
; 
18636         arg3 
= (int) SWIG_AsInt(obj2
);  
18637         if (PyErr_Occurred()) SWIG_fail
; 
18640         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18641         result 
= (arg1
)->GetLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18643         wxPyEndAllowThreads(__tstate
); 
18644         if (PyErr_Occurred()) SWIG_fail
; 
18647         wxDateTime 
* resultptr
; 
18648         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18649         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18657 static PyObject 
*_wrap_DateTime_SetToYearDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18658     PyObject 
*resultobj
; 
18659     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18661     wxDateTime 
*result
; 
18662     PyObject 
* obj0 
= 0 ; 
18663     PyObject 
* obj1 
= 0 ; 
18664     char *kwnames
[] = { 
18665         (char *) "self",(char *) "yday", NULL 
 
18668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18669     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18670     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18671     arg2 
= (int) SWIG_AsInt(obj1
);  
18672     if (PyErr_Occurred()) SWIG_fail
; 
18674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18676             wxDateTime 
&_result_ref 
= (arg1
)->SetToYearDay(arg2
); 
18677             result 
= (wxDateTime 
*) &_result_ref
; 
18680         wxPyEndAllowThreads(__tstate
); 
18681         if (PyErr_Occurred()) SWIG_fail
; 
18683     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18690 static PyObject 
*_wrap_DateTime_GetYearDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18691     PyObject 
*resultobj
; 
18692     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18695     PyObject 
* obj0 
= 0 ; 
18696     PyObject 
* obj1 
= 0 ; 
18697     char *kwnames
[] = { 
18698         (char *) "self",(char *) "yday", NULL 
 
18701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18704     arg2 
= (int) SWIG_AsInt(obj1
);  
18705     if (PyErr_Occurred()) SWIG_fail
; 
18707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18708         result 
= (arg1
)->GetYearDay(arg2
); 
18710         wxPyEndAllowThreads(__tstate
); 
18711         if (PyErr_Occurred()) SWIG_fail
; 
18714         wxDateTime 
* resultptr
; 
18715         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18716         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18724 static PyObject 
*_wrap_DateTime_GetJulianDayNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18725     PyObject 
*resultobj
; 
18726     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18728     PyObject 
* obj0 
= 0 ; 
18729     char *kwnames
[] = { 
18730         (char *) "self", NULL 
 
18733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
18734     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18738         result 
= (double)(arg1
)->GetJulianDayNumber(); 
18740         wxPyEndAllowThreads(__tstate
); 
18741         if (PyErr_Occurred()) SWIG_fail
; 
18743     resultobj 
= SWIG_FromDouble((double)result
); 
18750 static PyObject 
*_wrap_DateTime_GetJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18751     PyObject 
*resultobj
; 
18752     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18754     PyObject 
* obj0 
= 0 ; 
18755     char *kwnames
[] = { 
18756         (char *) "self", NULL 
 
18759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
; 
18760     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18764         result 
= (double)(arg1
)->GetJDN(); 
18766         wxPyEndAllowThreads(__tstate
); 
18767         if (PyErr_Occurred()) SWIG_fail
; 
18769     resultobj 
= SWIG_FromDouble((double)result
); 
18776 static PyObject 
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18777     PyObject 
*resultobj
; 
18778     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18780     PyObject 
* obj0 
= 0 ; 
18781     char *kwnames
[] = { 
18782         (char *) "self", NULL 
 
18785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
18786     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18787     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18789         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18790         result 
= (double)((wxDateTime 
const *)arg1
)->GetModifiedJulianDayNumber(); 
18792         wxPyEndAllowThreads(__tstate
); 
18793         if (PyErr_Occurred()) SWIG_fail
; 
18795     resultobj 
= SWIG_FromDouble((double)result
); 
18802 static PyObject 
*_wrap_DateTime_GetMJD(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18803     PyObject 
*resultobj
; 
18804     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18806     PyObject 
* obj0 
= 0 ; 
18807     char *kwnames
[] = { 
18808         (char *) "self", NULL 
 
18811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
; 
18812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18816         result 
= (double)(arg1
)->GetMJD(); 
18818         wxPyEndAllowThreads(__tstate
); 
18819         if (PyErr_Occurred()) SWIG_fail
; 
18821     resultobj 
= SWIG_FromDouble((double)result
); 
18828 static PyObject 
*_wrap_DateTime_GetRataDie(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18829     PyObject 
*resultobj
; 
18830     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18832     PyObject 
* obj0 
= 0 ; 
18833     char *kwnames
[] = { 
18834         (char *) "self", NULL 
 
18837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
; 
18838     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18839     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18842         result 
= (double)(arg1
)->GetRataDie(); 
18844         wxPyEndAllowThreads(__tstate
); 
18845         if (PyErr_Occurred()) SWIG_fail
; 
18847     resultobj 
= SWIG_FromDouble((double)result
); 
18854 static PyObject 
*_wrap_DateTime_ToTimezone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18855     PyObject 
*resultobj
; 
18856     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18857     wxDateTime::TimeZone 
*arg2 
= 0 ; 
18858     bool arg3 
= (bool) False 
; 
18860     bool temp2 
= False 
; 
18861     PyObject 
* obj0 
= 0 ; 
18862     PyObject 
* obj1 
= 0 ; 
18863     PyObject 
* obj2 
= 0 ; 
18864     char *kwnames
[] = { 
18865         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
18868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18872         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18876         arg3 
= (bool) SWIG_AsBool(obj2
);  
18877         if (PyErr_Occurred()) SWIG_fail
; 
18880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18881         result 
= (arg1
)->ToTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
18883         wxPyEndAllowThreads(__tstate
); 
18884         if (PyErr_Occurred()) SWIG_fail
; 
18887         wxDateTime 
* resultptr
; 
18888         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18889         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18892         if (temp2
) delete arg2
; 
18897         if (temp2
) delete arg2
; 
18903 static PyObject 
*_wrap_DateTime_MakeTimezone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18904     PyObject 
*resultobj
; 
18905     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18906     wxDateTime::TimeZone 
*arg2 
= 0 ; 
18907     bool arg3 
= (bool) False 
; 
18908     wxDateTime 
*result
; 
18909     bool temp2 
= False 
; 
18910     PyObject 
* obj0 
= 0 ; 
18911     PyObject 
* obj1 
= 0 ; 
18912     PyObject 
* obj2 
= 0 ; 
18913     char *kwnames
[] = { 
18914         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
18917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18921         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18925         arg3 
= (bool) SWIG_AsBool(obj2
);  
18926         if (PyErr_Occurred()) SWIG_fail
; 
18929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18931             wxDateTime 
&_result_ref 
= (arg1
)->MakeTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
18932             result 
= (wxDateTime 
*) &_result_ref
; 
18935         wxPyEndAllowThreads(__tstate
); 
18936         if (PyErr_Occurred()) SWIG_fail
; 
18938     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18940         if (temp2
) delete arg2
; 
18945         if (temp2
) delete arg2
; 
18951 static PyObject 
*_wrap_DateTime_ToGMT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18952     PyObject 
*resultobj
; 
18953     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18954     bool arg2 
= (bool) False 
; 
18956     PyObject 
* obj0 
= 0 ; 
18957     PyObject 
* obj1 
= 0 ; 
18958     char *kwnames
[] = { 
18959         (char *) "self",(char *) "noDST", NULL 
 
18962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
18963     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18964     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18966         arg2 
= (bool) SWIG_AsBool(obj1
);  
18967         if (PyErr_Occurred()) SWIG_fail
; 
18970         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18971         result 
= (arg1
)->ToGMT(arg2
); 
18973         wxPyEndAllowThreads(__tstate
); 
18974         if (PyErr_Occurred()) SWIG_fail
; 
18977         wxDateTime 
* resultptr
; 
18978         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18979         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18987 static PyObject 
*_wrap_DateTime_MakeGMT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18988     PyObject 
*resultobj
; 
18989     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18990     bool arg2 
= (bool) False 
; 
18991     wxDateTime 
*result
; 
18992     PyObject 
* obj0 
= 0 ; 
18993     PyObject 
* obj1 
= 0 ; 
18994     char *kwnames
[] = { 
18995         (char *) "self",(char *) "noDST", NULL 
 
18998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
18999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19002         arg2 
= (bool) SWIG_AsBool(obj1
);  
19003         if (PyErr_Occurred()) SWIG_fail
; 
19006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19008             wxDateTime 
&_result_ref 
= (arg1
)->MakeGMT(arg2
); 
19009             result 
= (wxDateTime 
*) &_result_ref
; 
19012         wxPyEndAllowThreads(__tstate
); 
19013         if (PyErr_Occurred()) SWIG_fail
; 
19015     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19022 static PyObject 
*_wrap_DateTime_IsDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19023     PyObject 
*resultobj
; 
19024     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19025     int arg2 
= (int) wxDateTime::Country_Default 
; 
19027     PyObject 
* obj0 
= 0 ; 
19028     PyObject 
* obj1 
= 0 ; 
19029     char *kwnames
[] = { 
19030         (char *) "self",(char *) "country", NULL 
 
19033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
19034     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19035     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19037         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
19038         if (PyErr_Occurred()) SWIG_fail
; 
19041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19042         result 
= (int)(arg1
)->IsDST((wxDateTime::Country 
)arg2
); 
19044         wxPyEndAllowThreads(__tstate
); 
19045         if (PyErr_Occurred()) SWIG_fail
; 
19047     resultobj 
= SWIG_FromInt((int)result
); 
19054 static PyObject 
*_wrap_DateTime_IsValid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19055     PyObject 
*resultobj
; 
19056     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19058     PyObject 
* obj0 
= 0 ; 
19059     char *kwnames
[] = { 
19060         (char *) "self", NULL 
 
19063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
; 
19064     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19065     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19068         result 
= (bool)((wxDateTime 
const *)arg1
)->IsValid(); 
19070         wxPyEndAllowThreads(__tstate
); 
19071         if (PyErr_Occurred()) SWIG_fail
; 
19074         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19082 static PyObject 
*_wrap_DateTime_GetTicks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19083     PyObject 
*resultobj
; 
19084     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19086     PyObject 
* obj0 
= 0 ; 
19087     char *kwnames
[] = { 
19088         (char *) "self", NULL 
 
19091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
; 
19092     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19093     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19096         result 
= (time_t)((wxDateTime 
const *)arg1
)->GetTicks(); 
19098         wxPyEndAllowThreads(__tstate
); 
19099         if (PyErr_Occurred()) SWIG_fail
; 
19101     resultobj 
= SWIG_FromUnsignedInt((unsigned int)result
); 
19108 static PyObject 
*_wrap_DateTime_GetYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19109     PyObject 
*resultobj
; 
19110     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19111     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19112     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19114     bool temp2 
= False 
; 
19115     PyObject 
* obj0 
= 0 ; 
19116     PyObject 
* obj1 
= 0 ; 
19117     char *kwnames
[] = { 
19118         (char *) "self",(char *) "tz", NULL 
 
19121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
19122     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19126             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19131         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19132         result 
= (int)((wxDateTime 
const *)arg1
)->GetYear((wxDateTime::TimeZone 
const &)*arg2
); 
19134         wxPyEndAllowThreads(__tstate
); 
19135         if (PyErr_Occurred()) SWIG_fail
; 
19137     resultobj 
= SWIG_FromInt((int)result
); 
19139         if (temp2
) delete arg2
; 
19144         if (temp2
) delete arg2
; 
19150 static PyObject 
*_wrap_DateTime_GetMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19151     PyObject 
*resultobj
; 
19152     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19153     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19154     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19156     bool temp2 
= False 
; 
19157     PyObject 
* obj0 
= 0 ; 
19158     PyObject 
* obj1 
= 0 ; 
19159     char *kwnames
[] = { 
19160         (char *) "self",(char *) "tz", NULL 
 
19163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
19164     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19165     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19168             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19174         result 
= (int)((wxDateTime 
const *)arg1
)->GetMonth((wxDateTime::TimeZone 
const &)*arg2
); 
19176         wxPyEndAllowThreads(__tstate
); 
19177         if (PyErr_Occurred()) SWIG_fail
; 
19179     resultobj 
= SWIG_FromInt((int)result
); 
19181         if (temp2
) delete arg2
; 
19186         if (temp2
) delete arg2
; 
19192 static PyObject 
*_wrap_DateTime_GetDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19193     PyObject 
*resultobj
; 
19194     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19195     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19196     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19198     bool temp2 
= False 
; 
19199     PyObject 
* obj0 
= 0 ; 
19200     PyObject 
* obj1 
= 0 ; 
19201     char *kwnames
[] = { 
19202         (char *) "self",(char *) "tz", NULL 
 
19205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19206     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19207     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19210             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19216         result 
= (int)((wxDateTime 
const *)arg1
)->GetDay((wxDateTime::TimeZone 
const &)*arg2
); 
19218         wxPyEndAllowThreads(__tstate
); 
19219         if (PyErr_Occurred()) SWIG_fail
; 
19221     resultobj 
= SWIG_FromInt((int)result
); 
19223         if (temp2
) delete arg2
; 
19228         if (temp2
) delete arg2
; 
19234 static PyObject 
*_wrap_DateTime_GetWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19235     PyObject 
*resultobj
; 
19236     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19237     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19238     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19240     bool temp2 
= False 
; 
19241     PyObject 
* obj0 
= 0 ; 
19242     PyObject 
* obj1 
= 0 ; 
19243     char *kwnames
[] = { 
19244         (char *) "self",(char *) "tz", NULL 
 
19247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19248     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19249     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19252             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19258         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone 
const &)*arg2
); 
19260         wxPyEndAllowThreads(__tstate
); 
19261         if (PyErr_Occurred()) SWIG_fail
; 
19263     resultobj 
= SWIG_FromInt((int)result
); 
19265         if (temp2
) delete arg2
; 
19270         if (temp2
) delete arg2
; 
19276 static PyObject 
*_wrap_DateTime_GetHour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19277     PyObject 
*resultobj
; 
19278     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19279     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19280     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19282     bool temp2 
= False 
; 
19283     PyObject 
* obj0 
= 0 ; 
19284     PyObject 
* obj1 
= 0 ; 
19285     char *kwnames
[] = { 
19286         (char *) "self",(char *) "tz", NULL 
 
19289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19290     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19291     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19294             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19300         result 
= (int)((wxDateTime 
const *)arg1
)->GetHour((wxDateTime::TimeZone 
const &)*arg2
); 
19302         wxPyEndAllowThreads(__tstate
); 
19303         if (PyErr_Occurred()) SWIG_fail
; 
19305     resultobj 
= SWIG_FromInt((int)result
); 
19307         if (temp2
) delete arg2
; 
19312         if (temp2
) delete arg2
; 
19318 static PyObject 
*_wrap_DateTime_GetMinute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19319     PyObject 
*resultobj
; 
19320     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19321     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19322     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19324     bool temp2 
= False 
; 
19325     PyObject 
* obj0 
= 0 ; 
19326     PyObject 
* obj1 
= 0 ; 
19327     char *kwnames
[] = { 
19328         (char *) "self",(char *) "tz", NULL 
 
19331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
19332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19336             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19342         result 
= (int)((wxDateTime 
const *)arg1
)->GetMinute((wxDateTime::TimeZone 
const &)*arg2
); 
19344         wxPyEndAllowThreads(__tstate
); 
19345         if (PyErr_Occurred()) SWIG_fail
; 
19347     resultobj 
= SWIG_FromInt((int)result
); 
19349         if (temp2
) delete arg2
; 
19354         if (temp2
) delete arg2
; 
19360 static PyObject 
*_wrap_DateTime_GetSecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19361     PyObject 
*resultobj
; 
19362     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19363     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19364     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19366     bool temp2 
= False 
; 
19367     PyObject 
* obj0 
= 0 ; 
19368     PyObject 
* obj1 
= 0 ; 
19369     char *kwnames
[] = { 
19370         (char *) "self",(char *) "tz", NULL 
 
19373     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19374     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19375     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19378             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19384         result 
= (int)((wxDateTime 
const *)arg1
)->GetSecond((wxDateTime::TimeZone 
const &)*arg2
); 
19386         wxPyEndAllowThreads(__tstate
); 
19387         if (PyErr_Occurred()) SWIG_fail
; 
19389     resultobj 
= SWIG_FromInt((int)result
); 
19391         if (temp2
) delete arg2
; 
19396         if (temp2
) delete arg2
; 
19402 static PyObject 
*_wrap_DateTime_GetMillisecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19403     PyObject 
*resultobj
; 
19404     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19405     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19406     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19408     bool temp2 
= False 
; 
19409     PyObject 
* obj0 
= 0 ; 
19410     PyObject 
* obj1 
= 0 ; 
19411     char *kwnames
[] = { 
19412         (char *) "self",(char *) "tz", NULL 
 
19415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19420             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19426         result 
= (int)((wxDateTime 
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone 
const &)*arg2
); 
19428         wxPyEndAllowThreads(__tstate
); 
19429         if (PyErr_Occurred()) SWIG_fail
; 
19431     resultobj 
= SWIG_FromInt((int)result
); 
19433         if (temp2
) delete arg2
; 
19438         if (temp2
) delete arg2
; 
19444 static PyObject 
*_wrap_DateTime_GetDayOfYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19445     PyObject 
*resultobj
; 
19446     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19447     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19448     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19450     bool temp2 
= False 
; 
19451     PyObject 
* obj0 
= 0 ; 
19452     PyObject 
* obj1 
= 0 ; 
19453     char *kwnames
[] = { 
19454         (char *) "self",(char *) "tz", NULL 
 
19457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
19458     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19459     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19462             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19468         result 
= (int)((wxDateTime 
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone 
const &)*arg2
); 
19470         wxPyEndAllowThreads(__tstate
); 
19471         if (PyErr_Occurred()) SWIG_fail
; 
19473     resultobj 
= SWIG_FromInt((int)result
); 
19475         if (temp2
) delete arg2
; 
19480         if (temp2
) delete arg2
; 
19486 static PyObject 
*_wrap_DateTime_GetWeekOfYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19487     PyObject 
*resultobj
; 
19488     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19489     int arg2 
= (int) wxDateTime::Monday_First 
; 
19490     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19491     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19493     bool temp3 
= False 
; 
19494     PyObject 
* obj0 
= 0 ; 
19495     PyObject 
* obj1 
= 0 ; 
19496     PyObject 
* obj2 
= 0 ; 
19497     char *kwnames
[] = { 
19498         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19505         arg2 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);  
19506         if (PyErr_Occurred()) SWIG_fail
; 
19510             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19516         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19518         wxPyEndAllowThreads(__tstate
); 
19519         if (PyErr_Occurred()) SWIG_fail
; 
19521     resultobj 
= SWIG_FromInt((int)result
); 
19523         if (temp3
) delete arg3
; 
19528         if (temp3
) delete arg3
; 
19534 static PyObject 
*_wrap_DateTime_GetWeekOfMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19535     PyObject 
*resultobj
; 
19536     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19537     int arg2 
= (int) wxDateTime::Monday_First 
; 
19538     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19539     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19541     bool temp3 
= False 
; 
19542     PyObject 
* obj0 
= 0 ; 
19543     PyObject 
* obj1 
= 0 ; 
19544     PyObject 
* obj2 
= 0 ; 
19545     char *kwnames
[] = { 
19546         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19553         arg2 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);  
19554         if (PyErr_Occurred()) SWIG_fail
; 
19558             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19564         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19566         wxPyEndAllowThreads(__tstate
); 
19567         if (PyErr_Occurred()) SWIG_fail
; 
19569     resultobj 
= SWIG_FromInt((int)result
); 
19571         if (temp3
) delete arg3
; 
19576         if (temp3
) delete arg3
; 
19582 static PyObject 
*_wrap_DateTime_IsWorkDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19583     PyObject 
*resultobj
; 
19584     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19585     int arg2 
= (int) wxDateTime::Country_Default 
; 
19587     PyObject 
* obj0 
= 0 ; 
19588     PyObject 
* obj1 
= 0 ; 
19589     char *kwnames
[] = { 
19590         (char *) "self",(char *) "country", NULL 
 
19593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19594     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19595     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19597         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
19598         if (PyErr_Occurred()) SWIG_fail
; 
19601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19602         result 
= (bool)((wxDateTime 
const *)arg1
)->IsWorkDay((wxDateTime::Country 
)arg2
); 
19604         wxPyEndAllowThreads(__tstate
); 
19605         if (PyErr_Occurred()) SWIG_fail
; 
19608         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19616 static PyObject 
*_wrap_DateTime_IsEqualTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19617     PyObject 
*resultobj
; 
19618     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19619     wxDateTime 
*arg2 
= 0 ; 
19621     PyObject 
* obj0 
= 0 ; 
19622     PyObject 
* obj1 
= 0 ; 
19623     char *kwnames
[] = { 
19624         (char *) "self",(char *) "datetime", NULL 
 
19627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
19628     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19630     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19631     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19633     if (arg2 
== NULL
) { 
19634         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19639         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualTo((wxDateTime 
const &)*arg2
); 
19641         wxPyEndAllowThreads(__tstate
); 
19642         if (PyErr_Occurred()) SWIG_fail
; 
19645         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19653 static PyObject 
*_wrap_DateTime_IsEarlierThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19654     PyObject 
*resultobj
; 
19655     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19656     wxDateTime 
*arg2 
= 0 ; 
19658     PyObject 
* obj0 
= 0 ; 
19659     PyObject 
* obj1 
= 0 ; 
19660     char *kwnames
[] = { 
19661         (char *) "self",(char *) "datetime", NULL 
 
19664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19667     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19668     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19670     if (arg2 
== NULL
) { 
19671         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19675         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19676         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEarlierThan((wxDateTime 
const &)*arg2
); 
19678         wxPyEndAllowThreads(__tstate
); 
19679         if (PyErr_Occurred()) SWIG_fail
; 
19682         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19690 static PyObject 
*_wrap_DateTime_IsLaterThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19691     PyObject 
*resultobj
; 
19692     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19693     wxDateTime 
*arg2 
= 0 ; 
19695     PyObject 
* obj0 
= 0 ; 
19696     PyObject 
* obj1 
= 0 ; 
19697     char *kwnames
[] = { 
19698         (char *) "self",(char *) "datetime", NULL 
 
19701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19704     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19707     if (arg2 
== NULL
) { 
19708         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19713         result 
= (bool)((wxDateTime 
const *)arg1
)->IsLaterThan((wxDateTime 
const &)*arg2
); 
19715         wxPyEndAllowThreads(__tstate
); 
19716         if (PyErr_Occurred()) SWIG_fail
; 
19719         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19727 static PyObject 
*_wrap_DateTime_IsStrictlyBetween(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19728     PyObject 
*resultobj
; 
19729     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19730     wxDateTime 
*arg2 
= 0 ; 
19731     wxDateTime 
*arg3 
= 0 ; 
19733     PyObject 
* obj0 
= 0 ; 
19734     PyObject 
* obj1 
= 0 ; 
19735     PyObject 
* obj2 
= 0 ; 
19736     char *kwnames
[] = { 
19737         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
19740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19743     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19746     if (arg2 
== NULL
) { 
19747         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19750     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
19751     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19753     if (arg3 
== NULL
) { 
19754         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19759         result 
= (bool)((wxDateTime 
const *)arg1
)->IsStrictlyBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
19761         wxPyEndAllowThreads(__tstate
); 
19762         if (PyErr_Occurred()) SWIG_fail
; 
19765         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19773 static PyObject 
*_wrap_DateTime_IsBetween(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19774     PyObject 
*resultobj
; 
19775     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19776     wxDateTime 
*arg2 
= 0 ; 
19777     wxDateTime 
*arg3 
= 0 ; 
19779     PyObject 
* obj0 
= 0 ; 
19780     PyObject 
* obj1 
= 0 ; 
19781     PyObject 
* obj2 
= 0 ; 
19782     char *kwnames
[] = { 
19783         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
19786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19789     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19790     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19792     if (arg2 
== NULL
) { 
19793         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19796     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
19797     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19799     if (arg3 
== NULL
) { 
19800         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19804         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19805         result 
= (bool)((wxDateTime 
const *)arg1
)->IsBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
19807         wxPyEndAllowThreads(__tstate
); 
19808         if (PyErr_Occurred()) SWIG_fail
; 
19811         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19819 static PyObject 
*_wrap_DateTime_IsSameDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19820     PyObject 
*resultobj
; 
19821     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19822     wxDateTime 
*arg2 
= 0 ; 
19824     PyObject 
* obj0 
= 0 ; 
19825     PyObject 
* obj1 
= 0 ; 
19826     char *kwnames
[] = { 
19827         (char *) "self",(char *) "dt", NULL 
 
19830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
19831     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19833     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19834     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19836     if (arg2 
== NULL
) { 
19837         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19842         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameDate((wxDateTime 
const &)*arg2
); 
19844         wxPyEndAllowThreads(__tstate
); 
19845         if (PyErr_Occurred()) SWIG_fail
; 
19848         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19856 static PyObject 
*_wrap_DateTime_IsSameTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19857     PyObject 
*resultobj
; 
19858     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19859     wxDateTime 
*arg2 
= 0 ; 
19861     PyObject 
* obj0 
= 0 ; 
19862     PyObject 
* obj1 
= 0 ; 
19863     char *kwnames
[] = { 
19864         (char *) "self",(char *) "dt", NULL 
 
19867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
19868     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19869     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19870     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19871     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19873     if (arg2 
== NULL
) { 
19874         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19879         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameTime((wxDateTime 
const &)*arg2
); 
19881         wxPyEndAllowThreads(__tstate
); 
19882         if (PyErr_Occurred()) SWIG_fail
; 
19885         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19893 static PyObject 
*_wrap_DateTime_IsEqualUpTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19894     PyObject 
*resultobj
; 
19895     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19896     wxDateTime 
*arg2 
= 0 ; 
19897     wxTimeSpan 
*arg3 
= 0 ; 
19899     PyObject 
* obj0 
= 0 ; 
19900     PyObject 
* obj1 
= 0 ; 
19901     PyObject 
* obj2 
= 0 ; 
19902     char *kwnames
[] = { 
19903         (char *) "self",(char *) "dt",(char *) "ts", NULL 
 
19906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19907     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19908     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19909     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19912     if (arg2 
== NULL
) { 
19913         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19916     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
, 
19917     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19919     if (arg3 
== NULL
) { 
19920         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19925         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualUpTo((wxDateTime 
const &)*arg2
,(wxTimeSpan 
const &)*arg3
); 
19927         wxPyEndAllowThreads(__tstate
); 
19928         if (PyErr_Occurred()) SWIG_fail
; 
19931         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19939 static PyObject 
*_wrap_DateTime_AddTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19940     PyObject 
*resultobj
; 
19941     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19942     wxTimeSpan 
*arg2 
= 0 ; 
19943     wxDateTime 
*result
; 
19944     PyObject 
* obj0 
= 0 ; 
19945     PyObject 
* obj1 
= 0 ; 
19946     char *kwnames
[] = { 
19947         (char *) "self",(char *) "diff", NULL 
 
19950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19951     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19952     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19953     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
19954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19956     if (arg2 
== NULL
) { 
19957         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19963             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
19964             result 
= (wxDateTime 
*) &_result_ref
; 
19967         wxPyEndAllowThreads(__tstate
); 
19968         if (PyErr_Occurred()) SWIG_fail
; 
19970     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19977 static PyObject 
*_wrap_DateTime_AddDS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19978     PyObject 
*resultobj
; 
19979     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19980     wxDateSpan 
*arg2 
= 0 ; 
19981     wxDateTime 
*result
; 
19982     PyObject 
* obj0 
= 0 ; 
19983     PyObject 
* obj1 
= 0 ; 
19984     char *kwnames
[] = { 
19985         (char *) "self",(char *) "diff", NULL 
 
19988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19989     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19990     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19991     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
19992     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19994     if (arg2 
== NULL
) { 
19995         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20001             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
20002             result 
= (wxDateTime 
*) &_result_ref
; 
20005         wxPyEndAllowThreads(__tstate
); 
20006         if (PyErr_Occurred()) SWIG_fail
; 
20008     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20015 static PyObject 
*_wrap_DateTime_SubtractTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20016     PyObject 
*resultobj
; 
20017     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20018     wxTimeSpan 
*arg2 
= 0 ; 
20019     wxDateTime 
*result
; 
20020     PyObject 
* obj0 
= 0 ; 
20021     PyObject 
* obj1 
= 0 ; 
20022     char *kwnames
[] = { 
20023         (char *) "self",(char *) "diff", NULL 
 
20026     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
20027     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20028     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20029     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20030     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20032     if (arg2 
== NULL
) { 
20033         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20039             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
20040             result 
= (wxDateTime 
*) &_result_ref
; 
20043         wxPyEndAllowThreads(__tstate
); 
20044         if (PyErr_Occurred()) SWIG_fail
; 
20046     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20053 static PyObject 
*_wrap_DateTime_SubtractDS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20054     PyObject 
*resultobj
; 
20055     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20056     wxDateSpan 
*arg2 
= 0 ; 
20057     wxDateTime 
*result
; 
20058     PyObject 
* obj0 
= 0 ; 
20059     PyObject 
* obj1 
= 0 ; 
20060     char *kwnames
[] = { 
20061         (char *) "self",(char *) "diff", NULL 
 
20064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
20065     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20066     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20067     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20068     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20070     if (arg2 
== NULL
) { 
20071         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20077             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
20078             result 
= (wxDateTime 
*) &_result_ref
; 
20081         wxPyEndAllowThreads(__tstate
); 
20082         if (PyErr_Occurred()) SWIG_fail
; 
20084     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20091 static PyObject 
*_wrap_DateTime_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20092     PyObject 
*resultobj
; 
20093     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20094     wxDateTime 
*arg2 
= 0 ; 
20096     PyObject 
* obj0 
= 0 ; 
20097     PyObject 
* obj1 
= 0 ; 
20098     char *kwnames
[] = { 
20099         (char *) "self",(char *) "dt", NULL 
 
20102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
20103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20105     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20108     if (arg2 
== NULL
) { 
20109         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20114         result 
= ((wxDateTime 
const *)arg1
)->Subtract((wxDateTime 
const &)*arg2
); 
20116         wxPyEndAllowThreads(__tstate
); 
20117         if (PyErr_Occurred()) SWIG_fail
; 
20120         wxTimeSpan 
* resultptr
; 
20121         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
20122         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
20130 static PyObject 
*_wrap_DateTime___iadd____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20131     PyObject 
*resultobj
; 
20132     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20133     wxTimeSpan 
*arg2 
= 0 ; 
20134     wxDateTime 
*result
; 
20135     PyObject 
* obj0 
= 0 ; 
20136     PyObject 
* obj1 
= 0 ; 
20138     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
20139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20141     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20142     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20144     if (arg2 
== NULL
) { 
20145         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20151             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
20152             result 
= (wxDateTime 
*) &_result_ref
; 
20155         wxPyEndAllowThreads(__tstate
); 
20156         if (PyErr_Occurred()) SWIG_fail
; 
20158     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20165 static PyObject 
*_wrap_DateTime___iadd____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20166     PyObject 
*resultobj
; 
20167     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20168     wxDateSpan 
*arg2 
= 0 ; 
20169     wxDateTime 
*result
; 
20170     PyObject 
* obj0 
= 0 ; 
20171     PyObject 
* obj1 
= 0 ; 
20173     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
20174     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20175     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20176     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20179     if (arg2 
== NULL
) { 
20180         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20186             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
20187             result 
= (wxDateTime 
*) &_result_ref
; 
20190         wxPyEndAllowThreads(__tstate
); 
20191         if (PyErr_Occurred()) SWIG_fail
; 
20193     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20200 static PyObject 
*_wrap_DateTime___iadd__(PyObject 
*self
, PyObject 
*args
) { 
20205     argc 
= PyObject_Length(args
); 
20206     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20207         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20213             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20223                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20231                 return _wrap_DateTime___iadd____SWIG_0(self
,args
); 
20239             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20249                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20257                 return _wrap_DateTime___iadd____SWIG_1(self
,args
); 
20262     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'"); 
20267 static PyObject 
*_wrap_DateTime___isub____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20268     PyObject 
*resultobj
; 
20269     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20270     wxTimeSpan 
*arg2 
= 0 ; 
20271     wxDateTime 
*result
; 
20272     PyObject 
* obj0 
= 0 ; 
20273     PyObject 
* obj1 
= 0 ; 
20275     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20276     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20277     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20278     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20279     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20281     if (arg2 
== NULL
) { 
20282         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20286         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20288             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
20289             result 
= (wxDateTime 
*) &_result_ref
; 
20292         wxPyEndAllowThreads(__tstate
); 
20293         if (PyErr_Occurred()) SWIG_fail
; 
20295     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20302 static PyObject 
*_wrap_DateTime___isub____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20303     PyObject 
*resultobj
; 
20304     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20305     wxDateSpan 
*arg2 
= 0 ; 
20306     wxDateTime 
*result
; 
20307     PyObject 
* obj0 
= 0 ; 
20308     PyObject 
* obj1 
= 0 ; 
20310     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20311     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20312     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20313     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20314     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20316     if (arg2 
== NULL
) { 
20317         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20323             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
20324             result 
= (wxDateTime 
*) &_result_ref
; 
20327         wxPyEndAllowThreads(__tstate
); 
20328         if (PyErr_Occurred()) SWIG_fail
; 
20330     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20337 static PyObject 
*_wrap_DateTime___isub__(PyObject 
*self
, PyObject 
*args
) { 
20342     argc 
= PyObject_Length(args
); 
20343     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20344         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20350             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20360                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20368                 return _wrap_DateTime___isub____SWIG_0(self
,args
); 
20376             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20386                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20394                 return _wrap_DateTime___isub____SWIG_1(self
,args
); 
20399     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'"); 
20404 static PyObject 
*_wrap_DateTime___add____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20405     PyObject 
*resultobj
; 
20406     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20407     wxTimeSpan 
*arg2 
= 0 ; 
20409     PyObject 
* obj0 
= 0 ; 
20410     PyObject 
* obj1 
= 0 ; 
20412     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20413     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20414     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20415     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20418     if (arg2 
== NULL
) { 
20419         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20424         result 
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan 
const &)*arg2
); 
20426         wxPyEndAllowThreads(__tstate
); 
20427         if (PyErr_Occurred()) SWIG_fail
; 
20430         wxDateTime 
* resultptr
; 
20431         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20432         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20440 static PyObject 
*_wrap_DateTime___add____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20441     PyObject 
*resultobj
; 
20442     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20443     wxDateSpan 
*arg2 
= 0 ; 
20445     PyObject 
* obj0 
= 0 ; 
20446     PyObject 
* obj1 
= 0 ; 
20448     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20449     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20450     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20451     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20454     if (arg2 
== NULL
) { 
20455         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20460         result 
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan 
const &)*arg2
); 
20462         wxPyEndAllowThreads(__tstate
); 
20463         if (PyErr_Occurred()) SWIG_fail
; 
20466         wxDateTime 
* resultptr
; 
20467         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20468         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20476 static PyObject 
*_wrap_DateTime___add__(PyObject 
*self
, PyObject 
*args
) { 
20481     argc 
= PyObject_Length(args
); 
20482     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20483         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20489             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20499                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20507                 return _wrap_DateTime___add____SWIG_0(self
,args
); 
20515             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20525                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20533                 return _wrap_DateTime___add____SWIG_1(self
,args
); 
20538     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'"); 
20543 static PyObject 
*_wrap_DateTime___sub____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20544     PyObject 
*resultobj
; 
20545     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20546     wxDateTime 
*arg2 
= 0 ; 
20548     PyObject 
* obj0 
= 0 ; 
20549     PyObject 
* obj1 
= 0 ; 
20551     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20552     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20554     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20555     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20557     if (arg2 
== NULL
) { 
20558         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20563         result 
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime 
const &)*arg2
); 
20565         wxPyEndAllowThreads(__tstate
); 
20566         if (PyErr_Occurred()) SWIG_fail
; 
20569         wxTimeSpan 
* resultptr
; 
20570         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
20571         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
20579 static PyObject 
*_wrap_DateTime___sub____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20580     PyObject 
*resultobj
; 
20581     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20582     wxTimeSpan 
*arg2 
= 0 ; 
20584     PyObject 
* obj0 
= 0 ; 
20585     PyObject 
* obj1 
= 0 ; 
20587     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20590     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20591     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20593     if (arg2 
== NULL
) { 
20594         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20599         result 
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan 
const &)*arg2
); 
20601         wxPyEndAllowThreads(__tstate
); 
20602         if (PyErr_Occurred()) SWIG_fail
; 
20605         wxDateTime 
* resultptr
; 
20606         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20607         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20615 static PyObject 
*_wrap_DateTime___sub____SWIG_2(PyObject 
*self
, PyObject 
*args
) { 
20616     PyObject 
*resultobj
; 
20617     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20618     wxDateSpan 
*arg2 
= 0 ; 
20620     PyObject 
* obj0 
= 0 ; 
20621     PyObject 
* obj1 
= 0 ; 
20623     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20624     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20625     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20626     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20629     if (arg2 
== NULL
) { 
20630         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20635         result 
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan 
const &)*arg2
); 
20637         wxPyEndAllowThreads(__tstate
); 
20638         if (PyErr_Occurred()) SWIG_fail
; 
20641         wxDateTime 
* resultptr
; 
20642         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20643         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20651 static PyObject 
*_wrap_DateTime___sub__(PyObject 
*self
, PyObject 
*args
) { 
20656     argc 
= PyObject_Length(args
); 
20657     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20658         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20664             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20674                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20682                 return _wrap_DateTime___sub____SWIG_0(self
,args
); 
20690             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20700                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20708                 return _wrap_DateTime___sub____SWIG_1(self
,args
); 
20716             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20726                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20734                 return _wrap_DateTime___sub____SWIG_2(self
,args
); 
20739     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'"); 
20744 static PyObject 
*_wrap_DateTime___lt__(PyObject 
*self
, PyObject 
*args
) { 
20745     PyObject 
*resultobj
; 
20746     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20747     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20749     PyObject 
* obj0 
= 0 ; 
20750     PyObject 
* obj1 
= 0 ; 
20752     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
; 
20753     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20755     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20756     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20759         result 
= (bool)wxDateTime___lt__(arg1
,(wxDateTime 
const *)arg2
); 
20761         wxPyEndAllowThreads(__tstate
); 
20762         if (PyErr_Occurred()) SWIG_fail
; 
20765         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20773 static PyObject 
*_wrap_DateTime___le__(PyObject 
*self
, PyObject 
*args
) { 
20774     PyObject 
*resultobj
; 
20775     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20776     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20778     PyObject 
* obj0 
= 0 ; 
20779     PyObject 
* obj1 
= 0 ; 
20781     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
; 
20782     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20783     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20784     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20785     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20788         result 
= (bool)wxDateTime___le__(arg1
,(wxDateTime 
const *)arg2
); 
20790         wxPyEndAllowThreads(__tstate
); 
20791         if (PyErr_Occurred()) SWIG_fail
; 
20794         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20802 static PyObject 
*_wrap_DateTime___gt__(PyObject 
*self
, PyObject 
*args
) { 
20803     PyObject 
*resultobj
; 
20804     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20805     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20807     PyObject 
* obj0 
= 0 ; 
20808     PyObject 
* obj1 
= 0 ; 
20810     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
; 
20811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20813     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20814     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20817         result 
= (bool)wxDateTime___gt__(arg1
,(wxDateTime 
const *)arg2
); 
20819         wxPyEndAllowThreads(__tstate
); 
20820         if (PyErr_Occurred()) SWIG_fail
; 
20823         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20831 static PyObject 
*_wrap_DateTime___ge__(PyObject 
*self
, PyObject 
*args
) { 
20832     PyObject 
*resultobj
; 
20833     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20834     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20836     PyObject 
* obj0 
= 0 ; 
20837     PyObject 
* obj1 
= 0 ; 
20839     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
; 
20840     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20841     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20842     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20846         result 
= (bool)wxDateTime___ge__(arg1
,(wxDateTime 
const *)arg2
); 
20848         wxPyEndAllowThreads(__tstate
); 
20849         if (PyErr_Occurred()) SWIG_fail
; 
20852         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20860 static PyObject 
*_wrap_DateTime___eq__(PyObject 
*self
, PyObject 
*args
) { 
20861     PyObject 
*resultobj
; 
20862     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20863     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20865     PyObject 
* obj0 
= 0 ; 
20866     PyObject 
* obj1 
= 0 ; 
20868     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
; 
20869     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20870     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20871     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20875         result 
= (bool)wxDateTime___eq__(arg1
,(wxDateTime 
const *)arg2
); 
20877         wxPyEndAllowThreads(__tstate
); 
20878         if (PyErr_Occurred()) SWIG_fail
; 
20881         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20889 static PyObject 
*_wrap_DateTime___ne__(PyObject 
*self
, PyObject 
*args
) { 
20890     PyObject 
*resultobj
; 
20891     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20892     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20894     PyObject 
* obj0 
= 0 ; 
20895     PyObject 
* obj1 
= 0 ; 
20897     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
; 
20898     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20899     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20900     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20901     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20904         result 
= (bool)wxDateTime___ne__(arg1
,(wxDateTime 
const *)arg2
); 
20906         wxPyEndAllowThreads(__tstate
); 
20907         if (PyErr_Occurred()) SWIG_fail
; 
20910         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20918 static PyObject 
*_wrap_DateTime_ParseRfc822Date(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20919     PyObject 
*resultobj
; 
20920     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20921     wxString 
*arg2 
= 0 ; 
20923     bool temp2 
= False 
; 
20924     PyObject 
* obj0 
= 0 ; 
20925     PyObject 
* obj1 
= 0 ; 
20926     char *kwnames
[] = { 
20927         (char *) "self",(char *) "date", NULL 
 
20930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
; 
20931     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20932     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20934         arg2 
= wxString_in_helper(obj1
); 
20935         if (arg2 
== NULL
) SWIG_fail
; 
20939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20940         result 
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString 
const &)*arg2
); 
20942         wxPyEndAllowThreads(__tstate
); 
20943         if (PyErr_Occurred()) SWIG_fail
; 
20945     resultobj 
= SWIG_FromInt((int)result
); 
20960 static PyObject 
*_wrap_DateTime_ParseFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20961     PyObject 
*resultobj
; 
20962     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20963     wxString 
*arg2 
= 0 ; 
20964     wxString 
const &arg3_defvalue 
= wxPyDateFormatStr 
; 
20965     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20966     wxDateTime 
const &arg4_defvalue 
= wxDefaultDateTime 
; 
20967     wxDateTime 
*arg4 
= (wxDateTime 
*) &arg4_defvalue 
; 
20969     bool temp2 
= False 
; 
20970     bool temp3 
= False 
; 
20971     PyObject 
* obj0 
= 0 ; 
20972     PyObject 
* obj1 
= 0 ; 
20973     PyObject 
* obj2 
= 0 ; 
20974     PyObject 
* obj3 
= 0 ; 
20975     char *kwnames
[] = { 
20976         (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL 
 
20979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20980     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20983         arg2 
= wxString_in_helper(obj1
); 
20984         if (arg2 
== NULL
) SWIG_fail
; 
20989             arg3 
= wxString_in_helper(obj2
); 
20990             if (arg3 
== NULL
) SWIG_fail
; 
20995         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
, 
20996         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20998         if (arg4 
== NULL
) { 
20999             PyErr_SetString(PyExc_TypeError
,"null reference"); 
21004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21005         result 
= (int)wxDateTime_ParseFormat(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxDateTime 
const &)*arg4
); 
21007         wxPyEndAllowThreads(__tstate
); 
21008         if (PyErr_Occurred()) SWIG_fail
; 
21010     resultobj 
= SWIG_FromInt((int)result
); 
21033 static PyObject 
*_wrap_DateTime_ParseDateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21034     PyObject 
*resultobj
; 
21035     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21036     wxString 
*arg2 
= 0 ; 
21038     bool temp2 
= False 
; 
21039     PyObject 
* obj0 
= 0 ; 
21040     PyObject 
* obj1 
= 0 ; 
21041     char *kwnames
[] = { 
21042         (char *) "self",(char *) "datetime", NULL 
 
21045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
21046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21049         arg2 
= wxString_in_helper(obj1
); 
21050         if (arg2 
== NULL
) SWIG_fail
; 
21054         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21055         result 
= (int)wxDateTime_ParseDateTime(arg1
,(wxString 
const &)*arg2
); 
21057         wxPyEndAllowThreads(__tstate
); 
21058         if (PyErr_Occurred()) SWIG_fail
; 
21060     resultobj 
= SWIG_FromInt((int)result
); 
21075 static PyObject 
*_wrap_DateTime_ParseDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21076     PyObject 
*resultobj
; 
21077     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21078     wxString 
*arg2 
= 0 ; 
21080     bool temp2 
= False 
; 
21081     PyObject 
* obj0 
= 0 ; 
21082     PyObject 
* obj1 
= 0 ; 
21083     char *kwnames
[] = { 
21084         (char *) "self",(char *) "date", NULL 
 
21087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
21088     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21089     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21091         arg2 
= wxString_in_helper(obj1
); 
21092         if (arg2 
== NULL
) SWIG_fail
; 
21096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21097         result 
= (int)wxDateTime_ParseDate(arg1
,(wxString 
const &)*arg2
); 
21099         wxPyEndAllowThreads(__tstate
); 
21100         if (PyErr_Occurred()) SWIG_fail
; 
21102     resultobj 
= SWIG_FromInt((int)result
); 
21117 static PyObject 
*_wrap_DateTime_ParseTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21118     PyObject 
*resultobj
; 
21119     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21120     wxString 
*arg2 
= 0 ; 
21122     bool temp2 
= False 
; 
21123     PyObject 
* obj0 
= 0 ; 
21124     PyObject 
* obj1 
= 0 ; 
21125     char *kwnames
[] = { 
21126         (char *) "self",(char *) "time", NULL 
 
21129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
21130     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21131     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21133         arg2 
= wxString_in_helper(obj1
); 
21134         if (arg2 
== NULL
) SWIG_fail
; 
21138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21139         result 
= (int)wxDateTime_ParseTime(arg1
,(wxString 
const &)*arg2
); 
21141         wxPyEndAllowThreads(__tstate
); 
21142         if (PyErr_Occurred()) SWIG_fail
; 
21144     resultobj 
= SWIG_FromInt((int)result
); 
21159 static PyObject 
*_wrap_DateTime_Format(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21160     PyObject 
*resultobj
; 
21161     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21162     wxString 
const &arg2_defvalue 
= wxPyDateFormatStr 
; 
21163     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
21164     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
21165     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
21167     bool temp2 
= False 
; 
21168     bool temp3 
= False 
; 
21169     PyObject 
* obj0 
= 0 ; 
21170     PyObject 
* obj1 
= 0 ; 
21171     PyObject 
* obj2 
= 0 ; 
21172     char *kwnames
[] = { 
21173         (char *) "self",(char *) "format",(char *) "tz", NULL 
 
21176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21177     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21178     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21181             arg2 
= wxString_in_helper(obj1
); 
21182             if (arg2 
== NULL
) SWIG_fail
; 
21188             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
21193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21194         result 
= ((wxDateTime 
const *)arg1
)->Format((wxString 
const &)*arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
21196         wxPyEndAllowThreads(__tstate
); 
21197         if (PyErr_Occurred()) SWIG_fail
; 
21201         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21203         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21211         if (temp3
) delete arg3
; 
21220         if (temp3
) delete arg3
; 
21226 static PyObject 
*_wrap_DateTime_FormatDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21227     PyObject 
*resultobj
; 
21228     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21230     PyObject 
* obj0 
= 0 ; 
21231     char *kwnames
[] = { 
21232         (char *) "self", NULL 
 
21235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
; 
21236     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21237     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21240         result 
= ((wxDateTime 
const *)arg1
)->FormatDate(); 
21242         wxPyEndAllowThreads(__tstate
); 
21243         if (PyErr_Occurred()) SWIG_fail
; 
21247         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21249         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21258 static PyObject 
*_wrap_DateTime_FormatTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21259     PyObject 
*resultobj
; 
21260     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21262     PyObject 
* obj0 
= 0 ; 
21263     char *kwnames
[] = { 
21264         (char *) "self", NULL 
 
21267     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
; 
21268     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21269     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21272         result 
= ((wxDateTime 
const *)arg1
)->FormatTime(); 
21274         wxPyEndAllowThreads(__tstate
); 
21275         if (PyErr_Occurred()) SWIG_fail
; 
21279         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21281         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21290 static PyObject 
*_wrap_DateTime_FormatISODate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21291     PyObject 
*resultobj
; 
21292     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21294     PyObject 
* obj0 
= 0 ; 
21295     char *kwnames
[] = { 
21296         (char *) "self", NULL 
 
21299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
; 
21300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21304         result 
= ((wxDateTime 
const *)arg1
)->FormatISODate(); 
21306         wxPyEndAllowThreads(__tstate
); 
21307         if (PyErr_Occurred()) SWIG_fail
; 
21311         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21313         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21322 static PyObject 
*_wrap_DateTime_FormatISOTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21323     PyObject 
*resultobj
; 
21324     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21326     PyObject 
* obj0 
= 0 ; 
21327     char *kwnames
[] = { 
21328         (char *) "self", NULL 
 
21331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
; 
21332     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21333     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21336         result 
= ((wxDateTime 
const *)arg1
)->FormatISOTime(); 
21338         wxPyEndAllowThreads(__tstate
); 
21339         if (PyErr_Occurred()) SWIG_fail
; 
21343         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21345         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21354 static PyObject 
* DateTime_swigregister(PyObject 
*self
, PyObject 
*args
) { 
21356     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21357     SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
); 
21359     return Py_BuildValue((char *)""); 
21361 static PyObject 
*_wrap_TimeSpan_Seconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21362     PyObject 
*resultobj
; 
21365     PyObject 
* obj0 
= 0 ; 
21366     char *kwnames
[] = { 
21367         (char *) "sec", NULL 
 
21370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
; 
21371     arg1 
= (long) SWIG_AsLong(obj0
);  
21372     if (PyErr_Occurred()) SWIG_fail
; 
21374         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21375         result 
= wxTimeSpan::Seconds(arg1
); 
21377         wxPyEndAllowThreads(__tstate
); 
21378         if (PyErr_Occurred()) SWIG_fail
; 
21381         wxTimeSpan 
* resultptr
; 
21382         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21383         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21391 static PyObject 
*_wrap_TimeSpan_Second(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21392     PyObject 
*resultobj
; 
21394     char *kwnames
[] = { 
21398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
; 
21400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21401         result 
= wxTimeSpan::Second(); 
21403         wxPyEndAllowThreads(__tstate
); 
21404         if (PyErr_Occurred()) SWIG_fail
; 
21407         wxTimeSpan 
* resultptr
; 
21408         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21409         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21417 static PyObject 
*_wrap_TimeSpan_Minutes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21418     PyObject 
*resultobj
; 
21421     PyObject 
* obj0 
= 0 ; 
21422     char *kwnames
[] = { 
21423         (char *) "min", NULL 
 
21426     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
; 
21427     arg1 
= (long) SWIG_AsLong(obj0
);  
21428     if (PyErr_Occurred()) SWIG_fail
; 
21430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21431         result 
= wxTimeSpan::Minutes(arg1
); 
21433         wxPyEndAllowThreads(__tstate
); 
21434         if (PyErr_Occurred()) SWIG_fail
; 
21437         wxTimeSpan 
* resultptr
; 
21438         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21439         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21447 static PyObject 
*_wrap_TimeSpan_Minute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21448     PyObject 
*resultobj
; 
21450     char *kwnames
[] = { 
21454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
; 
21456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21457         result 
= wxTimeSpan::Minute(); 
21459         wxPyEndAllowThreads(__tstate
); 
21460         if (PyErr_Occurred()) SWIG_fail
; 
21463         wxTimeSpan 
* resultptr
; 
21464         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21465         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21473 static PyObject 
*_wrap_TimeSpan_Hours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21474     PyObject 
*resultobj
; 
21477     PyObject 
* obj0 
= 0 ; 
21478     char *kwnames
[] = { 
21479         (char *) "hours", NULL 
 
21482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
; 
21483     arg1 
= (long) SWIG_AsLong(obj0
);  
21484     if (PyErr_Occurred()) SWIG_fail
; 
21486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21487         result 
= wxTimeSpan::Hours(arg1
); 
21489         wxPyEndAllowThreads(__tstate
); 
21490         if (PyErr_Occurred()) SWIG_fail
; 
21493         wxTimeSpan 
* resultptr
; 
21494         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21495         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21503 static PyObject 
*_wrap_TimeSpan_Hour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21504     PyObject 
*resultobj
; 
21506     char *kwnames
[] = { 
21510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
; 
21512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21513         result 
= wxTimeSpan::Hour(); 
21515         wxPyEndAllowThreads(__tstate
); 
21516         if (PyErr_Occurred()) SWIG_fail
; 
21519         wxTimeSpan 
* resultptr
; 
21520         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21521         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21529 static PyObject 
*_wrap_TimeSpan_Days(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21530     PyObject 
*resultobj
; 
21533     PyObject 
* obj0 
= 0 ; 
21534     char *kwnames
[] = { 
21535         (char *) "days", NULL 
 
21538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
; 
21539     arg1 
= (long) SWIG_AsLong(obj0
);  
21540     if (PyErr_Occurred()) SWIG_fail
; 
21542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21543         result 
= wxTimeSpan::Days(arg1
); 
21545         wxPyEndAllowThreads(__tstate
); 
21546         if (PyErr_Occurred()) SWIG_fail
; 
21549         wxTimeSpan 
* resultptr
; 
21550         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21551         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21559 static PyObject 
*_wrap_TimeSpan_Day(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21560     PyObject 
*resultobj
; 
21562     char *kwnames
[] = { 
21566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
; 
21568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21569         result 
= wxTimeSpan::Day(); 
21571         wxPyEndAllowThreads(__tstate
); 
21572         if (PyErr_Occurred()) SWIG_fail
; 
21575         wxTimeSpan 
* resultptr
; 
21576         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21577         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21585 static PyObject 
*_wrap_TimeSpan_Weeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21586     PyObject 
*resultobj
; 
21589     PyObject 
* obj0 
= 0 ; 
21590     char *kwnames
[] = { 
21591         (char *) "days", NULL 
 
21594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
21595     arg1 
= (long) SWIG_AsLong(obj0
);  
21596     if (PyErr_Occurred()) SWIG_fail
; 
21598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21599         result 
= wxTimeSpan::Weeks(arg1
); 
21601         wxPyEndAllowThreads(__tstate
); 
21602         if (PyErr_Occurred()) SWIG_fail
; 
21605         wxTimeSpan 
* resultptr
; 
21606         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21607         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21615 static PyObject 
*_wrap_TimeSpan_Week(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21616     PyObject 
*resultobj
; 
21618     char *kwnames
[] = { 
21622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
; 
21624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21625         result 
= wxTimeSpan::Week(); 
21627         wxPyEndAllowThreads(__tstate
); 
21628         if (PyErr_Occurred()) SWIG_fail
; 
21631         wxTimeSpan 
* resultptr
; 
21632         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21633         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21641 static PyObject 
*_wrap_new_TimeSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21642     PyObject 
*resultobj
; 
21643     long arg1 
= (long) 0 ; 
21644     long arg2 
= (long) 0 ; 
21645     long arg3 
= (long) 0 ; 
21646     long arg4 
= (long) 0 ; 
21647     wxTimeSpan 
*result
; 
21648     PyObject 
* obj0 
= 0 ; 
21649     PyObject 
* obj1 
= 0 ; 
21650     PyObject 
* obj2 
= 0 ; 
21651     PyObject 
* obj3 
= 0 ; 
21652     char *kwnames
[] = { 
21653         (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL 
 
21656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21658         arg1 
= (long) SWIG_AsLong(obj0
);  
21659         if (PyErr_Occurred()) SWIG_fail
; 
21662         arg2 
= (long) SWIG_AsLong(obj1
);  
21663         if (PyErr_Occurred()) SWIG_fail
; 
21666         arg3 
= (long) SWIG_AsLong(obj2
);  
21667         if (PyErr_Occurred()) SWIG_fail
; 
21670         arg4 
= (long) SWIG_AsLong(obj3
);  
21671         if (PyErr_Occurred()) SWIG_fail
; 
21674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21675         result 
= (wxTimeSpan 
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
); 
21677         wxPyEndAllowThreads(__tstate
); 
21678         if (PyErr_Occurred()) SWIG_fail
; 
21680     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1); 
21687 static PyObject 
*_wrap_delete_TimeSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21688     PyObject 
*resultobj
; 
21689     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21690     PyObject 
* obj0 
= 0 ; 
21691     char *kwnames
[] = { 
21692         (char *) "self", NULL 
 
21695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
; 
21696     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21697     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21702         wxPyEndAllowThreads(__tstate
); 
21703         if (PyErr_Occurred()) SWIG_fail
; 
21705     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21712 static PyObject 
*_wrap_TimeSpan_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21713     PyObject 
*resultobj
; 
21714     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21715     wxTimeSpan 
*arg2 
= 0 ; 
21716     wxTimeSpan 
*result
; 
21717     PyObject 
* obj0 
= 0 ; 
21718     PyObject 
* obj1 
= 0 ; 
21719     char *kwnames
[] = { 
21720         (char *) "self",(char *) "diff", NULL 
 
21723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
21724     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21725     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21726     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21729     if (arg2 
== NULL
) { 
21730         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21736             wxTimeSpan 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
21737             result 
= (wxTimeSpan 
*) &_result_ref
; 
21740         wxPyEndAllowThreads(__tstate
); 
21741         if (PyErr_Occurred()) SWIG_fail
; 
21743     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21750 static PyObject 
*_wrap_TimeSpan_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21751     PyObject 
*resultobj
; 
21752     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21753     wxTimeSpan 
*arg2 
= 0 ; 
21754     wxTimeSpan 
*result
; 
21755     PyObject 
* obj0 
= 0 ; 
21756     PyObject 
* obj1 
= 0 ; 
21757     char *kwnames
[] = { 
21758         (char *) "self",(char *) "diff", NULL 
 
21761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
21762     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21763     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21764     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21767     if (arg2 
== NULL
) { 
21768         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21774             wxTimeSpan 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
21775             result 
= (wxTimeSpan 
*) &_result_ref
; 
21778         wxPyEndAllowThreads(__tstate
); 
21779         if (PyErr_Occurred()) SWIG_fail
; 
21781     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21788 static PyObject 
*_wrap_TimeSpan_Multiply(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21789     PyObject 
*resultobj
; 
21790     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21792     wxTimeSpan 
*result
; 
21793     PyObject 
* obj0 
= 0 ; 
21794     PyObject 
* obj1 
= 0 ; 
21795     char *kwnames
[] = { 
21796         (char *) "self",(char *) "n", NULL 
 
21799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
21800     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21801     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21802     arg2 
= (int) SWIG_AsInt(obj1
);  
21803     if (PyErr_Occurred()) SWIG_fail
; 
21805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21807             wxTimeSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
21808             result 
= (wxTimeSpan 
*) &_result_ref
; 
21811         wxPyEndAllowThreads(__tstate
); 
21812         if (PyErr_Occurred()) SWIG_fail
; 
21814     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21821 static PyObject 
*_wrap_TimeSpan_Neg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21822     PyObject 
*resultobj
; 
21823     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21824     wxTimeSpan 
*result
; 
21825     PyObject 
* obj0 
= 0 ; 
21826     char *kwnames
[] = { 
21827         (char *) "self", NULL 
 
21830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
; 
21831     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21834         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21836             wxTimeSpan 
&_result_ref 
= (arg1
)->Neg(); 
21837             result 
= (wxTimeSpan 
*) &_result_ref
; 
21840         wxPyEndAllowThreads(__tstate
); 
21841         if (PyErr_Occurred()) SWIG_fail
; 
21843     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21850 static PyObject 
*_wrap_TimeSpan_Abs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21851     PyObject 
*resultobj
; 
21852     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21854     PyObject 
* obj0 
= 0 ; 
21855     char *kwnames
[] = { 
21856         (char *) "self", NULL 
 
21859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
; 
21860     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21861     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21864         result 
= ((wxTimeSpan 
const *)arg1
)->Abs(); 
21866         wxPyEndAllowThreads(__tstate
); 
21867         if (PyErr_Occurred()) SWIG_fail
; 
21870         wxTimeSpan 
* resultptr
; 
21871         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21872         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21880 static PyObject 
*_wrap_TimeSpan___iadd__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21881     PyObject 
*resultobj
; 
21882     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21883     wxTimeSpan 
*arg2 
= 0 ; 
21884     wxTimeSpan 
*result
; 
21885     PyObject 
* obj0 
= 0 ; 
21886     PyObject 
* obj1 
= 0 ; 
21887     char *kwnames
[] = { 
21888         (char *) "self",(char *) "diff", NULL 
 
21891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21892     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21893     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21894     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21895     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21897     if (arg2 
== NULL
) { 
21898         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21904             wxTimeSpan 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
21905             result 
= (wxTimeSpan 
*) &_result_ref
; 
21908         wxPyEndAllowThreads(__tstate
); 
21909         if (PyErr_Occurred()) SWIG_fail
; 
21911     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21918 static PyObject 
*_wrap_TimeSpan___isub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21919     PyObject 
*resultobj
; 
21920     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21921     wxTimeSpan 
*arg2 
= 0 ; 
21922     wxTimeSpan 
*result
; 
21923     PyObject 
* obj0 
= 0 ; 
21924     PyObject 
* obj1 
= 0 ; 
21925     char *kwnames
[] = { 
21926         (char *) "self",(char *) "diff", NULL 
 
21929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21930     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21931     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21932     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21933     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21935     if (arg2 
== NULL
) { 
21936         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21942             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
21943             result 
= (wxTimeSpan 
*) &_result_ref
; 
21946         wxPyEndAllowThreads(__tstate
); 
21947         if (PyErr_Occurred()) SWIG_fail
; 
21949     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21956 static PyObject 
*_wrap_TimeSpan___imul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21957     PyObject 
*resultobj
; 
21958     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21960     wxTimeSpan 
*result
; 
21961     PyObject 
* obj0 
= 0 ; 
21962     PyObject 
* obj1 
= 0 ; 
21963     char *kwnames
[] = { 
21964         (char *) "self",(char *) "n", NULL 
 
21967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21968     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21969     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21970     arg2 
= (int) SWIG_AsInt(obj1
);  
21971     if (PyErr_Occurred()) SWIG_fail
; 
21973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21975             wxTimeSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
21976             result 
= (wxTimeSpan 
*) &_result_ref
; 
21979         wxPyEndAllowThreads(__tstate
); 
21980         if (PyErr_Occurred()) SWIG_fail
; 
21982     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21989 static PyObject 
*_wrap_TimeSpan___neg__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21990     PyObject 
*resultobj
; 
21991     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21992     wxTimeSpan 
*result
; 
21993     PyObject 
* obj0 
= 0 ; 
21994     char *kwnames
[] = { 
21995         (char *) "self", NULL 
 
21998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
; 
21999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22004             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -(); 
22005             result 
= (wxTimeSpan 
*) &_result_ref
; 
22008         wxPyEndAllowThreads(__tstate
); 
22009         if (PyErr_Occurred()) SWIG_fail
; 
22011     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
22018 static PyObject 
*_wrap_TimeSpan___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22019     PyObject 
*resultobj
; 
22020     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22021     wxTimeSpan 
*arg2 
= 0 ; 
22023     PyObject 
* obj0 
= 0 ; 
22024     PyObject 
* obj1 
= 0 ; 
22025     char *kwnames
[] = { 
22026         (char *) "self",(char *) "other", NULL 
 
22029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22030     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22031     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22032     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22033     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22035     if (arg2 
== NULL
) { 
22036         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22041         result 
= wxTimeSpan___add__(arg1
,(wxTimeSpan 
const &)*arg2
); 
22043         wxPyEndAllowThreads(__tstate
); 
22044         if (PyErr_Occurred()) SWIG_fail
; 
22047         wxTimeSpan 
* resultptr
; 
22048         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22049         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22057 static PyObject 
*_wrap_TimeSpan___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22058     PyObject 
*resultobj
; 
22059     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22060     wxTimeSpan 
*arg2 
= 0 ; 
22062     PyObject 
* obj0 
= 0 ; 
22063     PyObject 
* obj1 
= 0 ; 
22064     char *kwnames
[] = { 
22065         (char *) "self",(char *) "other", NULL 
 
22068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22071     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22072     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22074     if (arg2 
== NULL
) { 
22075         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22079         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22080         result 
= wxTimeSpan___sub__(arg1
,(wxTimeSpan 
const &)*arg2
); 
22082         wxPyEndAllowThreads(__tstate
); 
22083         if (PyErr_Occurred()) SWIG_fail
; 
22086         wxTimeSpan 
* resultptr
; 
22087         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22088         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22096 static PyObject 
*_wrap_TimeSpan___mul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22097     PyObject 
*resultobj
; 
22098     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22101     PyObject 
* obj0 
= 0 ; 
22102     PyObject 
* obj1 
= 0 ; 
22103     char *kwnames
[] = { 
22104         (char *) "self",(char *) "n", NULL 
 
22107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22108     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22110     arg2 
= (int) SWIG_AsInt(obj1
);  
22111     if (PyErr_Occurred()) SWIG_fail
; 
22113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22114         result 
= wxTimeSpan___mul__(arg1
,arg2
); 
22116         wxPyEndAllowThreads(__tstate
); 
22117         if (PyErr_Occurred()) SWIG_fail
; 
22120         wxTimeSpan 
* resultptr
; 
22121         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22122         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22130 static PyObject 
*_wrap_TimeSpan___rmul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22131     PyObject 
*resultobj
; 
22132     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22135     PyObject 
* obj0 
= 0 ; 
22136     PyObject 
* obj1 
= 0 ; 
22137     char *kwnames
[] = { 
22138         (char *) "self",(char *) "n", NULL 
 
22141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22144     arg2 
= (int) SWIG_AsInt(obj1
);  
22145     if (PyErr_Occurred()) SWIG_fail
; 
22147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22148         result 
= wxTimeSpan___rmul__(arg1
,arg2
); 
22150         wxPyEndAllowThreads(__tstate
); 
22151         if (PyErr_Occurred()) SWIG_fail
; 
22154         wxTimeSpan 
* resultptr
; 
22155         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22156         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22164 static PyObject 
*_wrap_TimeSpan___lt__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22165     PyObject 
*resultobj
; 
22166     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22167     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22169     PyObject 
* obj0 
= 0 ; 
22170     PyObject 
* obj1 
= 0 ; 
22171     char *kwnames
[] = { 
22172         (char *) "self",(char *) "other", NULL 
 
22175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22178     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22179     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22182         result 
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22184         wxPyEndAllowThreads(__tstate
); 
22185         if (PyErr_Occurred()) SWIG_fail
; 
22188         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22196 static PyObject 
*_wrap_TimeSpan___le__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22197     PyObject 
*resultobj
; 
22198     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22199     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22201     PyObject 
* obj0 
= 0 ; 
22202     PyObject 
* obj1 
= 0 ; 
22203     char *kwnames
[] = { 
22204         (char *) "self",(char *) "other", NULL 
 
22207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22208     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22209     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22210     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22214         result 
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan 
const *)arg2
); 
22216         wxPyEndAllowThreads(__tstate
); 
22217         if (PyErr_Occurred()) SWIG_fail
; 
22220         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22228 static PyObject 
*_wrap_TimeSpan___gt__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22229     PyObject 
*resultobj
; 
22230     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22231     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22233     PyObject 
* obj0 
= 0 ; 
22234     PyObject 
* obj1 
= 0 ; 
22235     char *kwnames
[] = { 
22236         (char *) "self",(char *) "other", NULL 
 
22239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22240     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22241     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22242     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22246         result 
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22248         wxPyEndAllowThreads(__tstate
); 
22249         if (PyErr_Occurred()) SWIG_fail
; 
22252         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22260 static PyObject 
*_wrap_TimeSpan___ge__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22261     PyObject 
*resultobj
; 
22262     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22263     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22265     PyObject 
* obj0 
= 0 ; 
22266     PyObject 
* obj1 
= 0 ; 
22267     char *kwnames
[] = { 
22268         (char *) "self",(char *) "other", NULL 
 
22271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22272     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22273     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22274     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22278         result 
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan 
const *)arg2
); 
22280         wxPyEndAllowThreads(__tstate
); 
22281         if (PyErr_Occurred()) SWIG_fail
; 
22284         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22292 static PyObject 
*_wrap_TimeSpan___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22293     PyObject 
*resultobj
; 
22294     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22295     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22297     PyObject 
* obj0 
= 0 ; 
22298     PyObject 
* obj1 
= 0 ; 
22299     char *kwnames
[] = { 
22300         (char *) "self",(char *) "other", NULL 
 
22303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22304     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22305     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22306     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22307     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22310         result 
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan 
const *)arg2
); 
22312         wxPyEndAllowThreads(__tstate
); 
22313         if (PyErr_Occurred()) SWIG_fail
; 
22316         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22324 static PyObject 
*_wrap_TimeSpan___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22325     PyObject 
*resultobj
; 
22326     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22327     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22329     PyObject 
* obj0 
= 0 ; 
22330     PyObject 
* obj1 
= 0 ; 
22331     char *kwnames
[] = { 
22332         (char *) "self",(char *) "other", NULL 
 
22335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22336     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22337     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22338     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22342         result 
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan 
const *)arg2
); 
22344         wxPyEndAllowThreads(__tstate
); 
22345         if (PyErr_Occurred()) SWIG_fail
; 
22348         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22356 static PyObject 
*_wrap_TimeSpan_IsNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22357     PyObject 
*resultobj
; 
22358     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22360     PyObject 
* obj0 
= 0 ; 
22361     char *kwnames
[] = { 
22362         (char *) "self", NULL 
 
22365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
; 
22366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22370         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNull(); 
22372         wxPyEndAllowThreads(__tstate
); 
22373         if (PyErr_Occurred()) SWIG_fail
; 
22376         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22384 static PyObject 
*_wrap_TimeSpan_IsPositive(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22385     PyObject 
*resultobj
; 
22386     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22388     PyObject 
* obj0 
= 0 ; 
22389     char *kwnames
[] = { 
22390         (char *) "self", NULL 
 
22393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
; 
22394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22398         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsPositive(); 
22400         wxPyEndAllowThreads(__tstate
); 
22401         if (PyErr_Occurred()) SWIG_fail
; 
22404         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22412 static PyObject 
*_wrap_TimeSpan_IsNegative(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22413     PyObject 
*resultobj
; 
22414     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22416     PyObject 
* obj0 
= 0 ; 
22417     char *kwnames
[] = { 
22418         (char *) "self", NULL 
 
22421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
; 
22422     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22423     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22426         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNegative(); 
22428         wxPyEndAllowThreads(__tstate
); 
22429         if (PyErr_Occurred()) SWIG_fail
; 
22432         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22440 static PyObject 
*_wrap_TimeSpan_IsEqualTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22441     PyObject 
*resultobj
; 
22442     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22443     wxTimeSpan 
*arg2 
= 0 ; 
22445     PyObject 
* obj0 
= 0 ; 
22446     PyObject 
* obj1 
= 0 ; 
22447     char *kwnames
[] = { 
22448         (char *) "self",(char *) "ts", NULL 
 
22451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
22452     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22453     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22454     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22455     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22457     if (arg2 
== NULL
) { 
22458         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22463         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsEqualTo((wxTimeSpan 
const &)*arg2
); 
22465         wxPyEndAllowThreads(__tstate
); 
22466         if (PyErr_Occurred()) SWIG_fail
; 
22469         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22477 static PyObject 
*_wrap_TimeSpan_IsLongerThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22478     PyObject 
*resultobj
; 
22479     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22480     wxTimeSpan 
*arg2 
= 0 ; 
22482     PyObject 
* obj0 
= 0 ; 
22483     PyObject 
* obj1 
= 0 ; 
22484     char *kwnames
[] = { 
22485         (char *) "self",(char *) "ts", NULL 
 
22488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22489     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22490     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22491     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22494     if (arg2 
== NULL
) { 
22495         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22500         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsLongerThan((wxTimeSpan 
const &)*arg2
); 
22502         wxPyEndAllowThreads(__tstate
); 
22503         if (PyErr_Occurred()) SWIG_fail
; 
22506         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22514 static PyObject 
*_wrap_TimeSpan_IsShorterThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22515     PyObject 
*resultobj
; 
22516     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22517     wxTimeSpan 
*arg2 
= 0 ; 
22519     PyObject 
* obj0 
= 0 ; 
22520     PyObject 
* obj1 
= 0 ; 
22521     char *kwnames
[] = { 
22522         (char *) "self",(char *) "t", NULL 
 
22525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22526     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22527     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22528     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22531     if (arg2 
== NULL
) { 
22532         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22537         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsShorterThan((wxTimeSpan 
const &)*arg2
); 
22539         wxPyEndAllowThreads(__tstate
); 
22540         if (PyErr_Occurred()) SWIG_fail
; 
22543         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22551 static PyObject 
*_wrap_TimeSpan_GetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22552     PyObject 
*resultobj
; 
22553     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22555     PyObject 
* obj0 
= 0 ; 
22556     char *kwnames
[] = { 
22557         (char *) "self", NULL 
 
22560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
22561     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22562     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22565         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetWeeks(); 
22567         wxPyEndAllowThreads(__tstate
); 
22568         if (PyErr_Occurred()) SWIG_fail
; 
22570     resultobj 
= SWIG_FromInt((int)result
); 
22577 static PyObject 
*_wrap_TimeSpan_GetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22578     PyObject 
*resultobj
; 
22579     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22581     PyObject 
* obj0 
= 0 ; 
22582     char *kwnames
[] = { 
22583         (char *) "self", NULL 
 
22586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
22587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22591         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetDays(); 
22593         wxPyEndAllowThreads(__tstate
); 
22594         if (PyErr_Occurred()) SWIG_fail
; 
22596     resultobj 
= SWIG_FromInt((int)result
); 
22603 static PyObject 
*_wrap_TimeSpan_GetHours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22604     PyObject 
*resultobj
; 
22605     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22607     PyObject 
* obj0 
= 0 ; 
22608     char *kwnames
[] = { 
22609         (char *) "self", NULL 
 
22612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
; 
22613     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22617         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetHours(); 
22619         wxPyEndAllowThreads(__tstate
); 
22620         if (PyErr_Occurred()) SWIG_fail
; 
22622     resultobj 
= SWIG_FromInt((int)result
); 
22629 static PyObject 
*_wrap_TimeSpan_GetMinutes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22630     PyObject 
*resultobj
; 
22631     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22633     PyObject 
* obj0 
= 0 ; 
22634     char *kwnames
[] = { 
22635         (char *) "self", NULL 
 
22638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
; 
22639     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22640     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22643         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetMinutes(); 
22645         wxPyEndAllowThreads(__tstate
); 
22646         if (PyErr_Occurred()) SWIG_fail
; 
22648     resultobj 
= SWIG_FromInt((int)result
); 
22655 static PyObject 
*_wrap_TimeSpan_GetSeconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22656     PyObject 
*resultobj
; 
22657     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22659     PyObject 
* obj0 
= 0 ; 
22660     char *kwnames
[] = { 
22661         (char *) "self", NULL 
 
22664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
; 
22665     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22666     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22669         result 
= ((wxTimeSpan 
const *)arg1
)->GetSeconds(); 
22671         wxPyEndAllowThreads(__tstate
); 
22672         if (PyErr_Occurred()) SWIG_fail
; 
22675         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
22676         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
22677         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
22678         shifter 
= PyLong_FromLong(32); 
22679         shifted 
= PyNumber_Lshift(hi
, shifter
); 
22680         resultobj 
= PyNumber_Or(shifted
, lo
); 
22683         Py_DECREF(shifter
); 
22684         Py_DECREF(shifted
); 
22692 static PyObject 
*_wrap_TimeSpan_GetMilliseconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22693     PyObject 
*resultobj
; 
22694     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22696     PyObject 
* obj0 
= 0 ; 
22697     char *kwnames
[] = { 
22698         (char *) "self", NULL 
 
22701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
; 
22702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22705         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22706         result 
= ((wxTimeSpan 
const *)arg1
)->GetMilliseconds(); 
22708         wxPyEndAllowThreads(__tstate
); 
22709         if (PyErr_Occurred()) SWIG_fail
; 
22712         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
22713         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
22714         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
22715         shifter 
= PyLong_FromLong(32); 
22716         shifted 
= PyNumber_Lshift(hi
, shifter
); 
22717         resultobj 
= PyNumber_Or(shifted
, lo
); 
22720         Py_DECREF(shifter
); 
22721         Py_DECREF(shifted
); 
22729 static PyObject 
*_wrap_TimeSpan_Format(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22730     PyObject 
*resultobj
; 
22731     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22732     wxString 
const &arg2_defvalue 
= wxPyTimeSpanFormatStr 
; 
22733     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
22735     bool temp2 
= False 
; 
22736     PyObject 
* obj0 
= 0 ; 
22737     PyObject 
* obj1 
= 0 ; 
22738     char *kwnames
[] = { 
22739         (char *) "self",(char *) "format", NULL 
 
22742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
; 
22743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22747             arg2 
= wxString_in_helper(obj1
); 
22748             if (arg2 
== NULL
) SWIG_fail
; 
22753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22754         result 
= ((wxTimeSpan 
const *)arg1
)->Format((wxString 
const &)*arg2
); 
22756         wxPyEndAllowThreads(__tstate
); 
22757         if (PyErr_Occurred()) SWIG_fail
; 
22761         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
22763         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
22780 static PyObject 
* TimeSpan_swigregister(PyObject 
*self
, PyObject 
*args
) { 
22782     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22783     SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
); 
22785     return Py_BuildValue((char *)""); 
22787 static PyObject 
*_wrap_new_DateSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22788     PyObject 
*resultobj
; 
22789     int arg1 
= (int) 0 ; 
22790     int arg2 
= (int) 0 ; 
22791     int arg3 
= (int) 0 ; 
22792     int arg4 
= (int) 0 ; 
22793     wxDateSpan 
*result
; 
22794     PyObject 
* obj0 
= 0 ; 
22795     PyObject 
* obj1 
= 0 ; 
22796     PyObject 
* obj2 
= 0 ; 
22797     PyObject 
* obj3 
= 0 ; 
22798     char *kwnames
[] = { 
22799         (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL 
 
22802     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22804         arg1 
= (int) SWIG_AsInt(obj0
);  
22805         if (PyErr_Occurred()) SWIG_fail
; 
22808         arg2 
= (int) SWIG_AsInt(obj1
);  
22809         if (PyErr_Occurred()) SWIG_fail
; 
22812         arg3 
= (int) SWIG_AsInt(obj2
);  
22813         if (PyErr_Occurred()) SWIG_fail
; 
22816         arg4 
= (int) SWIG_AsInt(obj3
);  
22817         if (PyErr_Occurred()) SWIG_fail
; 
22820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22821         result 
= (wxDateSpan 
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
); 
22823         wxPyEndAllowThreads(__tstate
); 
22824         if (PyErr_Occurred()) SWIG_fail
; 
22826     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1); 
22833 static PyObject 
*_wrap_delete_DateSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22834     PyObject 
*resultobj
; 
22835     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22836     PyObject 
* obj0 
= 0 ; 
22837     char *kwnames
[] = { 
22838         (char *) "self", NULL 
 
22841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
; 
22842     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
22843     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22848         wxPyEndAllowThreads(__tstate
); 
22849         if (PyErr_Occurred()) SWIG_fail
; 
22851     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22858 static PyObject 
*_wrap_DateSpan_Days(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22859     PyObject 
*resultobj
; 
22862     PyObject 
* obj0 
= 0 ; 
22863     char *kwnames
[] = { 
22864         (char *) "days", NULL 
 
22867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
; 
22868     arg1 
= (int) SWIG_AsInt(obj0
);  
22869     if (PyErr_Occurred()) SWIG_fail
; 
22871         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22872         result 
= wxDateSpan::Days(arg1
); 
22874         wxPyEndAllowThreads(__tstate
); 
22875         if (PyErr_Occurred()) SWIG_fail
; 
22878         wxDateSpan 
* resultptr
; 
22879         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22880         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22888 static PyObject 
*_wrap_DateSpan_Day(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22889     PyObject 
*resultobj
; 
22891     char *kwnames
[] = { 
22895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
; 
22897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22898         result 
= wxDateSpan::Day(); 
22900         wxPyEndAllowThreads(__tstate
); 
22901         if (PyErr_Occurred()) SWIG_fail
; 
22904         wxDateSpan 
* resultptr
; 
22905         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22906         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22914 static PyObject 
*_wrap_DateSpan_Weeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22915     PyObject 
*resultobj
; 
22918     PyObject 
* obj0 
= 0 ; 
22919     char *kwnames
[] = { 
22920         (char *) "weeks", NULL 
 
22923     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
22924     arg1 
= (int) SWIG_AsInt(obj0
);  
22925     if (PyErr_Occurred()) SWIG_fail
; 
22927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22928         result 
= wxDateSpan::Weeks(arg1
); 
22930         wxPyEndAllowThreads(__tstate
); 
22931         if (PyErr_Occurred()) SWIG_fail
; 
22934         wxDateSpan 
* resultptr
; 
22935         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22936         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22944 static PyObject 
*_wrap_DateSpan_Week(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22945     PyObject 
*resultobj
; 
22947     char *kwnames
[] = { 
22951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
; 
22953         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22954         result 
= wxDateSpan::Week(); 
22956         wxPyEndAllowThreads(__tstate
); 
22957         if (PyErr_Occurred()) SWIG_fail
; 
22960         wxDateSpan 
* resultptr
; 
22961         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22962         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22970 static PyObject 
*_wrap_DateSpan_Months(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22971     PyObject 
*resultobj
; 
22974     PyObject 
* obj0 
= 0 ; 
22975     char *kwnames
[] = { 
22976         (char *) "mon", NULL 
 
22979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
; 
22980     arg1 
= (int) SWIG_AsInt(obj0
);  
22981     if (PyErr_Occurred()) SWIG_fail
; 
22983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22984         result 
= wxDateSpan::Months(arg1
); 
22986         wxPyEndAllowThreads(__tstate
); 
22987         if (PyErr_Occurred()) SWIG_fail
; 
22990         wxDateSpan 
* resultptr
; 
22991         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22992         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23000 static PyObject 
*_wrap_DateSpan_Month(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23001     PyObject 
*resultobj
; 
23003     char *kwnames
[] = { 
23007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
; 
23009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23010         result 
= wxDateSpan::Month(); 
23012         wxPyEndAllowThreads(__tstate
); 
23013         if (PyErr_Occurred()) SWIG_fail
; 
23016         wxDateSpan 
* resultptr
; 
23017         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23018         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23026 static PyObject 
*_wrap_DateSpan_Years(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23027     PyObject 
*resultobj
; 
23030     PyObject 
* obj0 
= 0 ; 
23031     char *kwnames
[] = { 
23032         (char *) "years", NULL 
 
23035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
; 
23036     arg1 
= (int) SWIG_AsInt(obj0
);  
23037     if (PyErr_Occurred()) SWIG_fail
; 
23039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23040         result 
= wxDateSpan::Years(arg1
); 
23042         wxPyEndAllowThreads(__tstate
); 
23043         if (PyErr_Occurred()) SWIG_fail
; 
23046         wxDateSpan 
* resultptr
; 
23047         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23048         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23056 static PyObject 
*_wrap_DateSpan_Year(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23057     PyObject 
*resultobj
; 
23059     char *kwnames
[] = { 
23063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
; 
23065         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23066         result 
= wxDateSpan::Year(); 
23068         wxPyEndAllowThreads(__tstate
); 
23069         if (PyErr_Occurred()) SWIG_fail
; 
23072         wxDateSpan 
* resultptr
; 
23073         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23074         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23082 static PyObject 
*_wrap_DateSpan_SetYears(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23083     PyObject 
*resultobj
; 
23084     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23086     wxDateSpan 
*result
; 
23087     PyObject 
* obj0 
= 0 ; 
23088     PyObject 
* obj1 
= 0 ; 
23089     char *kwnames
[] = { 
23090         (char *) "self",(char *) "n", NULL 
 
23093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
; 
23094     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23095     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23096     arg2 
= (int) SWIG_AsInt(obj1
);  
23097     if (PyErr_Occurred()) SWIG_fail
; 
23099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23101             wxDateSpan 
&_result_ref 
= (arg1
)->SetYears(arg2
); 
23102             result 
= (wxDateSpan 
*) &_result_ref
; 
23105         wxPyEndAllowThreads(__tstate
); 
23106         if (PyErr_Occurred()) SWIG_fail
; 
23108     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23115 static PyObject 
*_wrap_DateSpan_SetMonths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23116     PyObject 
*resultobj
; 
23117     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23119     wxDateSpan 
*result
; 
23120     PyObject 
* obj0 
= 0 ; 
23121     PyObject 
* obj1 
= 0 ; 
23122     char *kwnames
[] = { 
23123         (char *) "self",(char *) "n", NULL 
 
23126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
; 
23127     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23128     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23129     arg2 
= (int) SWIG_AsInt(obj1
);  
23130     if (PyErr_Occurred()) SWIG_fail
; 
23132         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23134             wxDateSpan 
&_result_ref 
= (arg1
)->SetMonths(arg2
); 
23135             result 
= (wxDateSpan 
*) &_result_ref
; 
23138         wxPyEndAllowThreads(__tstate
); 
23139         if (PyErr_Occurred()) SWIG_fail
; 
23141     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23148 static PyObject 
*_wrap_DateSpan_SetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23149     PyObject 
*resultobj
; 
23150     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23152     wxDateSpan 
*result
; 
23153     PyObject 
* obj0 
= 0 ; 
23154     PyObject 
* obj1 
= 0 ; 
23155     char *kwnames
[] = { 
23156         (char *) "self",(char *) "n", NULL 
 
23159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
; 
23160     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23161     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23162     arg2 
= (int) SWIG_AsInt(obj1
);  
23163     if (PyErr_Occurred()) SWIG_fail
; 
23165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23167             wxDateSpan 
&_result_ref 
= (arg1
)->SetWeeks(arg2
); 
23168             result 
= (wxDateSpan 
*) &_result_ref
; 
23171         wxPyEndAllowThreads(__tstate
); 
23172         if (PyErr_Occurred()) SWIG_fail
; 
23174     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23181 static PyObject 
*_wrap_DateSpan_SetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23182     PyObject 
*resultobj
; 
23183     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23185     wxDateSpan 
*result
; 
23186     PyObject 
* obj0 
= 0 ; 
23187     PyObject 
* obj1 
= 0 ; 
23188     char *kwnames
[] = { 
23189         (char *) "self",(char *) "n", NULL 
 
23192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
; 
23193     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23194     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23195     arg2 
= (int) SWIG_AsInt(obj1
);  
23196     if (PyErr_Occurred()) SWIG_fail
; 
23198         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23200             wxDateSpan 
&_result_ref 
= (arg1
)->SetDays(arg2
); 
23201             result 
= (wxDateSpan 
*) &_result_ref
; 
23204         wxPyEndAllowThreads(__tstate
); 
23205         if (PyErr_Occurred()) SWIG_fail
; 
23207     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23214 static PyObject 
*_wrap_DateSpan_GetYears(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23215     PyObject 
*resultobj
; 
23216     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23218     PyObject 
* obj0 
= 0 ; 
23219     char *kwnames
[] = { 
23220         (char *) "self", NULL 
 
23223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
; 
23224     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23225     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23228         result 
= (int)((wxDateSpan 
const *)arg1
)->GetYears(); 
23230         wxPyEndAllowThreads(__tstate
); 
23231         if (PyErr_Occurred()) SWIG_fail
; 
23233     resultobj 
= SWIG_FromInt((int)result
); 
23240 static PyObject 
*_wrap_DateSpan_GetMonths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23241     PyObject 
*resultobj
; 
23242     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23244     PyObject 
* obj0 
= 0 ; 
23245     char *kwnames
[] = { 
23246         (char *) "self", NULL 
 
23249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
; 
23250     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23251     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23254         result 
= (int)((wxDateSpan 
const *)arg1
)->GetMonths(); 
23256         wxPyEndAllowThreads(__tstate
); 
23257         if (PyErr_Occurred()) SWIG_fail
; 
23259     resultobj 
= SWIG_FromInt((int)result
); 
23266 static PyObject 
*_wrap_DateSpan_GetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23267     PyObject 
*resultobj
; 
23268     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23270     PyObject 
* obj0 
= 0 ; 
23271     char *kwnames
[] = { 
23272         (char *) "self", NULL 
 
23275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
23276     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23277     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23280         result 
= (int)((wxDateSpan 
const *)arg1
)->GetWeeks(); 
23282         wxPyEndAllowThreads(__tstate
); 
23283         if (PyErr_Occurred()) SWIG_fail
; 
23285     resultobj 
= SWIG_FromInt((int)result
); 
23292 static PyObject 
*_wrap_DateSpan_GetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23293     PyObject 
*resultobj
; 
23294     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23296     PyObject 
* obj0 
= 0 ; 
23297     char *kwnames
[] = { 
23298         (char *) "self", NULL 
 
23301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
23302     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23305         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23306         result 
= (int)((wxDateSpan 
const *)arg1
)->GetDays(); 
23308         wxPyEndAllowThreads(__tstate
); 
23309         if (PyErr_Occurred()) SWIG_fail
; 
23311     resultobj 
= SWIG_FromInt((int)result
); 
23318 static PyObject 
*_wrap_DateSpan_GetTotalDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23319     PyObject 
*resultobj
; 
23320     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23322     PyObject 
* obj0 
= 0 ; 
23323     char *kwnames
[] = { 
23324         (char *) "self", NULL 
 
23327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
; 
23328     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23332         result 
= (int)((wxDateSpan 
const *)arg1
)->GetTotalDays(); 
23334         wxPyEndAllowThreads(__tstate
); 
23335         if (PyErr_Occurred()) SWIG_fail
; 
23337     resultobj 
= SWIG_FromInt((int)result
); 
23344 static PyObject 
*_wrap_DateSpan_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23345     PyObject 
*resultobj
; 
23346     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23347     wxDateSpan 
*arg2 
= 0 ; 
23348     wxDateSpan 
*result
; 
23349     PyObject 
* obj0 
= 0 ; 
23350     PyObject 
* obj1 
= 0 ; 
23351     char *kwnames
[] = { 
23352         (char *) "self",(char *) "other", NULL 
 
23355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
23356     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23357     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23358     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23359     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23361     if (arg2 
== NULL
) { 
23362         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23368             wxDateSpan 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
23369             result 
= (wxDateSpan 
*) &_result_ref
; 
23372         wxPyEndAllowThreads(__tstate
); 
23373         if (PyErr_Occurred()) SWIG_fail
; 
23375     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23382 static PyObject 
*_wrap_DateSpan_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23383     PyObject 
*resultobj
; 
23384     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23385     wxDateSpan 
*arg2 
= 0 ; 
23386     wxDateSpan 
*result
; 
23387     PyObject 
* obj0 
= 0 ; 
23388     PyObject 
* obj1 
= 0 ; 
23389     char *kwnames
[] = { 
23390         (char *) "self",(char *) "other", NULL 
 
23393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
23394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23396     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23399     if (arg2 
== NULL
) { 
23400         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23406             wxDateSpan 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
23407             result 
= (wxDateSpan 
*) &_result_ref
; 
23410         wxPyEndAllowThreads(__tstate
); 
23411         if (PyErr_Occurred()) SWIG_fail
; 
23413     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23420 static PyObject 
*_wrap_DateSpan_Neg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23421     PyObject 
*resultobj
; 
23422     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23423     wxDateSpan 
*result
; 
23424     PyObject 
* obj0 
= 0 ; 
23425     char *kwnames
[] = { 
23426         (char *) "self", NULL 
 
23429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
; 
23430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23435             wxDateSpan 
&_result_ref 
= (arg1
)->Neg(); 
23436             result 
= (wxDateSpan 
*) &_result_ref
; 
23439         wxPyEndAllowThreads(__tstate
); 
23440         if (PyErr_Occurred()) SWIG_fail
; 
23442     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23449 static PyObject 
*_wrap_DateSpan_Multiply(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23450     PyObject 
*resultobj
; 
23451     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23453     wxDateSpan 
*result
; 
23454     PyObject 
* obj0 
= 0 ; 
23455     PyObject 
* obj1 
= 0 ; 
23456     char *kwnames
[] = { 
23457         (char *) "self",(char *) "factor", NULL 
 
23460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
23461     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23463     arg2 
= (int) SWIG_AsInt(obj1
);  
23464     if (PyErr_Occurred()) SWIG_fail
; 
23466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23468             wxDateSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
23469             result 
= (wxDateSpan 
*) &_result_ref
; 
23472         wxPyEndAllowThreads(__tstate
); 
23473         if (PyErr_Occurred()) SWIG_fail
; 
23475     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23482 static PyObject 
*_wrap_DateSpan___iadd__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23483     PyObject 
*resultobj
; 
23484     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23485     wxDateSpan 
*arg2 
= 0 ; 
23486     wxDateSpan 
*result
; 
23487     PyObject 
* obj0 
= 0 ; 
23488     PyObject 
* obj1 
= 0 ; 
23489     char *kwnames
[] = { 
23490         (char *) "self",(char *) "other", NULL 
 
23493     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23494     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23495     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23496     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23497     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23499     if (arg2 
== NULL
) { 
23500         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23504         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23506             wxDateSpan 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
23507             result 
= (wxDateSpan 
*) &_result_ref
; 
23510         wxPyEndAllowThreads(__tstate
); 
23511         if (PyErr_Occurred()) SWIG_fail
; 
23513     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23520 static PyObject 
*_wrap_DateSpan___isub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23521     PyObject 
*resultobj
; 
23522     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23523     wxDateSpan 
*arg2 
= 0 ; 
23524     wxDateSpan 
*result
; 
23525     PyObject 
* obj0 
= 0 ; 
23526     PyObject 
* obj1 
= 0 ; 
23527     char *kwnames
[] = { 
23528         (char *) "self",(char *) "other", NULL 
 
23531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23532     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23533     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23534     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23535     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23537     if (arg2 
== NULL
) { 
23538         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23544             wxDateSpan 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
23545             result 
= (wxDateSpan 
*) &_result_ref
; 
23548         wxPyEndAllowThreads(__tstate
); 
23549         if (PyErr_Occurred()) SWIG_fail
; 
23551     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23558 static PyObject 
*_wrap_DateSpan___neg__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23559     PyObject 
*resultobj
; 
23560     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23561     wxDateSpan 
*result
; 
23562     PyObject 
* obj0 
= 0 ; 
23563     char *kwnames
[] = { 
23564         (char *) "self", NULL 
 
23567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
; 
23568     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23573             wxDateSpan 
&_result_ref 
= (arg1
)->operator -(); 
23574             result 
= (wxDateSpan 
*) &_result_ref
; 
23577         wxPyEndAllowThreads(__tstate
); 
23578         if (PyErr_Occurred()) SWIG_fail
; 
23580     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23587 static PyObject 
*_wrap_DateSpan___imul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23588     PyObject 
*resultobj
; 
23589     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23591     wxDateSpan 
*result
; 
23592     PyObject 
* obj0 
= 0 ; 
23593     PyObject 
* obj1 
= 0 ; 
23594     char *kwnames
[] = { 
23595         (char *) "self",(char *) "factor", NULL 
 
23598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23599     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23600     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23601     arg2 
= (int) SWIG_AsInt(obj1
);  
23602     if (PyErr_Occurred()) SWIG_fail
; 
23604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23606             wxDateSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
23607             result 
= (wxDateSpan 
*) &_result_ref
; 
23610         wxPyEndAllowThreads(__tstate
); 
23611         if (PyErr_Occurred()) SWIG_fail
; 
23613     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23620 static PyObject 
*_wrap_DateSpan___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23621     PyObject 
*resultobj
; 
23622     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23623     wxDateSpan 
*arg2 
= 0 ; 
23625     PyObject 
* obj0 
= 0 ; 
23626     PyObject 
* obj1 
= 0 ; 
23627     char *kwnames
[] = { 
23628         (char *) "self",(char *) "other", NULL 
 
23631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23632     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23634     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23637     if (arg2 
== NULL
) { 
23638         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23643         result 
= wxDateSpan___add__(arg1
,(wxDateSpan 
const &)*arg2
); 
23645         wxPyEndAllowThreads(__tstate
); 
23646         if (PyErr_Occurred()) SWIG_fail
; 
23649         wxDateSpan 
* resultptr
; 
23650         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23651         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23659 static PyObject 
*_wrap_DateSpan___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23660     PyObject 
*resultobj
; 
23661     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23662     wxDateSpan 
*arg2 
= 0 ; 
23664     PyObject 
* obj0 
= 0 ; 
23665     PyObject 
* obj1 
= 0 ; 
23666     char *kwnames
[] = { 
23667         (char *) "self",(char *) "other", NULL 
 
23670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23671     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23672     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23673     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23674     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23676     if (arg2 
== NULL
) { 
23677         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23681         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23682         result 
= wxDateSpan___sub__(arg1
,(wxDateSpan 
const &)*arg2
); 
23684         wxPyEndAllowThreads(__tstate
); 
23685         if (PyErr_Occurred()) SWIG_fail
; 
23688         wxDateSpan 
* resultptr
; 
23689         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23690         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23698 static PyObject 
*_wrap_DateSpan___mul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23699     PyObject 
*resultobj
; 
23700     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23703     PyObject 
* obj0 
= 0 ; 
23704     PyObject 
* obj1 
= 0 ; 
23705     char *kwnames
[] = { 
23706         (char *) "self",(char *) "n", NULL 
 
23709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23710     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23711     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23712     arg2 
= (int) SWIG_AsInt(obj1
);  
23713     if (PyErr_Occurred()) SWIG_fail
; 
23715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23716         result 
= wxDateSpan___mul__(arg1
,arg2
); 
23718         wxPyEndAllowThreads(__tstate
); 
23719         if (PyErr_Occurred()) SWIG_fail
; 
23722         wxDateSpan 
* resultptr
; 
23723         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23724         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23732 static PyObject 
*_wrap_DateSpan___rmul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23733     PyObject 
*resultobj
; 
23734     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23737     PyObject 
* obj0 
= 0 ; 
23738     PyObject 
* obj1 
= 0 ; 
23739     char *kwnames
[] = { 
23740         (char *) "self",(char *) "n", NULL 
 
23743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23744     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23745     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23746     arg2 
= (int) SWIG_AsInt(obj1
);  
23747     if (PyErr_Occurred()) SWIG_fail
; 
23749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23750         result 
= wxDateSpan___rmul__(arg1
,arg2
); 
23752         wxPyEndAllowThreads(__tstate
); 
23753         if (PyErr_Occurred()) SWIG_fail
; 
23756         wxDateSpan 
* resultptr
; 
23757         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23758         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23766 static PyObject 
*_wrap_DateSpan___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23767     PyObject 
*resultobj
; 
23768     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23769     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
23771     PyObject 
* obj0 
= 0 ; 
23772     PyObject 
* obj1 
= 0 ; 
23773     char *kwnames
[] = { 
23774         (char *) "self",(char *) "other", NULL 
 
23777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23778     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23780     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23781     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23784         result 
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan 
const *)arg2
); 
23786         wxPyEndAllowThreads(__tstate
); 
23787         if (PyErr_Occurred()) SWIG_fail
; 
23790         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23798 static PyObject 
*_wrap_DateSpan___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23799     PyObject 
*resultobj
; 
23800     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23801     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
23803     PyObject 
* obj0 
= 0 ; 
23804     PyObject 
* obj1 
= 0 ; 
23805     char *kwnames
[] = { 
23806         (char *) "self",(char *) "other", NULL 
 
23809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23810     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23811     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23812     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23816         result 
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan 
const *)arg2
); 
23818         wxPyEndAllowThreads(__tstate
); 
23819         if (PyErr_Occurred()) SWIG_fail
; 
23822         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23830 static PyObject 
* DateSpan_swigregister(PyObject 
*self
, PyObject 
*args
) { 
23832     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23833     SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
); 
23835     return Py_BuildValue((char *)""); 
23837 static PyObject 
*_wrap_GetLocalTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23838     PyObject 
*resultobj
; 
23840     char *kwnames
[] = { 
23844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
; 
23846         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23847         result 
= (long)wxGetLocalTime(); 
23849         wxPyEndAllowThreads(__tstate
); 
23850         if (PyErr_Occurred()) SWIG_fail
; 
23852     resultobj 
= SWIG_FromLong((long)result
); 
23859 static PyObject 
*_wrap_GetUTCTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23860     PyObject 
*resultobj
; 
23862     char *kwnames
[] = { 
23866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
; 
23868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23869         result 
= (long)wxGetUTCTime(); 
23871         wxPyEndAllowThreads(__tstate
); 
23872         if (PyErr_Occurred()) SWIG_fail
; 
23874     resultobj 
= SWIG_FromLong((long)result
); 
23881 static PyObject 
*_wrap_GetCurrentTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23882     PyObject 
*resultobj
; 
23884     char *kwnames
[] = { 
23888     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
; 
23890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23891         result 
= (long)wxGetCurrentTime(); 
23893         wxPyEndAllowThreads(__tstate
); 
23894         if (PyErr_Occurred()) SWIG_fail
; 
23896     resultobj 
= SWIG_FromLong((long)result
); 
23903 static PyObject 
*_wrap_GetLocalTimeMillis(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23904     PyObject 
*resultobj
; 
23906     char *kwnames
[] = { 
23910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
; 
23912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23913         result 
= wxGetLocalTimeMillis(); 
23915         wxPyEndAllowThreads(__tstate
); 
23916         if (PyErr_Occurred()) SWIG_fail
; 
23919         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
23920         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
23921         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
23922         shifter 
= PyLong_FromLong(32); 
23923         shifted 
= PyNumber_Lshift(hi
, shifter
); 
23924         resultobj 
= PyNumber_Or(shifted
, lo
); 
23927         Py_DECREF(shifter
); 
23928         Py_DECREF(shifted
); 
23936 static int _wrap_DefaultDateTime_set(PyObject 
*_val
) { 
23937     PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only."); 
23942 static PyObject 
*_wrap_DefaultDateTime_get() { 
23945     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0); 
23950 static PyObject 
*_wrap_new_DataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23951     PyObject 
*resultobj
; 
23953     wxDataFormat 
*result
; 
23954     PyObject 
* obj0 
= 0 ; 
23955     char *kwnames
[] = { 
23956         (char *) "type", NULL 
 
23959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
; 
23960     arg1 
= (wxDataFormatId
) SWIG_AsInt(obj0
);  
23961     if (PyErr_Occurred()) SWIG_fail
; 
23963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23964         result 
= (wxDataFormat 
*)new wxDataFormat((wxDataFormatId 
)arg1
); 
23966         wxPyEndAllowThreads(__tstate
); 
23967         if (PyErr_Occurred()) SWIG_fail
; 
23969     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
23976 static PyObject 
*_wrap_new_CustomDataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23977     PyObject 
*resultobj
; 
23978     wxString 
*arg1 
= 0 ; 
23979     wxDataFormat 
*result
; 
23980     bool temp1 
= False 
; 
23981     PyObject 
* obj0 
= 0 ; 
23982     char *kwnames
[] = { 
23983         (char *) "format", NULL 
 
23986     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
; 
23988         arg1 
= wxString_in_helper(obj0
); 
23989         if (arg1 
== NULL
) SWIG_fail
; 
23993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23994         result 
= (wxDataFormat 
*)new wxDataFormat((wxString 
const &)*arg1
); 
23996         wxPyEndAllowThreads(__tstate
); 
23997         if (PyErr_Occurred()) SWIG_fail
; 
23999     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
24014 static PyObject 
*_wrap_delete_DataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24015     PyObject 
*resultobj
; 
24016     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24017     PyObject 
* obj0 
= 0 ; 
24018     char *kwnames
[] = { 
24019         (char *) "self", NULL 
 
24022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
; 
24023     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24029         wxPyEndAllowThreads(__tstate
); 
24030         if (PyErr_Occurred()) SWIG_fail
; 
24032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24039 static PyObject 
*_wrap_DataFormat___eq____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
24040     PyObject 
*resultobj
; 
24041     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24044     PyObject 
* obj0 
= 0 ; 
24045     PyObject 
* obj1 
= 0 ; 
24047     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
24048     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24049     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24050     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
24051     if (PyErr_Occurred()) SWIG_fail
; 
24053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24054         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormatId 
)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____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
24069     PyObject 
*resultobj
; 
24070     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24073     PyObject 
* obj0 
= 0 ; 
24074     PyObject 
* obj1 
= 0 ; 
24076     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
24077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24079     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
24080     if (PyErr_Occurred()) SWIG_fail
; 
24082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24083         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormatId 
)arg2
); 
24085         wxPyEndAllowThreads(__tstate
); 
24086         if (PyErr_Occurred()) SWIG_fail
; 
24089         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24097 static PyObject 
*_wrap_DataFormat___eq____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
24098     PyObject 
*resultobj
; 
24099     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24100     wxDataFormat 
*arg2 
= 0 ; 
24102     PyObject 
* obj0 
= 0 ; 
24103     PyObject 
* obj1 
= 0 ; 
24105     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
24106     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24107     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24108     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24111     if (arg2 
== NULL
) { 
24112         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24117         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormat 
const &)*arg2
); 
24119         wxPyEndAllowThreads(__tstate
); 
24120         if (PyErr_Occurred()) SWIG_fail
; 
24123         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24131 static PyObject 
*_wrap_DataFormat___eq__(PyObject 
*self
, PyObject 
*args
) { 
24136     argc 
= PyObject_Length(args
); 
24137     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
24138         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
24144             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24154                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24162                 return _wrap_DataFormat___eq____SWIG_1(self
,args
); 
24170             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24178             _v 
= SWIG_CheckInt(argv
[1]); 
24180                 return _wrap_DataFormat___eq____SWIG_0(self
,args
); 
24185     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'"); 
24190 static PyObject 
*_wrap_DataFormat___ne____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
24191     PyObject 
*resultobj
; 
24192     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24193     wxDataFormat 
*arg2 
= 0 ; 
24195     PyObject 
* obj0 
= 0 ; 
24196     PyObject 
* obj1 
= 0 ; 
24198     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
24199     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24200     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24201     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24202     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24204     if (arg2 
== NULL
) { 
24205         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24210         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormat 
const &)*arg2
); 
24212         wxPyEndAllowThreads(__tstate
); 
24213         if (PyErr_Occurred()) SWIG_fail
; 
24216         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24224 static PyObject 
*_wrap_DataFormat___ne__(PyObject 
*self
, PyObject 
*args
) { 
24229     argc 
= PyObject_Length(args
); 
24230     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
24231         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
24237             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24247                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24255                 return _wrap_DataFormat___ne____SWIG_1(self
,args
); 
24263             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24271             _v 
= SWIG_CheckInt(argv
[1]); 
24273                 return _wrap_DataFormat___ne____SWIG_0(self
,args
); 
24278     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'"); 
24283 static PyObject 
*_wrap_DataFormat_SetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24284     PyObject 
*resultobj
; 
24285     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24287     PyObject 
* obj0 
= 0 ; 
24288     PyObject 
* obj1 
= 0 ; 
24289     char *kwnames
[] = { 
24290         (char *) "self",(char *) "format", NULL 
 
24293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
; 
24294     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24295     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24296     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
24297     if (PyErr_Occurred()) SWIG_fail
; 
24299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24300         (arg1
)->SetType((wxDataFormatId 
)arg2
); 
24302         wxPyEndAllowThreads(__tstate
); 
24303         if (PyErr_Occurred()) SWIG_fail
; 
24305     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24312 static PyObject 
*_wrap_DataFormat_GetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24313     PyObject 
*resultobj
; 
24314     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24316     PyObject 
* obj0 
= 0 ; 
24317     char *kwnames
[] = { 
24318         (char *) "self", NULL 
 
24321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
; 
24322     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24323     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24326         result 
= (int)((wxDataFormat 
const *)arg1
)->GetType(); 
24328         wxPyEndAllowThreads(__tstate
); 
24329         if (PyErr_Occurred()) SWIG_fail
; 
24331     resultobj 
= SWIG_FromInt((int)result
); 
24338 static PyObject 
*_wrap_DataFormat_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24339     PyObject 
*resultobj
; 
24340     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24342     PyObject 
* obj0 
= 0 ; 
24343     char *kwnames
[] = { 
24344         (char *) "self", NULL 
 
24347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
; 
24348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24352         result 
= ((wxDataFormat 
const *)arg1
)->GetId(); 
24354         wxPyEndAllowThreads(__tstate
); 
24355         if (PyErr_Occurred()) SWIG_fail
; 
24359         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24361         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24370 static PyObject 
*_wrap_DataFormat_SetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24371     PyObject 
*resultobj
; 
24372     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24373     wxString 
*arg2 
= 0 ; 
24374     bool temp2 
= False 
; 
24375     PyObject 
* obj0 
= 0 ; 
24376     PyObject 
* obj1 
= 0 ; 
24377     char *kwnames
[] = { 
24378         (char *) "self",(char *) "format", NULL 
 
24381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
24382     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24385         arg2 
= wxString_in_helper(obj1
); 
24386         if (arg2 
== NULL
) SWIG_fail
; 
24390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24391         (arg1
)->SetId((wxString 
const &)*arg2
); 
24393         wxPyEndAllowThreads(__tstate
); 
24394         if (PyErr_Occurred()) SWIG_fail
; 
24396     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24411 static PyObject 
* DataFormat_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24413     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24414     SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
); 
24416     return Py_BuildValue((char *)""); 
24418 static int _wrap_FormatInvalid_set(PyObject 
*_val
) { 
24419     PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only."); 
24424 static PyObject 
*_wrap_FormatInvalid_get() { 
24427     pyobj 
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0); 
24432 static PyObject 
*_wrap_delete_DataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24433     PyObject 
*resultobj
; 
24434     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24435     PyObject 
* obj0 
= 0 ; 
24436     char *kwnames
[] = { 
24437         (char *) "self", NULL 
 
24440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
; 
24441     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24442     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24447         wxPyEndAllowThreads(__tstate
); 
24448         if (PyErr_Occurred()) SWIG_fail
; 
24450     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24457 static PyObject 
*_wrap_DataObject_GetPreferredFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24458     PyObject 
*resultobj
; 
24459     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24460     int arg2 
= (int) wxDataObject::Get 
; 
24461     SwigValueWrapper
< wxDataFormat 
> result
; 
24462     PyObject 
* obj0 
= 0 ; 
24463     PyObject 
* obj1 
= 0 ; 
24464     char *kwnames
[] = { 
24465         (char *) "self",(char *) "dir", NULL 
 
24468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
24469     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24470     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24472         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24473         if (PyErr_Occurred()) SWIG_fail
; 
24476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24477         result 
= ((wxDataObject 
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction 
)arg2
); 
24479         wxPyEndAllowThreads(__tstate
); 
24480         if (PyErr_Occurred()) SWIG_fail
; 
24483         wxDataFormat 
* resultptr
; 
24484         resultptr 
= new wxDataFormat((wxDataFormat 
&) result
); 
24485         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1); 
24493 static PyObject 
*_wrap_DataObject_GetFormatCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24494     PyObject 
*resultobj
; 
24495     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24496     int arg2 
= (int) wxDataObject::Get 
; 
24498     PyObject 
* obj0 
= 0 ; 
24499     PyObject 
* obj1 
= 0 ; 
24500     char *kwnames
[] = { 
24501         (char *) "self",(char *) "dir", NULL 
 
24504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
24505     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24508         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24509         if (PyErr_Occurred()) SWIG_fail
; 
24512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24513         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetFormatCount((wxDataObject::Direction 
)arg2
); 
24515         wxPyEndAllowThreads(__tstate
); 
24516         if (PyErr_Occurred()) SWIG_fail
; 
24518     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24525 static PyObject 
*_wrap_DataObject_IsSupported(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24526     PyObject 
*resultobj
; 
24527     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24528     wxDataFormat 
*arg2 
= 0 ; 
24529     int arg3 
= (int) wxDataObject::Get 
; 
24531     PyObject 
* obj0 
= 0 ; 
24532     PyObject 
* obj1 
= 0 ; 
24533     PyObject 
* obj2 
= 0 ; 
24534     char *kwnames
[] = { 
24535         (char *) "self",(char *) "format",(char *) "dir", NULL 
 
24538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24541     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24544     if (arg2 
== NULL
) { 
24545         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24549         arg3 
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);  
24550         if (PyErr_Occurred()) SWIG_fail
; 
24553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24554         result 
= (bool)((wxDataObject 
const *)arg1
)->IsSupported((wxDataFormat 
const &)*arg2
,(wxDataObject::Direction 
)arg3
); 
24556         wxPyEndAllowThreads(__tstate
); 
24557         if (PyErr_Occurred()) SWIG_fail
; 
24560         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24568 static PyObject 
*_wrap_DataObject_GetDataSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24569     PyObject 
*resultobj
; 
24570     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24571     wxDataFormat 
*arg2 
= 0 ; 
24573     PyObject 
* obj0 
= 0 ; 
24574     PyObject 
* obj1 
= 0 ; 
24575     char *kwnames
[] = { 
24576         (char *) "self",(char *) "format", NULL 
 
24579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
24580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24582     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24583     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24585     if (arg2 
== NULL
) { 
24586         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24591         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetDataSize((wxDataFormat 
const &)*arg2
); 
24593         wxPyEndAllowThreads(__tstate
); 
24594         if (PyErr_Occurred()) SWIG_fail
; 
24596     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24603 static PyObject 
*_wrap_DataObject_GetAllFormats(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24604     PyObject 
*resultobj
; 
24605     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24606     int arg2 
= (int) wxDataObject::Get 
; 
24608     PyObject 
* obj0 
= 0 ; 
24609     PyObject 
* obj1 
= 0 ; 
24610     char *kwnames
[] = { 
24611         (char *) "self",(char *) "dir", NULL 
 
24614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
; 
24615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24618         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24619         if (PyErr_Occurred()) SWIG_fail
; 
24622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24623         result 
= (PyObject 
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction 
)arg2
); 
24625         wxPyEndAllowThreads(__tstate
); 
24626         if (PyErr_Occurred()) SWIG_fail
; 
24628     resultobj 
= result
; 
24635 static PyObject 
*_wrap_DataObject_GetDataHere(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24636     PyObject 
*resultobj
; 
24637     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24638     wxDataFormat 
*arg2 
= 0 ; 
24640     PyObject 
* obj0 
= 0 ; 
24641     PyObject 
* obj1 
= 0 ; 
24642     char *kwnames
[] = { 
24643         (char *) "self",(char *) "format", NULL 
 
24646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
; 
24647     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24648     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24649     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24650     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24652     if (arg2 
== NULL
) { 
24653         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24657         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24658         result 
= (PyObject 
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat 
const &)*arg2
); 
24660         wxPyEndAllowThreads(__tstate
); 
24661         if (PyErr_Occurred()) SWIG_fail
; 
24663     resultobj 
= result
; 
24670 static PyObject 
*_wrap_DataObject_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24671     PyObject 
*resultobj
; 
24672     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24673     wxDataFormat 
*arg2 
= 0 ; 
24674     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24676     PyObject 
* obj0 
= 0 ; 
24677     PyObject 
* obj1 
= 0 ; 
24678     PyObject 
* obj2 
= 0 ; 
24679     char *kwnames
[] = { 
24680         (char *) "self",(char *) "format",(char *) "data", NULL 
 
24683     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24684     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24685     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24686     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24687     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24689     if (arg2 
== NULL
) { 
24690         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24696         result 
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat 
const &)*arg2
,arg3
); 
24698         wxPyEndAllowThreads(__tstate
); 
24699         if (PyErr_Occurred()) SWIG_fail
; 
24702         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24710 static PyObject 
* DataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24712     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24713     SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
); 
24715     return Py_BuildValue((char *)""); 
24717 static PyObject 
*_wrap_new_DataObjectSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24718     PyObject 
*resultobj
; 
24719     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
24720     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
24721     wxDataObjectSimple 
*result
; 
24722     PyObject 
* obj0 
= 0 ; 
24723     char *kwnames
[] = { 
24724         (char *) "format", NULL 
 
24727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
; 
24729         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24730         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24732         if (arg1 
== NULL
) { 
24733             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24739         result 
= (wxDataObjectSimple 
*)new wxDataObjectSimple((wxDataFormat 
const &)*arg1
); 
24741         wxPyEndAllowThreads(__tstate
); 
24742         if (PyErr_Occurred()) SWIG_fail
; 
24744     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1); 
24751 static PyObject 
*_wrap_DataObjectSimple_GetFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24752     PyObject 
*resultobj
; 
24753     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24754     wxDataFormat 
*result
; 
24755     PyObject 
* obj0 
= 0 ; 
24756     char *kwnames
[] = { 
24757         (char *) "self", NULL 
 
24760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
; 
24761     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24762     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24766             wxDataFormat 
const &_result_ref 
= (arg1
)->GetFormat(); 
24767             result 
= (wxDataFormat 
*) &_result_ref
; 
24770         wxPyEndAllowThreads(__tstate
); 
24771         if (PyErr_Occurred()) SWIG_fail
; 
24773     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0); 
24780 static PyObject 
*_wrap_DataObjectSimple_SetFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24781     PyObject 
*resultobj
; 
24782     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24783     wxDataFormat 
*arg2 
= 0 ; 
24784     PyObject 
* obj0 
= 0 ; 
24785     PyObject 
* obj1 
= 0 ; 
24786     char *kwnames
[] = { 
24787         (char *) "self",(char *) "format", NULL 
 
24790     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
24791     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24792     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24793     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24794     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24796     if (arg2 
== NULL
) { 
24797         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24802         (arg1
)->SetFormat((wxDataFormat 
const &)*arg2
); 
24804         wxPyEndAllowThreads(__tstate
); 
24805         if (PyErr_Occurred()) SWIG_fail
; 
24807     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24814 static PyObject 
*_wrap_DataObjectSimple_GetDataSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24815     PyObject 
*resultobj
; 
24816     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24818     PyObject 
* obj0 
= 0 ; 
24819     char *kwnames
[] = { 
24820         (char *) "self", NULL 
 
24823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
; 
24824     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24825     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24828         result 
= (size_t)((wxDataObjectSimple 
const *)arg1
)->GetDataSize(); 
24830         wxPyEndAllowThreads(__tstate
); 
24831         if (PyErr_Occurred()) SWIG_fail
; 
24833     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24840 static PyObject 
*_wrap_DataObjectSimple_GetDataHere(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24841     PyObject 
*resultobj
; 
24842     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24844     PyObject 
* obj0 
= 0 ; 
24845     char *kwnames
[] = { 
24846         (char *) "self", NULL 
 
24849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
; 
24850     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24851     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24854         result 
= (PyObject 
*)wxDataObjectSimple_GetDataHere(arg1
); 
24856         wxPyEndAllowThreads(__tstate
); 
24857         if (PyErr_Occurred()) SWIG_fail
; 
24859     resultobj 
= result
; 
24866 static PyObject 
*_wrap_DataObjectSimple_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24867     PyObject 
*resultobj
; 
24868     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24869     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24871     PyObject 
* obj0 
= 0 ; 
24872     PyObject 
* obj1 
= 0 ; 
24873     char *kwnames
[] = { 
24874         (char *) "self",(char *) "data", NULL 
 
24877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
24878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24883         result 
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
); 
24885         wxPyEndAllowThreads(__tstate
); 
24886         if (PyErr_Occurred()) SWIG_fail
; 
24889         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24897 static PyObject 
* DataObjectSimple_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24899     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24900     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
); 
24902     return Py_BuildValue((char *)""); 
24904 static PyObject 
*_wrap_new_PyDataObjectSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24905     PyObject 
*resultobj
; 
24906     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
24907     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
24908     wxPyDataObjectSimple 
*result
; 
24909     PyObject 
* obj0 
= 0 ; 
24910     char *kwnames
[] = { 
24911         (char *) "format", NULL 
 
24914     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
; 
24916         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24917         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24919         if (arg1 
== NULL
) { 
24920             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24926         result 
= (wxPyDataObjectSimple 
*)new wxPyDataObjectSimple((wxDataFormat 
const &)*arg1
); 
24928         wxPyEndAllowThreads(__tstate
); 
24929         if (PyErr_Occurred()) SWIG_fail
; 
24931     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1); 
24938 static PyObject 
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24939     PyObject 
*resultobj
; 
24940     wxPyDataObjectSimple 
*arg1 
= (wxPyDataObjectSimple 
*) 0 ; 
24941     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24942     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24943     PyObject 
* obj0 
= 0 ; 
24944     PyObject 
* obj1 
= 0 ; 
24945     PyObject 
* obj2 
= 0 ; 
24946     char *kwnames
[] = { 
24947         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
24950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24951     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
, 
24952     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24957         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
24959         wxPyEndAllowThreads(__tstate
); 
24960         if (PyErr_Occurred()) SWIG_fail
; 
24962     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24969 static PyObject 
* PyDataObjectSimple_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24971     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24972     SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
); 
24974     return Py_BuildValue((char *)""); 
24976 static PyObject 
*_wrap_new_DataObjectComposite(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24977     PyObject 
*resultobj
; 
24978     wxDataObjectComposite 
*result
; 
24979     char *kwnames
[] = { 
24983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
; 
24985         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24986         result 
= (wxDataObjectComposite 
*)new wxDataObjectComposite(); 
24988         wxPyEndAllowThreads(__tstate
); 
24989         if (PyErr_Occurred()) SWIG_fail
; 
24991     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1); 
24998 static PyObject 
*_wrap_DataObjectComposite_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24999     PyObject 
*resultobj
; 
25000     wxDataObjectComposite 
*arg1 
= (wxDataObjectComposite 
*) 0 ; 
25001     wxDataObjectSimple 
*arg2 
= (wxDataObjectSimple 
*) 0 ; 
25002     bool arg3 
= (bool) False 
; 
25003     PyObject 
* obj0 
= 0 ; 
25004     PyObject 
* obj1 
= 0 ; 
25005     PyObject 
* obj2 
= 0 ; 
25006     char *kwnames
[] = { 
25007         (char *) "self",(char *) "dataObject",(char *) "preferred", NULL 
 
25010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25011     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
, 
25012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25013     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
, 
25014     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
25016         arg3 
= (bool) SWIG_AsBool(obj2
);  
25017         if (PyErr_Occurred()) SWIG_fail
; 
25020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25021         (arg1
)->Add(arg2
,arg3
); 
25023         wxPyEndAllowThreads(__tstate
); 
25024         if (PyErr_Occurred()) SWIG_fail
; 
25026     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25033 static PyObject 
* DataObjectComposite_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25035     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25036     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
); 
25038     return Py_BuildValue((char *)""); 
25040 static PyObject 
*_wrap_new_TextDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25041     PyObject 
*resultobj
; 
25042     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
25043     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
25044     wxTextDataObject 
*result
; 
25045     bool temp1 
= False 
; 
25046     PyObject 
* obj0 
= 0 ; 
25047     char *kwnames
[] = { 
25048         (char *) "text", NULL 
 
25051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
; 
25054             arg1 
= wxString_in_helper(obj0
); 
25055             if (arg1 
== NULL
) SWIG_fail
; 
25060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25061         result 
= (wxTextDataObject 
*)new wxTextDataObject((wxString 
const &)*arg1
); 
25063         wxPyEndAllowThreads(__tstate
); 
25064         if (PyErr_Occurred()) SWIG_fail
; 
25066     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1); 
25081 static PyObject 
*_wrap_TextDataObject_GetTextLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25082     PyObject 
*resultobj
; 
25083     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
25085     PyObject 
* obj0 
= 0 ; 
25086     char *kwnames
[] = { 
25087         (char *) "self", NULL 
 
25090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
; 
25091     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
25092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25094         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25095         result 
= (size_t)(arg1
)->GetTextLength(); 
25097         wxPyEndAllowThreads(__tstate
); 
25098         if (PyErr_Occurred()) SWIG_fail
; 
25100     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
25107 static PyObject 
*_wrap_TextDataObject_GetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25108     PyObject 
*resultobj
; 
25109     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
25111     PyObject 
* obj0 
= 0 ; 
25112     char *kwnames
[] = { 
25113         (char *) "self", NULL 
 
25116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
; 
25117     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
25118     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25120         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25121         result 
= (arg1
)->GetText(); 
25123         wxPyEndAllowThreads(__tstate
); 
25124         if (PyErr_Occurred()) SWIG_fail
; 
25128         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25130         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25139 static PyObject 
*_wrap_TextDataObject_SetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25140     PyObject 
*resultobj
; 
25141     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
25142     wxString 
*arg2 
= 0 ; 
25143     bool temp2 
= False 
; 
25144     PyObject 
* obj0 
= 0 ; 
25145     PyObject 
* obj1 
= 0 ; 
25146     char *kwnames
[] = { 
25147         (char *) "self",(char *) "text", NULL 
 
25150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
25151     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
25152     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25154         arg2 
= wxString_in_helper(obj1
); 
25155         if (arg2 
== NULL
) SWIG_fail
; 
25159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25160         (arg1
)->SetText((wxString 
const &)*arg2
); 
25162         wxPyEndAllowThreads(__tstate
); 
25163         if (PyErr_Occurred()) SWIG_fail
; 
25165     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25180 static PyObject 
* TextDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25182     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25183     SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
); 
25185     return Py_BuildValue((char *)""); 
25187 static PyObject 
*_wrap_new_PyTextDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25188     PyObject 
*resultobj
; 
25189     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
25190     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
25191     wxPyTextDataObject 
*result
; 
25192     bool temp1 
= False 
; 
25193     PyObject 
* obj0 
= 0 ; 
25194     char *kwnames
[] = { 
25195         (char *) "text", NULL 
 
25198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
; 
25201             arg1 
= wxString_in_helper(obj0
); 
25202             if (arg1 
== NULL
) SWIG_fail
; 
25207         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25208         result 
= (wxPyTextDataObject 
*)new wxPyTextDataObject((wxString 
const &)*arg1
); 
25210         wxPyEndAllowThreads(__tstate
); 
25211         if (PyErr_Occurred()) SWIG_fail
; 
25213     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1); 
25228 static PyObject 
*_wrap_PyTextDataObject__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25229     PyObject 
*resultobj
; 
25230     wxPyTextDataObject 
*arg1 
= (wxPyTextDataObject 
*) 0 ; 
25231     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25232     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25233     PyObject 
* obj0 
= 0 ; 
25234     PyObject 
* obj1 
= 0 ; 
25235     PyObject 
* obj2 
= 0 ; 
25236     char *kwnames
[] = { 
25237         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
, 
25242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25247         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25249         wxPyEndAllowThreads(__tstate
); 
25250         if (PyErr_Occurred()) SWIG_fail
; 
25252     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25259 static PyObject 
* PyTextDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25261     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25262     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
); 
25264     return Py_BuildValue((char *)""); 
25266 static PyObject 
*_wrap_new_BitmapDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25267     PyObject 
*resultobj
; 
25268     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25269     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25270     wxBitmapDataObject 
*result
; 
25271     PyObject 
* obj0 
= 0 ; 
25272     char *kwnames
[] = { 
25273         (char *) "bitmap", NULL 
 
25276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25278         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25279         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25281         if (arg1 
== NULL
) { 
25282             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25287         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25288         result 
= (wxBitmapDataObject 
*)new wxBitmapDataObject((wxBitmap 
const &)*arg1
); 
25290         wxPyEndAllowThreads(__tstate
); 
25291         if (PyErr_Occurred()) SWIG_fail
; 
25293     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1); 
25300 static PyObject 
*_wrap_BitmapDataObject_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25301     PyObject 
*resultobj
; 
25302     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25304     PyObject 
* obj0 
= 0 ; 
25305     char *kwnames
[] = { 
25306         (char *) "self", NULL 
 
25309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
; 
25310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25314         result 
= ((wxBitmapDataObject 
const *)arg1
)->GetBitmap(); 
25316         wxPyEndAllowThreads(__tstate
); 
25317         if (PyErr_Occurred()) SWIG_fail
; 
25320         wxBitmap 
* resultptr
; 
25321         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
25322         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
25330 static PyObject 
*_wrap_BitmapDataObject_SetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25331     PyObject 
*resultobj
; 
25332     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25333     wxBitmap 
*arg2 
= 0 ; 
25334     PyObject 
* obj0 
= 0 ; 
25335     PyObject 
* obj1 
= 0 ; 
25336     char *kwnames
[] = { 
25337         (char *) "self",(char *) "bitmap", NULL 
 
25340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
25341     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25342     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25343     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
25344     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25346     if (arg2 
== NULL
) { 
25347         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25352         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
25354         wxPyEndAllowThreads(__tstate
); 
25355         if (PyErr_Occurred()) SWIG_fail
; 
25357     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25364 static PyObject 
* BitmapDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25366     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25367     SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
); 
25369     return Py_BuildValue((char *)""); 
25371 static PyObject 
*_wrap_new_PyBitmapDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25372     PyObject 
*resultobj
; 
25373     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25374     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25375     wxPyBitmapDataObject 
*result
; 
25376     PyObject 
* obj0 
= 0 ; 
25377     char *kwnames
[] = { 
25378         (char *) "bitmap", NULL 
 
25381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25383         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25384         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25386         if (arg1 
== NULL
) { 
25387             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25392         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25393         result 
= (wxPyBitmapDataObject 
*)new wxPyBitmapDataObject((wxBitmap 
const &)*arg1
); 
25395         wxPyEndAllowThreads(__tstate
); 
25396         if (PyErr_Occurred()) SWIG_fail
; 
25398     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1); 
25405 static PyObject 
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25406     PyObject 
*resultobj
; 
25407     wxPyBitmapDataObject 
*arg1 
= (wxPyBitmapDataObject 
*) 0 ; 
25408     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25409     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25410     PyObject 
* obj0 
= 0 ; 
25411     PyObject 
* obj1 
= 0 ; 
25412     PyObject 
* obj2 
= 0 ; 
25413     char *kwnames
[] = { 
25414         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25418     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
, 
25419     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25424         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25426         wxPyEndAllowThreads(__tstate
); 
25427         if (PyErr_Occurred()) SWIG_fail
; 
25429     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25436 static PyObject 
* PyBitmapDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25438     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25439     SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
); 
25441     return Py_BuildValue((char *)""); 
25443 static PyObject 
*_wrap_new_FileDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25444     PyObject 
*resultobj
; 
25445     wxFileDataObject 
*result
; 
25446     char *kwnames
[] = { 
25450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
; 
25452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25453         result 
= (wxFileDataObject 
*)new wxFileDataObject(); 
25455         wxPyEndAllowThreads(__tstate
); 
25456         if (PyErr_Occurred()) SWIG_fail
; 
25458     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1); 
25465 static PyObject 
*_wrap_FileDataObject_GetFilenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25466     PyObject 
*resultobj
; 
25467     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25468     wxArrayString 
*result
; 
25469     PyObject 
* obj0 
= 0 ; 
25470     char *kwnames
[] = { 
25471         (char *) "self", NULL 
 
25474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
; 
25475     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25476     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25480             wxArrayString 
const &_result_ref 
= (arg1
)->GetFilenames(); 
25481             result 
= (wxArrayString 
*) &_result_ref
; 
25484         wxPyEndAllowThreads(__tstate
); 
25485         if (PyErr_Occurred()) SWIG_fail
; 
25488         resultobj 
= wxArrayString2PyList_helper(*result
); 
25496 static PyObject 
*_wrap_FileDataObject_AddFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25497     PyObject 
*resultobj
; 
25498     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25499     wxString 
*arg2 
= 0 ; 
25500     bool temp2 
= False 
; 
25501     PyObject 
* obj0 
= 0 ; 
25502     PyObject 
* obj1 
= 0 ; 
25503     char *kwnames
[] = { 
25504         (char *) "self",(char *) "filename", NULL 
 
25507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
25508     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25509     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25511         arg2 
= wxString_in_helper(obj1
); 
25512         if (arg2 
== NULL
) SWIG_fail
; 
25516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25517         (arg1
)->AddFile((wxString 
const &)*arg2
); 
25519         wxPyEndAllowThreads(__tstate
); 
25520         if (PyErr_Occurred()) SWIG_fail
; 
25522     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25537 static PyObject 
* FileDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25539     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25540     SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
); 
25542     return Py_BuildValue((char *)""); 
25544 static PyObject 
*_wrap_new_CustomDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25545     PyObject 
*resultobj
; 
25546     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
25547     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
25548     wxCustomDataObject 
*result
; 
25549     PyObject 
* obj0 
= 0 ; 
25550     char *kwnames
[] = { 
25551         (char *) "format", NULL 
 
25554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
; 
25556         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
25557         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25559         if (arg1 
== NULL
) { 
25560             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25566         result 
= (wxCustomDataObject 
*)new wxCustomDataObject((wxDataFormat 
const &)*arg1
); 
25568         wxPyEndAllowThreads(__tstate
); 
25569         if (PyErr_Occurred()) SWIG_fail
; 
25571     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1); 
25578 static PyObject 
*_wrap_CustomDataObject_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25579     PyObject 
*resultobj
; 
25580     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25581     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25583     PyObject 
* obj0 
= 0 ; 
25584     PyObject 
* obj1 
= 0 ; 
25585     char *kwnames
[] = { 
25586         (char *) "self",(char *) "data", NULL 
 
25589     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25590     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25591     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25595         result 
= (bool)wxCustomDataObject_SetData(arg1
,arg2
); 
25597         wxPyEndAllowThreads(__tstate
); 
25598         if (PyErr_Occurred()) SWIG_fail
; 
25601         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25609 static PyObject 
*_wrap_CustomDataObject_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25610     PyObject 
*resultobj
; 
25611     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25613     PyObject 
* obj0 
= 0 ; 
25614     char *kwnames
[] = { 
25615         (char *) "self", NULL 
 
25618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
; 
25619     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25623         result 
= (size_t)(arg1
)->GetSize(); 
25625         wxPyEndAllowThreads(__tstate
); 
25626         if (PyErr_Occurred()) SWIG_fail
; 
25628     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
25635 static PyObject 
*_wrap_CustomDataObject_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25636     PyObject 
*resultobj
; 
25637     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25639     PyObject 
* obj0 
= 0 ; 
25640     char *kwnames
[] = { 
25641         (char *) "self", NULL 
 
25644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
; 
25645     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25646     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25649         result 
= (PyObject 
*)wxCustomDataObject_GetData(arg1
); 
25651         wxPyEndAllowThreads(__tstate
); 
25652         if (PyErr_Occurred()) SWIG_fail
; 
25654     resultobj 
= result
; 
25661 static PyObject 
* CustomDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25663     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25664     SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
); 
25666     return Py_BuildValue((char *)""); 
25668 static PyObject 
*_wrap_new_URLDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25669     PyObject 
*resultobj
; 
25670     wxURLDataObject 
*result
; 
25671     char *kwnames
[] = { 
25675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
; 
25677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25678         result 
= (wxURLDataObject 
*)new wxURLDataObject(); 
25680         wxPyEndAllowThreads(__tstate
); 
25681         if (PyErr_Occurred()) SWIG_fail
; 
25683     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1); 
25690 static PyObject 
*_wrap_URLDataObject_GetURL(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25691     PyObject 
*resultobj
; 
25692     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
25694     PyObject 
* obj0 
= 0 ; 
25695     char *kwnames
[] = { 
25696         (char *) "self", NULL 
 
25699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
; 
25700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
25701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25704         result 
= (arg1
)->GetURL(); 
25706         wxPyEndAllowThreads(__tstate
); 
25707         if (PyErr_Occurred()) SWIG_fail
; 
25711         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25713         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25722 static PyObject 
*_wrap_URLDataObject_SetURL(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25723     PyObject 
*resultobj
; 
25724     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
25725     wxString 
*arg2 
= 0 ; 
25726     bool temp2 
= False 
; 
25727     PyObject 
* obj0 
= 0 ; 
25728     PyObject 
* obj1 
= 0 ; 
25729     char *kwnames
[] = { 
25730         (char *) "self",(char *) "url", NULL 
 
25733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
; 
25734     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
25735     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25737         arg2 
= wxString_in_helper(obj1
); 
25738         if (arg2 
== NULL
) SWIG_fail
; 
25742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25743         (arg1
)->SetURL((wxString 
const &)*arg2
); 
25745         wxPyEndAllowThreads(__tstate
); 
25746         if (PyErr_Occurred()) SWIG_fail
; 
25748     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25763 static PyObject 
* URLDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25765     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25766     SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
); 
25768     return Py_BuildValue((char *)""); 
25770 static PyObject 
*_wrap_new_MetafileDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25771     PyObject 
*resultobj
; 
25772     wxMetafileDataObject 
*result
; 
25773     char *kwnames
[] = { 
25777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
; 
25779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25780         result 
= (wxMetafileDataObject 
*)new wxMetafileDataObject(); 
25782         wxPyEndAllowThreads(__tstate
); 
25783         if (PyErr_Occurred()) SWIG_fail
; 
25785     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1); 
25792 static PyObject 
*_wrap_MetafileDataObject_SetMetafile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25793     PyObject 
*resultobj
; 
25794     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
25795     wxMetafile 
*arg2 
= 0 ; 
25796     PyObject 
* obj0 
= 0 ; 
25797     PyObject 
* obj1 
= 0 ; 
25798     char *kwnames
[] = { 
25799         (char *) "self",(char *) "metafile", NULL 
 
25802     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
; 
25803     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
25804     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25805     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
, 
25806     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25808     if (arg2 
== NULL
) { 
25809         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25814         (arg1
)->SetMetafile((wxMetafile 
const &)*arg2
); 
25816         wxPyEndAllowThreads(__tstate
); 
25817         if (PyErr_Occurred()) SWIG_fail
; 
25819     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25826 static PyObject 
*_wrap_MetafileDataObject_GetMetafile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25827     PyObject 
*resultobj
; 
25828     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
25830     PyObject 
* obj0 
= 0 ; 
25831     char *kwnames
[] = { 
25832         (char *) "self", NULL 
 
25835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
; 
25836     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
25837     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25840         result 
= ((wxMetafileDataObject 
const *)arg1
)->GetMetafile(); 
25842         wxPyEndAllowThreads(__tstate
); 
25843         if (PyErr_Occurred()) SWIG_fail
; 
25846         wxMetafile 
* resultptr
; 
25847         resultptr 
= new wxMetafile((wxMetafile 
&) result
); 
25848         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1); 
25856 static PyObject 
* MetafileDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25858     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25859     SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
); 
25861     return Py_BuildValue((char *)""); 
25863 static PyObject 
*_wrap_IsDragResultOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25864     PyObject 
*resultobj
; 
25867     PyObject 
* obj0 
= 0 ; 
25868     char *kwnames
[] = { 
25869         (char *) "res", NULL 
 
25872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
; 
25873     arg1 
= (wxDragResult
) SWIG_AsInt(obj0
);  
25874     if (PyErr_Occurred()) SWIG_fail
; 
25876         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25877         result 
= (bool)wxIsDragResultOk((wxDragResult 
)arg1
); 
25879         wxPyEndAllowThreads(__tstate
); 
25880         if (PyErr_Occurred()) SWIG_fail
; 
25883         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25891 static PyObject 
*_wrap_new_DropSource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25892     PyObject 
*resultobj
; 
25893     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25894     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
25895     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
25896     wxCursor 
const &arg3_defvalue 
= wxNullCursor 
; 
25897     wxCursor 
*arg3 
= (wxCursor 
*) &arg3_defvalue 
; 
25898     wxCursor 
const &arg4_defvalue 
= wxNullCursor 
; 
25899     wxCursor 
*arg4 
= (wxCursor 
*) &arg4_defvalue 
; 
25900     wxPyDropSource 
*result
; 
25901     PyObject 
* obj0 
= 0 ; 
25902     PyObject 
* obj1 
= 0 ; 
25903     PyObject 
* obj2 
= 0 ; 
25904     PyObject 
* obj3 
= 0 ; 
25905     char *kwnames
[] = { 
25906         (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL 
 
25909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25910     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
25911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25913         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
25914         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25916         if (arg2 
== NULL
) { 
25917             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25922         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
25923         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25925         if (arg3 
== NULL
) { 
25926             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25931         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
, 
25932         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25934         if (arg4 
== NULL
) { 
25935             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25941         result 
= (wxPyDropSource 
*)new wxPyDropSource(arg1
,(wxCursor 
const &)*arg2
,(wxCursor 
const &)*arg3
,(wxCursor 
const &)*arg4
); 
25943         wxPyEndAllowThreads(__tstate
); 
25944         if (PyErr_Occurred()) SWIG_fail
; 
25946     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1); 
25953 static PyObject 
*_wrap_DropSource__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25954     PyObject 
*resultobj
; 
25955     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25956     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25957     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25959     PyObject 
* obj0 
= 0 ; 
25960     PyObject 
* obj1 
= 0 ; 
25961     PyObject 
* obj2 
= 0 ; 
25962     PyObject 
* obj3 
= 0 ; 
25963     char *kwnames
[] = { 
25964         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
25967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25968     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25969     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25972     arg4 
= (int) SWIG_AsInt(obj3
);  
25973     if (PyErr_Occurred()) SWIG_fail
; 
25975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25976         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
25978         wxPyEndAllowThreads(__tstate
); 
25979         if (PyErr_Occurred()) SWIG_fail
; 
25981     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25988 static PyObject 
*_wrap_delete_DropSource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25989     PyObject 
*resultobj
; 
25990     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25991     PyObject 
* obj0 
= 0 ; 
25992     char *kwnames
[] = { 
25993         (char *) "self", NULL 
 
25996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
; 
25997     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25998     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26003         wxPyEndAllowThreads(__tstate
); 
26004         if (PyErr_Occurred()) SWIG_fail
; 
26006     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26013 static PyObject 
*_wrap_DropSource_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26014     PyObject 
*resultobj
; 
26015     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26016     wxDataObject 
*arg2 
= 0 ; 
26017     PyObject 
* obj0 
= 0 ; 
26018     PyObject 
* obj1 
= 0 ; 
26019     char *kwnames
[] = { 
26020         (char *) "self",(char *) "data", NULL 
 
26023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26026     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26029     if (arg2 
== NULL
) { 
26030         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26035         (arg1
)->SetData(*arg2
); 
26037         wxPyEndAllowThreads(__tstate
); 
26038         if (PyErr_Occurred()) SWIG_fail
; 
26040     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26047 static PyObject 
*_wrap_DropSource_GetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26048     PyObject 
*resultobj
; 
26049     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26050     wxDataObject 
*result
; 
26051     PyObject 
* obj0 
= 0 ; 
26052     char *kwnames
[] = { 
26053         (char *) "self", NULL 
 
26056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
; 
26057     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26058     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26061         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
26063         wxPyEndAllowThreads(__tstate
); 
26064         if (PyErr_Occurred()) SWIG_fail
; 
26066     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
26073 static PyObject 
*_wrap_DropSource_SetCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26074     PyObject 
*resultobj
; 
26075     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26077     wxCursor 
*arg3 
= 0 ; 
26078     PyObject 
* obj0 
= 0 ; 
26079     PyObject 
* obj1 
= 0 ; 
26080     PyObject 
* obj2 
= 0 ; 
26081     char *kwnames
[] = { 
26082         (char *) "self",(char *) "res",(char *) "cursor", NULL 
 
26085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26086     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26087     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26088     arg2 
= (wxDragResult
) SWIG_AsInt(obj1
);  
26089     if (PyErr_Occurred()) SWIG_fail
; 
26090     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
26091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26093     if (arg3 
== NULL
) { 
26094         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26099         (arg1
)->SetCursor((wxDragResult 
)arg2
,(wxCursor 
const &)*arg3
); 
26101         wxPyEndAllowThreads(__tstate
); 
26102         if (PyErr_Occurred()) SWIG_fail
; 
26104     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26111 static PyObject 
*_wrap_DropSource_DoDragDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26112     PyObject 
*resultobj
; 
26113     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26114     int arg2 
= (int) wxDrag_CopyOnly 
; 
26116     PyObject 
* obj0 
= 0 ; 
26117     PyObject 
* obj1 
= 0 ; 
26118     char *kwnames
[] = { 
26119         (char *) "self",(char *) "flags", NULL 
 
26122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
; 
26123     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26124     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26126         arg2 
= (int) SWIG_AsInt(obj1
);  
26127         if (PyErr_Occurred()) SWIG_fail
; 
26130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26131         result 
= (int)(arg1
)->DoDragDrop(arg2
); 
26133         wxPyEndAllowThreads(__tstate
); 
26134         if (PyErr_Occurred()) SWIG_fail
; 
26136     resultobj 
= SWIG_FromInt((int)result
); 
26143 static PyObject 
*_wrap_DropSource_base_GiveFeedback(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26144     PyObject 
*resultobj
; 
26145     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
26148     PyObject 
* obj0 
= 0 ; 
26149     PyObject 
* obj1 
= 0 ; 
26150     char *kwnames
[] = { 
26151         (char *) "self",(char *) "effect", NULL 
 
26154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
; 
26155     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
26156     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26157     arg2 
= (wxDragResult
) SWIG_AsInt(obj1
);  
26158     if (PyErr_Occurred()) SWIG_fail
; 
26160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26161         result 
= (bool)(arg1
)->base_GiveFeedback((wxDragResult 
)arg2
); 
26163         wxPyEndAllowThreads(__tstate
); 
26164         if (PyErr_Occurred()) SWIG_fail
; 
26167         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26175 static PyObject 
* DropSource_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26177     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26178     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
); 
26180     return Py_BuildValue((char *)""); 
26182 static PyObject 
*_wrap_new_DropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26183     PyObject 
*resultobj
; 
26184     wxDataObject 
*arg1 
= (wxDataObject 
*) NULL 
; 
26185     wxPyDropTarget 
*result
; 
26186     PyObject 
* obj0 
= 0 ; 
26187     char *kwnames
[] = { 
26188         (char *) "dataObject", NULL 
 
26191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
; 
26193         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
26194         SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26198         result 
= (wxPyDropTarget 
*)new wxPyDropTarget(arg1
); 
26200         wxPyEndAllowThreads(__tstate
); 
26201         if (PyErr_Occurred()) SWIG_fail
; 
26203     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1); 
26210 static PyObject 
*_wrap_DropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26211     PyObject 
*resultobj
; 
26212     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26213     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26214     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26215     PyObject 
* obj0 
= 0 ; 
26216     PyObject 
* obj1 
= 0 ; 
26217     PyObject 
* obj2 
= 0 ; 
26218     char *kwnames
[] = { 
26219         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26222     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26223     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26224     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26229         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26231         wxPyEndAllowThreads(__tstate
); 
26232         if (PyErr_Occurred()) SWIG_fail
; 
26234     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26241 static PyObject 
*_wrap_delete_DropTarget(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:delete_DropTarget",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(); 
26256         wxPyEndAllowThreads(__tstate
); 
26257         if (PyErr_Occurred()) SWIG_fail
; 
26259     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26266 static PyObject 
*_wrap_DropTarget_GetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26267     PyObject 
*resultobj
; 
26268     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26269     wxDataObject 
*result
; 
26270     PyObject 
* obj0 
= 0 ; 
26271     char *kwnames
[] = { 
26272         (char *) "self", NULL 
 
26275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
; 
26276     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26277     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26280         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
26282         wxPyEndAllowThreads(__tstate
); 
26283         if (PyErr_Occurred()) SWIG_fail
; 
26285     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
26292 static PyObject 
*_wrap_DropTarget_SetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26293     PyObject 
*resultobj
; 
26294     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26295     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26296     PyObject 
* obj0 
= 0 ; 
26297     PyObject 
* obj1 
= 0 ; 
26298     char *kwnames
[] = { 
26299         (char *) "self",(char *) "dataObject", NULL 
 
26302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
26303     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26304     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26305     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26306     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26309         (arg1
)->SetDataObject(arg2
); 
26311         wxPyEndAllowThreads(__tstate
); 
26312         if (PyErr_Occurred()) SWIG_fail
; 
26314     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26321 static PyObject 
*_wrap_DropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26322     PyObject 
*resultobj
; 
26323     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26328     PyObject 
* obj0 
= 0 ; 
26329     PyObject 
* obj1 
= 0 ; 
26330     PyObject 
* obj2 
= 0 ; 
26331     PyObject 
* obj3 
= 0 ; 
26332     char *kwnames
[] = { 
26333         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26339     arg2 
= (int) SWIG_AsInt(obj1
);  
26340     if (PyErr_Occurred()) SWIG_fail
; 
26341     arg3 
= (int) SWIG_AsInt(obj2
);  
26342     if (PyErr_Occurred()) SWIG_fail
; 
26343     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26344     if (PyErr_Occurred()) SWIG_fail
; 
26346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26347         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26349         wxPyEndAllowThreads(__tstate
); 
26350         if (PyErr_Occurred()) SWIG_fail
; 
26352     resultobj 
= SWIG_FromInt((int)result
); 
26359 static PyObject 
*_wrap_DropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26360     PyObject 
*resultobj
; 
26361     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26366     PyObject 
* obj0 
= 0 ; 
26367     PyObject 
* obj1 
= 0 ; 
26368     PyObject 
* obj2 
= 0 ; 
26369     PyObject 
* obj3 
= 0 ; 
26370     char *kwnames
[] = { 
26371         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26375     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26376     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26377     arg2 
= (int) SWIG_AsInt(obj1
);  
26378     if (PyErr_Occurred()) SWIG_fail
; 
26379     arg3 
= (int) SWIG_AsInt(obj2
);  
26380     if (PyErr_Occurred()) SWIG_fail
; 
26381     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26382     if (PyErr_Occurred()) SWIG_fail
; 
26384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26385         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26387         wxPyEndAllowThreads(__tstate
); 
26388         if (PyErr_Occurred()) SWIG_fail
; 
26390     resultobj 
= SWIG_FromInt((int)result
); 
26397 static PyObject 
*_wrap_DropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26398     PyObject 
*resultobj
; 
26399     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26400     PyObject 
* obj0 
= 0 ; 
26401     char *kwnames
[] = { 
26402         (char *) "self", NULL 
 
26405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26406     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26407     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26409         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26410         (arg1
)->base_OnLeave(); 
26412         wxPyEndAllowThreads(__tstate
); 
26413         if (PyErr_Occurred()) SWIG_fail
; 
26415     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26422 static PyObject 
*_wrap_DropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26423     PyObject 
*resultobj
; 
26424     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26428     PyObject 
* obj0 
= 0 ; 
26429     PyObject 
* obj1 
= 0 ; 
26430     PyObject 
* obj2 
= 0 ; 
26431     char *kwnames
[] = { 
26432         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26438     arg2 
= (int) SWIG_AsInt(obj1
);  
26439     if (PyErr_Occurred()) SWIG_fail
; 
26440     arg3 
= (int) SWIG_AsInt(obj2
);  
26441     if (PyErr_Occurred()) SWIG_fail
; 
26443         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26444         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26446         wxPyEndAllowThreads(__tstate
); 
26447         if (PyErr_Occurred()) SWIG_fail
; 
26450         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26458 static PyObject 
*_wrap_DropTarget_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26459     PyObject 
*resultobj
; 
26460     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26462     PyObject 
* obj0 
= 0 ; 
26463     char *kwnames
[] = { 
26464         (char *) "self", NULL 
 
26467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
; 
26468     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26469     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26472         result 
= (bool)(arg1
)->GetData(); 
26474         wxPyEndAllowThreads(__tstate
); 
26475         if (PyErr_Occurred()) SWIG_fail
; 
26478         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26486 static PyObject 
* DropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26488     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26489     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
); 
26491     return Py_BuildValue((char *)""); 
26493 static PyObject 
*_wrap_new_TextDropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26494     PyObject 
*resultobj
; 
26495     wxPyTextDropTarget 
*result
; 
26496     char *kwnames
[] = { 
26500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
; 
26502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26503         result 
= (wxPyTextDropTarget 
*)new wxPyTextDropTarget(); 
26505         wxPyEndAllowThreads(__tstate
); 
26506         if (PyErr_Occurred()) SWIG_fail
; 
26508     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1); 
26515 static PyObject 
*_wrap_TextDropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26516     PyObject 
*resultobj
; 
26517     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26518     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26519     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26520     PyObject 
* obj0 
= 0 ; 
26521     PyObject 
* obj1 
= 0 ; 
26522     PyObject 
* obj2 
= 0 ; 
26523     char *kwnames
[] = { 
26524         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26533         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26534         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26536         wxPyEndAllowThreads(__tstate
); 
26537         if (PyErr_Occurred()) SWIG_fail
; 
26539     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26546 static PyObject 
*_wrap_TextDropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26547     PyObject 
*resultobj
; 
26548     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26553     PyObject 
* obj0 
= 0 ; 
26554     PyObject 
* obj1 
= 0 ; 
26555     PyObject 
* obj2 
= 0 ; 
26556     PyObject 
* obj3 
= 0 ; 
26557     char *kwnames
[] = { 
26558         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26562     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26563     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26564     arg2 
= (int) SWIG_AsInt(obj1
);  
26565     if (PyErr_Occurred()) SWIG_fail
; 
26566     arg3 
= (int) SWIG_AsInt(obj2
);  
26567     if (PyErr_Occurred()) SWIG_fail
; 
26568     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26569     if (PyErr_Occurred()) SWIG_fail
; 
26571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26572         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26574         wxPyEndAllowThreads(__tstate
); 
26575         if (PyErr_Occurred()) SWIG_fail
; 
26577     resultobj 
= SWIG_FromInt((int)result
); 
26584 static PyObject 
*_wrap_TextDropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26585     PyObject 
*resultobj
; 
26586     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26591     PyObject 
* obj0 
= 0 ; 
26592     PyObject 
* obj1 
= 0 ; 
26593     PyObject 
* obj2 
= 0 ; 
26594     PyObject 
* obj3 
= 0 ; 
26595     char *kwnames
[] = { 
26596         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26600     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26601     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26602     arg2 
= (int) SWIG_AsInt(obj1
);  
26603     if (PyErr_Occurred()) SWIG_fail
; 
26604     arg3 
= (int) SWIG_AsInt(obj2
);  
26605     if (PyErr_Occurred()) SWIG_fail
; 
26606     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26607     if (PyErr_Occurred()) SWIG_fail
; 
26609         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26610         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26612         wxPyEndAllowThreads(__tstate
); 
26613         if (PyErr_Occurred()) SWIG_fail
; 
26615     resultobj 
= SWIG_FromInt((int)result
); 
26622 static PyObject 
*_wrap_TextDropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26623     PyObject 
*resultobj
; 
26624     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26625     PyObject 
* obj0 
= 0 ; 
26626     char *kwnames
[] = { 
26627         (char *) "self", NULL 
 
26630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26631     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26632     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26635         (arg1
)->base_OnLeave(); 
26637         wxPyEndAllowThreads(__tstate
); 
26638         if (PyErr_Occurred()) SWIG_fail
; 
26640     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26647 static PyObject 
*_wrap_TextDropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26648     PyObject 
*resultobj
; 
26649     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26653     PyObject 
* obj0 
= 0 ; 
26654     PyObject 
* obj1 
= 0 ; 
26655     PyObject 
* obj2 
= 0 ; 
26656     char *kwnames
[] = { 
26657         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26661     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26663     arg2 
= (int) SWIG_AsInt(obj1
);  
26664     if (PyErr_Occurred()) SWIG_fail
; 
26665     arg3 
= (int) SWIG_AsInt(obj2
);  
26666     if (PyErr_Occurred()) SWIG_fail
; 
26668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26669         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26671         wxPyEndAllowThreads(__tstate
); 
26672         if (PyErr_Occurred()) SWIG_fail
; 
26675         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26683 static PyObject 
*_wrap_TextDropTarget_base_OnData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26684     PyObject 
*resultobj
; 
26685     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26690     PyObject 
* obj0 
= 0 ; 
26691     PyObject 
* obj1 
= 0 ; 
26692     PyObject 
* obj2 
= 0 ; 
26693     PyObject 
* obj3 
= 0 ; 
26694     char *kwnames
[] = { 
26695         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26701     arg2 
= (int) SWIG_AsInt(obj1
);  
26702     if (PyErr_Occurred()) SWIG_fail
; 
26703     arg3 
= (int) SWIG_AsInt(obj2
);  
26704     if (PyErr_Occurred()) SWIG_fail
; 
26705     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26706     if (PyErr_Occurred()) SWIG_fail
; 
26708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26709         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
26711         wxPyEndAllowThreads(__tstate
); 
26712         if (PyErr_Occurred()) SWIG_fail
; 
26714     resultobj 
= SWIG_FromInt((int)result
); 
26721 static PyObject 
* TextDropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26723     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26724     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
); 
26726     return Py_BuildValue((char *)""); 
26728 static PyObject 
*_wrap_new_FileDropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26729     PyObject 
*resultobj
; 
26730     wxPyFileDropTarget 
*result
; 
26731     char *kwnames
[] = { 
26735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
; 
26737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26738         result 
= (wxPyFileDropTarget 
*)new wxPyFileDropTarget(); 
26740         wxPyEndAllowThreads(__tstate
); 
26741         if (PyErr_Occurred()) SWIG_fail
; 
26743     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1); 
26750 static PyObject 
*_wrap_FileDropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26751     PyObject 
*resultobj
; 
26752     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26753     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26754     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26755     PyObject 
* obj0 
= 0 ; 
26756     PyObject 
* obj1 
= 0 ; 
26757     PyObject 
* obj2 
= 0 ; 
26758     char *kwnames
[] = { 
26759         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26762     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26763     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26764     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26769         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26771         wxPyEndAllowThreads(__tstate
); 
26772         if (PyErr_Occurred()) SWIG_fail
; 
26774     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26781 static PyObject 
*_wrap_FileDropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26782     PyObject 
*resultobj
; 
26783     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26788     PyObject 
* obj0 
= 0 ; 
26789     PyObject 
* obj1 
= 0 ; 
26790     PyObject 
* obj2 
= 0 ; 
26791     PyObject 
* obj3 
= 0 ; 
26792     char *kwnames
[] = { 
26793         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26797     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26799     arg2 
= (int) SWIG_AsInt(obj1
);  
26800     if (PyErr_Occurred()) SWIG_fail
; 
26801     arg3 
= (int) SWIG_AsInt(obj2
);  
26802     if (PyErr_Occurred()) SWIG_fail
; 
26803     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26804     if (PyErr_Occurred()) SWIG_fail
; 
26806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26807         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26809         wxPyEndAllowThreads(__tstate
); 
26810         if (PyErr_Occurred()) SWIG_fail
; 
26812     resultobj 
= SWIG_FromInt((int)result
); 
26819 static PyObject 
*_wrap_FileDropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26820     PyObject 
*resultobj
; 
26821     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26826     PyObject 
* obj0 
= 0 ; 
26827     PyObject 
* obj1 
= 0 ; 
26828     PyObject 
* obj2 
= 0 ; 
26829     PyObject 
* obj3 
= 0 ; 
26830     char *kwnames
[] = { 
26831         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26837     arg2 
= (int) SWIG_AsInt(obj1
);  
26838     if (PyErr_Occurred()) SWIG_fail
; 
26839     arg3 
= (int) SWIG_AsInt(obj2
);  
26840     if (PyErr_Occurred()) SWIG_fail
; 
26841     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26842     if (PyErr_Occurred()) SWIG_fail
; 
26844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26845         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26847         wxPyEndAllowThreads(__tstate
); 
26848         if (PyErr_Occurred()) SWIG_fail
; 
26850     resultobj 
= SWIG_FromInt((int)result
); 
26857 static PyObject 
*_wrap_FileDropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26858     PyObject 
*resultobj
; 
26859     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26860     PyObject 
* obj0 
= 0 ; 
26861     char *kwnames
[] = { 
26862         (char *) "self", NULL 
 
26865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26866     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26867     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26870         (arg1
)->base_OnLeave(); 
26872         wxPyEndAllowThreads(__tstate
); 
26873         if (PyErr_Occurred()) SWIG_fail
; 
26875     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26882 static PyObject 
*_wrap_FileDropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26883     PyObject 
*resultobj
; 
26884     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26888     PyObject 
* obj0 
= 0 ; 
26889     PyObject 
* obj1 
= 0 ; 
26890     PyObject 
* obj2 
= 0 ; 
26891     char *kwnames
[] = { 
26892         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26896     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26897     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26898     arg2 
= (int) SWIG_AsInt(obj1
);  
26899     if (PyErr_Occurred()) SWIG_fail
; 
26900     arg3 
= (int) SWIG_AsInt(obj2
);  
26901     if (PyErr_Occurred()) SWIG_fail
; 
26903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26904         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26906         wxPyEndAllowThreads(__tstate
); 
26907         if (PyErr_Occurred()) SWIG_fail
; 
26910         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26918 static PyObject 
*_wrap_FileDropTarget_base_OnData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26919     PyObject 
*resultobj
; 
26920     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26925     PyObject 
* obj0 
= 0 ; 
26926     PyObject 
* obj1 
= 0 ; 
26927     PyObject 
* obj2 
= 0 ; 
26928     PyObject 
* obj3 
= 0 ; 
26929     char *kwnames
[] = { 
26930         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26934     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26936     arg2 
= (int) SWIG_AsInt(obj1
);  
26937     if (PyErr_Occurred()) SWIG_fail
; 
26938     arg3 
= (int) SWIG_AsInt(obj2
);  
26939     if (PyErr_Occurred()) SWIG_fail
; 
26940     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26941     if (PyErr_Occurred()) SWIG_fail
; 
26943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26944         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
26946         wxPyEndAllowThreads(__tstate
); 
26947         if (PyErr_Occurred()) SWIG_fail
; 
26949     resultobj 
= SWIG_FromInt((int)result
); 
26956 static PyObject 
* FileDropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26958     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26959     SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
); 
26961     return Py_BuildValue((char *)""); 
26963 static PyObject 
*_wrap_new_Clipboard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26964     PyObject 
*resultobj
; 
26965     wxClipboard 
*result
; 
26966     char *kwnames
[] = { 
26970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
; 
26972         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26973         result 
= (wxClipboard 
*)new wxClipboard(); 
26975         wxPyEndAllowThreads(__tstate
); 
26976         if (PyErr_Occurred()) SWIG_fail
; 
26978     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1); 
26985 static PyObject 
*_wrap_delete_Clipboard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26986     PyObject 
*resultobj
; 
26987     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26988     PyObject 
* obj0 
= 0 ; 
26989     char *kwnames
[] = { 
26990         (char *) "self", NULL 
 
26993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
; 
26994     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26995     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27000         wxPyEndAllowThreads(__tstate
); 
27001         if (PyErr_Occurred()) SWIG_fail
; 
27003     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27010 static PyObject 
*_wrap_Clipboard_Open(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27011     PyObject 
*resultobj
; 
27012     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27014     PyObject 
* obj0 
= 0 ; 
27015     char *kwnames
[] = { 
27016         (char *) "self", NULL 
 
27019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
; 
27020     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27021     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27024         result 
= (bool)(arg1
)->Open(); 
27026         wxPyEndAllowThreads(__tstate
); 
27027         if (PyErr_Occurred()) SWIG_fail
; 
27030         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27038 static PyObject 
*_wrap_Clipboard_Close(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27039     PyObject 
*resultobj
; 
27040     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27041     PyObject 
* obj0 
= 0 ; 
27042     char *kwnames
[] = { 
27043         (char *) "self", NULL 
 
27046     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
; 
27047     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27048     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27053         wxPyEndAllowThreads(__tstate
); 
27054         if (PyErr_Occurred()) SWIG_fail
; 
27056     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27063 static PyObject 
*_wrap_Clipboard_IsOpened(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27064     PyObject 
*resultobj
; 
27065     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27067     PyObject 
* obj0 
= 0 ; 
27068     char *kwnames
[] = { 
27069         (char *) "self", NULL 
 
27072     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
; 
27073     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27074     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27077         result 
= (bool)((wxClipboard 
const *)arg1
)->IsOpened(); 
27079         wxPyEndAllowThreads(__tstate
); 
27080         if (PyErr_Occurred()) SWIG_fail
; 
27083         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27091 static PyObject 
*_wrap_Clipboard_AddData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27092     PyObject 
*resultobj
; 
27093     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27094     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
27096     PyObject 
* obj0 
= 0 ; 
27097     PyObject 
* obj1 
= 0 ; 
27098     char *kwnames
[] = { 
27099         (char *) "self",(char *) "data", NULL 
 
27102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27105     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27106     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
27108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27109         result 
= (bool)(arg1
)->AddData(arg2
); 
27111         wxPyEndAllowThreads(__tstate
); 
27112         if (PyErr_Occurred()) SWIG_fail
; 
27115         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27123 static PyObject 
*_wrap_Clipboard_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27124     PyObject 
*resultobj
; 
27125     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27126     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
27128     PyObject 
* obj0 
= 0 ; 
27129     PyObject 
* obj1 
= 0 ; 
27130     char *kwnames
[] = { 
27131         (char *) "self",(char *) "data", NULL 
 
27134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27135     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27136     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27137     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27138     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
27140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27141         result 
= (bool)(arg1
)->SetData(arg2
); 
27143         wxPyEndAllowThreads(__tstate
); 
27144         if (PyErr_Occurred()) SWIG_fail
; 
27147         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27155 static PyObject 
*_wrap_Clipboard_IsSupported(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27156     PyObject 
*resultobj
; 
27157     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27158     wxDataFormat 
*arg2 
= 0 ; 
27160     PyObject 
* obj0 
= 0 ; 
27161     PyObject 
* obj1 
= 0 ; 
27162     char *kwnames
[] = { 
27163         (char *) "self",(char *) "format", NULL 
 
27166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
; 
27167     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27168     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27169     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
27170     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27172     if (arg2 
== NULL
) { 
27173         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27178         result 
= (bool)(arg1
)->IsSupported((wxDataFormat 
const &)*arg2
); 
27180         wxPyEndAllowThreads(__tstate
); 
27181         if (PyErr_Occurred()) SWIG_fail
; 
27184         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27192 static PyObject 
*_wrap_Clipboard_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27193     PyObject 
*resultobj
; 
27194     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27195     wxDataObject 
*arg2 
= 0 ; 
27197     PyObject 
* obj0 
= 0 ; 
27198     PyObject 
* obj1 
= 0 ; 
27199     char *kwnames
[] = { 
27200         (char *) "self",(char *) "data", NULL 
 
27203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27204     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27205     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27206     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27207     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27209     if (arg2 
== NULL
) { 
27210         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27215         result 
= (bool)(arg1
)->GetData(*arg2
); 
27217         wxPyEndAllowThreads(__tstate
); 
27218         if (PyErr_Occurred()) SWIG_fail
; 
27221         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27229 static PyObject 
*_wrap_Clipboard_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27230     PyObject 
*resultobj
; 
27231     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27232     PyObject 
* obj0 
= 0 ; 
27233     char *kwnames
[] = { 
27234         (char *) "self", NULL 
 
27237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
; 
27238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27244         wxPyEndAllowThreads(__tstate
); 
27245         if (PyErr_Occurred()) SWIG_fail
; 
27247     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27254 static PyObject 
*_wrap_Clipboard_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27255     PyObject 
*resultobj
; 
27256     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27258     PyObject 
* obj0 
= 0 ; 
27259     char *kwnames
[] = { 
27260         (char *) "self", NULL 
 
27263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
; 
27264     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27265     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27268         result 
= (bool)(arg1
)->Flush(); 
27270         wxPyEndAllowThreads(__tstate
); 
27271         if (PyErr_Occurred()) SWIG_fail
; 
27274         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27282 static PyObject 
*_wrap_Clipboard_UsePrimarySelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27283     PyObject 
*resultobj
; 
27284     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27285     bool arg2 
= (bool) True 
; 
27286     PyObject 
* obj0 
= 0 ; 
27287     PyObject 
* obj1 
= 0 ; 
27288     char *kwnames
[] = { 
27289         (char *) "self",(char *) "primary", NULL 
 
27292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
27293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27296         arg2 
= (bool) SWIG_AsBool(obj1
);  
27297         if (PyErr_Occurred()) SWIG_fail
; 
27300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27301         (arg1
)->UsePrimarySelection(arg2
); 
27303         wxPyEndAllowThreads(__tstate
); 
27304         if (PyErr_Occurred()) SWIG_fail
; 
27306     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27313 static PyObject 
*_wrap_Clipboard_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27314     PyObject 
*resultobj
; 
27315     wxClipboard 
*result
; 
27316     char *kwnames
[] = { 
27320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
; 
27322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27323         result 
= (wxClipboard 
*)wxClipboard::Get(); 
27325         wxPyEndAllowThreads(__tstate
); 
27326         if (PyErr_Occurred()) SWIG_fail
; 
27328     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0); 
27335 static PyObject 
* Clipboard_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27337     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27338     SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
); 
27340     return Py_BuildValue((char *)""); 
27342 static PyObject 
*_wrap_new_ClipboardLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27343     PyObject 
*resultobj
; 
27344     wxClipboard 
*arg1 
= (wxClipboard 
*) NULL 
; 
27345     wxClipboardLocker 
*result
; 
27346     PyObject 
* obj0 
= 0 ; 
27347     char *kwnames
[] = { 
27348         (char *) "clipboard", NULL 
 
27351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27353         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27354         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27358         result 
= (wxClipboardLocker 
*)new wxClipboardLocker(arg1
); 
27360         wxPyEndAllowThreads(__tstate
); 
27361         if (PyErr_Occurred()) SWIG_fail
; 
27363     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1); 
27370 static PyObject 
*_wrap_delete_ClipboardLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27371     PyObject 
*resultobj
; 
27372     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27373     PyObject 
* obj0 
= 0 ; 
27374     char *kwnames
[] = { 
27375         (char *) "self", NULL 
 
27378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27379     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27380     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27385         wxPyEndAllowThreads(__tstate
); 
27386         if (PyErr_Occurred()) SWIG_fail
; 
27388     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27395 static PyObject 
*_wrap_ClipboardLocker___nonzero__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27396     PyObject 
*resultobj
; 
27397     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27399     PyObject 
* obj0 
= 0 ; 
27400     char *kwnames
[] = { 
27401         (char *) "self", NULL 
 
27404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
; 
27405     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27409         result 
= (bool)wxClipboardLocker___nonzero__(arg1
); 
27411         wxPyEndAllowThreads(__tstate
); 
27412         if (PyErr_Occurred()) SWIG_fail
; 
27415         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27423 static PyObject 
* ClipboardLocker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27425     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27426     SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
); 
27428     return Py_BuildValue((char *)""); 
27430 static PyObject 
*_wrap_new_VideoMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27431     PyObject 
*resultobj
; 
27432     int arg1 
= (int) 0 ; 
27433     int arg2 
= (int) 0 ; 
27434     int arg3 
= (int) 0 ; 
27435     int arg4 
= (int) 0 ; 
27436     wxVideoMode 
*result
; 
27437     PyObject 
* obj0 
= 0 ; 
27438     PyObject 
* obj1 
= 0 ; 
27439     PyObject 
* obj2 
= 0 ; 
27440     PyObject 
* obj3 
= 0 ; 
27441     char *kwnames
[] = { 
27442         (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL 
 
27445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
27447         arg1 
= (int) SWIG_AsInt(obj0
);  
27448         if (PyErr_Occurred()) SWIG_fail
; 
27451         arg2 
= (int) SWIG_AsInt(obj1
);  
27452         if (PyErr_Occurred()) SWIG_fail
; 
27455         arg3 
= (int) SWIG_AsInt(obj2
);  
27456         if (PyErr_Occurred()) SWIG_fail
; 
27459         arg4 
= (int) SWIG_AsInt(obj3
);  
27460         if (PyErr_Occurred()) SWIG_fail
; 
27463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27464         result 
= (wxVideoMode 
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
); 
27466         wxPyEndAllowThreads(__tstate
); 
27467         if (PyErr_Occurred()) SWIG_fail
; 
27469     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1); 
27476 static PyObject 
*_wrap_delete_VideoMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27477     PyObject 
*resultobj
; 
27478     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27479     PyObject 
* obj0 
= 0 ; 
27480     char *kwnames
[] = { 
27481         (char *) "self", NULL 
 
27484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
; 
27485     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27486     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27488         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27491         wxPyEndAllowThreads(__tstate
); 
27492         if (PyErr_Occurred()) SWIG_fail
; 
27494     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27501 static PyObject 
*_wrap_VideoMode_Matches(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27502     PyObject 
*resultobj
; 
27503     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27504     wxVideoMode 
*arg2 
= 0 ; 
27506     PyObject 
* obj0 
= 0 ; 
27507     PyObject 
* obj1 
= 0 ; 
27508     char *kwnames
[] = { 
27509         (char *) "self",(char *) "other", NULL 
 
27512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
; 
27513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27515     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27518     if (arg2 
== NULL
) { 
27519         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27524         result 
= (bool)((wxVideoMode 
const *)arg1
)->Matches((wxVideoMode 
const &)*arg2
); 
27526         wxPyEndAllowThreads(__tstate
); 
27527         if (PyErr_Occurred()) SWIG_fail
; 
27530         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27538 static PyObject 
*_wrap_VideoMode_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27539     PyObject 
*resultobj
; 
27540     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27542     PyObject 
* obj0 
= 0 ; 
27543     char *kwnames
[] = { 
27544         (char *) "self", NULL 
 
27547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
; 
27548     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27549     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27552         result 
= (int)((wxVideoMode 
const *)arg1
)->GetWidth(); 
27554         wxPyEndAllowThreads(__tstate
); 
27555         if (PyErr_Occurred()) SWIG_fail
; 
27557     resultobj 
= SWIG_FromInt((int)result
); 
27564 static PyObject 
*_wrap_VideoMode_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27565     PyObject 
*resultobj
; 
27566     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27568     PyObject 
* obj0 
= 0 ; 
27569     char *kwnames
[] = { 
27570         (char *) "self", NULL 
 
27573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
; 
27574     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27578         result 
= (int)((wxVideoMode 
const *)arg1
)->GetHeight(); 
27580         wxPyEndAllowThreads(__tstate
); 
27581         if (PyErr_Occurred()) SWIG_fail
; 
27583     resultobj 
= SWIG_FromInt((int)result
); 
27590 static PyObject 
*_wrap_VideoMode_GetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27591     PyObject 
*resultobj
; 
27592     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27594     PyObject 
* obj0 
= 0 ; 
27595     char *kwnames
[] = { 
27596         (char *) "self", NULL 
 
27599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
; 
27600     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27601     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27603         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27604         result 
= (int)((wxVideoMode 
const *)arg1
)->GetDepth(); 
27606         wxPyEndAllowThreads(__tstate
); 
27607         if (PyErr_Occurred()) SWIG_fail
; 
27609     resultobj 
= SWIG_FromInt((int)result
); 
27616 static PyObject 
*_wrap_VideoMode_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27617     PyObject 
*resultobj
; 
27618     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27620     PyObject 
* obj0 
= 0 ; 
27621     char *kwnames
[] = { 
27622         (char *) "self", NULL 
 
27625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
; 
27626     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27630         result 
= (bool)((wxVideoMode 
const *)arg1
)->IsOk(); 
27632         wxPyEndAllowThreads(__tstate
); 
27633         if (PyErr_Occurred()) SWIG_fail
; 
27636         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27644 static PyObject 
*_wrap_VideoMode___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27645     PyObject 
*resultobj
; 
27646     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27647     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27649     PyObject 
* obj0 
= 0 ; 
27650     PyObject 
* obj1 
= 0 ; 
27651     char *kwnames
[] = { 
27652         (char *) "self",(char *) "other", NULL 
 
27655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27656     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27657     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27658     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27662         result 
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode 
const *)arg2
); 
27664         wxPyEndAllowThreads(__tstate
); 
27665         if (PyErr_Occurred()) SWIG_fail
; 
27668         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27676 static PyObject 
*_wrap_VideoMode___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27677     PyObject 
*resultobj
; 
27678     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27679     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27681     PyObject 
* obj0 
= 0 ; 
27682     PyObject 
* obj1 
= 0 ; 
27683     char *kwnames
[] = { 
27684         (char *) "self",(char *) "other", NULL 
 
27687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27688     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27689     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27690     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27691     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27694         result 
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode 
const *)arg2
); 
27696         wxPyEndAllowThreads(__tstate
); 
27697         if (PyErr_Occurred()) SWIG_fail
; 
27700         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27708 static PyObject 
*_wrap_VideoMode_w_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27709     PyObject 
*resultobj
; 
27710     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27712     PyObject 
* obj0 
= 0 ; 
27713     PyObject 
* obj1 
= 0 ; 
27714     char *kwnames
[] = { 
27715         (char *) "self",(char *) "w", NULL 
 
27718     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27719     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27720     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27721     arg2 
= (int) SWIG_AsInt(obj1
);  
27722     if (PyErr_Occurred()) SWIG_fail
; 
27723     if (arg1
) (arg1
)->w 
= arg2
; 
27725     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27732 static PyObject 
*_wrap_VideoMode_w_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27733     PyObject 
*resultobj
; 
27734     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27736     PyObject 
* obj0 
= 0 ; 
27737     char *kwnames
[] = { 
27738         (char *) "self", NULL 
 
27741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
; 
27742     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27743     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27744     result 
= (int) ((arg1
)->w
); 
27746     resultobj 
= SWIG_FromInt((int)result
); 
27753 static PyObject 
*_wrap_VideoMode_h_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27754     PyObject 
*resultobj
; 
27755     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27757     PyObject 
* obj0 
= 0 ; 
27758     PyObject 
* obj1 
= 0 ; 
27759     char *kwnames
[] = { 
27760         (char *) "self",(char *) "h", NULL 
 
27763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27766     arg2 
= (int) SWIG_AsInt(obj1
);  
27767     if (PyErr_Occurred()) SWIG_fail
; 
27768     if (arg1
) (arg1
)->h 
= arg2
; 
27770     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27777 static PyObject 
*_wrap_VideoMode_h_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27778     PyObject 
*resultobj
; 
27779     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27781     PyObject 
* obj0 
= 0 ; 
27782     char *kwnames
[] = { 
27783         (char *) "self", NULL 
 
27786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
; 
27787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27789     result 
= (int) ((arg1
)->h
); 
27791     resultobj 
= SWIG_FromInt((int)result
); 
27798 static PyObject 
*_wrap_VideoMode_bpp_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27799     PyObject 
*resultobj
; 
27800     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27802     PyObject 
* obj0 
= 0 ; 
27803     PyObject 
* obj1 
= 0 ; 
27804     char *kwnames
[] = { 
27805         (char *) "self",(char *) "bpp", NULL 
 
27808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27809     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27810     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27811     arg2 
= (int) SWIG_AsInt(obj1
);  
27812     if (PyErr_Occurred()) SWIG_fail
; 
27813     if (arg1
) (arg1
)->bpp 
= arg2
; 
27815     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27822 static PyObject 
*_wrap_VideoMode_bpp_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27823     PyObject 
*resultobj
; 
27824     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27826     PyObject 
* obj0 
= 0 ; 
27827     char *kwnames
[] = { 
27828         (char *) "self", NULL 
 
27831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
; 
27832     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27833     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27834     result 
= (int) ((arg1
)->bpp
); 
27836     resultobj 
= SWIG_FromInt((int)result
); 
27843 static PyObject 
*_wrap_VideoMode_refresh_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27844     PyObject 
*resultobj
; 
27845     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27847     PyObject 
* obj0 
= 0 ; 
27848     PyObject 
* obj1 
= 0 ; 
27849     char *kwnames
[] = { 
27850         (char *) "self",(char *) "refresh", NULL 
 
27853     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27854     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27855     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27856     arg2 
= (int) SWIG_AsInt(obj1
);  
27857     if (PyErr_Occurred()) SWIG_fail
; 
27858     if (arg1
) (arg1
)->refresh 
= arg2
; 
27860     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27867 static PyObject 
*_wrap_VideoMode_refresh_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27868     PyObject 
*resultobj
; 
27869     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27871     PyObject 
* obj0 
= 0 ; 
27872     char *kwnames
[] = { 
27873         (char *) "self", NULL 
 
27876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
; 
27877     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27879     result 
= (int) ((arg1
)->refresh
); 
27881     resultobj 
= SWIG_FromInt((int)result
); 
27888 static PyObject 
* VideoMode_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27890     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27891     SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
); 
27893     return Py_BuildValue((char *)""); 
27895 static int _wrap_DefaultVideoMode_set(PyObject 
*_val
) { 
27896     PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only."); 
27901 static PyObject 
*_wrap_DefaultVideoMode_get() { 
27904     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0); 
27909 static PyObject 
*_wrap_new_Display(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27910     PyObject 
*resultobj
; 
27911     size_t arg1 
= (size_t) 0 ; 
27913     PyObject 
* obj0 
= 0 ; 
27914     char *kwnames
[] = { 
27915         (char *) "index", NULL 
 
27918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
; 
27920         arg1 
= (size_t) SWIG_AsUnsignedLong(obj0
);  
27921         if (PyErr_Occurred()) SWIG_fail
; 
27924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27925         result 
= (wxDisplay 
*)new wxDisplay(arg1
); 
27927         wxPyEndAllowThreads(__tstate
); 
27928         if (PyErr_Occurred()) SWIG_fail
; 
27930     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1); 
27937 static PyObject 
*_wrap_delete_Display(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27938     PyObject 
*resultobj
; 
27939     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27940     PyObject 
* obj0 
= 0 ; 
27941     char *kwnames
[] = { 
27942         (char *) "self", NULL 
 
27945     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
; 
27946     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27947     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27952         wxPyEndAllowThreads(__tstate
); 
27953         if (PyErr_Occurred()) SWIG_fail
; 
27955     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27962 static PyObject 
*_wrap_Display_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27963     PyObject 
*resultobj
; 
27965     char *kwnames
[] = { 
27969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
; 
27971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27972         result 
= (size_t)wxDisplay::GetCount(); 
27974         wxPyEndAllowThreads(__tstate
); 
27975         if (PyErr_Occurred()) SWIG_fail
; 
27977     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
27984 static PyObject 
*_wrap_Display_GetFromPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27985     PyObject 
*resultobj
; 
27986     wxPoint 
*arg1 
= 0 ; 
27989     PyObject 
* obj0 
= 0 ; 
27990     char *kwnames
[] = { 
27991         (char *) "pt", NULL 
 
27994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
; 
27997         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
28000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28001         result 
= (int)wxDisplay::GetFromPoint((wxPoint 
const &)*arg1
); 
28003         wxPyEndAllowThreads(__tstate
); 
28004         if (PyErr_Occurred()) SWIG_fail
; 
28006     resultobj 
= SWIG_FromInt((int)result
); 
28013 static PyObject 
*_wrap_Display_GetFromWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28014     PyObject 
*resultobj
; 
28015     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28017     PyObject 
* obj0 
= 0 ; 
28018     char *kwnames
[] = { 
28019         (char *) "window", NULL 
 
28022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
; 
28023     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
28024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28027         result 
= (int)Display_GetFromWindow(arg1
); 
28029         wxPyEndAllowThreads(__tstate
); 
28030         if (PyErr_Occurred()) SWIG_fail
; 
28032     resultobj 
= SWIG_FromInt((int)result
); 
28039 static PyObject 
*_wrap_Display_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28040     PyObject 
*resultobj
; 
28041     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28043     PyObject 
* obj0 
= 0 ; 
28044     char *kwnames
[] = { 
28045         (char *) "self", NULL 
 
28048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
; 
28049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28053         result 
= (bool)((wxDisplay 
const *)arg1
)->IsOk(); 
28055         wxPyEndAllowThreads(__tstate
); 
28056         if (PyErr_Occurred()) SWIG_fail
; 
28059         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28067 static PyObject 
*_wrap_Display_GetGeometry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28068     PyObject 
*resultobj
; 
28069     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28071     PyObject 
* obj0 
= 0 ; 
28072     char *kwnames
[] = { 
28073         (char *) "self", NULL 
 
28076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
; 
28077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28081         result 
= ((wxDisplay 
const *)arg1
)->GetGeometry(); 
28083         wxPyEndAllowThreads(__tstate
); 
28084         if (PyErr_Occurred()) SWIG_fail
; 
28087         wxRect 
* resultptr
; 
28088         resultptr 
= new wxRect((wxRect 
&) result
); 
28089         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
28097 static PyObject 
*_wrap_Display_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28098     PyObject 
*resultobj
; 
28099     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28101     PyObject 
* obj0 
= 0 ; 
28102     char *kwnames
[] = { 
28103         (char *) "self", NULL 
 
28106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
; 
28107     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28108     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28111         result 
= ((wxDisplay 
const *)arg1
)->GetName(); 
28113         wxPyEndAllowThreads(__tstate
); 
28114         if (PyErr_Occurred()) SWIG_fail
; 
28118         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28120         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28129 static PyObject 
*_wrap_Display_IsPrimary(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28130     PyObject 
*resultobj
; 
28131     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28133     PyObject 
* obj0 
= 0 ; 
28134     char *kwnames
[] = { 
28135         (char *) "self", NULL 
 
28138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
; 
28139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28142         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28143         result 
= (bool)((wxDisplay 
const *)arg1
)->IsPrimary(); 
28145         wxPyEndAllowThreads(__tstate
); 
28146         if (PyErr_Occurred()) SWIG_fail
; 
28149         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28157 static PyObject 
*_wrap_Display_GetModes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28158     PyObject 
*resultobj
; 
28159     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28160     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
28161     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
28163     PyObject 
* obj0 
= 0 ; 
28164     PyObject 
* obj1 
= 0 ; 
28165     char *kwnames
[] = { 
28166         (char *) "self",(char *) "mode", NULL 
 
28169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
; 
28170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28173         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
28174         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28176         if (arg2 
== NULL
) { 
28177             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28183         result 
= (PyObject 
*)wxDisplay_GetModes(arg1
,(wxVideoMode 
const &)*arg2
); 
28185         wxPyEndAllowThreads(__tstate
); 
28186         if (PyErr_Occurred()) SWIG_fail
; 
28188     resultobj 
= result
; 
28195 static PyObject 
*_wrap_Display_GetCurrentMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28196     PyObject 
*resultobj
; 
28197     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28198     wxVideoMode result
; 
28199     PyObject 
* obj0 
= 0 ; 
28200     char *kwnames
[] = { 
28201         (char *) "self", NULL 
 
28204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
; 
28205     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28206     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28209         result 
= ((wxDisplay 
const *)arg1
)->GetCurrentMode(); 
28211         wxPyEndAllowThreads(__tstate
); 
28212         if (PyErr_Occurred()) SWIG_fail
; 
28215         wxVideoMode 
* resultptr
; 
28216         resultptr 
= new wxVideoMode((wxVideoMode 
&) result
); 
28217         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1); 
28225 static PyObject 
*_wrap_Display_ChangeMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28226     PyObject 
*resultobj
; 
28227     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28228     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
28229     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
28231     PyObject 
* obj0 
= 0 ; 
28232     PyObject 
* obj1 
= 0 ; 
28233     char *kwnames
[] = { 
28234         (char *) "self",(char *) "mode", NULL 
 
28237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
28238     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28239     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28241         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
28242         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28244         if (arg2 
== NULL
) { 
28245             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28251         result 
= (bool)(arg1
)->ChangeMode((wxVideoMode 
const &)*arg2
); 
28253         wxPyEndAllowThreads(__tstate
); 
28254         if (PyErr_Occurred()) SWIG_fail
; 
28257         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28265 static PyObject 
*_wrap_Display_ResetMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28266     PyObject 
*resultobj
; 
28267     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28268     PyObject 
* obj0 
= 0 ; 
28269     char *kwnames
[] = { 
28270         (char *) "self", NULL 
 
28273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
; 
28274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28278         (arg1
)->ResetMode(); 
28280         wxPyEndAllowThreads(__tstate
); 
28281         if (PyErr_Occurred()) SWIG_fail
; 
28283     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28290 static PyObject 
* Display_swigregister(PyObject 
*self
, PyObject 
*args
) { 
28292     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28293     SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
); 
28295     return Py_BuildValue((char *)""); 
28297 static PyMethodDef SwigMethods
[] = { 
28298          { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28299          { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28300          { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28301          { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28302          { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28303          { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28304          { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS 
}, 
28305          { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28306          { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28307          { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28308          { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28309          { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28310          { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28311          { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS 
}, 
28312          { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28313          { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28314          { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28315          { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28316          { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28317          { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28318          { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28319          { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28320          { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28321          { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28322          { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28323          { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28324          { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28325          { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28326          { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28327          { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28328          { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28329          { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28330          { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28331          { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28332          { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28333          { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28334          { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28335          { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28336          { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28337          { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28338          { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28339          { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28340          { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28341          { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28342          { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28343          { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28344          { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28345          { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28346          { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28347          { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28348          { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28349          { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28350          { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28351          { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28352          { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28353          { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28354          { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28355          { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28356          { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28357          { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28358          { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28359          { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28360          { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28361          { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28362          { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28363          { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28364          { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28365          { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28366          { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28367          { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28368          { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28369          { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28370          { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28371          { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28372          { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS 
}, 
28373          { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28374          { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28375          { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28376          { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28377          { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28378          { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28379          { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28380          { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS 
}, 
28381          { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28382          { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28383          { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28384          { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28385          { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28386          { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28387          { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28388          { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28389          { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28390          { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28391          { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28392          { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28393          { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28394          { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28395          { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28396          { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS 
}, 
28397          { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28398          { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28399          { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28400          { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28401          { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS 
}, 
28402          { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28403          { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28404          { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS 
}, 
28405          { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28406          { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28407          { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS 
}, 
28408          { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28409          { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28410          { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28411          { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28412          { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28413          { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS 
}, 
28414          { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28415          { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28416          { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28417          { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28418          { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28419          { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28420          { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28421          { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28422          { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28423          { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28424          { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28425          { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28426          { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28427          { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS 
}, 
28428          { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28429          { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28430          { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28431          { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28432          { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28433          { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS 
}, 
28434          { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28435          { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28436          { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28437          { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28438          { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28439          { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS 
}, 
28440          { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28441          { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28442          { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS 
}, 
28443          { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28444          { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28445          { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28446          { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28447          { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28448          { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28449          { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28450          { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28451          { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28452          { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28453          { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28454          { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28455          { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28456          { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS 
}, 
28457          { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28458          { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28459          { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS 
}, 
28460          { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS 
}, 
28461          { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28462          { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28463          { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS 
}, 
28464          { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28465          { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28466          { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28467          { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28468          { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28469          { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28470          { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28471          { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28472          { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28473          { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28474          { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28475          { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28476          { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28477          { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28478          { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28479          { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28480          { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28481          { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28482          { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28483          { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28484          { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28485          { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28486          { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28487          { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28488          { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28489          { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28490          { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS 
}, 
28491          { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28492          { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS 
}, 
28493          { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28494          { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS 
}, 
28495          { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28496          { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS 
}, 
28497          { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28498          { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28499          { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28500          { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28501          { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28502          { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28503          { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS 
}, 
28504          { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28505          { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28506          { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28507          { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28508          { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28509          { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS 
}, 
28510          { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28511          { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28512          { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28513          { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28514          { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28515          { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28516          { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28517          { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28518          { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28519          { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28520          { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28521          { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28522          { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS 
}, 
28523          { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28524          { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28525          { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28526          { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28527          { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS 
}, 
28528          { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28529          { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28530          { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS 
}, 
28531          { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28532          { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28533          { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28534          { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28535          { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28536          { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28537          { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28538          { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28539          { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28540          { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28541          { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28542          { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28543          { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28544          { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28545          { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28546          { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28547          { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS 
}, 
28548          { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28549          { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28550          { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28551          { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28552          { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28553          { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28554          { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28555          { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS 
}, 
28556          { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28557          { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28558          { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28559          { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28560          { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28561          { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28562          { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28563          { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28564          { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28565          { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28566          { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28567          { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28568          { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28569          { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28570          { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28571          { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28572          { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28573          { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28574          { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28575          { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28576          { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28577          { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28578          { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28579          { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28580          { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28581          { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28582          { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28583          { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28584          { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28585          { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28586          { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28587          { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28588          { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28589          { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28590          { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28591          { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28592          { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28593          { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28594          { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28595          { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28596          { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28597          { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28598          { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28599          { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28600          { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28601          { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS 
}, 
28602          { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28603          { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28604          { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28605          { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28606          { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28607          { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28608          { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28609          { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28610          { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28611          { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28612          { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28613          { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28614          { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28615          { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28616          { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28617          { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28618          { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28619          { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28620          { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28621          { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28622          { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28623          { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28624          { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28625          { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28626          { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28627          { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28628          { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28629          { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS 
}, 
28630          { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28631          { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28632          { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28633          { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28634          { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28635          { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28636          { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28637          { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28638          { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28639          { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS 
}, 
28640          { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28641          { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28642          { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28643          { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28644          { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28645          { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28646          { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28647          { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28648          { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28649          { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28650          { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28651          { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28652          { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28653          { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28654          { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28655          { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS 
}, 
28656          { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28657          { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28658          { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28659          { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28660          { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28661          { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28662          { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28663          { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28664          { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28665          { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28666          { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28667          { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28668          { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28669          { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28670          { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28671          { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS 
}, 
28672          { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28673          { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28674          { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28675          { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28676          { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28677          { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28678          { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28679          { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28680          { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28681          { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28682          { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28683          { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28684          { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28685          { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS 
}, 
28686          { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28687          { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28688          { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28689          { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28690          { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28691          { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28692          { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28693          { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28694          { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS 
}, 
28695          { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28696          { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28697          { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28698          { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28699          { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28700          { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28701          { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28702          { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28703          { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28704          { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28705          { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28706          { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28707          { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28708          { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28709          { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28710          { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28711          { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28712          { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28713          { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28714          { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28715          { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28716          { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28717          { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28718          { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28719          { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28720          { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28721          { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28722          { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28723          { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28724          { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28725          { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28726          { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28727          { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28728          { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28729          { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28730          { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28731          { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28732          { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28733          { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28734          { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28735          { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28736          { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28737          { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS 
}, 
28738          { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28739          { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28740          { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS 
}, 
28741          { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28742          { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28743          { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS 
}, 
28744          { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28745          { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28746          { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28747          { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS 
}, 
28748          { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28749          { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28750          { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28751          { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28752          { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28753          { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28754          { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28755          { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28756          { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28757          { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28758          { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28759          { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28760          { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28761          { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28762          { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28763          { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28764          { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28765          { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28766          { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28767          { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28768          { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28769          { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28770          { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28771          { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28772          { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28773          { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28774          { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28775          { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28776          { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28777          { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28778          { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28779          { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28780          { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28781          { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28782          { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28783          { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28784          { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28785          { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28786          { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28787          { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28788          { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28789          { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28790          { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28791          { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28792          { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28793          { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28794          { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28795          { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28796          { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28797          { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28798          { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28799          { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28800          { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28801          { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28802          { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28803          { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28804          { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28805          { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28806          { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28807          { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28808          { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28809          { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28810          { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28811          { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28812          { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28813          { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28814          { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28815          { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28816          { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28817          { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28818          { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28819          { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28820          { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28821          { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28822          { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28823          { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28824          { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28825          { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28826          { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28827          { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28828          { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28829          { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28830          { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28831          { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28832          { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28833          { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28834          { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28835          { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28836          { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28837          { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28838          { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28839          { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS 
}, 
28840          { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS 
}, 
28841          { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS 
}, 
28842          { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS 
}, 
28843          { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS 
}, 
28844          { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS 
}, 
28845          { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS 
}, 
28846          { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS 
}, 
28847          { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS 
}, 
28848          { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS 
}, 
28849          { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28850          { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28851          { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28852          { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28853          { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28854          { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28855          { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28856          { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28857          { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28858          { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28859          { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS 
}, 
28860          { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28861          { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28862          { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28863          { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28864          { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28865          { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28866          { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28867          { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28868          { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28869          { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28870          { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28871          { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28872          { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28873          { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28874          { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28875          { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28876          { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28877          { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28878          { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28879          { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28880          { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28881          { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28882          { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28883          { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28884          { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28885          { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28886          { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28887          { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28888          { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28889          { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28890          { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28891          { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28892          { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28893          { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28894          { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28895          { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28896          { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28897          { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28898          { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28899          { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28900          { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28901          { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28902          { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28903          { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28904          { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS 
}, 
28905          { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28906          { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28907          { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28908          { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28909          { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28910          { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28911          { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28912          { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28913          { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28914          { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28915          { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28916          { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28917          { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28918          { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28919          { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28920          { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28921          { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28922          { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28923          { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28924          { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28925          { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28926          { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28927          { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28928          { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28929          { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28930          { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28931          { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28932          { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28933          { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28934          { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28935          { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28936          { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28937          { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28938          { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS 
}, 
28939          { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28940          { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28941          { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28942          { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28943          { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28944          { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28945          { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28946          { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS 
}, 
28947          { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS 
}, 
28948          { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28949          { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28950          { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28951          { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28952          { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS 
}, 
28953          { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28954          { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28955          { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28956          { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28957          { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28958          { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28959          { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28960          { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28961          { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS 
}, 
28962          { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28963          { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28964          { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28965          { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28966          { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28967          { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28968          { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS 
}, 
28969          { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28970          { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28971          { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS 
}, 
28972          { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28973          { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28974          { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS 
}, 
28975          { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28976          { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28977          { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28978          { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28979          { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS 
}, 
28980          { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28981          { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28982          { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS 
}, 
28983          { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28984          { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28985          { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28986          { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS 
}, 
28987          { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28988          { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28989          { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS 
}, 
28990          { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28991          { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28992          { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28993          { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS 
}, 
28994          { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28995          { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28996          { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28997          { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28998          { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS 
}, 
28999          { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29000          { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29001          { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29002          { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS 
}, 
29003          { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29004          { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29005          { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29006          { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS 
}, 
29007          { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29008          { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29009          { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29010          { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29011          { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29012          { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29013          { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29014          { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29015          { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29016          { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS 
}, 
29017          { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29018          { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29019          { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29020          { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29021          { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29022          { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29023          { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29024          { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29025          { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29026          { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29027          { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS 
}, 
29028          { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29029          { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29030          { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29031          { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29032          { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29033          { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29034          { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29035          { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS 
}, 
29036          { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29037          { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29038          { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29039          { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29040          { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29041          { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29042          { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29043          { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS 
}, 
29044          { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29045          { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29046          { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29047          { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29048          { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29049          { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29050          { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29051          { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29052          { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29053          { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29054          { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29055          { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29056          { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29057          { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS 
}, 
29058          { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29059          { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29060          { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29061          { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS 
}, 
29062          { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29063          { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29064          { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29065          { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29066          { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29067          { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29068          { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29069          { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29070          { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29071          { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29072          { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29073          { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29074          { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29075          { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29076          { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29077          { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29078          { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29079          { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS 
}, 
29080          { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29081          { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29082          { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29083          { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29084          { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29085          { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29086          { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29087          { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29088          { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29089          { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29090          { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29091          { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29092          { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
29093          { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS 
}, 
29098 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
29100 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
29101     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
29103 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
29104     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
29106 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
29107     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
29109 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
29110     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
29112 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
29113     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
29115 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
29116     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
29118 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) { 
29119     return (void *)((wxEvent 
*)  ((wxTimerEvent 
*) x
)); 
29121 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
29122     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
29124 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
29125     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
29127 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
29128     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
29130 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
29131     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
29133 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) { 
29134     return (void *)((wxEvent 
*)  ((wxJoystickEvent 
*) x
)); 
29136 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
29137     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
29139 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
29140     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
29142 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
29143     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
29145 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
29146     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
29148 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
29149     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
29151 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
29152     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
29154 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
29155     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
29157 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
29158     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
29160 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
29161     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
29163 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
29164     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
29166 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
29167     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29169 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
29170     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
29172 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
29173     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
29175 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
29176     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
29178 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
29179     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
29181 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
29182     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
29184 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
29185     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
29187 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
29188     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29190 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) { 
29191     return (void *)((wxEvent 
*)  ((wxProcessEvent 
*) x
)); 
29193 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
29194     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
29196 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
29197     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
29199 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
29200     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29202 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
29203     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29205 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
29206     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
29208 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
29209     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
29211 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
29212     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
29214 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) { 
29215     return (void *)((wxConfigBase 
*)  ((wxFileConfig 
*) x
)); 
29217 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) { 
29218     return (void *)((wxConfigBase 
*)  ((wxConfig 
*) x
)); 
29220 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) { 
29221     return (void *)((wxBitmapDataObject 
*)  ((wxPyBitmapDataObject 
*) x
)); 
29223 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) { 
29224     return (void *)((wxTextDataObject 
*)  ((wxPyTextDataObject 
*) x
)); 
29226 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29227     return (void *)((wxDataObject 
*)  ((wxDataObjectSimple 
*) x
)); 
29229 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29230     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxPyDataObjectSimple 
*) x
)); 
29232 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) { 
29233     return (void *)((wxDataObject 
*)  ((wxDataObjectComposite 
*) x
)); 
29235 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) { 
29236     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxTextDataObject 
*) x
)); 
29238 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) { 
29239     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29241 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29242     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxBitmapDataObject 
*) x
)); 
29244 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29245     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29247 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) { 
29248     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxFileDataObject 
*) x
)); 
29250 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) { 
29251     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxCustomDataObject 
*) x
)); 
29253 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) { 
29254     return (void *)((wxDataObject 
*) (wxDataObjectComposite 
*) ((wxURLDataObject 
*) x
)); 
29256 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) { 
29257     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxMetafileDataObject 
*) x
)); 
29259 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) { 
29260     return (void *)((wxDataObjectComposite 
*)  ((wxURLDataObject 
*) x
)); 
29262 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) { 
29263     return (void *)((wxDataObjectSimple 
*)  ((wxPyDataObjectSimple 
*) x
)); 
29265 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29266     return (void *)((wxDataObjectSimple 
*)  ((wxTextDataObject 
*) x
)); 
29268 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29269     return (void *)((wxDataObjectSimple 
*) (wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29271 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29272     return (void *)((wxDataObjectSimple 
*)  ((wxBitmapDataObject 
*) x
)); 
29274 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29275     return (void *)((wxDataObjectSimple 
*) (wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29277 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29278     return (void *)((wxDataObjectSimple 
*)  ((wxFileDataObject 
*) x
)); 
29280 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29281     return (void *)((wxDataObjectSimple 
*)  ((wxCustomDataObject 
*) x
)); 
29283 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29284     return (void *)((wxDataObjectSimple 
*)  ((wxMetafileDataObject 
*) x
)); 
29286 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
29287     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
29289 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
29290     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
29292 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
29293     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29295 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
29296     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
29298 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) { 
29299     return (void *)((wxEvtHandler 
*)  ((wxPyTimer 
*) x
)); 
29301 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
29302     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
29304 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
29305     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
29307 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
29308     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
29310 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
29311     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
29313 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) { 
29314     return (void *)((wxEvtHandler 
*)  ((wxPyProcess 
*) x
)); 
29316 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) { 
29317     return (void *)((wxTipProvider 
*)  ((wxPyTipProvider 
*) x
)); 
29319 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
29320     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
29322 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
29323     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
29325 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
29326     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
29328 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
29329     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
29331 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
29332     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
29334 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
29335     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
29337 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
29338     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
29340 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
29341     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
29343 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
29344     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
29346 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) { 
29347     return (void *)((wxObject 
*)  ((wxFileHistory 
*) x
)); 
29349 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
29350     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29352 static void *_p_wxEventTo_p_wxObject(void *x
) { 
29353     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
29355 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
29356     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
29358 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
29359     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
29361 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
29362     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
29364 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
29365     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
29367 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
29368     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
29370 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
29371     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
29373 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
29374     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
29376 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
29377     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
29379 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
29380     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
29382 static void *_p_wxControlTo_p_wxObject(void *x
) { 
29383     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
29385 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
29386     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
29388 static void *_p_wxTimerEventTo_p_wxObject(void *x
) { 
29389     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTimerEvent 
*) x
)); 
29391 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
29392     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
29394 static void *_p_wxClipboardTo_p_wxObject(void *x
) { 
29395     return (void *)((wxObject 
*)  ((wxClipboard 
*) x
)); 
29397 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
29398     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
29400 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
29401     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
29403 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
29404     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
29406 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
29407     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
29409 static void *_p_wxToolTipTo_p_wxObject(void *x
) { 
29410     return (void *)((wxObject 
*)  ((wxToolTip 
*) x
)); 
29412 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
29413     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
29415 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
29416     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
29418 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
29419     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
29421 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
29422     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
29424 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
29425     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
29427 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
29428     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
29430 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
29431     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
29433 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
29434     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
29436 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
29437     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
29439 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
29440     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
29442 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
29443     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
29445 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
29446     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
29448 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
29449     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
29451 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
29452     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
29454 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
29455     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
29457 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
29458     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
29460 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
29461     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
29463 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
29464     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
29466 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
29467     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
29469 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
29470     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
29472 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
29473     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
29475 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
29476     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
29478 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
29479     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
29481 static void *_p_wxImageTo_p_wxObject(void *x
) { 
29482     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
29484 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
29485     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
29487 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) { 
29488     return (void *)((wxObject 
*)  ((wxSystemOptions 
*) x
)); 
29490 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) { 
29491     return (void *)((wxObject 
*) (wxEvent 
*) ((wxJoystickEvent 
*) x
)); 
29493 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
29494     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29496 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
29497     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
29499 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
29500     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
29502 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
29503     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
29505 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
29506     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
29508 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
29509     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
29511 static void *_p_wxPyProcessTo_p_wxObject(void *x
) { 
29512     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyProcess 
*) x
)); 
29514 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
29515     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
29517 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
29518     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
29520 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
29521     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
29523 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
29524     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
29526 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
29527     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
29529 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
29530     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
29532 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
29533     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
29535 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) { 
29536     return (void *)((wxObject 
*)  ((wxBusyInfo 
*) x
)); 
29538 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
29539     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29541 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
29542     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
29544 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
29545     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
29547 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
29548     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
29550 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
29551     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29553 static void *_p_wxProcessEventTo_p_wxObject(void *x
) { 
29554     return (void *)((wxObject 
*) (wxEvent 
*) ((wxProcessEvent 
*) x
)); 
29556 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
29557     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29559 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
29560     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
29562 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
29563     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
29565 static void *_p_wxPyTimerTo_p_wxObject(void *x
) { 
29566     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTimer 
*) x
)); 
29568 static void *_p_wxLogStderrTo_p_wxLog(void *x
) { 
29569     return (void *)((wxLog 
*)  ((wxLogStderr 
*) x
)); 
29571 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) { 
29572     return (void *)((wxLog 
*)  ((wxLogTextCtrl 
*) x
)); 
29574 static void *_p_wxLogWindowTo_p_wxLog(void *x
) { 
29575     return (void *)((wxLog 
*)  ((wxLogWindow 
*) x
)); 
29577 static void *_p_wxLogChainTo_p_wxLog(void *x
) { 
29578     return (void *)((wxLog 
*)  ((wxLogChain 
*) x
)); 
29580 static void *_p_wxLogGuiTo_p_wxLog(void *x
) { 
29581     return (void *)((wxLog 
*)  ((wxLogGui 
*) x
)); 
29583 static void *_p_wxPyLogTo_p_wxLog(void *x
) { 
29584     return (void *)((wxLog 
*)  ((wxPyLog 
*) x
)); 
29586 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
29587     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
29589 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
29590     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
29592 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
29593     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
29595 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) { 
29596     return (void *)((wxPyDropTarget 
*)  ((wxPyTextDropTarget 
*) x
)); 
29598 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) { 
29599     return (void *)((wxPyDropTarget 
*)  ((wxPyFileDropTarget 
*) x
)); 
29601 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}}; 
29602 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}}; 
29603 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}}; 
29604 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}}; 
29605 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}}; 
29606 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}}; 
29607 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}}; 
29608 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}}; 
29609 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}}; 
29610 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}}; 
29611 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}}; 
29612 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}}; 
29613 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}}; 
29614 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}}; 
29615 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}}; 
29616 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}}; 
29617 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}}; 
29618 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}}; 
29619 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}}; 
29620 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}}; 
29621 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}}; 
29622 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}}; 
29623 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}}; 
29624 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}}; 
29625 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}}; 
29626 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}}; 
29627 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}}; 
29628 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}}; 
29629 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}}; 
29630 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}}; 
29631 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}}; 
29632 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}}; 
29633 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}}; 
29634 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}}; 
29635 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}}; 
29636 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}}; 
29637 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}}; 
29638 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}}; 
29639 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}}; 
29640 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}}; 
29641 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}}; 
29642 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}}; 
29643 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}}; 
29644 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}}; 
29645 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}}; 
29646 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}}; 
29647 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}}; 
29648 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}}; 
29649 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}}; 
29650 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}}; 
29651 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}}; 
29652 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}}; 
29653 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}}; 
29654 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}}; 
29655 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}}; 
29656 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}}; 
29657 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}}; 
29658 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}}; 
29659 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}}; 
29660 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}}; 
29661 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}}; 
29662 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}}; 
29663 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}}; 
29664 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}}; 
29665 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}}; 
29666 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}}; 
29667 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}}; 
29668 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}}; 
29669 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}}; 
29670 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}}; 
29671 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}}; 
29672 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}}; 
29673 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}}; 
29674 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}}; 
29675 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}}; 
29676 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}}; 
29677 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}}; 
29678 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}}; 
29679 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}}; 
29680 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}}; 
29681 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}}; 
29682 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}}; 
29683 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}}; 
29684 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}}; 
29685 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}}; 
29686 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}}; 
29688 static swig_type_info 
*swig_types_initial
[] = { 
29689 _swigt__p_wxLogChain
,  
29690 _swigt__p_wxMutexGuiLocker
,  
29691 _swigt__p_wxMetafile
,  
29692 _swigt__p_wxFileHistory
,  
29694 _swigt__p_wxDateTime__TimeZone
,  
29697 _swigt__p_wxConfigBase
,  
29698 _swigt__p_wxDisplay
,  
29699 _swigt__p_wxFileType
,  
29700 _swigt__p_wxLogGui
,  
29702 _swigt__p_wxDataFormat
,  
29703 _swigt__p_wxTimerEvent
,  
29707 _swigt__p_wxClipboard
,  
29708 _swigt__p_wxStopWatch
,  
29710 _swigt__p_wxClipboardLocker
,  
29712 _swigt__p_wxLogStderr
,  
29713 _swigt__p_wxLogTextCtrl
,  
29714 _swigt__p_wxTextCtrl
,  
29715 _swigt__p_wxBusyCursor
,  
29716 _swigt__p_wxPyBitmapDataObject
,  
29717 _swigt__p_wxPyTextDataObject
,  
29718 _swigt__p_wxBitmapDataObject
,  
29719 _swigt__p_wxTextDataObject
,  
29720 _swigt__p_wxDataObject
,  
29721 _swigt__p_wxFileDataObject
,  
29722 _swigt__p_wxCustomDataObject
,  
29723 _swigt__p_wxURLDataObject
,  
29724 _swigt__p_wxMetafileDataObject
,  
29726 _swigt__p_wxTimerRunner
,  
29727 _swigt__p_wxLogWindow
,  
29728 _swigt__p_wxTimeSpan
,  
29729 _swigt__p_wxArrayString
,  
29730 _swigt__p_wxWindowDisabler
,  
29731 _swigt__p_wxToolTip
,  
29732 _swigt__p_wxDataObjectComposite
,  
29733 _swigt__p_wxFileConfig
,  
29734 _swigt__p_wxSystemSettings
,  
29735 _swigt__p_wxVideoMode
,  
29736 _swigt__p_wxPyDataObjectSimple
,  
29737 _swigt__p_wxDataObjectSimple
,  
29738 _swigt__p_wxEvtHandler
,  
29741 _swigt__p_wxSingleInstanceChecker
,  
29742 _swigt__p_wxFileTypeInfo
,  
29745 _swigt__p_wxMimeTypesManager
,  
29746 _swigt__p_wxPyArtProvider
,  
29747 _swigt__p_wxPyTipProvider
,  
29748 _swigt__p_wxTipProvider
,  
29749 _swigt__p_wxJoystick
,  
29750 _swigt__p_wxSystemOptions
,  
29752 _swigt__p_wxJoystickEvent
,  
29753 _swigt__p_wxCursor
,  
29754 _swigt__p_wxObject
,  
29755 _swigt__p_wxOutputStream
,  
29756 _swigt__p_wxDateTime
,  
29757 _swigt__p_wxPyDropSource
,  
29758 _swigt__p_wxWindow
,  
29759 _swigt__p_wxString
,  
29760 _swigt__p_wxPyProcess
,  
29761 _swigt__p_wxBitmap
,  
29762 _swigt__p_wxConfig
,  
29764 _swigt__p_wxBusyInfo
,  
29765 _swigt__p_wxPyDropTarget
,  
29766 _swigt__p_wxPyTextDropTarget
,  
29767 _swigt__p_wxPyFileDropTarget
,  
29768 _swigt__p_wxProcessEvent
,  
29770 _swigt__p_wxLogNull
,  
29771 _swigt__p_wxColour
,  
29772 _swigt__p_wxConfigPathChanger
,  
29773 _swigt__p_wxPyTimer
,  
29774 _swigt__p_wxDateSpan
,  
29779 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
29781 static swig_const_info swig_const_table
[] = { 
29782 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
}, 
29783 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
}, 
29784 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
}, 
29785 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
}, 
29786 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
}, 
29796 SWIGEXPORT(void) SWIG_init(void) { 
29797     static PyObject 
*SWIG_globals 
= 0;  
29798     static int       typeinit 
= 0; 
29801     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
29802     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
29803     d 
= PyModule_GetDict(m
); 
29806         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
29807             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
29811     SWIG_InstallConstants(d
,swig_const_table
); 
29813     PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
)); 
29814     PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
)); 
29815     PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
)); 
29816     PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
)); 
29817     PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
)); 
29818     PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
)); 
29819     PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
)); 
29820     PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
)); 
29821     PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
)); 
29822     PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
)); 
29823     PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
)); 
29824     PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
)); 
29825     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
)); 
29826     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
)); 
29827     PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
)); 
29828     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
)); 
29829     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
)); 
29830     PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
)); 
29831     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
)); 
29832     PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
)); 
29833     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
)); 
29834     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
)); 
29835     PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
)); 
29836     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
)); 
29837     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
)); 
29838     PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
)); 
29839     PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
)); 
29840     PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
)); 
29841     PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
)); 
29842     PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
)); 
29843     PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
)); 
29844     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
)); 
29845     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
)); 
29846     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
)); 
29847     PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
)); 
29848     PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
)); 
29849     PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
)); 
29850     PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
)); 
29851     PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
)); 
29852     PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
)); 
29853     PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
)); 
29854     PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
)); 
29855     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
)); 
29856     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)); 
29857     PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
)); 
29858     PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
)); 
29859     PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
)); 
29860     PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
)); 
29861     PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
)); 
29862     PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
)); 
29863     PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
)); 
29864     PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
)); 
29865     PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
)); 
29866     PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
)); 
29867     PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
)); 
29868     PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
)); 
29869     PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
)); 
29870     PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
)); 
29871     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
)); 
29872     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
)); 
29873     PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
)); 
29874     PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
)); 
29875     PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
)); 
29876     PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
)); 
29877     PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
)); 
29878     PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
)); 
29879     PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
)); 
29880     PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
)); 
29881     PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
)); 
29882     PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
)); 
29883     PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
)); 
29884     PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
)); 
29885     PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
)); 
29886     PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
)); 
29887     PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
)); 
29888     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
)); 
29889     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
)); 
29890     PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
)); 
29891     PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
)); 
29892     PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
)); 
29893     PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
)); 
29894     PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
)); 
29895     PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
)); 
29896     PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
)); 
29897     PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
)); 
29898     PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
)); 
29899     PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
)); 
29900     PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
)); 
29901     PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
)); 
29902     PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
)); 
29903     PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
)); 
29904     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
29905     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
); 
29906     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
); 
29907     SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
); 
29908     PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
)); 
29909     PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
)); 
29910     PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
)); 
29911     PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
)); 
29912     PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
)); 
29914     wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer"); 
29916     PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
)); 
29917     PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
)); 
29918     PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
)); 
29919     PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
)); 
29920     PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
)); 
29921     PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
)); 
29922     PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
)); 
29923     PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
)); 
29924     PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
)); 
29925     PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
)); 
29926     PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
)); 
29927     PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc")); 
29928     PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages")); 
29929     PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc")); 
29930     PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount")); 
29931     PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole")); 
29932     PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001)); 
29933     PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002)); 
29934     PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004)); 
29935     PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008)); 
29936     PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100)); 
29937     PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
)); 
29938     PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
)); 
29939     PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
)); 
29940     PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
)); 
29941     PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
)); 
29942     PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
)); 
29943     PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
)); 
29944     PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
)); 
29945     PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
)); 
29946     PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
)); 
29947     PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
)); 
29948     PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
)); 
29949     PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
)); 
29950     PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
)); 
29951     PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
)); 
29952     PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
)); 
29953     PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
)); 
29954     PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
)); 
29955     PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
)); 
29956     PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
)); 
29957     PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
)); 
29958     PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
)); 
29959     PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
)); 
29960     PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
)); 
29961     PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
)); 
29962     PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
)); 
29963     PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
)); 
29964     PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
)); 
29965     PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
)); 
29967     wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); 
29969     PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
)); 
29970     PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
)); 
29971     PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
)); 
29972     PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
)); 
29973     PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
)); 
29974     PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
)); 
29975     PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
)); 
29976     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
)); 
29977     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
)); 
29978     PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
)); 
29979     PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
)); 
29980     PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
)); 
29981     PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
)); 
29982     PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
)); 
29983     PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
)); 
29984     PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
)); 
29985     PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
)); 
29986     PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
)); 
29987     PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
)); 
29988     SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
); 
29989     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
); 
29990     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
); 
29991     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
); 
29992     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
); 
29993     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
); 
29994     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
); 
29995     SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
); 
29996     SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
); 
29997     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
); 
29998     SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
); 
29999     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
); 
30000     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
); 
30001     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
); 
30002     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
); 
30003     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
); 
30004     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
); 
30005     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
); 
30006     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
); 
30007     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
); 
30008     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
); 
30009     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
); 
30010     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
); 
30011     SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
); 
30012     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
); 
30013     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
); 
30014     SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
); 
30015     SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
); 
30016     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
); 
30017     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
); 
30018     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
); 
30019     SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
); 
30020     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
); 
30021     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
); 
30022     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
); 
30023     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
); 
30024     SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
); 
30025     SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
); 
30026     SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
); 
30027     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
); 
30029     wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider"); 
30031     PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
)); 
30032     PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
)); 
30033     PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
)); 
30034     PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)); 
30035     PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
)); 
30036     PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
)); 
30037     PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
)); 
30038     PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
)); 
30039     PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
)); 
30040     SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
); 
30041     SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
); 
30042     PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
)); 
30043     PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
)); 
30044     PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
)); 
30045     PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
)); 
30046     PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
)); 
30047     PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
)); 
30048     PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
)); 
30049     PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
)); 
30050     PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
)); 
30051     PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
)); 
30052     PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
)); 
30053     PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
)); 
30054     PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
)); 
30055     PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
)); 
30056     PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
)); 
30057     PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
)); 
30058     PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
)); 
30059     PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
)); 
30060     PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
)); 
30061     PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
)); 
30062     PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
)); 
30063     PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
)); 
30064     PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
)); 
30065     PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
)); 
30066     PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
)); 
30067     PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
)); 
30068     PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
)); 
30069     PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
)); 
30070     PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
)); 
30071     PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
)); 
30072     PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
)); 
30073     PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
)); 
30074     PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
)); 
30075     PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
)); 
30076     PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
)); 
30077     PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
)); 
30078     PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
)); 
30079     PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
)); 
30080     PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
)); 
30081     PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
)); 
30082     PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
)); 
30083     PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
)); 
30084     PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
)); 
30085     PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
)); 
30086     PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
)); 
30087     PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
)); 
30088     PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
)); 
30089     PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
)); 
30090     PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
)); 
30091     PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
)); 
30092     PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
)); 
30093     PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
)); 
30094     PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
)); 
30095     PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
)); 
30096     PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
)); 
30097     PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
)); 
30098     PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
)); 
30099     PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
)); 
30100     PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
)); 
30101     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
)); 
30102     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
)); 
30103     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
)); 
30104     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
)); 
30105     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
)); 
30106     PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
)); 
30107     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
)); 
30108     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
)); 
30109     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
)); 
30110     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
)); 
30111     PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
)); 
30112     PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
)); 
30113     PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
)); 
30114     PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
)); 
30115     PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
)); 
30116     PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
)); 
30117     PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
)); 
30118     PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
)); 
30119     PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
)); 
30120     PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
)); 
30121     PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
)); 
30122     PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
)); 
30123     PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
)); 
30124     PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
)); 
30125     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
)); 
30126     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
)); 
30127     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
)); 
30128     PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
)); 
30129     PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
)); 
30130     PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
)); 
30131     PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
)); 
30132     PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
)); 
30133     PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
)); 
30134     PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
)); 
30135     PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
)); 
30136     PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
)); 
30137     PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
)); 
30138     PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
)); 
30139     PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
)); 
30140     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
)); 
30141     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
)); 
30142     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
)); 
30143     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
)); 
30144     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
)); 
30145     PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
)); 
30146     PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
)); 
30147     PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
)); 
30148     PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
)); 
30149     PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
)); 
30150     PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
)); 
30151     PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
)); 
30152     PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
)); 
30153     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
)); 
30154     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
)); 
30155     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
)); 
30156     PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
)); 
30157     PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
)); 
30158     PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
)); 
30159     PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
)); 
30160     PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
)); 
30161     PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
)); 
30162     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
)); 
30163     PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
)); 
30164     PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
)); 
30165     PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
)); 
30166     PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
)); 
30167     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
)); 
30168     PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
)); 
30169     PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
)); 
30170     PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
)); 
30171     PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
)); 
30172     PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
)); 
30173     PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
)); 
30174     PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
)); 
30175     PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
)); 
30176     PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
)); 
30177     PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
)); 
30178     PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
)); 
30179     PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
)); 
30180     PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
)); 
30181     PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
)); 
30182     PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
)); 
30183     PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
)); 
30184     PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
)); 
30185     PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
)); 
30186     PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
)); 
30187     PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
)); 
30188     PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
)); 
30189     PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
)); 
30190     PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
)); 
30191     PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
)); 
30192     PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
)); 
30193     PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
)); 
30194     PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
)); 
30195     PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
)); 
30196     PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
)); 
30197     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
); 
30198     PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
)); 
30199     PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
)); 
30200     PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
)); 
30201     PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
)); 
30202     PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
)); 
30203     PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
)); 
30204     PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
)); 
30205     PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
)); 
30206     PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
)); 
30207     PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
)); 
30208     PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
)); 
30209     PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
)); 
30210     PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
)); 
30211     PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
)); 
30212     PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
)); 
30213     PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
)); 
30214     PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
)); 
30215     PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
)); 
30216     PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
)); 
30217     PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
)); 
30218     SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
); 
30219     PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
)); 
30220     PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
)); 
30221     PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
)); 
30222     PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
)); 
30223     PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
)); 
30224     PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
)); 
30225     PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
)); 
30226     PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
)); 
30227     PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
)); 
30228     PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
)); 
30229     PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
)); 
30230     PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
)); 
30232     wxPyPtrTypeMap_Add("wxDropSource",     "wxPyDropSource"); 
30233     wxPyPtrTypeMap_Add("wxDropTarget",     "wxPyDropTarget"); 
30234     wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget"); 
30235     wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget"); 
30237     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);