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_wxPyTextDataObject swig_types[27]  
 237 #define  SWIGTYPE_p_wxBitmapDataObject swig_types[28]  
 238 #define  SWIGTYPE_p_wxTextDataObject swig_types[29]  
 239 #define  SWIGTYPE_p_wxDataObject swig_types[30]  
 240 #define  SWIGTYPE_p_wxPyBitmapDataObject 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_wxByte swig_types[83]  
 293 #define  SWIGTYPE_p_wxConfigPathChanger swig_types[84]  
 294 #define  SWIGTYPE_p_wxPyTimer swig_types[85]  
 295 #define  SWIGTYPE_p_wxDateSpan swig_types[86]  
 296 static swig_type_info 
*swig_types
[88]; 
 298 /* -------- TYPES TABLE (END) -------- */ 
 301 /*----------------------------------------------- 
 302               @(target):= _misc_.so 
 303   ------------------------------------------------*/ 
 304 #define SWIG_init    init_misc_ 
 306 #define SWIG_name    "_misc_" 
 308 /* Auxiliar swig  macros */ 
 311 #define SWIGSTATICINLINE(a) static inline a 
 312 #define SWIGSTATIC(a) static a 
 313 #define swig_new_array(type, size) (new type[(size)]) 
 314 #define swig_delete_array(cptr) delete[] cptr 
 315 #define swig_const_cast(type,a) const_cast<type>(a) 
 316 #define swig_static_cast(type,a) static_cast<type>(a) 
 317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) 
 319 #ifdef HAVE_NUMERIC_CAST 
 320 #define swig_numeric_cast(type,a) numeric_cast<type>(a) 
 322 #define swig_numeric_cast(type,a) static_cast<type>(a) 
 327 #define SWIGSTATICINLINE(a) static a 
 328 #define SWIGSTATIC(a) static a 
 329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) 
 330 #define swig_delete_array(cptr) free((char*)cptr) 
 331 #define swig_const_cast(type,a) (type)(a) 
 332 #define swig_static_cast(type,a) (type)(a) 
 333 #define swig_reinterpret_cast(type,a) (type)(a) 
 334 #define swig_numeric_cast(type,a) (type)(a) 
 336 #endif /* __cplusplus */ 
 339 #define SWIG_FromSignedChar     PyInt_FromLong 
 340 #define SWIG_FromUnsignedChar   PyInt_FromLong 
 341 #define SWIG_FromShort         PyInt_FromLong 
 342 #define SWIG_FromUnsignedShort  PyInt_FromLong 
 343 #define SWIG_FromInt           PyInt_FromLong 
 344 #define SWIG_FromLong          PyInt_FromLong 
 345 #define SWIG_FromFloat         PyFloat_FromDouble 
 346 #define SWIG_FromDouble        PyFloat_FromDouble 
 347 #define SWIG_FromFloat         PyFloat_FromDouble 
 348 #define SWIG_FromDouble        PyFloat_FromDouble 
 351 #include "wx/wxPython/wxPython.h" 
 352 #include "wx/wxPython/pyclasses.h" 
 353 #include "wx/wxPython/pyistream.h" 
 356  static const wxString 
wxPyEmptyString(wxEmptyString
);  
 363 SWIGSTATICINLINE(long) 
 364 SWIG_CheckLongInRange(long value
, const char* type
, 
 365                       long min_value
, long max_value
) 
 367   if (!PyErr_Occurred()) { 
 368     if (value 
< min_value
) { 
 370         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 371                             value
, type
, min_value
); 
 373       PyErr_SetObject(PyExc_OverflowError
, err
); 
 375     } else if (value 
> max_value
) { 
 377         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 378                             value
, type
, max_value
); 
 379       PyErr_SetObject(PyExc_OverflowError
, err
); 
 387 SWIGSTATICINLINE(long) 
 388 SWIG_AsLong(PyObject 
* obj
) 
 390     if (PyNumber_Check(obj
)) 
 391         return PyInt_AsLong(obj
); 
 393         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 394                                                obj
->ob_type
->tp_name
); 
 395         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 402 #if INT_MAX != LONG_MAX 
 403 SWIGSTATICINLINE(int) 
 404 SWIG_AsInt(PyObject 
*obj
) 
 406   return swig_numeric_cast(int, 
 407     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 408                           "int", INT_MIN
, INT_MAX
)); 
 411 #define SWIG_AsInt SWIG_AsLong 
 415 SWIGSTATICINLINE(int) 
 416 SWIG_CheckInt(PyObject
* obj
) 
 419   if (PyErr_Occurred()) { 
 427  static const wxString 
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);  
 428  static const wxString 
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);  
 429  static const wxString 
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);  
 431 SWIGSTATICINLINE(int) 
 432 SWIG_CheckLong(PyObject
* obj
) 
 435   if (PyErr_Occurred()) { 
 444 SWIGSTATICINLINE(bool) 
 445 SWIG_AsBool(PyObject 
*obj
) 
 447   return PyObject_IsTrue(obj
) ? true : false; 
 451 SWIGSTATICINLINE(int) 
 452 SWIG_CheckBool(PyObject
* obj
) 
 455   if (PyErr_Occurred()) { 
 464 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
 470     } else if (target 
== Py_None
) {   
 474         if (!PyTuple_Check(target
)) { 
 476             target 
= PyTuple_New(1); 
 477             PyTuple_SetItem(target
, 0, o2
); 
 480         PyTuple_SetItem(o3
, 0, o
);       
 483         target 
= PySequence_Concat(o2
, o3
);  
 491 SWIGSTATICINLINE(unsigned long) 
 492 SWIG_AsUnsignedLong(PyObject 
* obj
)  
 494   if (PyLong_Check(obj
)) { 
 495     return PyLong_AsUnsignedLong(obj
); 
 497     long i 
= SWIG_AsLong(obj
); 
 498     if ( !PyErr_Occurred() && (i 
< 0)) { 
 499       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 506 SWIGSTATICINLINE(int) 
 507 SWIG_CheckUnsignedLong(PyObject
* obj
) 
 509   SWIG_AsUnsignedLong(obj
); 
 510   if (PyErr_Occurred()) { 
 519 SWIGSTATICINLINE(PyObject
* ) 
 520 SWIG_FromUnsignedLong(unsigned long value
) 
 522   return (value 
> LONG_MAX
) ? 
 523     PyLong_FromUnsignedLong(value
)  
 524     : PyInt_FromLong(swig_numeric_cast(long,value
));  
 528     bool wxThread_IsMain() { 
 529 #ifdef WXP_WITH_THREAD 
 530         return wxThread::IsMain(); 
 537     int wxCaret_GetBlinkTime() { 
 538         return wxCaret::GetBlinkTime(); 
 541     void wxCaret_SetBlinkTime(int milliseconds
) { 
 542         wxCaret::SetBlinkTime(milliseconds
); 
 546 #include <wx/snglinst.h> 
 550 #include <wx/msw/private.h> 
 551 #include <wx/dynload.h> 
 556 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
) 
 563             // This one only partially works.  Appears to be an undocumented 
 564             // "standard" convention that not all widgets adhear to.  For 
 565             // example, for some widgets backgrounds or non-client areas may 
 567             ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0); 
 571             // This one works much better, except for on XP.  On Win2k nearly 
 572             // all widgets and their children are captured correctly[**].  On 
 573             // XP with Themes activated most native widgets draw only 
 574             // partially, if at all.  Without themes it works just like on 
 577             // ** For example the radio buttons in a wxRadioBox are not its 
 578             // children by default, but you can capture it via the panel 
 579             // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp. 
 580             ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 581                           PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| 
 582                           PRF_ERASEBKGND 
| PRF_OWNED 
); 
 586             // This one is only defined in the latest SDK and is only 
 587             // available on XP.  MSDN says it is similar to sending WM_PRINT 
 588             // so I expect that it will work similar to the above.  Since it 
 589             // is avaialble only on XP, it can't be compiled like this and 
 590             // will have to be loaded dynamically. 
 591             // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break; 
 596             // Use PrintWindow if available, or fallback to WM_PRINT 
 597             // otherwise.  Unfortunately using PrintWindow is even worse than 
 598             // WM_PRINT.  For most native widgets nothing is drawn to the dc 
 599             // at all, with or without Themes. 
 600             typedef BOOL (WINAPI 
*PrintWindow_t
)(HWND
, HDC
, UINT
); 
 601             static bool s_triedToLoad 
= False
; 
 602             static PrintWindow_t pfnPrintWindow 
= NULL
; 
 603             if ( !s_triedToLoad 
) 
 606                 s_triedToLoad 
= True
; 
 607                 wxDynamicLibrary 
dllUser32(_T("user32.dll")); 
 608                 if ( dllUser32
.IsLoaded() ) 
 610                     wxLogNull nolog
;  // Don't report errors here 
 611                     pfnPrintWindow 
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow")); 
 616                 printf("Using PrintWindow\n"); 
 617                 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0); 
 621                 printf("Using WM_PRINT\n"); 
 622                 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
), 
 623                               PRF_CLIENT 
| PRF_NONCLIENT 
| PRF_CHILDREN 
| PRF_ERASEBKGND 
| PRF_OWNED 
); 
 631 #include <wx/tipdlg.h> 
 634 class wxPyTipProvider 
: public wxTipProvider 
{ 
 636     wxPyTipProvider(size_t currentTip
) 
 637         : wxTipProvider(currentTip
) {} 
 639     DEC_PYCALLBACK_STRING__pure(GetTip
); 
 640     DEC_PYCALLBACK_STRING_STRING(PreprocessTip
); 
 644 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
); 
 645 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
); 
 648 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify); 
 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 ""; } 
 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 bool wxSound_Create__SWIG_1(wxSound 
*self
,int size
,wxByte 
const *data
){ 
 874             bool blocked 
= wxPyBeginBlockThreads(); 
 875             PyErr_SetString(PyExc_NotImplementedError
, 
 876                             "Create from data  is not available on this platform."); 
 877             wxPyEndBlockThreads(blocked
); 
 880 void Sound_Stop(){ wxPyRaiseNotImplemented(); } 
 882 #include <wx/mimetype.h> 
 884 PyObject 
*wxFileType_GetMimeType(wxFileType 
*self
){ 
 886             if (self
->GetMimeType(&str
))  
 887                 return wx2PyString(str
); 
 891 PyObject 
*wxFileType_GetMimeTypes(wxFileType 
*self
){ 
 893             if (self
->GetMimeTypes(arr
)) 
 894                 return wxArrayString2PyList_helper(arr
); 
 898 PyObject 
*wxFileType_GetExtensions(wxFileType 
*self
){ 
 900             if (self
->GetExtensions(arr
)) 
 901                 return wxArrayString2PyList_helper(arr
); 
 905 wxIcon 
*wxFileType_GetIcon(wxFileType 
*self
){ 
 907             if (self
->GetIcon(&loc
)) 
 908                 return new wxIcon(loc
); 
 912 PyObject 
*wxFileType_GetIconInfo(wxFileType 
*self
){ 
 914             if (self
->GetIcon(&loc
)) { 
 915                 wxString iconFile 
= loc
.GetFileName(); 
 920                 // Make a tuple and put the values in it 
 921                 bool blocked 
= wxPyBeginBlockThreads(); 
 922                 PyObject
* tuple 
= PyTuple_New(3); 
 923                 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
), 
 924                                                               wxT("wxIcon"), True
)); 
 925                 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
)); 
 926                 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
)); 
 927                 wxPyEndBlockThreads(blocked
); 
 933 PyObject 
*wxFileType_GetDescription(wxFileType 
*self
){ 
 935             if (self
->GetDescription(&str
))  
 936                 return wx2PyString(str
); 
 940 PyObject 
*wxFileType_GetOpenCommand(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
 942             if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))  
 943                 return wx2PyString(str
); 
 947 PyObject 
*wxFileType_GetPrintCommand(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
 949             if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))  
 950                 return wx2PyString(str
); 
 954 PyObject 
*wxFileType_GetAllCommands(wxFileType 
*self
,wxString 
const &filename
,wxString 
const &mimetype
){ 
 956             wxArrayString commands
; 
 957             if (self
->GetAllCommands(&verbs
, &commands
, 
 958                                      wxFileType::MessageParameters(filename
, mimetype
))) { 
 959                 bool blocked 
= wxPyBeginBlockThreads(); 
 960                 PyObject
* tuple 
= PyTuple_New(2); 
 961                 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
)); 
 962                 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
)); 
 963                 wxPyEndBlockThreads(blocked
); 
 969 wxString 
FileType_ExpandCommand(wxString 
const &command
,wxString 
const &filename
,wxString 
const &mimetype
){ 
 970             return wxFileType::ExpandCommand(command
, 
 971                                              wxFileType::MessageParameters(filename
, mimetype
)); 
 973 PyObject 
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager 
*self
){ 
 975             self
->EnumAllFileTypes(arr
); 
 976             return wxArrayString2PyList_helper(arr
); 
 979 #include <wx/artprov.h> 
 981  static const wxString 
wxPyART_TOOLBAR(wxART_TOOLBAR
);  
 982  static const wxString 
wxPyART_MENU(wxART_MENU
);  
 983  static const wxString 
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);  
 984  static const wxString 
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);  
 985  static const wxString 
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);  
 986  static const wxString 
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);  
 987  static const wxString 
wxPyART_OTHER(wxART_OTHER
);  
 988  static const wxString 
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);  
 989  static const wxString 
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);  
 990  static const wxString 
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);  
 991  static const wxString 
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);  
 992  static const wxString 
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);  
 993  static const wxString 
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);  
 994  static const wxString 
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);  
 995  static const wxString 
wxPyART_GO_BACK(wxART_GO_BACK
);  
 996  static const wxString 
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);  
 997  static const wxString 
wxPyART_GO_UP(wxART_GO_UP
);  
 998  static const wxString 
wxPyART_GO_DOWN(wxART_GO_DOWN
);  
 999  static const wxString 
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);  
1000  static const wxString 
wxPyART_GO_HOME(wxART_GO_HOME
);  
1001  static const wxString 
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);  
1002  static const wxString 
wxPyART_PRINT(wxART_PRINT
);  
1003  static const wxString 
wxPyART_HELP(wxART_HELP
);  
1004  static const wxString 
wxPyART_TIP(wxART_TIP
);  
1005  static const wxString 
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);  
1006  static const wxString 
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);  
1007  static const wxString 
wxPyART_NEW_DIR(wxART_NEW_DIR
);  
1008  static const wxString 
wxPyART_FOLDER(wxART_FOLDER
);  
1009  static const wxString 
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);  
1010  static const wxString 
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);  
1011  static const wxString 
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);  
1012  static const wxString 
wxPyART_TICK_MARK(wxART_TICK_MARK
);  
1013  static const wxString 
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);  
1014  static const wxString 
wxPyART_ERROR(wxART_ERROR
);  
1015  static const wxString 
wxPyART_QUESTION(wxART_QUESTION
);  
1016  static const wxString 
wxPyART_WARNING(wxART_WARNING
);  
1017  static const wxString 
wxPyART_INFORMATION(wxART_INFORMATION
);  
1018  static const wxString 
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);  
1019   // Python aware wxArtProvider 
1020 class wxPyArtProvider 
: public wxArtProvider  
{ 
1023     virtual wxBitmap 
CreateBitmap(const wxArtID
& id
, 
1024                                   const wxArtClient
& client
, 
1025                                   const wxSize
& size
) { 
1026         wxBitmap rval 
= wxNullBitmap
; 
1027         bool blocked 
= wxPyBeginBlockThreads(); 
1028         if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) { 
1029             PyObject
* so 
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0); 
1033             s1 
= wx2PyString(id
); 
1034             s2 
= wx2PyString(client
); 
1035             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
)); 
1040                 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap"))) 
1045         wxPyEndBlockThreads(blocked
); 
1052 void wxPyArtProvider_Destroy(wxPyArtProvider 
*self
){ delete self
; } 
1056     static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) { 
1057         PyObject
* ret 
= PyTuple_New(3); 
1059             PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
)); 
1060             PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
)); 
1061             PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
)); 
1066 PyObject 
*wxConfigBase_GetFirstGroup(wxConfigBase 
*self
){ 
1071             cont 
= self
->GetFirstGroup(value
, index
); 
1072             return __EnumerationHelper(cont
, value
, index
); 
1074 PyObject 
*wxConfigBase_GetNextGroup(wxConfigBase 
*self
,long index
){ 
1078             cont 
= self
->GetNextGroup(value
, index
); 
1079             return __EnumerationHelper(cont
, value
, index
); 
1081 PyObject 
*wxConfigBase_GetFirstEntry(wxConfigBase 
*self
){ 
1086             cont 
= self
->GetFirstEntry(value
, index
); 
1087             return __EnumerationHelper(cont
, value
, index
); 
1089 PyObject 
*wxConfigBase_GetNextEntry(wxConfigBase 
*self
,long index
){ 
1093             cont 
= self
->GetNextEntry(value
, index
); 
1094             return __EnumerationHelper(cont
, value
, index
); 
1096 long wxConfigBase_ReadInt(wxConfigBase 
*self
,wxString 
const &key
,long defaultVal
){ 
1098             self
->Read(key
, &rv
, defaultVal
); 
1102 SWIGSTATICINLINE(double) 
1103 SWIG_AsDouble(PyObject 
*obj
) 
1105     if (PyNumber_Check(obj
)) 
1106         return PyFloat_AsDouble(obj
); 
1108         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
1109                                                obj
->ob_type
->tp_name
); 
1110         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
1117 SWIGSTATICINLINE(int) 
1118 SWIG_CheckDouble(PyObject
* obj
) 
1121   if (PyErr_Occurred()) { 
1129 double wxConfigBase_ReadFloat(wxConfigBase 
*self
,wxString 
const &key
,double defaultVal
){ 
1131             self
->Read(key
, &rv
, defaultVal
); 
1134 bool wxConfigBase_ReadBool(wxConfigBase 
*self
,wxString 
const &key
,bool defaultVal
){ 
1136             self
->Read(key
, &rv
, defaultVal
); 
1140 #include <wx/datetime.h> 
1143  static const wxString 
wxPyDateFormatStr(wxT("%c"));  
1144  static const wxString 
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));  
1146 #define LOCAL_TZ wxDateTime::Local 
1149 #if UINT_MAX < LONG_MAX 
1150 #define SWIG_FromUnsignedInt    SWIG_FromLong 
1152 #define SWIG_FromUnsignedInt    SWIG_FromUnsignedLong 
1155 wxDateTime 
wxDateTime___add____SWIG_0(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1156 wxDateTime 
wxDateTime___add____SWIG_1(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1157 wxTimeSpan 
wxDateTime___sub____SWIG_0(wxDateTime 
*self
,wxDateTime 
const &other
){ return *self 
- other
; } 
1158 wxDateTime 
wxDateTime___sub____SWIG_1(wxDateTime 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1159 wxDateTime 
wxDateTime___sub____SWIG_2(wxDateTime 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1160 bool wxDateTime___lt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1161             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<  other
;  
1162             return (*self 
<  *other
); 
1164 bool wxDateTime___le__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1165             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
<= other
;  
1166             return (*self 
<= *other
); 
1168 bool wxDateTime___gt__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1169             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>  other
;  
1170             return (*self 
>  *other
); 
1172 bool wxDateTime___ge__(wxDateTime 
*self
,wxDateTime 
const *other
){  
1173             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
>= other
;  
1174             return (*self 
>= *other
); 
1176 bool wxDateTime___eq__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1177             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
== other
;  
1178             return (*self 
== *other
); 
1180 bool wxDateTime___ne__(wxDateTime 
*self
,wxDateTime 
const *other
){ 
1181             if (!other 
|| !self
->IsValid() || !other
->IsValid()) return self 
!= other
;  
1182             return (*self 
!= *other
); 
1184 int wxDateTime_ParseRfc822Date(wxDateTime 
*self
,wxString 
const &date
){ 
1186             const wxChar
* _date 
= date
; 
1187             rv 
= self
->ParseRfc822Date(_date
); 
1188             if (rv 
== NULL
) return -1; 
1191 int wxDateTime_ParseFormat(wxDateTime 
*self
,wxString 
const &date
,wxString 
const &format
,wxDateTime 
const &dateDef
){ 
1193             const wxChar
* _date 
= date
; 
1194             rv 
= self
->ParseFormat(_date
, format
, dateDef
); 
1195             if (rv 
== NULL
) return -1; 
1198 int wxDateTime_ParseDateTime(wxDateTime 
*self
,wxString 
const &datetime
){ 
1200             const wxChar
* _datetime 
= datetime
; 
1201             rv 
= self
->ParseDateTime(_datetime
); 
1202             if (rv 
== NULL
) return -1; 
1203             return rv 
- _datetime
; 
1205 int wxDateTime_ParseDate(wxDateTime 
*self
,wxString 
const &date
){ 
1207             const wxChar
* _date 
= date
; 
1208             rv 
= self
->ParseDate(_date
); 
1209             if (rv 
== NULL
) return -1; 
1212 int wxDateTime_ParseTime(wxDateTime 
*self
,wxString 
const &time
){ 
1214             const wxChar
* _time 
= time
; 
1215             rv 
= self
->ParseTime(_time
); 
1216             if (rv 
== NULL
) return -1; 
1219 wxTimeSpan 
wxTimeSpan___add__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
+ other
; } 
1220 wxTimeSpan 
wxTimeSpan___sub__(wxTimeSpan 
*self
,wxTimeSpan 
const &other
){ return *self 
- other
; } 
1221 wxTimeSpan 
wxTimeSpan___mul__(wxTimeSpan 
*self
,int n
){ return *self 
* n
; } 
1222 wxTimeSpan 
wxTimeSpan___rmul__(wxTimeSpan 
*self
,int n
){ return n 
* *self
; } 
1223 bool wxTimeSpan___lt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<  *other
) : False
; } 
1224 bool wxTimeSpan___le__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
<= *other
) : False
; } 
1225 bool wxTimeSpan___gt__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>  *other
) : True
;  } 
1226 bool wxTimeSpan___ge__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
>= *other
) : True
;  } 
1227 bool wxTimeSpan___eq__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1228 bool wxTimeSpan___ne__(wxTimeSpan 
*self
,wxTimeSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1229 wxDateSpan 
wxDateSpan___add__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
+ other
; } 
1230 wxDateSpan 
wxDateSpan___sub__(wxDateSpan 
*self
,wxDateSpan 
const &other
){ return *self 
- other
; } 
1231 wxDateSpan 
wxDateSpan___mul__(wxDateSpan 
*self
,int n
){ return *self 
* n
; } 
1232 wxDateSpan 
wxDateSpan___rmul__(wxDateSpan 
*self
,int n
){ return n 
* *self
; } 
1233 bool wxDateSpan___eq__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1234 bool wxDateSpan___ne__(wxDateSpan 
*self
,wxDateSpan 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1236 #include <wx/dataobj.h> 
1238   // Create a new class for wxPython to use 
1239 class wxPyDataObjectSimple 
: public wxDataObjectSimple 
{ 
1241     wxPyDataObjectSimple(const wxDataFormat
& format 
= wxFormatInvalid
) 
1242         : wxDataObjectSimple(format
) {} 
1244     DEC_PYCALLBACK_SIZET__const(GetDataSize
); 
1245     bool GetDataHere(void *buf
) const; 
1246     bool SetData(size_t len
, const void *buf
) const; 
1250 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
); 
1252 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const { 
1253     // We need to get the data for this object and write it to buf.  I think 
1254     // the best way to do this for wxPython is to have the Python method 
1255     // return either a string or None and then act appropriately with the 
1259     bool blocked 
= wxPyBeginBlockThreads(); 
1260     if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) { 
1262         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1264             rval 
= (ro 
!= Py_None 
&& PyString_Check(ro
)); 
1266                 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
)); 
1270     wxPyEndBlockThreads(blocked
); 
1274 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{ 
1275     // For this one we simply need to make a string from buf and len 
1276     // and send it to the Python method. 
1278     bool blocked 
= wxPyBeginBlockThreads(); 
1279     if (wxPyCBH_findCallback(m_myInst
, "SetData")) { 
1280         PyObject
* data 
= PyString_FromStringAndSize((char*)buf
, len
); 
1281         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
)); 
1284     wxPyEndBlockThreads(blocked
); 
1288   // Create a new class for wxPython to use 
1289 class wxPyTextDataObject 
: public wxTextDataObject 
{ 
1291     wxPyTextDataObject(const wxString
& text 
= wxPyEmptyString
) 
1292         : wxTextDataObject(text
) {} 
1294     DEC_PYCALLBACK_SIZET__const(GetTextLength
); 
1295     DEC_PYCALLBACK_STRING__const(GetText
); 
1296     DEC_PYCALLBACK__STRING(SetText
); 
1300 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
); 
1301 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
); 
1302 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
); 
1305   // Create a new class for wxPython to use 
1306 class wxPyBitmapDataObject 
: public wxBitmapDataObject 
{ 
1308     wxPyBitmapDataObject(const wxBitmap
& bitmap 
= wxNullBitmap
) 
1309         : wxBitmapDataObject(bitmap
) {} 
1311     wxBitmap 
GetBitmap() const; 
1312     void SetBitmap(const wxBitmap
& bitmap
); 
1316 wxBitmap 
wxPyBitmapDataObject::GetBitmap() const { 
1317     wxBitmap
* rval 
= &wxNullBitmap
; 
1318     bool blocked 
= wxPyBeginBlockThreads(); 
1319     if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) { 
1322         ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
1324             if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap"))) 
1329     wxPyEndBlockThreads(blocked
); 
1333 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) { 
1334     bool blocked 
= wxPyBeginBlockThreads(); 
1335     if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) { 
1336         PyObject
* bo 
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
); 
1337         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
)); 
1340     wxPyEndBlockThreads(blocked
); 
1343 void wxCustomDataObject_TakeData(wxCustomDataObject 
*self
,PyObject 
*data
){ 
1344             if (PyString_Check(data
)) { 
1345                 // for Python we just call SetData here since we always need it to make a copy. 
1346                 self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1349                 // raise a TypeError if not a string 
1350                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1353 bool wxCustomDataObject_SetData(wxCustomDataObject 
*self
,PyObject 
*data
){ 
1354             if (PyString_Check(data
)) { 
1355                 return self
->SetData(PyString_Size(data
), PyString_AsString(data
)); 
1358                 // raise a TypeError if not a string 
1359                 PyErr_SetString(PyExc_TypeError
, "String expected."); 
1363 PyObject 
*wxCustomDataObject_GetData(wxCustomDataObject 
*self
){ 
1364             return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize()); 
1367 #include <wx/metafile.h> 
1370 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
); 
1373 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
); 
1374 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
); 
1375 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
); 
1376 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
); 
1377 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
); 
1380 class wxPyTextDropTarget 
: public wxTextDropTarget 
{ 
1382     wxPyTextDropTarget() {} 
1384     DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
); 
1386     DEC_PYCALLBACK__(OnLeave
); 
1387     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1388     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1389     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1390     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1395 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
); 
1396 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
); 
1397 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
); 
1398 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
); 
1399 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
); 
1400 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
); 
1404 class wxPyFileDropTarget 
: public wxFileDropTarget 
{ 
1406     wxPyFileDropTarget() {} 
1408     virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
); 
1410     DEC_PYCALLBACK__(OnLeave
); 
1411     DEC_PYCALLBACK_DR_2WXCDR(OnEnter
); 
1412     DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
); 
1413     DEC_PYCALLBACK_DR_2WXCDR(OnData
); 
1414     DEC_PYCALLBACK_BOOL_INTINT(OnDrop
); 
1419 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
, 
1420                                      const wxArrayString
& filenames
) { 
1422     bool blocked 
= wxPyBeginBlockThreads(); 
1423     if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) { 
1424         PyObject
* list 
= wxArrayString2PyList_helper(filenames
); 
1425         rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
)); 
1428     wxPyEndBlockThreads(blocked
); 
1434 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
); 
1435 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
); 
1436 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
); 
1437 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
); 
1438 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
); 
1443 bool wxClipboardLocker___nonzero__(wxClipboardLocker 
*self
){ return !!(*self
); } 
1445 #include "wx/display.h" 
1447 bool wxVideoMode___eq__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
== *other
) : False
; } 
1448 bool wxVideoMode___ne__(wxVideoMode 
*self
,wxVideoMode 
const *other
){ return other 
? (*self 
!= *other
) : True
;  } 
1449 int Display_GetFromWindow(wxWindow 
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; } 
1450 PyObject 
*wxDisplay_GetModes(wxDisplay 
*self
,wxVideoMode 
const &mode
){ 
1451             PyObject
* pyList 
= NULL
; 
1452             wxArrayVideoModes arr 
= self
->GetModes(mode
); 
1453             bool blocked 
= wxPyBeginBlockThreads(); 
1454             pyList 
= PyList_New(0); 
1455             for (int i
=0; i 
< arr
.GetCount(); i
++) { 
1456                 wxVideoMode
* m 
= new wxVideoMode(arr
.Item(i
)); 
1457                 PyObject
* pyObj 
= wxPyConstructObject(m
, wxT("wxVideoMode"), true); 
1458                 PyList_Append(pyList
, pyObj
); 
1460             wxPyEndBlockThreads(blocked
); 
1466 static PyObject 
*_wrap_SystemSettings_GetColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1467     PyObject 
*resultobj
; 
1470     PyObject 
* obj0 
= 0 ; 
1472         (char *) "index", NULL 
 
1475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
; 
1476     arg1 
= (wxSystemColour
) SWIG_AsInt(obj0
);  
1477     if (PyErr_Occurred()) SWIG_fail
; 
1479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1480         result 
= wxSystemSettings::GetColour((wxSystemColour 
)arg1
); 
1482         wxPyEndAllowThreads(__tstate
); 
1483         if (PyErr_Occurred()) SWIG_fail
; 
1486         wxColour 
* resultptr
; 
1487         resultptr 
= new wxColour((wxColour 
&) result
); 
1488         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1496 static PyObject 
*_wrap_SystemSettings_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1497     PyObject 
*resultobj
; 
1500     PyObject 
* obj0 
= 0 ; 
1502         (char *) "index", NULL 
 
1505     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
; 
1506     arg1 
= (wxSystemFont
) SWIG_AsInt(obj0
);  
1507     if (PyErr_Occurred()) SWIG_fail
; 
1509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1510         result 
= wxSystemSettings::GetFont((wxSystemFont 
)arg1
); 
1512         wxPyEndAllowThreads(__tstate
); 
1513         if (PyErr_Occurred()) SWIG_fail
; 
1517         resultptr 
= new wxFont((wxFont 
&) result
); 
1518         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
1526 static PyObject 
*_wrap_SystemSettings_GetMetric(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1527     PyObject 
*resultobj
; 
1530     PyObject 
* obj0 
= 0 ; 
1532         (char *) "index", NULL 
 
1535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
; 
1536     arg1 
= (wxSystemMetric
) SWIG_AsInt(obj0
);  
1537     if (PyErr_Occurred()) SWIG_fail
; 
1539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1540         result 
= (int)wxSystemSettings::GetMetric((wxSystemMetric 
)arg1
); 
1542         wxPyEndAllowThreads(__tstate
); 
1543         if (PyErr_Occurred()) SWIG_fail
; 
1545     resultobj 
= SWIG_FromInt((int)result
); 
1552 static PyObject 
*_wrap_SystemSettings_HasFeature(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1553     PyObject 
*resultobj
; 
1556     PyObject 
* obj0 
= 0 ; 
1558         (char *) "index", NULL 
 
1561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
; 
1562     arg1 
= (wxSystemFeature
) SWIG_AsInt(obj0
);  
1563     if (PyErr_Occurred()) SWIG_fail
; 
1565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1566         result 
= (bool)wxSystemSettings::HasFeature((wxSystemFeature 
)arg1
); 
1568         wxPyEndAllowThreads(__tstate
); 
1569         if (PyErr_Occurred()) SWIG_fail
; 
1572         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1580 static PyObject 
*_wrap_SystemSettings_GetScreenType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1581     PyObject 
*resultobj
; 
1587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
; 
1589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1590         result 
= (int)wxSystemSettings::GetScreenType(); 
1592         wxPyEndAllowThreads(__tstate
); 
1593         if (PyErr_Occurred()) SWIG_fail
; 
1595     resultobj 
= SWIG_FromInt((int)result
); 
1602 static PyObject 
*_wrap_SystemSettings_SetScreenType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1603     PyObject 
*resultobj
; 
1605     PyObject 
* obj0 
= 0 ; 
1607         (char *) "screen", NULL 
 
1610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
; 
1611     arg1 
= (wxSystemScreenType
) SWIG_AsInt(obj0
);  
1612     if (PyErr_Occurred()) SWIG_fail
; 
1614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1615         wxSystemSettings::SetScreenType((wxSystemScreenType 
)arg1
); 
1617         wxPyEndAllowThreads(__tstate
); 
1618         if (PyErr_Occurred()) SWIG_fail
; 
1620     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1627 static PyObject 
* SystemSettings_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1629     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1630     SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
); 
1632     return Py_BuildValue((char *)""); 
1634 static PyObject 
*_wrap_new_SystemOptions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1635     PyObject 
*resultobj
; 
1636     wxSystemOptions 
*result
; 
1641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
; 
1643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1644         result 
= (wxSystemOptions 
*)new wxSystemOptions(); 
1646         wxPyEndAllowThreads(__tstate
); 
1647         if (PyErr_Occurred()) SWIG_fail
; 
1649     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1); 
1656 static PyObject 
*_wrap_SystemOptions_SetOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1657     PyObject 
*resultobj
; 
1658     wxString 
*arg1 
= 0 ; 
1659     wxString 
*arg2 
= 0 ; 
1660     bool temp1 
= False 
; 
1661     bool temp2 
= False 
; 
1662     PyObject 
* obj0 
= 0 ; 
1663     PyObject 
* obj1 
= 0 ; 
1665         (char *) "name",(char *) "value", NULL 
 
1668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
; 
1670         arg1 
= wxString_in_helper(obj0
); 
1671         if (arg1 
== NULL
) SWIG_fail
; 
1675         arg2 
= wxString_in_helper(obj1
); 
1676         if (arg2 
== NULL
) SWIG_fail
; 
1680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1681         wxSystemOptions::SetOption((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
1683         wxPyEndAllowThreads(__tstate
); 
1684         if (PyErr_Occurred()) SWIG_fail
; 
1686     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1709 static PyObject 
*_wrap_SystemOptions_SetOptionInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1710     PyObject 
*resultobj
; 
1711     wxString 
*arg1 
= 0 ; 
1713     bool temp1 
= False 
; 
1714     PyObject 
* obj0 
= 0 ; 
1715     PyObject 
* obj1 
= 0 ; 
1717         (char *) "name",(char *) "value", NULL 
 
1720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
1722         arg1 
= wxString_in_helper(obj0
); 
1723         if (arg1 
== NULL
) SWIG_fail
; 
1726     arg2 
= (int) SWIG_AsInt(obj1
);  
1727     if (PyErr_Occurred()) SWIG_fail
; 
1729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1730         wxSystemOptions::SetOption((wxString 
const &)*arg1
,arg2
); 
1732         wxPyEndAllowThreads(__tstate
); 
1733         if (PyErr_Occurred()) SWIG_fail
; 
1735     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1750 static PyObject 
*_wrap_SystemOptions_GetOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1751     PyObject 
*resultobj
; 
1752     wxString 
*arg1 
= 0 ; 
1754     bool temp1 
= False 
; 
1755     PyObject 
* obj0 
= 0 ; 
1757         (char *) "name", NULL 
 
1760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
; 
1762         arg1 
= wxString_in_helper(obj0
); 
1763         if (arg1 
== NULL
) SWIG_fail
; 
1767         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1768         result 
= wxSystemOptions::GetOption((wxString 
const &)*arg1
); 
1770         wxPyEndAllowThreads(__tstate
); 
1771         if (PyErr_Occurred()) SWIG_fail
; 
1775         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1777         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1794 static PyObject 
*_wrap_SystemOptions_GetOptionInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1795     PyObject 
*resultobj
; 
1796     wxString 
*arg1 
= 0 ; 
1798     bool temp1 
= False 
; 
1799     PyObject 
* obj0 
= 0 ; 
1801         (char *) "name", NULL 
 
1804     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
; 
1806         arg1 
= wxString_in_helper(obj0
); 
1807         if (arg1 
== NULL
) SWIG_fail
; 
1811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1812         result 
= (int)wxSystemOptions::GetOptionInt((wxString 
const &)*arg1
); 
1814         wxPyEndAllowThreads(__tstate
); 
1815         if (PyErr_Occurred()) SWIG_fail
; 
1817     resultobj 
= SWIG_FromInt((int)result
); 
1832 static PyObject 
*_wrap_SystemOptions_HasOption(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1833     PyObject 
*resultobj
; 
1834     wxString 
*arg1 
= 0 ; 
1836     bool temp1 
= False 
; 
1837     PyObject 
* obj0 
= 0 ; 
1839         (char *) "name", NULL 
 
1842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
; 
1844         arg1 
= wxString_in_helper(obj0
); 
1845         if (arg1 
== NULL
) SWIG_fail
; 
1849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1850         result 
= (bool)wxSystemOptions::HasOption((wxString 
const &)*arg1
); 
1852         wxPyEndAllowThreads(__tstate
); 
1853         if (PyErr_Occurred()) SWIG_fail
; 
1856         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1872 static PyObject 
* SystemOptions_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1874     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1875     SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
); 
1877     return Py_BuildValue((char *)""); 
1879 static int _wrap_FileSelectorPromptStr_set(PyObject 
*_val
) { 
1880     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only."); 
1885 static PyObject 
*_wrap_FileSelectorPromptStr_get() { 
1890         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
1892         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
1899 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject 
*_val
) { 
1900     PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only."); 
1905 static PyObject 
*_wrap_FileSelectorDefaultWildcardStr_get() { 
1910         pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
1912         pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
1919 static int _wrap_DirSelectorPromptStr_set(PyObject 
*_val
) { 
1920     PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only."); 
1925 static PyObject 
*_wrap_DirSelectorPromptStr_get() { 
1930         pyobj 
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
1932         pyobj 
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
1939 static PyObject 
*_wrap_NewId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1940     PyObject 
*resultobj
; 
1946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
; 
1948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1949         result 
= (long)wxNewId(); 
1951         wxPyEndAllowThreads(__tstate
); 
1952         if (PyErr_Occurred()) SWIG_fail
; 
1954     resultobj 
= SWIG_FromLong((long)result
); 
1961 static PyObject 
*_wrap_RegisterId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1962     PyObject 
*resultobj
; 
1964     PyObject 
* obj0 
= 0 ; 
1969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
; 
1970     arg1 
= (long) SWIG_AsLong(obj0
);  
1971     if (PyErr_Occurred()) SWIG_fail
; 
1973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1976         wxPyEndAllowThreads(__tstate
); 
1977         if (PyErr_Occurred()) SWIG_fail
; 
1979     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1986 static PyObject 
*_wrap_GetCurrentId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1987     PyObject 
*resultobj
; 
1993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
; 
1995         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1996         result 
= (long)wxGetCurrentId(); 
1998         wxPyEndAllowThreads(__tstate
); 
1999         if (PyErr_Occurred()) SWIG_fail
; 
2001     resultobj 
= SWIG_FromLong((long)result
); 
2008 static PyObject 
*_wrap_Bell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2009     PyObject 
*resultobj
; 
2014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
; 
2016         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2019         wxPyEndAllowThreads(__tstate
); 
2020         if (PyErr_Occurred()) SWIG_fail
; 
2022     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2029 static PyObject 
*_wrap_EndBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2030     PyObject 
*resultobj
; 
2035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
; 
2037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2040         wxPyEndAllowThreads(__tstate
); 
2041         if (PyErr_Occurred()) SWIG_fail
; 
2043     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2050 static PyObject 
*_wrap_GetElapsedTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2051     PyObject 
*resultobj
; 
2052     bool arg1 
= (bool) True 
; 
2054     PyObject 
* obj0 
= 0 ; 
2056         (char *) "resetTimer", NULL 
 
2059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
; 
2061         arg1 
= (bool) SWIG_AsBool(obj0
);  
2062         if (PyErr_Occurred()) SWIG_fail
; 
2065         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2066         result 
= (long)wxGetElapsedTime(arg1
); 
2068         wxPyEndAllowThreads(__tstate
); 
2069         if (PyErr_Occurred()) SWIG_fail
; 
2071     resultobj 
= SWIG_FromLong((long)result
); 
2078 static PyObject 
*_wrap_GetMousePosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2079     PyObject 
*resultobj
; 
2080     int *arg1 
= (int *) 0 ; 
2081     int *arg2 
= (int *) 0 ; 
2090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
; 
2092         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2093         wxGetMousePosition(arg1
,arg2
); 
2095         wxPyEndAllowThreads(__tstate
); 
2096         if (PyErr_Occurred()) SWIG_fail
; 
2098     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2100         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
2101         resultobj 
= t_output_helper(resultobj
,o
); 
2104         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
2105         resultobj 
= t_output_helper(resultobj
,o
); 
2113 static PyObject 
*_wrap_IsBusy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2114     PyObject 
*resultobj
; 
2120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
; 
2122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2123         result 
= (bool)wxIsBusy(); 
2125         wxPyEndAllowThreads(__tstate
); 
2126         if (PyErr_Occurred()) SWIG_fail
; 
2129         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2137 static PyObject 
*_wrap_Now(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2138     PyObject 
*resultobj
; 
2144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
; 
2146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2149         wxPyEndAllowThreads(__tstate
); 
2150         if (PyErr_Occurred()) SWIG_fail
; 
2154         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2156         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2165 static PyObject 
*_wrap_Shell(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2166     PyObject 
*resultobj
; 
2167     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2168     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2170     bool temp1 
= False 
; 
2171     PyObject 
* obj0 
= 0 ; 
2173         (char *) "command", NULL 
 
2176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
; 
2179             arg1 
= wxString_in_helper(obj0
); 
2180             if (arg1 
== NULL
) SWIG_fail
; 
2185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2186         result 
= (bool)wxShell((wxString 
const &)*arg1
); 
2188         wxPyEndAllowThreads(__tstate
); 
2189         if (PyErr_Occurred()) SWIG_fail
; 
2192         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2208 static PyObject 
*_wrap_StartTimer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2209     PyObject 
*resultobj
; 
2214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
; 
2216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2219         wxPyEndAllowThreads(__tstate
); 
2220         if (PyErr_Occurred()) SWIG_fail
; 
2222     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2229 static PyObject 
*_wrap_GetOsVersion(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2230     PyObject 
*resultobj
; 
2231     int *arg1 
= (int *) 0 ; 
2232     int *arg2 
= (int *) 0 ; 
2242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
; 
2244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2245         result 
= (int)wxGetOsVersion(arg1
,arg2
); 
2247         wxPyEndAllowThreads(__tstate
); 
2248         if (PyErr_Occurred()) SWIG_fail
; 
2250     resultobj 
= SWIG_FromInt((int)result
); 
2252         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
2253         resultobj 
= t_output_helper(resultobj
,o
); 
2256         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
2257         resultobj 
= t_output_helper(resultobj
,o
); 
2265 static PyObject 
*_wrap_GetOsDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2266     PyObject 
*resultobj
; 
2272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
; 
2274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2275         result 
= wxGetOsDescription(); 
2277         wxPyEndAllowThreads(__tstate
); 
2278         if (PyErr_Occurred()) SWIG_fail
; 
2282         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2284         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2293 static PyObject 
*_wrap_GetFreeMemory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2294     PyObject 
*resultobj
; 
2300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
; 
2302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2303         result 
= (long)wxGetFreeMemory(); 
2305         wxPyEndAllowThreads(__tstate
); 
2306         if (PyErr_Occurred()) SWIG_fail
; 
2308     resultobj 
= SWIG_FromLong((long)result
); 
2315 static PyObject 
*_wrap_Shutdown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2316     PyObject 
*resultobj
; 
2319     PyObject 
* obj0 
= 0 ; 
2321         (char *) "wFlags", NULL 
 
2324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
; 
2325     arg1 
= (wxShutdownFlags
) SWIG_AsInt(obj0
);  
2326     if (PyErr_Occurred()) SWIG_fail
; 
2328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2329         result 
= (bool)wxShutdown((wxShutdownFlags 
)arg1
); 
2331         wxPyEndAllowThreads(__tstate
); 
2332         if (PyErr_Occurred()) SWIG_fail
; 
2335         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2343 static PyObject 
*_wrap_Sleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2344     PyObject 
*resultobj
; 
2346     PyObject 
* obj0 
= 0 ; 
2348         (char *) "secs", NULL 
 
2351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
; 
2352     arg1 
= (int) SWIG_AsInt(obj0
);  
2353     if (PyErr_Occurred()) SWIG_fail
; 
2355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2358         wxPyEndAllowThreads(__tstate
); 
2359         if (PyErr_Occurred()) SWIG_fail
; 
2361     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2368 static PyObject 
*_wrap_Usleep(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2369     PyObject 
*resultobj
; 
2370     unsigned long arg1 
; 
2371     PyObject 
* obj0 
= 0 ; 
2373         (char *) "milliseconds", NULL 
 
2376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
; 
2377     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
2378     if (PyErr_Occurred()) SWIG_fail
; 
2380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2383         wxPyEndAllowThreads(__tstate
); 
2384         if (PyErr_Occurred()) SWIG_fail
; 
2386     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2393 static PyObject 
*_wrap_EnableTopLevelWindows(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2394     PyObject 
*resultobj
; 
2396     PyObject 
* obj0 
= 0 ; 
2398         (char *) "enable", NULL 
 
2401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
; 
2402     arg1 
= (bool) SWIG_AsBool(obj0
);  
2403     if (PyErr_Occurred()) SWIG_fail
; 
2405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2406         wxEnableTopLevelWindows(arg1
); 
2408         wxPyEndAllowThreads(__tstate
); 
2409         if (PyErr_Occurred()) SWIG_fail
; 
2411     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2418 static PyObject 
*_wrap_StripMenuCodes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2419     PyObject 
*resultobj
; 
2420     wxString 
*arg1 
= 0 ; 
2422     bool temp1 
= False 
; 
2423     PyObject 
* obj0 
= 0 ; 
2428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
; 
2430         arg1 
= wxString_in_helper(obj0
); 
2431         if (arg1 
== NULL
) SWIG_fail
; 
2435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2436         result 
= wxStripMenuCodes((wxString 
const &)*arg1
); 
2438         wxPyEndAllowThreads(__tstate
); 
2439         if (PyErr_Occurred()) SWIG_fail
; 
2443         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2445         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2462 static PyObject 
*_wrap_GetEmailAddress(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2463     PyObject 
*resultobj
; 
2469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
; 
2471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2472         result 
= wxGetEmailAddress(); 
2474         wxPyEndAllowThreads(__tstate
); 
2475         if (PyErr_Occurred()) SWIG_fail
; 
2479         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2481         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2490 static PyObject 
*_wrap_GetHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2491     PyObject 
*resultobj
; 
2497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
; 
2499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2500         result 
= wxGetHostName(); 
2502         wxPyEndAllowThreads(__tstate
); 
2503         if (PyErr_Occurred()) SWIG_fail
; 
2507         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2509         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2518 static PyObject 
*_wrap_GetFullHostName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2519     PyObject 
*resultobj
; 
2525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
; 
2527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2528         result 
= wxGetFullHostName(); 
2530         wxPyEndAllowThreads(__tstate
); 
2531         if (PyErr_Occurred()) SWIG_fail
; 
2535         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2537         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2546 static PyObject 
*_wrap_GetUserId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2547     PyObject 
*resultobj
; 
2553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
; 
2555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2556         result 
= wxGetUserId(); 
2558         wxPyEndAllowThreads(__tstate
); 
2559         if (PyErr_Occurred()) SWIG_fail
; 
2563         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2565         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2574 static PyObject 
*_wrap_GetUserName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2575     PyObject 
*resultobj
; 
2581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
; 
2583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2584         result 
= wxGetUserName(); 
2586         wxPyEndAllowThreads(__tstate
); 
2587         if (PyErr_Occurred()) SWIG_fail
; 
2591         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2593         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2602 static PyObject 
*_wrap_GetHomeDir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2603     PyObject 
*resultobj
; 
2609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
; 
2611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2612         result 
= wxGetHomeDir(); 
2614         wxPyEndAllowThreads(__tstate
); 
2615         if (PyErr_Occurred()) SWIG_fail
; 
2619         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2621         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2630 static PyObject 
*_wrap_GetUserHome(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2631     PyObject 
*resultobj
; 
2632     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
2633     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2635     bool temp1 
= False 
; 
2636     PyObject 
* obj0 
= 0 ; 
2638         (char *) "user", NULL 
 
2641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
; 
2644             arg1 
= wxString_in_helper(obj0
); 
2645             if (arg1 
== NULL
) SWIG_fail
; 
2650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2651         result 
= wxGetUserHome((wxString 
const &)*arg1
); 
2653         wxPyEndAllowThreads(__tstate
); 
2654         if (PyErr_Occurred()) SWIG_fail
; 
2658         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2660         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2677 static PyObject 
*_wrap_GetProcessId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2678     PyObject 
*resultobj
; 
2679     unsigned long result
; 
2684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
; 
2686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2687         result 
= (unsigned long)wxGetProcessId(); 
2689         wxPyEndAllowThreads(__tstate
); 
2690         if (PyErr_Occurred()) SWIG_fail
; 
2692     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
2699 static PyObject 
*_wrap_Trap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2700     PyObject 
*resultobj
; 
2705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
; 
2707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2710         wxPyEndAllowThreads(__tstate
); 
2711         if (PyErr_Occurred()) SWIG_fail
; 
2713     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2720 static PyObject 
*_wrap_FileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2721     PyObject 
*resultobj
; 
2722     wxString 
const &arg1_defvalue 
= wxPyFileSelectorPromptStr 
; 
2723     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
2724     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
2725     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
2726     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2727     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2728     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
2729     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
2730     wxString 
const &arg5_defvalue 
= wxPyFileSelectorDefaultWildcardStr 
; 
2731     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
2732     int arg6 
= (int) 0 ; 
2733     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
2734     int arg8 
= (int) -1 ; 
2735     int arg9 
= (int) -1 ; 
2737     bool temp1 
= False 
; 
2738     bool temp2 
= False 
; 
2739     bool temp3 
= False 
; 
2740     bool temp4 
= False 
; 
2741     bool temp5 
= False 
; 
2742     PyObject 
* obj0 
= 0 ; 
2743     PyObject 
* obj1 
= 0 ; 
2744     PyObject 
* obj2 
= 0 ; 
2745     PyObject 
* obj3 
= 0 ; 
2746     PyObject 
* obj4 
= 0 ; 
2747     PyObject 
* obj5 
= 0 ; 
2748     PyObject 
* obj6 
= 0 ; 
2749     PyObject 
* obj7 
= 0 ; 
2750     PyObject 
* obj8 
= 0 ; 
2752         (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
2755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2758             arg1 
= wxString_in_helper(obj0
); 
2759             if (arg1 
== NULL
) SWIG_fail
; 
2765             arg2 
= wxString_in_helper(obj1
); 
2766             if (arg2 
== NULL
) SWIG_fail
; 
2772             arg3 
= wxString_in_helper(obj2
); 
2773             if (arg3 
== NULL
) SWIG_fail
; 
2779             arg4 
= wxString_in_helper(obj3
); 
2780             if (arg4 
== NULL
) SWIG_fail
; 
2786             arg5 
= wxString_in_helper(obj4
); 
2787             if (arg5 
== NULL
) SWIG_fail
; 
2792         arg6 
= (int) SWIG_AsInt(obj5
);  
2793         if (PyErr_Occurred()) SWIG_fail
; 
2796         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
2797         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2800         arg8 
= (int) SWIG_AsInt(obj7
);  
2801         if (PyErr_Occurred()) SWIG_fail
; 
2804         arg9 
= (int) SWIG_AsInt(obj8
);  
2805         if (PyErr_Occurred()) SWIG_fail
; 
2808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2809         result 
= wxFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
); 
2811         wxPyEndAllowThreads(__tstate
); 
2812         if (PyErr_Occurred()) SWIG_fail
; 
2816         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2818         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2867 static PyObject 
*_wrap_LoadFileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2868     PyObject 
*resultobj
; 
2869     wxString 
*arg1 
= 0 ; 
2870     wxString 
*arg2 
= 0 ; 
2871     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2872     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2873     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
2875     bool temp1 
= False 
; 
2876     bool temp2 
= False 
; 
2877     bool temp3 
= False 
; 
2878     PyObject 
* obj0 
= 0 ; 
2879     PyObject 
* obj1 
= 0 ; 
2880     PyObject 
* obj2 
= 0 ; 
2881     PyObject 
* obj3 
= 0 ; 
2883         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
2886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2888         arg1 
= wxString_in_helper(obj0
); 
2889         if (arg1 
== NULL
) SWIG_fail
; 
2893         arg2 
= wxString_in_helper(obj1
); 
2894         if (arg2 
== NULL
) SWIG_fail
; 
2899             arg3 
= wxString_in_helper(obj2
); 
2900             if (arg3 
== NULL
) SWIG_fail
; 
2905         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
2906         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2910         result 
= wxLoadFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
2912         wxPyEndAllowThreads(__tstate
); 
2913         if (PyErr_Occurred()) SWIG_fail
; 
2917         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2919         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2952 static PyObject 
*_wrap_SaveFileSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2953     PyObject 
*resultobj
; 
2954     wxString 
*arg1 
= 0 ; 
2955     wxString 
*arg2 
= 0 ; 
2956     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2957     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2958     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
2960     bool temp1 
= False 
; 
2961     bool temp2 
= False 
; 
2962     bool temp3 
= False 
; 
2963     PyObject 
* obj0 
= 0 ; 
2964     PyObject 
* obj1 
= 0 ; 
2965     PyObject 
* obj2 
= 0 ; 
2966     PyObject 
* obj3 
= 0 ; 
2968         (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL 
 
2971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2973         arg1 
= wxString_in_helper(obj0
); 
2974         if (arg1 
== NULL
) SWIG_fail
; 
2978         arg2 
= wxString_in_helper(obj1
); 
2979         if (arg2 
== NULL
) SWIG_fail
; 
2984             arg3 
= wxString_in_helper(obj2
); 
2985             if (arg3 
== NULL
) SWIG_fail
; 
2990         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
2991         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2995         result 
= wxSaveFileSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
2997         wxPyEndAllowThreads(__tstate
); 
2998         if (PyErr_Occurred()) SWIG_fail
; 
3002         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3004         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3037 static PyObject 
*_wrap_DirSelector(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3038     PyObject 
*resultobj
; 
3039     wxString 
const &arg1_defvalue 
= wxPyDirSelectorPromptStr 
; 
3040     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3041     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3042     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3043     long arg3 
= (long) wxDD_DEFAULT_STYLE 
; 
3044     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3045     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3046     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3048     bool temp1 
= False 
; 
3049     bool temp2 
= False 
; 
3051     PyObject 
* obj0 
= 0 ; 
3052     PyObject 
* obj1 
= 0 ; 
3053     PyObject 
* obj2 
= 0 ; 
3054     PyObject 
* obj3 
= 0 ; 
3055     PyObject 
* obj4 
= 0 ; 
3057         (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL 
 
3060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
3063             arg1 
= wxString_in_helper(obj0
); 
3064             if (arg1 
== NULL
) SWIG_fail
; 
3070             arg2 
= wxString_in_helper(obj1
); 
3071             if (arg2 
== NULL
) SWIG_fail
; 
3076         arg3 
= (long) SWIG_AsLong(obj2
);  
3077         if (PyErr_Occurred()) SWIG_fail
; 
3082             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3086         if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3087         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3091         result 
= wxDirSelector((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,arg5
); 
3093         wxPyEndAllowThreads(__tstate
); 
3094         if (PyErr_Occurred()) SWIG_fail
; 
3098         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3100         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3125 static PyObject 
*_wrap_GetTextFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3126     PyObject 
*resultobj
; 
3127     wxString 
*arg1 
= 0 ; 
3128     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3129     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3130     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3131     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3132     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3133     int arg5 
= (int) -1 ; 
3134     int arg6 
= (int) -1 ; 
3135     bool arg7 
= (bool) True 
; 
3137     bool temp1 
= False 
; 
3138     bool temp2 
= False 
; 
3139     bool temp3 
= False 
; 
3140     PyObject 
* obj0 
= 0 ; 
3141     PyObject 
* obj1 
= 0 ; 
3142     PyObject 
* obj2 
= 0 ; 
3143     PyObject 
* obj3 
= 0 ; 
3144     PyObject 
* obj4 
= 0 ; 
3145     PyObject 
* obj5 
= 0 ; 
3146     PyObject 
* obj6 
= 0 ; 
3148         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL 
 
3151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
3153         arg1 
= wxString_in_helper(obj0
); 
3154         if (arg1 
== NULL
) SWIG_fail
; 
3159             arg2 
= wxString_in_helper(obj1
); 
3160             if (arg2 
== NULL
) SWIG_fail
; 
3166             arg3 
= wxString_in_helper(obj2
); 
3167             if (arg3 
== NULL
) SWIG_fail
; 
3172         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3173         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3176         arg5 
= (int) SWIG_AsInt(obj4
);  
3177         if (PyErr_Occurred()) SWIG_fail
; 
3180         arg6 
= (int) SWIG_AsInt(obj5
);  
3181         if (PyErr_Occurred()) SWIG_fail
; 
3184         arg7 
= (bool) SWIG_AsBool(obj6
);  
3185         if (PyErr_Occurred()) SWIG_fail
; 
3188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3189         result 
= wxGetTextFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
); 
3191         wxPyEndAllowThreads(__tstate
); 
3192         if (PyErr_Occurred()) SWIG_fail
; 
3196         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3198         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3231 static PyObject 
*_wrap_GetPasswordFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3232     PyObject 
*resultobj
; 
3233     wxString 
*arg1 
= 0 ; 
3234     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3235     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3236     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3237     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3238     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3240     bool temp1 
= False 
; 
3241     bool temp2 
= False 
; 
3242     bool temp3 
= False 
; 
3243     PyObject 
* obj0 
= 0 ; 
3244     PyObject 
* obj1 
= 0 ; 
3245     PyObject 
* obj2 
= 0 ; 
3246     PyObject 
* obj3 
= 0 ; 
3248         (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL 
 
3251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
3253         arg1 
= wxString_in_helper(obj0
); 
3254         if (arg1 
== NULL
) SWIG_fail
; 
3259             arg2 
= wxString_in_helper(obj1
); 
3260             if (arg2 
== NULL
) SWIG_fail
; 
3266             arg3 
= wxString_in_helper(obj2
); 
3267             if (arg3 
== NULL
) SWIG_fail
; 
3272         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3273         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3277         result 
= wxGetPasswordFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
3279         wxPyEndAllowThreads(__tstate
); 
3280         if (PyErr_Occurred()) SWIG_fail
; 
3284         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3286         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3319 static PyObject 
*_wrap_GetSingleChoice(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3320     PyObject 
*resultobj
; 
3321     wxString 
*arg1 
= 0 ; 
3322     wxString 
*arg2 
= 0 ; 
3324     wxString 
*arg4 
= (wxString 
*) 0 ; 
3325     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3326     int arg6 
= (int) -1 ; 
3327     int arg7 
= (int) -1 ; 
3328     bool arg8 
= (bool) True 
; 
3329     int arg9 
= (int) 150 ; 
3330     int arg10 
= (int) 200 ; 
3332     bool temp1 
= False 
; 
3333     bool temp2 
= False 
; 
3334     PyObject 
* obj0 
= 0 ; 
3335     PyObject 
* obj1 
= 0 ; 
3336     PyObject 
* obj2 
= 0 ; 
3337     PyObject 
* obj3 
= 0 ; 
3338     PyObject 
* obj4 
= 0 ; 
3339     PyObject 
* obj5 
= 0 ; 
3340     PyObject 
* obj6 
= 0 ; 
3341     PyObject 
* obj7 
= 0 ; 
3342     PyObject 
* obj8 
= 0 ; 
3344         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3349         arg1 
= wxString_in_helper(obj0
); 
3350         if (arg1 
== NULL
) SWIG_fail
; 
3354         arg2 
= wxString_in_helper(obj1
); 
3355         if (arg2 
== NULL
) SWIG_fail
; 
3359         arg3 
= PyList_Size(obj2
); 
3360         arg4 
= wxString_LIST_helper(obj2
); 
3361         if (arg4 
== NULL
) SWIG_fail
; 
3364         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3365         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3368         arg6 
= (int) SWIG_AsInt(obj4
);  
3369         if (PyErr_Occurred()) SWIG_fail
; 
3372         arg7 
= (int) SWIG_AsInt(obj5
);  
3373         if (PyErr_Occurred()) SWIG_fail
; 
3376         arg8 
= (bool) SWIG_AsBool(obj6
);  
3377         if (PyErr_Occurred()) SWIG_fail
; 
3380         arg9 
= (int) SWIG_AsInt(obj7
);  
3381         if (PyErr_Occurred()) SWIG_fail
; 
3384         arg10 
= (int) SWIG_AsInt(obj8
);  
3385         if (PyErr_Occurred()) SWIG_fail
; 
3388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3389         result 
= wxGetSingleChoice((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3391         wxPyEndAllowThreads(__tstate
); 
3392         if (PyErr_Occurred()) SWIG_fail
; 
3396         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3398         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3410         if (arg4
) delete [] arg4
; 
3423         if (arg4
) delete [] arg4
; 
3429 static PyObject 
*_wrap_GetSingleChoiceIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3430     PyObject 
*resultobj
; 
3431     wxString 
*arg1 
= 0 ; 
3432     wxString 
*arg2 
= 0 ; 
3434     wxString 
*arg4 
= (wxString 
*) 0 ; 
3435     wxWindow 
*arg5 
= (wxWindow 
*) NULL 
; 
3436     int arg6 
= (int) -1 ; 
3437     int arg7 
= (int) -1 ; 
3438     bool arg8 
= (bool) True 
; 
3439     int arg9 
= (int) 150 ; 
3440     int arg10 
= (int) 200 ; 
3442     bool temp1 
= False 
; 
3443     bool temp2 
= False 
; 
3444     PyObject 
* obj0 
= 0 ; 
3445     PyObject 
* obj1 
= 0 ; 
3446     PyObject 
* obj2 
= 0 ; 
3447     PyObject 
* obj3 
= 0 ; 
3448     PyObject 
* obj4 
= 0 ; 
3449     PyObject 
* obj5 
= 0 ; 
3450     PyObject 
* obj6 
= 0 ; 
3451     PyObject 
* obj7 
= 0 ; 
3452     PyObject 
* obj8 
= 0 ; 
3454         (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL 
 
3457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3459         arg1 
= wxString_in_helper(obj0
); 
3460         if (arg1 
== NULL
) SWIG_fail
; 
3464         arg2 
= wxString_in_helper(obj1
); 
3465         if (arg2 
== NULL
) SWIG_fail
; 
3469         arg3 
= PyList_Size(obj2
); 
3470         arg4 
= wxString_LIST_helper(obj2
); 
3471         if (arg4 
== NULL
) SWIG_fail
; 
3474         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
, 
3475         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3478         arg6 
= (int) SWIG_AsInt(obj4
);  
3479         if (PyErr_Occurred()) SWIG_fail
; 
3482         arg7 
= (int) SWIG_AsInt(obj5
);  
3483         if (PyErr_Occurred()) SWIG_fail
; 
3486         arg8 
= (bool) SWIG_AsBool(obj6
);  
3487         if (PyErr_Occurred()) SWIG_fail
; 
3490         arg9 
= (int) SWIG_AsInt(obj7
);  
3491         if (PyErr_Occurred()) SWIG_fail
; 
3494         arg10 
= (int) SWIG_AsInt(obj8
);  
3495         if (PyErr_Occurred()) SWIG_fail
; 
3498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3499         result 
= (int)wxGetSingleChoiceIndex((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
); 
3501         wxPyEndAllowThreads(__tstate
); 
3502         if (PyErr_Occurred()) SWIG_fail
; 
3504     resultobj 
= SWIG_FromInt((int)result
); 
3514         if (arg4
) delete [] arg4
; 
3527         if (arg4
) delete [] arg4
; 
3533 static PyObject 
*_wrap_MessageBox(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3534     PyObject 
*resultobj
; 
3535     wxString 
*arg1 
= 0 ; 
3536     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3537     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3538     int arg3 
= (int) wxOK
|wxCENTRE 
; 
3539     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
3540     int arg5 
= (int) -1 ; 
3541     int arg6 
= (int) -1 ; 
3543     bool temp1 
= False 
; 
3544     bool temp2 
= False 
; 
3545     PyObject 
* obj0 
= 0 ; 
3546     PyObject 
* obj1 
= 0 ; 
3547     PyObject 
* obj2 
= 0 ; 
3548     PyObject 
* obj3 
= 0 ; 
3549     PyObject 
* obj4 
= 0 ; 
3550     PyObject 
* obj5 
= 0 ; 
3552         (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL 
 
3555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
3557         arg1 
= wxString_in_helper(obj0
); 
3558         if (arg1 
== NULL
) SWIG_fail
; 
3563             arg2 
= wxString_in_helper(obj1
); 
3564             if (arg2 
== NULL
) SWIG_fail
; 
3569         arg3 
= (int) SWIG_AsInt(obj2
);  
3570         if (PyErr_Occurred()) SWIG_fail
; 
3573         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
, 
3574         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3577         arg5 
= (int) SWIG_AsInt(obj4
);  
3578         if (PyErr_Occurred()) SWIG_fail
; 
3581         arg6 
= (int) SWIG_AsInt(obj5
);  
3582         if (PyErr_Occurred()) SWIG_fail
; 
3585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3586         result 
= (int)wxMessageBox((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
3588         wxPyEndAllowThreads(__tstate
); 
3589         if (PyErr_Occurred()) SWIG_fail
; 
3591     resultobj 
= SWIG_FromInt((int)result
); 
3614 static PyObject 
*_wrap_GetNumberFromUser(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3615     PyObject 
*resultobj
; 
3616     wxString 
*arg1 
= 0 ; 
3617     wxString 
*arg2 
= 0 ; 
3618     wxString 
*arg3 
= 0 ; 
3620     long arg5 
= (long) 0 ; 
3621     long arg6 
= (long) 100 ; 
3622     wxWindow 
*arg7 
= (wxWindow 
*) NULL 
; 
3623     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
3624     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
3626     bool temp1 
= False 
; 
3627     bool temp2 
= False 
; 
3628     bool temp3 
= False 
; 
3630     PyObject 
* obj0 
= 0 ; 
3631     PyObject 
* obj1 
= 0 ; 
3632     PyObject 
* obj2 
= 0 ; 
3633     PyObject 
* obj3 
= 0 ; 
3634     PyObject 
* obj4 
= 0 ; 
3635     PyObject 
* obj5 
= 0 ; 
3636     PyObject 
* obj6 
= 0 ; 
3637     PyObject 
* obj7 
= 0 ; 
3639         (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL 
 
3642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
3644         arg1 
= wxString_in_helper(obj0
); 
3645         if (arg1 
== NULL
) SWIG_fail
; 
3649         arg2 
= wxString_in_helper(obj1
); 
3650         if (arg2 
== NULL
) SWIG_fail
; 
3654         arg3 
= wxString_in_helper(obj2
); 
3655         if (arg3 
== NULL
) SWIG_fail
; 
3658     arg4 
= (long) SWIG_AsLong(obj3
);  
3659     if (PyErr_Occurred()) SWIG_fail
; 
3661         arg5 
= (long) SWIG_AsLong(obj4
);  
3662         if (PyErr_Occurred()) SWIG_fail
; 
3665         arg6 
= (long) SWIG_AsLong(obj5
);  
3666         if (PyErr_Occurred()) SWIG_fail
; 
3669         if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
, 
3670         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3675             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
3679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3680         result 
= (long)wxGetNumberFromUser((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
3682         wxPyEndAllowThreads(__tstate
); 
3683         if (PyErr_Occurred()) SWIG_fail
; 
3685     resultobj 
= SWIG_FromLong((long)result
); 
3716 static PyObject 
*_wrap_ColourDisplay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3717     PyObject 
*resultobj
; 
3723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
; 
3725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3726         result 
= (bool)wxColourDisplay(); 
3728         wxPyEndAllowThreads(__tstate
); 
3729         if (PyErr_Occurred()) SWIG_fail
; 
3732         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3740 static PyObject 
*_wrap_DisplayDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3741     PyObject 
*resultobj
; 
3747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
; 
3749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3750         result 
= (int)wxDisplayDepth(); 
3752         wxPyEndAllowThreads(__tstate
); 
3753         if (PyErr_Occurred()) SWIG_fail
; 
3755     resultobj 
= SWIG_FromInt((int)result
); 
3762 static PyObject 
*_wrap_GetDisplayDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3763     PyObject 
*resultobj
; 
3769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
; 
3771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3772         result 
= (int)wxGetDisplayDepth(); 
3774         wxPyEndAllowThreads(__tstate
); 
3775         if (PyErr_Occurred()) SWIG_fail
; 
3777     resultobj 
= SWIG_FromInt((int)result
); 
3784 static PyObject 
*_wrap_DisplaySize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3785     PyObject 
*resultobj
; 
3786     int *arg1 
= (int *) 0 ; 
3787     int *arg2 
= (int *) 0 ; 
3796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
; 
3798         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3799         wxDisplaySize(arg1
,arg2
); 
3801         wxPyEndAllowThreads(__tstate
); 
3802         if (PyErr_Occurred()) SWIG_fail
; 
3804     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3806         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
3807         resultobj 
= t_output_helper(resultobj
,o
); 
3810         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
3811         resultobj 
= t_output_helper(resultobj
,o
); 
3819 static PyObject 
*_wrap_GetDisplaySize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3820     PyObject 
*resultobj
; 
3826     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
; 
3828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3829         result 
= wxGetDisplaySize(); 
3831         wxPyEndAllowThreads(__tstate
); 
3832         if (PyErr_Occurred()) SWIG_fail
; 
3836         resultptr 
= new wxSize((wxSize 
&) result
); 
3837         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3845 static PyObject 
*_wrap_DisplaySizeMM(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3846     PyObject 
*resultobj
; 
3847     int *arg1 
= (int *) 0 ; 
3848     int *arg2 
= (int *) 0 ; 
3857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
; 
3859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3860         wxDisplaySizeMM(arg1
,arg2
); 
3862         wxPyEndAllowThreads(__tstate
); 
3863         if (PyErr_Occurred()) SWIG_fail
; 
3865     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3867         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
3868         resultobj 
= t_output_helper(resultobj
,o
); 
3871         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
3872         resultobj 
= t_output_helper(resultobj
,o
); 
3880 static PyObject 
*_wrap_GetDisplaySizeMM(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3881     PyObject 
*resultobj
; 
3887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
; 
3889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3890         result 
= wxGetDisplaySizeMM(); 
3892         wxPyEndAllowThreads(__tstate
); 
3893         if (PyErr_Occurred()) SWIG_fail
; 
3897         resultptr 
= new wxSize((wxSize 
&) result
); 
3898         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3906 static PyObject 
*_wrap_ClientDisplayRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3907     PyObject 
*resultobj
; 
3908     int *arg1 
= (int *) 0 ; 
3909     int *arg2 
= (int *) 0 ; 
3910     int *arg3 
= (int *) 0 ; 
3911     int *arg4 
= (int *) 0 ; 
3924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
; 
3926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3927         wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
); 
3929         wxPyEndAllowThreads(__tstate
); 
3930         if (PyErr_Occurred()) SWIG_fail
; 
3932     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3934         PyObject 
*o 
= PyInt_FromLong((long) (*arg1
)); 
3935         resultobj 
= t_output_helper(resultobj
,o
); 
3938         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
3939         resultobj 
= t_output_helper(resultobj
,o
); 
3942         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
3943         resultobj 
= t_output_helper(resultobj
,o
); 
3946         PyObject 
*o 
= PyInt_FromLong((long) (*arg4
)); 
3947         resultobj 
= t_output_helper(resultobj
,o
); 
3955 static PyObject 
*_wrap_GetClientDisplayRect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3956     PyObject 
*resultobj
; 
3962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
; 
3964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3965         result 
= wxGetClientDisplayRect(); 
3967         wxPyEndAllowThreads(__tstate
); 
3968         if (PyErr_Occurred()) SWIG_fail
; 
3972         resultptr 
= new wxRect((wxRect 
&) result
); 
3973         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
3981 static PyObject 
*_wrap_SetCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3982     PyObject 
*resultobj
; 
3983     wxCursor 
*arg1 
= 0 ; 
3984     PyObject 
* obj0 
= 0 ; 
3986         (char *) "cursor", NULL 
 
3989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
; 
3990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
3991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3994         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4001         wxPyEndAllowThreads(__tstate
); 
4002         if (PyErr_Occurred()) SWIG_fail
; 
4004     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4011 static PyObject 
*_wrap_BeginBusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4012     PyObject 
*resultobj
; 
4013     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
4014     PyObject 
* obj0 
= 0 ; 
4016         (char *) "cursor", NULL 
 
4019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
; 
4021         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
4022         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4026         wxBeginBusyCursor(arg1
); 
4028         wxPyEndAllowThreads(__tstate
); 
4029         if (PyErr_Occurred()) SWIG_fail
; 
4031     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4038 static PyObject 
*_wrap_GetActiveWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4039     PyObject 
*resultobj
; 
4045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
; 
4047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4048         result 
= (wxWindow 
*)wxGetActiveWindow(); 
4050         wxPyEndAllowThreads(__tstate
); 
4051         if (PyErr_Occurred()) SWIG_fail
; 
4054         resultobj 
= wxPyMake_wxObject(result
);  
4062 static PyObject 
*_wrap_GenericFindWindowAtPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4063     PyObject 
*resultobj
; 
4067     PyObject 
* obj0 
= 0 ; 
4072     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4075         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4079         result 
= (wxWindow 
*)wxGenericFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4081         wxPyEndAllowThreads(__tstate
); 
4082         if (PyErr_Occurred()) SWIG_fail
; 
4085         resultobj 
= wxPyMake_wxObject(result
);  
4093 static PyObject 
*_wrap_FindWindowAtPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4094     PyObject 
*resultobj
; 
4098     PyObject 
* obj0 
= 0 ; 
4103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
; 
4106         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4110         result 
= (wxWindow 
*)wxFindWindowAtPoint((wxPoint 
const &)*arg1
); 
4112         wxPyEndAllowThreads(__tstate
); 
4113         if (PyErr_Occurred()) SWIG_fail
; 
4116         resultobj 
= wxPyMake_wxObject(result
);  
4124 static PyObject 
*_wrap_GetTopLevelParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4125     PyObject 
*resultobj
; 
4126     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4128     PyObject 
* obj0 
= 0 ; 
4130         (char *) "win", NULL 
 
4133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
; 
4134     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4135     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4138         result 
= (wxWindow 
*)wxGetTopLevelParent(arg1
); 
4140         wxPyEndAllowThreads(__tstate
); 
4141         if (PyErr_Occurred()) SWIG_fail
; 
4144         resultobj 
= wxPyMake_wxObject(result
);  
4152 static PyObject 
*_wrap_GetKeyState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4153     PyObject 
*resultobj
; 
4156     PyObject 
* obj0 
= 0 ; 
4158         (char *) "key", NULL 
 
4161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
; 
4162     arg1 
= (wxKeyCode
) SWIG_AsInt(obj0
);  
4163     if (PyErr_Occurred()) SWIG_fail
; 
4165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4166         result 
= (bool)wxGetKeyState((wxKeyCode 
)arg1
); 
4168         wxPyEndAllowThreads(__tstate
); 
4169         if (PyErr_Occurred()) SWIG_fail
; 
4172         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4180 static PyObject 
*_wrap_WakeUpMainThread(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4181     PyObject 
*resultobj
; 
4186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
; 
4188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4189         wxWakeUpMainThread(); 
4191         wxPyEndAllowThreads(__tstate
); 
4192         if (PyErr_Occurred()) SWIG_fail
; 
4194     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4201 static PyObject 
*_wrap_MutexGuiEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4202     PyObject 
*resultobj
; 
4207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
; 
4209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4212         wxPyEndAllowThreads(__tstate
); 
4213         if (PyErr_Occurred()) SWIG_fail
; 
4215     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4222 static PyObject 
*_wrap_MutexGuiLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4223     PyObject 
*resultobj
; 
4228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
; 
4230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4233         wxPyEndAllowThreads(__tstate
); 
4234         if (PyErr_Occurred()) SWIG_fail
; 
4236     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4243 static PyObject 
*_wrap_new_MutexGuiLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4244     PyObject 
*resultobj
; 
4245     wxMutexGuiLocker 
*result
; 
4250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
; 
4252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4253         result 
= (wxMutexGuiLocker 
*)new wxMutexGuiLocker(); 
4255         wxPyEndAllowThreads(__tstate
); 
4256         if (PyErr_Occurred()) SWIG_fail
; 
4258     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1); 
4265 static PyObject 
*_wrap_delete_MutexGuiLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4266     PyObject 
*resultobj
; 
4267     wxMutexGuiLocker 
*arg1 
= (wxMutexGuiLocker 
*) 0 ; 
4268     PyObject 
* obj0 
= 0 ; 
4270         (char *) "self", NULL 
 
4273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
; 
4274     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
, 
4275     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4280         wxPyEndAllowThreads(__tstate
); 
4281         if (PyErr_Occurred()) SWIG_fail
; 
4283     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4290 static PyObject 
* MutexGuiLocker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4292     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4293     SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
); 
4295     return Py_BuildValue((char *)""); 
4297 static PyObject 
*_wrap_Thread_IsMain(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4298     PyObject 
*resultobj
; 
4304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
; 
4306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4307         result 
= (bool)wxThread_IsMain(); 
4309         wxPyEndAllowThreads(__tstate
); 
4310         if (PyErr_Occurred()) SWIG_fail
; 
4313         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4321 static PyObject 
*_wrap_new_ToolTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4322     PyObject 
*resultobj
; 
4323     wxString 
*arg1 
= 0 ; 
4325     bool temp1 
= False 
; 
4326     PyObject 
* obj0 
= 0 ; 
4328         (char *) "tip", NULL 
 
4331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
; 
4333         arg1 
= wxString_in_helper(obj0
); 
4334         if (arg1 
== NULL
) SWIG_fail
; 
4338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4339         result 
= (wxToolTip 
*)new wxToolTip((wxString 
const &)*arg1
); 
4341         wxPyEndAllowThreads(__tstate
); 
4342         if (PyErr_Occurred()) SWIG_fail
; 
4345         resultobj 
= wxPyMake_wxObject(result
);  
4361 static PyObject 
*_wrap_ToolTip_SetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4362     PyObject 
*resultobj
; 
4363     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4364     wxString 
*arg2 
= 0 ; 
4365     bool temp2 
= False 
; 
4366     PyObject 
* obj0 
= 0 ; 
4367     PyObject 
* obj1 
= 0 ; 
4369         (char *) "self",(char *) "tip", NULL 
 
4372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
4373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4376         arg2 
= wxString_in_helper(obj1
); 
4377         if (arg2 
== NULL
) SWIG_fail
; 
4381         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4382         (arg1
)->SetTip((wxString 
const &)*arg2
); 
4384         wxPyEndAllowThreads(__tstate
); 
4385         if (PyErr_Occurred()) SWIG_fail
; 
4387     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4402 static PyObject 
*_wrap_ToolTip_GetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4403     PyObject 
*resultobj
; 
4404     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4406     PyObject 
* obj0 
= 0 ; 
4408         (char *) "self", NULL 
 
4411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
; 
4412     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4413     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4416         result 
= (arg1
)->GetTip(); 
4418         wxPyEndAllowThreads(__tstate
); 
4419         if (PyErr_Occurred()) SWIG_fail
; 
4423         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4425         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4434 static PyObject 
*_wrap_ToolTip_GetWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4435     PyObject 
*resultobj
; 
4436     wxToolTip 
*arg1 
= (wxToolTip 
*) 0 ; 
4438     PyObject 
* obj0 
= 0 ; 
4440         (char *) "self", NULL 
 
4443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
; 
4444     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
, 
4445     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4448         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
4450         wxPyEndAllowThreads(__tstate
); 
4451         if (PyErr_Occurred()) SWIG_fail
; 
4454         resultobj 
= wxPyMake_wxObject(result
);  
4462 static PyObject 
*_wrap_ToolTip_Enable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4463     PyObject 
*resultobj
; 
4465     PyObject 
* obj0 
= 0 ; 
4467         (char *) "flag", NULL 
 
4470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
; 
4471     arg1 
= (bool) SWIG_AsBool(obj0
);  
4472     if (PyErr_Occurred()) SWIG_fail
; 
4474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4475         wxToolTip::Enable(arg1
); 
4477         wxPyEndAllowThreads(__tstate
); 
4478         if (PyErr_Occurred()) SWIG_fail
; 
4480     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4487 static PyObject 
*_wrap_ToolTip_SetDelay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4488     PyObject 
*resultobj
; 
4490     PyObject 
* obj0 
= 0 ; 
4492         (char *) "milliseconds", NULL 
 
4495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
; 
4496     arg1 
= (long) SWIG_AsLong(obj0
);  
4497     if (PyErr_Occurred()) SWIG_fail
; 
4499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4500         wxToolTip::SetDelay(arg1
); 
4502         wxPyEndAllowThreads(__tstate
); 
4503         if (PyErr_Occurred()) SWIG_fail
; 
4505     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4512 static PyObject 
* ToolTip_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4514     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4515     SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
); 
4517     return Py_BuildValue((char *)""); 
4519 static PyObject 
*_wrap_new_Caret(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4520     PyObject 
*resultobj
; 
4521     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4525     PyObject 
* obj0 
= 0 ; 
4526     PyObject 
* obj1 
= 0 ; 
4528         (char *) "window",(char *) "size", NULL 
 
4531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
; 
4532     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
4533     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4536         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4540         result 
= (wxCaret 
*)new wxCaret(arg1
,(wxSize 
const &)*arg2
); 
4542         wxPyEndAllowThreads(__tstate
); 
4543         if (PyErr_Occurred()) SWIG_fail
; 
4545     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1); 
4552 static PyObject 
*_wrap_delete_Caret(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4553     PyObject 
*resultobj
; 
4554     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4555     PyObject 
* obj0 
= 0 ; 
4557         (char *) "self", NULL 
 
4560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
; 
4561     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4562     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4567         wxPyEndAllowThreads(__tstate
); 
4568         if (PyErr_Occurred()) SWIG_fail
; 
4570     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4577 static PyObject 
*_wrap_Caret_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4578     PyObject 
*resultobj
; 
4579     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4581     PyObject 
* obj0 
= 0 ; 
4583         (char *) "self", NULL 
 
4586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
; 
4587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4591         result 
= (bool)(arg1
)->IsOk(); 
4593         wxPyEndAllowThreads(__tstate
); 
4594         if (PyErr_Occurred()) SWIG_fail
; 
4597         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4605 static PyObject 
*_wrap_Caret_IsVisible(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4606     PyObject 
*resultobj
; 
4607     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4609     PyObject 
* obj0 
= 0 ; 
4611         (char *) "self", NULL 
 
4614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
; 
4615     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4616     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4619         result 
= (bool)(arg1
)->IsVisible(); 
4621         wxPyEndAllowThreads(__tstate
); 
4622         if (PyErr_Occurred()) SWIG_fail
; 
4625         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4633 static PyObject 
*_wrap_Caret_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4634     PyObject 
*resultobj
; 
4635     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4637     PyObject 
* obj0 
= 0 ; 
4639         (char *) "self", NULL 
 
4642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
; 
4643     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4644     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4647         result 
= (arg1
)->GetPosition(); 
4649         wxPyEndAllowThreads(__tstate
); 
4650         if (PyErr_Occurred()) SWIG_fail
; 
4653         wxPoint 
* resultptr
; 
4654         resultptr 
= new wxPoint((wxPoint 
&) result
); 
4655         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
4663 static PyObject 
*_wrap_Caret_GetPositionTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4664     PyObject 
*resultobj
; 
4665     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4666     int *arg2 
= (int *) 0 ; 
4667     int *arg3 
= (int *) 0 ; 
4670     PyObject 
* obj0 
= 0 ; 
4672         (char *) "self", NULL 
 
4677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
; 
4678     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4679     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4681         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4682         (arg1
)->GetPosition(arg2
,arg3
); 
4684         wxPyEndAllowThreads(__tstate
); 
4685         if (PyErr_Occurred()) SWIG_fail
; 
4687     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4689         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4690         resultobj 
= t_output_helper(resultobj
,o
); 
4693         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4694         resultobj 
= t_output_helper(resultobj
,o
); 
4702 static PyObject 
*_wrap_Caret_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4703     PyObject 
*resultobj
; 
4704     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4706     PyObject 
* obj0 
= 0 ; 
4708         (char *) "self", NULL 
 
4711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
; 
4712     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4713     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4716         result 
= (arg1
)->GetSize(); 
4718         wxPyEndAllowThreads(__tstate
); 
4719         if (PyErr_Occurred()) SWIG_fail
; 
4723         resultptr 
= new wxSize((wxSize 
&) result
); 
4724         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4732 static PyObject 
*_wrap_Caret_GetSizeTuple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4733     PyObject 
*resultobj
; 
4734     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4735     int *arg2 
= (int *) 0 ; 
4736     int *arg3 
= (int *) 0 ; 
4739     PyObject 
* obj0 
= 0 ; 
4741         (char *) "self", NULL 
 
4746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
4747     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4748     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4751         (arg1
)->GetSize(arg2
,arg3
); 
4753         wxPyEndAllowThreads(__tstate
); 
4754         if (PyErr_Occurred()) SWIG_fail
; 
4756     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4758         PyObject 
*o 
= PyInt_FromLong((long) (*arg2
)); 
4759         resultobj 
= t_output_helper(resultobj
,o
); 
4762         PyObject 
*o 
= PyInt_FromLong((long) (*arg3
)); 
4763         resultobj 
= t_output_helper(resultobj
,o
); 
4771 static PyObject 
*_wrap_Caret_GetWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4772     PyObject 
*resultobj
; 
4773     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4775     PyObject 
* obj0 
= 0 ; 
4777         (char *) "self", NULL 
 
4780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
; 
4781     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4782     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4785         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
4787         wxPyEndAllowThreads(__tstate
); 
4788         if (PyErr_Occurred()) SWIG_fail
; 
4791         resultobj 
= wxPyMake_wxObject(result
);  
4799 static PyObject 
*_wrap_Caret_MoveXY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4800     PyObject 
*resultobj
; 
4801     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4804     PyObject 
* obj0 
= 0 ; 
4805     PyObject 
* obj1 
= 0 ; 
4806     PyObject 
* obj2 
= 0 ; 
4808         (char *) "self",(char *) "x",(char *) "y", NULL 
 
4811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4812     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4813     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4814     arg2 
= (int) SWIG_AsInt(obj1
);  
4815     if (PyErr_Occurred()) SWIG_fail
; 
4816     arg3 
= (int) SWIG_AsInt(obj2
);  
4817     if (PyErr_Occurred()) SWIG_fail
; 
4819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4820         (arg1
)->Move(arg2
,arg3
); 
4822         wxPyEndAllowThreads(__tstate
); 
4823         if (PyErr_Occurred()) SWIG_fail
; 
4825     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4832 static PyObject 
*_wrap_Caret_Move(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4833     PyObject 
*resultobj
; 
4834     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4837     PyObject 
* obj0 
= 0 ; 
4838     PyObject 
* obj1 
= 0 ; 
4840         (char *) "self",(char *) "pt", NULL 
 
4843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
; 
4844     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4845     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4848         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4852         (arg1
)->Move((wxPoint 
const &)*arg2
); 
4854         wxPyEndAllowThreads(__tstate
); 
4855         if (PyErr_Occurred()) SWIG_fail
; 
4857     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4864 static PyObject 
*_wrap_Caret_SetSizeWH(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4865     PyObject 
*resultobj
; 
4866     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4869     PyObject 
* obj0 
= 0 ; 
4870     PyObject 
* obj1 
= 0 ; 
4871     PyObject 
* obj2 
= 0 ; 
4873         (char *) "self",(char *) "width",(char *) "height", NULL 
 
4876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4877     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4879     arg2 
= (int) SWIG_AsInt(obj1
);  
4880     if (PyErr_Occurred()) SWIG_fail
; 
4881     arg3 
= (int) SWIG_AsInt(obj2
);  
4882     if (PyErr_Occurred()) SWIG_fail
; 
4884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4885         (arg1
)->SetSize(arg2
,arg3
); 
4887         wxPyEndAllowThreads(__tstate
); 
4888         if (PyErr_Occurred()) SWIG_fail
; 
4890     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4897 static PyObject 
*_wrap_Caret_SetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4898     PyObject 
*resultobj
; 
4899     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4902     PyObject 
* obj0 
= 0 ; 
4903     PyObject 
* obj1 
= 0 ; 
4905         (char *) "self",(char *) "size", NULL 
 
4908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
4909     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4910     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4913         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4917         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
4919         wxPyEndAllowThreads(__tstate
); 
4920         if (PyErr_Occurred()) SWIG_fail
; 
4922     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4929 static PyObject 
*_wrap_Caret_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4930     PyObject 
*resultobj
; 
4931     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4932     int arg2 
= (int) True 
; 
4933     PyObject 
* obj0 
= 0 ; 
4934     PyObject 
* obj1 
= 0 ; 
4936         (char *) "self",(char *) "show", NULL 
 
4939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
4940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4943         arg2 
= (int) SWIG_AsInt(obj1
);  
4944         if (PyErr_Occurred()) SWIG_fail
; 
4947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4950         wxPyEndAllowThreads(__tstate
); 
4951         if (PyErr_Occurred()) SWIG_fail
; 
4953     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4960 static PyObject 
*_wrap_Caret_Hide(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4961     PyObject 
*resultobj
; 
4962     wxCaret 
*arg1 
= (wxCaret 
*) 0 ; 
4963     PyObject 
* obj0 
= 0 ; 
4965         (char *) "self", NULL 
 
4968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
; 
4969     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
, 
4970     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
4972         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4975         wxPyEndAllowThreads(__tstate
); 
4976         if (PyErr_Occurred()) SWIG_fail
; 
4978     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4985 static PyObject 
* Caret_swigregister(PyObject 
*self
, PyObject 
*args
) { 
4987     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4988     SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
); 
4990     return Py_BuildValue((char *)""); 
4992 static PyObject 
*_wrap_Caret_GetBlinkTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
4993     PyObject 
*resultobj
; 
4999     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
; 
5001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5002         result 
= (int)wxCaret_GetBlinkTime(); 
5004         wxPyEndAllowThreads(__tstate
); 
5005         if (PyErr_Occurred()) SWIG_fail
; 
5007     resultobj 
= SWIG_FromInt((int)result
); 
5014 static PyObject 
*_wrap_Caret_SetBlinkTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5015     PyObject 
*resultobj
; 
5017     PyObject 
* obj0 
= 0 ; 
5019         (char *) "milliseconds", NULL 
 
5022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
; 
5023     arg1 
= (int) SWIG_AsInt(obj0
);  
5024     if (PyErr_Occurred()) SWIG_fail
; 
5026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5027         wxCaret_SetBlinkTime(arg1
); 
5029         wxPyEndAllowThreads(__tstate
); 
5030         if (PyErr_Occurred()) SWIG_fail
; 
5032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5039 static PyObject 
*_wrap_new_BusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5040     PyObject 
*resultobj
; 
5041     wxCursor 
*arg1 
= (wxCursor 
*) wxHOURGLASS_CURSOR 
; 
5042     wxBusyCursor 
*result
; 
5043     PyObject 
* obj0 
= 0 ; 
5045         (char *) "cursor", NULL 
 
5048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5050         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
, 
5051         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5054         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5055         result 
= (wxBusyCursor 
*)new wxBusyCursor(arg1
); 
5057         wxPyEndAllowThreads(__tstate
); 
5058         if (PyErr_Occurred()) SWIG_fail
; 
5060     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1); 
5067 static PyObject 
*_wrap_delete_BusyCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5068     PyObject 
*resultobj
; 
5069     wxBusyCursor 
*arg1 
= (wxBusyCursor 
*) 0 ; 
5070     PyObject 
* obj0 
= 0 ; 
5072         (char *) "self", NULL 
 
5075     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
; 
5076     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
, 
5077     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5079         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5082         wxPyEndAllowThreads(__tstate
); 
5083         if (PyErr_Occurred()) SWIG_fail
; 
5085     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5092 static PyObject 
* BusyCursor_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5094     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5095     SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
); 
5097     return Py_BuildValue((char *)""); 
5099 static PyObject 
*_wrap_new_WindowDisabler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5100     PyObject 
*resultobj
; 
5101     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
5102     wxWindowDisabler 
*result
; 
5103     PyObject 
* obj0 
= 0 ; 
5105         (char *) "winToSkip", NULL 
 
5108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5110         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5111         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5114         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5115         result 
= (wxWindowDisabler 
*)new wxWindowDisabler(arg1
); 
5117         wxPyEndAllowThreads(__tstate
); 
5118         if (PyErr_Occurred()) SWIG_fail
; 
5120     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1); 
5127 static PyObject 
*_wrap_delete_WindowDisabler(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5128     PyObject 
*resultobj
; 
5129     wxWindowDisabler 
*arg1 
= (wxWindowDisabler 
*) 0 ; 
5130     PyObject 
* obj0 
= 0 ; 
5132         (char *) "self", NULL 
 
5135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
; 
5136     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
, 
5137     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5142         wxPyEndAllowThreads(__tstate
); 
5143         if (PyErr_Occurred()) SWIG_fail
; 
5145     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5152 static PyObject 
* WindowDisabler_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5154     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5155     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
); 
5157     return Py_BuildValue((char *)""); 
5159 static PyObject 
*_wrap_new_BusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5160     PyObject 
*resultobj
; 
5161     wxString 
*arg1 
= 0 ; 
5163     bool temp1 
= False 
; 
5164     PyObject 
* obj0 
= 0 ; 
5166         (char *) "message", NULL 
 
5169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5171         arg1 
= wxString_in_helper(obj0
); 
5172         if (arg1 
== NULL
) SWIG_fail
; 
5176         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5177         result 
= (wxBusyInfo 
*)new wxBusyInfo((wxString 
const &)*arg1
); 
5179         wxPyEndAllowThreads(__tstate
); 
5180         if (PyErr_Occurred()) SWIG_fail
; 
5182     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1); 
5197 static PyObject 
*_wrap_delete_BusyInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5198     PyObject 
*resultobj
; 
5199     wxBusyInfo 
*arg1 
= (wxBusyInfo 
*) 0 ; 
5200     PyObject 
* obj0 
= 0 ; 
5202         (char *) "self", NULL 
 
5205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
; 
5206     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
, 
5207     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5212         wxPyEndAllowThreads(__tstate
); 
5213         if (PyErr_Occurred()) SWIG_fail
; 
5215     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5222 static PyObject 
* BusyInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5224     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5225     SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
); 
5227     return Py_BuildValue((char *)""); 
5229 static PyObject 
*_wrap_new_StopWatch(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5230     PyObject 
*resultobj
; 
5231     wxStopWatch 
*result
; 
5236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
; 
5238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5239         result 
= (wxStopWatch 
*)new wxStopWatch(); 
5241         wxPyEndAllowThreads(__tstate
); 
5242         if (PyErr_Occurred()) SWIG_fail
; 
5244     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1); 
5251 static PyObject 
*_wrap_StopWatch_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5252     PyObject 
*resultobj
; 
5253     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5254     long arg2 
= (long) 0 ; 
5255     PyObject 
* obj0 
= 0 ; 
5256     PyObject 
* obj1 
= 0 ; 
5258         (char *) "self",(char *) "t0", NULL 
 
5261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
; 
5262     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5265         arg2 
= (long) SWIG_AsLong(obj1
);  
5266         if (PyErr_Occurred()) SWIG_fail
; 
5269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5270         (arg1
)->Start(arg2
); 
5272         wxPyEndAllowThreads(__tstate
); 
5273         if (PyErr_Occurred()) SWIG_fail
; 
5275     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5282 static PyObject 
*_wrap_StopWatch_Pause(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5283     PyObject 
*resultobj
; 
5284     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5285     PyObject 
* obj0 
= 0 ; 
5287         (char *) "self", NULL 
 
5290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
; 
5291     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5292     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5297         wxPyEndAllowThreads(__tstate
); 
5298         if (PyErr_Occurred()) SWIG_fail
; 
5300     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5307 static PyObject 
*_wrap_StopWatch_Resume(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5308     PyObject 
*resultobj
; 
5309     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5310     PyObject 
* obj0 
= 0 ; 
5312         (char *) "self", NULL 
 
5315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
; 
5316     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5317     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5322         wxPyEndAllowThreads(__tstate
); 
5323         if (PyErr_Occurred()) SWIG_fail
; 
5325     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5332 static PyObject 
*_wrap_StopWatch_Time(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5333     PyObject 
*resultobj
; 
5334     wxStopWatch 
*arg1 
= (wxStopWatch 
*) 0 ; 
5336     PyObject 
* obj0 
= 0 ; 
5338         (char *) "self", NULL 
 
5341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
; 
5342     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
, 
5343     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5346         result 
= (long)((wxStopWatch 
const *)arg1
)->Time(); 
5348         wxPyEndAllowThreads(__tstate
); 
5349         if (PyErr_Occurred()) SWIG_fail
; 
5351     resultobj 
= SWIG_FromLong((long)result
); 
5358 static PyObject 
* StopWatch_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5360     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5361     SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
); 
5363     return Py_BuildValue((char *)""); 
5365 static PyObject 
*_wrap_new_FileHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5366     PyObject 
*resultobj
; 
5367     int arg1 
= (int) 9 ; 
5368     wxFileHistory 
*result
; 
5369     PyObject 
* obj0 
= 0 ; 
5371         (char *) "maxFiles", NULL 
 
5374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
; 
5376         arg1 
= (int) SWIG_AsInt(obj0
);  
5377         if (PyErr_Occurred()) SWIG_fail
; 
5380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5381         result 
= (wxFileHistory 
*)new wxFileHistory(arg1
); 
5383         wxPyEndAllowThreads(__tstate
); 
5384         if (PyErr_Occurred()) SWIG_fail
; 
5386     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1); 
5393 static PyObject 
*_wrap_delete_FileHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5394     PyObject 
*resultobj
; 
5395     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5396     PyObject 
* obj0 
= 0 ; 
5398         (char *) "self", NULL 
 
5401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
; 
5402     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5403     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5408         wxPyEndAllowThreads(__tstate
); 
5409         if (PyErr_Occurred()) SWIG_fail
; 
5411     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5418 static PyObject 
*_wrap_FileHistory_AddFileToHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5419     PyObject 
*resultobj
; 
5420     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5421     wxString 
*arg2 
= 0 ; 
5422     bool temp2 
= False 
; 
5423     PyObject 
* obj0 
= 0 ; 
5424     PyObject 
* obj1 
= 0 ; 
5426         (char *) "self",(char *) "file", NULL 
 
5429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5433         arg2 
= wxString_in_helper(obj1
); 
5434         if (arg2 
== NULL
) SWIG_fail
; 
5438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5439         (arg1
)->AddFileToHistory((wxString 
const &)*arg2
); 
5441         wxPyEndAllowThreads(__tstate
); 
5442         if (PyErr_Occurred()) SWIG_fail
; 
5444     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5459 static PyObject 
*_wrap_FileHistory_RemoveFileFromHistory(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5460     PyObject 
*resultobj
; 
5461     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5463     PyObject 
* obj0 
= 0 ; 
5464     PyObject 
* obj1 
= 0 ; 
5466         (char *) "self",(char *) "i", NULL 
 
5469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
; 
5470     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5471     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5472     arg2 
= (int) SWIG_AsInt(obj1
);  
5473     if (PyErr_Occurred()) SWIG_fail
; 
5475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5476         (arg1
)->RemoveFileFromHistory(arg2
); 
5478         wxPyEndAllowThreads(__tstate
); 
5479         if (PyErr_Occurred()) SWIG_fail
; 
5481     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5488 static PyObject 
*_wrap_FileHistory_GetMaxFiles(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5489     PyObject 
*resultobj
; 
5490     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5492     PyObject 
* obj0 
= 0 ; 
5494         (char *) "self", NULL 
 
5497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
; 
5498     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5499     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5502         result 
= (int)((wxFileHistory 
const *)arg1
)->GetMaxFiles(); 
5504         wxPyEndAllowThreads(__tstate
); 
5505         if (PyErr_Occurred()) SWIG_fail
; 
5507     resultobj 
= SWIG_FromInt((int)result
); 
5514 static PyObject 
*_wrap_FileHistory_UseMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5515     PyObject 
*resultobj
; 
5516     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5517     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5518     PyObject 
* obj0 
= 0 ; 
5519     PyObject 
* obj1 
= 0 ; 
5521         (char *) "self",(char *) "menu", NULL 
 
5524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5525     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5526     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5527     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5528     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5530         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5531         (arg1
)->UseMenu(arg2
); 
5533         wxPyEndAllowThreads(__tstate
); 
5534         if (PyErr_Occurred()) SWIG_fail
; 
5536     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5543 static PyObject 
*_wrap_FileHistory_RemoveMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5544     PyObject 
*resultobj
; 
5545     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5546     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5547     PyObject 
* obj0 
= 0 ; 
5548     PyObject 
* obj1 
= 0 ; 
5550         (char *) "self",(char *) "menu", NULL 
 
5553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5554     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5555     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5556     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5557     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5560         (arg1
)->RemoveMenu(arg2
); 
5562         wxPyEndAllowThreads(__tstate
); 
5563         if (PyErr_Occurred()) SWIG_fail
; 
5565     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5572 static PyObject 
*_wrap_FileHistory_Load(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5573     PyObject 
*resultobj
; 
5574     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5575     wxConfigBase 
*arg2 
= 0 ; 
5576     PyObject 
* obj0 
= 0 ; 
5577     PyObject 
* obj1 
= 0 ; 
5579         (char *) "self",(char *) "config", NULL 
 
5582     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
; 
5583     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5584     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5585     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
5586     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5589         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5594         (arg1
)->Load(*arg2
); 
5596         wxPyEndAllowThreads(__tstate
); 
5597         if (PyErr_Occurred()) SWIG_fail
; 
5599     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5606 static PyObject 
*_wrap_FileHistory_Save(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5607     PyObject 
*resultobj
; 
5608     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5609     wxConfigBase 
*arg2 
= 0 ; 
5610     PyObject 
* obj0 
= 0 ; 
5611     PyObject 
* obj1 
= 0 ; 
5613         (char *) "self",(char *) "config", NULL 
 
5616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
; 
5617     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5618     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5619     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
, 
5620     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5623         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5628         (arg1
)->Save(*arg2
); 
5630         wxPyEndAllowThreads(__tstate
); 
5631         if (PyErr_Occurred()) SWIG_fail
; 
5633     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5640 static PyObject 
*_wrap_FileHistory_AddFilesToMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5641     PyObject 
*resultobj
; 
5642     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5643     PyObject 
* obj0 
= 0 ; 
5645         (char *) "self", NULL 
 
5648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
; 
5649     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5650     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5653         (arg1
)->AddFilesToMenu(); 
5655         wxPyEndAllowThreads(__tstate
); 
5656         if (PyErr_Occurred()) SWIG_fail
; 
5658     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5665 static PyObject 
*_wrap_FileHistory_AddFilesToThisMenu(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5666     PyObject 
*resultobj
; 
5667     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5668     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
5669     PyObject 
* obj0 
= 0 ; 
5670     PyObject 
* obj1 
= 0 ; 
5672         (char *) "self",(char *) "menu", NULL 
 
5675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
5676     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5677     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5678     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
, 
5679     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5681         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5682         (arg1
)->AddFilesToMenu(arg2
); 
5684         wxPyEndAllowThreads(__tstate
); 
5685         if (PyErr_Occurred()) SWIG_fail
; 
5687     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5694 static PyObject 
*_wrap_FileHistory_GetHistoryFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5695     PyObject 
*resultobj
; 
5696     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5699     PyObject 
* obj0 
= 0 ; 
5700     PyObject 
* obj1 
= 0 ; 
5702         (char *) "self",(char *) "i", NULL 
 
5705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
5706     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5708     arg2 
= (int) SWIG_AsInt(obj1
);  
5709     if (PyErr_Occurred()) SWIG_fail
; 
5711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5712         result 
= ((wxFileHistory 
const *)arg1
)->GetHistoryFile(arg2
); 
5714         wxPyEndAllowThreads(__tstate
); 
5715         if (PyErr_Occurred()) SWIG_fail
; 
5719         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5721         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5730 static PyObject 
*_wrap_FileHistory_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5731     PyObject 
*resultobj
; 
5732     wxFileHistory 
*arg1 
= (wxFileHistory 
*) 0 ; 
5734     PyObject 
* obj0 
= 0 ; 
5736         (char *) "self", NULL 
 
5739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
; 
5740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
, 
5741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5744         result 
= (int)((wxFileHistory 
const *)arg1
)->GetCount(); 
5746         wxPyEndAllowThreads(__tstate
); 
5747         if (PyErr_Occurred()) SWIG_fail
; 
5749     resultobj 
= SWIG_FromInt((int)result
); 
5756 static PyObject 
* FileHistory_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5758     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5759     SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
); 
5761     return Py_BuildValue((char *)""); 
5763 static PyObject 
*_wrap_new_SingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5764     PyObject 
*resultobj
; 
5765     wxString 
*arg1 
= 0 ; 
5766     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
5767     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5768     wxSingleInstanceChecker 
*result
; 
5769     bool temp1 
= False 
; 
5770     bool temp2 
= False 
; 
5771     PyObject 
* obj0 
= 0 ; 
5772     PyObject 
* obj1 
= 0 ; 
5774         (char *) "name",(char *) "path", NULL 
 
5777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
; 
5779         arg1 
= wxString_in_helper(obj0
); 
5780         if (arg1 
== NULL
) SWIG_fail
; 
5785             arg2 
= wxString_in_helper(obj1
); 
5786             if (arg2 
== NULL
) SWIG_fail
; 
5791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5792         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
5794         wxPyEndAllowThreads(__tstate
); 
5795         if (PyErr_Occurred()) SWIG_fail
; 
5797     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
5820 static PyObject 
*_wrap_new_PreSingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5821     PyObject 
*resultobj
; 
5822     wxSingleInstanceChecker 
*result
; 
5827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
; 
5829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5830         result 
= (wxSingleInstanceChecker 
*)new wxSingleInstanceChecker(); 
5832         wxPyEndAllowThreads(__tstate
); 
5833         if (PyErr_Occurred()) SWIG_fail
; 
5835     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1); 
5842 static PyObject 
*_wrap_delete_SingleInstanceChecker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5843     PyObject 
*resultobj
; 
5844     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
5845     PyObject 
* obj0 
= 0 ; 
5847         (char *) "self", NULL 
 
5850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
; 
5851     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
5852     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5857         wxPyEndAllowThreads(__tstate
); 
5858         if (PyErr_Occurred()) SWIG_fail
; 
5860     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5867 static PyObject 
*_wrap_SingleInstanceChecker_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5868     PyObject 
*resultobj
; 
5869     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
5870     wxString 
*arg2 
= 0 ; 
5871     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
5872     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
5874     bool temp2 
= False 
; 
5875     bool temp3 
= False 
; 
5876     PyObject 
* obj0 
= 0 ; 
5877     PyObject 
* obj1 
= 0 ; 
5878     PyObject 
* obj2 
= 0 ; 
5880         (char *) "self",(char *) "name",(char *) "path", NULL 
 
5883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5884     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
5885     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5887         arg2 
= wxString_in_helper(obj1
); 
5888         if (arg2 
== NULL
) SWIG_fail
; 
5893             arg3 
= wxString_in_helper(obj2
); 
5894             if (arg3 
== NULL
) SWIG_fail
; 
5899         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5900         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
5902         wxPyEndAllowThreads(__tstate
); 
5903         if (PyErr_Occurred()) SWIG_fail
; 
5906         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5930 static PyObject 
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5931     PyObject 
*resultobj
; 
5932     wxSingleInstanceChecker 
*arg1 
= (wxSingleInstanceChecker 
*) 0 ; 
5934     PyObject 
* obj0 
= 0 ; 
5936         (char *) "self", NULL 
 
5939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
; 
5940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
, 
5941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5944         result 
= (bool)((wxSingleInstanceChecker 
const *)arg1
)->IsAnotherRunning(); 
5946         wxPyEndAllowThreads(__tstate
); 
5947         if (PyErr_Occurred()) SWIG_fail
; 
5950         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5958 static PyObject 
* SingleInstanceChecker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
5960     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5961     SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
); 
5963     return Py_BuildValue((char *)""); 
5965 static PyObject 
*_wrap_DrawWindowOnDC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
5966     PyObject 
*resultobj
; 
5967     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5970     PyObject 
* obj0 
= 0 ; 
5971     PyObject 
* obj1 
= 0 ; 
5972     PyObject 
* obj2 
= 0 ; 
5974         (char *) "window",(char *) "dc",(char *) "method", NULL 
 
5977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5978     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
5979     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
5980     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
, 
5981     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
5984         PyErr_SetString(PyExc_TypeError
,"null reference"); 
5987     arg3 
= (int) SWIG_AsInt(obj2
);  
5988     if (PyErr_Occurred()) SWIG_fail
; 
5990         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5991         wxDrawWindowOnDC(arg1
,(wxDC 
const &)*arg2
,arg3
); 
5993         wxPyEndAllowThreads(__tstate
); 
5994         if (PyErr_Occurred()) SWIG_fail
; 
5996     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6003 static PyObject 
*_wrap_delete_TipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6004     PyObject 
*resultobj
; 
6005     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6006     PyObject 
* obj0 
= 0 ; 
6008         (char *) "self", NULL 
 
6011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
; 
6012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6018         wxPyEndAllowThreads(__tstate
); 
6019         if (PyErr_Occurred()) SWIG_fail
; 
6021     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6028 static PyObject 
*_wrap_TipProvider_GetTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6029     PyObject 
*resultobj
; 
6030     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6032     PyObject 
* obj0 
= 0 ; 
6034         (char *) "self", NULL 
 
6037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
; 
6038     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6039     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6042         result 
= (arg1
)->GetTip(); 
6044         wxPyEndAllowThreads(__tstate
); 
6045         if (PyErr_Occurred()) SWIG_fail
; 
6049         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6051         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6060 static PyObject 
*_wrap_TipProvider_GetCurrentTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6061     PyObject 
*resultobj
; 
6062     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6064     PyObject 
* obj0 
= 0 ; 
6066         (char *) "self", NULL 
 
6069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
; 
6070     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6071     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6074         result 
= (size_t)(arg1
)->GetCurrentTip(); 
6076         wxPyEndAllowThreads(__tstate
); 
6077         if (PyErr_Occurred()) SWIG_fail
; 
6079     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
6086 static PyObject 
*_wrap_TipProvider_PreprocessTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6087     PyObject 
*resultobj
; 
6088     wxTipProvider 
*arg1 
= (wxTipProvider 
*) 0 ; 
6089     wxString 
*arg2 
= 0 ; 
6091     bool temp2 
= False 
; 
6092     PyObject 
* obj0 
= 0 ; 
6093     PyObject 
* obj1 
= 0 ; 
6095         (char *) "self",(char *) "tip", NULL 
 
6098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
6099     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
, 
6100     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6102         arg2 
= wxString_in_helper(obj1
); 
6103         if (arg2 
== NULL
) SWIG_fail
; 
6107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6108         result 
= (arg1
)->PreprocessTip((wxString 
const &)*arg2
); 
6110         wxPyEndAllowThreads(__tstate
); 
6111         if (PyErr_Occurred()) SWIG_fail
; 
6115         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
6117         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
6134 static PyObject 
* TipProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6136     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6137     SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
); 
6139     return Py_BuildValue((char *)""); 
6141 static PyObject 
*_wrap_new_PyTipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6142     PyObject 
*resultobj
; 
6144     wxPyTipProvider 
*result
; 
6145     PyObject 
* obj0 
= 0 ; 
6147         (char *) "currentTip", NULL 
 
6150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
; 
6151     arg1 
= (size_t) SWIG_AsUnsignedLong(obj0
);  
6152     if (PyErr_Occurred()) SWIG_fail
; 
6154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6155         result 
= (wxPyTipProvider 
*)new wxPyTipProvider(arg1
); 
6157         wxPyEndAllowThreads(__tstate
); 
6158         if (PyErr_Occurred()) SWIG_fail
; 
6160     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1); 
6167 static PyObject 
*_wrap_PyTipProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6168     PyObject 
*resultobj
; 
6169     wxPyTipProvider 
*arg1 
= (wxPyTipProvider 
*) 0 ; 
6170     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6171     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6172     PyObject 
* obj0 
= 0 ; 
6173     PyObject 
* obj1 
= 0 ; 
6174     PyObject 
* obj2 
= 0 ; 
6176         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
6179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
, 
6181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6186         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
6188         wxPyEndAllowThreads(__tstate
); 
6189         if (PyErr_Occurred()) SWIG_fail
; 
6191     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6198 static PyObject 
* PyTipProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6200     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6201     SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
); 
6203     return Py_BuildValue((char *)""); 
6205 static PyObject 
*_wrap_ShowTip(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6206     PyObject 
*resultobj
; 
6207     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6208     wxTipProvider 
*arg2 
= (wxTipProvider 
*) 0 ; 
6209     bool arg3 
= (bool) True 
; 
6211     PyObject 
* obj0 
= 0 ; 
6212     PyObject 
* obj1 
= 0 ; 
6213     PyObject 
* obj2 
= 0 ; 
6215         (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL 
 
6218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6219     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
6220     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6221     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
, 
6222     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6224         arg3 
= (bool) SWIG_AsBool(obj2
);  
6225         if (PyErr_Occurred()) SWIG_fail
; 
6228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6229         result 
= (bool)wxShowTip(arg1
,arg2
,arg3
); 
6231         wxPyEndAllowThreads(__tstate
); 
6232         if (PyErr_Occurred()) SWIG_fail
; 
6235         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6243 static PyObject 
*_wrap_CreateFileTipProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6244     PyObject 
*resultobj
; 
6245     wxString 
*arg1 
= 0 ; 
6247     wxTipProvider 
*result
; 
6248     bool temp1 
= False 
; 
6249     PyObject 
* obj0 
= 0 ; 
6250     PyObject 
* obj1 
= 0 ; 
6252         (char *) "filename",(char *) "currentTip", NULL 
 
6255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
; 
6257         arg1 
= wxString_in_helper(obj0
); 
6258         if (arg1 
== NULL
) SWIG_fail
; 
6261     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
6262     if (PyErr_Occurred()) SWIG_fail
; 
6264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6265         result 
= (wxTipProvider 
*)wxCreateFileTipProvider((wxString 
const &)*arg1
,arg2
); 
6267         wxPyEndAllowThreads(__tstate
); 
6268         if (PyErr_Occurred()) SWIG_fail
; 
6270     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1); 
6285 static PyObject 
*_wrap_new_Timer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6286     PyObject 
*resultobj
; 
6287     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
6288     int arg2 
= (int) -1 ; 
6290     PyObject 
* obj0 
= 0 ; 
6291     PyObject 
* obj1 
= 0 ; 
6293         (char *) "owner",(char *) "id", NULL 
 
6296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
; 
6298         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
6299         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6302         arg2 
= (int) SWIG_AsInt(obj1
);  
6303         if (PyErr_Occurred()) SWIG_fail
; 
6306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6307         result 
= (wxPyTimer 
*)new wxPyTimer(arg1
,arg2
); 
6309         wxPyEndAllowThreads(__tstate
); 
6310         if (PyErr_Occurred()) SWIG_fail
; 
6312     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1); 
6319 static PyObject 
*_wrap_delete_Timer(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6320     PyObject 
*resultobj
; 
6321     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6322     PyObject 
* obj0 
= 0 ; 
6324         (char *) "self", NULL 
 
6327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
; 
6328     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6329     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6334         wxPyEndAllowThreads(__tstate
); 
6335         if (PyErr_Occurred()) SWIG_fail
; 
6337     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6344 static PyObject 
*_wrap_Timer__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6345     PyObject 
*resultobj
; 
6346     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6347     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
6348     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
6349     int arg4 
= (int) 1 ; 
6350     PyObject 
* obj0 
= 0 ; 
6351     PyObject 
* obj1 
= 0 ; 
6352     PyObject 
* obj2 
= 0 ; 
6353     PyObject 
* obj3 
= 0 ; 
6355         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
6358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6359     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6360     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6364         arg4 
= (int) SWIG_AsInt(obj3
);  
6365         if (PyErr_Occurred()) SWIG_fail
; 
6368         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6369         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
6371         wxPyEndAllowThreads(__tstate
); 
6372         if (PyErr_Occurred()) SWIG_fail
; 
6374     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6381 static PyObject 
*_wrap_Timer_SetOwner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6382     PyObject 
*resultobj
; 
6383     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6384     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
6385     int arg3 
= (int) -1 ; 
6386     PyObject 
* obj0 
= 0 ; 
6387     PyObject 
* obj1 
= 0 ; 
6388     PyObject 
* obj2 
= 0 ; 
6390         (char *) "self",(char *) "owner",(char *) "id", NULL 
 
6393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6396     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
, 
6397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6399         arg3 
= (int) SWIG_AsInt(obj2
);  
6400         if (PyErr_Occurred()) SWIG_fail
; 
6403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6404         (arg1
)->SetOwner(arg2
,arg3
); 
6406         wxPyEndAllowThreads(__tstate
); 
6407         if (PyErr_Occurred()) SWIG_fail
; 
6409     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6416 static PyObject 
*_wrap_Timer_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6417     PyObject 
*resultobj
; 
6418     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6419     int arg2 
= (int) -1 ; 
6420     bool arg3 
= (bool) False 
; 
6422     PyObject 
* obj0 
= 0 ; 
6423     PyObject 
* obj1 
= 0 ; 
6424     PyObject 
* obj2 
= 0 ; 
6426         (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL 
 
6429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6433         arg2 
= (int) SWIG_AsInt(obj1
);  
6434         if (PyErr_Occurred()) SWIG_fail
; 
6437         arg3 
= (bool) SWIG_AsBool(obj2
);  
6438         if (PyErr_Occurred()) SWIG_fail
; 
6441         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6442         result 
= (bool)(arg1
)->Start(arg2
,arg3
); 
6444         wxPyEndAllowThreads(__tstate
); 
6445         if (PyErr_Occurred()) SWIG_fail
; 
6448         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6456 static PyObject 
*_wrap_Timer_Stop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6457     PyObject 
*resultobj
; 
6458     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6459     PyObject 
* obj0 
= 0 ; 
6461         (char *) "self", NULL 
 
6464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
; 
6465     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6466     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6471         wxPyEndAllowThreads(__tstate
); 
6472         if (PyErr_Occurred()) SWIG_fail
; 
6474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6481 static PyObject 
*_wrap_Timer_IsRunning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6482     PyObject 
*resultobj
; 
6483     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6485     PyObject 
* obj0 
= 0 ; 
6487         (char *) "self", NULL 
 
6490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
; 
6491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6495         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsRunning(); 
6497         wxPyEndAllowThreads(__tstate
); 
6498         if (PyErr_Occurred()) SWIG_fail
; 
6501         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6509 static PyObject 
*_wrap_Timer_GetInterval(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6510     PyObject 
*resultobj
; 
6511     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6513     PyObject 
* obj0 
= 0 ; 
6515         (char *) "self", NULL 
 
6518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
; 
6519     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6520     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6523         result 
= (int)((wxPyTimer 
const *)arg1
)->GetInterval(); 
6525         wxPyEndAllowThreads(__tstate
); 
6526         if (PyErr_Occurred()) SWIG_fail
; 
6528     resultobj 
= SWIG_FromInt((int)result
); 
6535 static PyObject 
*_wrap_Timer_IsOneShot(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6536     PyObject 
*resultobj
; 
6537     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6539     PyObject 
* obj0 
= 0 ; 
6541         (char *) "self", NULL 
 
6544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
; 
6545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6549         result 
= (bool)((wxPyTimer 
const *)arg1
)->IsOneShot(); 
6551         wxPyEndAllowThreads(__tstate
); 
6552         if (PyErr_Occurred()) SWIG_fail
; 
6555         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6563 static PyObject 
*_wrap_Timer_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6564     PyObject 
*resultobj
; 
6565     wxPyTimer 
*arg1 
= (wxPyTimer 
*) 0 ; 
6567     PyObject 
* obj0 
= 0 ; 
6569         (char *) "self", NULL 
 
6572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
; 
6573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
, 
6574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6577         result 
= (int)((wxPyTimer 
const *)arg1
)->GetId(); 
6579         wxPyEndAllowThreads(__tstate
); 
6580         if (PyErr_Occurred()) SWIG_fail
; 
6582     resultobj 
= SWIG_FromInt((int)result
); 
6589 static PyObject 
* Timer_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6591     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6592     SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
); 
6594     return Py_BuildValue((char *)""); 
6596 static PyObject 
*_wrap_new_TimerEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6597     PyObject 
*resultobj
; 
6598     int arg1 
= (int) 0 ; 
6599     int arg2 
= (int) 0 ; 
6600     wxTimerEvent 
*result
; 
6601     PyObject 
* obj0 
= 0 ; 
6602     PyObject 
* obj1 
= 0 ; 
6604         (char *) "timerid",(char *) "interval", NULL 
 
6607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
6609         arg1 
= (int) SWIG_AsInt(obj0
);  
6610         if (PyErr_Occurred()) SWIG_fail
; 
6613         arg2 
= (int) SWIG_AsInt(obj1
);  
6614         if (PyErr_Occurred()) SWIG_fail
; 
6617         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6618         result 
= (wxTimerEvent 
*)new wxTimerEvent(arg1
,arg2
); 
6620         wxPyEndAllowThreads(__tstate
); 
6621         if (PyErr_Occurred()) SWIG_fail
; 
6623     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1); 
6630 static PyObject 
*_wrap_TimerEvent_GetInterval(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6631     PyObject 
*resultobj
; 
6632     wxTimerEvent 
*arg1 
= (wxTimerEvent 
*) 0 ; 
6634     PyObject 
* obj0 
= 0 ; 
6636         (char *) "self", NULL 
 
6639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
; 
6640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
, 
6641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6644         result 
= (int)((wxTimerEvent 
const *)arg1
)->GetInterval(); 
6646         wxPyEndAllowThreads(__tstate
); 
6647         if (PyErr_Occurred()) SWIG_fail
; 
6649     resultobj 
= SWIG_FromInt((int)result
); 
6656 static PyObject 
* TimerEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6658     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6659     SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
); 
6661     return Py_BuildValue((char *)""); 
6663 static PyObject 
*_wrap_new_TimerRunner__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
6664     PyObject 
*resultobj
; 
6666     wxTimerRunner 
*result
; 
6667     PyObject 
* obj0 
= 0 ; 
6669     if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
; 
6670     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
6671     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6674         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6679         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
); 
6681         wxPyEndAllowThreads(__tstate
); 
6682         if (PyErr_Occurred()) SWIG_fail
; 
6684     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
6691 static PyObject 
*_wrap_new_TimerRunner__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
6692     PyObject 
*resultobj
; 
6695     bool arg3 
= (bool) False 
; 
6696     wxTimerRunner 
*result
; 
6697     PyObject 
* obj0 
= 0 ; 
6698     PyObject 
* obj1 
= 0 ; 
6699     PyObject 
* obj2 
= 0 ; 
6701     if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
; 
6702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
, 
6703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
6706         PyErr_SetString(PyExc_TypeError
,"null reference"); 
6709     arg2 
= (int) SWIG_AsInt(obj1
);  
6710     if (PyErr_Occurred()) SWIG_fail
; 
6712         arg3 
= (bool) SWIG_AsBool(obj2
);  
6713         if (PyErr_Occurred()) SWIG_fail
; 
6716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6717         result 
= (wxTimerRunner 
*)new wxTimerRunner(*arg1
,arg2
,arg3
); 
6719         wxPyEndAllowThreads(__tstate
); 
6720         if (PyErr_Occurred()) SWIG_fail
; 
6722     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1); 
6729 static PyObject 
*_wrap_new_TimerRunner(PyObject 
*self
, PyObject 
*args
) { 
6734     argc 
= PyObject_Length(args
); 
6735     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
6736         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
6742             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
6750             return _wrap_new_TimerRunner__SWIG_0(self
,args
); 
6753     if ((argc 
>= 2) && (argc 
<= 3)) { 
6757             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) { 
6765             _v 
= SWIG_CheckInt(argv
[1]); 
6768                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
6770                 _v 
= SWIG_CheckBool(argv
[2]); 
6772                     return _wrap_new_TimerRunner__SWIG_1(self
,args
); 
6778     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'"); 
6783 static PyObject 
*_wrap_delete_TimerRunner(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6784     PyObject 
*resultobj
; 
6785     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
6786     PyObject 
* obj0 
= 0 ; 
6788         (char *) "self", NULL 
 
6791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
; 
6792     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
6793     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6798         wxPyEndAllowThreads(__tstate
); 
6799         if (PyErr_Occurred()) SWIG_fail
; 
6801     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6808 static PyObject 
*_wrap_TimerRunner_Start(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6809     PyObject 
*resultobj
; 
6810     wxTimerRunner 
*arg1 
= (wxTimerRunner 
*) 0 ; 
6812     bool arg3 
= (bool) False 
; 
6813     PyObject 
* obj0 
= 0 ; 
6814     PyObject 
* obj1 
= 0 ; 
6815     PyObject 
* obj2 
= 0 ; 
6817         (char *) "self",(char *) "milli",(char *) "oneShot", NULL 
 
6820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6821     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
, 
6822     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6823     arg2 
= (int) SWIG_AsInt(obj1
);  
6824     if (PyErr_Occurred()) SWIG_fail
; 
6826         arg3 
= (bool) SWIG_AsBool(obj2
);  
6827         if (PyErr_Occurred()) SWIG_fail
; 
6830         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6831         (arg1
)->Start(arg2
,arg3
); 
6833         wxPyEndAllowThreads(__tstate
); 
6834         if (PyErr_Occurred()) SWIG_fail
; 
6836     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6843 static PyObject 
* TimerRunner_swigregister(PyObject 
*self
, PyObject 
*args
) { 
6845     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6846     SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
); 
6848     return Py_BuildValue((char *)""); 
6850 static PyObject 
*_wrap_new_Log(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6851     PyObject 
*resultobj
; 
6857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
; 
6859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6860         result 
= (wxLog 
*)new wxLog(); 
6862         wxPyEndAllowThreads(__tstate
); 
6863         if (PyErr_Occurred()) SWIG_fail
; 
6865     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1); 
6872 static PyObject 
*_wrap_Log_IsEnabled(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6873     PyObject 
*resultobj
; 
6879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
; 
6881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6882         result 
= (bool)wxLog::IsEnabled(); 
6884         wxPyEndAllowThreads(__tstate
); 
6885         if (PyErr_Occurred()) SWIG_fail
; 
6888         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6896 static PyObject 
*_wrap_Log_EnableLogging(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6897     PyObject 
*resultobj
; 
6898     bool arg1 
= (bool) True 
; 
6900     PyObject 
* obj0 
= 0 ; 
6902         (char *) "doIt", NULL 
 
6905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
; 
6907         arg1 
= (bool) SWIG_AsBool(obj0
);  
6908         if (PyErr_Occurred()) SWIG_fail
; 
6911         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6912         result 
= (bool)wxLog::EnableLogging(arg1
); 
6914         wxPyEndAllowThreads(__tstate
); 
6915         if (PyErr_Occurred()) SWIG_fail
; 
6918         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6926 static PyObject 
*_wrap_Log_OnLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6927     PyObject 
*resultobj
; 
6929     wxChar 
*arg2 
= (wxChar 
*) 0 ; 
6931     PyObject 
* obj0 
= 0 ; 
6932     PyObject 
* obj1 
= 0 ; 
6933     PyObject 
* obj2 
= 0 ; 
6935         (char *) "level",(char *) "szString",(char *) "t", NULL 
 
6938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6939     arg1 
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);  
6940     if (PyErr_Occurred()) SWIG_fail
; 
6941     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
, 
6942     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6943     arg3 
= (time_t) SWIG_AsUnsignedInt(obj2
);  
6944     if (PyErr_Occurred()) SWIG_fail
; 
6946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6947         wxLog::OnLog(arg1
,(wxChar 
const *)arg2
,arg3
); 
6949         wxPyEndAllowThreads(__tstate
); 
6950         if (PyErr_Occurred()) SWIG_fail
; 
6952     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6959 static PyObject 
*_wrap_Log_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6960     PyObject 
*resultobj
; 
6961     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
6962     PyObject 
* obj0 
= 0 ; 
6964         (char *) "self", NULL 
 
6967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
; 
6968     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
6969     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
6971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6974         wxPyEndAllowThreads(__tstate
); 
6975         if (PyErr_Occurred()) SWIG_fail
; 
6977     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6984 static PyObject 
*_wrap_Log_FlushActive(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
6985     PyObject 
*resultobj
; 
6990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
; 
6992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6993         wxLog::FlushActive(); 
6995         wxPyEndAllowThreads(__tstate
); 
6996         if (PyErr_Occurred()) SWIG_fail
; 
6998     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7005 static PyObject 
*_wrap_Log_GetActiveTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7006     PyObject 
*resultobj
; 
7012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
; 
7014         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7015         result 
= (wxLog 
*)wxLog::GetActiveTarget(); 
7017         wxPyEndAllowThreads(__tstate
); 
7018         if (PyErr_Occurred()) SWIG_fail
; 
7020     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7027 static PyObject 
*_wrap_Log_SetActiveTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7028     PyObject 
*resultobj
; 
7029     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7031     PyObject 
* obj0 
= 0 ; 
7033         (char *) "pLogger", NULL 
 
7036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
; 
7037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7041         result 
= (wxLog 
*)wxLog::SetActiveTarget(arg1
); 
7043         wxPyEndAllowThreads(__tstate
); 
7044         if (PyErr_Occurred()) SWIG_fail
; 
7046     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7053 static PyObject 
*_wrap_Log_Suspend(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7054     PyObject 
*resultobj
; 
7059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
; 
7061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7064         wxPyEndAllowThreads(__tstate
); 
7065         if (PyErr_Occurred()) SWIG_fail
; 
7067     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7074 static PyObject 
*_wrap_Log_Resume(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7075     PyObject 
*resultobj
; 
7080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
; 
7082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7085         wxPyEndAllowThreads(__tstate
); 
7086         if (PyErr_Occurred()) SWIG_fail
; 
7088     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7095 static PyObject 
*_wrap_Log_SetVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7096     PyObject 
*resultobj
; 
7097     bool arg1 
= (bool) True 
; 
7098     PyObject 
* obj0 
= 0 ; 
7100         (char *) "bVerbose", NULL 
 
7103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
; 
7105         arg1 
= (bool) SWIG_AsBool(obj0
);  
7106         if (PyErr_Occurred()) SWIG_fail
; 
7109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7110         wxLog::SetVerbose(arg1
); 
7112         wxPyEndAllowThreads(__tstate
); 
7113         if (PyErr_Occurred()) SWIG_fail
; 
7115     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7122 static PyObject 
*_wrap_Log_SetLogLevel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7123     PyObject 
*resultobj
; 
7125     PyObject 
* obj0 
= 0 ; 
7127         (char *) "logLevel", NULL 
 
7130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
; 
7131     arg1 
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);  
7132     if (PyErr_Occurred()) SWIG_fail
; 
7134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7135         wxLog::SetLogLevel(arg1
); 
7137         wxPyEndAllowThreads(__tstate
); 
7138         if (PyErr_Occurred()) SWIG_fail
; 
7140     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7147 static PyObject 
*_wrap_Log_DontCreateOnDemand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7148     PyObject 
*resultobj
; 
7153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
; 
7155         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7156         wxLog::DontCreateOnDemand(); 
7158         wxPyEndAllowThreads(__tstate
); 
7159         if (PyErr_Occurred()) SWIG_fail
; 
7161     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7168 static PyObject 
*_wrap_Log_SetTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7169     PyObject 
*resultobj
; 
7171     PyObject 
* obj0 
= 0 ; 
7173         (char *) "ulMask", NULL 
 
7176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
; 
7177     arg1 
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);  
7178     if (PyErr_Occurred()) SWIG_fail
; 
7180         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7181         wxLog::SetTraceMask(arg1
); 
7183         wxPyEndAllowThreads(__tstate
); 
7184         if (PyErr_Occurred()) SWIG_fail
; 
7186     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7193 static PyObject 
*_wrap_Log_AddTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7194     PyObject 
*resultobj
; 
7195     wxString 
*arg1 
= 0 ; 
7196     bool temp1 
= False 
; 
7197     PyObject 
* obj0 
= 0 ; 
7199         (char *) "str", NULL 
 
7202     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
; 
7204         arg1 
= wxString_in_helper(obj0
); 
7205         if (arg1 
== NULL
) SWIG_fail
; 
7209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7210         wxLog::AddTraceMask((wxString 
const &)*arg1
); 
7212         wxPyEndAllowThreads(__tstate
); 
7213         if (PyErr_Occurred()) SWIG_fail
; 
7215     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7230 static PyObject 
*_wrap_Log_RemoveTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7231     PyObject 
*resultobj
; 
7232     wxString 
*arg1 
= 0 ; 
7233     bool temp1 
= False 
; 
7234     PyObject 
* obj0 
= 0 ; 
7236         (char *) "str", NULL 
 
7239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
; 
7241         arg1 
= wxString_in_helper(obj0
); 
7242         if (arg1 
== NULL
) SWIG_fail
; 
7246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7247         wxLog::RemoveTraceMask((wxString 
const &)*arg1
); 
7249         wxPyEndAllowThreads(__tstate
); 
7250         if (PyErr_Occurred()) SWIG_fail
; 
7252     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7267 static PyObject 
*_wrap_Log_ClearTraceMasks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7268     PyObject 
*resultobj
; 
7273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
; 
7275         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7276         wxLog::ClearTraceMasks(); 
7278         wxPyEndAllowThreads(__tstate
); 
7279         if (PyErr_Occurred()) SWIG_fail
; 
7281     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7288 static PyObject 
*_wrap_Log_GetTraceMasks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7289     PyObject 
*resultobj
; 
7290     wxArrayString 
*result
; 
7295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
; 
7297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7299             wxArrayString 
const &_result_ref 
= wxLog::GetTraceMasks(); 
7300             result 
= (wxArrayString 
*) &_result_ref
; 
7303         wxPyEndAllowThreads(__tstate
); 
7304         if (PyErr_Occurred()) SWIG_fail
; 
7307         resultobj 
= wxArrayString2PyList_helper(*result
); 
7315 static PyObject 
*_wrap_Log_SetTimestamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7316     PyObject 
*resultobj
; 
7317     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7318     PyObject 
* obj0 
= 0 ; 
7323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
; 
7324     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7325     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7328         wxLog::SetTimestamp((wxChar 
const *)arg1
); 
7330         wxPyEndAllowThreads(__tstate
); 
7331         if (PyErr_Occurred()) SWIG_fail
; 
7333     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7340 static PyObject 
*_wrap_Log_GetVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7341     PyObject 
*resultobj
; 
7347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
; 
7349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7350         result 
= (bool)wxLog::GetVerbose(); 
7352         wxPyEndAllowThreads(__tstate
); 
7353         if (PyErr_Occurred()) SWIG_fail
; 
7356         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7364 static PyObject 
*_wrap_Log_GetTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7365     PyObject 
*resultobj
; 
7371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
; 
7373         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7374         result 
= (wxTraceMask
)wxLog::GetTraceMask(); 
7376         wxPyEndAllowThreads(__tstate
); 
7377         if (PyErr_Occurred()) SWIG_fail
; 
7379     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7386 static PyObject 
*_wrap_Log_IsAllowedTraceMask(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7387     PyObject 
*resultobj
; 
7388     wxChar 
*arg1 
= (wxChar 
*) 0 ; 
7390     PyObject 
* obj0 
= 0 ; 
7392         (char *) "mask", NULL 
 
7395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
; 
7396     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
, 
7397     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7400         result 
= (bool)wxLog::IsAllowedTraceMask((wxChar 
const *)arg1
); 
7402         wxPyEndAllowThreads(__tstate
); 
7403         if (PyErr_Occurred()) SWIG_fail
; 
7406         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7414 static PyObject 
*_wrap_Log_GetLogLevel(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7415     PyObject 
*resultobj
; 
7421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
; 
7423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7424         result 
= (wxLogLevel
)wxLog::GetLogLevel(); 
7426         wxPyEndAllowThreads(__tstate
); 
7427         if (PyErr_Occurred()) SWIG_fail
; 
7429     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7436 static PyObject 
*_wrap_Log_GetTimestamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7437     PyObject 
*resultobj
; 
7443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
; 
7445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7446         result 
= (wxChar 
*)wxLog::GetTimestamp(); 
7448         wxPyEndAllowThreads(__tstate
); 
7449         if (PyErr_Occurred()) SWIG_fail
; 
7451     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0); 
7458 static PyObject 
*_wrap_Log_TimeStamp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7459     PyObject 
*resultobj
; 
7465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
; 
7467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7468         result 
= Log_TimeStamp(); 
7470         wxPyEndAllowThreads(__tstate
); 
7471         if (PyErr_Occurred()) SWIG_fail
; 
7475         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7477         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7486 static PyObject 
*_wrap_Log_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7487     PyObject 
*resultobj
; 
7488     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7489     PyObject 
* obj0 
= 0 ; 
7491         (char *) "self", NULL 
 
7494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
; 
7495     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7496     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7499         wxLog_Destroy(arg1
); 
7501         wxPyEndAllowThreads(__tstate
); 
7502         if (PyErr_Occurred()) SWIG_fail
; 
7504     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7511 static PyObject 
* Log_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7513     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7514     SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
); 
7516     return Py_BuildValue((char *)""); 
7518 static PyObject 
*_wrap_new_LogStderr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7519     PyObject 
*resultobj
; 
7520     wxLogStderr 
*result
; 
7525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
; 
7527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7528         result 
= (wxLogStderr 
*)new wxLogStderr(); 
7530         wxPyEndAllowThreads(__tstate
); 
7531         if (PyErr_Occurred()) SWIG_fail
; 
7533     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1); 
7540 static PyObject 
* LogStderr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7542     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7543     SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
); 
7545     return Py_BuildValue((char *)""); 
7547 static PyObject 
*_wrap_new_LogTextCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7548     PyObject 
*resultobj
; 
7549     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
7550     wxLogTextCtrl 
*result
; 
7551     PyObject 
* obj0 
= 0 ; 
7553         (char *) "pTextCtrl", NULL 
 
7556     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
; 
7557     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
, 
7558     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7560         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7561         result 
= (wxLogTextCtrl 
*)new wxLogTextCtrl(arg1
); 
7563         wxPyEndAllowThreads(__tstate
); 
7564         if (PyErr_Occurred()) SWIG_fail
; 
7566     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1); 
7573 static PyObject 
* LogTextCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7575     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7576     SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
); 
7578     return Py_BuildValue((char *)""); 
7580 static PyObject 
*_wrap_new_LogGui(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7581     PyObject 
*resultobj
; 
7587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
; 
7589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7590         result 
= (wxLogGui 
*)new wxLogGui(); 
7592         wxPyEndAllowThreads(__tstate
); 
7593         if (PyErr_Occurred()) SWIG_fail
; 
7595     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1); 
7602 static PyObject 
* LogGui_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7604     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7605     SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
); 
7607     return Py_BuildValue((char *)""); 
7609 static PyObject 
*_wrap_new_LogWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7610     PyObject 
*resultobj
; 
7611     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7612     wxString 
*arg2 
= 0 ; 
7613     bool arg3 
= (bool) True 
; 
7614     bool arg4 
= (bool) True 
; 
7615     wxLogWindow 
*result
; 
7616     bool temp2 
= False 
; 
7617     PyObject 
* obj0 
= 0 ; 
7618     PyObject 
* obj1 
= 0 ; 
7619     PyObject 
* obj2 
= 0 ; 
7620     PyObject 
* obj3 
= 0 ; 
7622         (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL 
 
7625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7626     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
7627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7629         arg2 
= wxString_in_helper(obj1
); 
7630         if (arg2 
== NULL
) SWIG_fail
; 
7634         arg3 
= (bool) SWIG_AsBool(obj2
);  
7635         if (PyErr_Occurred()) SWIG_fail
; 
7638         arg4 
= (bool) SWIG_AsBool(obj3
);  
7639         if (PyErr_Occurred()) SWIG_fail
; 
7642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7643         result 
= (wxLogWindow 
*)new wxLogWindow(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
7645         wxPyEndAllowThreads(__tstate
); 
7646         if (PyErr_Occurred()) SWIG_fail
; 
7648     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1); 
7663 static PyObject 
*_wrap_LogWindow_Show(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7664     PyObject 
*resultobj
; 
7665     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7666     bool arg2 
= (bool) True 
; 
7667     PyObject 
* obj0 
= 0 ; 
7668     PyObject 
* obj1 
= 0 ; 
7670         (char *) "self",(char *) "bShow", NULL 
 
7673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
7674     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7675     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7677         arg2 
= (bool) SWIG_AsBool(obj1
);  
7678         if (PyErr_Occurred()) SWIG_fail
; 
7681         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7684         wxPyEndAllowThreads(__tstate
); 
7685         if (PyErr_Occurred()) SWIG_fail
; 
7687     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7694 static PyObject 
*_wrap_LogWindow_GetFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7695     PyObject 
*resultobj
; 
7696     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7698     PyObject 
* obj0 
= 0 ; 
7700         (char *) "self", NULL 
 
7703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
; 
7704     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7705     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7708         result 
= (wxFrame 
*)((wxLogWindow 
const *)arg1
)->GetFrame(); 
7710         wxPyEndAllowThreads(__tstate
); 
7711         if (PyErr_Occurred()) SWIG_fail
; 
7714         resultobj 
= wxPyMake_wxObject(result
);  
7722 static PyObject 
*_wrap_LogWindow_GetOldLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7723     PyObject 
*resultobj
; 
7724     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7726     PyObject 
* obj0 
= 0 ; 
7728         (char *) "self", NULL 
 
7731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
; 
7732     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7733     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7736         result 
= (wxLog 
*)((wxLogWindow 
const *)arg1
)->GetOldLog(); 
7738         wxPyEndAllowThreads(__tstate
); 
7739         if (PyErr_Occurred()) SWIG_fail
; 
7741     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7748 static PyObject 
*_wrap_LogWindow_IsPassingMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7749     PyObject 
*resultobj
; 
7750     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7752     PyObject 
* obj0 
= 0 ; 
7754         (char *) "self", NULL 
 
7757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
7758     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7759     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7762         result 
= (bool)((wxLogWindow 
const *)arg1
)->IsPassingMessages(); 
7764         wxPyEndAllowThreads(__tstate
); 
7765         if (PyErr_Occurred()) SWIG_fail
; 
7768         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7776 static PyObject 
*_wrap_LogWindow_PassMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7777     PyObject 
*resultobj
; 
7778     wxLogWindow 
*arg1 
= (wxLogWindow 
*) 0 ; 
7780     PyObject 
* obj0 
= 0 ; 
7781     PyObject 
* obj1 
= 0 ; 
7783         (char *) "self",(char *) "bDoPass", NULL 
 
7786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
7787     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
, 
7788     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7789     arg2 
= (bool) SWIG_AsBool(obj1
);  
7790     if (PyErr_Occurred()) SWIG_fail
; 
7792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7793         (arg1
)->PassMessages(arg2
); 
7795         wxPyEndAllowThreads(__tstate
); 
7796         if (PyErr_Occurred()) SWIG_fail
; 
7798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7805 static PyObject 
* LogWindow_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7807     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7808     SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
); 
7810     return Py_BuildValue((char *)""); 
7812 static PyObject 
*_wrap_new_LogChain(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7813     PyObject 
*resultobj
; 
7814     wxLog 
*arg1 
= (wxLog 
*) 0 ; 
7816     PyObject 
* obj0 
= 0 ; 
7818         (char *) "logger", NULL 
 
7821     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
; 
7822     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
, 
7823     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7826         result 
= (wxLogChain 
*)new wxLogChain(arg1
); 
7828         wxPyEndAllowThreads(__tstate
); 
7829         if (PyErr_Occurred()) SWIG_fail
; 
7831     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1); 
7838 static PyObject 
*_wrap_LogChain_SetLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7839     PyObject 
*resultobj
; 
7840     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
7841     wxLog 
*arg2 
= (wxLog 
*) 0 ; 
7842     PyObject 
* obj0 
= 0 ; 
7843     PyObject 
* obj1 
= 0 ; 
7845         (char *) "self",(char *) "logger", NULL 
 
7848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
; 
7849     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
7850     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7851     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
, 
7852     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7855         (arg1
)->SetLog(arg2
); 
7857         wxPyEndAllowThreads(__tstate
); 
7858         if (PyErr_Occurred()) SWIG_fail
; 
7860     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7867 static PyObject 
*_wrap_LogChain_PassMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7868     PyObject 
*resultobj
; 
7869     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
7871     PyObject 
* obj0 
= 0 ; 
7872     PyObject 
* obj1 
= 0 ; 
7874         (char *) "self",(char *) "bDoPass", NULL 
 
7877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
; 
7878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
7879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7880     arg2 
= (bool) SWIG_AsBool(obj1
);  
7881     if (PyErr_Occurred()) SWIG_fail
; 
7883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7884         (arg1
)->PassMessages(arg2
); 
7886         wxPyEndAllowThreads(__tstate
); 
7887         if (PyErr_Occurred()) SWIG_fail
; 
7889     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7896 static PyObject 
*_wrap_LogChain_IsPassingMessages(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7897     PyObject 
*resultobj
; 
7898     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
7900     PyObject 
* obj0 
= 0 ; 
7902         (char *) "self", NULL 
 
7905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
; 
7906     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
7907     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7910         result 
= (bool)(arg1
)->IsPassingMessages(); 
7912         wxPyEndAllowThreads(__tstate
); 
7913         if (PyErr_Occurred()) SWIG_fail
; 
7916         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7924 static PyObject 
*_wrap_LogChain_GetOldLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7925     PyObject 
*resultobj
; 
7926     wxLogChain 
*arg1 
= (wxLogChain 
*) 0 ; 
7928     PyObject 
* obj0 
= 0 ; 
7930         (char *) "self", NULL 
 
7933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
; 
7934     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
, 
7935     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
7937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7938         result 
= (wxLog 
*)(arg1
)->GetOldLog(); 
7940         wxPyEndAllowThreads(__tstate
); 
7941         if (PyErr_Occurred()) SWIG_fail
; 
7943     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0); 
7950 static PyObject 
* LogChain_swigregister(PyObject 
*self
, PyObject 
*args
) { 
7952     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7953     SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
); 
7955     return Py_BuildValue((char *)""); 
7957 static PyObject 
*_wrap_SysErrorCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7958     PyObject 
*resultobj
; 
7959     unsigned long result
; 
7964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
; 
7966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7967         result 
= (unsigned long)wxSysErrorCode(); 
7969         wxPyEndAllowThreads(__tstate
); 
7970         if (PyErr_Occurred()) SWIG_fail
; 
7972     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
7979 static PyObject 
*_wrap_SysErrorMsg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
7980     PyObject 
*resultobj
; 
7981     unsigned long arg1 
= (unsigned long) 0 ; 
7983     PyObject 
* obj0 
= 0 ; 
7985         (char *) "nErrCode", NULL 
 
7988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
; 
7990         arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
7991         if (PyErr_Occurred()) SWIG_fail
; 
7994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7995         result 
= wxSysErrorMsg(arg1
); 
7997         wxPyEndAllowThreads(__tstate
); 
7998         if (PyErr_Occurred()) SWIG_fail
; 
8002         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8004         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8013 static PyObject 
*_wrap_LogFatalError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8014     PyObject 
*resultobj
; 
8015     wxString 
*arg1 
= 0 ; 
8016     bool temp1 
= False 
; 
8017     PyObject 
* obj0 
= 0 ; 
8019         (char *) "msg", NULL 
 
8022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
; 
8024         arg1 
= wxString_in_helper(obj0
); 
8025         if (arg1 
== NULL
) SWIG_fail
; 
8029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8030         wxLogFatalError((wxString 
const &)*arg1
); 
8032         wxPyEndAllowThreads(__tstate
); 
8033         if (PyErr_Occurred()) SWIG_fail
; 
8035     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8050 static PyObject 
*_wrap_LogError(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8051     PyObject 
*resultobj
; 
8052     wxString 
*arg1 
= 0 ; 
8053     bool temp1 
= False 
; 
8054     PyObject 
* obj0 
= 0 ; 
8056         (char *) "msg", NULL 
 
8059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
; 
8061         arg1 
= wxString_in_helper(obj0
); 
8062         if (arg1 
== NULL
) SWIG_fail
; 
8066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8067         wxLogError((wxString 
const &)*arg1
); 
8069         wxPyEndAllowThreads(__tstate
); 
8070         if (PyErr_Occurred()) SWIG_fail
; 
8072     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8087 static PyObject 
*_wrap_LogWarning(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8088     PyObject 
*resultobj
; 
8089     wxString 
*arg1 
= 0 ; 
8090     bool temp1 
= False 
; 
8091     PyObject 
* obj0 
= 0 ; 
8093         (char *) "msg", NULL 
 
8096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
; 
8098         arg1 
= wxString_in_helper(obj0
); 
8099         if (arg1 
== NULL
) SWIG_fail
; 
8103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8104         wxLogWarning((wxString 
const &)*arg1
); 
8106         wxPyEndAllowThreads(__tstate
); 
8107         if (PyErr_Occurred()) SWIG_fail
; 
8109     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8124 static PyObject 
*_wrap_LogMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8125     PyObject 
*resultobj
; 
8126     wxString 
*arg1 
= 0 ; 
8127     bool temp1 
= False 
; 
8128     PyObject 
* obj0 
= 0 ; 
8130         (char *) "msg", NULL 
 
8133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
; 
8135         arg1 
= wxString_in_helper(obj0
); 
8136         if (arg1 
== NULL
) SWIG_fail
; 
8140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8141         wxLogMessage((wxString 
const &)*arg1
); 
8143         wxPyEndAllowThreads(__tstate
); 
8144         if (PyErr_Occurred()) SWIG_fail
; 
8146     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8161 static PyObject 
*_wrap_LogInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8162     PyObject 
*resultobj
; 
8163     wxString 
*arg1 
= 0 ; 
8164     bool temp1 
= False 
; 
8165     PyObject 
* obj0 
= 0 ; 
8167         (char *) "msg", NULL 
 
8170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
; 
8172         arg1 
= wxString_in_helper(obj0
); 
8173         if (arg1 
== NULL
) SWIG_fail
; 
8177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8178         wxLogInfo((wxString 
const &)*arg1
); 
8180         wxPyEndAllowThreads(__tstate
); 
8181         if (PyErr_Occurred()) SWIG_fail
; 
8183     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8198 static PyObject 
*_wrap_LogDebug(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8199     PyObject 
*resultobj
; 
8200     wxString 
*arg1 
= 0 ; 
8201     bool temp1 
= False 
; 
8202     PyObject 
* obj0 
= 0 ; 
8204         (char *) "msg", NULL 
 
8207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
; 
8209         arg1 
= wxString_in_helper(obj0
); 
8210         if (arg1 
== NULL
) SWIG_fail
; 
8214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8215         wxLogDebug((wxString 
const &)*arg1
); 
8217         wxPyEndAllowThreads(__tstate
); 
8218         if (PyErr_Occurred()) SWIG_fail
; 
8220     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8235 static PyObject 
*_wrap_LogVerbose(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8236     PyObject 
*resultobj
; 
8237     wxString 
*arg1 
= 0 ; 
8238     bool temp1 
= False 
; 
8239     PyObject 
* obj0 
= 0 ; 
8241         (char *) "msg", NULL 
 
8244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
; 
8246         arg1 
= wxString_in_helper(obj0
); 
8247         if (arg1 
== NULL
) SWIG_fail
; 
8251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8252         wxLogVerbose((wxString 
const &)*arg1
); 
8254         wxPyEndAllowThreads(__tstate
); 
8255         if (PyErr_Occurred()) SWIG_fail
; 
8257     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8272 static PyObject 
*_wrap_LogStatus(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8273     PyObject 
*resultobj
; 
8274     wxString 
*arg1 
= 0 ; 
8275     bool temp1 
= False 
; 
8276     PyObject 
* obj0 
= 0 ; 
8278         (char *) "msg", NULL 
 
8281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
; 
8283         arg1 
= wxString_in_helper(obj0
); 
8284         if (arg1 
== NULL
) SWIG_fail
; 
8288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8289         wxLogStatus((wxString 
const &)*arg1
); 
8291         wxPyEndAllowThreads(__tstate
); 
8292         if (PyErr_Occurred()) SWIG_fail
; 
8294     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8309 static PyObject 
*_wrap_LogStatusFrame(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8310     PyObject 
*resultobj
; 
8311     wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
8312     wxString 
*arg2 
= 0 ; 
8313     bool temp2 
= False 
; 
8314     PyObject 
* obj0 
= 0 ; 
8315     PyObject 
* obj1 
= 0 ; 
8317         (char *) "pFrame",(char *) "msg", NULL 
 
8320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
8321     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
, 
8322     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8324         arg2 
= wxString_in_helper(obj1
); 
8325         if (arg2 
== NULL
) SWIG_fail
; 
8329         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8330         wxLogStatus(arg1
,(wxString 
const &)*arg2
); 
8332         wxPyEndAllowThreads(__tstate
); 
8333         if (PyErr_Occurred()) SWIG_fail
; 
8335     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8350 static PyObject 
*_wrap_LogSysError(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:LogSysError",kwnames
,&obj0
)) goto fail
; 
8361         arg1 
= wxString_in_helper(obj0
); 
8362         if (arg1 
== NULL
) SWIG_fail
; 
8366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8367         wxLogSysError((wxString 
const &)*arg1
); 
8369         wxPyEndAllowThreads(__tstate
); 
8370         if (PyErr_Occurred()) SWIG_fail
; 
8372     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8387 static PyObject 
*_wrap_LogTrace__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
8388     PyObject 
*resultobj
; 
8389     unsigned long arg1 
; 
8390     wxString 
*arg2 
= 0 ; 
8391     bool temp2 
= False 
; 
8392     PyObject 
* obj0 
= 0 ; 
8393     PyObject 
* obj1 
= 0 ; 
8395     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8396     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8397     if (PyErr_Occurred()) SWIG_fail
; 
8399         arg2 
= wxString_in_helper(obj1
); 
8400         if (arg2 
== NULL
) SWIG_fail
; 
8404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8405         wxLogTrace(arg1
,(wxString 
const &)*arg2
); 
8407         wxPyEndAllowThreads(__tstate
); 
8408         if (PyErr_Occurred()) SWIG_fail
; 
8410     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8425 static PyObject 
*_wrap_LogTrace__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
8426     PyObject 
*resultobj
; 
8427     wxString 
*arg1 
= 0 ; 
8428     wxString 
*arg2 
= 0 ; 
8429     bool temp1 
= False 
; 
8430     bool temp2 
= False 
; 
8431     PyObject 
* obj0 
= 0 ; 
8432     PyObject 
* obj1 
= 0 ; 
8434     if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
; 
8436         arg1 
= wxString_in_helper(obj0
); 
8437         if (arg1 
== NULL
) SWIG_fail
; 
8441         arg2 
= wxString_in_helper(obj1
); 
8442         if (arg2 
== NULL
) SWIG_fail
; 
8446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8447         wxLogTrace((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
8449         wxPyEndAllowThreads(__tstate
); 
8450         if (PyErr_Occurred()) SWIG_fail
; 
8452     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8475 static PyObject 
*_wrap_LogTrace(PyObject 
*self
, PyObject 
*args
) { 
8480     argc 
= PyObject_Length(args
); 
8481     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
8482         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
8487             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
8491                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
8494                 return _wrap_LogTrace__SWIG_1(self
,args
); 
8500         _v 
= SWIG_CheckUnsignedLong(argv
[0]); 
8503                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
8506                 return _wrap_LogTrace__SWIG_0(self
,args
); 
8511     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'"); 
8516 static PyObject 
*_wrap_LogGeneric(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8517     PyObject 
*resultobj
; 
8518     unsigned long arg1 
; 
8519     wxString 
*arg2 
= 0 ; 
8520     bool temp2 
= False 
; 
8521     PyObject 
* obj0 
= 0 ; 
8522     PyObject 
* obj1 
= 0 ; 
8524         (char *) "level",(char *) "msg", NULL 
 
8527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
; 
8528     arg1 
= (unsigned long) SWIG_AsUnsignedLong(obj0
);  
8529     if (PyErr_Occurred()) SWIG_fail
; 
8531         arg2 
= wxString_in_helper(obj1
); 
8532         if (arg2 
== NULL
) SWIG_fail
; 
8536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8537         wxLogGeneric(arg1
,(wxString 
const &)*arg2
); 
8539         wxPyEndAllowThreads(__tstate
); 
8540         if (PyErr_Occurred()) SWIG_fail
; 
8542     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8557 static PyObject 
*_wrap_SafeShowMessage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8558     PyObject 
*resultobj
; 
8559     wxString 
*arg1 
= 0 ; 
8560     wxString 
*arg2 
= 0 ; 
8561     bool temp1 
= False 
; 
8562     bool temp2 
= False 
; 
8563     PyObject 
* obj0 
= 0 ; 
8564     PyObject 
* obj1 
= 0 ; 
8566         (char *) "title",(char *) "text", NULL 
 
8569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
; 
8571         arg1 
= wxString_in_helper(obj0
); 
8572         if (arg1 
== NULL
) SWIG_fail
; 
8576         arg2 
= wxString_in_helper(obj1
); 
8577         if (arg2 
== NULL
) SWIG_fail
; 
8581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8582         wxSafeShowMessage((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
8584         wxPyEndAllowThreads(__tstate
); 
8585         if (PyErr_Occurred()) SWIG_fail
; 
8587     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8610 static PyObject 
*_wrap_new_LogNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8611     PyObject 
*resultobj
; 
8617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
; 
8619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8620         result 
= (wxLogNull 
*)new wxLogNull(); 
8622         wxPyEndAllowThreads(__tstate
); 
8623         if (PyErr_Occurred()) SWIG_fail
; 
8625     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1); 
8632 static PyObject 
*_wrap_delete_LogNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8633     PyObject 
*resultobj
; 
8634     wxLogNull 
*arg1 
= (wxLogNull 
*) 0 ; 
8635     PyObject 
* obj0 
= 0 ; 
8637         (char *) "self", NULL 
 
8640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
; 
8641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
, 
8642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8647         wxPyEndAllowThreads(__tstate
); 
8648         if (PyErr_Occurred()) SWIG_fail
; 
8650     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8657 static PyObject 
* LogNull_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8659     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8660     SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
); 
8662     return Py_BuildValue((char *)""); 
8664 static PyObject 
*_wrap_new_PyLog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8665     PyObject 
*resultobj
; 
8671     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
; 
8673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8674         result 
= (wxPyLog 
*)new wxPyLog(); 
8676         wxPyEndAllowThreads(__tstate
); 
8677         if (PyErr_Occurred()) SWIG_fail
; 
8679     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1); 
8686 static PyObject 
*_wrap_PyLog__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8687     PyObject 
*resultobj
; 
8688     wxPyLog 
*arg1 
= (wxPyLog 
*) 0 ; 
8689     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
8690     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
8691     PyObject 
* obj0 
= 0 ; 
8692     PyObject 
* obj1 
= 0 ; 
8693     PyObject 
* obj2 
= 0 ; 
8695         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
8698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
, 
8700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8705         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
8707         wxPyEndAllowThreads(__tstate
); 
8708         if (PyErr_Occurred()) SWIG_fail
; 
8710     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8717 static PyObject 
* PyLog_swigregister(PyObject 
*self
, PyObject 
*args
) { 
8719     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8720     SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
); 
8722     return Py_BuildValue((char *)""); 
8724 static PyObject 
*_wrap_Process_Kill(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8725     PyObject 
*resultobj
; 
8727     int arg2 
= (int) wxSIGTERM 
; 
8729     PyObject 
* obj0 
= 0 ; 
8730     PyObject 
* obj1 
= 0 ; 
8732         (char *) "pid",(char *) "sig", NULL 
 
8735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
; 
8736     arg1 
= (int) SWIG_AsInt(obj0
);  
8737     if (PyErr_Occurred()) SWIG_fail
; 
8739         arg2 
= (wxSignal
) SWIG_AsInt(obj1
);  
8740         if (PyErr_Occurred()) SWIG_fail
; 
8743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8744         result 
= (int)wxPyProcess::Kill(arg1
,(wxSignal 
)arg2
); 
8746         wxPyEndAllowThreads(__tstate
); 
8747         if (PyErr_Occurred()) SWIG_fail
; 
8749     resultobj 
= SWIG_FromInt((int)result
); 
8756 static PyObject 
*_wrap_Process_Exists(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8757     PyObject 
*resultobj
; 
8760     PyObject 
* obj0 
= 0 ; 
8762         (char *) "pid", NULL 
 
8765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
; 
8766     arg1 
= (int) SWIG_AsInt(obj0
);  
8767     if (PyErr_Occurred()) SWIG_fail
; 
8769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8770         result 
= (bool)wxPyProcess::Exists(arg1
); 
8772         wxPyEndAllowThreads(__tstate
); 
8773         if (PyErr_Occurred()) SWIG_fail
; 
8776         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8784 static PyObject 
*_wrap_Process_Open(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8785     PyObject 
*resultobj
; 
8786     wxString 
*arg1 
= 0 ; 
8787     int arg2 
= (int) wxEXEC_ASYNC 
; 
8788     wxPyProcess 
*result
; 
8789     bool temp1 
= False 
; 
8790     PyObject 
* obj0 
= 0 ; 
8791     PyObject 
* obj1 
= 0 ; 
8793         (char *) "cmd",(char *) "flags", NULL 
 
8796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
; 
8798         arg1 
= wxString_in_helper(obj0
); 
8799         if (arg1 
== NULL
) SWIG_fail
; 
8803         arg2 
= (int) SWIG_AsInt(obj1
);  
8804         if (PyErr_Occurred()) SWIG_fail
; 
8807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8808         result 
= (wxPyProcess 
*)wxPyProcess::Open((wxString 
const &)*arg1
,arg2
); 
8810         wxPyEndAllowThreads(__tstate
); 
8811         if (PyErr_Occurred()) SWIG_fail
; 
8813     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0); 
8828 static PyObject 
*_wrap_new_Process(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8829     PyObject 
*resultobj
; 
8830     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) NULL 
; 
8831     int arg2 
= (int) -1 ; 
8832     wxPyProcess 
*result
; 
8833     PyObject 
* obj0 
= 0 ; 
8834     PyObject 
* obj1 
= 0 ; 
8836         (char *) "parent",(char *) "id", NULL 
 
8839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
; 
8841         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
, 
8842         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8845         arg2 
= (int) SWIG_AsInt(obj1
);  
8846         if (PyErr_Occurred()) SWIG_fail
; 
8849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8850         result 
= (wxPyProcess 
*)new wxPyProcess(arg1
,arg2
); 
8852         wxPyEndAllowThreads(__tstate
); 
8853         if (PyErr_Occurred()) SWIG_fail
; 
8855     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1); 
8862 static PyObject 
*_wrap_Process__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8863     PyObject 
*resultobj
; 
8864     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
8865     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
8866     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
8867     PyObject 
* obj0 
= 0 ; 
8868     PyObject 
* obj1 
= 0 ; 
8869     PyObject 
* obj2 
= 0 ; 
8871         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
8874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
8876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8881         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
8883         wxPyEndAllowThreads(__tstate
); 
8884         if (PyErr_Occurred()) SWIG_fail
; 
8886     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8893 static PyObject 
*_wrap_Process_base_OnTerminate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8894     PyObject 
*resultobj
; 
8895     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
8898     PyObject 
* obj0 
= 0 ; 
8899     PyObject 
* obj1 
= 0 ; 
8900     PyObject 
* obj2 
= 0 ; 
8902         (char *) "self",(char *) "pid",(char *) "status", NULL 
 
8905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8906     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
8907     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8908     arg2 
= (int) SWIG_AsInt(obj1
);  
8909     if (PyErr_Occurred()) SWIG_fail
; 
8910     arg3 
= (int) SWIG_AsInt(obj2
);  
8911     if (PyErr_Occurred()) SWIG_fail
; 
8913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8914         (arg1
)->base_OnTerminate(arg2
,arg3
); 
8916         wxPyEndAllowThreads(__tstate
); 
8917         if (PyErr_Occurred()) SWIG_fail
; 
8919     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8926 static PyObject 
*_wrap_Process_Redirect(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8927     PyObject 
*resultobj
; 
8928     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
8929     PyObject 
* obj0 
= 0 ; 
8931         (char *) "self", NULL 
 
8934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
; 
8935     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
8936     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8941         wxPyEndAllowThreads(__tstate
); 
8942         if (PyErr_Occurred()) SWIG_fail
; 
8944     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8951 static PyObject 
*_wrap_Process_IsRedirected(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8952     PyObject 
*resultobj
; 
8953     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
8955     PyObject 
* obj0 
= 0 ; 
8957         (char *) "self", NULL 
 
8960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
; 
8961     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
8962     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8965         result 
= (bool)(arg1
)->IsRedirected(); 
8967         wxPyEndAllowThreads(__tstate
); 
8968         if (PyErr_Occurred()) SWIG_fail
; 
8971         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8979 static PyObject 
*_wrap_Process_Detach(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
8980     PyObject 
*resultobj
; 
8981     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
8982     PyObject 
* obj0 
= 0 ; 
8984         (char *) "self", NULL 
 
8987     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
; 
8988     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
8989     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
8991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8994         wxPyEndAllowThreads(__tstate
); 
8995         if (PyErr_Occurred()) SWIG_fail
; 
8997     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9004 static PyObject 
*_wrap_Process_GetInputStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9005     PyObject 
*resultobj
; 
9006     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9007     wxInputStream 
*result
; 
9008     PyObject 
* obj0 
= 0 ; 
9010         (char *) "self", NULL 
 
9013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
; 
9014     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9015     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9018         result 
= (wxInputStream 
*)(arg1
)->GetInputStream(); 
9020         wxPyEndAllowThreads(__tstate
); 
9021         if (PyErr_Occurred()) SWIG_fail
; 
9024         wxPyInputStream 
* _ptr 
= NULL
; 
9027             _ptr 
= new wxPyInputStream(result
); 
9029         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9037 static PyObject 
*_wrap_Process_GetErrorStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9038     PyObject 
*resultobj
; 
9039     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9040     wxInputStream 
*result
; 
9041     PyObject 
* obj0 
= 0 ; 
9043         (char *) "self", NULL 
 
9046     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
; 
9047     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9048     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9051         result 
= (wxInputStream 
*)(arg1
)->GetErrorStream(); 
9053         wxPyEndAllowThreads(__tstate
); 
9054         if (PyErr_Occurred()) SWIG_fail
; 
9057         wxPyInputStream 
* _ptr 
= NULL
; 
9060             _ptr 
= new wxPyInputStream(result
); 
9062         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
); 
9070 static PyObject 
*_wrap_Process_GetOutputStream(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9071     PyObject 
*resultobj
; 
9072     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9073     wxOutputStream 
*result
; 
9074     PyObject 
* obj0 
= 0 ; 
9076         (char *) "self", NULL 
 
9079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
; 
9080     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9081     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9084         result 
= (wxOutputStream 
*)(arg1
)->GetOutputStream(); 
9086         wxPyEndAllowThreads(__tstate
); 
9087         if (PyErr_Occurred()) SWIG_fail
; 
9089     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0); 
9096 static PyObject 
*_wrap_Process_CloseOutput(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9097     PyObject 
*resultobj
; 
9098     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9099     PyObject 
* obj0 
= 0 ; 
9101         (char *) "self", NULL 
 
9104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
; 
9105     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9106     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9109         (arg1
)->CloseOutput(); 
9111         wxPyEndAllowThreads(__tstate
); 
9112         if (PyErr_Occurred()) SWIG_fail
; 
9114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9121 static PyObject 
*_wrap_Process_IsInputOpened(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9122     PyObject 
*resultobj
; 
9123     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9125     PyObject 
* obj0 
= 0 ; 
9127         (char *) "self", NULL 
 
9130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
; 
9131     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9132     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9135         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputOpened(); 
9137         wxPyEndAllowThreads(__tstate
); 
9138         if (PyErr_Occurred()) SWIG_fail
; 
9141         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9149 static PyObject 
*_wrap_Process_IsInputAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9150     PyObject 
*resultobj
; 
9151     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9153     PyObject 
* obj0 
= 0 ; 
9155         (char *) "self", NULL 
 
9158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
; 
9159     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9160     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9163         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsInputAvailable(); 
9165         wxPyEndAllowThreads(__tstate
); 
9166         if (PyErr_Occurred()) SWIG_fail
; 
9169         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9177 static PyObject 
*_wrap_Process_IsErrorAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9178     PyObject 
*resultobj
; 
9179     wxPyProcess 
*arg1 
= (wxPyProcess 
*) 0 ; 
9181     PyObject 
* obj0 
= 0 ; 
9183         (char *) "self", NULL 
 
9186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
; 
9187     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
, 
9188     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9191         result 
= (bool)((wxPyProcess 
const *)arg1
)->IsErrorAvailable(); 
9193         wxPyEndAllowThreads(__tstate
); 
9194         if (PyErr_Occurred()) SWIG_fail
; 
9197         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9205 static PyObject 
* Process_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9207     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9208     SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
); 
9210     return Py_BuildValue((char *)""); 
9212 static PyObject 
*_wrap_new_ProcessEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9213     PyObject 
*resultobj
; 
9214     int arg1 
= (int) 0 ; 
9215     int arg2 
= (int) 0 ; 
9216     int arg3 
= (int) 0 ; 
9217     wxProcessEvent 
*result
; 
9218     PyObject 
* obj0 
= 0 ; 
9219     PyObject 
* obj1 
= 0 ; 
9220     PyObject 
* obj2 
= 0 ; 
9222         (char *) "id",(char *) "pid",(char *) "exitcode", NULL 
 
9225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9227         arg1 
= (int) SWIG_AsInt(obj0
);  
9228         if (PyErr_Occurred()) SWIG_fail
; 
9231         arg2 
= (int) SWIG_AsInt(obj1
);  
9232         if (PyErr_Occurred()) SWIG_fail
; 
9235         arg3 
= (int) SWIG_AsInt(obj2
);  
9236         if (PyErr_Occurred()) SWIG_fail
; 
9239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9240         result 
= (wxProcessEvent 
*)new wxProcessEvent(arg1
,arg2
,arg3
); 
9242         wxPyEndAllowThreads(__tstate
); 
9243         if (PyErr_Occurred()) SWIG_fail
; 
9245     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1); 
9252 static PyObject 
*_wrap_ProcessEvent_GetPid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9253     PyObject 
*resultobj
; 
9254     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9256     PyObject 
* obj0 
= 0 ; 
9258         (char *) "self", NULL 
 
9261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
; 
9262     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9263     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9266         result 
= (int)(arg1
)->GetPid(); 
9268         wxPyEndAllowThreads(__tstate
); 
9269         if (PyErr_Occurred()) SWIG_fail
; 
9271     resultobj 
= SWIG_FromInt((int)result
); 
9278 static PyObject 
*_wrap_ProcessEvent_GetExitCode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9279     PyObject 
*resultobj
; 
9280     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9282     PyObject 
* obj0 
= 0 ; 
9284         (char *) "self", NULL 
 
9287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
; 
9288     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9289     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9292         result 
= (int)(arg1
)->GetExitCode(); 
9294         wxPyEndAllowThreads(__tstate
); 
9295         if (PyErr_Occurred()) SWIG_fail
; 
9297     resultobj 
= SWIG_FromInt((int)result
); 
9304 static PyObject 
*_wrap_ProcessEvent_m_pid_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9305     PyObject 
*resultobj
; 
9306     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9308     PyObject 
* obj0 
= 0 ; 
9309     PyObject 
* obj1 
= 0 ; 
9311         (char *) "self",(char *) "m_pid", NULL 
 
9314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9315     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9316     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9317     arg2 
= (int) SWIG_AsInt(obj1
);  
9318     if (PyErr_Occurred()) SWIG_fail
; 
9319     if (arg1
) (arg1
)->m_pid 
= arg2
; 
9321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9328 static PyObject 
*_wrap_ProcessEvent_m_pid_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9329     PyObject 
*resultobj
; 
9330     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9332     PyObject 
* obj0 
= 0 ; 
9334         (char *) "self", NULL 
 
9337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
; 
9338     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9340     result 
= (int) ((arg1
)->m_pid
); 
9342     resultobj 
= SWIG_FromInt((int)result
); 
9349 static PyObject 
*_wrap_ProcessEvent_m_exitcode_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9350     PyObject 
*resultobj
; 
9351     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9353     PyObject 
* obj0 
= 0 ; 
9354     PyObject 
* obj1 
= 0 ; 
9356         (char *) "self",(char *) "m_exitcode", NULL 
 
9359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9360     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9361     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9362     arg2 
= (int) SWIG_AsInt(obj1
);  
9363     if (PyErr_Occurred()) SWIG_fail
; 
9364     if (arg1
) (arg1
)->m_exitcode 
= arg2
; 
9366     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9373 static PyObject 
*_wrap_ProcessEvent_m_exitcode_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9374     PyObject 
*resultobj
; 
9375     wxProcessEvent 
*arg1 
= (wxProcessEvent 
*) 0 ; 
9377     PyObject 
* obj0 
= 0 ; 
9379         (char *) "self", NULL 
 
9382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
; 
9383     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
, 
9384     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9385     result 
= (int) ((arg1
)->m_exitcode
); 
9387     resultobj 
= SWIG_FromInt((int)result
); 
9394 static PyObject 
* ProcessEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
9396     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9397     SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
); 
9399     return Py_BuildValue((char *)""); 
9401 static PyObject 
*_wrap_Execute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9402     PyObject 
*resultobj
; 
9403     wxString 
*arg1 
= 0 ; 
9404     int arg2 
= (int) wxEXEC_ASYNC 
; 
9405     wxPyProcess 
*arg3 
= (wxPyProcess 
*) NULL 
; 
9407     bool temp1 
= False 
; 
9408     PyObject 
* obj0 
= 0 ; 
9409     PyObject 
* obj1 
= 0 ; 
9410     PyObject 
* obj2 
= 0 ; 
9412         (char *) "command",(char *) "flags",(char *) "process", NULL 
 
9415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9417         arg1 
= wxString_in_helper(obj0
); 
9418         if (arg1 
== NULL
) SWIG_fail
; 
9422         arg2 
= (int) SWIG_AsInt(obj1
);  
9423         if (PyErr_Occurred()) SWIG_fail
; 
9426         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
, 
9427         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9431         result 
= (long)wxExecute((wxString 
const &)*arg1
,arg2
,arg3
); 
9433         wxPyEndAllowThreads(__tstate
); 
9434         if (PyErr_Occurred()) SWIG_fail
; 
9436     resultobj 
= SWIG_FromLong((long)result
); 
9451 static PyObject 
*_wrap_new_Joystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9452     PyObject 
*resultobj
; 
9453     int arg1 
= (int) wxJOYSTICK1 
; 
9455     PyObject 
* obj0 
= 0 ; 
9457         (char *) "joystick", NULL 
 
9460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
; 
9462         arg1 
= (int) SWIG_AsInt(obj0
);  
9463         if (PyErr_Occurred()) SWIG_fail
; 
9466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9467         result 
= (wxJoystick 
*)new wxJoystick(arg1
); 
9469         wxPyEndAllowThreads(__tstate
); 
9470         if (PyErr_Occurred()) SWIG_fail
; 
9472     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1); 
9479 static PyObject 
*_wrap_delete_Joystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9480     PyObject 
*resultobj
; 
9481     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9482     PyObject 
* obj0 
= 0 ; 
9484         (char *) "self", NULL 
 
9487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
; 
9488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9494         wxPyEndAllowThreads(__tstate
); 
9495         if (PyErr_Occurred()) SWIG_fail
; 
9497     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9504 static PyObject 
*_wrap_Joystick_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9505     PyObject 
*resultobj
; 
9506     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9508     PyObject 
* obj0 
= 0 ; 
9510         (char *) "self", NULL 
 
9513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
; 
9514     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9515     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9518         result 
= (arg1
)->GetPosition(); 
9520         wxPyEndAllowThreads(__tstate
); 
9521         if (PyErr_Occurred()) SWIG_fail
; 
9524         wxPoint 
* resultptr
; 
9525         resultptr 
= new wxPoint((wxPoint 
&) result
); 
9526         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
9534 static PyObject 
*_wrap_Joystick_GetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9535     PyObject 
*resultobj
; 
9536     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9538     PyObject 
* obj0 
= 0 ; 
9540         (char *) "self", NULL 
 
9543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
; 
9544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9548         result 
= (int)(arg1
)->GetZPosition(); 
9550         wxPyEndAllowThreads(__tstate
); 
9551         if (PyErr_Occurred()) SWIG_fail
; 
9553     resultobj 
= SWIG_FromInt((int)result
); 
9560 static PyObject 
*_wrap_Joystick_GetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9561     PyObject 
*resultobj
; 
9562     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9564     PyObject 
* obj0 
= 0 ; 
9566         (char *) "self", NULL 
 
9569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
; 
9570     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9571     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9574         result 
= (int)(arg1
)->GetButtonState(); 
9576         wxPyEndAllowThreads(__tstate
); 
9577         if (PyErr_Occurred()) SWIG_fail
; 
9579     resultobj 
= SWIG_FromInt((int)result
); 
9586 static PyObject 
*_wrap_Joystick_GetPOVPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9587     PyObject 
*resultobj
; 
9588     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9590     PyObject 
* obj0 
= 0 ; 
9592         (char *) "self", NULL 
 
9595     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
; 
9596     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9597     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9600         result 
= (int)(arg1
)->GetPOVPosition(); 
9602         wxPyEndAllowThreads(__tstate
); 
9603         if (PyErr_Occurred()) SWIG_fail
; 
9605     resultobj 
= SWIG_FromInt((int)result
); 
9612 static PyObject 
*_wrap_Joystick_GetPOVCTSPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9613     PyObject 
*resultobj
; 
9614     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9616     PyObject 
* obj0 
= 0 ; 
9618         (char *) "self", NULL 
 
9621     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
; 
9622     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9623     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9626         result 
= (int)(arg1
)->GetPOVCTSPosition(); 
9628         wxPyEndAllowThreads(__tstate
); 
9629         if (PyErr_Occurred()) SWIG_fail
; 
9631     resultobj 
= SWIG_FromInt((int)result
); 
9638 static PyObject 
*_wrap_Joystick_GetRudderPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9639     PyObject 
*resultobj
; 
9640     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9642     PyObject 
* obj0 
= 0 ; 
9644         (char *) "self", NULL 
 
9647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
; 
9648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9652         result 
= (int)(arg1
)->GetRudderPosition(); 
9654         wxPyEndAllowThreads(__tstate
); 
9655         if (PyErr_Occurred()) SWIG_fail
; 
9657     resultobj 
= SWIG_FromInt((int)result
); 
9664 static PyObject 
*_wrap_Joystick_GetUPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9665     PyObject 
*resultobj
; 
9666     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9668     PyObject 
* obj0 
= 0 ; 
9670         (char *) "self", NULL 
 
9673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
; 
9674     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9675     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9678         result 
= (int)(arg1
)->GetUPosition(); 
9680         wxPyEndAllowThreads(__tstate
); 
9681         if (PyErr_Occurred()) SWIG_fail
; 
9683     resultobj 
= SWIG_FromInt((int)result
); 
9690 static PyObject 
*_wrap_Joystick_GetVPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9691     PyObject 
*resultobj
; 
9692     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9694     PyObject 
* obj0 
= 0 ; 
9696         (char *) "self", NULL 
 
9699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
; 
9700     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9701     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9704         result 
= (int)(arg1
)->GetVPosition(); 
9706         wxPyEndAllowThreads(__tstate
); 
9707         if (PyErr_Occurred()) SWIG_fail
; 
9709     resultobj 
= SWIG_FromInt((int)result
); 
9716 static PyObject 
*_wrap_Joystick_GetMovementThreshold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9717     PyObject 
*resultobj
; 
9718     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9720     PyObject 
* obj0 
= 0 ; 
9722         (char *) "self", NULL 
 
9725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
; 
9726     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9727     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9730         result 
= (int)(arg1
)->GetMovementThreshold(); 
9732         wxPyEndAllowThreads(__tstate
); 
9733         if (PyErr_Occurred()) SWIG_fail
; 
9735     resultobj 
= SWIG_FromInt((int)result
); 
9742 static PyObject 
*_wrap_Joystick_SetMovementThreshold(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9743     PyObject 
*resultobj
; 
9744     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9746     PyObject 
* obj0 
= 0 ; 
9747     PyObject 
* obj1 
= 0 ; 
9749         (char *) "self",(char *) "threshold", NULL 
 
9752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
; 
9753     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9754     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9755     arg2 
= (int) SWIG_AsInt(obj1
);  
9756     if (PyErr_Occurred()) SWIG_fail
; 
9758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9759         (arg1
)->SetMovementThreshold(arg2
); 
9761         wxPyEndAllowThreads(__tstate
); 
9762         if (PyErr_Occurred()) SWIG_fail
; 
9764     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9771 static PyObject 
*_wrap_Joystick_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9772     PyObject 
*resultobj
; 
9773     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9775     PyObject 
* obj0 
= 0 ; 
9777         (char *) "self", NULL 
 
9780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
; 
9781     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9782     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9785         result 
= (bool)(arg1
)->IsOk(); 
9787         wxPyEndAllowThreads(__tstate
); 
9788         if (PyErr_Occurred()) SWIG_fail
; 
9791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9799 static PyObject 
*_wrap_Joystick_GetNumberJoysticks(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_GetNumberJoysticks",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
)->GetNumberJoysticks(); 
9815         wxPyEndAllowThreads(__tstate
); 
9816         if (PyErr_Occurred()) SWIG_fail
; 
9818     resultobj 
= SWIG_FromInt((int)result
); 
9825 static PyObject 
*_wrap_Joystick_GetManufacturerId(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_GetManufacturerId",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
)->GetManufacturerId(); 
9841         wxPyEndAllowThreads(__tstate
); 
9842         if (PyErr_Occurred()) SWIG_fail
; 
9844     resultobj 
= SWIG_FromInt((int)result
); 
9851 static PyObject 
*_wrap_Joystick_GetProductId(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_GetProductId",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
)->GetProductId(); 
9867         wxPyEndAllowThreads(__tstate
); 
9868         if (PyErr_Occurred()) SWIG_fail
; 
9870     resultobj 
= SWIG_FromInt((int)result
); 
9877 static PyObject 
*_wrap_Joystick_GetProductName(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_GetProductName",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 
= (arg1
)->GetProductName(); 
9893         wxPyEndAllowThreads(__tstate
); 
9894         if (PyErr_Occurred()) SWIG_fail
; 
9898         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9900         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9909 static PyObject 
*_wrap_Joystick_GetXMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9910     PyObject 
*resultobj
; 
9911     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9913     PyObject 
* obj0 
= 0 ; 
9915         (char *) "self", NULL 
 
9918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
; 
9919     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9920     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9922         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9923         result 
= (int)(arg1
)->GetXMin(); 
9925         wxPyEndAllowThreads(__tstate
); 
9926         if (PyErr_Occurred()) SWIG_fail
; 
9928     resultobj 
= SWIG_FromInt((int)result
); 
9935 static PyObject 
*_wrap_Joystick_GetYMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9936     PyObject 
*resultobj
; 
9937     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9939     PyObject 
* obj0 
= 0 ; 
9941         (char *) "self", NULL 
 
9944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
; 
9945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9949         result 
= (int)(arg1
)->GetYMin(); 
9951         wxPyEndAllowThreads(__tstate
); 
9952         if (PyErr_Occurred()) SWIG_fail
; 
9954     resultobj 
= SWIG_FromInt((int)result
); 
9961 static PyObject 
*_wrap_Joystick_GetZMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9962     PyObject 
*resultobj
; 
9963     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9965     PyObject 
* obj0 
= 0 ; 
9967         (char *) "self", NULL 
 
9970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
; 
9971     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9972     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
9974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9975         result 
= (int)(arg1
)->GetZMin(); 
9977         wxPyEndAllowThreads(__tstate
); 
9978         if (PyErr_Occurred()) SWIG_fail
; 
9980     resultobj 
= SWIG_FromInt((int)result
); 
9987 static PyObject 
*_wrap_Joystick_GetXMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
9988     PyObject 
*resultobj
; 
9989     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
9991     PyObject 
* obj0 
= 0 ; 
9993         (char *) "self", NULL 
 
9996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
; 
9997     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
9998     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10001         result 
= (int)(arg1
)->GetXMax(); 
10003         wxPyEndAllowThreads(__tstate
); 
10004         if (PyErr_Occurred()) SWIG_fail
; 
10006     resultobj 
= SWIG_FromInt((int)result
); 
10013 static PyObject 
*_wrap_Joystick_GetYMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10014     PyObject 
*resultobj
; 
10015     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10017     PyObject 
* obj0 
= 0 ; 
10018     char *kwnames
[] = { 
10019         (char *) "self", NULL 
 
10022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
; 
10023     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10024     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10027         result 
= (int)(arg1
)->GetYMax(); 
10029         wxPyEndAllowThreads(__tstate
); 
10030         if (PyErr_Occurred()) SWIG_fail
; 
10032     resultobj 
= SWIG_FromInt((int)result
); 
10039 static PyObject 
*_wrap_Joystick_GetZMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10040     PyObject 
*resultobj
; 
10041     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10043     PyObject 
* obj0 
= 0 ; 
10044     char *kwnames
[] = { 
10045         (char *) "self", NULL 
 
10048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
; 
10049     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10053         result 
= (int)(arg1
)->GetZMax(); 
10055         wxPyEndAllowThreads(__tstate
); 
10056         if (PyErr_Occurred()) SWIG_fail
; 
10058     resultobj 
= SWIG_FromInt((int)result
); 
10065 static PyObject 
*_wrap_Joystick_GetNumberButtons(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10066     PyObject 
*resultobj
; 
10067     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10069     PyObject 
* obj0 
= 0 ; 
10070     char *kwnames
[] = { 
10071         (char *) "self", NULL 
 
10074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
; 
10075     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10076     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10079         result 
= (int)(arg1
)->GetNumberButtons(); 
10081         wxPyEndAllowThreads(__tstate
); 
10082         if (PyErr_Occurred()) SWIG_fail
; 
10084     resultobj 
= SWIG_FromInt((int)result
); 
10091 static PyObject 
*_wrap_Joystick_GetNumberAxes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10092     PyObject 
*resultobj
; 
10093     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10095     PyObject 
* obj0 
= 0 ; 
10096     char *kwnames
[] = { 
10097         (char *) "self", NULL 
 
10100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
; 
10101     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10102     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10105         result 
= (int)(arg1
)->GetNumberAxes(); 
10107         wxPyEndAllowThreads(__tstate
); 
10108         if (PyErr_Occurred()) SWIG_fail
; 
10110     resultobj 
= SWIG_FromInt((int)result
); 
10117 static PyObject 
*_wrap_Joystick_GetMaxButtons(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10118     PyObject 
*resultobj
; 
10119     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10121     PyObject 
* obj0 
= 0 ; 
10122     char *kwnames
[] = { 
10123         (char *) "self", NULL 
 
10126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
; 
10127     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10128     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10131         result 
= (int)(arg1
)->GetMaxButtons(); 
10133         wxPyEndAllowThreads(__tstate
); 
10134         if (PyErr_Occurred()) SWIG_fail
; 
10136     resultobj 
= SWIG_FromInt((int)result
); 
10143 static PyObject 
*_wrap_Joystick_GetMaxAxes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10144     PyObject 
*resultobj
; 
10145     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10147     PyObject 
* obj0 
= 0 ; 
10148     char *kwnames
[] = { 
10149         (char *) "self", NULL 
 
10152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
; 
10153     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10154     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10157         result 
= (int)(arg1
)->GetMaxAxes(); 
10159         wxPyEndAllowThreads(__tstate
); 
10160         if (PyErr_Occurred()) SWIG_fail
; 
10162     resultobj 
= SWIG_FromInt((int)result
); 
10169 static PyObject 
*_wrap_Joystick_GetPollingMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10170     PyObject 
*resultobj
; 
10171     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10173     PyObject 
* obj0 
= 0 ; 
10174     char *kwnames
[] = { 
10175         (char *) "self", NULL 
 
10178     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
; 
10179     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10180     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10183         result 
= (int)(arg1
)->GetPollingMin(); 
10185         wxPyEndAllowThreads(__tstate
); 
10186         if (PyErr_Occurred()) SWIG_fail
; 
10188     resultobj 
= SWIG_FromInt((int)result
); 
10195 static PyObject 
*_wrap_Joystick_GetPollingMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10196     PyObject 
*resultobj
; 
10197     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10199     PyObject 
* obj0 
= 0 ; 
10200     char *kwnames
[] = { 
10201         (char *) "self", NULL 
 
10204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
; 
10205     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10206     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10209         result 
= (int)(arg1
)->GetPollingMax(); 
10211         wxPyEndAllowThreads(__tstate
); 
10212         if (PyErr_Occurred()) SWIG_fail
; 
10214     resultobj 
= SWIG_FromInt((int)result
); 
10221 static PyObject 
*_wrap_Joystick_GetRudderMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10222     PyObject 
*resultobj
; 
10223     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10225     PyObject 
* obj0 
= 0 ; 
10226     char *kwnames
[] = { 
10227         (char *) "self", NULL 
 
10230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
; 
10231     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10232     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10235         result 
= (int)(arg1
)->GetRudderMin(); 
10237         wxPyEndAllowThreads(__tstate
); 
10238         if (PyErr_Occurred()) SWIG_fail
; 
10240     resultobj 
= SWIG_FromInt((int)result
); 
10247 static PyObject 
*_wrap_Joystick_GetRudderMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10248     PyObject 
*resultobj
; 
10249     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10251     PyObject 
* obj0 
= 0 ; 
10252     char *kwnames
[] = { 
10253         (char *) "self", NULL 
 
10256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
; 
10257     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10258     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10261         result 
= (int)(arg1
)->GetRudderMax(); 
10263         wxPyEndAllowThreads(__tstate
); 
10264         if (PyErr_Occurred()) SWIG_fail
; 
10266     resultobj 
= SWIG_FromInt((int)result
); 
10273 static PyObject 
*_wrap_Joystick_GetUMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10274     PyObject 
*resultobj
; 
10275     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10277     PyObject 
* obj0 
= 0 ; 
10278     char *kwnames
[] = { 
10279         (char *) "self", NULL 
 
10282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
; 
10283     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10284     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10286         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10287         result 
= (int)(arg1
)->GetUMin(); 
10289         wxPyEndAllowThreads(__tstate
); 
10290         if (PyErr_Occurred()) SWIG_fail
; 
10292     resultobj 
= SWIG_FromInt((int)result
); 
10299 static PyObject 
*_wrap_Joystick_GetUMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10300     PyObject 
*resultobj
; 
10301     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10303     PyObject 
* obj0 
= 0 ; 
10304     char *kwnames
[] = { 
10305         (char *) "self", NULL 
 
10308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
; 
10309     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10310     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10313         result 
= (int)(arg1
)->GetUMax(); 
10315         wxPyEndAllowThreads(__tstate
); 
10316         if (PyErr_Occurred()) SWIG_fail
; 
10318     resultobj 
= SWIG_FromInt((int)result
); 
10325 static PyObject 
*_wrap_Joystick_GetVMin(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10326     PyObject 
*resultobj
; 
10327     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10329     PyObject 
* obj0 
= 0 ; 
10330     char *kwnames
[] = { 
10331         (char *) "self", NULL 
 
10334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
; 
10335     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10336     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10339         result 
= (int)(arg1
)->GetVMin(); 
10341         wxPyEndAllowThreads(__tstate
); 
10342         if (PyErr_Occurred()) SWIG_fail
; 
10344     resultobj 
= SWIG_FromInt((int)result
); 
10351 static PyObject 
*_wrap_Joystick_GetVMax(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10352     PyObject 
*resultobj
; 
10353     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10355     PyObject 
* obj0 
= 0 ; 
10356     char *kwnames
[] = { 
10357         (char *) "self", NULL 
 
10360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
; 
10361     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10362     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10365         result 
= (int)(arg1
)->GetVMax(); 
10367         wxPyEndAllowThreads(__tstate
); 
10368         if (PyErr_Occurred()) SWIG_fail
; 
10370     resultobj 
= SWIG_FromInt((int)result
); 
10377 static PyObject 
*_wrap_Joystick_HasRudder(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10378     PyObject 
*resultobj
; 
10379     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10381     PyObject 
* obj0 
= 0 ; 
10382     char *kwnames
[] = { 
10383         (char *) "self", NULL 
 
10386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
; 
10387     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10388     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10391         result 
= (bool)(arg1
)->HasRudder(); 
10393         wxPyEndAllowThreads(__tstate
); 
10394         if (PyErr_Occurred()) SWIG_fail
; 
10397         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10405 static PyObject 
*_wrap_Joystick_HasZ(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10406     PyObject 
*resultobj
; 
10407     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10409     PyObject 
* obj0 
= 0 ; 
10410     char *kwnames
[] = { 
10411         (char *) "self", NULL 
 
10414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
; 
10415     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10419         result 
= (bool)(arg1
)->HasZ(); 
10421         wxPyEndAllowThreads(__tstate
); 
10422         if (PyErr_Occurred()) SWIG_fail
; 
10425         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10433 static PyObject 
*_wrap_Joystick_HasU(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10434     PyObject 
*resultobj
; 
10435     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10437     PyObject 
* obj0 
= 0 ; 
10438     char *kwnames
[] = { 
10439         (char *) "self", NULL 
 
10442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
; 
10443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10447         result 
= (bool)(arg1
)->HasU(); 
10449         wxPyEndAllowThreads(__tstate
); 
10450         if (PyErr_Occurred()) SWIG_fail
; 
10453         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10461 static PyObject 
*_wrap_Joystick_HasV(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10462     PyObject 
*resultobj
; 
10463     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10465     PyObject 
* obj0 
= 0 ; 
10466     char *kwnames
[] = { 
10467         (char *) "self", NULL 
 
10470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
; 
10471     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10475         result 
= (bool)(arg1
)->HasV(); 
10477         wxPyEndAllowThreads(__tstate
); 
10478         if (PyErr_Occurred()) SWIG_fail
; 
10481         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10489 static PyObject 
*_wrap_Joystick_HasPOV(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10490     PyObject 
*resultobj
; 
10491     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10493     PyObject 
* obj0 
= 0 ; 
10494     char *kwnames
[] = { 
10495         (char *) "self", NULL 
 
10498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
; 
10499     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10500     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10503         result 
= (bool)(arg1
)->HasPOV(); 
10505         wxPyEndAllowThreads(__tstate
); 
10506         if (PyErr_Occurred()) SWIG_fail
; 
10509         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10517 static PyObject 
*_wrap_Joystick_HasPOV4Dir(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10518     PyObject 
*resultobj
; 
10519     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10521     PyObject 
* obj0 
= 0 ; 
10522     char *kwnames
[] = { 
10523         (char *) "self", NULL 
 
10526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
; 
10527     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10528     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10530         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10531         result 
= (bool)(arg1
)->HasPOV4Dir(); 
10533         wxPyEndAllowThreads(__tstate
); 
10534         if (PyErr_Occurred()) SWIG_fail
; 
10537         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10545 static PyObject 
*_wrap_Joystick_HasPOVCTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10546     PyObject 
*resultobj
; 
10547     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10549     PyObject 
* obj0 
= 0 ; 
10550     char *kwnames
[] = { 
10551         (char *) "self", NULL 
 
10554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
; 
10555     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10556     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10559         result 
= (bool)(arg1
)->HasPOVCTS(); 
10561         wxPyEndAllowThreads(__tstate
); 
10562         if (PyErr_Occurred()) SWIG_fail
; 
10565         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10573 static PyObject 
*_wrap_Joystick_SetCapture(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10574     PyObject 
*resultobj
; 
10575     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10576     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10577     int arg3 
= (int) 0 ; 
10579     PyObject 
* obj0 
= 0 ; 
10580     PyObject 
* obj1 
= 0 ; 
10581     PyObject 
* obj2 
= 0 ; 
10582     char *kwnames
[] = { 
10583         (char *) "self",(char *) "win",(char *) "pollingFreq", NULL 
 
10586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10587     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10588     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10589     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
10590     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10592         arg3 
= (int) SWIG_AsInt(obj2
);  
10593         if (PyErr_Occurred()) SWIG_fail
; 
10596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10597         result 
= (bool)(arg1
)->SetCapture(arg2
,arg3
); 
10599         wxPyEndAllowThreads(__tstate
); 
10600         if (PyErr_Occurred()) SWIG_fail
; 
10603         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10611 static PyObject 
*_wrap_Joystick_ReleaseCapture(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10612     PyObject 
*resultobj
; 
10613     wxJoystick 
*arg1 
= (wxJoystick 
*) 0 ; 
10615     PyObject 
* obj0 
= 0 ; 
10616     char *kwnames
[] = { 
10617         (char *) "self", NULL 
 
10620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
; 
10621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
, 
10622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10625         result 
= (bool)(arg1
)->ReleaseCapture(); 
10627         wxPyEndAllowThreads(__tstate
); 
10628         if (PyErr_Occurred()) SWIG_fail
; 
10631         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10639 static PyObject 
* Joystick_swigregister(PyObject 
*self
, PyObject 
*args
) { 
10641     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10642     SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
); 
10644     return Py_BuildValue((char *)""); 
10646 static PyObject 
*_wrap_JoystickEvent_m_pos_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10647     PyObject 
*resultobj
; 
10648     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10649     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
10650     PyObject 
* obj0 
= 0 ; 
10651     PyObject 
* obj1 
= 0 ; 
10652     char *kwnames
[] = { 
10653         (char *) "self",(char *) "m_pos", NULL 
 
10656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10657     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10658     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10659     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
, 
10660     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10661     if (arg1
) (arg1
)->m_pos 
= *arg2
; 
10663     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10670 static PyObject 
*_wrap_JoystickEvent_m_pos_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10671     PyObject 
*resultobj
; 
10672     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10674     PyObject 
* obj0 
= 0 ; 
10675     char *kwnames
[] = { 
10676         (char *) "self", NULL 
 
10679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
; 
10680     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10681     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10682     result 
= (wxPoint 
*)& ((arg1
)->m_pos
); 
10684     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
10691 static PyObject 
*_wrap_JoystickEvent_m_zPosition_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10692     PyObject 
*resultobj
; 
10693     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10695     PyObject 
* obj0 
= 0 ; 
10696     PyObject 
* obj1 
= 0 ; 
10697     char *kwnames
[] = { 
10698         (char *) "self",(char *) "m_zPosition", NULL 
 
10701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10702     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10703     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10704     arg2 
= (int) SWIG_AsInt(obj1
);  
10705     if (PyErr_Occurred()) SWIG_fail
; 
10706     if (arg1
) (arg1
)->m_zPosition 
= arg2
; 
10708     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10715 static PyObject 
*_wrap_JoystickEvent_m_zPosition_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10716     PyObject 
*resultobj
; 
10717     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10719     PyObject 
* obj0 
= 0 ; 
10720     char *kwnames
[] = { 
10721         (char *) "self", NULL 
 
10724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
; 
10725     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10726     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10727     result 
= (int) ((arg1
)->m_zPosition
); 
10729     resultobj 
= SWIG_FromInt((int)result
); 
10736 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10737     PyObject 
*resultobj
; 
10738     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10740     PyObject 
* obj0 
= 0 ; 
10741     PyObject 
* obj1 
= 0 ; 
10742     char *kwnames
[] = { 
10743         (char *) "self",(char *) "m_buttonChange", NULL 
 
10746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10747     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10748     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10749     arg2 
= (int) SWIG_AsInt(obj1
);  
10750     if (PyErr_Occurred()) SWIG_fail
; 
10751     if (arg1
) (arg1
)->m_buttonChange 
= arg2
; 
10753     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10760 static PyObject 
*_wrap_JoystickEvent_m_buttonChange_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10761     PyObject 
*resultobj
; 
10762     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10764     PyObject 
* obj0 
= 0 ; 
10765     char *kwnames
[] = { 
10766         (char *) "self", NULL 
 
10769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
; 
10770     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10771     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10772     result 
= (int) ((arg1
)->m_buttonChange
); 
10774     resultobj 
= SWIG_FromInt((int)result
); 
10781 static PyObject 
*_wrap_JoystickEvent_m_buttonState_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10782     PyObject 
*resultobj
; 
10783     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10785     PyObject 
* obj0 
= 0 ; 
10786     PyObject 
* obj1 
= 0 ; 
10787     char *kwnames
[] = { 
10788         (char *) "self",(char *) "m_buttonState", NULL 
 
10791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10792     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10793     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10794     arg2 
= (int) SWIG_AsInt(obj1
);  
10795     if (PyErr_Occurred()) SWIG_fail
; 
10796     if (arg1
) (arg1
)->m_buttonState 
= arg2
; 
10798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10805 static PyObject 
*_wrap_JoystickEvent_m_buttonState_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10806     PyObject 
*resultobj
; 
10807     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10809     PyObject 
* obj0 
= 0 ; 
10810     char *kwnames
[] = { 
10811         (char *) "self", NULL 
 
10814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
; 
10815     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10816     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10817     result 
= (int) ((arg1
)->m_buttonState
); 
10819     resultobj 
= SWIG_FromInt((int)result
); 
10826 static PyObject 
*_wrap_JoystickEvent_m_joyStick_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10827     PyObject 
*resultobj
; 
10828     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10830     PyObject 
* obj0 
= 0 ; 
10831     PyObject 
* obj1 
= 0 ; 
10832     char *kwnames
[] = { 
10833         (char *) "self",(char *) "m_joyStick", NULL 
 
10836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10837     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10838     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10839     arg2 
= (int) SWIG_AsInt(obj1
);  
10840     if (PyErr_Occurred()) SWIG_fail
; 
10841     if (arg1
) (arg1
)->m_joyStick 
= arg2
; 
10843     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10850 static PyObject 
*_wrap_JoystickEvent_m_joyStick_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10851     PyObject 
*resultobj
; 
10852     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10854     PyObject 
* obj0 
= 0 ; 
10855     char *kwnames
[] = { 
10856         (char *) "self", NULL 
 
10859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
; 
10860     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10861     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10862     result 
= (int) ((arg1
)->m_joyStick
); 
10864     resultobj 
= SWIG_FromInt((int)result
); 
10871 static PyObject 
*_wrap_new_JoystickEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10872     PyObject 
*resultobj
; 
10873     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
10874     int arg2 
= (int) 0 ; 
10875     int arg3 
= (int) wxJOYSTICK1 
; 
10876     int arg4 
= (int) 0 ; 
10877     wxJoystickEvent 
*result
; 
10878     PyObject 
* obj0 
= 0 ; 
10879     PyObject 
* obj1 
= 0 ; 
10880     PyObject 
* obj2 
= 0 ; 
10881     PyObject 
* obj3 
= 0 ; 
10882     char *kwnames
[] = { 
10883         (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL 
 
10886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10888         arg1 
= (wxEventType
) SWIG_AsInt(obj0
);  
10889         if (PyErr_Occurred()) SWIG_fail
; 
10892         arg2 
= (int) SWIG_AsInt(obj1
);  
10893         if (PyErr_Occurred()) SWIG_fail
; 
10896         arg3 
= (int) SWIG_AsInt(obj2
);  
10897         if (PyErr_Occurred()) SWIG_fail
; 
10900         arg4 
= (int) SWIG_AsInt(obj3
);  
10901         if (PyErr_Occurred()) SWIG_fail
; 
10904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10905         result 
= (wxJoystickEvent 
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
); 
10907         wxPyEndAllowThreads(__tstate
); 
10908         if (PyErr_Occurred()) SWIG_fail
; 
10910     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1); 
10917 static PyObject 
*_wrap_JoystickEvent_GetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10918     PyObject 
*resultobj
; 
10919     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10921     PyObject 
* obj0 
= 0 ; 
10922     char *kwnames
[] = { 
10923         (char *) "self", NULL 
 
10926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
10927     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10928     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10931         result 
= ((wxJoystickEvent 
const *)arg1
)->GetPosition(); 
10933         wxPyEndAllowThreads(__tstate
); 
10934         if (PyErr_Occurred()) SWIG_fail
; 
10937         wxPoint 
* resultptr
; 
10938         resultptr 
= new wxPoint((wxPoint 
&) result
); 
10939         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
10947 static PyObject 
*_wrap_JoystickEvent_GetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10948     PyObject 
*resultobj
; 
10949     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10951     PyObject 
* obj0 
= 0 ; 
10952     char *kwnames
[] = { 
10953         (char *) "self", NULL 
 
10956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
; 
10957     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10958     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10960         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10961         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetZPosition(); 
10963         wxPyEndAllowThreads(__tstate
); 
10964         if (PyErr_Occurred()) SWIG_fail
; 
10966     resultobj 
= SWIG_FromInt((int)result
); 
10973 static PyObject 
*_wrap_JoystickEvent_GetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
10974     PyObject 
*resultobj
; 
10975     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
10977     PyObject 
* obj0 
= 0 ; 
10978     char *kwnames
[] = { 
10979         (char *) "self", NULL 
 
10982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
; 
10983     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
10984     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
10986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10987         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonState(); 
10989         wxPyEndAllowThreads(__tstate
); 
10990         if (PyErr_Occurred()) SWIG_fail
; 
10992     resultobj 
= SWIG_FromInt((int)result
); 
10999 static PyObject 
*_wrap_JoystickEvent_GetButtonChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11000     PyObject 
*resultobj
; 
11001     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11003     PyObject 
* obj0 
= 0 ; 
11004     char *kwnames
[] = { 
11005         (char *) "self", NULL 
 
11008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
; 
11009     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11010     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11013         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetButtonChange(); 
11015         wxPyEndAllowThreads(__tstate
); 
11016         if (PyErr_Occurred()) SWIG_fail
; 
11018     resultobj 
= SWIG_FromInt((int)result
); 
11025 static PyObject 
*_wrap_JoystickEvent_GetJoystick(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_GetJoystick",kwnames
,&obj0
)) goto fail
; 
11035     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11036     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11039         result 
= (int)((wxJoystickEvent 
const *)arg1
)->GetJoystick(); 
11041         wxPyEndAllowThreads(__tstate
); 
11042         if (PyErr_Occurred()) SWIG_fail
; 
11044     resultobj 
= SWIG_FromInt((int)result
); 
11051 static PyObject 
*_wrap_JoystickEvent_SetJoystick(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11052     PyObject 
*resultobj
; 
11053     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11055     PyObject 
* obj0 
= 0 ; 
11056     PyObject 
* obj1 
= 0 ; 
11057     char *kwnames
[] = { 
11058         (char *) "self",(char *) "stick", NULL 
 
11061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
; 
11062     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11063     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11064     arg2 
= (int) SWIG_AsInt(obj1
);  
11065     if (PyErr_Occurred()) SWIG_fail
; 
11067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11068         (arg1
)->SetJoystick(arg2
); 
11070         wxPyEndAllowThreads(__tstate
); 
11071         if (PyErr_Occurred()) SWIG_fail
; 
11073     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11080 static PyObject 
*_wrap_JoystickEvent_SetButtonState(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11081     PyObject 
*resultobj
; 
11082     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11084     PyObject 
* obj0 
= 0 ; 
11085     PyObject 
* obj1 
= 0 ; 
11086     char *kwnames
[] = { 
11087         (char *) "self",(char *) "state", NULL 
 
11090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
; 
11091     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11092     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11093     arg2 
= (int) SWIG_AsInt(obj1
);  
11094     if (PyErr_Occurred()) SWIG_fail
; 
11096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11097         (arg1
)->SetButtonState(arg2
); 
11099         wxPyEndAllowThreads(__tstate
); 
11100         if (PyErr_Occurred()) SWIG_fail
; 
11102     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11109 static PyObject 
*_wrap_JoystickEvent_SetButtonChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11110     PyObject 
*resultobj
; 
11111     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11113     PyObject 
* obj0 
= 0 ; 
11114     PyObject 
* obj1 
= 0 ; 
11115     char *kwnames
[] = { 
11116         (char *) "self",(char *) "change", NULL 
 
11119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
; 
11120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11122     arg2 
= (int) SWIG_AsInt(obj1
);  
11123     if (PyErr_Occurred()) SWIG_fail
; 
11125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11126         (arg1
)->SetButtonChange(arg2
); 
11128         wxPyEndAllowThreads(__tstate
); 
11129         if (PyErr_Occurred()) SWIG_fail
; 
11131     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11138 static PyObject 
*_wrap_JoystickEvent_SetPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11139     PyObject 
*resultobj
; 
11140     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11141     wxPoint 
*arg2 
= 0 ; 
11143     PyObject 
* obj0 
= 0 ; 
11144     PyObject 
* obj1 
= 0 ; 
11145     char *kwnames
[] = { 
11146         (char *) "self",(char *) "pos", NULL 
 
11149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11154         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11158         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
11160         wxPyEndAllowThreads(__tstate
); 
11161         if (PyErr_Occurred()) SWIG_fail
; 
11163     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11170 static PyObject 
*_wrap_JoystickEvent_SetZPosition(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11171     PyObject 
*resultobj
; 
11172     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11174     PyObject 
* obj0 
= 0 ; 
11175     PyObject 
* obj1 
= 0 ; 
11176     char *kwnames
[] = { 
11177         (char *) "self",(char *) "zPos", NULL 
 
11180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11181     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11182     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11183     arg2 
= (int) SWIG_AsInt(obj1
);  
11184     if (PyErr_Occurred()) SWIG_fail
; 
11186         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11187         (arg1
)->SetZPosition(arg2
); 
11189         wxPyEndAllowThreads(__tstate
); 
11190         if (PyErr_Occurred()) SWIG_fail
; 
11192     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11199 static PyObject 
*_wrap_JoystickEvent_IsButton(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11200     PyObject 
*resultobj
; 
11201     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11203     PyObject 
* obj0 
= 0 ; 
11204     char *kwnames
[] = { 
11205         (char *) "self", NULL 
 
11208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
; 
11209     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11210     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11212         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11213         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsButton(); 
11215         wxPyEndAllowThreads(__tstate
); 
11216         if (PyErr_Occurred()) SWIG_fail
; 
11219         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11227 static PyObject 
*_wrap_JoystickEvent_IsMove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11228     PyObject 
*resultobj
; 
11229     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11231     PyObject 
* obj0 
= 0 ; 
11232     char *kwnames
[] = { 
11233         (char *) "self", NULL 
 
11236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
; 
11237     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11241         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsMove(); 
11243         wxPyEndAllowThreads(__tstate
); 
11244         if (PyErr_Occurred()) SWIG_fail
; 
11247         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11255 static PyObject 
*_wrap_JoystickEvent_IsZMove(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11256     PyObject 
*resultobj
; 
11257     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11259     PyObject 
* obj0 
= 0 ; 
11260     char *kwnames
[] = { 
11261         (char *) "self", NULL 
 
11264     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
; 
11265     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11266     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11268         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11269         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->IsZMove(); 
11271         wxPyEndAllowThreads(__tstate
); 
11272         if (PyErr_Occurred()) SWIG_fail
; 
11275         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11283 static PyObject 
*_wrap_JoystickEvent_ButtonDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11284     PyObject 
*resultobj
; 
11285     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11286     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11288     PyObject 
* obj0 
= 0 ; 
11289     PyObject 
* obj1 
= 0 ; 
11290     char *kwnames
[] = { 
11291         (char *) "self",(char *) "but", NULL 
 
11294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11295     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11296     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11298         arg2 
= (int) SWIG_AsInt(obj1
);  
11299         if (PyErr_Occurred()) SWIG_fail
; 
11302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11303         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonDown(arg2
); 
11305         wxPyEndAllowThreads(__tstate
); 
11306         if (PyErr_Occurred()) SWIG_fail
; 
11309         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11317 static PyObject 
*_wrap_JoystickEvent_ButtonUp(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11318     PyObject 
*resultobj
; 
11319     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11320     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11322     PyObject 
* obj0 
= 0 ; 
11323     PyObject 
* obj1 
= 0 ; 
11324     char *kwnames
[] = { 
11325         (char *) "self",(char *) "but", NULL 
 
11328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
; 
11329     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11330     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11332         arg2 
= (int) SWIG_AsInt(obj1
);  
11333         if (PyErr_Occurred()) SWIG_fail
; 
11336         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11337         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonUp(arg2
); 
11339         wxPyEndAllowThreads(__tstate
); 
11340         if (PyErr_Occurred()) SWIG_fail
; 
11343         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11351 static PyObject 
*_wrap_JoystickEvent_ButtonIsDown(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11352     PyObject 
*resultobj
; 
11353     wxJoystickEvent 
*arg1 
= (wxJoystickEvent 
*) 0 ; 
11354     int arg2 
= (int) wxJOY_BUTTON_ANY 
; 
11356     PyObject 
* obj0 
= 0 ; 
11357     PyObject 
* obj1 
= 0 ; 
11358     char *kwnames
[] = { 
11359         (char *) "self",(char *) "but", NULL 
 
11362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
11363     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
, 
11364     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11366         arg2 
= (int) SWIG_AsInt(obj1
);  
11367         if (PyErr_Occurred()) SWIG_fail
; 
11370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11371         result 
= (bool)((wxJoystickEvent 
const *)arg1
)->ButtonIsDown(arg2
); 
11373         wxPyEndAllowThreads(__tstate
); 
11374         if (PyErr_Occurred()) SWIG_fail
; 
11377         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11385 static PyObject 
* JoystickEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11387     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11388     SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
); 
11390     return Py_BuildValue((char *)""); 
11392 static PyObject 
*_wrap_new_Sound__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
11393     PyObject 
*resultobj
; 
11396     if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
; 
11398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11399         result 
= (wxSound 
*)new wxSound(); 
11401         wxPyEndAllowThreads(__tstate
); 
11402         if (PyErr_Occurred()) SWIG_fail
; 
11404     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11411 static PyObject 
*_wrap_new_Sound__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
11412     PyObject 
*resultobj
; 
11413     wxString 
*arg1 
= 0 ; 
11414     bool arg2 
= (bool) false ; 
11416     bool temp1 
= False 
; 
11417     PyObject 
* obj0 
= 0 ; 
11418     PyObject 
* obj1 
= 0 ; 
11420     if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
; 
11422         arg1 
= wxString_in_helper(obj0
); 
11423         if (arg1 
== NULL
) SWIG_fail
; 
11427         arg2 
= (bool) SWIG_AsBool(obj1
);  
11428         if (PyErr_Occurred()) SWIG_fail
; 
11431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11432         result 
= (wxSound 
*)new wxSound((wxString 
const &)*arg1
,arg2
); 
11434         wxPyEndAllowThreads(__tstate
); 
11435         if (PyErr_Occurred()) SWIG_fail
; 
11437     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11452 static PyObject 
*_wrap_new_Sound__SWIG_2(PyObject 
*self
, PyObject 
*args
) { 
11453     PyObject 
*resultobj
; 
11455     wxByte 
*arg2 
= (wxByte 
*) 0 ; 
11457     PyObject 
* obj0 
= 0 ; 
11458     PyObject 
* obj1 
= 0 ; 
11460     if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
; 
11461     arg1 
= (int) SWIG_AsInt(obj0
);  
11462     if (PyErr_Occurred()) SWIG_fail
; 
11463     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
, 
11464     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11467         result 
= (wxSound 
*)new wxSound(arg1
,(wxByte 
const *)arg2
); 
11469         wxPyEndAllowThreads(__tstate
); 
11470         if (PyErr_Occurred()) SWIG_fail
; 
11472     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1); 
11479 static PyObject 
*_wrap_new_Sound(PyObject 
*self
, PyObject 
*args
) { 
11484     argc 
= PyObject_Length(args
); 
11485     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
11486         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
11489         return _wrap_new_Sound__SWIG_0(self
,args
); 
11491     if ((argc 
>= 1) && (argc 
<= 2)) { 
11494             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
11498                 return _wrap_new_Sound__SWIG_1(self
,args
); 
11500             _v 
= SWIG_CheckBool(argv
[1]); 
11502                 return _wrap_new_Sound__SWIG_1(self
,args
); 
11508         _v 
= SWIG_CheckInt(argv
[0]); 
11512                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) { 
11520                 return _wrap_new_Sound__SWIG_2(self
,args
); 
11525     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'"); 
11530 static PyObject 
*_wrap_delete_Sound(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11531     PyObject 
*resultobj
; 
11532     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11533     PyObject 
* obj0 
= 0 ; 
11534     char *kwnames
[] = { 
11535         (char *) "self", NULL 
 
11538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
; 
11539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11545         wxPyEndAllowThreads(__tstate
); 
11546         if (PyErr_Occurred()) SWIG_fail
; 
11548     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11555 static PyObject 
*_wrap_Sound_Create__SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
11556     PyObject 
*resultobj
; 
11557     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11558     wxString 
*arg2 
= 0 ; 
11559     bool arg3 
= (bool) false ; 
11561     bool temp2 
= False 
; 
11562     PyObject 
* obj0 
= 0 ; 
11563     PyObject 
* obj1 
= 0 ; 
11564     PyObject 
* obj2 
= 0 ; 
11566     if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
; 
11567     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11568     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11570         arg2 
= wxString_in_helper(obj1
); 
11571         if (arg2 
== NULL
) SWIG_fail
; 
11575         arg3 
= (bool) SWIG_AsBool(obj2
);  
11576         if (PyErr_Occurred()) SWIG_fail
; 
11579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11580         result 
= (bool)(arg1
)->Create((wxString 
const &)*arg2
,arg3
); 
11582         wxPyEndAllowThreads(__tstate
); 
11583         if (PyErr_Occurred()) SWIG_fail
; 
11586         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11602 static PyObject 
*_wrap_Sound_Create__SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
11603     PyObject 
*resultobj
; 
11604     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11606     wxByte 
*arg3 
= (wxByte 
*) 0 ; 
11608     PyObject 
* obj0 
= 0 ; 
11609     PyObject 
* obj1 
= 0 ; 
11610     PyObject 
* obj2 
= 0 ; 
11612     if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
; 
11613     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11614     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11615     arg2 
= (int) SWIG_AsInt(obj1
);  
11616     if (PyErr_Occurred()) SWIG_fail
; 
11617     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
, 
11618     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11621         result 
= (bool)wxSound_Create__SWIG_1(arg1
,arg2
,(wxByte 
const *)arg3
); 
11623         wxPyEndAllowThreads(__tstate
); 
11624         if (PyErr_Occurred()) SWIG_fail
; 
11627         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11635 static PyObject 
*_wrap_Sound_Create(PyObject 
*self
, PyObject 
*args
) { 
11640     argc 
= PyObject_Length(args
); 
11641     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
11642         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
11644     if ((argc 
>= 2) && (argc 
<= 3)) { 
11648             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) { 
11657                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
11661                     return _wrap_Sound_Create__SWIG_0(self
,args
); 
11663                 _v 
= SWIG_CheckBool(argv
[2]); 
11665                     return _wrap_Sound_Create__SWIG_0(self
,args
); 
11674             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) { 
11682             _v 
= SWIG_CheckInt(argv
[1]); 
11686                     if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) { 
11694                     return _wrap_Sound_Create__SWIG_1(self
,args
); 
11700     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'"); 
11705 static PyObject 
*_wrap_Sound_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11706     PyObject 
*resultobj
; 
11707     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11709     PyObject 
* obj0 
= 0 ; 
11710     char *kwnames
[] = { 
11711         (char *) "self", NULL 
 
11714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
; 
11715     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11716     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11719         result 
= (bool)(arg1
)->IsOk(); 
11721         wxPyEndAllowThreads(__tstate
); 
11722         if (PyErr_Occurred()) SWIG_fail
; 
11725         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11733 static PyObject 
*_wrap_Sound_Play(PyObject 
*self
, PyObject 
*args
) { 
11734     PyObject 
*resultobj
; 
11735     wxSound 
*arg1 
= (wxSound 
*) 0 ; 
11736     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
11738     PyObject 
* obj0 
= 0 ; 
11739     PyObject 
* obj1 
= 0 ; 
11741     if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
; 
11742     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
, 
11743     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
11745         arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
11746         if (PyErr_Occurred()) SWIG_fail
; 
11749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11750         result 
= (bool)((wxSound 
const *)arg1
)->Play(arg2
); 
11752         wxPyEndAllowThreads(__tstate
); 
11753         if (PyErr_Occurred()) SWIG_fail
; 
11756         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11764 static PyObject 
*_wrap_Sound_PlaySound(PyObject 
*self
, PyObject 
*args
) { 
11765     PyObject 
*resultobj
; 
11766     wxString 
*arg1 
= 0 ; 
11767     unsigned int arg2 
= (unsigned int) wxSOUND_ASYNC 
; 
11769     bool temp1 
= False 
; 
11770     PyObject 
* obj0 
= 0 ; 
11771     PyObject 
* obj1 
= 0 ; 
11773     if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
; 
11775         arg1 
= wxString_in_helper(obj0
); 
11776         if (arg1 
== NULL
) SWIG_fail
; 
11780         arg2 
= (unsigned int) SWIG_AsUnsignedInt(obj1
);  
11781         if (PyErr_Occurred()) SWIG_fail
; 
11784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11785         result 
= (bool)wxSound::Play((wxString 
const &)*arg1
,arg2
); 
11787         wxPyEndAllowThreads(__tstate
); 
11788         if (PyErr_Occurred()) SWIG_fail
; 
11791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11807 static PyObject 
*_wrap_Sound_Stop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11808     PyObject 
*resultobj
; 
11809     char *kwnames
[] = { 
11813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
; 
11815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11818         wxPyEndAllowThreads(__tstate
); 
11819         if (PyErr_Occurred()) SWIG_fail
; 
11821     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11828 static PyObject 
* Sound_swigregister(PyObject 
*self
, PyObject 
*args
) { 
11830     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11831     SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
); 
11833     return Py_BuildValue((char *)""); 
11835 static PyObject 
*_wrap_new_FileTypeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11836     PyObject 
*resultobj
; 
11837     wxString 
*arg1 
= 0 ; 
11838     wxString 
*arg2 
= 0 ; 
11839     wxString 
*arg3 
= 0 ; 
11840     wxString 
*arg4 
= 0 ; 
11841     wxFileTypeInfo 
*result
; 
11842     bool temp1 
= False 
; 
11843     bool temp2 
= False 
; 
11844     bool temp3 
= False 
; 
11845     bool temp4 
= False 
; 
11846     PyObject 
* obj0 
= 0 ; 
11847     PyObject 
* obj1 
= 0 ; 
11848     PyObject 
* obj2 
= 0 ; 
11849     PyObject 
* obj3 
= 0 ; 
11850     char *kwnames
[] = { 
11851         (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL 
 
11854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11856         arg1 
= wxString_in_helper(obj0
); 
11857         if (arg1 
== NULL
) SWIG_fail
; 
11861         arg2 
= wxString_in_helper(obj1
); 
11862         if (arg2 
== NULL
) SWIG_fail
; 
11866         arg3 
= wxString_in_helper(obj2
); 
11867         if (arg3 
== NULL
) SWIG_fail
; 
11871         arg4 
= wxString_in_helper(obj3
); 
11872         if (arg4 
== NULL
) SWIG_fail
; 
11876         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11877         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
11879         wxPyEndAllowThreads(__tstate
); 
11880         if (PyErr_Occurred()) SWIG_fail
; 
11882     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
11921 static PyObject 
*_wrap_new_FileTypeInfoSequence(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11922     PyObject 
*resultobj
; 
11923     wxArrayString 
*arg1 
= 0 ; 
11924     wxFileTypeInfo 
*result
; 
11925     bool temp1 
= False 
; 
11926     PyObject 
* obj0 
= 0 ; 
11927     char *kwnames
[] = { 
11928         (char *) "sArray", NULL 
 
11931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
; 
11933         if (! PySequence_Check(obj0
)) { 
11934             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
11937         arg1 
= new wxArrayString
; 
11939         int i
, len
=PySequence_Length(obj0
); 
11940         for (i
=0; i
<len
; i
++) { 
11941             PyObject
* item 
= PySequence_GetItem(obj0
, i
); 
11943             PyObject
* str  
= PyObject_Unicode(item
); 
11945             PyObject
* str  
= PyObject_Str(item
); 
11947             if (PyErr_Occurred())  SWIG_fail
; 
11948             arg1
->Add(Py2wxString(str
)); 
11954         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11955         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo((wxArrayString 
const &)*arg1
); 
11957         wxPyEndAllowThreads(__tstate
); 
11958         if (PyErr_Occurred()) SWIG_fail
; 
11960     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
11962         if (temp1
) delete arg1
; 
11967         if (temp1
) delete arg1
; 
11973 static PyObject 
*_wrap_new_NullFileTypeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11974     PyObject 
*resultobj
; 
11975     wxFileTypeInfo 
*result
; 
11976     char *kwnames
[] = { 
11980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
; 
11982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11983         result 
= (wxFileTypeInfo 
*)new wxFileTypeInfo(); 
11985         wxPyEndAllowThreads(__tstate
); 
11986         if (PyErr_Occurred()) SWIG_fail
; 
11988     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1); 
11995 static PyObject 
*_wrap_FileTypeInfo_IsValid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
11996     PyObject 
*resultobj
; 
11997     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
11999     PyObject 
* obj0 
= 0 ; 
12000     char *kwnames
[] = { 
12001         (char *) "self", NULL 
 
12004     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
; 
12005     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12006     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12008         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12009         result 
= (bool)((wxFileTypeInfo 
const *)arg1
)->IsValid(); 
12011         wxPyEndAllowThreads(__tstate
); 
12012         if (PyErr_Occurred()) SWIG_fail
; 
12015         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12023 static PyObject 
*_wrap_FileTypeInfo_SetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12024     PyObject 
*resultobj
; 
12025     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12026     wxString 
*arg2 
= 0 ; 
12027     int arg3 
= (int) 0 ; 
12028     bool temp2 
= False 
; 
12029     PyObject 
* obj0 
= 0 ; 
12030     PyObject 
* obj1 
= 0 ; 
12031     PyObject 
* obj2 
= 0 ; 
12032     char *kwnames
[] = { 
12033         (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL 
 
12036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12037     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12038     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12040         arg2 
= wxString_in_helper(obj1
); 
12041         if (arg2 
== NULL
) SWIG_fail
; 
12045         arg3 
= (int) SWIG_AsInt(obj2
);  
12046         if (PyErr_Occurred()) SWIG_fail
; 
12049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12050         (arg1
)->SetIcon((wxString 
const &)*arg2
,arg3
); 
12052         wxPyEndAllowThreads(__tstate
); 
12053         if (PyErr_Occurred()) SWIG_fail
; 
12055     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12070 static PyObject 
*_wrap_FileTypeInfo_SetShortDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12071     PyObject 
*resultobj
; 
12072     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12073     wxString 
*arg2 
= 0 ; 
12074     bool temp2 
= False 
; 
12075     PyObject 
* obj0 
= 0 ; 
12076     PyObject 
* obj1 
= 0 ; 
12077     char *kwnames
[] = { 
12078         (char *) "self",(char *) "shortDesc", NULL 
 
12081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
12082     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12085         arg2 
= wxString_in_helper(obj1
); 
12086         if (arg2 
== NULL
) SWIG_fail
; 
12090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12091         (arg1
)->SetShortDesc((wxString 
const &)*arg2
); 
12093         wxPyEndAllowThreads(__tstate
); 
12094         if (PyErr_Occurred()) SWIG_fail
; 
12096     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12111 static PyObject 
*_wrap_FileTypeInfo_GetMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12112     PyObject 
*resultobj
; 
12113     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12115     PyObject 
* obj0 
= 0 ; 
12116     char *kwnames
[] = { 
12117         (char *) "self", NULL 
 
12120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12121     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12122     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12126             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetMimeType(); 
12127             result 
= (wxString 
*) &_result_ref
; 
12130         wxPyEndAllowThreads(__tstate
); 
12131         if (PyErr_Occurred()) SWIG_fail
; 
12135         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12137         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12146 static PyObject 
*_wrap_FileTypeInfo_GetOpenCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12147     PyObject 
*resultobj
; 
12148     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12150     PyObject 
* obj0 
= 0 ; 
12151     char *kwnames
[] = { 
12152         (char *) "self", NULL 
 
12155     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
; 
12156     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12157     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12161             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetOpenCommand(); 
12162             result 
= (wxString 
*) &_result_ref
; 
12165         wxPyEndAllowThreads(__tstate
); 
12166         if (PyErr_Occurred()) SWIG_fail
; 
12170         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12172         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12181 static PyObject 
*_wrap_FileTypeInfo_GetPrintCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12182     PyObject 
*resultobj
; 
12183     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12185     PyObject 
* obj0 
= 0 ; 
12186     char *kwnames
[] = { 
12187         (char *) "self", NULL 
 
12190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
; 
12191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12196             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetPrintCommand(); 
12197             result 
= (wxString 
*) &_result_ref
; 
12200         wxPyEndAllowThreads(__tstate
); 
12201         if (PyErr_Occurred()) SWIG_fail
; 
12205         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12207         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12216 static PyObject 
*_wrap_FileTypeInfo_GetShortDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12217     PyObject 
*resultobj
; 
12218     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12220     PyObject 
* obj0 
= 0 ; 
12221     char *kwnames
[] = { 
12222         (char *) "self", NULL 
 
12225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
; 
12226     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12227     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12231             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetShortDesc(); 
12232             result 
= (wxString 
*) &_result_ref
; 
12235         wxPyEndAllowThreads(__tstate
); 
12236         if (PyErr_Occurred()) SWIG_fail
; 
12240         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12242         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12251 static PyObject 
*_wrap_FileTypeInfo_GetDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12252     PyObject 
*resultobj
; 
12253     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12255     PyObject 
* obj0 
= 0 ; 
12256     char *kwnames
[] = { 
12257         (char *) "self", NULL 
 
12260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
; 
12261     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12262     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12266             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetDescription(); 
12267             result 
= (wxString 
*) &_result_ref
; 
12270         wxPyEndAllowThreads(__tstate
); 
12271         if (PyErr_Occurred()) SWIG_fail
; 
12275         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12277         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12286 static PyObject 
*_wrap_FileTypeInfo_GetExtensions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12287     PyObject 
*resultobj
; 
12288     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12289     wxArrayString 
*result
; 
12290     PyObject 
* obj0 
= 0 ; 
12291     char *kwnames
[] = { 
12292         (char *) "self", NULL 
 
12295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12296     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12297     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12301             wxArrayString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetExtensions(); 
12302             result 
= (wxArrayString 
*) &_result_ref
; 
12305         wxPyEndAllowThreads(__tstate
); 
12306         if (PyErr_Occurred()) SWIG_fail
; 
12309         resultobj 
= wxArrayString2PyList_helper(*result
); 
12317 static PyObject 
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12318     PyObject 
*resultobj
; 
12319     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12321     PyObject 
* obj0 
= 0 ; 
12322     char *kwnames
[] = { 
12323         (char *) "self", NULL 
 
12326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
; 
12327     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12328     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12331         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetExtensionsCount(); 
12333         wxPyEndAllowThreads(__tstate
); 
12334         if (PyErr_Occurred()) SWIG_fail
; 
12336     resultobj 
= SWIG_FromInt((int)result
); 
12343 static PyObject 
*_wrap_FileTypeInfo_GetIconFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12344     PyObject 
*resultobj
; 
12345     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12347     PyObject 
* obj0 
= 0 ; 
12348     char *kwnames
[] = { 
12349         (char *) "self", NULL 
 
12352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
; 
12353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12358             wxString 
const &_result_ref 
= ((wxFileTypeInfo 
const *)arg1
)->GetIconFile(); 
12359             result 
= (wxString 
*) &_result_ref
; 
12362         wxPyEndAllowThreads(__tstate
); 
12363         if (PyErr_Occurred()) SWIG_fail
; 
12367         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12369         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12378 static PyObject 
*_wrap_FileTypeInfo_GetIconIndex(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12379     PyObject 
*resultobj
; 
12380     wxFileTypeInfo 
*arg1 
= (wxFileTypeInfo 
*) 0 ; 
12382     PyObject 
* obj0 
= 0 ; 
12383     char *kwnames
[] = { 
12384         (char *) "self", NULL 
 
12387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
; 
12388     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12389     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12392         result 
= (int)((wxFileTypeInfo 
const *)arg1
)->GetIconIndex(); 
12394         wxPyEndAllowThreads(__tstate
); 
12395         if (PyErr_Occurred()) SWIG_fail
; 
12397     resultobj 
= SWIG_FromInt((int)result
); 
12404 static PyObject 
* FileTypeInfo_swigregister(PyObject 
*self
, PyObject 
*args
) { 
12406     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12407     SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
); 
12409     return Py_BuildValue((char *)""); 
12411 static PyObject 
*_wrap_new_FileType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12412     PyObject 
*resultobj
; 
12413     wxFileTypeInfo 
*arg1 
= 0 ; 
12414     wxFileType 
*result
; 
12415     PyObject 
* obj0 
= 0 ; 
12416     char *kwnames
[] = { 
12417         (char *) "ftInfo", NULL 
 
12420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
; 
12421     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
, 
12422     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
12424     if (arg1 
== NULL
) { 
12425         PyErr_SetString(PyExc_TypeError
,"null reference"); 
12429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12430         result 
= (wxFileType 
*)new wxFileType((wxFileTypeInfo 
const &)*arg1
); 
12432         wxPyEndAllowThreads(__tstate
); 
12433         if (PyErr_Occurred()) SWIG_fail
; 
12435     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
12442 static PyObject 
*_wrap_delete_FileType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12443     PyObject 
*resultobj
; 
12444     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12445     PyObject 
* obj0 
= 0 ; 
12446     char *kwnames
[] = { 
12447         (char *) "self", NULL 
 
12450     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
; 
12451     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12452     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12457         wxPyEndAllowThreads(__tstate
); 
12458         if (PyErr_Occurred()) SWIG_fail
; 
12460     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12467 static PyObject 
*_wrap_FileType_GetMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12468     PyObject 
*resultobj
; 
12469     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12471     PyObject 
* obj0 
= 0 ; 
12472     char *kwnames
[] = { 
12473         (char *) "self", NULL 
 
12476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
; 
12477     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12478     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12481         result 
= (PyObject 
*)wxFileType_GetMimeType(arg1
); 
12483         wxPyEndAllowThreads(__tstate
); 
12484         if (PyErr_Occurred()) SWIG_fail
; 
12486     resultobj 
= result
; 
12493 static PyObject 
*_wrap_FileType_GetMimeTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12494     PyObject 
*resultobj
; 
12495     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12497     PyObject 
* obj0 
= 0 ; 
12498     char *kwnames
[] = { 
12499         (char *) "self", NULL 
 
12502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
; 
12503     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12504     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12507         result 
= (PyObject 
*)wxFileType_GetMimeTypes(arg1
); 
12509         wxPyEndAllowThreads(__tstate
); 
12510         if (PyErr_Occurred()) SWIG_fail
; 
12512     resultobj 
= result
; 
12519 static PyObject 
*_wrap_FileType_GetExtensions(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12520     PyObject 
*resultobj
; 
12521     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12523     PyObject 
* obj0 
= 0 ; 
12524     char *kwnames
[] = { 
12525         (char *) "self", NULL 
 
12528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
; 
12529     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12530     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12533         result 
= (PyObject 
*)wxFileType_GetExtensions(arg1
); 
12535         wxPyEndAllowThreads(__tstate
); 
12536         if (PyErr_Occurred()) SWIG_fail
; 
12538     resultobj 
= result
; 
12545 static PyObject 
*_wrap_FileType_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12546     PyObject 
*resultobj
; 
12547     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12549     PyObject 
* obj0 
= 0 ; 
12550     char *kwnames
[] = { 
12551         (char *) "self", NULL 
 
12554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
; 
12555     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12556     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12559         result 
= (wxIcon 
*)wxFileType_GetIcon(arg1
); 
12561         wxPyEndAllowThreads(__tstate
); 
12562         if (PyErr_Occurred()) SWIG_fail
; 
12564     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
12571 static PyObject 
*_wrap_FileType_GetIconInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12572     PyObject 
*resultobj
; 
12573     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12575     PyObject 
* obj0 
= 0 ; 
12576     char *kwnames
[] = { 
12577         (char *) "self", NULL 
 
12580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
; 
12581     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12582     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12585         result 
= (PyObject 
*)wxFileType_GetIconInfo(arg1
); 
12587         wxPyEndAllowThreads(__tstate
); 
12588         if (PyErr_Occurred()) SWIG_fail
; 
12590     resultobj 
= result
; 
12597 static PyObject 
*_wrap_FileType_GetDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12598     PyObject 
*resultobj
; 
12599     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12601     PyObject 
* obj0 
= 0 ; 
12602     char *kwnames
[] = { 
12603         (char *) "self", NULL 
 
12606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
; 
12607     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12608     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12611         result 
= (PyObject 
*)wxFileType_GetDescription(arg1
); 
12613         wxPyEndAllowThreads(__tstate
); 
12614         if (PyErr_Occurred()) SWIG_fail
; 
12616     resultobj 
= result
; 
12623 static PyObject 
*_wrap_FileType_GetOpenCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12624     PyObject 
*resultobj
; 
12625     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12626     wxString 
*arg2 
= 0 ; 
12627     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12628     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12630     bool temp2 
= False 
; 
12631     bool temp3 
= False 
; 
12632     PyObject 
* obj0 
= 0 ; 
12633     PyObject 
* obj1 
= 0 ; 
12634     PyObject 
* obj2 
= 0 ; 
12635     char *kwnames
[] = { 
12636         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12643         arg2 
= wxString_in_helper(obj1
); 
12644         if (arg2 
== NULL
) SWIG_fail
; 
12649             arg3 
= wxString_in_helper(obj2
); 
12650             if (arg3 
== NULL
) SWIG_fail
; 
12655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12656         result 
= (PyObject 
*)wxFileType_GetOpenCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12658         wxPyEndAllowThreads(__tstate
); 
12659         if (PyErr_Occurred()) SWIG_fail
; 
12661     resultobj 
= result
; 
12684 static PyObject 
*_wrap_FileType_GetPrintCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12685     PyObject 
*resultobj
; 
12686     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12687     wxString 
*arg2 
= 0 ; 
12688     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12689     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12691     bool temp2 
= False 
; 
12692     bool temp3 
= False 
; 
12693     PyObject 
* obj0 
= 0 ; 
12694     PyObject 
* obj1 
= 0 ; 
12695     PyObject 
* obj2 
= 0 ; 
12696     char *kwnames
[] = { 
12697         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12701     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12702     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12704         arg2 
= wxString_in_helper(obj1
); 
12705         if (arg2 
== NULL
) SWIG_fail
; 
12710             arg3 
= wxString_in_helper(obj2
); 
12711             if (arg3 
== NULL
) SWIG_fail
; 
12716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12717         result 
= (PyObject 
*)wxFileType_GetPrintCommand(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12719         wxPyEndAllowThreads(__tstate
); 
12720         if (PyErr_Occurred()) SWIG_fail
; 
12722     resultobj 
= result
; 
12745 static PyObject 
*_wrap_FileType_GetAllCommands(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12746     PyObject 
*resultobj
; 
12747     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12748     wxString 
*arg2 
= 0 ; 
12749     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12750     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12752     bool temp2 
= False 
; 
12753     bool temp3 
= False 
; 
12754     PyObject 
* obj0 
= 0 ; 
12755     PyObject 
* obj1 
= 0 ; 
12756     PyObject 
* obj2 
= 0 ; 
12757     char *kwnames
[] = { 
12758         (char *) "self",(char *) "filename",(char *) "mimetype", NULL 
 
12761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12762     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12763     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12765         arg2 
= wxString_in_helper(obj1
); 
12766         if (arg2 
== NULL
) SWIG_fail
; 
12771             arg3 
= wxString_in_helper(obj2
); 
12772             if (arg3 
== NULL
) SWIG_fail
; 
12777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12778         result 
= (PyObject 
*)wxFileType_GetAllCommands(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12780         wxPyEndAllowThreads(__tstate
); 
12781         if (PyErr_Occurred()) SWIG_fail
; 
12783     resultobj 
= result
; 
12806 static PyObject 
*_wrap_FileType_SetCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12807     PyObject 
*resultobj
; 
12808     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12809     wxString 
*arg2 
= 0 ; 
12810     wxString 
*arg3 
= 0 ; 
12811     bool arg4 
= (bool) True 
; 
12813     bool temp2 
= False 
; 
12814     bool temp3 
= False 
; 
12815     PyObject 
* obj0 
= 0 ; 
12816     PyObject 
* obj1 
= 0 ; 
12817     PyObject 
* obj2 
= 0 ; 
12818     PyObject 
* obj3 
= 0 ; 
12819     char *kwnames
[] = { 
12820         (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL 
 
12823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12824     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12825     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12827         arg2 
= wxString_in_helper(obj1
); 
12828         if (arg2 
== NULL
) SWIG_fail
; 
12832         arg3 
= wxString_in_helper(obj2
); 
12833         if (arg3 
== NULL
) SWIG_fail
; 
12837         arg4 
= (bool) SWIG_AsBool(obj3
);  
12838         if (PyErr_Occurred()) SWIG_fail
; 
12841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12842         result 
= (bool)(arg1
)->SetCommand((wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
12844         wxPyEndAllowThreads(__tstate
); 
12845         if (PyErr_Occurred()) SWIG_fail
; 
12848         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12872 static PyObject 
*_wrap_FileType_SetDefaultIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12873     PyObject 
*resultobj
; 
12874     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12875     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
12876     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
12877     int arg3 
= (int) 0 ; 
12879     bool temp2 
= False 
; 
12880     PyObject 
* obj0 
= 0 ; 
12881     PyObject 
* obj1 
= 0 ; 
12882     PyObject 
* obj2 
= 0 ; 
12883     char *kwnames
[] = { 
12884         (char *) "self",(char *) "cmd",(char *) "index", NULL 
 
12887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12888     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12889     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12892             arg2 
= wxString_in_helper(obj1
); 
12893             if (arg2 
== NULL
) SWIG_fail
; 
12898         arg3 
= (int) SWIG_AsInt(obj2
);  
12899         if (PyErr_Occurred()) SWIG_fail
; 
12902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12903         result 
= (bool)(arg1
)->SetDefaultIcon((wxString 
const &)*arg2
,arg3
); 
12905         wxPyEndAllowThreads(__tstate
); 
12906         if (PyErr_Occurred()) SWIG_fail
; 
12909         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12925 static PyObject 
*_wrap_FileType_Unassociate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12926     PyObject 
*resultobj
; 
12927     wxFileType 
*arg1 
= (wxFileType 
*) 0 ; 
12929     PyObject 
* obj0 
= 0 ; 
12930     char *kwnames
[] = { 
12931         (char *) "self", NULL 
 
12934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
; 
12935     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
, 
12936     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
12938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12939         result 
= (bool)(arg1
)->Unassociate(); 
12941         wxPyEndAllowThreads(__tstate
); 
12942         if (PyErr_Occurred()) SWIG_fail
; 
12945         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12953 static PyObject 
*_wrap_FileType_ExpandCommand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
12954     PyObject 
*resultobj
; 
12955     wxString 
*arg1 
= 0 ; 
12956     wxString 
*arg2 
= 0 ; 
12957     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12958     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12960     bool temp1 
= False 
; 
12961     bool temp2 
= False 
; 
12962     bool temp3 
= False 
; 
12963     PyObject 
* obj0 
= 0 ; 
12964     PyObject 
* obj1 
= 0 ; 
12965     PyObject 
* obj2 
= 0 ; 
12966     char *kwnames
[] = { 
12967         (char *) "command",(char *) "filename",(char *) "mimetype", NULL 
 
12970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12972         arg1 
= wxString_in_helper(obj0
); 
12973         if (arg1 
== NULL
) SWIG_fail
; 
12977         arg2 
= wxString_in_helper(obj1
); 
12978         if (arg2 
== NULL
) SWIG_fail
; 
12983             arg3 
= wxString_in_helper(obj2
); 
12984             if (arg3 
== NULL
) SWIG_fail
; 
12989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12990         result 
= FileType_ExpandCommand((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12992         wxPyEndAllowThreads(__tstate
); 
12993         if (PyErr_Occurred()) SWIG_fail
; 
12997         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12999         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13032 static PyObject 
* FileType_swigregister(PyObject 
*self
, PyObject 
*args
) { 
13034     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13035     SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
); 
13037     return Py_BuildValue((char *)""); 
13039 static int _wrap_TheMimeTypesManager_set(PyObject 
*_val
) { 
13040     PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only."); 
13045 static PyObject 
*_wrap_TheMimeTypesManager_get() { 
13048     pyobj 
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0); 
13053 static PyObject 
*_wrap_MimeTypesManager_IsOfType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13054     PyObject 
*resultobj
; 
13055     wxString 
*arg1 
= 0 ; 
13056     wxString 
*arg2 
= 0 ; 
13058     bool temp1 
= False 
; 
13059     bool temp2 
= False 
; 
13060     PyObject 
* obj0 
= 0 ; 
13061     PyObject 
* obj1 
= 0 ; 
13062     char *kwnames
[] = { 
13063         (char *) "mimeType",(char *) "wildcard", NULL 
 
13066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13068         arg1 
= wxString_in_helper(obj0
); 
13069         if (arg1 
== NULL
) SWIG_fail
; 
13073         arg2 
= wxString_in_helper(obj1
); 
13074         if (arg2 
== NULL
) SWIG_fail
; 
13078         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13079         result 
= (bool)wxMimeTypesManager::IsOfType((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
13081         wxPyEndAllowThreads(__tstate
); 
13082         if (PyErr_Occurred()) SWIG_fail
; 
13085         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13109 static PyObject 
*_wrap_new_MimeTypesManager(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13110     PyObject 
*resultobj
; 
13111     wxMimeTypesManager 
*result
; 
13112     char *kwnames
[] = { 
13116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
; 
13118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13119         result 
= (wxMimeTypesManager 
*)new wxMimeTypesManager(); 
13121         wxPyEndAllowThreads(__tstate
); 
13122         if (PyErr_Occurred()) SWIG_fail
; 
13124     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1); 
13131 static PyObject 
*_wrap_MimeTypesManager_Initialize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13132     PyObject 
*resultobj
; 
13133     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13134     int arg2 
= (int) wxMAILCAP_ALL 
; 
13135     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13136     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13137     bool temp3 
= False 
; 
13138     PyObject 
* obj0 
= 0 ; 
13139     PyObject 
* obj1 
= 0 ; 
13140     PyObject 
* obj2 
= 0 ; 
13141     char *kwnames
[] = { 
13142         (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL 
 
13145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13146     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13147     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13149         arg2 
= (int) SWIG_AsInt(obj1
);  
13150         if (PyErr_Occurred()) SWIG_fail
; 
13154             arg3 
= wxString_in_helper(obj2
); 
13155             if (arg3 
== NULL
) SWIG_fail
; 
13160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13161         (arg1
)->Initialize(arg2
,(wxString 
const &)*arg3
); 
13163         wxPyEndAllowThreads(__tstate
); 
13164         if (PyErr_Occurred()) SWIG_fail
; 
13166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13181 static PyObject 
*_wrap_MimeTypesManager_ClearData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13182     PyObject 
*resultobj
; 
13183     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13184     PyObject 
* obj0 
= 0 ; 
13185     char *kwnames
[] = { 
13186         (char *) "self", NULL 
 
13189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
; 
13190     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13191     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13194         (arg1
)->ClearData(); 
13196         wxPyEndAllowThreads(__tstate
); 
13197         if (PyErr_Occurred()) SWIG_fail
; 
13199     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13206 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13207     PyObject 
*resultobj
; 
13208     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13209     wxString 
*arg2 
= 0 ; 
13210     wxFileType 
*result
; 
13211     bool temp2 
= False 
; 
13212     PyObject 
* obj0 
= 0 ; 
13213     PyObject 
* obj1 
= 0 ; 
13214     char *kwnames
[] = { 
13215         (char *) "self",(char *) "ext", NULL 
 
13218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
; 
13219     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13220     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13222         arg2 
= wxString_in_helper(obj1
); 
13223         if (arg2 
== NULL
) SWIG_fail
; 
13227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13228         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromExtension((wxString 
const &)*arg2
); 
13230         wxPyEndAllowThreads(__tstate
); 
13231         if (PyErr_Occurred()) SWIG_fail
; 
13233     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13248 static PyObject 
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13249     PyObject 
*resultobj
; 
13250     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13251     wxString 
*arg2 
= 0 ; 
13252     wxFileType 
*result
; 
13253     bool temp2 
= False 
; 
13254     PyObject 
* obj0 
= 0 ; 
13255     PyObject 
* obj1 
= 0 ; 
13256     char *kwnames
[] = { 
13257         (char *) "self",(char *) "mimeType", NULL 
 
13260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
; 
13261     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13262     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13264         arg2 
= wxString_in_helper(obj1
); 
13265         if (arg2 
== NULL
) SWIG_fail
; 
13269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13270         result 
= (wxFileType 
*)(arg1
)->GetFileTypeFromMimeType((wxString 
const &)*arg2
); 
13272         wxPyEndAllowThreads(__tstate
); 
13273         if (PyErr_Occurred()) SWIG_fail
; 
13275     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13290 static PyObject 
*_wrap_MimeTypesManager_ReadMailcap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13291     PyObject 
*resultobj
; 
13292     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13293     wxString 
*arg2 
= 0 ; 
13294     bool arg3 
= (bool) False 
; 
13296     bool temp2 
= False 
; 
13297     PyObject 
* obj0 
= 0 ; 
13298     PyObject 
* obj1 
= 0 ; 
13299     PyObject 
* obj2 
= 0 ; 
13300     char *kwnames
[] = { 
13301         (char *) "self",(char *) "filename",(char *) "fallback", NULL 
 
13304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13305     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13306     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13308         arg2 
= wxString_in_helper(obj1
); 
13309         if (arg2 
== NULL
) SWIG_fail
; 
13313         arg3 
= (bool) SWIG_AsBool(obj2
);  
13314         if (PyErr_Occurred()) SWIG_fail
; 
13317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13318         result 
= (bool)(arg1
)->ReadMailcap((wxString 
const &)*arg2
,arg3
); 
13320         wxPyEndAllowThreads(__tstate
); 
13321         if (PyErr_Occurred()) SWIG_fail
; 
13324         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13340 static PyObject 
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13341     PyObject 
*resultobj
; 
13342     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13343     wxString 
*arg2 
= 0 ; 
13345     bool temp2 
= False 
; 
13346     PyObject 
* obj0 
= 0 ; 
13347     PyObject 
* obj1 
= 0 ; 
13348     char *kwnames
[] = { 
13349         (char *) "self",(char *) "filename", NULL 
 
13352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
; 
13353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13356         arg2 
= wxString_in_helper(obj1
); 
13357         if (arg2 
== NULL
) SWIG_fail
; 
13361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13362         result 
= (bool)(arg1
)->ReadMimeTypes((wxString 
const &)*arg2
); 
13364         wxPyEndAllowThreads(__tstate
); 
13365         if (PyErr_Occurred()) SWIG_fail
; 
13368         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13384 static PyObject 
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13385     PyObject 
*resultobj
; 
13386     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13388     PyObject 
* obj0 
= 0 ; 
13389     char *kwnames
[] = { 
13390         (char *) "self", NULL 
 
13393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
; 
13394     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13395     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13398         result 
= (PyObject 
*)wxMimeTypesManager_EnumAllFileTypes(arg1
); 
13400         wxPyEndAllowThreads(__tstate
); 
13401         if (PyErr_Occurred()) SWIG_fail
; 
13403     resultobj 
= result
; 
13410 static PyObject 
*_wrap_MimeTypesManager_AddFallback(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13411     PyObject 
*resultobj
; 
13412     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13413     wxFileTypeInfo 
*arg2 
= 0 ; 
13414     PyObject 
* obj0 
= 0 ; 
13415     PyObject 
* obj1 
= 0 ; 
13416     char *kwnames
[] = { 
13417         (char *) "self",(char *) "ft", NULL 
 
13420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
; 
13421     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13422     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13423     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13426     if (arg2 
== NULL
) { 
13427         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13432         (arg1
)->AddFallback((wxFileTypeInfo 
const &)*arg2
); 
13434         wxPyEndAllowThreads(__tstate
); 
13435         if (PyErr_Occurred()) SWIG_fail
; 
13437     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13444 static PyObject 
*_wrap_MimeTypesManager_Associate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13445     PyObject 
*resultobj
; 
13446     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13447     wxFileTypeInfo 
*arg2 
= 0 ; 
13448     wxFileType 
*result
; 
13449     PyObject 
* obj0 
= 0 ; 
13450     PyObject 
* obj1 
= 0 ; 
13451     char *kwnames
[] = { 
13452         (char *) "self",(char *) "ftInfo", NULL 
 
13455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13456     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13457     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13458     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
, 
13459     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
13461     if (arg2 
== NULL
) { 
13462         PyErr_SetString(PyExc_TypeError
,"null reference"); 
13466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13467         result 
= (wxFileType 
*)(arg1
)->Associate((wxFileTypeInfo 
const &)*arg2
); 
13469         wxPyEndAllowThreads(__tstate
); 
13470         if (PyErr_Occurred()) SWIG_fail
; 
13472     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1); 
13479 static PyObject 
*_wrap_MimeTypesManager_Unassociate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13480     PyObject 
*resultobj
; 
13481     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13482     wxFileType 
*arg2 
= (wxFileType 
*) 0 ; 
13484     PyObject 
* obj0 
= 0 ; 
13485     PyObject 
* obj1 
= 0 ; 
13486     char *kwnames
[] = { 
13487         (char *) "self",(char *) "ft", NULL 
 
13490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
; 
13491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13493     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
, 
13494     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13497         result 
= (bool)(arg1
)->Unassociate(arg2
); 
13499         wxPyEndAllowThreads(__tstate
); 
13500         if (PyErr_Occurred()) SWIG_fail
; 
13503         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13511 static PyObject 
*_wrap_delete_MimeTypesManager(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
13512     PyObject 
*resultobj
; 
13513     wxMimeTypesManager 
*arg1 
= (wxMimeTypesManager 
*) 0 ; 
13514     PyObject 
* obj0 
= 0 ; 
13515     char *kwnames
[] = { 
13516         (char *) "self", NULL 
 
13519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
; 
13520     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
, 
13521     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
13523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13526         wxPyEndAllowThreads(__tstate
); 
13527         if (PyErr_Occurred()) SWIG_fail
; 
13529     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13536 static PyObject 
* MimeTypesManager_swigregister(PyObject 
*self
, PyObject 
*args
) { 
13538     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13539     SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
); 
13541     return Py_BuildValue((char *)""); 
13543 static int _wrap_ART_TOOLBAR_set(PyObject 
*_val
) { 
13544     PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only."); 
13549 static PyObject 
*_wrap_ART_TOOLBAR_get() { 
13554         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13556         pyobj 
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len()); 
13563 static int _wrap_ART_MENU_set(PyObject 
*_val
) { 
13564     PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only."); 
13569 static PyObject 
*_wrap_ART_MENU_get() { 
13574         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13576         pyobj 
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len()); 
13583 static int _wrap_ART_FRAME_ICON_set(PyObject 
*_val
) { 
13584     PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only."); 
13589 static PyObject 
*_wrap_ART_FRAME_ICON_get() { 
13594         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13596         pyobj 
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len()); 
13603 static int _wrap_ART_CMN_DIALOG_set(PyObject 
*_val
) { 
13604     PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only."); 
13609 static PyObject 
*_wrap_ART_CMN_DIALOG_get() { 
13614         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
13616         pyobj 
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len()); 
13623 static int _wrap_ART_HELP_BROWSER_set(PyObject 
*_val
) { 
13624     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only."); 
13629 static PyObject 
*_wrap_ART_HELP_BROWSER_get() { 
13634         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
13636         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len()); 
13643 static int _wrap_ART_MESSAGE_BOX_set(PyObject 
*_val
) { 
13644     PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only."); 
13649 static PyObject 
*_wrap_ART_MESSAGE_BOX_get() { 
13654         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
13656         pyobj 
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len()); 
13663 static int _wrap_ART_OTHER_set(PyObject 
*_val
) { 
13664     PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only."); 
13669 static PyObject 
*_wrap_ART_OTHER_get() { 
13674         pyobj 
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
13676         pyobj 
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len()); 
13683 static int _wrap_ART_ADD_BOOKMARK_set(PyObject 
*_val
) { 
13684     PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only."); 
13689 static PyObject 
*_wrap_ART_ADD_BOOKMARK_get() { 
13694         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
13696         pyobj 
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len()); 
13703 static int _wrap_ART_DEL_BOOKMARK_set(PyObject 
*_val
) { 
13704     PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only."); 
13709 static PyObject 
*_wrap_ART_DEL_BOOKMARK_get() { 
13714         pyobj 
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
13716         pyobj 
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len()); 
13723 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject 
*_val
) { 
13724     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only."); 
13729 static PyObject 
*_wrap_ART_HELP_SIDE_PANEL_get() { 
13734         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
13736         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len()); 
13743 static int _wrap_ART_HELP_SETTINGS_set(PyObject 
*_val
) { 
13744     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only."); 
13749 static PyObject 
*_wrap_ART_HELP_SETTINGS_get() { 
13754         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
13756         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len()); 
13763 static int _wrap_ART_HELP_BOOK_set(PyObject 
*_val
) { 
13764     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only."); 
13769 static PyObject 
*_wrap_ART_HELP_BOOK_get() { 
13774         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
13776         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len()); 
13783 static int _wrap_ART_HELP_FOLDER_set(PyObject 
*_val
) { 
13784     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only."); 
13789 static PyObject 
*_wrap_ART_HELP_FOLDER_get() { 
13794         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
13796         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len()); 
13803 static int _wrap_ART_HELP_PAGE_set(PyObject 
*_val
) { 
13804     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only."); 
13809 static PyObject 
*_wrap_ART_HELP_PAGE_get() { 
13814         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
13816         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len()); 
13823 static int _wrap_ART_GO_BACK_set(PyObject 
*_val
) { 
13824     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only."); 
13829 static PyObject 
*_wrap_ART_GO_BACK_get() { 
13834         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
13836         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len()); 
13843 static int _wrap_ART_GO_FORWARD_set(PyObject 
*_val
) { 
13844     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only."); 
13849 static PyObject 
*_wrap_ART_GO_FORWARD_get() { 
13854         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
13856         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len()); 
13863 static int _wrap_ART_GO_UP_set(PyObject 
*_val
) { 
13864     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only."); 
13869 static PyObject 
*_wrap_ART_GO_UP_get() { 
13874         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
13876         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len()); 
13883 static int _wrap_ART_GO_DOWN_set(PyObject 
*_val
) { 
13884     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only."); 
13889 static PyObject 
*_wrap_ART_GO_DOWN_get() { 
13894         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
13896         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len()); 
13903 static int _wrap_ART_GO_TO_PARENT_set(PyObject 
*_val
) { 
13904     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only."); 
13909 static PyObject 
*_wrap_ART_GO_TO_PARENT_get() { 
13914         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
13916         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len()); 
13923 static int _wrap_ART_GO_HOME_set(PyObject 
*_val
) { 
13924     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only."); 
13929 static PyObject 
*_wrap_ART_GO_HOME_get() { 
13934         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
13936         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len()); 
13943 static int _wrap_ART_FILE_OPEN_set(PyObject 
*_val
) { 
13944     PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only."); 
13949 static PyObject 
*_wrap_ART_FILE_OPEN_get() { 
13954         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
13956         pyobj 
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len()); 
13963 static int _wrap_ART_PRINT_set(PyObject 
*_val
) { 
13964     PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only."); 
13969 static PyObject 
*_wrap_ART_PRINT_get() { 
13974         pyobj 
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
13976         pyobj 
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len()); 
13983 static int _wrap_ART_HELP_set(PyObject 
*_val
) { 
13984     PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only."); 
13989 static PyObject 
*_wrap_ART_HELP_get() { 
13994         pyobj 
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
13996         pyobj 
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len()); 
14003 static int _wrap_ART_TIP_set(PyObject 
*_val
) { 
14004     PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only."); 
14009 static PyObject 
*_wrap_ART_TIP_get() { 
14014         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14016         pyobj 
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len()); 
14023 static int _wrap_ART_REPORT_VIEW_set(PyObject 
*_val
) { 
14024     PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only."); 
14029 static PyObject 
*_wrap_ART_REPORT_VIEW_get() { 
14034         pyobj 
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14036         pyobj 
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len()); 
14043 static int _wrap_ART_LIST_VIEW_set(PyObject 
*_val
) { 
14044     PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only."); 
14049 static PyObject 
*_wrap_ART_LIST_VIEW_get() { 
14054         pyobj 
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14056         pyobj 
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len()); 
14063 static int _wrap_ART_NEW_DIR_set(PyObject 
*_val
) { 
14064     PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only."); 
14069 static PyObject 
*_wrap_ART_NEW_DIR_get() { 
14074         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14076         pyobj 
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len()); 
14083 static int _wrap_ART_FOLDER_set(PyObject 
*_val
) { 
14084     PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only."); 
14089 static PyObject 
*_wrap_ART_FOLDER_get() { 
14094         pyobj 
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14096         pyobj 
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len()); 
14103 static int _wrap_ART_GO_DIR_UP_set(PyObject 
*_val
) { 
14104     PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only."); 
14109 static PyObject 
*_wrap_ART_GO_DIR_UP_get() { 
14114         pyobj 
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14116         pyobj 
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len()); 
14123 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject 
*_val
) { 
14124     PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only."); 
14129 static PyObject 
*_wrap_ART_EXECUTABLE_FILE_get() { 
14134         pyobj 
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14136         pyobj 
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len()); 
14143 static int _wrap_ART_NORMAL_FILE_set(PyObject 
*_val
) { 
14144     PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only."); 
14149 static PyObject 
*_wrap_ART_NORMAL_FILE_get() { 
14154         pyobj 
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14156         pyobj 
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len()); 
14163 static int _wrap_ART_TICK_MARK_set(PyObject 
*_val
) { 
14164     PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only."); 
14169 static PyObject 
*_wrap_ART_TICK_MARK_get() { 
14174         pyobj 
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14176         pyobj 
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len()); 
14183 static int _wrap_ART_CROSS_MARK_set(PyObject 
*_val
) { 
14184     PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only."); 
14189 static PyObject 
*_wrap_ART_CROSS_MARK_get() { 
14194         pyobj 
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14196         pyobj 
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len()); 
14203 static int _wrap_ART_ERROR_set(PyObject 
*_val
) { 
14204     PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only."); 
14209 static PyObject 
*_wrap_ART_ERROR_get() { 
14214         pyobj 
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14216         pyobj 
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len()); 
14223 static int _wrap_ART_QUESTION_set(PyObject 
*_val
) { 
14224     PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only."); 
14229 static PyObject 
*_wrap_ART_QUESTION_get() { 
14234         pyobj 
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14236         pyobj 
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len()); 
14243 static int _wrap_ART_WARNING_set(PyObject 
*_val
) { 
14244     PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only."); 
14249 static PyObject 
*_wrap_ART_WARNING_get() { 
14254         pyobj 
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14256         pyobj 
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len()); 
14263 static int _wrap_ART_INFORMATION_set(PyObject 
*_val
) { 
14264     PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only."); 
14269 static PyObject 
*_wrap_ART_INFORMATION_get() { 
14274         pyobj 
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14276         pyobj 
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len()); 
14283 static int _wrap_ART_MISSING_IMAGE_set(PyObject 
*_val
) { 
14284     PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only."); 
14289 static PyObject 
*_wrap_ART_MISSING_IMAGE_get() { 
14294         pyobj 
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14296         pyobj 
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len()); 
14303 static PyObject 
*_wrap_new_ArtProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14304     PyObject 
*resultobj
; 
14305     wxPyArtProvider 
*result
; 
14306     char *kwnames
[] = { 
14310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
; 
14312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14313         result 
= (wxPyArtProvider 
*)new wxPyArtProvider(); 
14315         wxPyEndAllowThreads(__tstate
); 
14316         if (PyErr_Occurred()) SWIG_fail
; 
14318     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1); 
14325 static PyObject 
*_wrap_ArtProvider__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14326     PyObject 
*resultobj
; 
14327     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14328     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14329     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14330     PyObject 
* obj0 
= 0 ; 
14331     PyObject 
* obj1 
= 0 ; 
14332     PyObject 
* obj2 
= 0 ; 
14333     char *kwnames
[] = { 
14334         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
14337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14338     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14339     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14344         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
14346         wxPyEndAllowThreads(__tstate
); 
14347         if (PyErr_Occurred()) SWIG_fail
; 
14349     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14356 static PyObject 
*_wrap_ArtProvider_PushProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14357     PyObject 
*resultobj
; 
14358     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14359     PyObject 
* obj0 
= 0 ; 
14360     char *kwnames
[] = { 
14361         (char *) "provider", NULL 
 
14364     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
; 
14365     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14366     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14368         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14369         wxPyArtProvider::PushProvider(arg1
); 
14371         wxPyEndAllowThreads(__tstate
); 
14372         if (PyErr_Occurred()) SWIG_fail
; 
14374     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14381 static PyObject 
*_wrap_ArtProvider_PopProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14382     PyObject 
*resultobj
; 
14384     char *kwnames
[] = { 
14388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
; 
14390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14391         result 
= (bool)wxPyArtProvider::PopProvider(); 
14393         wxPyEndAllowThreads(__tstate
); 
14394         if (PyErr_Occurred()) SWIG_fail
; 
14397         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14405 static PyObject 
*_wrap_ArtProvider_RemoveProvider(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14406     PyObject 
*resultobj
; 
14407     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14409     PyObject 
* obj0 
= 0 ; 
14410     char *kwnames
[] = { 
14411         (char *) "provider", NULL 
 
14414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
; 
14415     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14416     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14419         result 
= (bool)wxPyArtProvider::RemoveProvider(arg1
); 
14421         wxPyEndAllowThreads(__tstate
); 
14422         if (PyErr_Occurred()) SWIG_fail
; 
14425         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14433 static PyObject 
*_wrap_ArtProvider_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14434     PyObject 
*resultobj
; 
14435     wxString 
*arg1 
= 0 ; 
14436     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14437     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14438     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14439     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14441     bool temp1 
= False 
; 
14442     bool temp2 
= False 
; 
14444     PyObject 
* obj0 
= 0 ; 
14445     PyObject 
* obj1 
= 0 ; 
14446     PyObject 
* obj2 
= 0 ; 
14447     char *kwnames
[] = { 
14448         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14453         arg1 
= wxString_in_helper(obj0
); 
14454         if (arg1 
== NULL
) SWIG_fail
; 
14459             arg2 
= wxString_in_helper(obj1
); 
14460             if (arg2 
== NULL
) SWIG_fail
; 
14467             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14472         result 
= wxPyArtProvider::GetBitmap((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14474         wxPyEndAllowThreads(__tstate
); 
14475         if (PyErr_Occurred()) SWIG_fail
; 
14478         wxBitmap 
* resultptr
; 
14479         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
14480         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
14504 static PyObject 
*_wrap_ArtProvider_GetIcon(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14505     PyObject 
*resultobj
; 
14506     wxString 
*arg1 
= 0 ; 
14507     wxString 
const &arg2_defvalue 
= wxPyART_OTHER 
; 
14508     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
14509     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
14510     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
14512     bool temp1 
= False 
; 
14513     bool temp2 
= False 
; 
14515     PyObject 
* obj0 
= 0 ; 
14516     PyObject 
* obj1 
= 0 ; 
14517     PyObject 
* obj2 
= 0 ; 
14518     char *kwnames
[] = { 
14519         (char *) "id",(char *) "client",(char *) "size", NULL 
 
14522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14524         arg1 
= wxString_in_helper(obj0
); 
14525         if (arg1 
== NULL
) SWIG_fail
; 
14530             arg2 
= wxString_in_helper(obj1
); 
14531             if (arg2 
== NULL
) SWIG_fail
; 
14538             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14543         result 
= wxPyArtProvider::GetIcon((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14545         wxPyEndAllowThreads(__tstate
); 
14546         if (PyErr_Occurred()) SWIG_fail
; 
14549         wxIcon 
* resultptr
; 
14550         resultptr 
= new wxIcon((wxIcon 
&) result
); 
14551         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
14575 static PyObject 
*_wrap_ArtProvider_Destroy(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14576     PyObject 
*resultobj
; 
14577     wxPyArtProvider 
*arg1 
= (wxPyArtProvider 
*) 0 ; 
14578     PyObject 
* obj0 
= 0 ; 
14579     char *kwnames
[] = { 
14580         (char *) "self", NULL 
 
14583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
; 
14584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
, 
14585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14588         wxPyArtProvider_Destroy(arg1
); 
14590         wxPyEndAllowThreads(__tstate
); 
14591         if (PyErr_Occurred()) SWIG_fail
; 
14593     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14600 static PyObject 
* ArtProvider_swigregister(PyObject 
*self
, PyObject 
*args
) { 
14602     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14603     SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
); 
14605     return Py_BuildValue((char *)""); 
14607 static PyObject 
*_wrap_delete_ConfigBase(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14608     PyObject 
*resultobj
; 
14609     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14610     PyObject 
* obj0 
= 0 ; 
14611     char *kwnames
[] = { 
14612         (char *) "self", NULL 
 
14615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
; 
14616     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14617     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14622         wxPyEndAllowThreads(__tstate
); 
14623         if (PyErr_Occurred()) SWIG_fail
; 
14625     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14632 static PyObject 
*_wrap_ConfigBase_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14633     PyObject 
*resultobj
; 
14634     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14635     wxConfigBase 
*result
; 
14636     PyObject 
* obj0 
= 0 ; 
14637     char *kwnames
[] = { 
14638         (char *) "config", NULL 
 
14641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
; 
14642     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14643     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14646         result 
= (wxConfigBase 
*)wxConfigBase::Set(arg1
); 
14648         wxPyEndAllowThreads(__tstate
); 
14649         if (PyErr_Occurred()) SWIG_fail
; 
14651     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14658 static PyObject 
*_wrap_ConfigBase_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14659     PyObject 
*resultobj
; 
14660     bool arg1 
= (bool) True 
; 
14661     wxConfigBase 
*result
; 
14662     PyObject 
* obj0 
= 0 ; 
14663     char *kwnames
[] = { 
14664         (char *) "createOnDemand", NULL 
 
14667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
; 
14669         arg1 
= (bool) SWIG_AsBool(obj0
);  
14670         if (PyErr_Occurred()) SWIG_fail
; 
14673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14674         result 
= (wxConfigBase 
*)wxConfigBase::Get(arg1
); 
14676         wxPyEndAllowThreads(__tstate
); 
14677         if (PyErr_Occurred()) SWIG_fail
; 
14679     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14686 static PyObject 
*_wrap_ConfigBase_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14687     PyObject 
*resultobj
; 
14688     wxConfigBase 
*result
; 
14689     char *kwnames
[] = { 
14693     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
; 
14695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14696         result 
= (wxConfigBase 
*)wxConfigBase::Create(); 
14698         wxPyEndAllowThreads(__tstate
); 
14699         if (PyErr_Occurred()) SWIG_fail
; 
14701     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0); 
14708 static PyObject 
*_wrap_ConfigBase_DontCreateOnDemand(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14709     PyObject 
*resultobj
; 
14710     char *kwnames
[] = { 
14714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
; 
14716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14717         wxConfigBase::DontCreateOnDemand(); 
14719         wxPyEndAllowThreads(__tstate
); 
14720         if (PyErr_Occurred()) SWIG_fail
; 
14722     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14729 static PyObject 
*_wrap_ConfigBase_SetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14730     PyObject 
*resultobj
; 
14731     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14732     wxString 
*arg2 
= 0 ; 
14733     bool temp2 
= False 
; 
14734     PyObject 
* obj0 
= 0 ; 
14735     PyObject 
* obj1 
= 0 ; 
14736     char *kwnames
[] = { 
14737         (char *) "self",(char *) "path", NULL 
 
14740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
14741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14744         arg2 
= wxString_in_helper(obj1
); 
14745         if (arg2 
== NULL
) SWIG_fail
; 
14749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14750         (arg1
)->SetPath((wxString 
const &)*arg2
); 
14752         wxPyEndAllowThreads(__tstate
); 
14753         if (PyErr_Occurred()) SWIG_fail
; 
14755     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14770 static PyObject 
*_wrap_ConfigBase_GetPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14771     PyObject 
*resultobj
; 
14772     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14774     PyObject 
* obj0 
= 0 ; 
14775     char *kwnames
[] = { 
14776         (char *) "self", NULL 
 
14779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
; 
14780     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14781     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14785             wxString 
const &_result_ref 
= ((wxConfigBase 
const *)arg1
)->GetPath(); 
14786             result 
= (wxString 
*) &_result_ref
; 
14789         wxPyEndAllowThreads(__tstate
); 
14790         if (PyErr_Occurred()) SWIG_fail
; 
14794         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
14796         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
14805 static PyObject 
*_wrap_ConfigBase_GetFirstGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14806     PyObject 
*resultobj
; 
14807     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14809     PyObject 
* obj0 
= 0 ; 
14810     char *kwnames
[] = { 
14811         (char *) "self", NULL 
 
14814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
; 
14815     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14816     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14819         result 
= (PyObject 
*)wxConfigBase_GetFirstGroup(arg1
); 
14821         wxPyEndAllowThreads(__tstate
); 
14822         if (PyErr_Occurred()) SWIG_fail
; 
14824     resultobj 
= result
; 
14831 static PyObject 
*_wrap_ConfigBase_GetNextGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14832     PyObject 
*resultobj
; 
14833     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14836     PyObject 
* obj0 
= 0 ; 
14837     PyObject 
* obj1 
= 0 ; 
14838     char *kwnames
[] = { 
14839         (char *) "self",(char *) "index", NULL 
 
14842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
14843     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14844     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14845     arg2 
= (long) SWIG_AsLong(obj1
);  
14846     if (PyErr_Occurred()) SWIG_fail
; 
14848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14849         result 
= (PyObject 
*)wxConfigBase_GetNextGroup(arg1
,arg2
); 
14851         wxPyEndAllowThreads(__tstate
); 
14852         if (PyErr_Occurred()) SWIG_fail
; 
14854     resultobj 
= result
; 
14861 static PyObject 
*_wrap_ConfigBase_GetFirstEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14862     PyObject 
*resultobj
; 
14863     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14865     PyObject 
* obj0 
= 0 ; 
14866     char *kwnames
[] = { 
14867         (char *) "self", NULL 
 
14870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
; 
14871     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14875         result 
= (PyObject 
*)wxConfigBase_GetFirstEntry(arg1
); 
14877         wxPyEndAllowThreads(__tstate
); 
14878         if (PyErr_Occurred()) SWIG_fail
; 
14880     resultobj 
= result
; 
14887 static PyObject 
*_wrap_ConfigBase_GetNextEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14888     PyObject 
*resultobj
; 
14889     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14892     PyObject 
* obj0 
= 0 ; 
14893     PyObject 
* obj1 
= 0 ; 
14894     char *kwnames
[] = { 
14895         (char *) "self",(char *) "index", NULL 
 
14898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
14899     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14900     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14901     arg2 
= (long) SWIG_AsLong(obj1
);  
14902     if (PyErr_Occurred()) SWIG_fail
; 
14904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14905         result 
= (PyObject 
*)wxConfigBase_GetNextEntry(arg1
,arg2
); 
14907         wxPyEndAllowThreads(__tstate
); 
14908         if (PyErr_Occurred()) SWIG_fail
; 
14910     resultobj 
= result
; 
14917 static PyObject 
*_wrap_ConfigBase_GetNumberOfEntries(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14918     PyObject 
*resultobj
; 
14919     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14920     bool arg2 
= (bool) False 
; 
14922     PyObject 
* obj0 
= 0 ; 
14923     PyObject 
* obj1 
= 0 ; 
14924     char *kwnames
[] = { 
14925         (char *) "self",(char *) "recursive", NULL 
 
14928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
; 
14929     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14930     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14932         arg2 
= (bool) SWIG_AsBool(obj1
);  
14933         if (PyErr_Occurred()) SWIG_fail
; 
14936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14937         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfEntries(arg2
); 
14939         wxPyEndAllowThreads(__tstate
); 
14940         if (PyErr_Occurred()) SWIG_fail
; 
14942     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
14949 static PyObject 
*_wrap_ConfigBase_GetNumberOfGroups(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14950     PyObject 
*resultobj
; 
14951     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14952     bool arg2 
= (bool) False 
; 
14954     PyObject 
* obj0 
= 0 ; 
14955     PyObject 
* obj1 
= 0 ; 
14956     char *kwnames
[] = { 
14957         (char *) "self",(char *) "recursive", NULL 
 
14960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
; 
14961     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14962     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14964         arg2 
= (bool) SWIG_AsBool(obj1
);  
14965         if (PyErr_Occurred()) SWIG_fail
; 
14968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14969         result 
= (size_t)((wxConfigBase 
const *)arg1
)->GetNumberOfGroups(arg2
); 
14971         wxPyEndAllowThreads(__tstate
); 
14972         if (PyErr_Occurred()) SWIG_fail
; 
14974     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
14981 static PyObject 
*_wrap_ConfigBase_HasGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
14982     PyObject 
*resultobj
; 
14983     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
14984     wxString 
*arg2 
= 0 ; 
14986     bool temp2 
= False 
; 
14987     PyObject 
* obj0 
= 0 ; 
14988     PyObject 
* obj1 
= 0 ; 
14989     char *kwnames
[] = { 
14990         (char *) "self",(char *) "name", NULL 
 
14993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
14994     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
14995     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
14997         arg2 
= wxString_in_helper(obj1
); 
14998         if (arg2 
== NULL
) SWIG_fail
; 
15002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15003         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasGroup((wxString 
const &)*arg2
); 
15005         wxPyEndAllowThreads(__tstate
); 
15006         if (PyErr_Occurred()) SWIG_fail
; 
15009         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15025 static PyObject 
*_wrap_ConfigBase_HasEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15026     PyObject 
*resultobj
; 
15027     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15028     wxString 
*arg2 
= 0 ; 
15030     bool temp2 
= False 
; 
15031     PyObject 
* obj0 
= 0 ; 
15032     PyObject 
* obj1 
= 0 ; 
15033     char *kwnames
[] = { 
15034         (char *) "self",(char *) "name", NULL 
 
15037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
; 
15038     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15039     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15041         arg2 
= wxString_in_helper(obj1
); 
15042         if (arg2 
== NULL
) SWIG_fail
; 
15046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15047         result 
= (bool)((wxConfigBase 
const *)arg1
)->HasEntry((wxString 
const &)*arg2
); 
15049         wxPyEndAllowThreads(__tstate
); 
15050         if (PyErr_Occurred()) SWIG_fail
; 
15053         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15069 static PyObject 
*_wrap_ConfigBase_Exists(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15070     PyObject 
*resultobj
; 
15071     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15072     wxString 
*arg2 
= 0 ; 
15074     bool temp2 
= False 
; 
15075     PyObject 
* obj0 
= 0 ; 
15076     PyObject 
* obj1 
= 0 ; 
15077     char *kwnames
[] = { 
15078         (char *) "self",(char *) "name", NULL 
 
15081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
; 
15082     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15083     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15085         arg2 
= wxString_in_helper(obj1
); 
15086         if (arg2 
== NULL
) SWIG_fail
; 
15090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15091         result 
= (bool)((wxConfigBase 
const *)arg1
)->Exists((wxString 
const &)*arg2
); 
15093         wxPyEndAllowThreads(__tstate
); 
15094         if (PyErr_Occurred()) SWIG_fail
; 
15097         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15113 static PyObject 
*_wrap_ConfigBase_GetEntryType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15114     PyObject 
*resultobj
; 
15115     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15116     wxString 
*arg2 
= 0 ; 
15118     bool temp2 
= False 
; 
15119     PyObject 
* obj0 
= 0 ; 
15120     PyObject 
* obj1 
= 0 ; 
15121     char *kwnames
[] = { 
15122         (char *) "self",(char *) "name", NULL 
 
15125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
; 
15126     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15127     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15129         arg2 
= wxString_in_helper(obj1
); 
15130         if (arg2 
== NULL
) SWIG_fail
; 
15134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15135         result 
= (int)((wxConfigBase 
const *)arg1
)->GetEntryType((wxString 
const &)*arg2
); 
15137         wxPyEndAllowThreads(__tstate
); 
15138         if (PyErr_Occurred()) SWIG_fail
; 
15140     resultobj 
= SWIG_FromInt((int)result
); 
15155 static PyObject 
*_wrap_ConfigBase_Read(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15156     PyObject 
*resultobj
; 
15157     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15158     wxString 
*arg2 
= 0 ; 
15159     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15160     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15162     bool temp2 
= False 
; 
15163     bool temp3 
= False 
; 
15164     PyObject 
* obj0 
= 0 ; 
15165     PyObject 
* obj1 
= 0 ; 
15166     PyObject 
* obj2 
= 0 ; 
15167     char *kwnames
[] = { 
15168         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15172     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15173     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15175         arg2 
= wxString_in_helper(obj1
); 
15176         if (arg2 
== NULL
) SWIG_fail
; 
15181             arg3 
= wxString_in_helper(obj2
); 
15182             if (arg3 
== NULL
) SWIG_fail
; 
15187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15188         result 
= (arg1
)->Read((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15190         wxPyEndAllowThreads(__tstate
); 
15191         if (PyErr_Occurred()) SWIG_fail
; 
15195         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15197         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15222 static PyObject 
*_wrap_ConfigBase_ReadInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15223     PyObject 
*resultobj
; 
15224     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15225     wxString 
*arg2 
= 0 ; 
15226     long arg3 
= (long) 0 ; 
15228     bool temp2 
= False 
; 
15229     PyObject 
* obj0 
= 0 ; 
15230     PyObject 
* obj1 
= 0 ; 
15231     PyObject 
* obj2 
= 0 ; 
15232     char *kwnames
[] = { 
15233         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15237     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15240         arg2 
= wxString_in_helper(obj1
); 
15241         if (arg2 
== NULL
) SWIG_fail
; 
15245         arg3 
= (long) SWIG_AsLong(obj2
);  
15246         if (PyErr_Occurred()) SWIG_fail
; 
15249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15250         result 
= (long)wxConfigBase_ReadInt(arg1
,(wxString 
const &)*arg2
,arg3
); 
15252         wxPyEndAllowThreads(__tstate
); 
15253         if (PyErr_Occurred()) SWIG_fail
; 
15255     resultobj 
= SWIG_FromLong((long)result
); 
15270 static PyObject 
*_wrap_ConfigBase_ReadFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15271     PyObject 
*resultobj
; 
15272     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15273     wxString 
*arg2 
= 0 ; 
15274     double arg3 
= (double) 0.0 ; 
15276     bool temp2 
= False 
; 
15277     PyObject 
* obj0 
= 0 ; 
15278     PyObject 
* obj1 
= 0 ; 
15279     PyObject 
* obj2 
= 0 ; 
15280     char *kwnames
[] = { 
15281         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15288         arg2 
= wxString_in_helper(obj1
); 
15289         if (arg2 
== NULL
) SWIG_fail
; 
15293         arg3 
= (double) SWIG_AsDouble(obj2
);  
15294         if (PyErr_Occurred()) SWIG_fail
; 
15297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15298         result 
= (double)wxConfigBase_ReadFloat(arg1
,(wxString 
const &)*arg2
,arg3
); 
15300         wxPyEndAllowThreads(__tstate
); 
15301         if (PyErr_Occurred()) SWIG_fail
; 
15303     resultobj 
= SWIG_FromDouble((double)result
); 
15318 static PyObject 
*_wrap_ConfigBase_ReadBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15319     PyObject 
*resultobj
; 
15320     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15321     wxString 
*arg2 
= 0 ; 
15322     bool arg3 
= (bool) False 
; 
15324     bool temp2 
= False 
; 
15325     PyObject 
* obj0 
= 0 ; 
15326     PyObject 
* obj1 
= 0 ; 
15327     PyObject 
* obj2 
= 0 ; 
15328     char *kwnames
[] = { 
15329         (char *) "self",(char *) "key",(char *) "defaultVal", NULL 
 
15332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15336         arg2 
= wxString_in_helper(obj1
); 
15337         if (arg2 
== NULL
) SWIG_fail
; 
15341         arg3 
= (bool) SWIG_AsBool(obj2
);  
15342         if (PyErr_Occurred()) SWIG_fail
; 
15345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15346         result 
= (bool)wxConfigBase_ReadBool(arg1
,(wxString 
const &)*arg2
,arg3
); 
15348         wxPyEndAllowThreads(__tstate
); 
15349         if (PyErr_Occurred()) SWIG_fail
; 
15352         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15368 static PyObject 
*_wrap_ConfigBase_Write(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15369     PyObject 
*resultobj
; 
15370     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15371     wxString 
*arg2 
= 0 ; 
15372     wxString 
*arg3 
= 0 ; 
15374     bool temp2 
= False 
; 
15375     bool temp3 
= False 
; 
15376     PyObject 
* obj0 
= 0 ; 
15377     PyObject 
* obj1 
= 0 ; 
15378     PyObject 
* obj2 
= 0 ; 
15379     char *kwnames
[] = { 
15380         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15384     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15385     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15387         arg2 
= wxString_in_helper(obj1
); 
15388         if (arg2 
== NULL
) SWIG_fail
; 
15392         arg3 
= wxString_in_helper(obj2
); 
15393         if (arg3 
== NULL
) SWIG_fail
; 
15397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15398         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15400         wxPyEndAllowThreads(__tstate
); 
15401         if (PyErr_Occurred()) SWIG_fail
; 
15404         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15428 static PyObject 
*_wrap_ConfigBase_WriteInt(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15429     PyObject 
*resultobj
; 
15430     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15431     wxString 
*arg2 
= 0 ; 
15434     bool temp2 
= False 
; 
15435     PyObject 
* obj0 
= 0 ; 
15436     PyObject 
* obj1 
= 0 ; 
15437     PyObject 
* obj2 
= 0 ; 
15438     char *kwnames
[] = { 
15439         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15443     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15444     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15446         arg2 
= wxString_in_helper(obj1
); 
15447         if (arg2 
== NULL
) SWIG_fail
; 
15450     arg3 
= (long) SWIG_AsLong(obj2
);  
15451     if (PyErr_Occurred()) SWIG_fail
; 
15453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15454         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15456         wxPyEndAllowThreads(__tstate
); 
15457         if (PyErr_Occurred()) SWIG_fail
; 
15460         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15476 static PyObject 
*_wrap_ConfigBase_WriteFloat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15477     PyObject 
*resultobj
; 
15478     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15479     wxString 
*arg2 
= 0 ; 
15482     bool temp2 
= False 
; 
15483     PyObject 
* obj0 
= 0 ; 
15484     PyObject 
* obj1 
= 0 ; 
15485     PyObject 
* obj2 
= 0 ; 
15486     char *kwnames
[] = { 
15487         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15491     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15492     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15494         arg2 
= wxString_in_helper(obj1
); 
15495         if (arg2 
== NULL
) SWIG_fail
; 
15498     arg3 
= (double) SWIG_AsDouble(obj2
);  
15499     if (PyErr_Occurred()) SWIG_fail
; 
15501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15502         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15504         wxPyEndAllowThreads(__tstate
); 
15505         if (PyErr_Occurred()) SWIG_fail
; 
15508         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15524 static PyObject 
*_wrap_ConfigBase_WriteBool(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15525     PyObject 
*resultobj
; 
15526     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15527     wxString 
*arg2 
= 0 ; 
15530     bool temp2 
= False 
; 
15531     PyObject 
* obj0 
= 0 ; 
15532     PyObject 
* obj1 
= 0 ; 
15533     PyObject 
* obj2 
= 0 ; 
15534     char *kwnames
[] = { 
15535         (char *) "self",(char *) "key",(char *) "value", NULL 
 
15538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15542         arg2 
= wxString_in_helper(obj1
); 
15543         if (arg2 
== NULL
) SWIG_fail
; 
15546     arg3 
= (bool) SWIG_AsBool(obj2
);  
15547     if (PyErr_Occurred()) SWIG_fail
; 
15549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15550         result 
= (bool)(arg1
)->Write((wxString 
const &)*arg2
,arg3
); 
15552         wxPyEndAllowThreads(__tstate
); 
15553         if (PyErr_Occurred()) SWIG_fail
; 
15556         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15572 static PyObject 
*_wrap_ConfigBase_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15573     PyObject 
*resultobj
; 
15574     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15575     bool arg2 
= (bool) False 
; 
15577     PyObject 
* obj0 
= 0 ; 
15578     PyObject 
* obj1 
= 0 ; 
15579     char *kwnames
[] = { 
15580         (char *) "self",(char *) "currentOnly", NULL 
 
15583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
; 
15584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15587         arg2 
= (bool) SWIG_AsBool(obj1
);  
15588         if (PyErr_Occurred()) SWIG_fail
; 
15591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15592         result 
= (bool)(arg1
)->Flush(arg2
); 
15594         wxPyEndAllowThreads(__tstate
); 
15595         if (PyErr_Occurred()) SWIG_fail
; 
15598         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15606 static PyObject 
*_wrap_ConfigBase_RenameEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15607     PyObject 
*resultobj
; 
15608     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15609     wxString 
*arg2 
= 0 ; 
15610     wxString 
*arg3 
= 0 ; 
15612     bool temp2 
= False 
; 
15613     bool temp3 
= False 
; 
15614     PyObject 
* obj0 
= 0 ; 
15615     PyObject 
* obj1 
= 0 ; 
15616     PyObject 
* obj2 
= 0 ; 
15617     char *kwnames
[] = { 
15618         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
15621     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15622     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15623     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15625         arg2 
= wxString_in_helper(obj1
); 
15626         if (arg2 
== NULL
) SWIG_fail
; 
15630         arg3 
= wxString_in_helper(obj2
); 
15631         if (arg3 
== NULL
) SWIG_fail
; 
15635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15636         result 
= (bool)(arg1
)->RenameEntry((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15638         wxPyEndAllowThreads(__tstate
); 
15639         if (PyErr_Occurred()) SWIG_fail
; 
15642         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15666 static PyObject 
*_wrap_ConfigBase_RenameGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15667     PyObject 
*resultobj
; 
15668     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15669     wxString 
*arg2 
= 0 ; 
15670     wxString 
*arg3 
= 0 ; 
15672     bool temp2 
= False 
; 
15673     bool temp3 
= False 
; 
15674     PyObject 
* obj0 
= 0 ; 
15675     PyObject 
* obj1 
= 0 ; 
15676     PyObject 
* obj2 
= 0 ; 
15677     char *kwnames
[] = { 
15678         (char *) "self",(char *) "oldName",(char *) "newName", NULL 
 
15681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15682     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15683     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15685         arg2 
= wxString_in_helper(obj1
); 
15686         if (arg2 
== NULL
) SWIG_fail
; 
15690         arg3 
= wxString_in_helper(obj2
); 
15691         if (arg3 
== NULL
) SWIG_fail
; 
15695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15696         result 
= (bool)(arg1
)->RenameGroup((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
15698         wxPyEndAllowThreads(__tstate
); 
15699         if (PyErr_Occurred()) SWIG_fail
; 
15702         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15726 static PyObject 
*_wrap_ConfigBase_DeleteEntry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15727     PyObject 
*resultobj
; 
15728     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15729     wxString 
*arg2 
= 0 ; 
15730     bool arg3 
= (bool) True 
; 
15732     bool temp2 
= False 
; 
15733     PyObject 
* obj0 
= 0 ; 
15734     PyObject 
* obj1 
= 0 ; 
15735     PyObject 
* obj2 
= 0 ; 
15736     char *kwnames
[] = { 
15737         (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL 
 
15740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15741     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15742     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15744         arg2 
= wxString_in_helper(obj1
); 
15745         if (arg2 
== NULL
) SWIG_fail
; 
15749         arg3 
= (bool) SWIG_AsBool(obj2
);  
15750         if (PyErr_Occurred()) SWIG_fail
; 
15753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15754         result 
= (bool)(arg1
)->DeleteEntry((wxString 
const &)*arg2
,arg3
); 
15756         wxPyEndAllowThreads(__tstate
); 
15757         if (PyErr_Occurred()) SWIG_fail
; 
15760         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15776 static PyObject 
*_wrap_ConfigBase_DeleteGroup(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15777     PyObject 
*resultobj
; 
15778     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15779     wxString 
*arg2 
= 0 ; 
15781     bool temp2 
= False 
; 
15782     PyObject 
* obj0 
= 0 ; 
15783     PyObject 
* obj1 
= 0 ; 
15784     char *kwnames
[] = { 
15785         (char *) "self",(char *) "key", NULL 
 
15788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
; 
15789     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15790     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15792         arg2 
= wxString_in_helper(obj1
); 
15793         if (arg2 
== NULL
) SWIG_fail
; 
15797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15798         result 
= (bool)(arg1
)->DeleteGroup((wxString 
const &)*arg2
); 
15800         wxPyEndAllowThreads(__tstate
); 
15801         if (PyErr_Occurred()) SWIG_fail
; 
15804         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15820 static PyObject 
*_wrap_ConfigBase_DeleteAll(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15821     PyObject 
*resultobj
; 
15822     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15824     PyObject 
* obj0 
= 0 ; 
15825     char *kwnames
[] = { 
15826         (char *) "self", NULL 
 
15829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
; 
15830     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15831     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15834         result 
= (bool)(arg1
)->DeleteAll(); 
15836         wxPyEndAllowThreads(__tstate
); 
15837         if (PyErr_Occurred()) SWIG_fail
; 
15840         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15848 static PyObject 
*_wrap_ConfigBase_SetExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15849     PyObject 
*resultobj
; 
15850     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15851     bool arg2 
= (bool) True 
; 
15852     PyObject 
* obj0 
= 0 ; 
15853     PyObject 
* obj1 
= 0 ; 
15854     char *kwnames
[] = { 
15855         (char *) "self",(char *) "doIt", NULL 
 
15858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
15859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15862         arg2 
= (bool) SWIG_AsBool(obj1
);  
15863         if (PyErr_Occurred()) SWIG_fail
; 
15866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15867         (arg1
)->SetExpandEnvVars(arg2
); 
15869         wxPyEndAllowThreads(__tstate
); 
15870         if (PyErr_Occurred()) SWIG_fail
; 
15872     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15879 static PyObject 
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15880     PyObject 
*resultobj
; 
15881     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15883     PyObject 
* obj0 
= 0 ; 
15884     char *kwnames
[] = { 
15885         (char *) "self", NULL 
 
15888     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
; 
15889     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15890     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15892         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15893         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsExpandingEnvVars(); 
15895         wxPyEndAllowThreads(__tstate
); 
15896         if (PyErr_Occurred()) SWIG_fail
; 
15899         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15907 static PyObject 
*_wrap_ConfigBase_SetRecordDefaults(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15908     PyObject 
*resultobj
; 
15909     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15910     bool arg2 
= (bool) True 
; 
15911     PyObject 
* obj0 
= 0 ; 
15912     PyObject 
* obj1 
= 0 ; 
15913     char *kwnames
[] = { 
15914         (char *) "self",(char *) "doIt", NULL 
 
15917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
; 
15918     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15919     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15921         arg2 
= (bool) SWIG_AsBool(obj1
);  
15922         if (PyErr_Occurred()) SWIG_fail
; 
15925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15926         (arg1
)->SetRecordDefaults(arg2
); 
15928         wxPyEndAllowThreads(__tstate
); 
15929         if (PyErr_Occurred()) SWIG_fail
; 
15931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15938 static PyObject 
*_wrap_ConfigBase_IsRecordingDefaults(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15939     PyObject 
*resultobj
; 
15940     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15942     PyObject 
* obj0 
= 0 ; 
15943     char *kwnames
[] = { 
15944         (char *) "self", NULL 
 
15947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
; 
15948     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15949     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15952         result 
= (bool)((wxConfigBase 
const *)arg1
)->IsRecordingDefaults(); 
15954         wxPyEndAllowThreads(__tstate
); 
15955         if (PyErr_Occurred()) SWIG_fail
; 
15958         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15966 static PyObject 
*_wrap_ConfigBase_ExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
15967     PyObject 
*resultobj
; 
15968     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
15969     wxString 
*arg2 
= 0 ; 
15971     bool temp2 
= False 
; 
15972     PyObject 
* obj0 
= 0 ; 
15973     PyObject 
* obj1 
= 0 ; 
15974     char *kwnames
[] = { 
15975         (char *) "self",(char *) "str", NULL 
 
15978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
; 
15979     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
15980     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
15982         arg2 
= wxString_in_helper(obj1
); 
15983         if (arg2 
== NULL
) SWIG_fail
; 
15987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15988         result 
= ((wxConfigBase 
const *)arg1
)->ExpandEnvVars((wxString 
const &)*arg2
); 
15990         wxPyEndAllowThreads(__tstate
); 
15991         if (PyErr_Occurred()) SWIG_fail
; 
15995         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15997         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16014 static PyObject 
*_wrap_ConfigBase_GetAppName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16015     PyObject 
*resultobj
; 
16016     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16018     PyObject 
* obj0 
= 0 ; 
16019     char *kwnames
[] = { 
16020         (char *) "self", NULL 
 
16023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
; 
16024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16028         result 
= ((wxConfigBase 
const *)arg1
)->GetAppName(); 
16030         wxPyEndAllowThreads(__tstate
); 
16031         if (PyErr_Occurred()) SWIG_fail
; 
16035         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16037         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16046 static PyObject 
*_wrap_ConfigBase_GetVendorName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16047     PyObject 
*resultobj
; 
16048     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16050     PyObject 
* obj0 
= 0 ; 
16051     char *kwnames
[] = { 
16052         (char *) "self", NULL 
 
16055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
; 
16056     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16057     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16060         result 
= ((wxConfigBase 
const *)arg1
)->GetVendorName(); 
16062         wxPyEndAllowThreads(__tstate
); 
16063         if (PyErr_Occurred()) SWIG_fail
; 
16067         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16069         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16078 static PyObject 
*_wrap_ConfigBase_SetAppName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16079     PyObject 
*resultobj
; 
16080     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16081     wxString 
*arg2 
= 0 ; 
16082     bool temp2 
= False 
; 
16083     PyObject 
* obj0 
= 0 ; 
16084     PyObject 
* obj1 
= 0 ; 
16085     char *kwnames
[] = { 
16086         (char *) "self",(char *) "appName", NULL 
 
16089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16090     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16093         arg2 
= wxString_in_helper(obj1
); 
16094         if (arg2 
== NULL
) SWIG_fail
; 
16098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16099         (arg1
)->SetAppName((wxString 
const &)*arg2
); 
16101         wxPyEndAllowThreads(__tstate
); 
16102         if (PyErr_Occurred()) SWIG_fail
; 
16104     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16119 static PyObject 
*_wrap_ConfigBase_SetVendorName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16120     PyObject 
*resultobj
; 
16121     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16122     wxString 
*arg2 
= 0 ; 
16123     bool temp2 
= False 
; 
16124     PyObject 
* obj0 
= 0 ; 
16125     PyObject 
* obj1 
= 0 ; 
16126     char *kwnames
[] = { 
16127         (char *) "self",(char *) "vendorName", NULL 
 
16130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",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         (arg1
)->SetVendorName((wxString 
const &)*arg2
); 
16142         wxPyEndAllowThreads(__tstate
); 
16143         if (PyErr_Occurred()) SWIG_fail
; 
16145     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16160 static PyObject 
*_wrap_ConfigBase_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16161     PyObject 
*resultobj
; 
16162     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16164     PyObject 
* obj0 
= 0 ; 
16165     PyObject 
* obj1 
= 0 ; 
16166     char *kwnames
[] = { 
16167         (char *) "self",(char *) "style", NULL 
 
16170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
16171     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16172     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16173     arg2 
= (long) SWIG_AsLong(obj1
);  
16174     if (PyErr_Occurred()) SWIG_fail
; 
16176         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16177         (arg1
)->SetStyle(arg2
); 
16179         wxPyEndAllowThreads(__tstate
); 
16180         if (PyErr_Occurred()) SWIG_fail
; 
16182     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16189 static PyObject 
*_wrap_ConfigBase_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16190     PyObject 
*resultobj
; 
16191     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16193     PyObject 
* obj0 
= 0 ; 
16194     char *kwnames
[] = { 
16195         (char *) "self", NULL 
 
16198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
; 
16199     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16200     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16203         result 
= (long)((wxConfigBase 
const *)arg1
)->GetStyle(); 
16205         wxPyEndAllowThreads(__tstate
); 
16206         if (PyErr_Occurred()) SWIG_fail
; 
16208     resultobj 
= SWIG_FromLong((long)result
); 
16215 static PyObject 
* ConfigBase_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16217     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16218     SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
); 
16220     return Py_BuildValue((char *)""); 
16222 static PyObject 
*_wrap_new_Config(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16223     PyObject 
*resultobj
; 
16224     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16225     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16226     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16227     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16228     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16229     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16230     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16231     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16232     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16234     bool temp1 
= False 
; 
16235     bool temp2 
= False 
; 
16236     bool temp3 
= False 
; 
16237     bool temp4 
= False 
; 
16238     PyObject 
* obj0 
= 0 ; 
16239     PyObject 
* obj1 
= 0 ; 
16240     PyObject 
* obj2 
= 0 ; 
16241     PyObject 
* obj3 
= 0 ; 
16242     PyObject 
* obj4 
= 0 ; 
16243     char *kwnames
[] = { 
16244         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16250             arg1 
= wxString_in_helper(obj0
); 
16251             if (arg1 
== NULL
) SWIG_fail
; 
16257             arg2 
= wxString_in_helper(obj1
); 
16258             if (arg2 
== NULL
) SWIG_fail
; 
16264             arg3 
= wxString_in_helper(obj2
); 
16265             if (arg3 
== NULL
) SWIG_fail
; 
16271             arg4 
= wxString_in_helper(obj3
); 
16272             if (arg4 
== NULL
) SWIG_fail
; 
16277         arg5 
= (long) SWIG_AsLong(obj4
);  
16278         if (PyErr_Occurred()) SWIG_fail
; 
16281         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16282         result 
= (wxConfig 
*)new wxConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16284         wxPyEndAllowThreads(__tstate
); 
16285         if (PyErr_Occurred()) SWIG_fail
; 
16287     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1); 
16326 static PyObject 
*_wrap_delete_Config(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16327     PyObject 
*resultobj
; 
16328     wxConfig 
*arg1 
= (wxConfig 
*) 0 ; 
16329     PyObject 
* obj0 
= 0 ; 
16330     char *kwnames
[] = { 
16331         (char *) "self", NULL 
 
16334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
; 
16335     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
, 
16336     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16341         wxPyEndAllowThreads(__tstate
); 
16342         if (PyErr_Occurred()) SWIG_fail
; 
16344     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16351 static PyObject 
* Config_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16353     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16354     SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
); 
16356     return Py_BuildValue((char *)""); 
16358 static PyObject 
*_wrap_new_FileConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16359     PyObject 
*resultobj
; 
16360     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
16361     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
16362     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
16363     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16364     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16365     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16366     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16367     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16368     long arg5 
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE 
; 
16369     wxFileConfig 
*result
; 
16370     bool temp1 
= False 
; 
16371     bool temp2 
= False 
; 
16372     bool temp3 
= False 
; 
16373     bool temp4 
= False 
; 
16374     PyObject 
* obj0 
= 0 ; 
16375     PyObject 
* obj1 
= 0 ; 
16376     PyObject 
* obj2 
= 0 ; 
16377     PyObject 
* obj3 
= 0 ; 
16378     PyObject 
* obj4 
= 0 ; 
16379     char *kwnames
[] = { 
16380         (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL 
 
16383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16386             arg1 
= wxString_in_helper(obj0
); 
16387             if (arg1 
== NULL
) SWIG_fail
; 
16393             arg2 
= wxString_in_helper(obj1
); 
16394             if (arg2 
== NULL
) SWIG_fail
; 
16400             arg3 
= wxString_in_helper(obj2
); 
16401             if (arg3 
== NULL
) SWIG_fail
; 
16407             arg4 
= wxString_in_helper(obj3
); 
16408             if (arg4 
== NULL
) SWIG_fail
; 
16413         arg5 
= (long) SWIG_AsLong(obj4
);  
16414         if (PyErr_Occurred()) SWIG_fail
; 
16417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16418         result 
= (wxFileConfig 
*)new wxFileConfig((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
16420         wxPyEndAllowThreads(__tstate
); 
16421         if (PyErr_Occurred()) SWIG_fail
; 
16423     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1); 
16462 static PyObject 
*_wrap_delete_FileConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16463     PyObject 
*resultobj
; 
16464     wxFileConfig 
*arg1 
= (wxFileConfig 
*) 0 ; 
16465     PyObject 
* obj0 
= 0 ; 
16466     char *kwnames
[] = { 
16467         (char *) "self", NULL 
 
16470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
; 
16471     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
, 
16472     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16477         wxPyEndAllowThreads(__tstate
); 
16478         if (PyErr_Occurred()) SWIG_fail
; 
16480     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16487 static PyObject 
* FileConfig_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16489     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16490     SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
); 
16492     return Py_BuildValue((char *)""); 
16494 static PyObject 
*_wrap_new_ConfigPathChanger(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16495     PyObject 
*resultobj
; 
16496     wxConfigBase 
*arg1 
= (wxConfigBase 
*) 0 ; 
16497     wxString 
*arg2 
= 0 ; 
16498     wxConfigPathChanger 
*result
; 
16499     bool temp2 
= False 
; 
16500     PyObject 
* obj0 
= 0 ; 
16501     PyObject 
* obj1 
= 0 ; 
16502     char *kwnames
[] = { 
16503         (char *) "config",(char *) "entry", NULL 
 
16506     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
; 
16507     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
, 
16508     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16510         arg2 
= wxString_in_helper(obj1
); 
16511         if (arg2 
== NULL
) SWIG_fail
; 
16515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16516         result 
= (wxConfigPathChanger 
*)new wxConfigPathChanger((wxConfigBase 
const *)arg1
,(wxString 
const &)*arg2
); 
16518         wxPyEndAllowThreads(__tstate
); 
16519         if (PyErr_Occurred()) SWIG_fail
; 
16521     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1); 
16536 static PyObject 
*_wrap_delete_ConfigPathChanger(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16537     PyObject 
*resultobj
; 
16538     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16539     PyObject 
* obj0 
= 0 ; 
16540     char *kwnames
[] = { 
16541         (char *) "self", NULL 
 
16544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
; 
16545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16551         wxPyEndAllowThreads(__tstate
); 
16552         if (PyErr_Occurred()) SWIG_fail
; 
16554     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16561 static PyObject 
*_wrap_ConfigPathChanger_Name(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16562     PyObject 
*resultobj
; 
16563     wxConfigPathChanger 
*arg1 
= (wxConfigPathChanger 
*) 0 ; 
16565     PyObject 
* obj0 
= 0 ; 
16566     char *kwnames
[] = { 
16567         (char *) "self", NULL 
 
16570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
; 
16571     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
, 
16572     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
16574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16576             wxString 
const &_result_ref 
= ((wxConfigPathChanger 
const *)arg1
)->Name(); 
16577             result 
= (wxString 
*) &_result_ref
; 
16580         wxPyEndAllowThreads(__tstate
); 
16581         if (PyErr_Occurred()) SWIG_fail
; 
16585         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
16587         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
16596 static PyObject 
* ConfigPathChanger_swigregister(PyObject 
*self
, PyObject 
*args
) { 
16598     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16599     SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
); 
16601     return Py_BuildValue((char *)""); 
16603 static PyObject 
*_wrap_ExpandEnvVars(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16604     PyObject 
*resultobj
; 
16605     wxString 
*arg1 
= 0 ; 
16607     bool temp1 
= False 
; 
16608     PyObject 
* obj0 
= 0 ; 
16609     char *kwnames
[] = { 
16610         (char *) "sz", NULL 
 
16613     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
; 
16615         arg1 
= wxString_in_helper(obj0
); 
16616         if (arg1 
== NULL
) SWIG_fail
; 
16620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16621         result 
= wxExpandEnvVars((wxString 
const &)*arg1
); 
16623         wxPyEndAllowThreads(__tstate
); 
16624         if (PyErr_Occurred()) SWIG_fail
; 
16628         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16630         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16647 static int _wrap_DateFormatStr_set(PyObject 
*_val
) { 
16648     PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only."); 
16653 static PyObject 
*_wrap_DateFormatStr_get() { 
16658         pyobj 
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
16660         pyobj 
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len()); 
16667 static int _wrap_TimeSpanFormatStr_set(PyObject 
*_val
) { 
16668     PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only."); 
16673 static PyObject 
*_wrap_TimeSpanFormatStr_get() { 
16678         pyobj 
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
16680         pyobj 
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len()); 
16687 static PyObject 
*_wrap_DateTime_SetCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16688     PyObject 
*resultobj
; 
16690     PyObject 
* obj0 
= 0 ; 
16691     char *kwnames
[] = { 
16692         (char *) "country", NULL 
 
16695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
; 
16696     arg1 
= (wxDateTime::Country
) SWIG_AsInt(obj0
);  
16697     if (PyErr_Occurred()) SWIG_fail
; 
16699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16700         wxDateTime::SetCountry((wxDateTime::Country 
)arg1
); 
16702         wxPyEndAllowThreads(__tstate
); 
16703         if (PyErr_Occurred()) SWIG_fail
; 
16705     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16712 static PyObject 
*_wrap_DateTime_GetCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16713     PyObject 
*resultobj
; 
16715     char *kwnames
[] = { 
16719     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
; 
16721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16722         result 
= (int)wxDateTime::GetCountry(); 
16724         wxPyEndAllowThreads(__tstate
); 
16725         if (PyErr_Occurred()) SWIG_fail
; 
16727     resultobj 
= SWIG_FromInt((int)result
); 
16734 static PyObject 
*_wrap_DateTime_IsWestEuropeanCountry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16735     PyObject 
*resultobj
; 
16736     int arg1 
= (int) wxDateTime::Country_Default 
; 
16738     PyObject 
* obj0 
= 0 ; 
16739     char *kwnames
[] = { 
16740         (char *) "country", NULL 
 
16743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
; 
16745         arg1 
= (wxDateTime::Country
) SWIG_AsInt(obj0
);  
16746         if (PyErr_Occurred()) SWIG_fail
; 
16749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16750         result 
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country 
)arg1
); 
16752         wxPyEndAllowThreads(__tstate
); 
16753         if (PyErr_Occurred()) SWIG_fail
; 
16756         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16764 static PyObject 
*_wrap_DateTime_GetCurrentYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16765     PyObject 
*resultobj
; 
16766     int arg1 
= (int) wxDateTime::Gregorian 
; 
16768     PyObject 
* obj0 
= 0 ; 
16769     char *kwnames
[] = { 
16770         (char *) "cal", NULL 
 
16773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
; 
16775         arg1 
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);  
16776         if (PyErr_Occurred()) SWIG_fail
; 
16779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16780         result 
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar 
)arg1
); 
16782         wxPyEndAllowThreads(__tstate
); 
16783         if (PyErr_Occurred()) SWIG_fail
; 
16785     resultobj 
= SWIG_FromInt((int)result
); 
16792 static PyObject 
*_wrap_DateTime_ConvertYearToBC(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16793     PyObject 
*resultobj
; 
16796     PyObject 
* obj0 
= 0 ; 
16797     char *kwnames
[] = { 
16798         (char *) "year", NULL 
 
16801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
; 
16802     arg1 
= (int) SWIG_AsInt(obj0
);  
16803     if (PyErr_Occurred()) SWIG_fail
; 
16805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16806         result 
= (int)wxDateTime::ConvertYearToBC(arg1
); 
16808         wxPyEndAllowThreads(__tstate
); 
16809         if (PyErr_Occurred()) SWIG_fail
; 
16811     resultobj 
= SWIG_FromInt((int)result
); 
16818 static PyObject 
*_wrap_DateTime_GetCurrentMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16819     PyObject 
*resultobj
; 
16820     int arg1 
= (int) wxDateTime::Gregorian 
; 
16822     PyObject 
* obj0 
= 0 ; 
16823     char *kwnames
[] = { 
16824         (char *) "cal", NULL 
 
16827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
; 
16829         arg1 
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);  
16830         if (PyErr_Occurred()) SWIG_fail
; 
16833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16834         result 
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar 
)arg1
); 
16836         wxPyEndAllowThreads(__tstate
); 
16837         if (PyErr_Occurred()) SWIG_fail
; 
16839     resultobj 
= SWIG_FromInt((int)result
); 
16846 static PyObject 
*_wrap_DateTime_IsLeapYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16847     PyObject 
*resultobj
; 
16848     int arg1 
= (int) wxDateTime::Inv_Year 
; 
16849     int arg2 
= (int) wxDateTime::Gregorian 
; 
16851     PyObject 
* obj0 
= 0 ; 
16852     PyObject 
* obj1 
= 0 ; 
16853     char *kwnames
[] = { 
16854         (char *) "year",(char *) "cal", NULL 
 
16857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
16859         arg1 
= (int) SWIG_AsInt(obj0
);  
16860         if (PyErr_Occurred()) SWIG_fail
; 
16863         arg2 
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);  
16864         if (PyErr_Occurred()) SWIG_fail
; 
16867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16868         result 
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar 
)arg2
); 
16870         wxPyEndAllowThreads(__tstate
); 
16871         if (PyErr_Occurred()) SWIG_fail
; 
16874         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16882 static PyObject 
*_wrap_DateTime_GetCentury(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16883     PyObject 
*resultobj
; 
16884     int arg1 
= (int) wxDateTime::Inv_Year 
; 
16886     PyObject 
* obj0 
= 0 ; 
16887     char *kwnames
[] = { 
16888         (char *) "year", NULL 
 
16891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
; 
16893         arg1 
= (int) SWIG_AsInt(obj0
);  
16894         if (PyErr_Occurred()) SWIG_fail
; 
16897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16898         result 
= (int)wxDateTime::GetCentury(arg1
); 
16900         wxPyEndAllowThreads(__tstate
); 
16901         if (PyErr_Occurred()) SWIG_fail
; 
16903     resultobj 
= SWIG_FromInt((int)result
); 
16910 static PyObject 
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16911     PyObject 
*resultobj
; 
16913     int arg2 
= (int) wxDateTime::Gregorian 
; 
16915     PyObject 
* obj0 
= 0 ; 
16916     PyObject 
* obj1 
= 0 ; 
16917     char *kwnames
[] = { 
16918         (char *) "year",(char *) "cal", NULL 
 
16921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
16922     arg1 
= (int) SWIG_AsInt(obj0
);  
16923     if (PyErr_Occurred()) SWIG_fail
; 
16925         arg2 
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);  
16926         if (PyErr_Occurred()) SWIG_fail
; 
16929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16930         result 
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar 
)arg2
); 
16932         wxPyEndAllowThreads(__tstate
); 
16933         if (PyErr_Occurred()) SWIG_fail
; 
16935     resultobj 
= SWIG_FromInt((int)result
); 
16942 static PyObject 
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16943     PyObject 
*resultobj
; 
16945     int arg2 
= (int) wxDateTime::Inv_Year 
; 
16946     int arg3 
= (int) wxDateTime::Gregorian 
; 
16948     PyObject 
* obj0 
= 0 ; 
16949     PyObject 
* obj1 
= 0 ; 
16950     PyObject 
* obj2 
= 0 ; 
16951     char *kwnames
[] = { 
16952         (char *) "month",(char *) "year",(char *) "cal", NULL 
 
16955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16956     arg1 
= (wxDateTime::Month
) SWIG_AsInt(obj0
);  
16957     if (PyErr_Occurred()) SWIG_fail
; 
16959         arg2 
= (int) SWIG_AsInt(obj1
);  
16960         if (PyErr_Occurred()) SWIG_fail
; 
16963         arg3 
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);  
16964         if (PyErr_Occurred()) SWIG_fail
; 
16967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16968         result 
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month 
)arg1
,arg2
,(wxDateTime::Calendar 
)arg3
); 
16970         wxPyEndAllowThreads(__tstate
); 
16971         if (PyErr_Occurred()) SWIG_fail
; 
16973     resultobj 
= SWIG_FromInt((int)result
); 
16980 static PyObject 
*_wrap_DateTime_GetMonthName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
16981     PyObject 
*resultobj
; 
16983     int arg2 
= (int) wxDateTime::Name_Full 
; 
16985     PyObject 
* obj0 
= 0 ; 
16986     PyObject 
* obj1 
= 0 ; 
16987     char *kwnames
[] = { 
16988         (char *) "month",(char *) "flags", NULL 
 
16991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
; 
16992     arg1 
= (wxDateTime::Month
) SWIG_AsInt(obj0
);  
16993     if (PyErr_Occurred()) SWIG_fail
; 
16995         arg2 
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);  
16996         if (PyErr_Occurred()) SWIG_fail
; 
16999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17000         result 
= wxDateTime::GetMonthName((wxDateTime::Month 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
17002         wxPyEndAllowThreads(__tstate
); 
17003         if (PyErr_Occurred()) SWIG_fail
; 
17007         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17009         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17018 static PyObject 
*_wrap_DateTime_GetWeekDayName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17019     PyObject 
*resultobj
; 
17021     int arg2 
= (int) wxDateTime::Name_Full 
; 
17023     PyObject 
* obj0 
= 0 ; 
17024     PyObject 
* obj1 
= 0 ; 
17025     char *kwnames
[] = { 
17026         (char *) "weekday",(char *) "flags", NULL 
 
17029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
; 
17030     arg1 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);  
17031     if (PyErr_Occurred()) SWIG_fail
; 
17033         arg2 
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);  
17034         if (PyErr_Occurred()) SWIG_fail
; 
17037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17038         result 
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay 
)arg1
,(wxDateTime::NameFlags 
)arg2
); 
17040         wxPyEndAllowThreads(__tstate
); 
17041         if (PyErr_Occurred()) SWIG_fail
; 
17045         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17047         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17056 static PyObject 
*_wrap_DateTime_GetAmPmStrings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17057     PyObject 
*resultobj
; 
17058     wxString 
*arg1 
= (wxString 
*) 0 ; 
17059     wxString 
*arg2 
= (wxString 
*) 0 ; 
17060     bool temp1 
= False 
; 
17061     bool temp2 
= False 
; 
17062     PyObject 
* obj0 
= 0 ; 
17063     PyObject 
* obj1 
= 0 ; 
17064     char *kwnames
[] = { 
17065         (char *) "OUTPUT",(char *) "OUTPUT", NULL 
 
17068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
; 
17070         arg1 
= wxString_in_helper(obj0
); 
17071         if (arg1 
== NULL
) SWIG_fail
; 
17075         arg2 
= wxString_in_helper(obj1
); 
17076         if (arg2 
== NULL
) SWIG_fail
; 
17080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17081         wxDateTime::GetAmPmStrings(arg1
,arg2
); 
17083         wxPyEndAllowThreads(__tstate
); 
17084         if (PyErr_Occurred()) SWIG_fail
; 
17086     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17109 static PyObject 
*_wrap_DateTime_IsDSTApplicable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17110     PyObject 
*resultobj
; 
17111     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17112     int arg2 
= (int) wxDateTime::Country_Default 
; 
17114     PyObject 
* obj0 
= 0 ; 
17115     PyObject 
* obj1 
= 0 ; 
17116     char *kwnames
[] = { 
17117         (char *) "year",(char *) "country", NULL 
 
17120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
; 
17122         arg1 
= (int) SWIG_AsInt(obj0
);  
17123         if (PyErr_Occurred()) SWIG_fail
; 
17126         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17127         if (PyErr_Occurred()) SWIG_fail
; 
17130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17131         result 
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country 
)arg2
); 
17133         wxPyEndAllowThreads(__tstate
); 
17134         if (PyErr_Occurred()) SWIG_fail
; 
17137         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17145 static PyObject 
*_wrap_DateTime_GetBeginDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17146     PyObject 
*resultobj
; 
17147     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17148     int arg2 
= (int) wxDateTime::Country_Default 
; 
17150     PyObject 
* obj0 
= 0 ; 
17151     PyObject 
* obj1 
= 0 ; 
17152     char *kwnames
[] = { 
17153         (char *) "year",(char *) "country", NULL 
 
17156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17158         arg1 
= (int) SWIG_AsInt(obj0
);  
17159         if (PyErr_Occurred()) SWIG_fail
; 
17162         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17163         if (PyErr_Occurred()) SWIG_fail
; 
17166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17167         result 
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country 
)arg2
); 
17169         wxPyEndAllowThreads(__tstate
); 
17170         if (PyErr_Occurred()) SWIG_fail
; 
17173         wxDateTime 
* resultptr
; 
17174         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17175         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17183 static PyObject 
*_wrap_DateTime_GetEndDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17184     PyObject 
*resultobj
; 
17185     int arg1 
= (int) wxDateTime::Inv_Year 
; 
17186     int arg2 
= (int) wxDateTime::Country_Default 
; 
17188     PyObject 
* obj0 
= 0 ; 
17189     PyObject 
* obj1 
= 0 ; 
17190     char *kwnames
[] = { 
17191         (char *) "year",(char *) "country", NULL 
 
17194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
17196         arg1 
= (int) SWIG_AsInt(obj0
);  
17197         if (PyErr_Occurred()) SWIG_fail
; 
17200         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
17201         if (PyErr_Occurred()) SWIG_fail
; 
17204         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17205         result 
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country 
)arg2
); 
17207         wxPyEndAllowThreads(__tstate
); 
17208         if (PyErr_Occurred()) SWIG_fail
; 
17211         wxDateTime 
* resultptr
; 
17212         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17213         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17221 static PyObject 
*_wrap_DateTime_Now(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17222     PyObject 
*resultobj
; 
17224     char *kwnames
[] = { 
17228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
; 
17230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17231         result 
= wxDateTime::Now(); 
17233         wxPyEndAllowThreads(__tstate
); 
17234         if (PyErr_Occurred()) SWIG_fail
; 
17237         wxDateTime 
* resultptr
; 
17238         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17239         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17247 static PyObject 
*_wrap_DateTime_UNow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17248     PyObject 
*resultobj
; 
17250     char *kwnames
[] = { 
17254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
; 
17256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17257         result 
= wxDateTime::UNow(); 
17259         wxPyEndAllowThreads(__tstate
); 
17260         if (PyErr_Occurred()) SWIG_fail
; 
17263         wxDateTime 
* resultptr
; 
17264         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17265         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17273 static PyObject 
*_wrap_DateTime_Today(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17274     PyObject 
*resultobj
; 
17276     char *kwnames
[] = { 
17280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
; 
17282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17283         result 
= wxDateTime::Today(); 
17285         wxPyEndAllowThreads(__tstate
); 
17286         if (PyErr_Occurred()) SWIG_fail
; 
17289         wxDateTime 
* resultptr
; 
17290         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
17291         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
17299 static PyObject 
*_wrap_new_DateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17300     PyObject 
*resultobj
; 
17301     wxDateTime 
*result
; 
17302     char *kwnames
[] = { 
17306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
; 
17308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17309         result 
= (wxDateTime 
*)new wxDateTime(); 
17311         wxPyEndAllowThreads(__tstate
); 
17312         if (PyErr_Occurred()) SWIG_fail
; 
17314     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17321 static PyObject 
*_wrap_new_DateTimeFromTimeT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17322     PyObject 
*resultobj
; 
17324     wxDateTime 
*result
; 
17325     PyObject 
* obj0 
= 0 ; 
17326     char *kwnames
[] = { 
17327         (char *) "timet", NULL 
 
17330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
; 
17331     arg1 
= (time_t) SWIG_AsUnsignedInt(obj0
);  
17332     if (PyErr_Occurred()) SWIG_fail
; 
17334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17335         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17337         wxPyEndAllowThreads(__tstate
); 
17338         if (PyErr_Occurred()) SWIG_fail
; 
17340     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17347 static PyObject 
*_wrap_new_DateTimeFromJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17348     PyObject 
*resultobj
; 
17350     wxDateTime 
*result
; 
17351     PyObject 
* obj0 
= 0 ; 
17352     char *kwnames
[] = { 
17353         (char *) "jdn", NULL 
 
17356     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
; 
17357     arg1 
= (double) SWIG_AsDouble(obj0
);  
17358     if (PyErr_Occurred()) SWIG_fail
; 
17360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17361         result 
= (wxDateTime 
*)new wxDateTime(arg1
); 
17363         wxPyEndAllowThreads(__tstate
); 
17364         if (PyErr_Occurred()) SWIG_fail
; 
17366     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17373 static PyObject 
*_wrap_new_DateTimeFromHMS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17374     PyObject 
*resultobj
; 
17376     int arg2 
= (int) 0 ; 
17377     int arg3 
= (int) 0 ; 
17378     int arg4 
= (int) 0 ; 
17379     wxDateTime 
*result
; 
17380     PyObject 
* obj0 
= 0 ; 
17381     PyObject 
* obj1 
= 0 ; 
17382     PyObject 
* obj2 
= 0 ; 
17383     PyObject 
* obj3 
= 0 ; 
17384     char *kwnames
[] = { 
17385         (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17389     arg1 
= (int) SWIG_AsInt(obj0
);  
17390     if (PyErr_Occurred()) SWIG_fail
; 
17392         arg2 
= (int) SWIG_AsInt(obj1
);  
17393         if (PyErr_Occurred()) SWIG_fail
; 
17396         arg3 
= (int) SWIG_AsInt(obj2
);  
17397         if (PyErr_Occurred()) SWIG_fail
; 
17400         arg4 
= (int) SWIG_AsInt(obj3
);  
17401         if (PyErr_Occurred()) SWIG_fail
; 
17404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17405         result 
= (wxDateTime 
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
); 
17407         wxPyEndAllowThreads(__tstate
); 
17408         if (PyErr_Occurred()) SWIG_fail
; 
17410     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17417 static PyObject 
*_wrap_new_DateTimeFromDMY(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17418     PyObject 
*resultobj
; 
17420     int arg2 
= (int) wxDateTime::Inv_Month 
; 
17421     int arg3 
= (int) wxDateTime::Inv_Year 
; 
17422     int arg4 
= (int) 0 ; 
17423     int arg5 
= (int) 0 ; 
17424     int arg6 
= (int) 0 ; 
17425     int arg7 
= (int) 0 ; 
17426     wxDateTime 
*result
; 
17427     PyObject 
* obj0 
= 0 ; 
17428     PyObject 
* obj1 
= 0 ; 
17429     PyObject 
* obj2 
= 0 ; 
17430     PyObject 
* obj3 
= 0 ; 
17431     PyObject 
* obj4 
= 0 ; 
17432     PyObject 
* obj5 
= 0 ; 
17433     PyObject 
* obj6 
= 0 ; 
17434     char *kwnames
[] = { 
17435         (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17439     arg1 
= (int) SWIG_AsInt(obj0
);  
17440     if (PyErr_Occurred()) SWIG_fail
; 
17442         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
17443         if (PyErr_Occurred()) SWIG_fail
; 
17446         arg3 
= (int) SWIG_AsInt(obj2
);  
17447         if (PyErr_Occurred()) SWIG_fail
; 
17450         arg4 
= (int) SWIG_AsInt(obj3
);  
17451         if (PyErr_Occurred()) SWIG_fail
; 
17454         arg5 
= (int) SWIG_AsInt(obj4
);  
17455         if (PyErr_Occurred()) SWIG_fail
; 
17458         arg6 
= (int) SWIG_AsInt(obj5
);  
17459         if (PyErr_Occurred()) SWIG_fail
; 
17462         arg7 
= (int) SWIG_AsInt(obj6
);  
17463         if (PyErr_Occurred()) SWIG_fail
; 
17466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17467         result 
= (wxDateTime 
*)new wxDateTime(arg1
,(wxDateTime::Month 
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
17469         wxPyEndAllowThreads(__tstate
); 
17470         if (PyErr_Occurred()) SWIG_fail
; 
17472     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1); 
17479 static PyObject 
*_wrap_delete_DateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17480     PyObject 
*resultobj
; 
17481     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17482     PyObject 
* obj0 
= 0 ; 
17483     char *kwnames
[] = { 
17484         (char *) "self", NULL 
 
17487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
; 
17488     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17489     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17494         wxPyEndAllowThreads(__tstate
); 
17495         if (PyErr_Occurred()) SWIG_fail
; 
17497     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17504 static PyObject 
*_wrap_DateTime_SetToCurrent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17505     PyObject 
*resultobj
; 
17506     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17507     wxDateTime 
*result
; 
17508     PyObject 
* obj0 
= 0 ; 
17509     char *kwnames
[] = { 
17510         (char *) "self", NULL 
 
17513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
; 
17514     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17515     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17519             wxDateTime 
&_result_ref 
= (arg1
)->SetToCurrent(); 
17520             result 
= (wxDateTime 
*) &_result_ref
; 
17523         wxPyEndAllowThreads(__tstate
); 
17524         if (PyErr_Occurred()) SWIG_fail
; 
17526     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17533 static PyObject 
*_wrap_DateTime_SetTimeT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17534     PyObject 
*resultobj
; 
17535     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17537     wxDateTime 
*result
; 
17538     PyObject 
* obj0 
= 0 ; 
17539     PyObject 
* obj1 
= 0 ; 
17540     char *kwnames
[] = { 
17541         (char *) "self",(char *) "timet", NULL 
 
17544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
; 
17545     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17546     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17547     arg2 
= (time_t) SWIG_AsUnsignedInt(obj1
);  
17548     if (PyErr_Occurred()) SWIG_fail
; 
17550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17552             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17553             result 
= (wxDateTime 
*) &_result_ref
; 
17556         wxPyEndAllowThreads(__tstate
); 
17557         if (PyErr_Occurred()) SWIG_fail
; 
17559     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17566 static PyObject 
*_wrap_DateTime_SetJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17567     PyObject 
*resultobj
; 
17568     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17570     wxDateTime 
*result
; 
17571     PyObject 
* obj0 
= 0 ; 
17572     PyObject 
* obj1 
= 0 ; 
17573     char *kwnames
[] = { 
17574         (char *) "self",(char *) "jdn", NULL 
 
17577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
; 
17578     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17579     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17580     arg2 
= (double) SWIG_AsDouble(obj1
);  
17581     if (PyErr_Occurred()) SWIG_fail
; 
17583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17585             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
); 
17586             result 
= (wxDateTime 
*) &_result_ref
; 
17589         wxPyEndAllowThreads(__tstate
); 
17590         if (PyErr_Occurred()) SWIG_fail
; 
17592     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17599 static PyObject 
*_wrap_DateTime_SetHMS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17600     PyObject 
*resultobj
; 
17601     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17603     int arg3 
= (int) 0 ; 
17604     int arg4 
= (int) 0 ; 
17605     int arg5 
= (int) 0 ; 
17606     wxDateTime 
*result
; 
17607     PyObject 
* obj0 
= 0 ; 
17608     PyObject 
* obj1 
= 0 ; 
17609     PyObject 
* obj2 
= 0 ; 
17610     PyObject 
* obj3 
= 0 ; 
17611     PyObject 
* obj4 
= 0 ; 
17612     char *kwnames
[] = { 
17613         (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
17617     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17618     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17619     arg2 
= (int) SWIG_AsInt(obj1
);  
17620     if (PyErr_Occurred()) SWIG_fail
; 
17622         arg3 
= (int) SWIG_AsInt(obj2
);  
17623         if (PyErr_Occurred()) SWIG_fail
; 
17626         arg4 
= (int) SWIG_AsInt(obj3
);  
17627         if (PyErr_Occurred()) SWIG_fail
; 
17630         arg5 
= (int) SWIG_AsInt(obj4
);  
17631         if (PyErr_Occurred()) SWIG_fail
; 
17634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17636             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
); 
17637             result 
= (wxDateTime 
*) &_result_ref
; 
17640         wxPyEndAllowThreads(__tstate
); 
17641         if (PyErr_Occurred()) SWIG_fail
; 
17643     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17650 static PyObject 
*_wrap_DateTime_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17651     PyObject 
*resultobj
; 
17652     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17654     int arg3 
= (int) wxDateTime::Inv_Month 
; 
17655     int arg4 
= (int) wxDateTime::Inv_Year 
; 
17656     int arg5 
= (int) 0 ; 
17657     int arg6 
= (int) 0 ; 
17658     int arg7 
= (int) 0 ; 
17659     int arg8 
= (int) 0 ; 
17660     wxDateTime 
*result
; 
17661     PyObject 
* obj0 
= 0 ; 
17662     PyObject 
* obj1 
= 0 ; 
17663     PyObject 
* obj2 
= 0 ; 
17664     PyObject 
* obj3 
= 0 ; 
17665     PyObject 
* obj4 
= 0 ; 
17666     PyObject 
* obj5 
= 0 ; 
17667     PyObject 
* obj6 
= 0 ; 
17668     PyObject 
* obj7 
= 0 ; 
17669     char *kwnames
[] = { 
17670         (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL 
 
17673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
17674     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17675     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17676     arg2 
= (int) SWIG_AsInt(obj1
);  
17677     if (PyErr_Occurred()) SWIG_fail
; 
17679         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
17680         if (PyErr_Occurred()) SWIG_fail
; 
17683         arg4 
= (int) SWIG_AsInt(obj3
);  
17684         if (PyErr_Occurred()) SWIG_fail
; 
17687         arg5 
= (int) SWIG_AsInt(obj4
);  
17688         if (PyErr_Occurred()) SWIG_fail
; 
17691         arg6 
= (int) SWIG_AsInt(obj5
);  
17692         if (PyErr_Occurred()) SWIG_fail
; 
17695         arg7 
= (int) SWIG_AsInt(obj6
);  
17696         if (PyErr_Occurred()) SWIG_fail
; 
17699         arg8 
= (int) SWIG_AsInt(obj7
);  
17700         if (PyErr_Occurred()) SWIG_fail
; 
17703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17705             wxDateTime 
&_result_ref 
= (arg1
)->Set(arg2
,(wxDateTime::Month 
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
); 
17706             result 
= (wxDateTime 
*) &_result_ref
; 
17709         wxPyEndAllowThreads(__tstate
); 
17710         if (PyErr_Occurred()) SWIG_fail
; 
17712     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17719 static PyObject 
*_wrap_DateTime_ResetTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17720     PyObject 
*resultobj
; 
17721     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17722     wxDateTime 
*result
; 
17723     PyObject 
* obj0 
= 0 ; 
17724     char *kwnames
[] = { 
17725         (char *) "self", NULL 
 
17728     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
; 
17729     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17730     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17732         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17734             wxDateTime 
&_result_ref 
= (arg1
)->ResetTime(); 
17735             result 
= (wxDateTime 
*) &_result_ref
; 
17738         wxPyEndAllowThreads(__tstate
); 
17739         if (PyErr_Occurred()) SWIG_fail
; 
17741     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17748 static PyObject 
*_wrap_DateTime_SetYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17749     PyObject 
*resultobj
; 
17750     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17752     wxDateTime 
*result
; 
17753     PyObject 
* obj0 
= 0 ; 
17754     PyObject 
* obj1 
= 0 ; 
17755     char *kwnames
[] = { 
17756         (char *) "self",(char *) "year", NULL 
 
17759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
17760     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17761     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17762     arg2 
= (int) SWIG_AsInt(obj1
);  
17763     if (PyErr_Occurred()) SWIG_fail
; 
17765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17767             wxDateTime 
&_result_ref 
= (arg1
)->SetYear(arg2
); 
17768             result 
= (wxDateTime 
*) &_result_ref
; 
17771         wxPyEndAllowThreads(__tstate
); 
17772         if (PyErr_Occurred()) SWIG_fail
; 
17774     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17781 static PyObject 
*_wrap_DateTime_SetMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17782     PyObject 
*resultobj
; 
17783     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17785     wxDateTime 
*result
; 
17786     PyObject 
* obj0 
= 0 ; 
17787     PyObject 
* obj1 
= 0 ; 
17788     char *kwnames
[] = { 
17789         (char *) "self",(char *) "month", NULL 
 
17792     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
17793     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17794     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17795     arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
17796     if (PyErr_Occurred()) SWIG_fail
; 
17798         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17800             wxDateTime 
&_result_ref 
= (arg1
)->SetMonth((wxDateTime::Month 
)arg2
); 
17801             result 
= (wxDateTime 
*) &_result_ref
; 
17804         wxPyEndAllowThreads(__tstate
); 
17805         if (PyErr_Occurred()) SWIG_fail
; 
17807     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17814 static PyObject 
*_wrap_DateTime_SetDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17815     PyObject 
*resultobj
; 
17816     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17818     wxDateTime 
*result
; 
17819     PyObject 
* obj0 
= 0 ; 
17820     PyObject 
* obj1 
= 0 ; 
17821     char *kwnames
[] = { 
17822         (char *) "self",(char *) "day", NULL 
 
17825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) 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         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17833             wxDateTime 
&_result_ref 
= (arg1
)->SetDay(arg2
); 
17834             result 
= (wxDateTime 
*) &_result_ref
; 
17837         wxPyEndAllowThreads(__tstate
); 
17838         if (PyErr_Occurred()) SWIG_fail
; 
17840     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17847 static PyObject 
*_wrap_DateTime_SetHour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17848     PyObject 
*resultobj
; 
17849     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17851     wxDateTime 
*result
; 
17852     PyObject 
* obj0 
= 0 ; 
17853     PyObject 
* obj1 
= 0 ; 
17854     char *kwnames
[] = { 
17855         (char *) "self",(char *) "hour", NULL 
 
17858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
17859     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17860     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17861     arg2 
= (int) SWIG_AsInt(obj1
);  
17862     if (PyErr_Occurred()) SWIG_fail
; 
17864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17866             wxDateTime 
&_result_ref 
= (arg1
)->SetHour(arg2
); 
17867             result 
= (wxDateTime 
*) &_result_ref
; 
17870         wxPyEndAllowThreads(__tstate
); 
17871         if (PyErr_Occurred()) SWIG_fail
; 
17873     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17880 static PyObject 
*_wrap_DateTime_SetMinute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17881     PyObject 
*resultobj
; 
17882     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17884     wxDateTime 
*result
; 
17885     PyObject 
* obj0 
= 0 ; 
17886     PyObject 
* obj1 
= 0 ; 
17887     char *kwnames
[] = { 
17888         (char *) "self",(char *) "minute", NULL 
 
17891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
17892     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17893     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17894     arg2 
= (int) SWIG_AsInt(obj1
);  
17895     if (PyErr_Occurred()) SWIG_fail
; 
17897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17899             wxDateTime 
&_result_ref 
= (arg1
)->SetMinute(arg2
); 
17900             result 
= (wxDateTime 
*) &_result_ref
; 
17903         wxPyEndAllowThreads(__tstate
); 
17904         if (PyErr_Occurred()) SWIG_fail
; 
17906     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17913 static PyObject 
*_wrap_DateTime_SetSecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17914     PyObject 
*resultobj
; 
17915     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17917     wxDateTime 
*result
; 
17918     PyObject 
* obj0 
= 0 ; 
17919     PyObject 
* obj1 
= 0 ; 
17920     char *kwnames
[] = { 
17921         (char *) "self",(char *) "second", NULL 
 
17924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
17925     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17926     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17927     arg2 
= (int) SWIG_AsInt(obj1
);  
17928     if (PyErr_Occurred()) SWIG_fail
; 
17930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17932             wxDateTime 
&_result_ref 
= (arg1
)->SetSecond(arg2
); 
17933             result 
= (wxDateTime 
*) &_result_ref
; 
17936         wxPyEndAllowThreads(__tstate
); 
17937         if (PyErr_Occurred()) SWIG_fail
; 
17939     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17946 static PyObject 
*_wrap_DateTime_SetMillisecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17947     PyObject 
*resultobj
; 
17948     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17950     wxDateTime 
*result
; 
17951     PyObject 
* obj0 
= 0 ; 
17952     PyObject 
* obj1 
= 0 ; 
17953     char *kwnames
[] = { 
17954         (char *) "self",(char *) "millisecond", NULL 
 
17957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
17958     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17959     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17960     arg2 
= (int) SWIG_AsInt(obj1
);  
17961     if (PyErr_Occurred()) SWIG_fail
; 
17963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17965             wxDateTime 
&_result_ref 
= (arg1
)->SetMillisecond(arg2
); 
17966             result 
= (wxDateTime 
*) &_result_ref
; 
17969         wxPyEndAllowThreads(__tstate
); 
17970         if (PyErr_Occurred()) SWIG_fail
; 
17972     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
17979 static PyObject 
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
17980     PyObject 
*resultobj
; 
17981     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
17983     int arg3 
= (int) wxDateTime::Monday_First 
; 
17984     wxDateTime 
*result
; 
17985     PyObject 
* obj0 
= 0 ; 
17986     PyObject 
* obj1 
= 0 ; 
17987     PyObject 
* obj2 
= 0 ; 
17988     char *kwnames
[] = { 
17989         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
17992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17993     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
17994     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
17995     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
17996     if (PyErr_Occurred()) SWIG_fail
; 
17998         arg3 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);  
17999         if (PyErr_Occurred()) SWIG_fail
; 
18002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18004             wxDateTime 
&_result_ref 
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18005             result 
= (wxDateTime 
*) &_result_ref
; 
18008         wxPyEndAllowThreads(__tstate
); 
18009         if (PyErr_Occurred()) SWIG_fail
; 
18011     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18018 static PyObject 
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18019     PyObject 
*resultobj
; 
18020     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18022     int arg3 
= (int) wxDateTime::Monday_First 
; 
18024     PyObject 
* obj0 
= 0 ; 
18025     PyObject 
* obj1 
= 0 ; 
18026     PyObject 
* obj2 
= 0 ; 
18027     char *kwnames
[] = { 
18028         (char *) "self",(char *) "weekday",(char *) "flags", NULL 
 
18031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18032     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18033     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18034     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18035     if (PyErr_Occurred()) SWIG_fail
; 
18037         arg3 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);  
18038         if (PyErr_Occurred()) SWIG_fail
; 
18041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18042         result 
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay 
)arg2
,(wxDateTime::WeekFlags 
)arg3
); 
18044         wxPyEndAllowThreads(__tstate
); 
18045         if (PyErr_Occurred()) SWIG_fail
; 
18048         wxDateTime 
* resultptr
; 
18049         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18050         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18058 static PyObject 
*_wrap_DateTime_SetToNextWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18059     PyObject 
*resultobj
; 
18060     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18062     wxDateTime 
*result
; 
18063     PyObject 
* obj0 
= 0 ; 
18064     PyObject 
* obj1 
= 0 ; 
18065     char *kwnames
[] = { 
18066         (char *) "self",(char *) "weekday", NULL 
 
18069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18070     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18071     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18072     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18073     if (PyErr_Occurred()) SWIG_fail
; 
18075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18077             wxDateTime 
&_result_ref 
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18078             result 
= (wxDateTime 
*) &_result_ref
; 
18081         wxPyEndAllowThreads(__tstate
); 
18082         if (PyErr_Occurred()) SWIG_fail
; 
18084     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18091 static PyObject 
*_wrap_DateTime_GetNextWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18092     PyObject 
*resultobj
; 
18093     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18096     PyObject 
* obj0 
= 0 ; 
18097     PyObject 
* obj1 
= 0 ; 
18098     char *kwnames
[] = { 
18099         (char *) "self",(char *) "weekday", NULL 
 
18102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18105     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18106     if (PyErr_Occurred()) SWIG_fail
; 
18108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18109         result 
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay 
)arg2
); 
18111         wxPyEndAllowThreads(__tstate
); 
18112         if (PyErr_Occurred()) SWIG_fail
; 
18115         wxDateTime 
* resultptr
; 
18116         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18117         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18125 static PyObject 
*_wrap_DateTime_SetToPrevWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18126     PyObject 
*resultobj
; 
18127     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18129     wxDateTime 
*result
; 
18130     PyObject 
* obj0 
= 0 ; 
18131     PyObject 
* obj1 
= 0 ; 
18132     char *kwnames
[] = { 
18133         (char *) "self",(char *) "weekday", NULL 
 
18136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18137     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18138     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18139     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18140     if (PyErr_Occurred()) SWIG_fail
; 
18142         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18144             wxDateTime 
&_result_ref 
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18145             result 
= (wxDateTime 
*) &_result_ref
; 
18148         wxPyEndAllowThreads(__tstate
); 
18149         if (PyErr_Occurred()) SWIG_fail
; 
18151     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18158 static PyObject 
*_wrap_DateTime_GetPrevWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18159     PyObject 
*resultobj
; 
18160     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18163     PyObject 
* obj0 
= 0 ; 
18164     PyObject 
* obj1 
= 0 ; 
18165     char *kwnames
[] = { 
18166         (char *) "self",(char *) "weekday", NULL 
 
18169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18172     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18173     if (PyErr_Occurred()) SWIG_fail
; 
18175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18176         result 
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay 
)arg2
); 
18178         wxPyEndAllowThreads(__tstate
); 
18179         if (PyErr_Occurred()) SWIG_fail
; 
18182         wxDateTime 
* resultptr
; 
18183         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18184         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18192 static PyObject 
*_wrap_DateTime_SetToWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18193     PyObject 
*resultobj
; 
18194     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18196     int arg3 
= (int) 1 ; 
18197     int arg4 
= (int) wxDateTime::Inv_Month 
; 
18198     int arg5 
= (int) wxDateTime::Inv_Year 
; 
18200     PyObject 
* obj0 
= 0 ; 
18201     PyObject 
* obj1 
= 0 ; 
18202     PyObject 
* obj2 
= 0 ; 
18203     PyObject 
* obj3 
= 0 ; 
18204     PyObject 
* obj4 
= 0 ; 
18205     char *kwnames
[] = { 
18206         (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL 
 
18209     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
18210     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18211     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18212     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18213     if (PyErr_Occurred()) SWIG_fail
; 
18215         arg3 
= (int) SWIG_AsInt(obj2
);  
18216         if (PyErr_Occurred()) SWIG_fail
; 
18219         arg4 
= (wxDateTime::Month
) SWIG_AsInt(obj3
);  
18220         if (PyErr_Occurred()) SWIG_fail
; 
18223         arg5 
= (int) SWIG_AsInt(obj4
);  
18224         if (PyErr_Occurred()) SWIG_fail
; 
18227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18228         result 
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay 
)arg2
,arg3
,(wxDateTime::Month 
)arg4
,arg5
); 
18230         wxPyEndAllowThreads(__tstate
); 
18231         if (PyErr_Occurred()) SWIG_fail
; 
18234         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18242 static PyObject 
*_wrap_DateTime_SetToLastWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18243     PyObject 
*resultobj
; 
18244     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18246     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18247     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18249     PyObject 
* obj0 
= 0 ; 
18250     PyObject 
* obj1 
= 0 ; 
18251     PyObject 
* obj2 
= 0 ; 
18252     PyObject 
* obj3 
= 0 ; 
18253     char *kwnames
[] = { 
18254         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18258     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18259     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18260     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18261     if (PyErr_Occurred()) SWIG_fail
; 
18263         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
18264         if (PyErr_Occurred()) SWIG_fail
; 
18267         arg4 
= (int) SWIG_AsInt(obj3
);  
18268         if (PyErr_Occurred()) SWIG_fail
; 
18271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18272         result 
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18274         wxPyEndAllowThreads(__tstate
); 
18275         if (PyErr_Occurred()) SWIG_fail
; 
18278         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18286 static PyObject 
*_wrap_DateTime_GetLastWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18287     PyObject 
*resultobj
; 
18288     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18290     int arg3 
= (int) wxDateTime::Inv_Month 
; 
18291     int arg4 
= (int) wxDateTime::Inv_Year 
; 
18293     PyObject 
* obj0 
= 0 ; 
18294     PyObject 
* obj1 
= 0 ; 
18295     PyObject 
* obj2 
= 0 ; 
18296     PyObject 
* obj3 
= 0 ; 
18297     char *kwnames
[] = { 
18298         (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL 
 
18301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18302     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18304     arg2 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);  
18305     if (PyErr_Occurred()) SWIG_fail
; 
18307         arg3 
= (wxDateTime::Month
) SWIG_AsInt(obj2
);  
18308         if (PyErr_Occurred()) SWIG_fail
; 
18311         arg4 
= (int) SWIG_AsInt(obj3
);  
18312         if (PyErr_Occurred()) SWIG_fail
; 
18315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18316         result 
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay 
)arg2
,(wxDateTime::Month 
)arg3
,arg4
); 
18318         wxPyEndAllowThreads(__tstate
); 
18319         if (PyErr_Occurred()) SWIG_fail
; 
18322         wxDateTime 
* resultptr
; 
18323         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18324         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18332 static PyObject 
*_wrap_DateTime_SetToTheWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18333     PyObject 
*resultobj
; 
18334     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18336     int arg3 
= (int) wxDateTime::Mon 
; 
18337     int arg4 
= (int) wxDateTime::Monday_First 
; 
18339     PyObject 
* obj0 
= 0 ; 
18340     PyObject 
* obj1 
= 0 ; 
18341     PyObject 
* obj2 
= 0 ; 
18342     PyObject 
* obj3 
= 0 ; 
18343     char *kwnames
[] = { 
18344         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18348     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18349     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18350     arg2 
= (int) SWIG_AsInt(obj1
);  
18351     if (PyErr_Occurred()) SWIG_fail
; 
18353         arg3 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);  
18354         if (PyErr_Occurred()) SWIG_fail
; 
18357         arg4 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);  
18358         if (PyErr_Occurred()) SWIG_fail
; 
18361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18362         result 
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18364         wxPyEndAllowThreads(__tstate
); 
18365         if (PyErr_Occurred()) SWIG_fail
; 
18368         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18376 static PyObject 
*_wrap_DateTime_GetWeek(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18377     PyObject 
*resultobj
; 
18378     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18380     int arg3 
= (int) wxDateTime::Mon 
; 
18381     int arg4 
= (int) wxDateTime::Monday_First 
; 
18383     PyObject 
* obj0 
= 0 ; 
18384     PyObject 
* obj1 
= 0 ; 
18385     PyObject 
* obj2 
= 0 ; 
18386     PyObject 
* obj3 
= 0 ; 
18387     char *kwnames
[] = { 
18388         (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL 
 
18391     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18392     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18393     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18394     arg2 
= (int) SWIG_AsInt(obj1
);  
18395     if (PyErr_Occurred()) SWIG_fail
; 
18397         arg3 
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);  
18398         if (PyErr_Occurred()) SWIG_fail
; 
18401         arg4 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);  
18402         if (PyErr_Occurred()) SWIG_fail
; 
18405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18406         result 
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay 
)arg3
,(wxDateTime::WeekFlags 
)arg4
); 
18408         wxPyEndAllowThreads(__tstate
); 
18409         if (PyErr_Occurred()) SWIG_fail
; 
18412         wxDateTime 
* resultptr
; 
18413         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18414         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18422 static PyObject 
*_wrap_DateTime_SetToLastMonthDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18423     PyObject 
*resultobj
; 
18424     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18425     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18426     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18427     wxDateTime 
*result
; 
18428     PyObject 
* obj0 
= 0 ; 
18429     PyObject 
* obj1 
= 0 ; 
18430     PyObject 
* obj2 
= 0 ; 
18431     char *kwnames
[] = { 
18432         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18439         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
18440         if (PyErr_Occurred()) SWIG_fail
; 
18443         arg3 
= (int) SWIG_AsInt(obj2
);  
18444         if (PyErr_Occurred()) SWIG_fail
; 
18447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18449             wxDateTime 
&_result_ref 
= (arg1
)->SetToLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18450             result 
= (wxDateTime 
*) &_result_ref
; 
18453         wxPyEndAllowThreads(__tstate
); 
18454         if (PyErr_Occurred()) SWIG_fail
; 
18456     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18463 static PyObject 
*_wrap_DateTime_GetLastMonthDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18464     PyObject 
*resultobj
; 
18465     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18466     int arg2 
= (int) wxDateTime::Inv_Month 
; 
18467     int arg3 
= (int) wxDateTime::Inv_Year 
; 
18469     PyObject 
* obj0 
= 0 ; 
18470     PyObject 
* obj1 
= 0 ; 
18471     PyObject 
* obj2 
= 0 ; 
18472     char *kwnames
[] = { 
18473         (char *) "self",(char *) "month",(char *) "year", NULL 
 
18476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18477     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18478     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18480         arg2 
= (wxDateTime::Month
) SWIG_AsInt(obj1
);  
18481         if (PyErr_Occurred()) SWIG_fail
; 
18484         arg3 
= (int) SWIG_AsInt(obj2
);  
18485         if (PyErr_Occurred()) SWIG_fail
; 
18488         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18489         result 
= (arg1
)->GetLastMonthDay((wxDateTime::Month 
)arg2
,arg3
); 
18491         wxPyEndAllowThreads(__tstate
); 
18492         if (PyErr_Occurred()) SWIG_fail
; 
18495         wxDateTime 
* resultptr
; 
18496         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18497         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18505 static PyObject 
*_wrap_DateTime_SetToYearDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18506     PyObject 
*resultobj
; 
18507     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18509     wxDateTime 
*result
; 
18510     PyObject 
* obj0 
= 0 ; 
18511     PyObject 
* obj1 
= 0 ; 
18512     char *kwnames
[] = { 
18513         (char *) "self",(char *) "yday", NULL 
 
18516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18517     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18518     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18519     arg2 
= (int) SWIG_AsInt(obj1
);  
18520     if (PyErr_Occurred()) SWIG_fail
; 
18522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18524             wxDateTime 
&_result_ref 
= (arg1
)->SetToYearDay(arg2
); 
18525             result 
= (wxDateTime 
*) &_result_ref
; 
18528         wxPyEndAllowThreads(__tstate
); 
18529         if (PyErr_Occurred()) SWIG_fail
; 
18531     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18538 static PyObject 
*_wrap_DateTime_GetYearDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18539     PyObject 
*resultobj
; 
18540     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18543     PyObject 
* obj0 
= 0 ; 
18544     PyObject 
* obj1 
= 0 ; 
18545     char *kwnames
[] = { 
18546         (char *) "self",(char *) "yday", NULL 
 
18549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
18550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18552     arg2 
= (int) SWIG_AsInt(obj1
);  
18553     if (PyErr_Occurred()) SWIG_fail
; 
18555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18556         result 
= (arg1
)->GetYearDay(arg2
); 
18558         wxPyEndAllowThreads(__tstate
); 
18559         if (PyErr_Occurred()) SWIG_fail
; 
18562         wxDateTime 
* resultptr
; 
18563         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18564         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18572 static PyObject 
*_wrap_DateTime_GetJulianDayNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18573     PyObject 
*resultobj
; 
18574     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18576     PyObject 
* obj0 
= 0 ; 
18577     char *kwnames
[] = { 
18578         (char *) "self", NULL 
 
18581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
18582     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18583     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18586         result 
= (double)(arg1
)->GetJulianDayNumber(); 
18588         wxPyEndAllowThreads(__tstate
); 
18589         if (PyErr_Occurred()) SWIG_fail
; 
18591     resultobj 
= SWIG_FromDouble((double)result
); 
18598 static PyObject 
*_wrap_DateTime_GetJDN(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18599     PyObject 
*resultobj
; 
18600     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18602     PyObject 
* obj0 
= 0 ; 
18603     char *kwnames
[] = { 
18604         (char *) "self", NULL 
 
18607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
; 
18608     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18609     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18612         result 
= (double)(arg1
)->GetJDN(); 
18614         wxPyEndAllowThreads(__tstate
); 
18615         if (PyErr_Occurred()) SWIG_fail
; 
18617     resultobj 
= SWIG_FromDouble((double)result
); 
18624 static PyObject 
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18625     PyObject 
*resultobj
; 
18626     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18628     PyObject 
* obj0 
= 0 ; 
18629     char *kwnames
[] = { 
18630         (char *) "self", NULL 
 
18633     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
; 
18634     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18635     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18637         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18638         result 
= (double)((wxDateTime 
const *)arg1
)->GetModifiedJulianDayNumber(); 
18640         wxPyEndAllowThreads(__tstate
); 
18641         if (PyErr_Occurred()) SWIG_fail
; 
18643     resultobj 
= SWIG_FromDouble((double)result
); 
18650 static PyObject 
*_wrap_DateTime_GetMJD(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18651     PyObject 
*resultobj
; 
18652     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18654     PyObject 
* obj0 
= 0 ; 
18655     char *kwnames
[] = { 
18656         (char *) "self", NULL 
 
18659     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
; 
18660     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18661     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18664         result 
= (double)(arg1
)->GetMJD(); 
18666         wxPyEndAllowThreads(__tstate
); 
18667         if (PyErr_Occurred()) SWIG_fail
; 
18669     resultobj 
= SWIG_FromDouble((double)result
); 
18676 static PyObject 
*_wrap_DateTime_GetRataDie(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18677     PyObject 
*resultobj
; 
18678     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18680     PyObject 
* obj0 
= 0 ; 
18681     char *kwnames
[] = { 
18682         (char *) "self", NULL 
 
18685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
; 
18686     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18687     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18690         result 
= (double)(arg1
)->GetRataDie(); 
18692         wxPyEndAllowThreads(__tstate
); 
18693         if (PyErr_Occurred()) SWIG_fail
; 
18695     resultobj 
= SWIG_FromDouble((double)result
); 
18702 static PyObject 
*_wrap_DateTime_ToTimezone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18703     PyObject 
*resultobj
; 
18704     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18705     wxDateTime::TimeZone 
*arg2 
= 0 ; 
18706     bool arg3 
= (bool) False 
; 
18708     bool temp2 
= False 
; 
18709     PyObject 
* obj0 
= 0 ; 
18710     PyObject 
* obj1 
= 0 ; 
18711     PyObject 
* obj2 
= 0 ; 
18712     char *kwnames
[] = { 
18713         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
18716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18717     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18718     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18720         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18724         arg3 
= (bool) SWIG_AsBool(obj2
);  
18725         if (PyErr_Occurred()) SWIG_fail
; 
18728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18729         result 
= (arg1
)->ToTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
18731         wxPyEndAllowThreads(__tstate
); 
18732         if (PyErr_Occurred()) SWIG_fail
; 
18735         wxDateTime 
* resultptr
; 
18736         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18737         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18740         if (temp2
) delete arg2
; 
18745         if (temp2
) delete arg2
; 
18751 static PyObject 
*_wrap_DateTime_MakeTimezone(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18752     PyObject 
*resultobj
; 
18753     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18754     wxDateTime::TimeZone 
*arg2 
= 0 ; 
18755     bool arg3 
= (bool) False 
; 
18756     wxDateTime 
*result
; 
18757     bool temp2 
= False 
; 
18758     PyObject 
* obj0 
= 0 ; 
18759     PyObject 
* obj1 
= 0 ; 
18760     PyObject 
* obj2 
= 0 ; 
18761     char *kwnames
[] = { 
18762         (char *) "self",(char *) "tz",(char *) "noDST", NULL 
 
18765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18766     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18767     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18769         arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18773         arg3 
= (bool) SWIG_AsBool(obj2
);  
18774         if (PyErr_Occurred()) SWIG_fail
; 
18777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18779             wxDateTime 
&_result_ref 
= (arg1
)->MakeTimezone((wxDateTime::TimeZone 
const &)*arg2
,arg3
); 
18780             result 
= (wxDateTime 
*) &_result_ref
; 
18783         wxPyEndAllowThreads(__tstate
); 
18784         if (PyErr_Occurred()) SWIG_fail
; 
18786     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18788         if (temp2
) delete arg2
; 
18793         if (temp2
) delete arg2
; 
18799 static PyObject 
*_wrap_DateTime_ToGMT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18800     PyObject 
*resultobj
; 
18801     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18802     bool arg2 
= (bool) False 
; 
18804     PyObject 
* obj0 
= 0 ; 
18805     PyObject 
* obj1 
= 0 ; 
18806     char *kwnames
[] = { 
18807         (char *) "self",(char *) "noDST", NULL 
 
18810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
18811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18814         arg2 
= (bool) SWIG_AsBool(obj1
);  
18815         if (PyErr_Occurred()) SWIG_fail
; 
18818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18819         result 
= (arg1
)->ToGMT(arg2
); 
18821         wxPyEndAllowThreads(__tstate
); 
18822         if (PyErr_Occurred()) SWIG_fail
; 
18825         wxDateTime 
* resultptr
; 
18826         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
18827         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
18835 static PyObject 
*_wrap_DateTime_MakeGMT(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18836     PyObject 
*resultobj
; 
18837     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18838     bool arg2 
= (bool) False 
; 
18839     wxDateTime 
*result
; 
18840     PyObject 
* obj0 
= 0 ; 
18841     PyObject 
* obj1 
= 0 ; 
18842     char *kwnames
[] = { 
18843         (char *) "self",(char *) "noDST", NULL 
 
18846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
; 
18847     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18848     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18850         arg2 
= (bool) SWIG_AsBool(obj1
);  
18851         if (PyErr_Occurred()) SWIG_fail
; 
18854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18856             wxDateTime 
&_result_ref 
= (arg1
)->MakeGMT(arg2
); 
18857             result 
= (wxDateTime 
*) &_result_ref
; 
18860         wxPyEndAllowThreads(__tstate
); 
18861         if (PyErr_Occurred()) SWIG_fail
; 
18863     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
18870 static PyObject 
*_wrap_DateTime_IsDST(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18871     PyObject 
*resultobj
; 
18872     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18873     int arg2 
= (int) wxDateTime::Country_Default 
; 
18875     PyObject 
* obj0 
= 0 ; 
18876     PyObject 
* obj1 
= 0 ; 
18877     char *kwnames
[] = { 
18878         (char *) "self",(char *) "country", NULL 
 
18881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
; 
18882     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18883     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18885         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
18886         if (PyErr_Occurred()) SWIG_fail
; 
18889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18890         result 
= (int)(arg1
)->IsDST((wxDateTime::Country 
)arg2
); 
18892         wxPyEndAllowThreads(__tstate
); 
18893         if (PyErr_Occurred()) SWIG_fail
; 
18895     resultobj 
= SWIG_FromInt((int)result
); 
18902 static PyObject 
*_wrap_DateTime_IsValid(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18903     PyObject 
*resultobj
; 
18904     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18906     PyObject 
* obj0 
= 0 ; 
18907     char *kwnames
[] = { 
18908         (char *) "self", NULL 
 
18911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
; 
18912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18916         result 
= (bool)((wxDateTime 
const *)arg1
)->IsValid(); 
18918         wxPyEndAllowThreads(__tstate
); 
18919         if (PyErr_Occurred()) SWIG_fail
; 
18922         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18930 static PyObject 
*_wrap_DateTime_GetTicks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18931     PyObject 
*resultobj
; 
18932     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18934     PyObject 
* obj0 
= 0 ; 
18935     char *kwnames
[] = { 
18936         (char *) "self", NULL 
 
18939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
; 
18940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18944         result 
= (time_t)((wxDateTime 
const *)arg1
)->GetTicks(); 
18946         wxPyEndAllowThreads(__tstate
); 
18947         if (PyErr_Occurred()) SWIG_fail
; 
18949     resultobj 
= SWIG_FromUnsignedInt((unsigned int)result
); 
18956 static PyObject 
*_wrap_DateTime_GetYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18957     PyObject 
*resultobj
; 
18958     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
18959     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
18960     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
18962     bool temp2 
= False 
; 
18963     PyObject 
* obj0 
= 0 ; 
18964     PyObject 
* obj1 
= 0 ; 
18965     char *kwnames
[] = { 
18966         (char *) "self",(char *) "tz", NULL 
 
18969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
18970     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
18971     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
18974             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
18979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18980         result 
= (int)((wxDateTime 
const *)arg1
)->GetYear((wxDateTime::TimeZone 
const &)*arg2
); 
18982         wxPyEndAllowThreads(__tstate
); 
18983         if (PyErr_Occurred()) SWIG_fail
; 
18985     resultobj 
= SWIG_FromInt((int)result
); 
18987         if (temp2
) delete arg2
; 
18992         if (temp2
) delete arg2
; 
18998 static PyObject 
*_wrap_DateTime_GetMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
18999     PyObject 
*resultobj
; 
19000     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19001     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19002     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19004     bool temp2 
= False 
; 
19005     PyObject 
* obj0 
= 0 ; 
19006     PyObject 
* obj1 
= 0 ; 
19007     char *kwnames
[] = { 
19008         (char *) "self",(char *) "tz", NULL 
 
19011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
; 
19012     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19013     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19016             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19021         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19022         result 
= (int)((wxDateTime 
const *)arg1
)->GetMonth((wxDateTime::TimeZone 
const &)*arg2
); 
19024         wxPyEndAllowThreads(__tstate
); 
19025         if (PyErr_Occurred()) SWIG_fail
; 
19027     resultobj 
= SWIG_FromInt((int)result
); 
19029         if (temp2
) delete arg2
; 
19034         if (temp2
) delete arg2
; 
19040 static PyObject 
*_wrap_DateTime_GetDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19041     PyObject 
*resultobj
; 
19042     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19043     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19044     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19046     bool temp2 
= False 
; 
19047     PyObject 
* obj0 
= 0 ; 
19048     PyObject 
* obj1 
= 0 ; 
19049     char *kwnames
[] = { 
19050         (char *) "self",(char *) "tz", NULL 
 
19053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19054     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19055     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19058             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19064         result 
= (int)((wxDateTime 
const *)arg1
)->GetDay((wxDateTime::TimeZone 
const &)*arg2
); 
19066         wxPyEndAllowThreads(__tstate
); 
19067         if (PyErr_Occurred()) SWIG_fail
; 
19069     resultobj 
= SWIG_FromInt((int)result
); 
19071         if (temp2
) delete arg2
; 
19076         if (temp2
) delete arg2
; 
19082 static PyObject 
*_wrap_DateTime_GetWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19083     PyObject 
*resultobj
; 
19084     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19085     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19086     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19088     bool temp2 
= False 
; 
19089     PyObject 
* obj0 
= 0 ; 
19090     PyObject 
* obj1 
= 0 ; 
19091     char *kwnames
[] = { 
19092         (char *) "self",(char *) "tz", NULL 
 
19095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19096     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19097     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19100             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19106         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone 
const &)*arg2
); 
19108         wxPyEndAllowThreads(__tstate
); 
19109         if (PyErr_Occurred()) SWIG_fail
; 
19111     resultobj 
= SWIG_FromInt((int)result
); 
19113         if (temp2
) delete arg2
; 
19118         if (temp2
) delete arg2
; 
19124 static PyObject 
*_wrap_DateTime_GetHour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19125     PyObject 
*resultobj
; 
19126     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19127     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19128     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19130     bool temp2 
= False 
; 
19131     PyObject 
* obj0 
= 0 ; 
19132     PyObject 
* obj1 
= 0 ; 
19133     char *kwnames
[] = { 
19134         (char *) "self",(char *) "tz", NULL 
 
19137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
; 
19138     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19139     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19142             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19148         result 
= (int)((wxDateTime 
const *)arg1
)->GetHour((wxDateTime::TimeZone 
const &)*arg2
); 
19150         wxPyEndAllowThreads(__tstate
); 
19151         if (PyErr_Occurred()) SWIG_fail
; 
19153     resultobj 
= SWIG_FromInt((int)result
); 
19155         if (temp2
) delete arg2
; 
19160         if (temp2
) delete arg2
; 
19166 static PyObject 
*_wrap_DateTime_GetMinute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19167     PyObject 
*resultobj
; 
19168     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19169     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19170     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19172     bool temp2 
= False 
; 
19173     PyObject 
* obj0 
= 0 ; 
19174     PyObject 
* obj1 
= 0 ; 
19175     char *kwnames
[] = { 
19176         (char *) "self",(char *) "tz", NULL 
 
19179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
; 
19180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19184             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19190         result 
= (int)((wxDateTime 
const *)arg1
)->GetMinute((wxDateTime::TimeZone 
const &)*arg2
); 
19192         wxPyEndAllowThreads(__tstate
); 
19193         if (PyErr_Occurred()) SWIG_fail
; 
19195     resultobj 
= SWIG_FromInt((int)result
); 
19197         if (temp2
) delete arg2
; 
19202         if (temp2
) delete arg2
; 
19208 static PyObject 
*_wrap_DateTime_GetSecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19209     PyObject 
*resultobj
; 
19210     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19211     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19212     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19214     bool temp2 
= False 
; 
19215     PyObject 
* obj0 
= 0 ; 
19216     PyObject 
* obj1 
= 0 ; 
19217     char *kwnames
[] = { 
19218         (char *) "self",(char *) "tz", NULL 
 
19221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19222     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19223     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19226             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19232         result 
= (int)((wxDateTime 
const *)arg1
)->GetSecond((wxDateTime::TimeZone 
const &)*arg2
); 
19234         wxPyEndAllowThreads(__tstate
); 
19235         if (PyErr_Occurred()) SWIG_fail
; 
19237     resultobj 
= SWIG_FromInt((int)result
); 
19239         if (temp2
) delete arg2
; 
19244         if (temp2
) delete arg2
; 
19250 static PyObject 
*_wrap_DateTime_GetMillisecond(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19251     PyObject 
*resultobj
; 
19252     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19253     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19254     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19256     bool temp2 
= False 
; 
19257     PyObject 
* obj0 
= 0 ; 
19258     PyObject 
* obj1 
= 0 ; 
19259     char *kwnames
[] = { 
19260         (char *) "self",(char *) "tz", NULL 
 
19263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
; 
19264     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19265     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19268             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19274         result 
= (int)((wxDateTime 
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone 
const &)*arg2
); 
19276         wxPyEndAllowThreads(__tstate
); 
19277         if (PyErr_Occurred()) SWIG_fail
; 
19279     resultobj 
= SWIG_FromInt((int)result
); 
19281         if (temp2
) delete arg2
; 
19286         if (temp2
) delete arg2
; 
19292 static PyObject 
*_wrap_DateTime_GetDayOfYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19293     PyObject 
*resultobj
; 
19294     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19295     wxDateTime::TimeZone 
const &arg2_defvalue 
= LOCAL_TZ 
; 
19296     wxDateTime::TimeZone 
*arg2 
= (wxDateTime::TimeZone 
*) &arg2_defvalue 
; 
19298     bool temp2 
= False 
; 
19299     PyObject 
* obj0 
= 0 ; 
19300     PyObject 
* obj1 
= 0 ; 
19301     char *kwnames
[] = { 
19302         (char *) "self",(char *) "tz", NULL 
 
19305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
; 
19306     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19307     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19310             arg2 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
)); 
19315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19316         result 
= (int)((wxDateTime 
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone 
const &)*arg2
); 
19318         wxPyEndAllowThreads(__tstate
); 
19319         if (PyErr_Occurred()) SWIG_fail
; 
19321     resultobj 
= SWIG_FromInt((int)result
); 
19323         if (temp2
) delete arg2
; 
19328         if (temp2
) delete arg2
; 
19334 static PyObject 
*_wrap_DateTime_GetWeekOfYear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19335     PyObject 
*resultobj
; 
19336     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19337     int arg2 
= (int) wxDateTime::Monday_First 
; 
19338     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19339     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19341     bool temp3 
= False 
; 
19342     PyObject 
* obj0 
= 0 ; 
19343     PyObject 
* obj1 
= 0 ; 
19344     PyObject 
* obj2 
= 0 ; 
19345     char *kwnames
[] = { 
19346         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19349     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19350     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19351     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19353         arg2 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);  
19354         if (PyErr_Occurred()) SWIG_fail
; 
19358             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19364         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19366         wxPyEndAllowThreads(__tstate
); 
19367         if (PyErr_Occurred()) SWIG_fail
; 
19369     resultobj 
= SWIG_FromInt((int)result
); 
19371         if (temp3
) delete arg3
; 
19376         if (temp3
) delete arg3
; 
19382 static PyObject 
*_wrap_DateTime_GetWeekOfMonth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19383     PyObject 
*resultobj
; 
19384     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19385     int arg2 
= (int) wxDateTime::Monday_First 
; 
19386     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
19387     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
19389     bool temp3 
= False 
; 
19390     PyObject 
* obj0 
= 0 ; 
19391     PyObject 
* obj1 
= 0 ; 
19392     PyObject 
* obj2 
= 0 ; 
19393     char *kwnames
[] = { 
19394         (char *) "self",(char *) "flags",(char *) "tz", NULL 
 
19397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19398     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19399     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19401         arg2 
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);  
19402         if (PyErr_Occurred()) SWIG_fail
; 
19406             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
19411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19412         result 
= (int)((wxDateTime 
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags 
)arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
19414         wxPyEndAllowThreads(__tstate
); 
19415         if (PyErr_Occurred()) SWIG_fail
; 
19417     resultobj 
= SWIG_FromInt((int)result
); 
19419         if (temp3
) delete arg3
; 
19424         if (temp3
) delete arg3
; 
19430 static PyObject 
*_wrap_DateTime_IsWorkDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19431     PyObject 
*resultobj
; 
19432     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19433     int arg2 
= (int) wxDateTime::Country_Default 
; 
19435     PyObject 
* obj0 
= 0 ; 
19436     PyObject 
* obj1 
= 0 ; 
19437     char *kwnames
[] = { 
19438         (char *) "self",(char *) "country", NULL 
 
19441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
19442     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19443     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19445         arg2 
= (wxDateTime::Country
) SWIG_AsInt(obj1
);  
19446         if (PyErr_Occurred()) SWIG_fail
; 
19449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19450         result 
= (bool)((wxDateTime 
const *)arg1
)->IsWorkDay((wxDateTime::Country 
)arg2
); 
19452         wxPyEndAllowThreads(__tstate
); 
19453         if (PyErr_Occurred()) SWIG_fail
; 
19456         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19464 static PyObject 
*_wrap_DateTime_IsEqualTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19465     PyObject 
*resultobj
; 
19466     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19467     wxDateTime 
*arg2 
= 0 ; 
19469     PyObject 
* obj0 
= 0 ; 
19470     PyObject 
* obj1 
= 0 ; 
19471     char *kwnames
[] = { 
19472         (char *) "self",(char *) "datetime", NULL 
 
19475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
19476     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19477     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19478     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19479     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19481     if (arg2 
== NULL
) { 
19482         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19487         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualTo((wxDateTime 
const &)*arg2
); 
19489         wxPyEndAllowThreads(__tstate
); 
19490         if (PyErr_Occurred()) SWIG_fail
; 
19493         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19501 static PyObject 
*_wrap_DateTime_IsEarlierThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19502     PyObject 
*resultobj
; 
19503     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19504     wxDateTime 
*arg2 
= 0 ; 
19506     PyObject 
* obj0 
= 0 ; 
19507     PyObject 
* obj1 
= 0 ; 
19508     char *kwnames
[] = { 
19509         (char *) "self",(char *) "datetime", NULL 
 
19512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19515     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19516     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19518     if (arg2 
== NULL
) { 
19519         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19524         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEarlierThan((wxDateTime 
const &)*arg2
); 
19526         wxPyEndAllowThreads(__tstate
); 
19527         if (PyErr_Occurred()) SWIG_fail
; 
19530         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19538 static PyObject 
*_wrap_DateTime_IsLaterThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19539     PyObject 
*resultobj
; 
19540     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19541     wxDateTime 
*arg2 
= 0 ; 
19543     PyObject 
* obj0 
= 0 ; 
19544     PyObject 
* obj1 
= 0 ; 
19545     char *kwnames
[] = { 
19546         (char *) "self",(char *) "datetime", NULL 
 
19549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
19550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19552     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19553     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19555     if (arg2 
== NULL
) { 
19556         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19560         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19561         result 
= (bool)((wxDateTime 
const *)arg1
)->IsLaterThan((wxDateTime 
const &)*arg2
); 
19563         wxPyEndAllowThreads(__tstate
); 
19564         if (PyErr_Occurred()) SWIG_fail
; 
19567         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19575 static PyObject 
*_wrap_DateTime_IsStrictlyBetween(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19576     PyObject 
*resultobj
; 
19577     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19578     wxDateTime 
*arg2 
= 0 ; 
19579     wxDateTime 
*arg3 
= 0 ; 
19581     PyObject 
* obj0 
= 0 ; 
19582     PyObject 
* obj1 
= 0 ; 
19583     PyObject 
* obj2 
= 0 ; 
19584     char *kwnames
[] = { 
19585         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
19588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19589     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19590     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19591     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19592     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19594     if (arg2 
== NULL
) { 
19595         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19598     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
19599     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19601     if (arg3 
== NULL
) { 
19602         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19607         result 
= (bool)((wxDateTime 
const *)arg1
)->IsStrictlyBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
19609         wxPyEndAllowThreads(__tstate
); 
19610         if (PyErr_Occurred()) SWIG_fail
; 
19613         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19621 static PyObject 
*_wrap_DateTime_IsBetween(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19622     PyObject 
*resultobj
; 
19623     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19624     wxDateTime 
*arg2 
= 0 ; 
19625     wxDateTime 
*arg3 
= 0 ; 
19627     PyObject 
* obj0 
= 0 ; 
19628     PyObject 
* obj1 
= 0 ; 
19629     PyObject 
* obj2 
= 0 ; 
19630     char *kwnames
[] = { 
19631         (char *) "self",(char *) "t1",(char *) "t2", NULL 
 
19634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19635     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19636     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19637     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19638     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19640     if (arg2 
== NULL
) { 
19641         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19644     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
19645     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19647     if (arg3 
== NULL
) { 
19648         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19653         result 
= (bool)((wxDateTime 
const *)arg1
)->IsBetween((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
19655         wxPyEndAllowThreads(__tstate
); 
19656         if (PyErr_Occurred()) SWIG_fail
; 
19659         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19667 static PyObject 
*_wrap_DateTime_IsSameDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19668     PyObject 
*resultobj
; 
19669     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19670     wxDateTime 
*arg2 
= 0 ; 
19672     PyObject 
* obj0 
= 0 ; 
19673     PyObject 
* obj1 
= 0 ; 
19674     char *kwnames
[] = { 
19675         (char *) "self",(char *) "dt", NULL 
 
19678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
19679     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19680     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19681     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19684     if (arg2 
== NULL
) { 
19685         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19690         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameDate((wxDateTime 
const &)*arg2
); 
19692         wxPyEndAllowThreads(__tstate
); 
19693         if (PyErr_Occurred()) SWIG_fail
; 
19696         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19704 static PyObject 
*_wrap_DateTime_IsSameTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19705     PyObject 
*resultobj
; 
19706     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19707     wxDateTime 
*arg2 
= 0 ; 
19709     PyObject 
* obj0 
= 0 ; 
19710     PyObject 
* obj1 
= 0 ; 
19711     char *kwnames
[] = { 
19712         (char *) "self",(char *) "dt", NULL 
 
19715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
19716     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19717     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19718     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19719     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19721     if (arg2 
== NULL
) { 
19722         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19727         result 
= (bool)((wxDateTime 
const *)arg1
)->IsSameTime((wxDateTime 
const &)*arg2
); 
19729         wxPyEndAllowThreads(__tstate
); 
19730         if (PyErr_Occurred()) SWIG_fail
; 
19733         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19741 static PyObject 
*_wrap_DateTime_IsEqualUpTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19742     PyObject 
*resultobj
; 
19743     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19744     wxDateTime 
*arg2 
= 0 ; 
19745     wxTimeSpan 
*arg3 
= 0 ; 
19747     PyObject 
* obj0 
= 0 ; 
19748     PyObject 
* obj1 
= 0 ; 
19749     PyObject 
* obj2 
= 0 ; 
19750     char *kwnames
[] = { 
19751         (char *) "self",(char *) "dt",(char *) "ts", NULL 
 
19754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19755     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19756     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19757     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
19758     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19760     if (arg2 
== NULL
) { 
19761         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19764     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
, 
19765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19767     if (arg3 
== NULL
) { 
19768         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19773         result 
= (bool)((wxDateTime 
const *)arg1
)->IsEqualUpTo((wxDateTime 
const &)*arg2
,(wxTimeSpan 
const &)*arg3
); 
19775         wxPyEndAllowThreads(__tstate
); 
19776         if (PyErr_Occurred()) SWIG_fail
; 
19779         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19787 static PyObject 
*_wrap_DateTime_AddTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19788     PyObject 
*resultobj
; 
19789     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19790     wxTimeSpan 
*arg2 
= 0 ; 
19791     wxDateTime 
*result
; 
19792     PyObject 
* obj0 
= 0 ; 
19793     PyObject 
* obj1 
= 0 ; 
19794     char *kwnames
[] = { 
19795         (char *) "self",(char *) "diff", NULL 
 
19798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19799     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19800     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19801     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
19802     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19804     if (arg2 
== NULL
) { 
19805         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19809         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19811             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
19812             result 
= (wxDateTime 
*) &_result_ref
; 
19815         wxPyEndAllowThreads(__tstate
); 
19816         if (PyErr_Occurred()) SWIG_fail
; 
19818     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19825 static PyObject 
*_wrap_DateTime_AddDS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19826     PyObject 
*resultobj
; 
19827     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19828     wxDateSpan 
*arg2 
= 0 ; 
19829     wxDateTime 
*result
; 
19830     PyObject 
* obj0 
= 0 ; 
19831     PyObject 
* obj1 
= 0 ; 
19832     char *kwnames
[] = { 
19833         (char *) "self",(char *) "diff", NULL 
 
19836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19837     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19838     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19839     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
19840     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19842     if (arg2 
== NULL
) { 
19843         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19849             wxDateTime 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
19850             result 
= (wxDateTime 
*) &_result_ref
; 
19853         wxPyEndAllowThreads(__tstate
); 
19854         if (PyErr_Occurred()) SWIG_fail
; 
19856     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19863 static PyObject 
*_wrap_DateTime_SubtractTS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19864     PyObject 
*resultobj
; 
19865     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19866     wxTimeSpan 
*arg2 
= 0 ; 
19867     wxDateTime 
*result
; 
19868     PyObject 
* obj0 
= 0 ; 
19869     PyObject 
* obj1 
= 0 ; 
19870     char *kwnames
[] = { 
19871         (char *) "self",(char *) "diff", NULL 
 
19874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19875     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19876     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19877     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
19878     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19880     if (arg2 
== NULL
) { 
19881         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19887             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
19888             result 
= (wxDateTime 
*) &_result_ref
; 
19891         wxPyEndAllowThreads(__tstate
); 
19892         if (PyErr_Occurred()) SWIG_fail
; 
19894     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19901 static PyObject 
*_wrap_DateTime_SubtractDS(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19902     PyObject 
*resultobj
; 
19903     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19904     wxDateSpan 
*arg2 
= 0 ; 
19905     wxDateTime 
*result
; 
19906     PyObject 
* obj0 
= 0 ; 
19907     PyObject 
* obj1 
= 0 ; 
19908     char *kwnames
[] = { 
19909         (char *) "self",(char *) "diff", NULL 
 
19912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
; 
19913     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19914     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19915     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
19916     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19918     if (arg2 
== NULL
) { 
19919         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19925             wxDateTime 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
19926             result 
= (wxDateTime 
*) &_result_ref
; 
19929         wxPyEndAllowThreads(__tstate
); 
19930         if (PyErr_Occurred()) SWIG_fail
; 
19932     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
19939 static PyObject 
*_wrap_DateTime_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
19940     PyObject 
*resultobj
; 
19941     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19942     wxDateTime 
*arg2 
= 0 ; 
19944     PyObject 
* obj0 
= 0 ; 
19945     PyObject 
* obj1 
= 0 ; 
19946     char *kwnames
[] = { 
19947         (char *) "self",(char *) "dt", NULL 
 
19950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",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_wxDateTime
, 
19954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19956     if (arg2 
== NULL
) { 
19957         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19962         result 
= ((wxDateTime 
const *)arg1
)->Subtract((wxDateTime 
const &)*arg2
); 
19964         wxPyEndAllowThreads(__tstate
); 
19965         if (PyErr_Occurred()) SWIG_fail
; 
19968         wxTimeSpan 
* resultptr
; 
19969         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
19970         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
19978 static PyObject 
*_wrap_DateTime___iadd____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
19979     PyObject 
*resultobj
; 
19980     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
19981     wxTimeSpan 
*arg2 
= 0 ; 
19982     wxDateTime 
*result
; 
19983     PyObject 
* obj0 
= 0 ; 
19984     PyObject 
* obj1 
= 0 ; 
19986     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
19987     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
19988     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
19989     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
19990     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
19992     if (arg2 
== NULL
) { 
19993         PyErr_SetString(PyExc_TypeError
,"null reference"); 
19997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19999             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
20000             result 
= (wxDateTime 
*) &_result_ref
; 
20003         wxPyEndAllowThreads(__tstate
); 
20004         if (PyErr_Occurred()) SWIG_fail
; 
20006     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20013 static PyObject 
*_wrap_DateTime___iadd____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20014     PyObject 
*resultobj
; 
20015     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20016     wxDateSpan 
*arg2 
= 0 ; 
20017     wxDateTime 
*result
; 
20018     PyObject 
* obj0 
= 0 ; 
20019     PyObject 
* obj1 
= 0 ; 
20021     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
; 
20022     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20023     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20024     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20027     if (arg2 
== NULL
) { 
20028         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20034             wxDateTime 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
20035             result 
= (wxDateTime 
*) &_result_ref
; 
20038         wxPyEndAllowThreads(__tstate
); 
20039         if (PyErr_Occurred()) SWIG_fail
; 
20041     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20048 static PyObject 
*_wrap_DateTime___iadd__(PyObject 
*self
, PyObject 
*args
) { 
20053     argc 
= PyObject_Length(args
); 
20054     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20055         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20061             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20071                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20079                 return _wrap_DateTime___iadd____SWIG_0(self
,args
); 
20087             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20097                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20105                 return _wrap_DateTime___iadd____SWIG_1(self
,args
); 
20110     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'"); 
20115 static PyObject 
*_wrap_DateTime___isub____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20116     PyObject 
*resultobj
; 
20117     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20118     wxTimeSpan 
*arg2 
= 0 ; 
20119     wxDateTime 
*result
; 
20120     PyObject 
* obj0 
= 0 ; 
20121     PyObject 
* obj1 
= 0 ; 
20123     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20124     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20126     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20127     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20129     if (arg2 
== NULL
) { 
20130         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20136             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
20137             result 
= (wxDateTime 
*) &_result_ref
; 
20140         wxPyEndAllowThreads(__tstate
); 
20141         if (PyErr_Occurred()) SWIG_fail
; 
20143     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20150 static PyObject 
*_wrap_DateTime___isub____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20151     PyObject 
*resultobj
; 
20152     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20153     wxDateSpan 
*arg2 
= 0 ; 
20154     wxDateTime 
*result
; 
20155     PyObject 
* obj0 
= 0 ; 
20156     PyObject 
* obj1 
= 0 ; 
20158     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
; 
20159     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20160     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20161     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20162     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20164     if (arg2 
== NULL
) { 
20165         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20171             wxDateTime 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
20172             result 
= (wxDateTime 
*) &_result_ref
; 
20175         wxPyEndAllowThreads(__tstate
); 
20176         if (PyErr_Occurred()) SWIG_fail
; 
20178     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
20185 static PyObject 
*_wrap_DateTime___isub__(PyObject 
*self
, PyObject 
*args
) { 
20190     argc 
= PyObject_Length(args
); 
20191     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20192         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20198             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20208                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20216                 return _wrap_DateTime___isub____SWIG_0(self
,args
); 
20224             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20234                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20242                 return _wrap_DateTime___isub____SWIG_1(self
,args
); 
20247     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'"); 
20252 static PyObject 
*_wrap_DateTime___add____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20253     PyObject 
*resultobj
; 
20254     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20255     wxTimeSpan 
*arg2 
= 0 ; 
20257     PyObject 
* obj0 
= 0 ; 
20258     PyObject 
* obj1 
= 0 ; 
20260     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20261     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20262     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20263     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20264     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20266     if (arg2 
== NULL
) { 
20267         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20272         result 
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan 
const &)*arg2
); 
20274         wxPyEndAllowThreads(__tstate
); 
20275         if (PyErr_Occurred()) SWIG_fail
; 
20278         wxDateTime 
* resultptr
; 
20279         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20280         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20288 static PyObject 
*_wrap_DateTime___add____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20289     PyObject 
*resultobj
; 
20290     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20291     wxDateSpan 
*arg2 
= 0 ; 
20293     PyObject 
* obj0 
= 0 ; 
20294     PyObject 
* obj1 
= 0 ; 
20296     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
; 
20297     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20298     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20299     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20300     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20302     if (arg2 
== NULL
) { 
20303         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20308         result 
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan 
const &)*arg2
); 
20310         wxPyEndAllowThreads(__tstate
); 
20311         if (PyErr_Occurred()) SWIG_fail
; 
20314         wxDateTime 
* resultptr
; 
20315         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20316         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20324 static PyObject 
*_wrap_DateTime___add__(PyObject 
*self
, PyObject 
*args
) { 
20329     argc 
= PyObject_Length(args
); 
20330     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20331         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20337             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20347                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20355                 return _wrap_DateTime___add____SWIG_0(self
,args
); 
20363             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20373                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20381                 return _wrap_DateTime___add____SWIG_1(self
,args
); 
20386     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'"); 
20391 static PyObject 
*_wrap_DateTime___sub____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
20392     PyObject 
*resultobj
; 
20393     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20394     wxDateTime 
*arg2 
= 0 ; 
20396     PyObject 
* obj0 
= 0 ; 
20397     PyObject 
* obj1 
= 0 ; 
20399     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20400     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20401     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20402     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20403     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20405     if (arg2 
== NULL
) { 
20406         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20411         result 
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime 
const &)*arg2
); 
20413         wxPyEndAllowThreads(__tstate
); 
20414         if (PyErr_Occurred()) SWIG_fail
; 
20417         wxTimeSpan 
* resultptr
; 
20418         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
20419         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
20427 static PyObject 
*_wrap_DateTime___sub____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
20428     PyObject 
*resultobj
; 
20429     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20430     wxTimeSpan 
*arg2 
= 0 ; 
20432     PyObject 
* obj0 
= 0 ; 
20433     PyObject 
* obj1 
= 0 ; 
20435     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20438     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
20439     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20441     if (arg2 
== NULL
) { 
20442         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20447         result 
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan 
const &)*arg2
); 
20449         wxPyEndAllowThreads(__tstate
); 
20450         if (PyErr_Occurred()) SWIG_fail
; 
20453         wxDateTime 
* resultptr
; 
20454         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20455         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20463 static PyObject 
*_wrap_DateTime___sub____SWIG_2(PyObject 
*self
, PyObject 
*args
) { 
20464     PyObject 
*resultobj
; 
20465     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20466     wxDateSpan 
*arg2 
= 0 ; 
20468     PyObject 
* obj0 
= 0 ; 
20469     PyObject 
* obj1 
= 0 ; 
20471     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
; 
20472     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20473     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20474     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
20475     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20477     if (arg2 
== NULL
) { 
20478         PyErr_SetString(PyExc_TypeError
,"null reference"); 
20482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20483         result 
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan 
const &)*arg2
); 
20485         wxPyEndAllowThreads(__tstate
); 
20486         if (PyErr_Occurred()) SWIG_fail
; 
20489         wxDateTime 
* resultptr
; 
20490         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
20491         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
20499 static PyObject 
*_wrap_DateTime___sub__(PyObject 
*self
, PyObject 
*args
) { 
20504     argc 
= PyObject_Length(args
); 
20505     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
20506         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
20512             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20522                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20530                 return _wrap_DateTime___sub____SWIG_0(self
,args
); 
20538             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20548                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) { 
20556                 return _wrap_DateTime___sub____SWIG_1(self
,args
); 
20564             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) { 
20574                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) { 
20582                 return _wrap_DateTime___sub____SWIG_2(self
,args
); 
20587     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'"); 
20592 static PyObject 
*_wrap_DateTime___lt__(PyObject 
*self
, PyObject 
*args
) { 
20593     PyObject 
*resultobj
; 
20594     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20595     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20597     PyObject 
* obj0 
= 0 ; 
20598     PyObject 
* obj1 
= 0 ; 
20600     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
; 
20601     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20602     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20603     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20607         result 
= (bool)wxDateTime___lt__(arg1
,(wxDateTime 
const *)arg2
); 
20609         wxPyEndAllowThreads(__tstate
); 
20610         if (PyErr_Occurred()) SWIG_fail
; 
20613         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20621 static PyObject 
*_wrap_DateTime___le__(PyObject 
*self
, PyObject 
*args
) { 
20622     PyObject 
*resultobj
; 
20623     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20624     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20626     PyObject 
* obj0 
= 0 ; 
20627     PyObject 
* obj1 
= 0 ; 
20629     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
; 
20630     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20631     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20632     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20633     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20636         result 
= (bool)wxDateTime___le__(arg1
,(wxDateTime 
const *)arg2
); 
20638         wxPyEndAllowThreads(__tstate
); 
20639         if (PyErr_Occurred()) SWIG_fail
; 
20642         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20650 static PyObject 
*_wrap_DateTime___gt__(PyObject 
*self
, PyObject 
*args
) { 
20651     PyObject 
*resultobj
; 
20652     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20653     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20655     PyObject 
* obj0 
= 0 ; 
20656     PyObject 
* obj1 
= 0 ; 
20658     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
; 
20659     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20660     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20661     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20662     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20665         result 
= (bool)wxDateTime___gt__(arg1
,(wxDateTime 
const *)arg2
); 
20667         wxPyEndAllowThreads(__tstate
); 
20668         if (PyErr_Occurred()) SWIG_fail
; 
20671         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20679 static PyObject 
*_wrap_DateTime___ge__(PyObject 
*self
, PyObject 
*args
) { 
20680     PyObject 
*resultobj
; 
20681     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20682     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20684     PyObject 
* obj0 
= 0 ; 
20685     PyObject 
* obj1 
= 0 ; 
20687     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
; 
20688     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20689     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20690     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20691     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20694         result 
= (bool)wxDateTime___ge__(arg1
,(wxDateTime 
const *)arg2
); 
20696         wxPyEndAllowThreads(__tstate
); 
20697         if (PyErr_Occurred()) SWIG_fail
; 
20700         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20708 static PyObject 
*_wrap_DateTime___eq__(PyObject 
*self
, PyObject 
*args
) { 
20709     PyObject 
*resultobj
; 
20710     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20711     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20713     PyObject 
* obj0 
= 0 ; 
20714     PyObject 
* obj1 
= 0 ; 
20716     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
; 
20717     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20718     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20719     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20720     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20723         result 
= (bool)wxDateTime___eq__(arg1
,(wxDateTime 
const *)arg2
); 
20725         wxPyEndAllowThreads(__tstate
); 
20726         if (PyErr_Occurred()) SWIG_fail
; 
20729         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20737 static PyObject 
*_wrap_DateTime___ne__(PyObject 
*self
, PyObject 
*args
) { 
20738     PyObject 
*resultobj
; 
20739     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20740     wxDateTime 
*arg2 
= (wxDateTime 
*) 0 ; 
20742     PyObject 
* obj0 
= 0 ; 
20743     PyObject 
* obj1 
= 0 ; 
20745     if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
; 
20746     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20747     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20748     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
20749     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20752         result 
= (bool)wxDateTime___ne__(arg1
,(wxDateTime 
const *)arg2
); 
20754         wxPyEndAllowThreads(__tstate
); 
20755         if (PyErr_Occurred()) SWIG_fail
; 
20758         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20766 static PyObject 
*_wrap_DateTime_ParseRfc822Date(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20767     PyObject 
*resultobj
; 
20768     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20769     wxString 
*arg2 
= 0 ; 
20771     bool temp2 
= False 
; 
20772     PyObject 
* obj0 
= 0 ; 
20773     PyObject 
* obj1 
= 0 ; 
20774     char *kwnames
[] = { 
20775         (char *) "self",(char *) "date", NULL 
 
20778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
; 
20779     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20780     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20782         arg2 
= wxString_in_helper(obj1
); 
20783         if (arg2 
== NULL
) SWIG_fail
; 
20787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20788         result 
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString 
const &)*arg2
); 
20790         wxPyEndAllowThreads(__tstate
); 
20791         if (PyErr_Occurred()) SWIG_fail
; 
20793     resultobj 
= SWIG_FromInt((int)result
); 
20808 static PyObject 
*_wrap_DateTime_ParseFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20809     PyObject 
*resultobj
; 
20810     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20811     wxString 
*arg2 
= 0 ; 
20812     wxString 
const &arg3_defvalue 
= wxPyDateFormatStr 
; 
20813     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20814     wxDateTime 
const &arg4_defvalue 
= wxDefaultDateTime 
; 
20815     wxDateTime 
*arg4 
= (wxDateTime 
*) &arg4_defvalue 
; 
20817     bool temp2 
= False 
; 
20818     bool temp3 
= False 
; 
20819     PyObject 
* obj0 
= 0 ; 
20820     PyObject 
* obj1 
= 0 ; 
20821     PyObject 
* obj2 
= 0 ; 
20822     PyObject 
* obj3 
= 0 ; 
20823     char *kwnames
[] = { 
20824         (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL 
 
20827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20828     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20829     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20831         arg2 
= wxString_in_helper(obj1
); 
20832         if (arg2 
== NULL
) SWIG_fail
; 
20837             arg3 
= wxString_in_helper(obj2
); 
20838             if (arg3 
== NULL
) SWIG_fail
; 
20843         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
, 
20844         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
20846         if (arg4 
== NULL
) { 
20847             PyErr_SetString(PyExc_TypeError
,"null reference"); 
20852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20853         result 
= (int)wxDateTime_ParseFormat(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxDateTime 
const &)*arg4
); 
20855         wxPyEndAllowThreads(__tstate
); 
20856         if (PyErr_Occurred()) SWIG_fail
; 
20858     resultobj 
= SWIG_FromInt((int)result
); 
20881 static PyObject 
*_wrap_DateTime_ParseDateTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20882     PyObject 
*resultobj
; 
20883     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20884     wxString 
*arg2 
= 0 ; 
20886     bool temp2 
= False 
; 
20887     PyObject 
* obj0 
= 0 ; 
20888     PyObject 
* obj1 
= 0 ; 
20889     char *kwnames
[] = { 
20890         (char *) "self",(char *) "datetime", NULL 
 
20893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
20894     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20895     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20897         arg2 
= wxString_in_helper(obj1
); 
20898         if (arg2 
== NULL
) SWIG_fail
; 
20902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20903         result 
= (int)wxDateTime_ParseDateTime(arg1
,(wxString 
const &)*arg2
); 
20905         wxPyEndAllowThreads(__tstate
); 
20906         if (PyErr_Occurred()) SWIG_fail
; 
20908     resultobj 
= SWIG_FromInt((int)result
); 
20923 static PyObject 
*_wrap_DateTime_ParseDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20924     PyObject 
*resultobj
; 
20925     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20926     wxString 
*arg2 
= 0 ; 
20928     bool temp2 
= False 
; 
20929     PyObject 
* obj0 
= 0 ; 
20930     PyObject 
* obj1 
= 0 ; 
20931     char *kwnames
[] = { 
20932         (char *) "self",(char *) "date", NULL 
 
20935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
20936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20939         arg2 
= wxString_in_helper(obj1
); 
20940         if (arg2 
== NULL
) SWIG_fail
; 
20944         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20945         result 
= (int)wxDateTime_ParseDate(arg1
,(wxString 
const &)*arg2
); 
20947         wxPyEndAllowThreads(__tstate
); 
20948         if (PyErr_Occurred()) SWIG_fail
; 
20950     resultobj 
= SWIG_FromInt((int)result
); 
20965 static PyObject 
*_wrap_DateTime_ParseTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
20966     PyObject 
*resultobj
; 
20967     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
20968     wxString 
*arg2 
= 0 ; 
20970     bool temp2 
= False 
; 
20971     PyObject 
* obj0 
= 0 ; 
20972     PyObject 
* obj1 
= 0 ; 
20973     char *kwnames
[] = { 
20974         (char *) "self",(char *) "time", NULL 
 
20977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
; 
20978     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
20979     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
20981         arg2 
= wxString_in_helper(obj1
); 
20982         if (arg2 
== NULL
) SWIG_fail
; 
20986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20987         result 
= (int)wxDateTime_ParseTime(arg1
,(wxString 
const &)*arg2
); 
20989         wxPyEndAllowThreads(__tstate
); 
20990         if (PyErr_Occurred()) SWIG_fail
; 
20992     resultobj 
= SWIG_FromInt((int)result
); 
21007 static PyObject 
*_wrap_DateTime_Format(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21008     PyObject 
*resultobj
; 
21009     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21010     wxString 
const &arg2_defvalue 
= wxPyDateFormatStr 
; 
21011     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
21012     wxDateTime::TimeZone 
const &arg3_defvalue 
= LOCAL_TZ 
; 
21013     wxDateTime::TimeZone 
*arg3 
= (wxDateTime::TimeZone 
*) &arg3_defvalue 
; 
21015     bool temp2 
= False 
; 
21016     bool temp3 
= False 
; 
21017     PyObject 
* obj0 
= 0 ; 
21018     PyObject 
* obj1 
= 0 ; 
21019     PyObject 
* obj2 
= 0 ; 
21020     char *kwnames
[] = { 
21021         (char *) "self",(char *) "format",(char *) "tz", NULL 
 
21024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21025     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21026     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21029             arg2 
= wxString_in_helper(obj1
); 
21030             if (arg2 
== NULL
) SWIG_fail
; 
21036             arg3 
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
)); 
21041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21042         result 
= ((wxDateTime 
const *)arg1
)->Format((wxString 
const &)*arg2
,(wxDateTime::TimeZone 
const &)*arg3
); 
21044         wxPyEndAllowThreads(__tstate
); 
21045         if (PyErr_Occurred()) SWIG_fail
; 
21049         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21051         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21059         if (temp3
) delete arg3
; 
21068         if (temp3
) delete arg3
; 
21074 static PyObject 
*_wrap_DateTime_FormatDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21075     PyObject 
*resultobj
; 
21076     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21078     PyObject 
* obj0 
= 0 ; 
21079     char *kwnames
[] = { 
21080         (char *) "self", NULL 
 
21083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
; 
21084     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21085     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21088         result 
= ((wxDateTime 
const *)arg1
)->FormatDate(); 
21090         wxPyEndAllowThreads(__tstate
); 
21091         if (PyErr_Occurred()) SWIG_fail
; 
21095         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21097         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21106 static PyObject 
*_wrap_DateTime_FormatTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21107     PyObject 
*resultobj
; 
21108     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21110     PyObject 
* obj0 
= 0 ; 
21111     char *kwnames
[] = { 
21112         (char *) "self", NULL 
 
21115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
; 
21116     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21117     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21120         result 
= ((wxDateTime 
const *)arg1
)->FormatTime(); 
21122         wxPyEndAllowThreads(__tstate
); 
21123         if (PyErr_Occurred()) SWIG_fail
; 
21127         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21129         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21138 static PyObject 
*_wrap_DateTime_FormatISODate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21139     PyObject 
*resultobj
; 
21140     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21142     PyObject 
* obj0 
= 0 ; 
21143     char *kwnames
[] = { 
21144         (char *) "self", NULL 
 
21147     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
; 
21148     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21149     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21152         result 
= ((wxDateTime 
const *)arg1
)->FormatISODate(); 
21154         wxPyEndAllowThreads(__tstate
); 
21155         if (PyErr_Occurred()) SWIG_fail
; 
21159         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21161         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21170 static PyObject 
*_wrap_DateTime_FormatISOTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21171     PyObject 
*resultobj
; 
21172     wxDateTime 
*arg1 
= (wxDateTime 
*) 0 ; 
21174     PyObject 
* obj0 
= 0 ; 
21175     char *kwnames
[] = { 
21176         (char *) "self", NULL 
 
21179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
; 
21180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
, 
21181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21183         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21184         result 
= ((wxDateTime 
const *)arg1
)->FormatISOTime(); 
21186         wxPyEndAllowThreads(__tstate
); 
21187         if (PyErr_Occurred()) SWIG_fail
; 
21191         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
21193         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
21202 static PyObject 
* DateTime_swigregister(PyObject 
*self
, PyObject 
*args
) { 
21204     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21205     SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
); 
21207     return Py_BuildValue((char *)""); 
21209 static PyObject 
*_wrap_TimeSpan_Seconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21210     PyObject 
*resultobj
; 
21213     PyObject 
* obj0 
= 0 ; 
21214     char *kwnames
[] = { 
21215         (char *) "sec", NULL 
 
21218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
; 
21219     arg1 
= (long) SWIG_AsLong(obj0
);  
21220     if (PyErr_Occurred()) SWIG_fail
; 
21222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21223         result 
= wxTimeSpan::Seconds(arg1
); 
21225         wxPyEndAllowThreads(__tstate
); 
21226         if (PyErr_Occurred()) SWIG_fail
; 
21229         wxTimeSpan 
* resultptr
; 
21230         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21231         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21239 static PyObject 
*_wrap_TimeSpan_Second(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21240     PyObject 
*resultobj
; 
21242     char *kwnames
[] = { 
21246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
; 
21248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21249         result 
= wxTimeSpan::Second(); 
21251         wxPyEndAllowThreads(__tstate
); 
21252         if (PyErr_Occurred()) SWIG_fail
; 
21255         wxTimeSpan 
* resultptr
; 
21256         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21257         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21265 static PyObject 
*_wrap_TimeSpan_Minutes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21266     PyObject 
*resultobj
; 
21269     PyObject 
* obj0 
= 0 ; 
21270     char *kwnames
[] = { 
21271         (char *) "min", NULL 
 
21274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
; 
21275     arg1 
= (long) SWIG_AsLong(obj0
);  
21276     if (PyErr_Occurred()) SWIG_fail
; 
21278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21279         result 
= wxTimeSpan::Minutes(arg1
); 
21281         wxPyEndAllowThreads(__tstate
); 
21282         if (PyErr_Occurred()) SWIG_fail
; 
21285         wxTimeSpan 
* resultptr
; 
21286         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21287         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21295 static PyObject 
*_wrap_TimeSpan_Minute(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21296     PyObject 
*resultobj
; 
21298     char *kwnames
[] = { 
21302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
; 
21304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21305         result 
= wxTimeSpan::Minute(); 
21307         wxPyEndAllowThreads(__tstate
); 
21308         if (PyErr_Occurred()) SWIG_fail
; 
21311         wxTimeSpan 
* resultptr
; 
21312         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21313         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21321 static PyObject 
*_wrap_TimeSpan_Hours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21322     PyObject 
*resultobj
; 
21325     PyObject 
* obj0 
= 0 ; 
21326     char *kwnames
[] = { 
21327         (char *) "hours", NULL 
 
21330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
; 
21331     arg1 
= (long) SWIG_AsLong(obj0
);  
21332     if (PyErr_Occurred()) SWIG_fail
; 
21334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21335         result 
= wxTimeSpan::Hours(arg1
); 
21337         wxPyEndAllowThreads(__tstate
); 
21338         if (PyErr_Occurred()) SWIG_fail
; 
21341         wxTimeSpan 
* resultptr
; 
21342         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21343         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21351 static PyObject 
*_wrap_TimeSpan_Hour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21352     PyObject 
*resultobj
; 
21354     char *kwnames
[] = { 
21358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
; 
21360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21361         result 
= wxTimeSpan::Hour(); 
21363         wxPyEndAllowThreads(__tstate
); 
21364         if (PyErr_Occurred()) SWIG_fail
; 
21367         wxTimeSpan 
* resultptr
; 
21368         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21369         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21377 static PyObject 
*_wrap_TimeSpan_Days(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21378     PyObject 
*resultobj
; 
21381     PyObject 
* obj0 
= 0 ; 
21382     char *kwnames
[] = { 
21383         (char *) "days", NULL 
 
21386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
; 
21387     arg1 
= (long) SWIG_AsLong(obj0
);  
21388     if (PyErr_Occurred()) SWIG_fail
; 
21390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21391         result 
= wxTimeSpan::Days(arg1
); 
21393         wxPyEndAllowThreads(__tstate
); 
21394         if (PyErr_Occurred()) SWIG_fail
; 
21397         wxTimeSpan 
* resultptr
; 
21398         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21399         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21407 static PyObject 
*_wrap_TimeSpan_Day(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21408     PyObject 
*resultobj
; 
21410     char *kwnames
[] = { 
21414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
; 
21416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21417         result 
= wxTimeSpan::Day(); 
21419         wxPyEndAllowThreads(__tstate
); 
21420         if (PyErr_Occurred()) SWIG_fail
; 
21423         wxTimeSpan 
* resultptr
; 
21424         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21425         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21433 static PyObject 
*_wrap_TimeSpan_Weeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21434     PyObject 
*resultobj
; 
21437     PyObject 
* obj0 
= 0 ; 
21438     char *kwnames
[] = { 
21439         (char *) "days", NULL 
 
21442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
21443     arg1 
= (long) SWIG_AsLong(obj0
);  
21444     if (PyErr_Occurred()) SWIG_fail
; 
21446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21447         result 
= wxTimeSpan::Weeks(arg1
); 
21449         wxPyEndAllowThreads(__tstate
); 
21450         if (PyErr_Occurred()) SWIG_fail
; 
21453         wxTimeSpan 
* resultptr
; 
21454         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21455         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21463 static PyObject 
*_wrap_TimeSpan_Week(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21464     PyObject 
*resultobj
; 
21466     char *kwnames
[] = { 
21470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
; 
21472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21473         result 
= wxTimeSpan::Week(); 
21475         wxPyEndAllowThreads(__tstate
); 
21476         if (PyErr_Occurred()) SWIG_fail
; 
21479         wxTimeSpan 
* resultptr
; 
21480         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21481         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21489 static PyObject 
*_wrap_new_TimeSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21490     PyObject 
*resultobj
; 
21491     long arg1 
= (long) 0 ; 
21492     long arg2 
= (long) 0 ; 
21493     long arg3 
= (long) 0 ; 
21494     long arg4 
= (long) 0 ; 
21495     wxTimeSpan 
*result
; 
21496     PyObject 
* obj0 
= 0 ; 
21497     PyObject 
* obj1 
= 0 ; 
21498     PyObject 
* obj2 
= 0 ; 
21499     PyObject 
* obj3 
= 0 ; 
21500     char *kwnames
[] = { 
21501         (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL 
 
21504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21506         arg1 
= (long) SWIG_AsLong(obj0
);  
21507         if (PyErr_Occurred()) SWIG_fail
; 
21510         arg2 
= (long) SWIG_AsLong(obj1
);  
21511         if (PyErr_Occurred()) SWIG_fail
; 
21514         arg3 
= (long) SWIG_AsLong(obj2
);  
21515         if (PyErr_Occurred()) SWIG_fail
; 
21518         arg4 
= (long) SWIG_AsLong(obj3
);  
21519         if (PyErr_Occurred()) SWIG_fail
; 
21522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21523         result 
= (wxTimeSpan 
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
); 
21525         wxPyEndAllowThreads(__tstate
); 
21526         if (PyErr_Occurred()) SWIG_fail
; 
21528     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1); 
21535 static PyObject 
*_wrap_delete_TimeSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21536     PyObject 
*resultobj
; 
21537     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21538     PyObject 
* obj0 
= 0 ; 
21539     char *kwnames
[] = { 
21540         (char *) "self", NULL 
 
21543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
; 
21544     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21550         wxPyEndAllowThreads(__tstate
); 
21551         if (PyErr_Occurred()) SWIG_fail
; 
21553     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21560 static PyObject 
*_wrap_TimeSpan_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21561     PyObject 
*resultobj
; 
21562     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21563     wxTimeSpan 
*arg2 
= 0 ; 
21564     wxTimeSpan 
*result
; 
21565     PyObject 
* obj0 
= 0 ; 
21566     PyObject 
* obj1 
= 0 ; 
21567     char *kwnames
[] = { 
21568         (char *) "self",(char *) "diff", NULL 
 
21571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
21572     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21573     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21574     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21575     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21577     if (arg2 
== NULL
) { 
21578         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21584             wxTimeSpan 
&_result_ref 
= (arg1
)->Add((wxTimeSpan 
const &)*arg2
); 
21585             result 
= (wxTimeSpan 
*) &_result_ref
; 
21588         wxPyEndAllowThreads(__tstate
); 
21589         if (PyErr_Occurred()) SWIG_fail
; 
21591     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21598 static PyObject 
*_wrap_TimeSpan_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21599     PyObject 
*resultobj
; 
21600     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21601     wxTimeSpan 
*arg2 
= 0 ; 
21602     wxTimeSpan 
*result
; 
21603     PyObject 
* obj0 
= 0 ; 
21604     PyObject 
* obj1 
= 0 ; 
21605     char *kwnames
[] = { 
21606         (char *) "self",(char *) "diff", NULL 
 
21609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
21610     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21611     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21612     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21613     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21615     if (arg2 
== NULL
) { 
21616         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21622             wxTimeSpan 
&_result_ref 
= (arg1
)->Subtract((wxTimeSpan 
const &)*arg2
); 
21623             result 
= (wxTimeSpan 
*) &_result_ref
; 
21626         wxPyEndAllowThreads(__tstate
); 
21627         if (PyErr_Occurred()) SWIG_fail
; 
21629     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21636 static PyObject 
*_wrap_TimeSpan_Multiply(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21637     PyObject 
*resultobj
; 
21638     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21640     wxTimeSpan 
*result
; 
21641     PyObject 
* obj0 
= 0 ; 
21642     PyObject 
* obj1 
= 0 ; 
21643     char *kwnames
[] = { 
21644         (char *) "self",(char *) "n", NULL 
 
21647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
21648     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21649     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21650     arg2 
= (int) SWIG_AsInt(obj1
);  
21651     if (PyErr_Occurred()) SWIG_fail
; 
21653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21655             wxTimeSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
21656             result 
= (wxTimeSpan 
*) &_result_ref
; 
21659         wxPyEndAllowThreads(__tstate
); 
21660         if (PyErr_Occurred()) SWIG_fail
; 
21662     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21669 static PyObject 
*_wrap_TimeSpan_Neg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21670     PyObject 
*resultobj
; 
21671     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21672     wxTimeSpan 
*result
; 
21673     PyObject 
* obj0 
= 0 ; 
21674     char *kwnames
[] = { 
21675         (char *) "self", NULL 
 
21678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
; 
21679     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21680     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21682         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21684             wxTimeSpan 
&_result_ref 
= (arg1
)->Neg(); 
21685             result 
= (wxTimeSpan 
*) &_result_ref
; 
21688         wxPyEndAllowThreads(__tstate
); 
21689         if (PyErr_Occurred()) SWIG_fail
; 
21691     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21698 static PyObject 
*_wrap_TimeSpan_Abs(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21699     PyObject 
*resultobj
; 
21700     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21702     PyObject 
* obj0 
= 0 ; 
21703     char *kwnames
[] = { 
21704         (char *) "self", NULL 
 
21707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
; 
21708     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21709     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21712         result 
= ((wxTimeSpan 
const *)arg1
)->Abs(); 
21714         wxPyEndAllowThreads(__tstate
); 
21715         if (PyErr_Occurred()) SWIG_fail
; 
21718         wxTimeSpan 
* resultptr
; 
21719         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21720         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21728 static PyObject 
*_wrap_TimeSpan___iadd__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21729     PyObject 
*resultobj
; 
21730     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21731     wxTimeSpan 
*arg2 
= 0 ; 
21732     wxTimeSpan 
*result
; 
21733     PyObject 
* obj0 
= 0 ; 
21734     PyObject 
* obj1 
= 0 ; 
21735     char *kwnames
[] = { 
21736         (char *) "self",(char *) "diff", NULL 
 
21739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21740     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21741     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21742     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21743     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21745     if (arg2 
== NULL
) { 
21746         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21752             wxTimeSpan 
&_result_ref 
= (arg1
)->operator +=((wxTimeSpan 
const &)*arg2
); 
21753             result 
= (wxTimeSpan 
*) &_result_ref
; 
21756         wxPyEndAllowThreads(__tstate
); 
21757         if (PyErr_Occurred()) SWIG_fail
; 
21759     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21766 static PyObject 
*_wrap_TimeSpan___isub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21767     PyObject 
*resultobj
; 
21768     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21769     wxTimeSpan 
*arg2 
= 0 ; 
21770     wxTimeSpan 
*result
; 
21771     PyObject 
* obj0 
= 0 ; 
21772     PyObject 
* obj1 
= 0 ; 
21773     char *kwnames
[] = { 
21774         (char *) "self",(char *) "diff", NULL 
 
21777     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21778     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21779     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21780     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21781     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21783     if (arg2 
== NULL
) { 
21784         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21790             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -=((wxTimeSpan 
const &)*arg2
); 
21791             result 
= (wxTimeSpan 
*) &_result_ref
; 
21794         wxPyEndAllowThreads(__tstate
); 
21795         if (PyErr_Occurred()) SWIG_fail
; 
21797     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21804 static PyObject 
*_wrap_TimeSpan___imul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21805     PyObject 
*resultobj
; 
21806     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21808     wxTimeSpan 
*result
; 
21809     PyObject 
* obj0 
= 0 ; 
21810     PyObject 
* obj1 
= 0 ; 
21811     char *kwnames
[] = { 
21812         (char *) "self",(char *) "n", NULL 
 
21815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21816     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21817     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21818     arg2 
= (int) SWIG_AsInt(obj1
);  
21819     if (PyErr_Occurred()) SWIG_fail
; 
21821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21823             wxTimeSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
21824             result 
= (wxTimeSpan 
*) &_result_ref
; 
21827         wxPyEndAllowThreads(__tstate
); 
21828         if (PyErr_Occurred()) SWIG_fail
; 
21830     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21837 static PyObject 
*_wrap_TimeSpan___neg__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21838     PyObject 
*resultobj
; 
21839     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21840     wxTimeSpan 
*result
; 
21841     PyObject 
* obj0 
= 0 ; 
21842     char *kwnames
[] = { 
21843         (char *) "self", NULL 
 
21846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
; 
21847     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21848     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21852             wxTimeSpan 
&_result_ref 
= (arg1
)->operator -(); 
21853             result 
= (wxTimeSpan 
*) &_result_ref
; 
21856         wxPyEndAllowThreads(__tstate
); 
21857         if (PyErr_Occurred()) SWIG_fail
; 
21859     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0); 
21866 static PyObject 
*_wrap_TimeSpan___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21867     PyObject 
*resultobj
; 
21868     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21869     wxTimeSpan 
*arg2 
= 0 ; 
21871     PyObject 
* obj0 
= 0 ; 
21872     PyObject 
* obj1 
= 0 ; 
21873     char *kwnames
[] = { 
21874         (char *) "self",(char *) "other", NULL 
 
21877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21880     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21883     if (arg2 
== NULL
) { 
21884         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21889         result 
= wxTimeSpan___add__(arg1
,(wxTimeSpan 
const &)*arg2
); 
21891         wxPyEndAllowThreads(__tstate
); 
21892         if (PyErr_Occurred()) SWIG_fail
; 
21895         wxTimeSpan 
* resultptr
; 
21896         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21897         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21905 static PyObject 
*_wrap_TimeSpan___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21906     PyObject 
*resultobj
; 
21907     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21908     wxTimeSpan 
*arg2 
= 0 ; 
21910     PyObject 
* obj0 
= 0 ; 
21911     PyObject 
* obj1 
= 0 ; 
21912     char *kwnames
[] = { 
21913         (char *) "self",(char *) "other", NULL 
 
21916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21917     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21918     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21919     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
21920     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
21922     if (arg2 
== NULL
) { 
21923         PyErr_SetString(PyExc_TypeError
,"null reference"); 
21927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21928         result 
= wxTimeSpan___sub__(arg1
,(wxTimeSpan 
const &)*arg2
); 
21930         wxPyEndAllowThreads(__tstate
); 
21931         if (PyErr_Occurred()) SWIG_fail
; 
21934         wxTimeSpan 
* resultptr
; 
21935         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21936         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21944 static PyObject 
*_wrap_TimeSpan___mul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21945     PyObject 
*resultobj
; 
21946     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21949     PyObject 
* obj0 
= 0 ; 
21950     PyObject 
* obj1 
= 0 ; 
21951     char *kwnames
[] = { 
21952         (char *) "self",(char *) "n", NULL 
 
21955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21956     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21957     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21958     arg2 
= (int) SWIG_AsInt(obj1
);  
21959     if (PyErr_Occurred()) SWIG_fail
; 
21961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21962         result 
= wxTimeSpan___mul__(arg1
,arg2
); 
21964         wxPyEndAllowThreads(__tstate
); 
21965         if (PyErr_Occurred()) SWIG_fail
; 
21968         wxTimeSpan 
* resultptr
; 
21969         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
21970         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
21978 static PyObject 
*_wrap_TimeSpan___rmul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
21979     PyObject 
*resultobj
; 
21980     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
21983     PyObject 
* obj0 
= 0 ; 
21984     PyObject 
* obj1 
= 0 ; 
21985     char *kwnames
[] = { 
21986         (char *) "self",(char *) "n", NULL 
 
21989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
21990     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
21991     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
21992     arg2 
= (int) SWIG_AsInt(obj1
);  
21993     if (PyErr_Occurred()) SWIG_fail
; 
21995         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21996         result 
= wxTimeSpan___rmul__(arg1
,arg2
); 
21998         wxPyEndAllowThreads(__tstate
); 
21999         if (PyErr_Occurred()) SWIG_fail
; 
22002         wxTimeSpan 
* resultptr
; 
22003         resultptr 
= new wxTimeSpan((wxTimeSpan 
&) result
); 
22004         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1); 
22012 static PyObject 
*_wrap_TimeSpan___lt__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22013     PyObject 
*resultobj
; 
22014     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22015     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22017     PyObject 
* obj0 
= 0 ; 
22018     PyObject 
* obj1 
= 0 ; 
22019     char *kwnames
[] = { 
22020         (char *) "self",(char *) "other", NULL 
 
22023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22024     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22025     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22026     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22027     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22030         result 
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22032         wxPyEndAllowThreads(__tstate
); 
22033         if (PyErr_Occurred()) SWIG_fail
; 
22036         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22044 static PyObject 
*_wrap_TimeSpan___le__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22045     PyObject 
*resultobj
; 
22046     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22047     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22049     PyObject 
* obj0 
= 0 ; 
22050     PyObject 
* obj1 
= 0 ; 
22051     char *kwnames
[] = { 
22052         (char *) "self",(char *) "other", NULL 
 
22055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22056     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22057     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22058     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22059     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22062         result 
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan 
const *)arg2
); 
22064         wxPyEndAllowThreads(__tstate
); 
22065         if (PyErr_Occurred()) SWIG_fail
; 
22068         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22076 static PyObject 
*_wrap_TimeSpan___gt__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22077     PyObject 
*resultobj
; 
22078     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22079     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22081     PyObject 
* obj0 
= 0 ; 
22082     PyObject 
* obj1 
= 0 ; 
22083     char *kwnames
[] = { 
22084         (char *) "self",(char *) "other", NULL 
 
22087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22088     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22089     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22090     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22091     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22094         result 
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan 
const *)arg2
); 
22096         wxPyEndAllowThreads(__tstate
); 
22097         if (PyErr_Occurred()) SWIG_fail
; 
22100         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22108 static PyObject 
*_wrap_TimeSpan___ge__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22109     PyObject 
*resultobj
; 
22110     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22111     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22113     PyObject 
* obj0 
= 0 ; 
22114     PyObject 
* obj1 
= 0 ; 
22115     char *kwnames
[] = { 
22116         (char *) "self",(char *) "other", NULL 
 
22119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22120     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22122     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22123     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22126         result 
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan 
const *)arg2
); 
22128         wxPyEndAllowThreads(__tstate
); 
22129         if (PyErr_Occurred()) SWIG_fail
; 
22132         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22140 static PyObject 
*_wrap_TimeSpan___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22141     PyObject 
*resultobj
; 
22142     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22143     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22145     PyObject 
* obj0 
= 0 ; 
22146     PyObject 
* obj1 
= 0 ; 
22147     char *kwnames
[] = { 
22148         (char *) "self",(char *) "other", NULL 
 
22151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22152     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22153     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22154     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22155     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22158         result 
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan 
const *)arg2
); 
22160         wxPyEndAllowThreads(__tstate
); 
22161         if (PyErr_Occurred()) SWIG_fail
; 
22164         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22172 static PyObject 
*_wrap_TimeSpan___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22173     PyObject 
*resultobj
; 
22174     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22175     wxTimeSpan 
*arg2 
= (wxTimeSpan 
*) 0 ; 
22177     PyObject 
* obj0 
= 0 ; 
22178     PyObject 
* obj1 
= 0 ; 
22179     char *kwnames
[] = { 
22180         (char *) "self",(char *) "other", NULL 
 
22183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
22184     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22185     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22186     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22187     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22190         result 
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan 
const *)arg2
); 
22192         wxPyEndAllowThreads(__tstate
); 
22193         if (PyErr_Occurred()) SWIG_fail
; 
22196         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22204 static PyObject 
*_wrap_TimeSpan_IsNull(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22205     PyObject 
*resultobj
; 
22206     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22208     PyObject 
* obj0 
= 0 ; 
22209     char *kwnames
[] = { 
22210         (char *) "self", NULL 
 
22213     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
; 
22214     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22215     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22218         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNull(); 
22220         wxPyEndAllowThreads(__tstate
); 
22221         if (PyErr_Occurred()) SWIG_fail
; 
22224         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22232 static PyObject 
*_wrap_TimeSpan_IsPositive(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22233     PyObject 
*resultobj
; 
22234     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22236     PyObject 
* obj0 
= 0 ; 
22237     char *kwnames
[] = { 
22238         (char *) "self", NULL 
 
22241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
; 
22242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22246         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsPositive(); 
22248         wxPyEndAllowThreads(__tstate
); 
22249         if (PyErr_Occurred()) SWIG_fail
; 
22252         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22260 static PyObject 
*_wrap_TimeSpan_IsNegative(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22261     PyObject 
*resultobj
; 
22262     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22264     PyObject 
* obj0 
= 0 ; 
22265     char *kwnames
[] = { 
22266         (char *) "self", NULL 
 
22269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
; 
22270     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22271     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22274         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsNegative(); 
22276         wxPyEndAllowThreads(__tstate
); 
22277         if (PyErr_Occurred()) SWIG_fail
; 
22280         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22288 static PyObject 
*_wrap_TimeSpan_IsEqualTo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22289     PyObject 
*resultobj
; 
22290     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22291     wxTimeSpan 
*arg2 
= 0 ; 
22293     PyObject 
* obj0 
= 0 ; 
22294     PyObject 
* obj1 
= 0 ; 
22295     char *kwnames
[] = { 
22296         (char *) "self",(char *) "ts", NULL 
 
22299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
22300     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22301     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22302     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22303     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22305     if (arg2 
== NULL
) { 
22306         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22311         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsEqualTo((wxTimeSpan 
const &)*arg2
); 
22313         wxPyEndAllowThreads(__tstate
); 
22314         if (PyErr_Occurred()) SWIG_fail
; 
22317         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22325 static PyObject 
*_wrap_TimeSpan_IsLongerThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22326     PyObject 
*resultobj
; 
22327     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22328     wxTimeSpan 
*arg2 
= 0 ; 
22330     PyObject 
* obj0 
= 0 ; 
22331     PyObject 
* obj1 
= 0 ; 
22332     char *kwnames
[] = { 
22333         (char *) "self",(char *) "ts", NULL 
 
22336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22337     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22338     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22339     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22340     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22342     if (arg2 
== NULL
) { 
22343         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22348         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsLongerThan((wxTimeSpan 
const &)*arg2
); 
22350         wxPyEndAllowThreads(__tstate
); 
22351         if (PyErr_Occurred()) SWIG_fail
; 
22354         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22362 static PyObject 
*_wrap_TimeSpan_IsShorterThan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22363     PyObject 
*resultobj
; 
22364     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22365     wxTimeSpan 
*arg2 
= 0 ; 
22367     PyObject 
* obj0 
= 0 ; 
22368     PyObject 
* obj1 
= 0 ; 
22369     char *kwnames
[] = { 
22370         (char *) "self",(char *) "t", NULL 
 
22373     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
; 
22374     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22375     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22376     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
, 
22377     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
22379     if (arg2 
== NULL
) { 
22380         PyErr_SetString(PyExc_TypeError
,"null reference"); 
22384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22385         result 
= (bool)((wxTimeSpan 
const *)arg1
)->IsShorterThan((wxTimeSpan 
const &)*arg2
); 
22387         wxPyEndAllowThreads(__tstate
); 
22388         if (PyErr_Occurred()) SWIG_fail
; 
22391         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22399 static PyObject 
*_wrap_TimeSpan_GetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22400     PyObject 
*resultobj
; 
22401     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22403     PyObject 
* obj0 
= 0 ; 
22404     char *kwnames
[] = { 
22405         (char *) "self", NULL 
 
22408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
22409     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22410     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22413         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetWeeks(); 
22415         wxPyEndAllowThreads(__tstate
); 
22416         if (PyErr_Occurred()) SWIG_fail
; 
22418     resultobj 
= SWIG_FromInt((int)result
); 
22425 static PyObject 
*_wrap_TimeSpan_GetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22426     PyObject 
*resultobj
; 
22427     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22429     PyObject 
* obj0 
= 0 ; 
22430     char *kwnames
[] = { 
22431         (char *) "self", NULL 
 
22434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
22435     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22436     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22439         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetDays(); 
22441         wxPyEndAllowThreads(__tstate
); 
22442         if (PyErr_Occurred()) SWIG_fail
; 
22444     resultobj 
= SWIG_FromInt((int)result
); 
22451 static PyObject 
*_wrap_TimeSpan_GetHours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22452     PyObject 
*resultobj
; 
22453     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22455     PyObject 
* obj0 
= 0 ; 
22456     char *kwnames
[] = { 
22457         (char *) "self", NULL 
 
22460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
; 
22461     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22462     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22465         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetHours(); 
22467         wxPyEndAllowThreads(__tstate
); 
22468         if (PyErr_Occurred()) SWIG_fail
; 
22470     resultobj 
= SWIG_FromInt((int)result
); 
22477 static PyObject 
*_wrap_TimeSpan_GetMinutes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22478     PyObject 
*resultobj
; 
22479     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22481     PyObject 
* obj0 
= 0 ; 
22482     char *kwnames
[] = { 
22483         (char *) "self", NULL 
 
22486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
; 
22487     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22491         result 
= (int)((wxTimeSpan 
const *)arg1
)->GetMinutes(); 
22493         wxPyEndAllowThreads(__tstate
); 
22494         if (PyErr_Occurred()) SWIG_fail
; 
22496     resultobj 
= SWIG_FromInt((int)result
); 
22503 static PyObject 
*_wrap_TimeSpan_GetSeconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22504     PyObject 
*resultobj
; 
22505     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22507     PyObject 
* obj0 
= 0 ; 
22508     char *kwnames
[] = { 
22509         (char *) "self", NULL 
 
22512     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
; 
22513     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22514     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22517         result 
= ((wxTimeSpan 
const *)arg1
)->GetSeconds(); 
22519         wxPyEndAllowThreads(__tstate
); 
22520         if (PyErr_Occurred()) SWIG_fail
; 
22523         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
22524         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
22525         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
22526         shifter 
= PyLong_FromLong(32); 
22527         shifted 
= PyNumber_Lshift(hi
, shifter
); 
22528         resultobj 
= PyNumber_Or(shifted
, lo
); 
22531         Py_DECREF(shifter
); 
22532         Py_DECREF(shifted
); 
22540 static PyObject 
*_wrap_TimeSpan_GetMilliseconds(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22541     PyObject 
*resultobj
; 
22542     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22544     PyObject 
* obj0 
= 0 ; 
22545     char *kwnames
[] = { 
22546         (char *) "self", NULL 
 
22549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
; 
22550     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22551     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22554         result 
= ((wxTimeSpan 
const *)arg1
)->GetMilliseconds(); 
22556         wxPyEndAllowThreads(__tstate
); 
22557         if (PyErr_Occurred()) SWIG_fail
; 
22560         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
22561         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
22562         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
22563         shifter 
= PyLong_FromLong(32); 
22564         shifted 
= PyNumber_Lshift(hi
, shifter
); 
22565         resultobj 
= PyNumber_Or(shifted
, lo
); 
22568         Py_DECREF(shifter
); 
22569         Py_DECREF(shifted
); 
22577 static PyObject 
*_wrap_TimeSpan_Format(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22578     PyObject 
*resultobj
; 
22579     wxTimeSpan 
*arg1 
= (wxTimeSpan 
*) 0 ; 
22580     wxString 
const &arg2_defvalue 
= wxPyTimeSpanFormatStr 
; 
22581     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
22583     bool temp2 
= False 
; 
22584     PyObject 
* obj0 
= 0 ; 
22585     PyObject 
* obj1 
= 0 ; 
22586     char *kwnames
[] = { 
22587         (char *) "self",(char *) "format", NULL 
 
22590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
; 
22591     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
, 
22592     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22595             arg2 
= wxString_in_helper(obj1
); 
22596             if (arg2 
== NULL
) SWIG_fail
; 
22601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22602         result 
= ((wxTimeSpan 
const *)arg1
)->Format((wxString 
const &)*arg2
); 
22604         wxPyEndAllowThreads(__tstate
); 
22605         if (PyErr_Occurred()) SWIG_fail
; 
22609         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
22611         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
22628 static PyObject 
* TimeSpan_swigregister(PyObject 
*self
, PyObject 
*args
) { 
22630     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22631     SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
); 
22633     return Py_BuildValue((char *)""); 
22635 static PyObject 
*_wrap_new_DateSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22636     PyObject 
*resultobj
; 
22637     int arg1 
= (int) 0 ; 
22638     int arg2 
= (int) 0 ; 
22639     int arg3 
= (int) 0 ; 
22640     int arg4 
= (int) 0 ; 
22641     wxDateSpan 
*result
; 
22642     PyObject 
* obj0 
= 0 ; 
22643     PyObject 
* obj1 
= 0 ; 
22644     PyObject 
* obj2 
= 0 ; 
22645     PyObject 
* obj3 
= 0 ; 
22646     char *kwnames
[] = { 
22647         (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL 
 
22650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
22652         arg1 
= (int) SWIG_AsInt(obj0
);  
22653         if (PyErr_Occurred()) SWIG_fail
; 
22656         arg2 
= (int) SWIG_AsInt(obj1
);  
22657         if (PyErr_Occurred()) SWIG_fail
; 
22660         arg3 
= (int) SWIG_AsInt(obj2
);  
22661         if (PyErr_Occurred()) SWIG_fail
; 
22664         arg4 
= (int) SWIG_AsInt(obj3
);  
22665         if (PyErr_Occurred()) SWIG_fail
; 
22668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22669         result 
= (wxDateSpan 
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
); 
22671         wxPyEndAllowThreads(__tstate
); 
22672         if (PyErr_Occurred()) SWIG_fail
; 
22674     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1); 
22681 static PyObject 
*_wrap_delete_DateSpan(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22682     PyObject 
*resultobj
; 
22683     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22684     PyObject 
* obj0 
= 0 ; 
22685     char *kwnames
[] = { 
22686         (char *) "self", NULL 
 
22689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
; 
22690     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
22691     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22696         wxPyEndAllowThreads(__tstate
); 
22697         if (PyErr_Occurred()) SWIG_fail
; 
22699     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22706 static PyObject 
*_wrap_DateSpan_Days(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22707     PyObject 
*resultobj
; 
22710     PyObject 
* obj0 
= 0 ; 
22711     char *kwnames
[] = { 
22712         (char *) "days", NULL 
 
22715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
; 
22716     arg1 
= (int) SWIG_AsInt(obj0
);  
22717     if (PyErr_Occurred()) SWIG_fail
; 
22719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22720         result 
= wxDateSpan::Days(arg1
); 
22722         wxPyEndAllowThreads(__tstate
); 
22723         if (PyErr_Occurred()) SWIG_fail
; 
22726         wxDateSpan 
* resultptr
; 
22727         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22728         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22736 static PyObject 
*_wrap_DateSpan_Day(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22737     PyObject 
*resultobj
; 
22739     char *kwnames
[] = { 
22743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
; 
22745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22746         result 
= wxDateSpan::Day(); 
22748         wxPyEndAllowThreads(__tstate
); 
22749         if (PyErr_Occurred()) SWIG_fail
; 
22752         wxDateSpan 
* resultptr
; 
22753         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22754         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22762 static PyObject 
*_wrap_DateSpan_Weeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22763     PyObject 
*resultobj
; 
22766     PyObject 
* obj0 
= 0 ; 
22767     char *kwnames
[] = { 
22768         (char *) "weeks", NULL 
 
22771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
; 
22772     arg1 
= (int) SWIG_AsInt(obj0
);  
22773     if (PyErr_Occurred()) SWIG_fail
; 
22775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22776         result 
= wxDateSpan::Weeks(arg1
); 
22778         wxPyEndAllowThreads(__tstate
); 
22779         if (PyErr_Occurred()) SWIG_fail
; 
22782         wxDateSpan 
* resultptr
; 
22783         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22784         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22792 static PyObject 
*_wrap_DateSpan_Week(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22793     PyObject 
*resultobj
; 
22795     char *kwnames
[] = { 
22799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
; 
22801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22802         result 
= wxDateSpan::Week(); 
22804         wxPyEndAllowThreads(__tstate
); 
22805         if (PyErr_Occurred()) SWIG_fail
; 
22808         wxDateSpan 
* resultptr
; 
22809         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22810         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22818 static PyObject 
*_wrap_DateSpan_Months(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22819     PyObject 
*resultobj
; 
22822     PyObject 
* obj0 
= 0 ; 
22823     char *kwnames
[] = { 
22824         (char *) "mon", NULL 
 
22827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
; 
22828     arg1 
= (int) SWIG_AsInt(obj0
);  
22829     if (PyErr_Occurred()) SWIG_fail
; 
22831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22832         result 
= wxDateSpan::Months(arg1
); 
22834         wxPyEndAllowThreads(__tstate
); 
22835         if (PyErr_Occurred()) SWIG_fail
; 
22838         wxDateSpan 
* resultptr
; 
22839         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22840         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22848 static PyObject 
*_wrap_DateSpan_Month(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22849     PyObject 
*resultobj
; 
22851     char *kwnames
[] = { 
22855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
; 
22857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22858         result 
= wxDateSpan::Month(); 
22860         wxPyEndAllowThreads(__tstate
); 
22861         if (PyErr_Occurred()) SWIG_fail
; 
22864         wxDateSpan 
* resultptr
; 
22865         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22866         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22874 static PyObject 
*_wrap_DateSpan_Years(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22875     PyObject 
*resultobj
; 
22878     PyObject 
* obj0 
= 0 ; 
22879     char *kwnames
[] = { 
22880         (char *) "years", NULL 
 
22883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
; 
22884     arg1 
= (int) SWIG_AsInt(obj0
);  
22885     if (PyErr_Occurred()) SWIG_fail
; 
22887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22888         result 
= wxDateSpan::Years(arg1
); 
22890         wxPyEndAllowThreads(__tstate
); 
22891         if (PyErr_Occurred()) SWIG_fail
; 
22894         wxDateSpan 
* resultptr
; 
22895         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22896         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22904 static PyObject 
*_wrap_DateSpan_Year(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22905     PyObject 
*resultobj
; 
22907     char *kwnames
[] = { 
22911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
; 
22913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22914         result 
= wxDateSpan::Year(); 
22916         wxPyEndAllowThreads(__tstate
); 
22917         if (PyErr_Occurred()) SWIG_fail
; 
22920         wxDateSpan 
* resultptr
; 
22921         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
22922         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
22930 static PyObject 
*_wrap_DateSpan_SetYears(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22931     PyObject 
*resultobj
; 
22932     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22934     wxDateSpan 
*result
; 
22935     PyObject 
* obj0 
= 0 ; 
22936     PyObject 
* obj1 
= 0 ; 
22937     char *kwnames
[] = { 
22938         (char *) "self",(char *) "n", NULL 
 
22941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
; 
22942     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
22943     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22944     arg2 
= (int) SWIG_AsInt(obj1
);  
22945     if (PyErr_Occurred()) SWIG_fail
; 
22947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22949             wxDateSpan 
&_result_ref 
= (arg1
)->SetYears(arg2
); 
22950             result 
= (wxDateSpan 
*) &_result_ref
; 
22953         wxPyEndAllowThreads(__tstate
); 
22954         if (PyErr_Occurred()) SWIG_fail
; 
22956     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
22963 static PyObject 
*_wrap_DateSpan_SetMonths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22964     PyObject 
*resultobj
; 
22965     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
22967     wxDateSpan 
*result
; 
22968     PyObject 
* obj0 
= 0 ; 
22969     PyObject 
* obj1 
= 0 ; 
22970     char *kwnames
[] = { 
22971         (char *) "self",(char *) "n", NULL 
 
22974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
; 
22975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
22976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
22977     arg2 
= (int) SWIG_AsInt(obj1
);  
22978     if (PyErr_Occurred()) SWIG_fail
; 
22980         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22982             wxDateSpan 
&_result_ref 
= (arg1
)->SetMonths(arg2
); 
22983             result 
= (wxDateSpan 
*) &_result_ref
; 
22986         wxPyEndAllowThreads(__tstate
); 
22987         if (PyErr_Occurred()) SWIG_fail
; 
22989     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
22996 static PyObject 
*_wrap_DateSpan_SetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
22997     PyObject 
*resultobj
; 
22998     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23000     wxDateSpan 
*result
; 
23001     PyObject 
* obj0 
= 0 ; 
23002     PyObject 
* obj1 
= 0 ; 
23003     char *kwnames
[] = { 
23004         (char *) "self",(char *) "n", NULL 
 
23007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
; 
23008     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23009     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23010     arg2 
= (int) SWIG_AsInt(obj1
);  
23011     if (PyErr_Occurred()) SWIG_fail
; 
23013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23015             wxDateSpan 
&_result_ref 
= (arg1
)->SetWeeks(arg2
); 
23016             result 
= (wxDateSpan 
*) &_result_ref
; 
23019         wxPyEndAllowThreads(__tstate
); 
23020         if (PyErr_Occurred()) SWIG_fail
; 
23022     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23029 static PyObject 
*_wrap_DateSpan_SetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23030     PyObject 
*resultobj
; 
23031     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23033     wxDateSpan 
*result
; 
23034     PyObject 
* obj0 
= 0 ; 
23035     PyObject 
* obj1 
= 0 ; 
23036     char *kwnames
[] = { 
23037         (char *) "self",(char *) "n", NULL 
 
23040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
; 
23041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23043     arg2 
= (int) SWIG_AsInt(obj1
);  
23044     if (PyErr_Occurred()) SWIG_fail
; 
23046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23048             wxDateSpan 
&_result_ref 
= (arg1
)->SetDays(arg2
); 
23049             result 
= (wxDateSpan 
*) &_result_ref
; 
23052         wxPyEndAllowThreads(__tstate
); 
23053         if (PyErr_Occurred()) SWIG_fail
; 
23055     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23062 static PyObject 
*_wrap_DateSpan_GetYears(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23063     PyObject 
*resultobj
; 
23064     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23066     PyObject 
* obj0 
= 0 ; 
23067     char *kwnames
[] = { 
23068         (char *) "self", NULL 
 
23071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
; 
23072     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23073     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23076         result 
= (int)((wxDateSpan 
const *)arg1
)->GetYears(); 
23078         wxPyEndAllowThreads(__tstate
); 
23079         if (PyErr_Occurred()) SWIG_fail
; 
23081     resultobj 
= SWIG_FromInt((int)result
); 
23088 static PyObject 
*_wrap_DateSpan_GetMonths(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23089     PyObject 
*resultobj
; 
23090     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23092     PyObject 
* obj0 
= 0 ; 
23093     char *kwnames
[] = { 
23094         (char *) "self", NULL 
 
23097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
; 
23098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23102         result 
= (int)((wxDateSpan 
const *)arg1
)->GetMonths(); 
23104         wxPyEndAllowThreads(__tstate
); 
23105         if (PyErr_Occurred()) SWIG_fail
; 
23107     resultobj 
= SWIG_FromInt((int)result
); 
23114 static PyObject 
*_wrap_DateSpan_GetWeeks(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23115     PyObject 
*resultobj
; 
23116     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23118     PyObject 
* obj0 
= 0 ; 
23119     char *kwnames
[] = { 
23120         (char *) "self", NULL 
 
23123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
; 
23124     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23125     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23128         result 
= (int)((wxDateSpan 
const *)arg1
)->GetWeeks(); 
23130         wxPyEndAllowThreads(__tstate
); 
23131         if (PyErr_Occurred()) SWIG_fail
; 
23133     resultobj 
= SWIG_FromInt((int)result
); 
23140 static PyObject 
*_wrap_DateSpan_GetDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23141     PyObject 
*resultobj
; 
23142     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23144     PyObject 
* obj0 
= 0 ; 
23145     char *kwnames
[] = { 
23146         (char *) "self", NULL 
 
23149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
; 
23150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23154         result 
= (int)((wxDateSpan 
const *)arg1
)->GetDays(); 
23156         wxPyEndAllowThreads(__tstate
); 
23157         if (PyErr_Occurred()) SWIG_fail
; 
23159     resultobj 
= SWIG_FromInt((int)result
); 
23166 static PyObject 
*_wrap_DateSpan_GetTotalDays(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23167     PyObject 
*resultobj
; 
23168     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23170     PyObject 
* obj0 
= 0 ; 
23171     char *kwnames
[] = { 
23172         (char *) "self", NULL 
 
23175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
; 
23176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23180         result 
= (int)((wxDateSpan 
const *)arg1
)->GetTotalDays(); 
23182         wxPyEndAllowThreads(__tstate
); 
23183         if (PyErr_Occurred()) SWIG_fail
; 
23185     resultobj 
= SWIG_FromInt((int)result
); 
23192 static PyObject 
*_wrap_DateSpan_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23193     PyObject 
*resultobj
; 
23194     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23195     wxDateSpan 
*arg2 
= 0 ; 
23196     wxDateSpan 
*result
; 
23197     PyObject 
* obj0 
= 0 ; 
23198     PyObject 
* obj1 
= 0 ; 
23199     char *kwnames
[] = { 
23200         (char *) "self",(char *) "other", NULL 
 
23203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
; 
23204     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23205     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23206     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23207     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23209     if (arg2 
== NULL
) { 
23210         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23216             wxDateSpan 
&_result_ref 
= (arg1
)->Add((wxDateSpan 
const &)*arg2
); 
23217             result 
= (wxDateSpan 
*) &_result_ref
; 
23220         wxPyEndAllowThreads(__tstate
); 
23221         if (PyErr_Occurred()) SWIG_fail
; 
23223     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23230 static PyObject 
*_wrap_DateSpan_Subtract(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23231     PyObject 
*resultobj
; 
23232     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23233     wxDateSpan 
*arg2 
= 0 ; 
23234     wxDateSpan 
*result
; 
23235     PyObject 
* obj0 
= 0 ; 
23236     PyObject 
* obj1 
= 0 ; 
23237     char *kwnames
[] = { 
23238         (char *) "self",(char *) "other", NULL 
 
23241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
; 
23242     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23243     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23244     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23245     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23247     if (arg2 
== NULL
) { 
23248         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23254             wxDateSpan 
&_result_ref 
= (arg1
)->Subtract((wxDateSpan 
const &)*arg2
); 
23255             result 
= (wxDateSpan 
*) &_result_ref
; 
23258         wxPyEndAllowThreads(__tstate
); 
23259         if (PyErr_Occurred()) SWIG_fail
; 
23261     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23268 static PyObject 
*_wrap_DateSpan_Neg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23269     PyObject 
*resultobj
; 
23270     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23271     wxDateSpan 
*result
; 
23272     PyObject 
* obj0 
= 0 ; 
23273     char *kwnames
[] = { 
23274         (char *) "self", NULL 
 
23277     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
; 
23278     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23279     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23281         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23283             wxDateSpan 
&_result_ref 
= (arg1
)->Neg(); 
23284             result 
= (wxDateSpan 
*) &_result_ref
; 
23287         wxPyEndAllowThreads(__tstate
); 
23288         if (PyErr_Occurred()) SWIG_fail
; 
23290     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23297 static PyObject 
*_wrap_DateSpan_Multiply(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23298     PyObject 
*resultobj
; 
23299     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23301     wxDateSpan 
*result
; 
23302     PyObject 
* obj0 
= 0 ; 
23303     PyObject 
* obj1 
= 0 ; 
23304     char *kwnames
[] = { 
23305         (char *) "self",(char *) "factor", NULL 
 
23308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
; 
23309     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23310     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23311     arg2 
= (int) SWIG_AsInt(obj1
);  
23312     if (PyErr_Occurred()) SWIG_fail
; 
23314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23316             wxDateSpan 
&_result_ref 
= (arg1
)->Multiply(arg2
); 
23317             result 
= (wxDateSpan 
*) &_result_ref
; 
23320         wxPyEndAllowThreads(__tstate
); 
23321         if (PyErr_Occurred()) SWIG_fail
; 
23323     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23330 static PyObject 
*_wrap_DateSpan___iadd__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23331     PyObject 
*resultobj
; 
23332     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23333     wxDateSpan 
*arg2 
= 0 ; 
23334     wxDateSpan 
*result
; 
23335     PyObject 
* obj0 
= 0 ; 
23336     PyObject 
* obj1 
= 0 ; 
23337     char *kwnames
[] = { 
23338         (char *) "self",(char *) "other", NULL 
 
23341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23342     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23343     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23344     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23345     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23347     if (arg2 
== NULL
) { 
23348         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23354             wxDateSpan 
&_result_ref 
= (arg1
)->operator +=((wxDateSpan 
const &)*arg2
); 
23355             result 
= (wxDateSpan 
*) &_result_ref
; 
23358         wxPyEndAllowThreads(__tstate
); 
23359         if (PyErr_Occurred()) SWIG_fail
; 
23361     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23368 static PyObject 
*_wrap_DateSpan___isub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23369     PyObject 
*resultobj
; 
23370     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23371     wxDateSpan 
*arg2 
= 0 ; 
23372     wxDateSpan 
*result
; 
23373     PyObject 
* obj0 
= 0 ; 
23374     PyObject 
* obj1 
= 0 ; 
23375     char *kwnames
[] = { 
23376         (char *) "self",(char *) "other", NULL 
 
23379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23380     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23381     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23382     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23383     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23385     if (arg2 
== NULL
) { 
23386         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23392             wxDateSpan 
&_result_ref 
= (arg1
)->operator -=((wxDateSpan 
const &)*arg2
); 
23393             result 
= (wxDateSpan 
*) &_result_ref
; 
23396         wxPyEndAllowThreads(__tstate
); 
23397         if (PyErr_Occurred()) SWIG_fail
; 
23399     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23406 static PyObject 
*_wrap_DateSpan___neg__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23407     PyObject 
*resultobj
; 
23408     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23409     wxDateSpan 
*result
; 
23410     PyObject 
* obj0 
= 0 ; 
23411     char *kwnames
[] = { 
23412         (char *) "self", NULL 
 
23415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
; 
23416     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23417     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23419         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23421             wxDateSpan 
&_result_ref 
= (arg1
)->operator -(); 
23422             result 
= (wxDateSpan 
*) &_result_ref
; 
23425         wxPyEndAllowThreads(__tstate
); 
23426         if (PyErr_Occurred()) SWIG_fail
; 
23428     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23435 static PyObject 
*_wrap_DateSpan___imul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23436     PyObject 
*resultobj
; 
23437     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23439     wxDateSpan 
*result
; 
23440     PyObject 
* obj0 
= 0 ; 
23441     PyObject 
* obj1 
= 0 ; 
23442     char *kwnames
[] = { 
23443         (char *) "self",(char *) "factor", NULL 
 
23446     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23447     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23448     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23449     arg2 
= (int) SWIG_AsInt(obj1
);  
23450     if (PyErr_Occurred()) SWIG_fail
; 
23452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23454             wxDateSpan 
&_result_ref 
= (arg1
)->operator *=(arg2
); 
23455             result 
= (wxDateSpan 
*) &_result_ref
; 
23458         wxPyEndAllowThreads(__tstate
); 
23459         if (PyErr_Occurred()) SWIG_fail
; 
23461     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0); 
23468 static PyObject 
*_wrap_DateSpan___add__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23469     PyObject 
*resultobj
; 
23470     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23471     wxDateSpan 
*arg2 
= 0 ; 
23473     PyObject 
* obj0 
= 0 ; 
23474     PyObject 
* obj1 
= 0 ; 
23475     char *kwnames
[] = { 
23476         (char *) "self",(char *) "other", NULL 
 
23479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23480     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23481     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23482     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23483     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23485     if (arg2 
== NULL
) { 
23486         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23491         result 
= wxDateSpan___add__(arg1
,(wxDateSpan 
const &)*arg2
); 
23493         wxPyEndAllowThreads(__tstate
); 
23494         if (PyErr_Occurred()) SWIG_fail
; 
23497         wxDateSpan 
* resultptr
; 
23498         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23499         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23507 static PyObject 
*_wrap_DateSpan___sub__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23508     PyObject 
*resultobj
; 
23509     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23510     wxDateSpan 
*arg2 
= 0 ; 
23512     PyObject 
* obj0 
= 0 ; 
23513     PyObject 
* obj1 
= 0 ; 
23514     char *kwnames
[] = { 
23515         (char *) "self",(char *) "other", NULL 
 
23518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23519     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23520     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23521     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23522     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23524     if (arg2 
== NULL
) { 
23525         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23530         result 
= wxDateSpan___sub__(arg1
,(wxDateSpan 
const &)*arg2
); 
23532         wxPyEndAllowThreads(__tstate
); 
23533         if (PyErr_Occurred()) SWIG_fail
; 
23536         wxDateSpan 
* resultptr
; 
23537         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23538         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23546 static PyObject 
*_wrap_DateSpan___mul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23547     PyObject 
*resultobj
; 
23548     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23551     PyObject 
* obj0 
= 0 ; 
23552     PyObject 
* obj1 
= 0 ; 
23553     char *kwnames
[] = { 
23554         (char *) "self",(char *) "n", NULL 
 
23557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23558     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23559     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23560     arg2 
= (int) SWIG_AsInt(obj1
);  
23561     if (PyErr_Occurred()) SWIG_fail
; 
23563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23564         result 
= wxDateSpan___mul__(arg1
,arg2
); 
23566         wxPyEndAllowThreads(__tstate
); 
23567         if (PyErr_Occurred()) SWIG_fail
; 
23570         wxDateSpan 
* resultptr
; 
23571         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23572         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23580 static PyObject 
*_wrap_DateSpan___rmul__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23581     PyObject 
*resultobj
; 
23582     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23585     PyObject 
* obj0 
= 0 ; 
23586     PyObject 
* obj1 
= 0 ; 
23587     char *kwnames
[] = { 
23588         (char *) "self",(char *) "n", NULL 
 
23591     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23592     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23593     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23594     arg2 
= (int) SWIG_AsInt(obj1
);  
23595     if (PyErr_Occurred()) SWIG_fail
; 
23597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23598         result 
= wxDateSpan___rmul__(arg1
,arg2
); 
23600         wxPyEndAllowThreads(__tstate
); 
23601         if (PyErr_Occurred()) SWIG_fail
; 
23604         wxDateSpan 
* resultptr
; 
23605         resultptr 
= new wxDateSpan((wxDateSpan 
&) result
); 
23606         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1); 
23614 static PyObject 
*_wrap_DateSpan___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23615     PyObject 
*resultobj
; 
23616     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23617     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
23619     PyObject 
* obj0 
= 0 ; 
23620     PyObject 
* obj1 
= 0 ; 
23621     char *kwnames
[] = { 
23622         (char *) "self",(char *) "other", NULL 
 
23625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23626     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23627     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23628     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23629     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23632         result 
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan 
const *)arg2
); 
23634         wxPyEndAllowThreads(__tstate
); 
23635         if (PyErr_Occurred()) SWIG_fail
; 
23638         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23646 static PyObject 
*_wrap_DateSpan___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23647     PyObject 
*resultobj
; 
23648     wxDateSpan 
*arg1 
= (wxDateSpan 
*) 0 ; 
23649     wxDateSpan 
*arg2 
= (wxDateSpan 
*) 0 ; 
23651     PyObject 
* obj0 
= 0 ; 
23652     PyObject 
* obj1 
= 0 ; 
23653     char *kwnames
[] = { 
23654         (char *) "self",(char *) "other", NULL 
 
23657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
23658     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
, 
23659     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23660     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
, 
23661     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23664         result 
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan 
const *)arg2
); 
23666         wxPyEndAllowThreads(__tstate
); 
23667         if (PyErr_Occurred()) SWIG_fail
; 
23670         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23678 static PyObject 
* DateSpan_swigregister(PyObject 
*self
, PyObject 
*args
) { 
23680     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23681     SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
); 
23683     return Py_BuildValue((char *)""); 
23685 static PyObject 
*_wrap_GetLocalTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23686     PyObject 
*resultobj
; 
23688     char *kwnames
[] = { 
23692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
; 
23694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23695         result 
= (long)wxGetLocalTime(); 
23697         wxPyEndAllowThreads(__tstate
); 
23698         if (PyErr_Occurred()) SWIG_fail
; 
23700     resultobj 
= SWIG_FromLong((long)result
); 
23707 static PyObject 
*_wrap_GetUTCTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23708     PyObject 
*resultobj
; 
23710     char *kwnames
[] = { 
23714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
; 
23716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23717         result 
= (long)wxGetUTCTime(); 
23719         wxPyEndAllowThreads(__tstate
); 
23720         if (PyErr_Occurred()) SWIG_fail
; 
23722     resultobj 
= SWIG_FromLong((long)result
); 
23729 static PyObject 
*_wrap_GetCurrentTime(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23730     PyObject 
*resultobj
; 
23732     char *kwnames
[] = { 
23736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
; 
23738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23739         result 
= (long)wxGetCurrentTime(); 
23741         wxPyEndAllowThreads(__tstate
); 
23742         if (PyErr_Occurred()) SWIG_fail
; 
23744     resultobj 
= SWIG_FromLong((long)result
); 
23751 static PyObject 
*_wrap_GetLocalTimeMillis(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23752     PyObject 
*resultobj
; 
23754     char *kwnames
[] = { 
23758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
; 
23760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23761         result 
= wxGetLocalTimeMillis(); 
23763         wxPyEndAllowThreads(__tstate
); 
23764         if (PyErr_Occurred()) SWIG_fail
; 
23767         PyObject 
*hi
, *lo
, *shifter
, *shifted
; 
23768         hi 
= PyLong_FromLong( (&result
)->GetHi() ); 
23769         lo 
= PyLong_FromLong( (&result
)->GetLo() ); 
23770         shifter 
= PyLong_FromLong(32); 
23771         shifted 
= PyNumber_Lshift(hi
, shifter
); 
23772         resultobj 
= PyNumber_Or(shifted
, lo
); 
23775         Py_DECREF(shifter
); 
23776         Py_DECREF(shifted
); 
23784 static int _wrap_DefaultDateTime_set(PyObject 
*_val
) { 
23785     PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only."); 
23790 static PyObject 
*_wrap_DefaultDateTime_get() { 
23793     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0); 
23798 static PyObject 
*_wrap_new_DataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23799     PyObject 
*resultobj
; 
23801     wxDataFormat 
*result
; 
23802     PyObject 
* obj0 
= 0 ; 
23803     char *kwnames
[] = { 
23804         (char *) "type", NULL 
 
23807     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
; 
23808     arg1 
= (wxDataFormatId
) SWIG_AsInt(obj0
);  
23809     if (PyErr_Occurred()) SWIG_fail
; 
23811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23812         result 
= (wxDataFormat 
*)new wxDataFormat((wxDataFormatId 
)arg1
); 
23814         wxPyEndAllowThreads(__tstate
); 
23815         if (PyErr_Occurred()) SWIG_fail
; 
23817     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
23824 static PyObject 
*_wrap_new_CustomDataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23825     PyObject 
*resultobj
; 
23826     wxString 
*arg1 
= 0 ; 
23827     wxDataFormat 
*result
; 
23828     bool temp1 
= False 
; 
23829     PyObject 
* obj0 
= 0 ; 
23830     char *kwnames
[] = { 
23831         (char *) "format", NULL 
 
23834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
; 
23836         arg1 
= wxString_in_helper(obj0
); 
23837         if (arg1 
== NULL
) SWIG_fail
; 
23841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23842         result 
= (wxDataFormat 
*)new wxDataFormat((wxString 
const &)*arg1
); 
23844         wxPyEndAllowThreads(__tstate
); 
23845         if (PyErr_Occurred()) SWIG_fail
; 
23847     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1); 
23862 static PyObject 
*_wrap_delete_DataFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
23863     PyObject 
*resultobj
; 
23864     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23865     PyObject 
* obj0 
= 0 ; 
23866     char *kwnames
[] = { 
23867         (char *) "self", NULL 
 
23870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
; 
23871     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23872     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23877         wxPyEndAllowThreads(__tstate
); 
23878         if (PyErr_Occurred()) SWIG_fail
; 
23880     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23887 static PyObject 
*_wrap_DataFormat___eq____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
23888     PyObject 
*resultobj
; 
23889     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23892     PyObject 
* obj0 
= 0 ; 
23893     PyObject 
* obj1 
= 0 ; 
23895     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
23896     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23897     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23898     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
23899     if (PyErr_Occurred()) SWIG_fail
; 
23901         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23902         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormatId 
)arg2
); 
23904         wxPyEndAllowThreads(__tstate
); 
23905         if (PyErr_Occurred()) SWIG_fail
; 
23908         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23916 static PyObject 
*_wrap_DataFormat___ne____SWIG_0(PyObject 
*self
, PyObject 
*args
) { 
23917     PyObject 
*resultobj
; 
23918     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23921     PyObject 
* obj0 
= 0 ; 
23922     PyObject 
* obj1 
= 0 ; 
23924     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
23925     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23926     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23927     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
23928     if (PyErr_Occurred()) SWIG_fail
; 
23930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23931         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormatId 
)arg2
); 
23933         wxPyEndAllowThreads(__tstate
); 
23934         if (PyErr_Occurred()) SWIG_fail
; 
23937         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23945 static PyObject 
*_wrap_DataFormat___eq____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
23946     PyObject 
*resultobj
; 
23947     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
23948     wxDataFormat 
*arg2 
= 0 ; 
23950     PyObject 
* obj0 
= 0 ; 
23951     PyObject 
* obj1 
= 0 ; 
23953     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
; 
23954     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
23955     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
23956     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
23957     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
23959     if (arg2 
== NULL
) { 
23960         PyErr_SetString(PyExc_TypeError
,"null reference"); 
23964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23965         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator ==((wxDataFormat 
const &)*arg2
); 
23967         wxPyEndAllowThreads(__tstate
); 
23968         if (PyErr_Occurred()) SWIG_fail
; 
23971         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23979 static PyObject 
*_wrap_DataFormat___eq__(PyObject 
*self
, PyObject 
*args
) { 
23984     argc 
= PyObject_Length(args
); 
23985     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
23986         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
23992             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24002                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24010                 return _wrap_DataFormat___eq____SWIG_1(self
,args
); 
24018             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24026             _v 
= SWIG_CheckInt(argv
[1]); 
24028                 return _wrap_DataFormat___eq____SWIG_0(self
,args
); 
24033     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'"); 
24038 static PyObject 
*_wrap_DataFormat___ne____SWIG_1(PyObject 
*self
, PyObject 
*args
) { 
24039     PyObject 
*resultobj
; 
24040     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24041     wxDataFormat 
*arg2 
= 0 ; 
24043     PyObject 
* obj0 
= 0 ; 
24044     PyObject 
* obj1 
= 0 ; 
24046     if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
; 
24047     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24048     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24049     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24050     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24052     if (arg2 
== NULL
) { 
24053         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24057         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24058         result 
= (bool)((wxDataFormat 
const *)arg1
)->operator !=((wxDataFormat 
const &)*arg2
); 
24060         wxPyEndAllowThreads(__tstate
); 
24061         if (PyErr_Occurred()) SWIG_fail
; 
24064         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24072 static PyObject 
*_wrap_DataFormat___ne__(PyObject 
*self
, PyObject 
*args
) { 
24077     argc 
= PyObject_Length(args
); 
24078     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
24079         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
24085             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24095                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24103                 return _wrap_DataFormat___ne____SWIG_1(self
,args
); 
24111             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) { 
24119             _v 
= SWIG_CheckInt(argv
[1]); 
24121                 return _wrap_DataFormat___ne____SWIG_0(self
,args
); 
24126     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'"); 
24131 static PyObject 
*_wrap_DataFormat_SetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24132     PyObject 
*resultobj
; 
24133     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24135     PyObject 
* obj0 
= 0 ; 
24136     PyObject 
* obj1 
= 0 ; 
24137     char *kwnames
[] = { 
24138         (char *) "self",(char *) "format", NULL 
 
24141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
; 
24142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24144     arg2 
= (wxDataFormatId
) SWIG_AsInt(obj1
);  
24145     if (PyErr_Occurred()) SWIG_fail
; 
24147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24148         (arg1
)->SetType((wxDataFormatId 
)arg2
); 
24150         wxPyEndAllowThreads(__tstate
); 
24151         if (PyErr_Occurred()) SWIG_fail
; 
24153     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24160 static PyObject 
*_wrap_DataFormat_GetType(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24161     PyObject 
*resultobj
; 
24162     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24164     PyObject 
* obj0 
= 0 ; 
24165     char *kwnames
[] = { 
24166         (char *) "self", NULL 
 
24169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
; 
24170     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24171     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24174         result 
= (int)((wxDataFormat 
const *)arg1
)->GetType(); 
24176         wxPyEndAllowThreads(__tstate
); 
24177         if (PyErr_Occurred()) SWIG_fail
; 
24179     resultobj 
= SWIG_FromInt((int)result
); 
24186 static PyObject 
*_wrap_DataFormat_GetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24187     PyObject 
*resultobj
; 
24188     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24190     PyObject 
* obj0 
= 0 ; 
24191     char *kwnames
[] = { 
24192         (char *) "self", NULL 
 
24195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
; 
24196     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24197     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24200         result 
= ((wxDataFormat 
const *)arg1
)->GetId(); 
24202         wxPyEndAllowThreads(__tstate
); 
24203         if (PyErr_Occurred()) SWIG_fail
; 
24207         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24209         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24218 static PyObject 
*_wrap_DataFormat_SetId(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24219     PyObject 
*resultobj
; 
24220     wxDataFormat 
*arg1 
= (wxDataFormat 
*) 0 ; 
24221     wxString 
*arg2 
= 0 ; 
24222     bool temp2 
= False 
; 
24223     PyObject 
* obj0 
= 0 ; 
24224     PyObject 
* obj1 
= 0 ; 
24225     char *kwnames
[] = { 
24226         (char *) "self",(char *) "format", NULL 
 
24229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
24230     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24231     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24233         arg2 
= wxString_in_helper(obj1
); 
24234         if (arg2 
== NULL
) SWIG_fail
; 
24238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24239         (arg1
)->SetId((wxString 
const &)*arg2
); 
24241         wxPyEndAllowThreads(__tstate
); 
24242         if (PyErr_Occurred()) SWIG_fail
; 
24244     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24259 static PyObject 
* DataFormat_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24261     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24262     SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
); 
24264     return Py_BuildValue((char *)""); 
24266 static int _wrap_FormatInvalid_set(PyObject 
*_val
) { 
24267     PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only."); 
24272 static PyObject 
*_wrap_FormatInvalid_get() { 
24275     pyobj 
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0); 
24280 static PyObject 
*_wrap_delete_DataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24281     PyObject 
*resultobj
; 
24282     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24283     PyObject 
* obj0 
= 0 ; 
24284     char *kwnames
[] = { 
24285         (char *) "self", NULL 
 
24288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
; 
24289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24292         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24295         wxPyEndAllowThreads(__tstate
); 
24296         if (PyErr_Occurred()) SWIG_fail
; 
24298     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24305 static PyObject 
*_wrap_DataObject_GetPreferredFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24306     PyObject 
*resultobj
; 
24307     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24308     int arg2 
= (int) wxDataObject::Get 
; 
24309     SwigValueWrapper
< wxDataFormat 
> result
; 
24310     PyObject 
* obj0 
= 0 ; 
24311     PyObject 
* obj1 
= 0 ; 
24312     char *kwnames
[] = { 
24313         (char *) "self",(char *) "dir", NULL 
 
24316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
24317     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24318     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24320         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24321         if (PyErr_Occurred()) SWIG_fail
; 
24324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24325         result 
= ((wxDataObject 
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction 
)arg2
); 
24327         wxPyEndAllowThreads(__tstate
); 
24328         if (PyErr_Occurred()) SWIG_fail
; 
24331         wxDataFormat 
* resultptr
; 
24332         resultptr 
= new wxDataFormat((wxDataFormat 
&) result
); 
24333         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1); 
24341 static PyObject 
*_wrap_DataObject_GetFormatCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24342     PyObject 
*resultobj
; 
24343     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24344     int arg2 
= (int) wxDataObject::Get 
; 
24346     PyObject 
* obj0 
= 0 ; 
24347     PyObject 
* obj1 
= 0 ; 
24348     char *kwnames
[] = { 
24349         (char *) "self",(char *) "dir", NULL 
 
24352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
24353     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24354     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24356         arg2 
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);  
24357         if (PyErr_Occurred()) SWIG_fail
; 
24360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24361         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetFormatCount((wxDataObject::Direction 
)arg2
); 
24363         wxPyEndAllowThreads(__tstate
); 
24364         if (PyErr_Occurred()) SWIG_fail
; 
24366     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24373 static PyObject 
*_wrap_DataObject_IsSupported(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24374     PyObject 
*resultobj
; 
24375     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24376     wxDataFormat 
*arg2 
= 0 ; 
24377     int arg3 
= (int) wxDataObject::Get 
; 
24379     PyObject 
* obj0 
= 0 ; 
24380     PyObject 
* obj1 
= 0 ; 
24381     PyObject 
* obj2 
= 0 ; 
24382     char *kwnames
[] = { 
24383         (char *) "self",(char *) "format",(char *) "dir", NULL 
 
24386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24387     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24388     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24389     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24390     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24392     if (arg2 
== NULL
) { 
24393         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24397         arg3 
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);  
24398         if (PyErr_Occurred()) SWIG_fail
; 
24401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24402         result 
= (bool)((wxDataObject 
const *)arg1
)->IsSupported((wxDataFormat 
const &)*arg2
,(wxDataObject::Direction 
)arg3
); 
24404         wxPyEndAllowThreads(__tstate
); 
24405         if (PyErr_Occurred()) SWIG_fail
; 
24408         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24416 static PyObject 
*_wrap_DataObject_GetDataSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24417     PyObject 
*resultobj
; 
24418     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24419     wxDataFormat 
*arg2 
= 0 ; 
24421     PyObject 
* obj0 
= 0 ; 
24422     PyObject 
* obj1 
= 0 ; 
24423     char *kwnames
[] = { 
24424         (char *) "self",(char *) "format", NULL 
 
24427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
24428     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24429     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24430     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24433     if (arg2 
== NULL
) { 
24434         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24439         result 
= (size_t)((wxDataObject 
const *)arg1
)->GetDataSize((wxDataFormat 
const &)*arg2
); 
24441         wxPyEndAllowThreads(__tstate
); 
24442         if (PyErr_Occurred()) SWIG_fail
; 
24444     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24451 static PyObject 
*_wrap_DataObject_GetAllFormats(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24452     PyObject 
*resultobj
; 
24453     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24454     wxDataFormat 
*arg2 
= (wxDataFormat 
*) 0 ; 
24455     int arg3 
= (int) wxDataObject::Get 
; 
24456     PyObject 
* obj0 
= 0 ; 
24457     PyObject 
* obj1 
= 0 ; 
24458     PyObject 
* obj2 
= 0 ; 
24459     char *kwnames
[] = { 
24460         (char *) "self",(char *) "formats",(char *) "dir", NULL 
 
24463     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24464     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24465     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24466     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24469         arg3 
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);  
24470         if (PyErr_Occurred()) SWIG_fail
; 
24473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24474         ((wxDataObject 
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction 
)arg3
); 
24476         wxPyEndAllowThreads(__tstate
); 
24477         if (PyErr_Occurred()) SWIG_fail
; 
24479     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24486 static PyObject 
*_wrap_DataObject_GetDataHere(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24487     PyObject 
*resultobj
; 
24488     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24489     wxDataFormat 
*arg2 
= 0 ; 
24490     void *arg3 
= (void *) 0 ; 
24492     PyObject 
* obj0 
= 0 ; 
24493     PyObject 
* obj1 
= 0 ; 
24494     PyObject 
* obj2 
= 0 ; 
24495     char *kwnames
[] = { 
24496         (char *) "self",(char *) "format",(char *) "buf", NULL 
 
24499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24500     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24501     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24502     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24505     if (arg2 
== NULL
) { 
24506         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24509     if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24512         result 
= (bool)((wxDataObject 
const *)arg1
)->GetDataHere((wxDataFormat 
const &)*arg2
,arg3
); 
24514         wxPyEndAllowThreads(__tstate
); 
24515         if (PyErr_Occurred()) SWIG_fail
; 
24518         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24526 static PyObject 
*_wrap_DataObject_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24527     PyObject 
*resultobj
; 
24528     wxDataObject 
*arg1 
= (wxDataObject 
*) 0 ; 
24529     wxDataFormat 
*arg2 
= 0 ; 
24531     void *arg4 
= (void *) 0 ; 
24533     PyObject 
* obj0 
= 0 ; 
24534     PyObject 
* obj1 
= 0 ; 
24535     PyObject 
* obj2 
= 0 ; 
24536     PyObject 
* obj3 
= 0 ; 
24537     char *kwnames
[] = { 
24538         (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL 
 
24541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
24542     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
24543     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24544     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24545     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24547     if (arg2 
== NULL
) { 
24548         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24551     arg3 
= (size_t) SWIG_AsUnsignedLong(obj2
);  
24552     if (PyErr_Occurred()) SWIG_fail
; 
24553     if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24555         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24556         result 
= (bool)(arg1
)->SetData((wxDataFormat 
const &)*arg2
,arg3
,(void const *)arg4
); 
24558         wxPyEndAllowThreads(__tstate
); 
24559         if (PyErr_Occurred()) SWIG_fail
; 
24562         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24570 static PyObject 
* DataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24572     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24573     SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
); 
24575     return Py_BuildValue((char *)""); 
24577 static PyObject 
*_wrap_new_DataObjectSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24578     PyObject 
*resultobj
; 
24579     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
24580     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
24581     wxDataObjectSimple 
*result
; 
24582     PyObject 
* obj0 
= 0 ; 
24583     char *kwnames
[] = { 
24584         (char *) "format", NULL 
 
24587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
; 
24589         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24590         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24592         if (arg1 
== NULL
) { 
24593             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24599         result 
= (wxDataObjectSimple 
*)new wxDataObjectSimple((wxDataFormat 
const &)*arg1
); 
24601         wxPyEndAllowThreads(__tstate
); 
24602         if (PyErr_Occurred()) SWIG_fail
; 
24604     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1); 
24611 static PyObject 
*_wrap_DataObjectSimple_GetFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24612     PyObject 
*resultobj
; 
24613     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24614     wxDataFormat 
*result
; 
24615     PyObject 
* obj0 
= 0 ; 
24616     char *kwnames
[] = { 
24617         (char *) "self", NULL 
 
24620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
; 
24621     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24622     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24626             wxDataFormat 
const &_result_ref 
= (arg1
)->GetFormat(); 
24627             result 
= (wxDataFormat 
*) &_result_ref
; 
24630         wxPyEndAllowThreads(__tstate
); 
24631         if (PyErr_Occurred()) SWIG_fail
; 
24633     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0); 
24640 static PyObject 
*_wrap_DataObjectSimple_SetFormat(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24641     PyObject 
*resultobj
; 
24642     wxDataObjectSimple 
*arg1 
= (wxDataObjectSimple 
*) 0 ; 
24643     wxDataFormat 
*arg2 
= 0 ; 
24644     PyObject 
* obj0 
= 0 ; 
24645     PyObject 
* obj1 
= 0 ; 
24646     char *kwnames
[] = { 
24647         (char *) "self",(char *) "format", NULL 
 
24650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
; 
24651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
, 
24652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24653     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
24654     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24656     if (arg2 
== NULL
) { 
24657         PyErr_SetString(PyExc_TypeError
,"null reference"); 
24661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24662         (arg1
)->SetFormat((wxDataFormat 
const &)*arg2
); 
24664         wxPyEndAllowThreads(__tstate
); 
24665         if (PyErr_Occurred()) SWIG_fail
; 
24667     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24674 static PyObject 
* DataObjectSimple_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24676     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24677     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
); 
24679     return Py_BuildValue((char *)""); 
24681 static PyObject 
*_wrap_new_PyDataObjectSimple(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24682     PyObject 
*resultobj
; 
24683     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
24684     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
24685     wxPyDataObjectSimple 
*result
; 
24686     PyObject 
* obj0 
= 0 ; 
24687     char *kwnames
[] = { 
24688         (char *) "format", NULL 
 
24691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
; 
24693         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
24694         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
24696         if (arg1 
== NULL
) { 
24697             PyErr_SetString(PyExc_TypeError
,"null reference"); 
24702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24703         result 
= (wxPyDataObjectSimple 
*)new wxPyDataObjectSimple((wxDataFormat 
const &)*arg1
); 
24705         wxPyEndAllowThreads(__tstate
); 
24706         if (PyErr_Occurred()) SWIG_fail
; 
24708     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1); 
24715 static PyObject 
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24716     PyObject 
*resultobj
; 
24717     wxPyDataObjectSimple 
*arg1 
= (wxPyDataObjectSimple 
*) 0 ; 
24718     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24719     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24720     PyObject 
* obj0 
= 0 ; 
24721     PyObject 
* obj1 
= 0 ; 
24722     PyObject 
* obj2 
= 0 ; 
24723     char *kwnames
[] = { 
24724         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
24727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24728     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
, 
24729     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24734         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
24736         wxPyEndAllowThreads(__tstate
); 
24737         if (PyErr_Occurred()) SWIG_fail
; 
24739     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24746 static PyObject 
* PyDataObjectSimple_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24748     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24749     SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
); 
24751     return Py_BuildValue((char *)""); 
24753 static PyObject 
*_wrap_new_DataObjectComposite(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24754     PyObject 
*resultobj
; 
24755     wxDataObjectComposite 
*result
; 
24756     char *kwnames
[] = { 
24760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
; 
24762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24763         result 
= (wxDataObjectComposite 
*)new wxDataObjectComposite(); 
24765         wxPyEndAllowThreads(__tstate
); 
24766         if (PyErr_Occurred()) SWIG_fail
; 
24768     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1); 
24775 static PyObject 
*_wrap_DataObjectComposite_Add(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24776     PyObject 
*resultobj
; 
24777     wxDataObjectComposite 
*arg1 
= (wxDataObjectComposite 
*) 0 ; 
24778     wxDataObjectSimple 
*arg2 
= (wxDataObjectSimple 
*) 0 ; 
24779     int arg3 
= (int) False 
; 
24780     PyObject 
* obj0 
= 0 ; 
24781     PyObject 
* obj1 
= 0 ; 
24782     PyObject 
* obj2 
= 0 ; 
24783     char *kwnames
[] = { 
24784         (char *) "self",(char *) "dataObject",(char *) "preferred", NULL 
 
24787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24788     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
, 
24789     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24790     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
, 
24791     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
24793         arg3 
= (int) SWIG_AsInt(obj2
);  
24794         if (PyErr_Occurred()) SWIG_fail
; 
24797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24798         (arg1
)->Add(arg2
,arg3
); 
24800         wxPyEndAllowThreads(__tstate
); 
24801         if (PyErr_Occurred()) SWIG_fail
; 
24803     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24810 static PyObject 
* DataObjectComposite_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24812     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24813     SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
); 
24815     return Py_BuildValue((char *)""); 
24817 static PyObject 
*_wrap_new_TextDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24818     PyObject 
*resultobj
; 
24819     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
24820     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
24821     wxTextDataObject 
*result
; 
24822     bool temp1 
= False 
; 
24823     PyObject 
* obj0 
= 0 ; 
24824     char *kwnames
[] = { 
24825         (char *) "text", NULL 
 
24828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
; 
24831             arg1 
= wxString_in_helper(obj0
); 
24832             if (arg1 
== NULL
) SWIG_fail
; 
24837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24838         result 
= (wxTextDataObject 
*)new wxTextDataObject((wxString 
const &)*arg1
); 
24840         wxPyEndAllowThreads(__tstate
); 
24841         if (PyErr_Occurred()) SWIG_fail
; 
24843     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1); 
24858 static PyObject 
*_wrap_TextDataObject_GetTextLength(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24859     PyObject 
*resultobj
; 
24860     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
24862     PyObject 
* obj0 
= 0 ; 
24863     char *kwnames
[] = { 
24864         (char *) "self", NULL 
 
24867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
; 
24868     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
24869     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24871         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24872         result 
= (size_t)(arg1
)->GetTextLength(); 
24874         wxPyEndAllowThreads(__tstate
); 
24875         if (PyErr_Occurred()) SWIG_fail
; 
24877     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
24884 static PyObject 
*_wrap_TextDataObject_GetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24885     PyObject 
*resultobj
; 
24886     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
24888     PyObject 
* obj0 
= 0 ; 
24889     char *kwnames
[] = { 
24890         (char *) "self", NULL 
 
24893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
; 
24894     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
24895     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24898         result 
= (arg1
)->GetText(); 
24900         wxPyEndAllowThreads(__tstate
); 
24901         if (PyErr_Occurred()) SWIG_fail
; 
24905         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24907         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24916 static PyObject 
*_wrap_TextDataObject_SetText(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24917     PyObject 
*resultobj
; 
24918     wxTextDataObject 
*arg1 
= (wxTextDataObject 
*) 0 ; 
24919     wxString 
*arg2 
= 0 ; 
24920     bool temp2 
= False 
; 
24921     PyObject 
* obj0 
= 0 ; 
24922     PyObject 
* obj1 
= 0 ; 
24923     char *kwnames
[] = { 
24924         (char *) "self",(char *) "text", NULL 
 
24927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
24928     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
, 
24929     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
24931         arg2 
= wxString_in_helper(obj1
); 
24932         if (arg2 
== NULL
) SWIG_fail
; 
24936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24937         (arg1
)->SetText((wxString 
const &)*arg2
); 
24939         wxPyEndAllowThreads(__tstate
); 
24940         if (PyErr_Occurred()) SWIG_fail
; 
24942     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24957 static PyObject 
* TextDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
24959     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24960     SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
); 
24962     return Py_BuildValue((char *)""); 
24964 static PyObject 
*_wrap_new_PyTextDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
24965     PyObject 
*resultobj
; 
24966     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
24967     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
24968     wxPyTextDataObject 
*result
; 
24969     bool temp1 
= False 
; 
24970     PyObject 
* obj0 
= 0 ; 
24971     char *kwnames
[] = { 
24972         (char *) "text", NULL 
 
24975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
; 
24978             arg1 
= wxString_in_helper(obj0
); 
24979             if (arg1 
== NULL
) SWIG_fail
; 
24984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24985         result 
= (wxPyTextDataObject 
*)new wxPyTextDataObject((wxString 
const &)*arg1
); 
24987         wxPyEndAllowThreads(__tstate
); 
24988         if (PyErr_Occurred()) SWIG_fail
; 
24990     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1); 
25005 static PyObject 
*_wrap_PyTextDataObject__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25006     PyObject 
*resultobj
; 
25007     wxPyTextDataObject 
*arg1 
= (wxPyTextDataObject 
*) 0 ; 
25008     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25009     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25010     PyObject 
* obj0 
= 0 ; 
25011     PyObject 
* obj1 
= 0 ; 
25012     PyObject 
* obj2 
= 0 ; 
25013     char *kwnames
[] = { 
25014         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25018     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
, 
25019     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25024         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25026         wxPyEndAllowThreads(__tstate
); 
25027         if (PyErr_Occurred()) SWIG_fail
; 
25029     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25036 static PyObject 
* PyTextDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25038     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25039     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
); 
25041     return Py_BuildValue((char *)""); 
25043 static PyObject 
*_wrap_new_BitmapDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25044     PyObject 
*resultobj
; 
25045     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25046     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25047     wxBitmapDataObject 
*result
; 
25048     PyObject 
* obj0 
= 0 ; 
25049     char *kwnames
[] = { 
25050         (char *) "bitmap", NULL 
 
25053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25055         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25056         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25058         if (arg1 
== NULL
) { 
25059             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25064         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25065         result 
= (wxBitmapDataObject 
*)new wxBitmapDataObject((wxBitmap 
const &)*arg1
); 
25067         wxPyEndAllowThreads(__tstate
); 
25068         if (PyErr_Occurred()) SWIG_fail
; 
25070     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1); 
25077 static PyObject 
*_wrap_BitmapDataObject_GetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25078     PyObject 
*resultobj
; 
25079     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25081     PyObject 
* obj0 
= 0 ; 
25082     char *kwnames
[] = { 
25083         (char *) "self", NULL 
 
25086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
; 
25087     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25088     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25090         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25091         result 
= ((wxBitmapDataObject 
const *)arg1
)->GetBitmap(); 
25093         wxPyEndAllowThreads(__tstate
); 
25094         if (PyErr_Occurred()) SWIG_fail
; 
25097         wxBitmap 
* resultptr
; 
25098         resultptr 
= new wxBitmap((wxBitmap 
&) result
); 
25099         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
25107 static PyObject 
*_wrap_BitmapDataObject_SetBitmap(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25108     PyObject 
*resultobj
; 
25109     wxBitmapDataObject 
*arg1 
= (wxBitmapDataObject 
*) 0 ; 
25110     wxBitmap 
*arg2 
= 0 ; 
25111     PyObject 
* obj0 
= 0 ; 
25112     PyObject 
* obj1 
= 0 ; 
25113     char *kwnames
[] = { 
25114         (char *) "self",(char *) "bitmap", NULL 
 
25117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
25118     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
, 
25119     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25120     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
, 
25121     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25123     if (arg2 
== NULL
) { 
25124         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25129         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
25131         wxPyEndAllowThreads(__tstate
); 
25132         if (PyErr_Occurred()) SWIG_fail
; 
25134     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25141 static PyObject 
* BitmapDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25143     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25144     SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
); 
25146     return Py_BuildValue((char *)""); 
25148 static PyObject 
*_wrap_new_PyBitmapDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25149     PyObject 
*resultobj
; 
25150     wxBitmap 
const &arg1_defvalue 
= wxNullBitmap 
; 
25151     wxBitmap 
*arg1 
= (wxBitmap 
*) &arg1_defvalue 
; 
25152     wxPyBitmapDataObject 
*result
; 
25153     PyObject 
* obj0 
= 0 ; 
25154     char *kwnames
[] = { 
25155         (char *) "bitmap", NULL 
 
25158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
; 
25160         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
, 
25161         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25163         if (arg1 
== NULL
) { 
25164             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25170         result 
= (wxPyBitmapDataObject 
*)new wxPyBitmapDataObject((wxBitmap 
const &)*arg1
); 
25172         wxPyEndAllowThreads(__tstate
); 
25173         if (PyErr_Occurred()) SWIG_fail
; 
25175     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1); 
25182 static PyObject 
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25183     PyObject 
*resultobj
; 
25184     wxPyBitmapDataObject 
*arg1 
= (wxPyBitmapDataObject 
*) 0 ; 
25185     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25186     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25187     PyObject 
* obj0 
= 0 ; 
25188     PyObject 
* obj1 
= 0 ; 
25189     PyObject 
* obj2 
= 0 ; 
25190     char *kwnames
[] = { 
25191         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
25194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25195     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
, 
25196     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25201         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
25203         wxPyEndAllowThreads(__tstate
); 
25204         if (PyErr_Occurred()) SWIG_fail
; 
25206     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25213 static PyObject 
* PyBitmapDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25215     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25216     SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
); 
25218     return Py_BuildValue((char *)""); 
25220 static PyObject 
*_wrap_new_FileDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25221     PyObject 
*resultobj
; 
25222     wxFileDataObject 
*result
; 
25223     char *kwnames
[] = { 
25227     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
; 
25229         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25230         result 
= (wxFileDataObject 
*)new wxFileDataObject(); 
25232         wxPyEndAllowThreads(__tstate
); 
25233         if (PyErr_Occurred()) SWIG_fail
; 
25235     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1); 
25242 static PyObject 
*_wrap_FileDataObject_GetFilenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25243     PyObject 
*resultobj
; 
25244     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25245     wxArrayString 
*result
; 
25246     PyObject 
* obj0 
= 0 ; 
25247     char *kwnames
[] = { 
25248         (char *) "self", NULL 
 
25251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
; 
25252     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25253     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25257             wxArrayString 
const &_result_ref 
= (arg1
)->GetFilenames(); 
25258             result 
= (wxArrayString 
*) &_result_ref
; 
25261         wxPyEndAllowThreads(__tstate
); 
25262         if (PyErr_Occurred()) SWIG_fail
; 
25265         resultobj 
= wxArrayString2PyList_helper(*result
); 
25273 static PyObject 
*_wrap_FileDataObject_AddFile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25274     PyObject 
*resultobj
; 
25275     wxFileDataObject 
*arg1 
= (wxFileDataObject 
*) 0 ; 
25276     wxString 
*arg2 
= 0 ; 
25277     bool temp2 
= False 
; 
25278     PyObject 
* obj0 
= 0 ; 
25279     PyObject 
* obj1 
= 0 ; 
25280     char *kwnames
[] = { 
25281         (char *) "self",(char *) "filename", NULL 
 
25284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
25285     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
, 
25286     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25288         arg2 
= wxString_in_helper(obj1
); 
25289         if (arg2 
== NULL
) SWIG_fail
; 
25293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25294         (arg1
)->AddFile((wxString 
const &)*arg2
); 
25296         wxPyEndAllowThreads(__tstate
); 
25297         if (PyErr_Occurred()) SWIG_fail
; 
25299     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25314 static PyObject 
* FileDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25316     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25317     SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
); 
25319     return Py_BuildValue((char *)""); 
25321 static PyObject 
*_wrap_new_CustomDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25322     PyObject 
*resultobj
; 
25323     wxDataFormat 
const &arg1_defvalue 
= wxFormatInvalid 
; 
25324     wxDataFormat 
*arg1 
= (wxDataFormat 
*) &arg1_defvalue 
; 
25325     wxCustomDataObject 
*result
; 
25326     PyObject 
* obj0 
= 0 ; 
25327     char *kwnames
[] = { 
25328         (char *) "format", NULL 
 
25331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
; 
25333         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
, 
25334         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25336         if (arg1 
== NULL
) { 
25337             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25343         result 
= (wxCustomDataObject 
*)new wxCustomDataObject((wxDataFormat 
const &)*arg1
); 
25345         wxPyEndAllowThreads(__tstate
); 
25346         if (PyErr_Occurred()) SWIG_fail
; 
25348     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1); 
25355 static PyObject 
*_wrap_CustomDataObject_TakeData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25356     PyObject 
*resultobj
; 
25357     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25358     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25359     PyObject 
* obj0 
= 0 ; 
25360     PyObject 
* obj1 
= 0 ; 
25361     char *kwnames
[] = { 
25362         (char *) "self",(char *) "data", NULL 
 
25365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25366     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25367     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25371         wxCustomDataObject_TakeData(arg1
,arg2
); 
25373         wxPyEndAllowThreads(__tstate
); 
25374         if (PyErr_Occurred()) SWIG_fail
; 
25376     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25383 static PyObject 
*_wrap_CustomDataObject_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25384     PyObject 
*resultobj
; 
25385     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25386     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25388     PyObject 
* obj0 
= 0 ; 
25389     PyObject 
* obj1 
= 0 ; 
25390     char *kwnames
[] = { 
25391         (char *) "self",(char *) "data", NULL 
 
25394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25395     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25396     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25400         result 
= (bool)wxCustomDataObject_SetData(arg1
,arg2
); 
25402         wxPyEndAllowThreads(__tstate
); 
25403         if (PyErr_Occurred()) SWIG_fail
; 
25406         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25414 static PyObject 
*_wrap_CustomDataObject_GetSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25415     PyObject 
*resultobj
; 
25416     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25418     PyObject 
* obj0 
= 0 ; 
25419     char *kwnames
[] = { 
25420         (char *) "self", NULL 
 
25423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
; 
25424     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25425     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25428         result 
= (size_t)(arg1
)->GetSize(); 
25430         wxPyEndAllowThreads(__tstate
); 
25431         if (PyErr_Occurred()) SWIG_fail
; 
25433     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
25440 static PyObject 
*_wrap_CustomDataObject_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25441     PyObject 
*resultobj
; 
25442     wxCustomDataObject 
*arg1 
= (wxCustomDataObject 
*) 0 ; 
25444     PyObject 
* obj0 
= 0 ; 
25445     char *kwnames
[] = { 
25446         (char *) "self", NULL 
 
25449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
; 
25450     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
, 
25451     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25454         result 
= (PyObject 
*)wxCustomDataObject_GetData(arg1
); 
25456         wxPyEndAllowThreads(__tstate
); 
25457         if (PyErr_Occurred()) SWIG_fail
; 
25459     resultobj 
= result
; 
25466 static PyObject 
* CustomDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25468     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25469     SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
); 
25471     return Py_BuildValue((char *)""); 
25473 static PyObject 
*_wrap_new_URLDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25474     PyObject 
*resultobj
; 
25475     wxURLDataObject 
*result
; 
25476     char *kwnames
[] = { 
25480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
; 
25482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25483         result 
= (wxURLDataObject 
*)new wxURLDataObject(); 
25485         wxPyEndAllowThreads(__tstate
); 
25486         if (PyErr_Occurred()) SWIG_fail
; 
25488     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1); 
25495 static PyObject 
*_wrap_URLDataObject_GetURL(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25496     PyObject 
*resultobj
; 
25497     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
25499     PyObject 
* obj0 
= 0 ; 
25500     char *kwnames
[] = { 
25501         (char *) "self", NULL 
 
25504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
; 
25505     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
25506     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25509         result 
= (arg1
)->GetURL(); 
25511         wxPyEndAllowThreads(__tstate
); 
25512         if (PyErr_Occurred()) SWIG_fail
; 
25516         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25518         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25527 static PyObject 
*_wrap_URLDataObject_SetURL(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25528     PyObject 
*resultobj
; 
25529     wxURLDataObject 
*arg1 
= (wxURLDataObject 
*) 0 ; 
25530     wxString 
*arg2 
= 0 ; 
25531     bool temp2 
= False 
; 
25532     PyObject 
* obj0 
= 0 ; 
25533     PyObject 
* obj1 
= 0 ; 
25534     char *kwnames
[] = { 
25535         (char *) "self",(char *) "url", NULL 
 
25538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
; 
25539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
, 
25540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25542         arg2 
= wxString_in_helper(obj1
); 
25543         if (arg2 
== NULL
) SWIG_fail
; 
25547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25548         (arg1
)->SetURL((wxString 
const &)*arg2
); 
25550         wxPyEndAllowThreads(__tstate
); 
25551         if (PyErr_Occurred()) SWIG_fail
; 
25553     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25568 static PyObject 
* URLDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25570     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25571     SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
); 
25573     return Py_BuildValue((char *)""); 
25575 static PyObject 
*_wrap_new_MetafileDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25576     PyObject 
*resultobj
; 
25577     wxMetafileDataObject 
*result
; 
25578     char *kwnames
[] = { 
25582     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
; 
25584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25585         result 
= (wxMetafileDataObject 
*)new wxMetafileDataObject(); 
25587         wxPyEndAllowThreads(__tstate
); 
25588         if (PyErr_Occurred()) SWIG_fail
; 
25590     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1); 
25597 static PyObject 
*_wrap_MetafileDataObject_SetMetafile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25598     PyObject 
*resultobj
; 
25599     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
25600     wxMetafile 
*arg2 
= 0 ; 
25601     PyObject 
* obj0 
= 0 ; 
25602     PyObject 
* obj1 
= 0 ; 
25603     char *kwnames
[] = { 
25604         (char *) "self",(char *) "metafile", NULL 
 
25607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
; 
25608     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
25609     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25610     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
, 
25611     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25613     if (arg2 
== NULL
) { 
25614         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25619         (arg1
)->SetMetafile((wxMetafile 
const &)*arg2
); 
25621         wxPyEndAllowThreads(__tstate
); 
25622         if (PyErr_Occurred()) SWIG_fail
; 
25624     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25631 static PyObject 
*_wrap_MetafileDataObject_GetMetafile(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25632     PyObject 
*resultobj
; 
25633     wxMetafileDataObject 
*arg1 
= (wxMetafileDataObject 
*) 0 ; 
25635     PyObject 
* obj0 
= 0 ; 
25636     char *kwnames
[] = { 
25637         (char *) "self", NULL 
 
25640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
; 
25641     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
, 
25642     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25645         result 
= ((wxMetafileDataObject 
const *)arg1
)->GetMetafile(); 
25647         wxPyEndAllowThreads(__tstate
); 
25648         if (PyErr_Occurred()) SWIG_fail
; 
25651         wxMetafile 
* resultptr
; 
25652         resultptr 
= new wxMetafile((wxMetafile 
&) result
); 
25653         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1); 
25661 static PyObject 
* MetafileDataObject_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25663     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25664     SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
); 
25666     return Py_BuildValue((char *)""); 
25668 static PyObject 
*_wrap_IsDragResultOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25669     PyObject 
*resultobj
; 
25672     PyObject 
* obj0 
= 0 ; 
25673     char *kwnames
[] = { 
25674         (char *) "res", NULL 
 
25677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
; 
25678     arg1 
= (wxDragResult
) SWIG_AsInt(obj0
);  
25679     if (PyErr_Occurred()) SWIG_fail
; 
25681         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25682         result 
= (bool)wxIsDragResultOk((wxDragResult 
)arg1
); 
25684         wxPyEndAllowThreads(__tstate
); 
25685         if (PyErr_Occurred()) SWIG_fail
; 
25688         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25696 static PyObject 
*_wrap_new_DropSource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25697     PyObject 
*resultobj
; 
25698     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25699     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
25700     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
25701     wxCursor 
const &arg3_defvalue 
= wxNullCursor 
; 
25702     wxCursor 
*arg3 
= (wxCursor 
*) &arg3_defvalue 
; 
25703     wxCursor 
const &arg4_defvalue 
= wxNullCursor 
; 
25704     wxCursor 
*arg4 
= (wxCursor 
*) &arg4_defvalue 
; 
25705     wxPyDropSource 
*result
; 
25706     PyObject 
* obj0 
= 0 ; 
25707     PyObject 
* obj1 
= 0 ; 
25708     PyObject 
* obj2 
= 0 ; 
25709     PyObject 
* obj3 
= 0 ; 
25710     char *kwnames
[] = { 
25711         (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL 
 
25714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25715     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
25716     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25718         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
, 
25719         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25721         if (arg2 
== NULL
) { 
25722             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25727         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
25728         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25730         if (arg3 
== NULL
) { 
25731             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25736         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
, 
25737         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25739         if (arg4 
== NULL
) { 
25740             PyErr_SetString(PyExc_TypeError
,"null reference"); 
25745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25746         result 
= (wxPyDropSource 
*)new wxPyDropSource(arg1
,(wxCursor 
const &)*arg2
,(wxCursor 
const &)*arg3
,(wxCursor 
const &)*arg4
); 
25748         wxPyEndAllowThreads(__tstate
); 
25749         if (PyErr_Occurred()) SWIG_fail
; 
25751     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1); 
25758 static PyObject 
*_wrap_DropSource__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25759     PyObject 
*resultobj
; 
25760     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25761     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
25762     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
25764     PyObject 
* obj0 
= 0 ; 
25765     PyObject 
* obj1 
= 0 ; 
25766     PyObject 
* obj2 
= 0 ; 
25767     PyObject 
* obj3 
= 0 ; 
25768     char *kwnames
[] = { 
25769         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
25772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25773     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25774     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25777     arg4 
= (int) SWIG_AsInt(obj3
);  
25778     if (PyErr_Occurred()) SWIG_fail
; 
25780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25781         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
25783         wxPyEndAllowThreads(__tstate
); 
25784         if (PyErr_Occurred()) SWIG_fail
; 
25786     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25793 static PyObject 
*_wrap_delete_DropSource(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25794     PyObject 
*resultobj
; 
25795     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25796     PyObject 
* obj0 
= 0 ; 
25797     char *kwnames
[] = { 
25798         (char *) "self", NULL 
 
25801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
; 
25802     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25803     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25808         wxPyEndAllowThreads(__tstate
); 
25809         if (PyErr_Occurred()) SWIG_fail
; 
25811     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25818 static PyObject 
*_wrap_DropSource_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25819     PyObject 
*resultobj
; 
25820     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25821     wxDataObject 
*arg2 
= 0 ; 
25822     PyObject 
* obj0 
= 0 ; 
25823     PyObject 
* obj1 
= 0 ; 
25824     char *kwnames
[] = { 
25825         (char *) "self",(char *) "data", NULL 
 
25828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
25829     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25830     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25831     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
25832     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25834     if (arg2 
== NULL
) { 
25835         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25840         (arg1
)->SetData(*arg2
); 
25842         wxPyEndAllowThreads(__tstate
); 
25843         if (PyErr_Occurred()) SWIG_fail
; 
25845     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25852 static PyObject 
*_wrap_DropSource_GetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25853     PyObject 
*resultobj
; 
25854     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25855     wxDataObject 
*result
; 
25856     PyObject 
* obj0 
= 0 ; 
25857     char *kwnames
[] = { 
25858         (char *) "self", NULL 
 
25861     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
; 
25862     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25863     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25865         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25866         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
25868         wxPyEndAllowThreads(__tstate
); 
25869         if (PyErr_Occurred()) SWIG_fail
; 
25871     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
25878 static PyObject 
*_wrap_DropSource_SetCursor(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25879     PyObject 
*resultobj
; 
25880     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25882     wxCursor 
*arg3 
= 0 ; 
25883     PyObject 
* obj0 
= 0 ; 
25884     PyObject 
* obj1 
= 0 ; 
25885     PyObject 
* obj2 
= 0 ; 
25886     char *kwnames
[] = { 
25887         (char *) "self",(char *) "res",(char *) "cursor", NULL 
 
25890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25891     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25892     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25893     arg2 
= (wxDragResult
) SWIG_AsInt(obj1
);  
25894     if (PyErr_Occurred()) SWIG_fail
; 
25895     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
, 
25896     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
25898     if (arg3 
== NULL
) { 
25899         PyErr_SetString(PyExc_TypeError
,"null reference"); 
25903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25904         (arg1
)->SetCursor((wxDragResult 
)arg2
,(wxCursor 
const &)*arg3
); 
25906         wxPyEndAllowThreads(__tstate
); 
25907         if (PyErr_Occurred()) SWIG_fail
; 
25909     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25916 static PyObject 
*_wrap_DropSource_DoDragDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25917     PyObject 
*resultobj
; 
25918     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25919     int arg2 
= (int) wxDrag_CopyOnly 
; 
25921     PyObject 
* obj0 
= 0 ; 
25922     PyObject 
* obj1 
= 0 ; 
25923     char *kwnames
[] = { 
25924         (char *) "self",(char *) "flags", NULL 
 
25927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
; 
25928     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25929     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25931         arg2 
= (int) SWIG_AsInt(obj1
);  
25932         if (PyErr_Occurred()) SWIG_fail
; 
25935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25936         result 
= (int)(arg1
)->DoDragDrop(arg2
); 
25938         wxPyEndAllowThreads(__tstate
); 
25939         if (PyErr_Occurred()) SWIG_fail
; 
25941     resultobj 
= SWIG_FromInt((int)result
); 
25948 static PyObject 
*_wrap_DropSource_base_GiveFeedback(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25949     PyObject 
*resultobj
; 
25950     wxPyDropSource 
*arg1 
= (wxPyDropSource 
*) 0 ; 
25953     PyObject 
* obj0 
= 0 ; 
25954     PyObject 
* obj1 
= 0 ; 
25955     char *kwnames
[] = { 
25956         (char *) "self",(char *) "effect", NULL 
 
25959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
; 
25960     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
, 
25961     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
25962     arg2 
= (wxDragResult
) SWIG_AsInt(obj1
);  
25963     if (PyErr_Occurred()) SWIG_fail
; 
25965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25966         result 
= (bool)(arg1
)->base_GiveFeedback((wxDragResult 
)arg2
); 
25968         wxPyEndAllowThreads(__tstate
); 
25969         if (PyErr_Occurred()) SWIG_fail
; 
25972         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25980 static PyObject 
* DropSource_swigregister(PyObject 
*self
, PyObject 
*args
) { 
25982     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
25983     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
); 
25985     return Py_BuildValue((char *)""); 
25987 static PyObject 
*_wrap_new_DropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
25988     PyObject 
*resultobj
; 
25989     wxDataObject 
*arg1 
= (wxDataObject 
*) NULL 
; 
25990     wxPyDropTarget 
*result
; 
25991     PyObject 
* obj0 
= 0 ; 
25992     char *kwnames
[] = { 
25993         (char *) "dataObject", NULL 
 
25996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
; 
25998         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
, 
25999         SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26003         result 
= (wxPyDropTarget 
*)new wxPyDropTarget(arg1
); 
26005         wxPyEndAllowThreads(__tstate
); 
26006         if (PyErr_Occurred()) SWIG_fail
; 
26008     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1); 
26015 static PyObject 
*_wrap_DropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26016     PyObject 
*resultobj
; 
26017     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26018     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26019     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26020     PyObject 
* obj0 
= 0 ; 
26021     PyObject 
* obj1 
= 0 ; 
26022     PyObject 
* obj2 
= 0 ; 
26023     char *kwnames
[] = { 
26024         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26028     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26029     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26034         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26036         wxPyEndAllowThreads(__tstate
); 
26037         if (PyErr_Occurred()) SWIG_fail
; 
26039     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26046 static PyObject 
*_wrap_delete_DropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26047     PyObject 
*resultobj
; 
26048     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26049     PyObject 
* obj0 
= 0 ; 
26050     char *kwnames
[] = { 
26051         (char *) "self", NULL 
 
26054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
; 
26055     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26056     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26061         wxPyEndAllowThreads(__tstate
); 
26062         if (PyErr_Occurred()) SWIG_fail
; 
26064     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26071 static PyObject 
*_wrap_DropTarget_GetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26072     PyObject 
*resultobj
; 
26073     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26074     wxDataObject 
*result
; 
26075     PyObject 
* obj0 
= 0 ; 
26076     char *kwnames
[] = { 
26077         (char *) "self", NULL 
 
26080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
; 
26081     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26085         result 
= (wxDataObject 
*)(arg1
)->GetDataObject(); 
26087         wxPyEndAllowThreads(__tstate
); 
26088         if (PyErr_Occurred()) SWIG_fail
; 
26090     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0); 
26097 static PyObject 
*_wrap_DropTarget_SetDataObject(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26098     PyObject 
*resultobj
; 
26099     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26100     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26101     PyObject 
* obj0 
= 0 ; 
26102     PyObject 
* obj1 
= 0 ; 
26103     char *kwnames
[] = { 
26104         (char *) "self",(char *) "dataObject", NULL 
 
26107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
26108     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26109     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26110     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26111     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26114         (arg1
)->SetDataObject(arg2
); 
26116         wxPyEndAllowThreads(__tstate
); 
26117         if (PyErr_Occurred()) SWIG_fail
; 
26119     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26126 static PyObject 
*_wrap_DropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26127     PyObject 
*resultobj
; 
26128     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26133     PyObject 
* obj0 
= 0 ; 
26134     PyObject 
* obj1 
= 0 ; 
26135     PyObject 
* obj2 
= 0 ; 
26136     PyObject 
* obj3 
= 0 ; 
26137     char *kwnames
[] = { 
26138         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26142     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26143     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26144     arg2 
= (int) SWIG_AsInt(obj1
);  
26145     if (PyErr_Occurred()) SWIG_fail
; 
26146     arg3 
= (int) SWIG_AsInt(obj2
);  
26147     if (PyErr_Occurred()) SWIG_fail
; 
26148     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26149     if (PyErr_Occurred()) SWIG_fail
; 
26151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26152         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26154         wxPyEndAllowThreads(__tstate
); 
26155         if (PyErr_Occurred()) SWIG_fail
; 
26157     resultobj 
= SWIG_FromInt((int)result
); 
26164 static PyObject 
*_wrap_DropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26165     PyObject 
*resultobj
; 
26166     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26171     PyObject 
* obj0 
= 0 ; 
26172     PyObject 
* obj1 
= 0 ; 
26173     PyObject 
* obj2 
= 0 ; 
26174     PyObject 
* obj3 
= 0 ; 
26175     char *kwnames
[] = { 
26176         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26180     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26181     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26182     arg2 
= (int) SWIG_AsInt(obj1
);  
26183     if (PyErr_Occurred()) SWIG_fail
; 
26184     arg3 
= (int) SWIG_AsInt(obj2
);  
26185     if (PyErr_Occurred()) SWIG_fail
; 
26186     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26187     if (PyErr_Occurred()) SWIG_fail
; 
26189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26190         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26192         wxPyEndAllowThreads(__tstate
); 
26193         if (PyErr_Occurred()) SWIG_fail
; 
26195     resultobj 
= SWIG_FromInt((int)result
); 
26202 static PyObject 
*_wrap_DropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26203     PyObject 
*resultobj
; 
26204     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26205     PyObject 
* obj0 
= 0 ; 
26206     char *kwnames
[] = { 
26207         (char *) "self", NULL 
 
26210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26211     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26212     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26215         (arg1
)->base_OnLeave(); 
26217         wxPyEndAllowThreads(__tstate
); 
26218         if (PyErr_Occurred()) SWIG_fail
; 
26220     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26227 static PyObject 
*_wrap_DropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26228     PyObject 
*resultobj
; 
26229     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26233     PyObject 
* obj0 
= 0 ; 
26234     PyObject 
* obj1 
= 0 ; 
26235     PyObject 
* obj2 
= 0 ; 
26236     char *kwnames
[] = { 
26237         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26241     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26242     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26243     arg2 
= (int) SWIG_AsInt(obj1
);  
26244     if (PyErr_Occurred()) SWIG_fail
; 
26245     arg3 
= (int) SWIG_AsInt(obj2
);  
26246     if (PyErr_Occurred()) SWIG_fail
; 
26248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26249         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26251         wxPyEndAllowThreads(__tstate
); 
26252         if (PyErr_Occurred()) SWIG_fail
; 
26255         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26263 static PyObject 
*_wrap_DropTarget_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26264     PyObject 
*resultobj
; 
26265     wxPyDropTarget 
*arg1 
= (wxPyDropTarget 
*) 0 ; 
26267     PyObject 
* obj0 
= 0 ; 
26268     char *kwnames
[] = { 
26269         (char *) "self", NULL 
 
26272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
; 
26273     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
, 
26274     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26277         result 
= (bool)(arg1
)->GetData(); 
26279         wxPyEndAllowThreads(__tstate
); 
26280         if (PyErr_Occurred()) SWIG_fail
; 
26283         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26291 static PyObject 
* DropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26293     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26294     SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
); 
26296     return Py_BuildValue((char *)""); 
26298 static PyObject 
*_wrap_new_TextDropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26299     PyObject 
*resultobj
; 
26300     wxPyTextDropTarget 
*result
; 
26301     char *kwnames
[] = { 
26305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
; 
26307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26308         result 
= (wxPyTextDropTarget 
*)new wxPyTextDropTarget(); 
26310         wxPyEndAllowThreads(__tstate
); 
26311         if (PyErr_Occurred()) SWIG_fail
; 
26313     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1); 
26320 static PyObject 
*_wrap_TextDropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26321     PyObject 
*resultobj
; 
26322     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26323     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26324     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26325     PyObject 
* obj0 
= 0 ; 
26326     PyObject 
* obj1 
= 0 ; 
26327     PyObject 
* obj2 
= 0 ; 
26328     char *kwnames
[] = { 
26329         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26333     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26334     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26338         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26339         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26341         wxPyEndAllowThreads(__tstate
); 
26342         if (PyErr_Occurred()) SWIG_fail
; 
26344     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26351 static PyObject 
*_wrap_TextDropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26352     PyObject 
*resultobj
; 
26353     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26358     PyObject 
* obj0 
= 0 ; 
26359     PyObject 
* obj1 
= 0 ; 
26360     PyObject 
* obj2 
= 0 ; 
26361     PyObject 
* obj3 
= 0 ; 
26362     char *kwnames
[] = { 
26363         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26367     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26368     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26369     arg2 
= (int) SWIG_AsInt(obj1
);  
26370     if (PyErr_Occurred()) SWIG_fail
; 
26371     arg3 
= (int) SWIG_AsInt(obj2
);  
26372     if (PyErr_Occurred()) SWIG_fail
; 
26373     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26374     if (PyErr_Occurred()) SWIG_fail
; 
26376         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26377         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26379         wxPyEndAllowThreads(__tstate
); 
26380         if (PyErr_Occurred()) SWIG_fail
; 
26382     resultobj 
= SWIG_FromInt((int)result
); 
26389 static PyObject 
*_wrap_TextDropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26390     PyObject 
*resultobj
; 
26391     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26396     PyObject 
* obj0 
= 0 ; 
26397     PyObject 
* obj1 
= 0 ; 
26398     PyObject 
* obj2 
= 0 ; 
26399     PyObject 
* obj3 
= 0 ; 
26400     char *kwnames
[] = { 
26401         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26404     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26405     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26406     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26407     arg2 
= (int) SWIG_AsInt(obj1
);  
26408     if (PyErr_Occurred()) SWIG_fail
; 
26409     arg3 
= (int) SWIG_AsInt(obj2
);  
26410     if (PyErr_Occurred()) SWIG_fail
; 
26411     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26412     if (PyErr_Occurred()) SWIG_fail
; 
26414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26415         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26417         wxPyEndAllowThreads(__tstate
); 
26418         if (PyErr_Occurred()) SWIG_fail
; 
26420     resultobj 
= SWIG_FromInt((int)result
); 
26427 static PyObject 
*_wrap_TextDropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26428     PyObject 
*resultobj
; 
26429     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26430     PyObject 
* obj0 
= 0 ; 
26431     char *kwnames
[] = { 
26432         (char *) "self", NULL 
 
26435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26436     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26437     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26440         (arg1
)->base_OnLeave(); 
26442         wxPyEndAllowThreads(__tstate
); 
26443         if (PyErr_Occurred()) SWIG_fail
; 
26445     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26452 static PyObject 
*_wrap_TextDropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26453     PyObject 
*resultobj
; 
26454     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26458     PyObject 
* obj0 
= 0 ; 
26459     PyObject 
* obj1 
= 0 ; 
26460     PyObject 
* obj2 
= 0 ; 
26461     char *kwnames
[] = { 
26462         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26466     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26467     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26468     arg2 
= (int) SWIG_AsInt(obj1
);  
26469     if (PyErr_Occurred()) SWIG_fail
; 
26470     arg3 
= (int) SWIG_AsInt(obj2
);  
26471     if (PyErr_Occurred()) SWIG_fail
; 
26473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26474         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26476         wxPyEndAllowThreads(__tstate
); 
26477         if (PyErr_Occurred()) SWIG_fail
; 
26480         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26488 static PyObject 
*_wrap_TextDropTarget_base_OnData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26489     PyObject 
*resultobj
; 
26490     wxPyTextDropTarget 
*arg1 
= (wxPyTextDropTarget 
*) 0 ; 
26495     PyObject 
* obj0 
= 0 ; 
26496     PyObject 
* obj1 
= 0 ; 
26497     PyObject 
* obj2 
= 0 ; 
26498     PyObject 
* obj3 
= 0 ; 
26499     char *kwnames
[] = { 
26500         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26504     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
, 
26505     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26506     arg2 
= (int) SWIG_AsInt(obj1
);  
26507     if (PyErr_Occurred()) SWIG_fail
; 
26508     arg3 
= (int) SWIG_AsInt(obj2
);  
26509     if (PyErr_Occurred()) SWIG_fail
; 
26510     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26511     if (PyErr_Occurred()) SWIG_fail
; 
26513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26514         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
26516         wxPyEndAllowThreads(__tstate
); 
26517         if (PyErr_Occurred()) SWIG_fail
; 
26519     resultobj 
= SWIG_FromInt((int)result
); 
26526 static PyObject 
* TextDropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26528     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26529     SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
); 
26531     return Py_BuildValue((char *)""); 
26533 static PyObject 
*_wrap_new_FileDropTarget(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26534     PyObject 
*resultobj
; 
26535     wxPyFileDropTarget 
*result
; 
26536     char *kwnames
[] = { 
26540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
; 
26542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26543         result 
= (wxPyFileDropTarget 
*)new wxPyFileDropTarget(); 
26545         wxPyEndAllowThreads(__tstate
); 
26546         if (PyErr_Occurred()) SWIG_fail
; 
26548     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1); 
26555 static PyObject 
*_wrap_FileDropTarget__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26556     PyObject 
*resultobj
; 
26557     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26558     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26559     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
26560     PyObject 
* obj0 
= 0 ; 
26561     PyObject 
* obj1 
= 0 ; 
26562     PyObject 
* obj2 
= 0 ; 
26563     char *kwnames
[] = { 
26564         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
26567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26568     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26574         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
26576         wxPyEndAllowThreads(__tstate
); 
26577         if (PyErr_Occurred()) SWIG_fail
; 
26579     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26586 static PyObject 
*_wrap_FileDropTarget_base_OnEnter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26587     PyObject 
*resultobj
; 
26588     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26593     PyObject 
* obj0 
= 0 ; 
26594     PyObject 
* obj1 
= 0 ; 
26595     PyObject 
* obj2 
= 0 ; 
26596     PyObject 
* obj3 
= 0 ; 
26597     char *kwnames
[] = { 
26598         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26602     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26603     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26604     arg2 
= (int) SWIG_AsInt(obj1
);  
26605     if (PyErr_Occurred()) SWIG_fail
; 
26606     arg3 
= (int) SWIG_AsInt(obj2
);  
26607     if (PyErr_Occurred()) SWIG_fail
; 
26608     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26609     if (PyErr_Occurred()) SWIG_fail
; 
26611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26612         result 
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult 
)arg4
); 
26614         wxPyEndAllowThreads(__tstate
); 
26615         if (PyErr_Occurred()) SWIG_fail
; 
26617     resultobj 
= SWIG_FromInt((int)result
); 
26624 static PyObject 
*_wrap_FileDropTarget_base_OnDragOver(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26625     PyObject 
*resultobj
; 
26626     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26631     PyObject 
* obj0 
= 0 ; 
26632     PyObject 
* obj1 
= 0 ; 
26633     PyObject 
* obj2 
= 0 ; 
26634     PyObject 
* obj3 
= 0 ; 
26635     char *kwnames
[] = { 
26636         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26640     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26641     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26642     arg2 
= (int) SWIG_AsInt(obj1
);  
26643     if (PyErr_Occurred()) SWIG_fail
; 
26644     arg3 
= (int) SWIG_AsInt(obj2
);  
26645     if (PyErr_Occurred()) SWIG_fail
; 
26646     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26647     if (PyErr_Occurred()) SWIG_fail
; 
26649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26650         result 
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult 
)arg4
); 
26652         wxPyEndAllowThreads(__tstate
); 
26653         if (PyErr_Occurred()) SWIG_fail
; 
26655     resultobj 
= SWIG_FromInt((int)result
); 
26662 static PyObject 
*_wrap_FileDropTarget_base_OnLeave(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26663     PyObject 
*resultobj
; 
26664     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26665     PyObject 
* obj0 
= 0 ; 
26666     char *kwnames
[] = { 
26667         (char *) "self", NULL 
 
26670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
; 
26671     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26672     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26675         (arg1
)->base_OnLeave(); 
26677         wxPyEndAllowThreads(__tstate
); 
26678         if (PyErr_Occurred()) SWIG_fail
; 
26680     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26687 static PyObject 
*_wrap_FileDropTarget_base_OnDrop(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26688     PyObject 
*resultobj
; 
26689     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26693     PyObject 
* obj0 
= 0 ; 
26694     PyObject 
* obj1 
= 0 ; 
26695     PyObject 
* obj2 
= 0 ; 
26696     char *kwnames
[] = { 
26697         (char *) "self",(char *) "x",(char *) "y", NULL 
 
26700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26701     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26702     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26703     arg2 
= (int) SWIG_AsInt(obj1
);  
26704     if (PyErr_Occurred()) SWIG_fail
; 
26705     arg3 
= (int) SWIG_AsInt(obj2
);  
26706     if (PyErr_Occurred()) SWIG_fail
; 
26708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26709         result 
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
); 
26711         wxPyEndAllowThreads(__tstate
); 
26712         if (PyErr_Occurred()) SWIG_fail
; 
26715         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26723 static PyObject 
*_wrap_FileDropTarget_base_OnData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26724     PyObject 
*resultobj
; 
26725     wxPyFileDropTarget 
*arg1 
= (wxPyFileDropTarget 
*) 0 ; 
26730     PyObject 
* obj0 
= 0 ; 
26731     PyObject 
* obj1 
= 0 ; 
26732     PyObject 
* obj2 
= 0 ; 
26733     PyObject 
* obj3 
= 0 ; 
26734     char *kwnames
[] = { 
26735         (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL 
 
26738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26739     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
, 
26740     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26741     arg2 
= (int) SWIG_AsInt(obj1
);  
26742     if (PyErr_Occurred()) SWIG_fail
; 
26743     arg3 
= (int) SWIG_AsInt(obj2
);  
26744     if (PyErr_Occurred()) SWIG_fail
; 
26745     arg4 
= (wxDragResult
) SWIG_AsInt(obj3
);  
26746     if (PyErr_Occurred()) SWIG_fail
; 
26748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26749         result 
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult 
)arg4
); 
26751         wxPyEndAllowThreads(__tstate
); 
26752         if (PyErr_Occurred()) SWIG_fail
; 
26754     resultobj 
= SWIG_FromInt((int)result
); 
26761 static PyObject 
* FileDropTarget_swigregister(PyObject 
*self
, PyObject 
*args
) { 
26763     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26764     SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
); 
26766     return Py_BuildValue((char *)""); 
26768 static PyObject 
*_wrap_new_Clipboard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26769     PyObject 
*resultobj
; 
26770     wxClipboard 
*result
; 
26771     char *kwnames
[] = { 
26775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
; 
26777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26778         result 
= (wxClipboard 
*)new wxClipboard(); 
26780         wxPyEndAllowThreads(__tstate
); 
26781         if (PyErr_Occurred()) SWIG_fail
; 
26783     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1); 
26790 static PyObject 
*_wrap_delete_Clipboard(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26791     PyObject 
*resultobj
; 
26792     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26793     PyObject 
* obj0 
= 0 ; 
26794     char *kwnames
[] = { 
26795         (char *) "self", NULL 
 
26798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
; 
26799     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26800     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26805         wxPyEndAllowThreads(__tstate
); 
26806         if (PyErr_Occurred()) SWIG_fail
; 
26808     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26815 static PyObject 
*_wrap_Clipboard_Open(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26816     PyObject 
*resultobj
; 
26817     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26819     PyObject 
* obj0 
= 0 ; 
26820     char *kwnames
[] = { 
26821         (char *) "self", NULL 
 
26824     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
; 
26825     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26826     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26829         result 
= (bool)(arg1
)->Open(); 
26831         wxPyEndAllowThreads(__tstate
); 
26832         if (PyErr_Occurred()) SWIG_fail
; 
26835         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26843 static PyObject 
*_wrap_Clipboard_Close(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26844     PyObject 
*resultobj
; 
26845     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26846     PyObject 
* obj0 
= 0 ; 
26847     char *kwnames
[] = { 
26848         (char *) "self", NULL 
 
26851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
; 
26852     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26853     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26858         wxPyEndAllowThreads(__tstate
); 
26859         if (PyErr_Occurred()) SWIG_fail
; 
26861     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26868 static PyObject 
*_wrap_Clipboard_IsOpened(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26869     PyObject 
*resultobj
; 
26870     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26872     PyObject 
* obj0 
= 0 ; 
26873     char *kwnames
[] = { 
26874         (char *) "self", NULL 
 
26877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
; 
26878     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26879     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26882         result 
= (bool)((wxClipboard 
const *)arg1
)->IsOpened(); 
26884         wxPyEndAllowThreads(__tstate
); 
26885         if (PyErr_Occurred()) SWIG_fail
; 
26888         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26896 static PyObject 
*_wrap_Clipboard_AddData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26897     PyObject 
*resultobj
; 
26898     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26899     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26901     PyObject 
* obj0 
= 0 ; 
26902     PyObject 
* obj1 
= 0 ; 
26903     char *kwnames
[] = { 
26904         (char *) "self",(char *) "data", NULL 
 
26907     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26908     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26909     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26910     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26911     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26914         result 
= (bool)(arg1
)->AddData(arg2
); 
26916         wxPyEndAllowThreads(__tstate
); 
26917         if (PyErr_Occurred()) SWIG_fail
; 
26920         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26928 static PyObject 
*_wrap_Clipboard_SetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26929     PyObject 
*resultobj
; 
26930     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26931     wxDataObject 
*arg2 
= (wxDataObject 
*) 0 ; 
26933     PyObject 
* obj0 
= 0 ; 
26934     PyObject 
* obj1 
= 0 ; 
26935     char *kwnames
[] = { 
26936         (char *) "self",(char *) "data", NULL 
 
26939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
26940     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26941     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26942     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
26943     SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
; 
26945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26946         result 
= (bool)(arg1
)->SetData(arg2
); 
26948         wxPyEndAllowThreads(__tstate
); 
26949         if (PyErr_Occurred()) SWIG_fail
; 
26952         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26960 static PyObject 
*_wrap_Clipboard_IsSupported(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26961     PyObject 
*resultobj
; 
26962     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
26963     wxDataFormat 
*arg2 
= 0 ; 
26965     PyObject 
* obj0 
= 0 ; 
26966     PyObject 
* obj1 
= 0 ; 
26967     char *kwnames
[] = { 
26968         (char *) "self",(char *) "format", NULL 
 
26971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
; 
26972     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
26973     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
26974     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
, 
26975     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
26977     if (arg2 
== NULL
) { 
26978         PyErr_SetString(PyExc_TypeError
,"null reference"); 
26982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26983         result 
= (bool)(arg1
)->IsSupported((wxDataFormat 
const &)*arg2
); 
26985         wxPyEndAllowThreads(__tstate
); 
26986         if (PyErr_Occurred()) SWIG_fail
; 
26989         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26997 static PyObject 
*_wrap_Clipboard_GetData(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
26998     PyObject 
*resultobj
; 
26999     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27000     wxDataObject 
*arg2 
= 0 ; 
27002     PyObject 
* obj0 
= 0 ; 
27003     PyObject 
* obj1 
= 0 ; 
27004     char *kwnames
[] = { 
27005         (char *) "self",(char *) "data", NULL 
 
27008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27009     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27010     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27011     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
, 
27012     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27014     if (arg2 
== NULL
) { 
27015         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27020         result 
= (bool)(arg1
)->GetData(*arg2
); 
27022         wxPyEndAllowThreads(__tstate
); 
27023         if (PyErr_Occurred()) SWIG_fail
; 
27026         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27034 static PyObject 
*_wrap_Clipboard_Clear(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27035     PyObject 
*resultobj
; 
27036     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27037     PyObject 
* obj0 
= 0 ; 
27038     char *kwnames
[] = { 
27039         (char *) "self", NULL 
 
27042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
; 
27043     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27044     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27049         wxPyEndAllowThreads(__tstate
); 
27050         if (PyErr_Occurred()) SWIG_fail
; 
27052     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27059 static PyObject 
*_wrap_Clipboard_Flush(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27060     PyObject 
*resultobj
; 
27061     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27063     PyObject 
* obj0 
= 0 ; 
27064     char *kwnames
[] = { 
27065         (char *) "self", NULL 
 
27068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
; 
27069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27073         result 
= (bool)(arg1
)->Flush(); 
27075         wxPyEndAllowThreads(__tstate
); 
27076         if (PyErr_Occurred()) SWIG_fail
; 
27079         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27087 static PyObject 
*_wrap_Clipboard_UsePrimarySelection(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27088     PyObject 
*resultobj
; 
27089     wxClipboard 
*arg1 
= (wxClipboard 
*) 0 ; 
27090     bool arg2 
= (bool) True 
; 
27091     PyObject 
* obj0 
= 0 ; 
27092     PyObject 
* obj1 
= 0 ; 
27093     char *kwnames
[] = { 
27094         (char *) "self",(char *) "primary", NULL 
 
27097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
27098     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27099     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27101         arg2 
= (bool) SWIG_AsBool(obj1
);  
27102         if (PyErr_Occurred()) SWIG_fail
; 
27105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27106         (arg1
)->UsePrimarySelection(arg2
); 
27108         wxPyEndAllowThreads(__tstate
); 
27109         if (PyErr_Occurred()) SWIG_fail
; 
27111     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27118 static PyObject 
* Clipboard_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27120     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27121     SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
); 
27123     return Py_BuildValue((char *)""); 
27125 static int _wrap_TheClipboard_set(PyObject 
*_val
) { 
27126     PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only."); 
27131 static PyObject 
*_wrap_TheClipboard_get() { 
27134     pyobj 
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0); 
27139 static PyObject 
*_wrap_new_ClipboardLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27140     PyObject 
*resultobj
; 
27141     wxClipboard 
*arg1 
= (wxClipboard 
*) NULL 
; 
27142     wxClipboardLocker 
*result
; 
27143     PyObject 
* obj0 
= 0 ; 
27144     char *kwnames
[] = { 
27145         (char *) "clipboard", NULL 
 
27148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27150         if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
, 
27151         SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27155         result 
= (wxClipboardLocker 
*)new wxClipboardLocker(arg1
); 
27157         wxPyEndAllowThreads(__tstate
); 
27158         if (PyErr_Occurred()) SWIG_fail
; 
27160     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1); 
27167 static PyObject 
*_wrap_delete_ClipboardLocker(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27168     PyObject 
*resultobj
; 
27169     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27170     PyObject 
* obj0 
= 0 ; 
27171     char *kwnames
[] = { 
27172         (char *) "self", NULL 
 
27175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
; 
27176     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27177     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27182         wxPyEndAllowThreads(__tstate
); 
27183         if (PyErr_Occurred()) SWIG_fail
; 
27185     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27192 static PyObject 
*_wrap_ClipboardLocker___nonzero__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27193     PyObject 
*resultobj
; 
27194     wxClipboardLocker 
*arg1 
= (wxClipboardLocker 
*) 0 ; 
27196     PyObject 
* obj0 
= 0 ; 
27197     char *kwnames
[] = { 
27198         (char *) "self", NULL 
 
27201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
; 
27202     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
, 
27203     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27205         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27206         result 
= (bool)wxClipboardLocker___nonzero__(arg1
); 
27208         wxPyEndAllowThreads(__tstate
); 
27209         if (PyErr_Occurred()) SWIG_fail
; 
27212         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27220 static PyObject 
* ClipboardLocker_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27222     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27223     SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
); 
27225     return Py_BuildValue((char *)""); 
27227 static PyObject 
*_wrap_new_VideoMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27228     PyObject 
*resultobj
; 
27229     int arg1 
= (int) 0 ; 
27230     int arg2 
= (int) 0 ; 
27231     int arg3 
= (int) 0 ; 
27232     int arg4 
= (int) 0 ; 
27233     wxVideoMode 
*result
; 
27234     PyObject 
* obj0 
= 0 ; 
27235     PyObject 
* obj1 
= 0 ; 
27236     PyObject 
* obj2 
= 0 ; 
27237     PyObject 
* obj3 
= 0 ; 
27238     char *kwnames
[] = { 
27239         (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL 
 
27242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
27244         arg1 
= (int) SWIG_AsInt(obj0
);  
27245         if (PyErr_Occurred()) SWIG_fail
; 
27248         arg2 
= (int) SWIG_AsInt(obj1
);  
27249         if (PyErr_Occurred()) SWIG_fail
; 
27252         arg3 
= (int) SWIG_AsInt(obj2
);  
27253         if (PyErr_Occurred()) SWIG_fail
; 
27256         arg4 
= (int) SWIG_AsInt(obj3
);  
27257         if (PyErr_Occurred()) SWIG_fail
; 
27260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27261         result 
= (wxVideoMode 
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
); 
27263         wxPyEndAllowThreads(__tstate
); 
27264         if (PyErr_Occurred()) SWIG_fail
; 
27266     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1); 
27273 static PyObject 
*_wrap_delete_VideoMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27274     PyObject 
*resultobj
; 
27275     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27276     PyObject 
* obj0 
= 0 ; 
27277     char *kwnames
[] = { 
27278         (char *) "self", NULL 
 
27281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
; 
27282     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27283     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27288         wxPyEndAllowThreads(__tstate
); 
27289         if (PyErr_Occurred()) SWIG_fail
; 
27291     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27298 static PyObject 
*_wrap_VideoMode_Matches(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27299     PyObject 
*resultobj
; 
27300     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27301     wxVideoMode 
*arg2 
= 0 ; 
27303     PyObject 
* obj0 
= 0 ; 
27304     PyObject 
* obj1 
= 0 ; 
27305     char *kwnames
[] = { 
27306         (char *) "self",(char *) "other", NULL 
 
27309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
; 
27310     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27311     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27312     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27313     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27315     if (arg2 
== NULL
) { 
27316         PyErr_SetString(PyExc_TypeError
,"null reference"); 
27320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27321         result 
= (bool)((wxVideoMode 
const *)arg1
)->Matches((wxVideoMode 
const &)*arg2
); 
27323         wxPyEndAllowThreads(__tstate
); 
27324         if (PyErr_Occurred()) SWIG_fail
; 
27327         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27335 static PyObject 
*_wrap_VideoMode_GetWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27336     PyObject 
*resultobj
; 
27337     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27339     PyObject 
* obj0 
= 0 ; 
27340     char *kwnames
[] = { 
27341         (char *) "self", NULL 
 
27344     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
; 
27345     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27346     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27349         result 
= (int)((wxVideoMode 
const *)arg1
)->GetWidth(); 
27351         wxPyEndAllowThreads(__tstate
); 
27352         if (PyErr_Occurred()) SWIG_fail
; 
27354     resultobj 
= SWIG_FromInt((int)result
); 
27361 static PyObject 
*_wrap_VideoMode_GetHeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27362     PyObject 
*resultobj
; 
27363     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27365     PyObject 
* obj0 
= 0 ; 
27366     char *kwnames
[] = { 
27367         (char *) "self", NULL 
 
27370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
; 
27371     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27372     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27374         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27375         result 
= (int)((wxVideoMode 
const *)arg1
)->GetHeight(); 
27377         wxPyEndAllowThreads(__tstate
); 
27378         if (PyErr_Occurred()) SWIG_fail
; 
27380     resultobj 
= SWIG_FromInt((int)result
); 
27387 static PyObject 
*_wrap_VideoMode_GetDepth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27388     PyObject 
*resultobj
; 
27389     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27391     PyObject 
* obj0 
= 0 ; 
27392     char *kwnames
[] = { 
27393         (char *) "self", NULL 
 
27396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
; 
27397     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27398     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27401         result 
= (int)((wxVideoMode 
const *)arg1
)->GetDepth(); 
27403         wxPyEndAllowThreads(__tstate
); 
27404         if (PyErr_Occurred()) SWIG_fail
; 
27406     resultobj 
= SWIG_FromInt((int)result
); 
27413 static PyObject 
*_wrap_VideoMode_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27414     PyObject 
*resultobj
; 
27415     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27417     PyObject 
* obj0 
= 0 ; 
27418     char *kwnames
[] = { 
27419         (char *) "self", NULL 
 
27422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
; 
27423     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27424     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27427         result 
= (bool)((wxVideoMode 
const *)arg1
)->IsOk(); 
27429         wxPyEndAllowThreads(__tstate
); 
27430         if (PyErr_Occurred()) SWIG_fail
; 
27433         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27441 static PyObject 
*_wrap_VideoMode___eq__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27442     PyObject 
*resultobj
; 
27443     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27444     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27446     PyObject 
* obj0 
= 0 ; 
27447     PyObject 
* obj1 
= 0 ; 
27448     char *kwnames
[] = { 
27449         (char *) "self",(char *) "other", NULL 
 
27452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27453     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27454     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27455     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27456     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27458         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27459         result 
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode 
const *)arg2
); 
27461         wxPyEndAllowThreads(__tstate
); 
27462         if (PyErr_Occurred()) SWIG_fail
; 
27465         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27473 static PyObject 
*_wrap_VideoMode___ne__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27474     PyObject 
*resultobj
; 
27475     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27476     wxVideoMode 
*arg2 
= (wxVideoMode 
*) 0 ; 
27478     PyObject 
* obj0 
= 0 ; 
27479     PyObject 
* obj1 
= 0 ; 
27480     char *kwnames
[] = { 
27481         (char *) "self",(char *) "other", NULL 
 
27484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27485     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27486     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27487     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27488     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27490         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27491         result 
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode 
const *)arg2
); 
27493         wxPyEndAllowThreads(__tstate
); 
27494         if (PyErr_Occurred()) SWIG_fail
; 
27497         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27505 static PyObject 
*_wrap_VideoMode_w_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27506     PyObject 
*resultobj
; 
27507     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27509     PyObject 
* obj0 
= 0 ; 
27510     PyObject 
* obj1 
= 0 ; 
27511     char *kwnames
[] = { 
27512         (char *) "self",(char *) "w", NULL 
 
27515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27516     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27517     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27518     arg2 
= (int) SWIG_AsInt(obj1
);  
27519     if (PyErr_Occurred()) SWIG_fail
; 
27520     if (arg1
) (arg1
)->w 
= arg2
; 
27522     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27529 static PyObject 
*_wrap_VideoMode_w_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27530     PyObject 
*resultobj
; 
27531     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27533     PyObject 
* obj0 
= 0 ; 
27534     char *kwnames
[] = { 
27535         (char *) "self", NULL 
 
27538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
; 
27539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27541     result 
= (int) ((arg1
)->w
); 
27543     resultobj 
= SWIG_FromInt((int)result
); 
27550 static PyObject 
*_wrap_VideoMode_h_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27551     PyObject 
*resultobj
; 
27552     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27554     PyObject 
* obj0 
= 0 ; 
27555     PyObject 
* obj1 
= 0 ; 
27556     char *kwnames
[] = { 
27557         (char *) "self",(char *) "h", NULL 
 
27560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27561     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27562     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27563     arg2 
= (int) SWIG_AsInt(obj1
);  
27564     if (PyErr_Occurred()) SWIG_fail
; 
27565     if (arg1
) (arg1
)->h 
= arg2
; 
27567     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27574 static PyObject 
*_wrap_VideoMode_h_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27575     PyObject 
*resultobj
; 
27576     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27578     PyObject 
* obj0 
= 0 ; 
27579     char *kwnames
[] = { 
27580         (char *) "self", NULL 
 
27583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
; 
27584     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27585     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27586     result 
= (int) ((arg1
)->h
); 
27588     resultobj 
= SWIG_FromInt((int)result
); 
27595 static PyObject 
*_wrap_VideoMode_bpp_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27596     PyObject 
*resultobj
; 
27597     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27599     PyObject 
* obj0 
= 0 ; 
27600     PyObject 
* obj1 
= 0 ; 
27601     char *kwnames
[] = { 
27602         (char *) "self",(char *) "bpp", NULL 
 
27605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27606     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27608     arg2 
= (int) SWIG_AsInt(obj1
);  
27609     if (PyErr_Occurred()) SWIG_fail
; 
27610     if (arg1
) (arg1
)->bpp 
= arg2
; 
27612     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27619 static PyObject 
*_wrap_VideoMode_bpp_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27620     PyObject 
*resultobj
; 
27621     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27623     PyObject 
* obj0 
= 0 ; 
27624     char *kwnames
[] = { 
27625         (char *) "self", NULL 
 
27628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
; 
27629     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27630     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27631     result 
= (int) ((arg1
)->bpp
); 
27633     resultobj 
= SWIG_FromInt((int)result
); 
27640 static PyObject 
*_wrap_VideoMode_refresh_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27641     PyObject 
*resultobj
; 
27642     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27644     PyObject 
* obj0 
= 0 ; 
27645     PyObject 
* obj1 
= 0 ; 
27646     char *kwnames
[] = { 
27647         (char *) "self",(char *) "refresh", NULL 
 
27650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27653     arg2 
= (int) SWIG_AsInt(obj1
);  
27654     if (PyErr_Occurred()) SWIG_fail
; 
27655     if (arg1
) (arg1
)->refresh 
= arg2
; 
27657     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27664 static PyObject 
*_wrap_VideoMode_refresh_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27665     PyObject 
*resultobj
; 
27666     wxVideoMode 
*arg1 
= (wxVideoMode 
*) 0 ; 
27668     PyObject 
* obj0 
= 0 ; 
27669     char *kwnames
[] = { 
27670         (char *) "self", NULL 
 
27673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
; 
27674     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
, 
27675     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27676     result 
= (int) ((arg1
)->refresh
); 
27678     resultobj 
= SWIG_FromInt((int)result
); 
27685 static PyObject 
* VideoMode_swigregister(PyObject 
*self
, PyObject 
*args
) { 
27687     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27688     SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
); 
27690     return Py_BuildValue((char *)""); 
27692 static int _wrap_DefaultVideoMode_set(PyObject 
*_val
) { 
27693     PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only."); 
27698 static PyObject 
*_wrap_DefaultVideoMode_get() { 
27701     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0); 
27706 static PyObject 
*_wrap_new_Display(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27707     PyObject 
*resultobj
; 
27708     size_t arg1 
= (size_t) 0 ; 
27710     PyObject 
* obj0 
= 0 ; 
27711     char *kwnames
[] = { 
27712         (char *) "index", NULL 
 
27715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
; 
27717         arg1 
= (size_t) SWIG_AsUnsignedLong(obj0
);  
27718         if (PyErr_Occurred()) SWIG_fail
; 
27721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27722         result 
= (wxDisplay 
*)new wxDisplay(arg1
); 
27724         wxPyEndAllowThreads(__tstate
); 
27725         if (PyErr_Occurred()) SWIG_fail
; 
27727     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1); 
27734 static PyObject 
*_wrap_delete_Display(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27735     PyObject 
*resultobj
; 
27736     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27737     PyObject 
* obj0 
= 0 ; 
27738     char *kwnames
[] = { 
27739         (char *) "self", NULL 
 
27742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
; 
27743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27749         wxPyEndAllowThreads(__tstate
); 
27750         if (PyErr_Occurred()) SWIG_fail
; 
27752     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27759 static PyObject 
*_wrap_Display_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27760     PyObject 
*resultobj
; 
27762     char *kwnames
[] = { 
27766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
; 
27768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27769         result 
= (size_t)wxDisplay::GetCount(); 
27771         wxPyEndAllowThreads(__tstate
); 
27772         if (PyErr_Occurred()) SWIG_fail
; 
27774     resultobj 
= SWIG_FromUnsignedLong((unsigned long)result
); 
27781 static PyObject 
*_wrap_Display_GetFromPoint(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27782     PyObject 
*resultobj
; 
27783     wxPoint 
*arg1 
= 0 ; 
27786     PyObject 
* obj0 
= 0 ; 
27787     char *kwnames
[] = { 
27788         (char *) "pt", NULL 
 
27791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
; 
27794         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
27797         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27798         result 
= (int)wxDisplay::GetFromPoint((wxPoint 
const &)*arg1
); 
27800         wxPyEndAllowThreads(__tstate
); 
27801         if (PyErr_Occurred()) SWIG_fail
; 
27803     resultobj 
= SWIG_FromInt((int)result
); 
27810 static PyObject 
*_wrap_Display_GetFromWindow(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27811     PyObject 
*resultobj
; 
27812     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27814     PyObject 
* obj0 
= 0 ; 
27815     char *kwnames
[] = { 
27816         (char *) "window", NULL 
 
27819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
; 
27820     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
27821     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27823         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27824         result 
= (int)Display_GetFromWindow(arg1
); 
27826         wxPyEndAllowThreads(__tstate
); 
27827         if (PyErr_Occurred()) SWIG_fail
; 
27829     resultobj 
= SWIG_FromInt((int)result
); 
27836 static PyObject 
*_wrap_Display_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27837     PyObject 
*resultobj
; 
27838     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27840     PyObject 
* obj0 
= 0 ; 
27841     char *kwnames
[] = { 
27842         (char *) "self", NULL 
 
27845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
; 
27846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27850         result 
= (bool)((wxDisplay 
const *)arg1
)->IsOk(); 
27852         wxPyEndAllowThreads(__tstate
); 
27853         if (PyErr_Occurred()) SWIG_fail
; 
27856         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27864 static PyObject 
*_wrap_Display_GetGeometry(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27865     PyObject 
*resultobj
; 
27866     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27868     PyObject 
* obj0 
= 0 ; 
27869     char *kwnames
[] = { 
27870         (char *) "self", NULL 
 
27873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
; 
27874     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27875     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27877         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27878         result 
= ((wxDisplay 
const *)arg1
)->GetGeometry(); 
27880         wxPyEndAllowThreads(__tstate
); 
27881         if (PyErr_Occurred()) SWIG_fail
; 
27884         wxRect 
* resultptr
; 
27885         resultptr 
= new wxRect((wxRect 
&) result
); 
27886         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
27894 static PyObject 
*_wrap_Display_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27895     PyObject 
*resultobj
; 
27896     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27898     PyObject 
* obj0 
= 0 ; 
27899     char *kwnames
[] = { 
27900         (char *) "self", NULL 
 
27903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
; 
27904     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27905     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27908         result 
= ((wxDisplay 
const *)arg1
)->GetName(); 
27910         wxPyEndAllowThreads(__tstate
); 
27911         if (PyErr_Occurred()) SWIG_fail
; 
27915         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27917         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27926 static PyObject 
*_wrap_Display_IsPrimary(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27927     PyObject 
*resultobj
; 
27928     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27930     PyObject 
* obj0 
= 0 ; 
27931     char *kwnames
[] = { 
27932         (char *) "self", NULL 
 
27935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
; 
27936     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27937     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27940         result 
= (bool)((wxDisplay 
const *)arg1
)->IsPrimary(); 
27942         wxPyEndAllowThreads(__tstate
); 
27943         if (PyErr_Occurred()) SWIG_fail
; 
27946         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27954 static PyObject 
*_wrap_Display_GetModes(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27955     PyObject 
*resultobj
; 
27956     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27957     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
27958     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
27960     PyObject 
* obj0 
= 0 ; 
27961     PyObject 
* obj1 
= 0 ; 
27962     char *kwnames
[] = { 
27963         (char *) "self",(char *) "mode", NULL 
 
27966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
; 
27967     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
27968     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
27970         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
27971         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
27973         if (arg2 
== NULL
) { 
27974             PyErr_SetString(PyExc_TypeError
,"null reference"); 
27979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27980         result 
= (PyObject 
*)wxDisplay_GetModes(arg1
,(wxVideoMode 
const &)*arg2
); 
27982         wxPyEndAllowThreads(__tstate
); 
27983         if (PyErr_Occurred()) SWIG_fail
; 
27985     resultobj 
= result
; 
27992 static PyObject 
*_wrap_Display_GetCurrentMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
27993     PyObject 
*resultobj
; 
27994     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
27995     wxVideoMode result
; 
27996     PyObject 
* obj0 
= 0 ; 
27997     char *kwnames
[] = { 
27998         (char *) "self", NULL 
 
28001     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
; 
28002     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28003     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28006         result 
= ((wxDisplay 
const *)arg1
)->GetCurrentMode(); 
28008         wxPyEndAllowThreads(__tstate
); 
28009         if (PyErr_Occurred()) SWIG_fail
; 
28012         wxVideoMode 
* resultptr
; 
28013         resultptr 
= new wxVideoMode((wxVideoMode 
&) result
); 
28014         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1); 
28022 static PyObject 
*_wrap_Display_ChangeMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28023     PyObject 
*resultobj
; 
28024     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28025     wxVideoMode 
const &arg2_defvalue 
= wxDefaultVideoMode 
; 
28026     wxVideoMode 
*arg2 
= (wxVideoMode 
*) &arg2_defvalue 
; 
28028     PyObject 
* obj0 
= 0 ; 
28029     PyObject 
* obj1 
= 0 ; 
28030     char *kwnames
[] = { 
28031         (char *) "self",(char *) "mode", NULL 
 
28034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
28035     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28036     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28038         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
, 
28039         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
28041         if (arg2 
== NULL
) { 
28042             PyErr_SetString(PyExc_TypeError
,"null reference"); 
28047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28048         result 
= (bool)(arg1
)->ChangeMode((wxVideoMode 
const &)*arg2
); 
28050         wxPyEndAllowThreads(__tstate
); 
28051         if (PyErr_Occurred()) SWIG_fail
; 
28054         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28062 static PyObject 
*_wrap_Display_ResetMode(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
28063     PyObject 
*resultobj
; 
28064     wxDisplay 
*arg1 
= (wxDisplay 
*) 0 ; 
28065     PyObject 
* obj0 
= 0 ; 
28066     char *kwnames
[] = { 
28067         (char *) "self", NULL 
 
28070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
; 
28071     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
, 
28072     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
28074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28075         (arg1
)->ResetMode(); 
28077         wxPyEndAllowThreads(__tstate
); 
28078         if (PyErr_Occurred()) SWIG_fail
; 
28080     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28087 static PyObject 
* Display_swigregister(PyObject 
*self
, PyObject 
*args
) { 
28089     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
28090     SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
); 
28092     return Py_BuildValue((char *)""); 
28094 static PyMethodDef SwigMethods
[] = { 
28095          { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28096          { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28097          { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28098          { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28099          { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28100          { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28101          { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS 
}, 
28102          { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28103          { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28104          { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28105          { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28106          { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28107          { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28108          { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS 
}, 
28109          { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28110          { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28111          { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28112          { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28113          { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28114          { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28115          { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28116          { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28117          { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28118          { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28119          { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28120          { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28121          { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28122          { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28123          { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28124          { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28125          { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28126          { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28127          { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28128          { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28129          { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28130          { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28131          { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28132          { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28133          { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28134          { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28135          { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28136          { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28137          { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28138          { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28139          { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28140          { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28141          { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28142          { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28143          { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28144          { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28145          { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28146          { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28147          { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28148          { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28149          { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28150          { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28151          { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28152          { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28153          { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28154          { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28155          { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28156          { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28157          { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28158          { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28159          { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28160          { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28161          { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28162          { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28163          { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28164          { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28165          { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28166          { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28167          { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28168          { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS 
}, 
28169          { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28170          { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28171          { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28172          { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28173          { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28174          { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28175          { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28176          { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS 
}, 
28177          { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28178          { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28179          { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28180          { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28181          { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28182          { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28183          { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28184          { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28185          { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28186          { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28187          { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28188          { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28189          { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28190          { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28191          { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28192          { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS 
}, 
28193          { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28194          { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28195          { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28196          { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28197          { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS 
}, 
28198          { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28199          { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28200          { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS 
}, 
28201          { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28202          { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28203          { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS 
}, 
28204          { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28205          { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28206          { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28207          { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28208          { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28209          { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS 
}, 
28210          { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28211          { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28212          { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28213          { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28214          { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28215          { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28216          { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28217          { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28218          { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28219          { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28220          { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28221          { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28222          { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28223          { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS 
}, 
28224          { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28225          { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28226          { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28227          { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28228          { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28229          { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS 
}, 
28230          { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28231          { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28232          { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28233          { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28234          { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28235          { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS 
}, 
28236          { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28237          { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28238          { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS 
}, 
28239          { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28240          { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28241          { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28242          { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28243          { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28244          { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28245          { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28246          { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28247          { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28248          { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28249          { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28250          { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28251          { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS 
}, 
28252          { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28253          { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28254          { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS 
}, 
28255          { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS 
}, 
28256          { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28257          { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28258          { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS 
}, 
28259          { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28260          { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28261          { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28262          { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28263          { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28264          { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28265          { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28266          { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28267          { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28268          { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28269          { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28270          { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28271          { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28272          { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28273          { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28274          { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28275          { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28276          { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28277          { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28278          { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28279          { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28280          { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28281          { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28282          { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28283          { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28284          { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28285          { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS 
}, 
28286          { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28287          { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS 
}, 
28288          { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28289          { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS 
}, 
28290          { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28291          { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS 
}, 
28292          { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28293          { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28294          { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28295          { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28296          { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28297          { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28298          { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS 
}, 
28299          { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28300          { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28301          { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28302          { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28303          { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28304          { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS 
}, 
28305          { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28306          { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28307          { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28308          { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28309          { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28310          { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28311          { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28312          { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28313          { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28314          { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28315          { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28316          { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28317          { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS 
}, 
28318          { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28319          { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28320          { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28321          { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28322          { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS 
}, 
28323          { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28324          { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28325          { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS 
}, 
28326          { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28327          { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28328          { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28329          { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28330          { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28331          { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28332          { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28333          { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28334          { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28335          { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28336          { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28337          { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28338          { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28339          { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28340          { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28341          { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28342          { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS 
}, 
28343          { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28344          { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28345          { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28346          { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28347          { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28348          { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28349          { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28350          { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS 
}, 
28351          { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28352          { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28353          { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28354          { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28355          { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28356          { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28357          { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28358          { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28359          { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28360          { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28361          { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28362          { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28363          { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28364          { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28365          { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28366          { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28367          { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28368          { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28369          { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28370          { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28371          { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28372          { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28373          { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28374          { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28375          { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28376          { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28377          { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28378          { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28379          { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28380          { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28381          { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28382          { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28383          { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28384          { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28385          { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28386          { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28387          { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28388          { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28389          { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28390          { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28391          { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28392          { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28393          { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28394          { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28395          { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28396          { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS 
}, 
28397          { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28398          { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28399          { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28400          { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28401          { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28402          { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28403          { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28404          { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28405          { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28406          { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28407          { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28408          { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28409          { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28410          { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28411          { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28412          { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28413          { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28414          { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28415          { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28416          { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28417          { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28418          { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28419          { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28420          { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28421          { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28422          { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28423          { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28424          { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS 
}, 
28425          { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS 
}, 
28426          { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28427          { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS 
}, 
28428          { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28429          { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS 
}, 
28430          { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS 
}, 
28431          { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28432          { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS 
}, 
28433          { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28434          { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28435          { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28436          { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28437          { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28438          { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28439          { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28440          { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28441          { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28442          { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28443          { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28444          { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28445          { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28446          { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28447          { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28448          { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS 
}, 
28449          { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28450          { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28451          { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28452          { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28453          { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28454          { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28455          { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28456          { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28457          { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28458          { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28459          { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28460          { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28461          { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28462          { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28463          { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28464          { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS 
}, 
28465          { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28466          { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28467          { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28468          { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28469          { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28470          { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28471          { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28472          { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28473          { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28474          { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28475          { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28476          { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28477          { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28478          { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS 
}, 
28479          { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28480          { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28481          { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28482          { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28483          { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28484          { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28485          { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28486          { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28487          { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS 
}, 
28488          { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28489          { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28490          { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28491          { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28492          { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28493          { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28494          { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28495          { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28496          { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28497          { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28498          { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28499          { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28500          { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28501          { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28502          { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28503          { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28504          { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28505          { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28506          { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28507          { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28508          { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28509          { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28510          { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28511          { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28512          { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28513          { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28514          { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28515          { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28516          { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28517          { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28518          { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28519          { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28520          { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28521          { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28522          { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28523          { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28524          { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28525          { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28526          { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28527          { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28528          { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28529          { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28530          { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS 
}, 
28531          { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28532          { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28533          { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS 
}, 
28534          { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28535          { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28536          { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS 
}, 
28537          { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28538          { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28539          { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28540          { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS 
}, 
28541          { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28542          { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28543          { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28544          { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28545          { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28546          { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28547          { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28548          { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28549          { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28550          { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28551          { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28552          { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28553          { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28554          { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28555          { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28556          { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28557          { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28558          { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28559          { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28560          { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28561          { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28562          { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28563          { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28564          { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28565          { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28566          { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28567          { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28568          { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28569          { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28570          { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28571          { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28572          { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28573          { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28574          { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28575          { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28576          { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28577          { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28578          { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28579          { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28580          { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28581          { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28582          { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28583          { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28584          { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28585          { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28586          { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28587          { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28588          { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28589          { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28590          { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28591          { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28592          { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28593          { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28594          { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28595          { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28596          { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28597          { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28598          { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28599          { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28600          { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28601          { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28602          { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28603          { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28604          { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28605          { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28606          { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28607          { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28608          { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28609          { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28610          { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28611          { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28612          { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28613          { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28614          { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28615          { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28616          { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28617          { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28618          { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28619          { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28620          { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28621          { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28622          { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28623          { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28624          { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28625          { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28626          { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28627          { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28628          { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28629          { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28630          { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28631          { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28632          { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS 
}, 
28633          { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS 
}, 
28634          { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS 
}, 
28635          { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS 
}, 
28636          { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS 
}, 
28637          { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS 
}, 
28638          { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS 
}, 
28639          { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS 
}, 
28640          { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS 
}, 
28641          { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS 
}, 
28642          { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28643          { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28644          { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28645          { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28646          { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28647          { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28648          { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28649          { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28650          { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28651          { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28652          { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS 
}, 
28653          { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28654          { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28655          { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28656          { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28657          { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28658          { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28659          { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28660          { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28661          { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28662          { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28663          { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28664          { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28665          { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28666          { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28667          { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28668          { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28669          { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28670          { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28671          { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28672          { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28673          { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28674          { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28675          { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28676          { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28677          { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28678          { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28679          { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28680          { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28681          { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28682          { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28683          { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28684          { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28685          { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28686          { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28687          { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28688          { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28689          { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28690          { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28691          { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28692          { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28693          { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28694          { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28695          { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28696          { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28697          { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS 
}, 
28698          { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28699          { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28700          { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28701          { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28702          { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28703          { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28704          { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28705          { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28706          { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28707          { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28708          { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28709          { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28710          { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28711          { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28712          { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28713          { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28714          { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28715          { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28716          { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28717          { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28718          { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28719          { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28720          { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28721          { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28722          { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28723          { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28724          { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28725          { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28726          { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28727          { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28728          { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28729          { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28730          { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28731          { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS 
}, 
28732          { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28733          { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28734          { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28735          { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28736          { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28737          { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28738          { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28739          { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS 
}, 
28740          { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS 
}, 
28741          { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28742          { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28743          { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28744          { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28745          { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS 
}, 
28746          { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28747          { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28748          { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28749          { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28750          { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28751          { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28752          { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28753          { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28754          { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS 
}, 
28755          { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28756          { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28757          { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28758          { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS 
}, 
28759          { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28760          { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28761          { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS 
}, 
28762          { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28763          { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28764          { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS 
}, 
28765          { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28766          { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28767          { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28768          { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28769          { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS 
}, 
28770          { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28771          { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28772          { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS 
}, 
28773          { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28774          { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28775          { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28776          { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS 
}, 
28777          { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28778          { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28779          { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS 
}, 
28780          { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28781          { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28782          { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28783          { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS 
}, 
28784          { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28785          { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28786          { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28787          { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28788          { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28789          { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS 
}, 
28790          { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28791          { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28792          { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28793          { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS 
}, 
28794          { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28795          { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28796          { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28797          { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS 
}, 
28798          { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28799          { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28800          { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28801          { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28802          { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28803          { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28804          { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28805          { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28806          { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28807          { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS 
}, 
28808          { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28809          { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28810          { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28811          { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28812          { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28813          { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28814          { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28815          { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28816          { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28817          { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28818          { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS 
}, 
28819          { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28820          { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28821          { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28822          { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28823          { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28824          { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28825          { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28826          { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS 
}, 
28827          { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28828          { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28829          { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28830          { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28831          { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28832          { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28833          { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28834          { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS 
}, 
28835          { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28836          { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28837          { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28838          { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28839          { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28840          { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28841          { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28842          { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28843          { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28844          { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28845          { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28846          { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28847          { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS 
}, 
28848          { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28849          { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28850          { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28851          { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS 
}, 
28852          { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28853          { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28854          { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28855          { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28856          { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28857          { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28858          { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28859          { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28860          { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28861          { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28862          { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28863          { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28864          { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28865          { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28866          { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28867          { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28868          { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28869          { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS 
}, 
28870          { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28871          { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28872          { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28873          { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28874          { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28875          { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28876          { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28877          { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28878          { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28879          { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28880          { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28881          { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28882          { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS 
| METH_KEYWORDS 
}, 
28883          { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS 
}, 
28888 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
28890 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
28891     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
28893 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
28894     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
28896 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
28897     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
28899 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
28900     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
28902 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
28903     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
28905 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
28906     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
28908 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) { 
28909     return (void *)((wxEvent 
*)  ((wxTimerEvent 
*) x
)); 
28911 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
28912     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
28914 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
28915     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
28917 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
28918     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
28920 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
28921     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
28923 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) { 
28924     return (void *)((wxEvent 
*)  ((wxJoystickEvent 
*) x
)); 
28926 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
28927     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
28929 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
28930     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
28932 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
28933     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
28935 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
28936     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
28938 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
28939     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
28941 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
28942     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
28944 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
28945     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
28947 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
28948     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
28950 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
28951     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
28953 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
28954     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
28956 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
28957     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
28959 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
28960     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
28962 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
28963     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
28965 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
28966     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
28968 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
28969     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
28971 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
28972     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
28974 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
28975     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
28977 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
28978     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
28980 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) { 
28981     return (void *)((wxEvent 
*)  ((wxProcessEvent 
*) x
)); 
28983 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
28984     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
28986 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
28987     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
28989 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
28990     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
28992 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
28993     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
28995 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
28996     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
28998 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
28999     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
29001 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
29002     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
29004 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) { 
29005     return (void *)((wxConfigBase 
*)  ((wxFileConfig 
*) x
)); 
29007 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) { 
29008     return (void *)((wxConfigBase 
*)  ((wxConfig 
*) x
)); 
29010 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) { 
29011     return (void *)((wxBitmapDataObject 
*)  ((wxPyBitmapDataObject 
*) x
)); 
29013 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) { 
29014     return (void *)((wxTextDataObject 
*)  ((wxPyTextDataObject 
*) x
)); 
29016 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29017     return (void *)((wxDataObject 
*)  ((wxDataObjectSimple 
*) x
)); 
29019 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) { 
29020     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxPyDataObjectSimple 
*) x
)); 
29022 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) { 
29023     return (void *)((wxDataObject 
*)  ((wxDataObjectComposite 
*) x
)); 
29025 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) { 
29026     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxTextDataObject 
*) x
)); 
29028 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) { 
29029     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29031 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29032     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxBitmapDataObject 
*) x
)); 
29034 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) { 
29035     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*)(wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29037 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) { 
29038     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxFileDataObject 
*) x
)); 
29040 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) { 
29041     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxCustomDataObject 
*) x
)); 
29043 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) { 
29044     return (void *)((wxDataObject 
*) (wxDataObjectComposite 
*) ((wxURLDataObject 
*) x
)); 
29046 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) { 
29047     return (void *)((wxDataObject 
*) (wxDataObjectSimple 
*) ((wxMetafileDataObject 
*) x
)); 
29049 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) { 
29050     return (void *)((wxDataObjectComposite 
*)  ((wxURLDataObject 
*) x
)); 
29052 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) { 
29053     return (void *)((wxDataObjectSimple 
*)  ((wxPyDataObjectSimple 
*) x
)); 
29055 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29056     return (void *)((wxDataObjectSimple 
*)  ((wxTextDataObject 
*) x
)); 
29058 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29059     return (void *)((wxDataObjectSimple 
*) (wxTextDataObject 
*) ((wxPyTextDataObject 
*) x
)); 
29061 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29062     return (void *)((wxDataObjectSimple 
*)  ((wxBitmapDataObject 
*) x
)); 
29064 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29065     return (void *)((wxDataObjectSimple 
*) (wxBitmapDataObject 
*) ((wxPyBitmapDataObject 
*) x
)); 
29067 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29068     return (void *)((wxDataObjectSimple 
*)  ((wxFileDataObject 
*) x
)); 
29070 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29071     return (void *)((wxDataObjectSimple 
*)  ((wxCustomDataObject 
*) x
)); 
29073 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) { 
29074     return (void *)((wxDataObjectSimple 
*)  ((wxMetafileDataObject 
*) x
)); 
29076 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
29077     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
29079 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
29080     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
29082 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
29083     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29085 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
29086     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
29088 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) { 
29089     return (void *)((wxEvtHandler 
*)  ((wxPyTimer 
*) x
)); 
29091 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
29092     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
29094 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
29095     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
29097 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
29098     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
29100 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
29101     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
29103 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) { 
29104     return (void *)((wxEvtHandler 
*)  ((wxPyProcess 
*) x
)); 
29106 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) { 
29107     return (void *)((wxTipProvider 
*)  ((wxPyTipProvider 
*) x
)); 
29109 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
29110     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
29112 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
29113     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
29115 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
29116     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
29118 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
29119     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
29121 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
29122     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
29124 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
29125     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
29127 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
29128     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
29130 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
29131     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
29133 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
29134     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
29136 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) { 
29137     return (void *)((wxObject 
*)  ((wxFileHistory 
*) x
)); 
29139 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
29140     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29142 static void *_p_wxEventTo_p_wxObject(void *x
) { 
29143     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
29145 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
29146     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
29148 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
29149     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
29151 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
29152     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
29154 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
29155     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
29157 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
29158     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
29160 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
29161     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
29163 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
29164     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
29166 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
29167     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
29169 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
29170     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
29172 static void *_p_wxControlTo_p_wxObject(void *x
) { 
29173     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
29175 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
29176     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
29178 static void *_p_wxTimerEventTo_p_wxObject(void *x
) { 
29179     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTimerEvent 
*) x
)); 
29181 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
29182     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
29184 static void *_p_wxClipboardTo_p_wxObject(void *x
) { 
29185     return (void *)((wxObject 
*)  ((wxClipboard 
*) x
)); 
29187 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
29188     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
29190 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
29191     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
29193 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
29194     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
29196 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
29197     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
29199 static void *_p_wxToolTipTo_p_wxObject(void *x
) { 
29200     return (void *)((wxObject 
*)  ((wxToolTip 
*) x
)); 
29202 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
29203     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
29205 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
29206     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
29208 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
29209     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
29211 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
29212     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
29214 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
29215     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
29217 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
29218     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
29220 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
29221     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
29223 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
29224     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
29226 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
29227     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
29229 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
29230     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
29232 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
29233     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
29235 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
29236     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
29238 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
29239     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
29241 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
29242     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
29244 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
29245     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
29247 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
29248     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
29250 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
29251     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
29253 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
29254     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
29256 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
29257     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
29259 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
29260     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
29262 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
29263     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
29265 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
29266     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
29268 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
29269     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
29271 static void *_p_wxImageTo_p_wxObject(void *x
) { 
29272     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
29274 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
29275     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
29277 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) { 
29278     return (void *)((wxObject 
*)  ((wxSystemOptions 
*) x
)); 
29280 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) { 
29281     return (void *)((wxObject 
*) (wxEvent 
*) ((wxJoystickEvent 
*) x
)); 
29283 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
29284     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29286 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
29287     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
29289 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
29290     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
29292 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
29293     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
29295 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
29296     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
29298 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
29299     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
29301 static void *_p_wxPyProcessTo_p_wxObject(void *x
) { 
29302     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyProcess 
*) x
)); 
29304 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
29305     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
29307 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
29308     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
29310 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
29311     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
29313 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
29314     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
29316 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
29317     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
29319 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
29320     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
29322 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
29323     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
29325 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) { 
29326     return (void *)((wxObject 
*)  ((wxBusyInfo 
*) x
)); 
29328 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
29329     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29331 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
29332     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
29334 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
29335     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
29337 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
29338     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
29340 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
29341     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29343 static void *_p_wxProcessEventTo_p_wxObject(void *x
) { 
29344     return (void *)((wxObject 
*) (wxEvent 
*) ((wxProcessEvent 
*) x
)); 
29346 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
29347     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29349 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
29350     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
29352 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
29353     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
29355 static void *_p_wxPyTimerTo_p_wxObject(void *x
) { 
29356     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTimer 
*) x
)); 
29358 static void *_p_wxLogStderrTo_p_wxLog(void *x
) { 
29359     return (void *)((wxLog 
*)  ((wxLogStderr 
*) x
)); 
29361 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) { 
29362     return (void *)((wxLog 
*)  ((wxLogTextCtrl 
*) x
)); 
29364 static void *_p_wxLogWindowTo_p_wxLog(void *x
) { 
29365     return (void *)((wxLog 
*)  ((wxLogWindow 
*) x
)); 
29367 static void *_p_wxLogChainTo_p_wxLog(void *x
) { 
29368     return (void *)((wxLog 
*)  ((wxLogChain 
*) x
)); 
29370 static void *_p_wxLogGuiTo_p_wxLog(void *x
) { 
29371     return (void *)((wxLog 
*)  ((wxLogGui 
*) x
)); 
29373 static void *_p_wxPyLogTo_p_wxLog(void *x
) { 
29374     return (void *)((wxLog 
*)  ((wxPyLog 
*) x
)); 
29376 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
29377     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
29379 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
29380     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
29382 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
29383     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
29385 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) { 
29386     return (void *)((wxPyDropTarget 
*)  ((wxPyTextDropTarget 
*) x
)); 
29388 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) { 
29389     return (void *)((wxPyDropTarget 
*)  ((wxPyFileDropTarget 
*) x
)); 
29391 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}}; 
29392 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}}; 
29393 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}}; 
29394 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}}; 
29395 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}}; 
29396 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}}; 
29397 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}}; 
29398 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}}; 
29399 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}}; 
29400 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}}; 
29401 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}}; 
29402 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}}; 
29403 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}}; 
29404 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}}; 
29405 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}}; 
29406 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}}; 
29407 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}}; 
29408 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}}; 
29409 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}}; 
29410 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}}; 
29411 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}}; 
29412 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}}; 
29413 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}}; 
29414 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}}; 
29415 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}}; 
29416 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}}; 
29417 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}}; 
29418 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}}; 
29419 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}}; 
29420 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}}; 
29421 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}}; 
29422 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}}; 
29423 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}}; 
29424 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}}; 
29425 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}}; 
29426 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}}; 
29427 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}}; 
29428 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}}; 
29429 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}}; 
29430 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}}; 
29431 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}}; 
29432 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}}; 
29433 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}}; 
29434 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}}; 
29435 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}}; 
29436 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}}; 
29437 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}}; 
29438 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}}; 
29439 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}}; 
29440 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}}; 
29441 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}}; 
29442 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}}; 
29443 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}}; 
29444 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}}; 
29445 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}}; 
29446 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}}; 
29447 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}}; 
29448 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}}; 
29449 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}}; 
29450 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}}; 
29451 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}}; 
29452 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}}; 
29453 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}}; 
29454 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}}; 
29455 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}}; 
29456 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}}; 
29457 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}}; 
29458 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}}; 
29459 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}}; 
29460 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}}; 
29461 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}}; 
29462 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}}; 
29463 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}}; 
29464 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}}; 
29465 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}}; 
29466 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}}; 
29467 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}}; 
29468 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}}; 
29469 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}}; 
29470 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}}; 
29471 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}}; 
29472 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}}; 
29473 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}}; 
29474 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
29475 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}}; 
29476 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}}; 
29477 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}}; 
29479 static swig_type_info 
*swig_types_initial
[] = { 
29480 _swigt__p_wxLogChain
,  
29481 _swigt__p_wxMutexGuiLocker
,  
29482 _swigt__p_wxMetafile
,  
29483 _swigt__p_wxFileHistory
,  
29485 _swigt__p_wxDateTime__TimeZone
,  
29488 _swigt__p_wxConfigBase
,  
29489 _swigt__p_wxDisplay
,  
29490 _swigt__p_wxFileType
,  
29491 _swigt__p_wxLogGui
,  
29493 _swigt__p_wxDataFormat
,  
29494 _swigt__p_wxTimerEvent
,  
29498 _swigt__p_wxClipboard
,  
29499 _swigt__p_wxStopWatch
,  
29501 _swigt__p_wxClipboardLocker
,  
29503 _swigt__p_wxLogStderr
,  
29504 _swigt__p_wxLogTextCtrl
,  
29505 _swigt__p_wxTextCtrl
,  
29506 _swigt__p_wxBusyCursor
,  
29507 _swigt__p_wxPyTextDataObject
,  
29508 _swigt__p_wxBitmapDataObject
,  
29509 _swigt__p_wxTextDataObject
,  
29510 _swigt__p_wxDataObject
,  
29511 _swigt__p_wxPyBitmapDataObject
,  
29512 _swigt__p_wxFileDataObject
,  
29513 _swigt__p_wxCustomDataObject
,  
29514 _swigt__p_wxURLDataObject
,  
29515 _swigt__p_wxMetafileDataObject
,  
29517 _swigt__p_wxTimerRunner
,  
29518 _swigt__p_wxLogWindow
,  
29519 _swigt__p_wxTimeSpan
,  
29520 _swigt__p_wxArrayString
,  
29521 _swigt__p_wxWindowDisabler
,  
29522 _swigt__p_wxToolTip
,  
29523 _swigt__p_wxDataObjectComposite
,  
29524 _swigt__p_wxFileConfig
,  
29525 _swigt__p_wxSystemSettings
,  
29526 _swigt__p_wxVideoMode
,  
29527 _swigt__p_wxPyDataObjectSimple
,  
29528 _swigt__p_wxDataObjectSimple
,  
29529 _swigt__p_wxEvtHandler
,  
29532 _swigt__p_wxSingleInstanceChecker
,  
29533 _swigt__p_wxFileTypeInfo
,  
29536 _swigt__p_wxMimeTypesManager
,  
29537 _swigt__p_wxPyArtProvider
,  
29538 _swigt__p_wxPyTipProvider
,  
29539 _swigt__p_wxTipProvider
,  
29540 _swigt__p_wxJoystick
,  
29541 _swigt__p_wxSystemOptions
,  
29543 _swigt__p_wxJoystickEvent
,  
29544 _swigt__p_wxCursor
,  
29545 _swigt__p_wxObject
,  
29546 _swigt__p_wxOutputStream
,  
29547 _swigt__p_wxDateTime
,  
29548 _swigt__p_wxPyDropSource
,  
29549 _swigt__p_wxWindow
,  
29550 _swigt__p_wxString
,  
29551 _swigt__p_wxPyProcess
,  
29552 _swigt__p_wxBitmap
,  
29553 _swigt__p_wxConfig
,  
29555 _swigt__p_wxBusyInfo
,  
29556 _swigt__p_wxPyDropTarget
,  
29557 _swigt__p_wxPyTextDropTarget
,  
29558 _swigt__p_wxPyFileDropTarget
,  
29559 _swigt__p_wxProcessEvent
,  
29561 _swigt__p_wxLogNull
,  
29562 _swigt__p_wxColour
,  
29564 _swigt__p_wxConfigPathChanger
,  
29565 _swigt__p_wxPyTimer
,  
29566 _swigt__p_wxDateSpan
,  
29571 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
29573 static swig_const_info swig_const_table
[] = { 
29574 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
}, 
29575 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
}, 
29576 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
}, 
29577 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
}, 
29578 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
}, 
29588 SWIGEXPORT(void) SWIG_init(void) { 
29589     static PyObject 
*SWIG_globals 
= 0;  
29590     static int       typeinit 
= 0; 
29593     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
29594     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
29595     d 
= PyModule_GetDict(m
); 
29598         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
29599             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
29603     SWIG_InstallConstants(d
,swig_const_table
); 
29605     PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
)); 
29606     PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
)); 
29607     PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
)); 
29608     PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
)); 
29609     PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
)); 
29610     PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
)); 
29611     PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
)); 
29612     PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
)); 
29613     PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
)); 
29614     PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
)); 
29615     PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
)); 
29616     PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
)); 
29617     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
)); 
29618     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
)); 
29619     PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
)); 
29620     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
)); 
29621     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
)); 
29622     PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
)); 
29623     PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
)); 
29624     PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
)); 
29625     PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
)); 
29626     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
)); 
29627     PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
)); 
29628     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
)); 
29629     PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
)); 
29630     PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
)); 
29631     PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
)); 
29632     PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
)); 
29633     PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
)); 
29634     PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
)); 
29635     PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
)); 
29636     PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
)); 
29637     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
)); 
29638     PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
)); 
29639     PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
)); 
29640     PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
)); 
29641     PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
)); 
29642     PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
)); 
29643     PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
)); 
29644     PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
)); 
29645     PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
)); 
29646     PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
)); 
29647     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
)); 
29648     PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)); 
29649     PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
)); 
29650     PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
)); 
29651     PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
)); 
29652     PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
)); 
29653     PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
)); 
29654     PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
)); 
29655     PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
)); 
29656     PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
)); 
29657     PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
)); 
29658     PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
)); 
29659     PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
)); 
29660     PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
)); 
29661     PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
)); 
29662     PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
)); 
29663     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
)); 
29664     PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
)); 
29665     PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
)); 
29666     PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
)); 
29667     PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
)); 
29668     PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
)); 
29669     PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
)); 
29670     PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
)); 
29671     PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
)); 
29672     PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
)); 
29673     PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
)); 
29674     PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
)); 
29675     PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
)); 
29676     PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
)); 
29677     PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
)); 
29678     PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
)); 
29679     PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
)); 
29680     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
)); 
29681     PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
)); 
29682     PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
)); 
29683     PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
)); 
29684     PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
)); 
29685     PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
)); 
29686     PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
)); 
29687     PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
)); 
29688     PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
)); 
29689     PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
)); 
29690     PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
)); 
29691     PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
)); 
29692     PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
)); 
29693     PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
)); 
29694     PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
)); 
29695     PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
)); 
29696     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
29697     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
); 
29698     SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
); 
29699     SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
); 
29700     PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
)); 
29701     PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
)); 
29702     PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
)); 
29703     PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
)); 
29704     PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
)); 
29705     PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
)); 
29706     PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
)); 
29707     PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
)); 
29708     PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
)); 
29709     PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
)); 
29710     PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
)); 
29711     PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
)); 
29712     PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
)); 
29713     PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
)); 
29714     PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
)); 
29715     PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
)); 
29716     PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc")); 
29717     PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages")); 
29718     PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc")); 
29719     PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount")); 
29720     PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole")); 
29721     PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001)); 
29722     PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002)); 
29723     PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004)); 
29724     PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008)); 
29725     PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100)); 
29726     PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
)); 
29727     PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
)); 
29728     PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
)); 
29729     PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
)); 
29730     PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
)); 
29731     PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
)); 
29732     PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
)); 
29733     PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
)); 
29734     PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
)); 
29735     PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
)); 
29736     PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
)); 
29737     PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
)); 
29738     PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
)); 
29739     PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
)); 
29740     PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
)); 
29741     PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
)); 
29742     PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
)); 
29743     PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
)); 
29744     PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
)); 
29745     PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
)); 
29746     PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
)); 
29747     PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
)); 
29748     PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
)); 
29749     PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
)); 
29750     PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
)); 
29751     PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
)); 
29752     PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
)); 
29753     PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
)); 
29754     PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
)); 
29756     wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); 
29758     PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
)); 
29759     PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
)); 
29760     PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
)); 
29761     PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
)); 
29762     PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
)); 
29763     PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
)); 
29764     PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
)); 
29765     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
)); 
29766     PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
)); 
29767     PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
)); 
29768     PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
)); 
29769     PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
)); 
29770     PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
)); 
29771     PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
)); 
29772     PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
)); 
29773     PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
)); 
29774     PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
)); 
29775     PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
)); 
29776     PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
)); 
29777     SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
); 
29778     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
); 
29779     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
); 
29780     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
); 
29781     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
); 
29782     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
); 
29783     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
); 
29784     SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
); 
29785     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
); 
29786     SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
); 
29787     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
); 
29788     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
); 
29789     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
); 
29790     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
); 
29791     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
); 
29792     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
); 
29793     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
); 
29794     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
); 
29795     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
); 
29796     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
); 
29797     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
); 
29798     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
); 
29799     SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
); 
29800     SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
); 
29801     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
); 
29802     SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
); 
29803     SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
); 
29804     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
); 
29805     SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
); 
29806     SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
); 
29807     SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
); 
29808     SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
); 
29809     SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
); 
29810     SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
); 
29811     SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
); 
29812     SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
); 
29813     SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
); 
29814     SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
); 
29815     SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
); 
29817     wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider"); 
29819     PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
)); 
29820     PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
)); 
29821     PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
)); 
29822     PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)); 
29823     PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
)); 
29824     PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
)); 
29825     PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
)); 
29826     PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
)); 
29827     PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
)); 
29828     SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
); 
29829     SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
); 
29830     PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
)); 
29831     PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
)); 
29832     PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
)); 
29833     PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
)); 
29834     PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
)); 
29835     PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
)); 
29836     PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
)); 
29837     PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
)); 
29838     PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
)); 
29839     PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
)); 
29840     PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
)); 
29841     PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
)); 
29842     PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
)); 
29843     PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
)); 
29844     PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
)); 
29845     PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
)); 
29846     PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
)); 
29847     PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
)); 
29848     PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
)); 
29849     PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
)); 
29850     PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
)); 
29851     PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
)); 
29852     PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
)); 
29853     PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
)); 
29854     PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
)); 
29855     PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
)); 
29856     PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
)); 
29857     PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
)); 
29858     PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
)); 
29859     PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
)); 
29860     PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
)); 
29861     PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
)); 
29862     PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
)); 
29863     PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
)); 
29864     PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
)); 
29865     PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
)); 
29866     PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
)); 
29867     PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
)); 
29868     PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
)); 
29869     PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
)); 
29870     PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
)); 
29871     PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
)); 
29872     PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
)); 
29873     PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
)); 
29874     PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
)); 
29875     PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
)); 
29876     PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
)); 
29877     PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
)); 
29878     PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
)); 
29879     PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
)); 
29880     PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
)); 
29881     PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
)); 
29882     PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
)); 
29883     PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
)); 
29884     PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
)); 
29885     PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
)); 
29886     PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
)); 
29887     PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
)); 
29888     PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
)); 
29889     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
)); 
29890     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
)); 
29891     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
)); 
29892     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
)); 
29893     PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
)); 
29894     PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
)); 
29895     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
)); 
29896     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
)); 
29897     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
)); 
29898     PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
)); 
29899     PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
)); 
29900     PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
)); 
29901     PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
)); 
29902     PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
)); 
29903     PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
)); 
29904     PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
)); 
29905     PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
)); 
29906     PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
)); 
29907     PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
)); 
29908     PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
)); 
29909     PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
)); 
29910     PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
)); 
29911     PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
)); 
29912     PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
)); 
29913     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
)); 
29914     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
)); 
29915     PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
)); 
29916     PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
)); 
29917     PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
)); 
29918     PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
)); 
29919     PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
)); 
29920     PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
)); 
29921     PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
)); 
29922     PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
)); 
29923     PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
)); 
29924     PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
)); 
29925     PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
)); 
29926     PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
)); 
29927     PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
)); 
29928     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
)); 
29929     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
)); 
29930     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
)); 
29931     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
)); 
29932     PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
)); 
29933     PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
)); 
29934     PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
)); 
29935     PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
)); 
29936     PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
)); 
29937     PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
)); 
29938     PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
)); 
29939     PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
)); 
29940     PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
)); 
29941     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
)); 
29942     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
)); 
29943     PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
)); 
29944     PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
)); 
29945     PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
)); 
29946     PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
)); 
29947     PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
)); 
29948     PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
)); 
29949     PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
)); 
29950     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
)); 
29951     PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
)); 
29952     PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
)); 
29953     PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
)); 
29954     PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
)); 
29955     PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
)); 
29956     PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
)); 
29957     PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
)); 
29958     PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
)); 
29959     PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
)); 
29960     PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
)); 
29961     PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
)); 
29962     PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
)); 
29963     PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
)); 
29964     PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
)); 
29965     PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
)); 
29966     PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
)); 
29967     PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
)); 
29968     PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
)); 
29969     PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
)); 
29970     PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
)); 
29971     PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
)); 
29972     PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
)); 
29973     PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
)); 
29974     PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
)); 
29975     PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
)); 
29976     PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
)); 
29977     PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
)); 
29978     PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
)); 
29979     PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
)); 
29980     PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
)); 
29981     PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
)); 
29982     PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
)); 
29983     PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
)); 
29984     PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
)); 
29985     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
); 
29986     PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
)); 
29987     PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
)); 
29988     PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
)); 
29989     PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
)); 
29990     PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
)); 
29991     PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
)); 
29992     PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
)); 
29993     PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
)); 
29994     PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
)); 
29995     PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
)); 
29996     PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
)); 
29997     PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
)); 
29998     PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
)); 
29999     PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
)); 
30000     PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
)); 
30001     PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
)); 
30002     PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
)); 
30003     PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
)); 
30004     PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
)); 
30005     PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
)); 
30006     SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
); 
30007     PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
)); 
30008     PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
)); 
30009     PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
)); 
30010     PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
)); 
30011     PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
)); 
30012     PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
)); 
30013     PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
)); 
30014     PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
)); 
30015     PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
)); 
30016     PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
)); 
30017     PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
)); 
30018     PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
)); 
30020     wxPyPtrTypeMap_Add("wxDropSource",     "wxPyDropSource"); 
30021     wxPyPtrTypeMap_Add("wxDropTarget",     "wxPyDropTarget"); 
30022     wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget"); 
30023     wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget"); 
30025     SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
); 
30026     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);