]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/misc2.cpp
removed non appearance implementations
[wxWidgets.git] / wxPython / src / msw / misc2.cpp
1 /*
2 * FILE : src/msw/misc2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initmisc2c
55
56 #define SWIG_name "misc2c"
57
58 #include "helpers.h"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/caret.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
65
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
68 #endif
69
70 #if wxUSE_WAVE || defined(__WXMSW__)
71 #include <wx/wave.h>
72 #endif
73
74 #include <wx/mimetype.h>
75
76
77 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
78 PyObject* o2;
79 PyObject* o3;
80
81 if (!target) {
82 target = o;
83 } else if (target == Py_None) {
84 Py_DECREF(Py_None);
85 target = o;
86 } else {
87 if (!PyTuple_Check(target)) {
88 o2 = target;
89 target = PyTuple_New(1);
90 PyTuple_SetItem(target, 0, o2);
91 }
92 o3 = PyTuple_New(1);
93 PyTuple_SetItem(o3, 0, o);
94
95 o2 = target;
96 target = PySequence_Concat(o2, o3);
97 Py_DECREF(o2);
98 Py_DECREF(o3);
99 }
100 return target;
101 }
102
103 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg = "String or Unicode type required";
105 #else
106 static char* wxStringErrorMsg = "String type required";
107 #endif
108
109 static wxString wxPyEmptyStr("");
110
111 int wxCaret_GetBlinkTime() {
112 return wxCaret::GetBlinkTime();
113 }
114
115 void wxCaret_SetBlinkTime(int milliseconds) {
116 wxCaret::SetBlinkTime(milliseconds);
117 }
118
119 class wxPyFontEnumerator : public wxFontEnumerator {
120 public:
121 wxPyFontEnumerator() {}
122 ~wxPyFontEnumerator() {}
123
124 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
125 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
126
127 PYPRIVATE;
128 };
129
130 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
131 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
132
133
134 bool wxThread_IsMain() {
135 #ifdef WXP_WITH_THREAD
136 return wxThread::IsMain();
137 #else
138 return TRUE;
139 #endif
140 }
141
142 class wxPyTipProvider : public wxTipProvider {
143 public:
144 wxPyTipProvider(size_t currentTip)
145 : wxTipProvider(currentTip) {}
146
147 DEC_PYCALLBACK_STRING__pure(GetTip);
148
149 PYPRIVATE;
150 };
151
152 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
153
154
155 #include <wx/generic/dragimgg.h>
156
157 // A Log class that can be derived from in wxPython
158 class wxPyLog : public wxLog {
159 public:
160 wxPyLog() : wxLog() {}
161
162 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
163 bool found;
164 wxPyBeginBlockThreads();
165 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog")))
166 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(isi)", level, szString, t));
167 wxPyEndBlockThreads();
168 if (! found)
169 wxLog::DoLog(level, szString, t);
170 }
171
172 virtual void DoLogString(const wxChar *szString, time_t t) {
173 bool found;
174 wxPyBeginBlockThreads();
175 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString")))
176 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(si)", szString, t));
177 wxPyEndBlockThreads();
178 if (! found)
179 wxLog::DoLogString(szString, t);
180 }
181
182 PYPRIVATE;
183 };
184 // C++ version of wxProcess derived class
185
186 class wxPyProcess : public wxProcess {
187 public:
188 wxPyProcess(wxEvtHandler *parent = NULL, int id = -1)
189 : wxProcess(parent, id)
190 {}
191
192 DEC_PYCALLBACK_VOID_INTINT(OnTerminate);
193
194 PYPRIVATE;
195 };
196
197 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
198
199
200 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
201 // A C++ stub class for wxJoystick for platforms that don't have it.
202 class wxJoystick : public wxObject {
203 public:
204 wxJoystick(int joystick = wxJOYSTICK1) {
205 wxPyBeginBlockThreads();
206 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
207 wxPyEndBlockThreads();
208 }
209 wxPoint GetPosition() { return wxPoint(-1,-1); }
210 int GetZPosition() { return -1; }
211 int GetButtonState() { return -1; }
212 int GetPOVPosition() { return -1; }
213 int GetPOVCTSPosition() { return -1; }
214 int GetRudderPosition() { return -1; }
215 int GetUPosition() { return -1; }
216 int GetVPosition() { return -1; }
217 int GetMovementThreshold() { return -1; }
218 void SetMovementThreshold(int threshold) {}
219
220 bool IsOk(void) { return FALSE; }
221 int GetNumberJoysticks() { return -1; }
222 int GetManufacturerId() { return -1; }
223 int GetProductId() { return -1; }
224 wxString GetProductName() { return ""; }
225 int GetXMin() { return -1; }
226 int GetYMin() { return -1; }
227 int GetZMin() { return -1; }
228 int GetXMax() { return -1; }
229 int GetYMax() { return -1; }
230 int GetZMax() { return -1; }
231 int GetNumberButtons() { return -1; }
232 int GetNumberAxes() { return -1; }
233 int GetMaxButtons() { return -1; }
234 int GetMaxAxes() { return -1; }
235 int GetPollingMin() { return -1; }
236 int GetPollingMax() { return -1; }
237 int GetRudderMin() { return -1; }
238 int GetRudderMax() { return -1; }
239 int GetUMin() { return -1; }
240 int GetUMax() { return -1; }
241 int GetVMin() { return -1; }
242 int GetVMax() { return -1; }
243
244 bool HasRudder() { return FALSE; }
245 bool HasZ() { return FALSE; }
246 bool HasU() { return FALSE; }
247 bool HasV() { return FALSE; }
248 bool HasPOV() { return FALSE; }
249 bool HasPOV4Dir() { return FALSE; }
250 bool HasPOVCTS() { return FALSE; }
251
252 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return FALSE; }
253 bool ReleaseCapture() { return FALSE; }
254 };
255 #endif
256
257 #if !wxUSE_WAVE
258 // A C++ stub class for wxWave for platforms that don't have it.
259 class wxWave : public wxObject
260 {
261 public:
262 wxWave(const wxString& fileName, bool isResource = FALSE) {
263 wxPyBeginBlockThreads();
264 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
265 wxPyEndBlockThreads();
266 }
267 wxWave(int size, const wxByte* data) {
268 wxPyBeginBlockThreads();
269 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
270 wxPyEndBlockThreads();
271 }
272
273 ~wxWave() {}
274
275 bool IsOk() const { return FALSE; }
276 bool Play(bool async = TRUE, bool looped = FALSE) const { return FALSE; }
277 };
278
279 #endif
280 // Implementations of some alternate "constructors"
281 wxWave* wxWaveData(const wxString& data) {
282 return new wxWave(data.Len(), (wxByte*)data.c_str());
283 }
284
285 #if 0
286 extern wxMimeTypesManager * wxTheMimeTypesManager;
287
288 #endif
289
290 #include <wx/docview.h>
291 #ifdef __cplusplus
292 extern "C" {
293 #endif
294 static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
295 PyObject * _resultobj;
296 wxString * _result;
297 char * _arg0;
298 char * _arg1 = (char *) NULL;
299 char * _arg2 = (char *) NULL;
300 char * _arg3 = (char *) NULL;
301 char * _arg4 = (char *) "*.*";
302 int _arg5 = (int ) 0;
303 wxWindow * _arg6 = (wxWindow *) NULL;
304 int _arg7 = (int ) -1;
305 int _arg8 = (int ) -1;
306 PyObject * _argo6 = 0;
307 char *_kwnames[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL };
308
309 self = self;
310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|ssssiOii:wxFileSelector",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7,&_arg8))
311 return NULL;
312 if (_argo6) {
313 if (_argo6 == Py_None) { _arg6 = NULL; }
314 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
315 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
316 return NULL;
317 }
318 }
319 {
320 PyThreadState* __tstate = wxPyBeginAllowThreads();
321 _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8));
322
323 wxPyEndAllowThreads(__tstate);
324 if (PyErr_Occurred()) return NULL;
325 }{
326 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
327 }
328 {
329 delete _result;
330 }
331 return _resultobj;
332 }
333
334 static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
335 PyObject * _resultobj;
336 wxString * _result;
337 wxString * _arg0;
338 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
339 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
340 wxWindow * _arg3 = (wxWindow *) NULL;
341 int _arg4 = (int ) -1;
342 int _arg5 = (int ) -1;
343 bool _arg6 = (bool ) TRUE;
344 PyObject * _obj0 = 0;
345 PyObject * _obj1 = 0;
346 PyObject * _obj2 = 0;
347 PyObject * _argo3 = 0;
348 int tempbool6 = (int) TRUE;
349 char *_kwnames[] = { "message","caption","default_value","parent","x","y","centre", NULL };
350
351 self = self;
352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOiii:wxGetTextFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&tempbool6))
353 return NULL;
354 {
355 #if PYTHON_API_VERSION >= 1009
356 char* tmpPtr; int tmpSize;
357 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
358 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
359 return NULL;
360 }
361 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
362 return NULL;
363 _arg0 = new wxString(tmpPtr, tmpSize);
364 #else
365 if (!PyString_Check(_obj0)) {
366 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
367 return NULL;
368 }
369 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
370 #endif
371 }
372 if (_obj1)
373 {
374 #if PYTHON_API_VERSION >= 1009
375 char* tmpPtr; int tmpSize;
376 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
377 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
378 return NULL;
379 }
380 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
381 return NULL;
382 _arg1 = new wxString(tmpPtr, tmpSize);
383 #else
384 if (!PyString_Check(_obj1)) {
385 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
386 return NULL;
387 }
388 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
389 #endif
390 }
391 if (_obj2)
392 {
393 #if PYTHON_API_VERSION >= 1009
394 char* tmpPtr; int tmpSize;
395 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
396 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
397 return NULL;
398 }
399 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
400 return NULL;
401 _arg2 = new wxString(tmpPtr, tmpSize);
402 #else
403 if (!PyString_Check(_obj2)) {
404 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
405 return NULL;
406 }
407 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
408 #endif
409 }
410 if (_argo3) {
411 if (_argo3 == Py_None) { _arg3 = NULL; }
412 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
414 return NULL;
415 }
416 }
417 _arg6 = (bool ) tempbool6;
418 {
419 PyThreadState* __tstate = wxPyBeginAllowThreads();
420 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
421
422 wxPyEndAllowThreads(__tstate);
423 if (PyErr_Occurred()) return NULL;
424 }{
425 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
426 }
427 {
428 if (_obj0)
429 delete _arg0;
430 }
431 {
432 if (_obj1)
433 delete _arg1;
434 }
435 {
436 if (_obj2)
437 delete _arg2;
438 }
439 {
440 delete _result;
441 }
442 return _resultobj;
443 }
444
445 static PyObject *_wrap_wxGetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
446 PyObject * _resultobj;
447 wxString * _result;
448 wxString * _arg0;
449 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
450 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
451 wxWindow * _arg3 = (wxWindow *) NULL;
452 PyObject * _obj0 = 0;
453 PyObject * _obj1 = 0;
454 PyObject * _obj2 = 0;
455 PyObject * _argo3 = 0;
456 char *_kwnames[] = { "message","caption","default_value","parent", NULL };
457
458 self = self;
459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOO:wxGetPasswordFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3))
460 return NULL;
461 {
462 #if PYTHON_API_VERSION >= 1009
463 char* tmpPtr; int tmpSize;
464 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
465 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
466 return NULL;
467 }
468 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
469 return NULL;
470 _arg0 = new wxString(tmpPtr, tmpSize);
471 #else
472 if (!PyString_Check(_obj0)) {
473 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
474 return NULL;
475 }
476 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
477 #endif
478 }
479 if (_obj1)
480 {
481 #if PYTHON_API_VERSION >= 1009
482 char* tmpPtr; int tmpSize;
483 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
484 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
485 return NULL;
486 }
487 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
488 return NULL;
489 _arg1 = new wxString(tmpPtr, tmpSize);
490 #else
491 if (!PyString_Check(_obj1)) {
492 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
493 return NULL;
494 }
495 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
496 #endif
497 }
498 if (_obj2)
499 {
500 #if PYTHON_API_VERSION >= 1009
501 char* tmpPtr; int tmpSize;
502 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
503 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
504 return NULL;
505 }
506 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
507 return NULL;
508 _arg2 = new wxString(tmpPtr, tmpSize);
509 #else
510 if (!PyString_Check(_obj2)) {
511 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
512 return NULL;
513 }
514 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
515 #endif
516 }
517 if (_argo3) {
518 if (_argo3 == Py_None) { _arg3 = NULL; }
519 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
520 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
521 return NULL;
522 }
523 }
524 {
525 PyThreadState* __tstate = wxPyBeginAllowThreads();
526 _result = new wxString (wxGetPasswordFromUser(*_arg0,*_arg1,*_arg2,_arg3));
527
528 wxPyEndAllowThreads(__tstate);
529 if (PyErr_Occurred()) return NULL;
530 }{
531 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
532 }
533 {
534 if (_obj0)
535 delete _arg0;
536 }
537 {
538 if (_obj1)
539 delete _arg1;
540 }
541 {
542 if (_obj2)
543 delete _arg2;
544 }
545 {
546 delete _result;
547 }
548 return _resultobj;
549 }
550
551 static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
552 PyObject * _resultobj;
553 wxString * _result;
554 wxString * _arg0;
555 wxString * _arg1;
556 int _arg2;
557 wxString * _arg3;
558 wxWindow * _arg4 = (wxWindow *) NULL;
559 int _arg5 = (int ) -1;
560 int _arg6 = (int ) -1;
561 bool _arg7 = (bool ) TRUE;
562 int _arg8 = (int ) 150;
563 int _arg9 = (int ) 200;
564 PyObject * _obj0 = 0;
565 PyObject * _obj1 = 0;
566 PyObject * _obj3 = 0;
567 PyObject * _argo4 = 0;
568 int tempbool7 = (int) TRUE;
569 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
570
571 self = self;
572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoice",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
573 return NULL;
574 {
575 #if PYTHON_API_VERSION >= 1009
576 char* tmpPtr; int tmpSize;
577 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
578 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
579 return NULL;
580 }
581 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
582 return NULL;
583 _arg0 = new wxString(tmpPtr, tmpSize);
584 #else
585 if (!PyString_Check(_obj0)) {
586 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
587 return NULL;
588 }
589 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
590 #endif
591 }
592 {
593 #if PYTHON_API_VERSION >= 1009
594 char* tmpPtr; int tmpSize;
595 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
596 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
597 return NULL;
598 }
599 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
600 return NULL;
601 _arg1 = new wxString(tmpPtr, tmpSize);
602 #else
603 if (!PyString_Check(_obj1)) {
604 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
605 return NULL;
606 }
607 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
608 #endif
609 }
610 if (_obj3)
611 {
612 _arg3 = wxString_LIST_helper(_obj3);
613 if (_arg3 == NULL) {
614 return NULL;
615 }
616 }
617 if (_argo4) {
618 if (_argo4 == Py_None) { _arg4 = NULL; }
619 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
620 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
621 return NULL;
622 }
623 }
624 _arg7 = (bool ) tempbool7;
625 {
626 if (_obj3) {
627 _arg2 = PyList_Size(_obj3);
628 }
629 else {
630 _arg2 = 0;
631 }
632 }
633 {
634 PyThreadState* __tstate = wxPyBeginAllowThreads();
635 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
636
637 wxPyEndAllowThreads(__tstate);
638 if (PyErr_Occurred()) return NULL;
639 }{
640 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
641 }
642 {
643 if (_obj0)
644 delete _arg0;
645 }
646 {
647 if (_obj1)
648 delete _arg1;
649 }
650 {
651 delete [] _arg3;
652 }
653 {
654 delete _result;
655 }
656 return _resultobj;
657 }
658
659 static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
660 PyObject * _resultobj;
661 int _result;
662 wxString * _arg0;
663 wxString * _arg1;
664 int _arg2;
665 wxString * _arg3;
666 wxWindow * _arg4 = (wxWindow *) NULL;
667 int _arg5 = (int ) -1;
668 int _arg6 = (int ) -1;
669 bool _arg7 = (bool ) TRUE;
670 int _arg8 = (int ) 150;
671 int _arg9 = (int ) 200;
672 PyObject * _obj0 = 0;
673 PyObject * _obj1 = 0;
674 PyObject * _obj3 = 0;
675 PyObject * _argo4 = 0;
676 int tempbool7 = (int) TRUE;
677 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
681 return NULL;
682 {
683 #if PYTHON_API_VERSION >= 1009
684 char* tmpPtr; int tmpSize;
685 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
686 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
687 return NULL;
688 }
689 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
690 return NULL;
691 _arg0 = new wxString(tmpPtr, tmpSize);
692 #else
693 if (!PyString_Check(_obj0)) {
694 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
695 return NULL;
696 }
697 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
698 #endif
699 }
700 {
701 #if PYTHON_API_VERSION >= 1009
702 char* tmpPtr; int tmpSize;
703 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
704 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
705 return NULL;
706 }
707 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
708 return NULL;
709 _arg1 = new wxString(tmpPtr, tmpSize);
710 #else
711 if (!PyString_Check(_obj1)) {
712 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
713 return NULL;
714 }
715 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
716 #endif
717 }
718 if (_obj3)
719 {
720 _arg3 = wxString_LIST_helper(_obj3);
721 if (_arg3 == NULL) {
722 return NULL;
723 }
724 }
725 if (_argo4) {
726 if (_argo4 == Py_None) { _arg4 = NULL; }
727 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
728 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
729 return NULL;
730 }
731 }
732 _arg7 = (bool ) tempbool7;
733 {
734 if (_obj3) {
735 _arg2 = PyList_Size(_obj3);
736 }
737 else {
738 _arg2 = 0;
739 }
740 }
741 {
742 PyThreadState* __tstate = wxPyBeginAllowThreads();
743 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
744
745 wxPyEndAllowThreads(__tstate);
746 if (PyErr_Occurred()) return NULL;
747 } _resultobj = Py_BuildValue("i",_result);
748 {
749 if (_obj0)
750 delete _arg0;
751 }
752 {
753 if (_obj1)
754 delete _arg1;
755 }
756 {
757 delete [] _arg3;
758 }
759 return _resultobj;
760 }
761
762 static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
763 PyObject * _resultobj;
764 int _result;
765 wxString * _arg0;
766 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
767 int _arg2 = (int ) wxOK|wxCENTRE;
768 wxWindow * _arg3 = (wxWindow *) NULL;
769 int _arg4 = (int ) -1;
770 int _arg5 = (int ) -1;
771 PyObject * _obj0 = 0;
772 PyObject * _obj1 = 0;
773 PyObject * _argo3 = 0;
774 char *_kwnames[] = { "message","caption","style","parent","x","y", NULL };
775
776 self = self;
777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OiOii:wxMessageBox",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4,&_arg5))
778 return NULL;
779 {
780 #if PYTHON_API_VERSION >= 1009
781 char* tmpPtr; int tmpSize;
782 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
783 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
784 return NULL;
785 }
786 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
787 return NULL;
788 _arg0 = new wxString(tmpPtr, tmpSize);
789 #else
790 if (!PyString_Check(_obj0)) {
791 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
792 return NULL;
793 }
794 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
795 #endif
796 }
797 if (_obj1)
798 {
799 #if PYTHON_API_VERSION >= 1009
800 char* tmpPtr; int tmpSize;
801 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
802 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
803 return NULL;
804 }
805 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
806 return NULL;
807 _arg1 = new wxString(tmpPtr, tmpSize);
808 #else
809 if (!PyString_Check(_obj1)) {
810 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
811 return NULL;
812 }
813 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
814 #endif
815 }
816 if (_argo3) {
817 if (_argo3 == Py_None) { _arg3 = NULL; }
818 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
819 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
820 return NULL;
821 }
822 }
823 {
824 PyThreadState* __tstate = wxPyBeginAllowThreads();
825 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
826
827 wxPyEndAllowThreads(__tstate);
828 if (PyErr_Occurred()) return NULL;
829 } _resultobj = Py_BuildValue("i",_result);
830 {
831 if (_obj0)
832 delete _arg0;
833 }
834 {
835 if (_obj1)
836 delete _arg1;
837 }
838 return _resultobj;
839 }
840
841 static PyObject *_wrap_wxGetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
842 PyObject * _resultobj;
843 long _result;
844 wxString * _arg0;
845 wxString * _arg1;
846 wxString * _arg2;
847 long _arg3;
848 long _arg4 = (long ) 0;
849 long _arg5 = (long ) 100;
850 wxWindow * _arg6 = (wxWindow *) NULL;
851 wxPoint * _arg7 = (wxPoint *) &wxDefaultPosition;
852 PyObject * _obj0 = 0;
853 PyObject * _obj1 = 0;
854 PyObject * _obj2 = 0;
855 PyObject * _argo6 = 0;
856 wxPoint temp;
857 PyObject * _obj7 = 0;
858 char *_kwnames[] = { "message","prompt","caption","value","min","max","parent","pos", NULL };
859
860 self = self;
861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOl|llOO:wxGetNumberFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_arg3,&_arg4,&_arg5,&_argo6,&_obj7))
862 return NULL;
863 {
864 #if PYTHON_API_VERSION >= 1009
865 char* tmpPtr; int tmpSize;
866 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
867 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
868 return NULL;
869 }
870 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
871 return NULL;
872 _arg0 = new wxString(tmpPtr, tmpSize);
873 #else
874 if (!PyString_Check(_obj0)) {
875 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
876 return NULL;
877 }
878 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
879 #endif
880 }
881 {
882 #if PYTHON_API_VERSION >= 1009
883 char* tmpPtr; int tmpSize;
884 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
885 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
886 return NULL;
887 }
888 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
889 return NULL;
890 _arg1 = new wxString(tmpPtr, tmpSize);
891 #else
892 if (!PyString_Check(_obj1)) {
893 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
894 return NULL;
895 }
896 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
897 #endif
898 }
899 {
900 #if PYTHON_API_VERSION >= 1009
901 char* tmpPtr; int tmpSize;
902 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
903 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
904 return NULL;
905 }
906 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
907 return NULL;
908 _arg2 = new wxString(tmpPtr, tmpSize);
909 #else
910 if (!PyString_Check(_obj2)) {
911 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
912 return NULL;
913 }
914 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
915 #endif
916 }
917 if (_argo6) {
918 if (_argo6 == Py_None) { _arg6 = NULL; }
919 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
920 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
921 return NULL;
922 }
923 }
924 if (_obj7)
925 {
926 _arg7 = &temp;
927 if (! wxPoint_helper(_obj7, &_arg7))
928 return NULL;
929 }
930 {
931 PyThreadState* __tstate = wxPyBeginAllowThreads();
932 _result = (long )wxGetNumberFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6,*_arg7);
933
934 wxPyEndAllowThreads(__tstate);
935 if (PyErr_Occurred()) return NULL;
936 } _resultobj = Py_BuildValue("l",_result);
937 {
938 if (_obj0)
939 delete _arg0;
940 }
941 {
942 if (_obj1)
943 delete _arg1;
944 }
945 {
946 if (_obj2)
947 delete _arg2;
948 }
949 return _resultobj;
950 }
951
952 static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
953 PyObject * _resultobj;
954 bool _result;
955 char *_kwnames[] = { NULL };
956
957 self = self;
958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxColourDisplay",_kwnames))
959 return NULL;
960 {
961 PyThreadState* __tstate = wxPyBeginAllowThreads();
962 _result = (bool )wxColourDisplay();
963
964 wxPyEndAllowThreads(__tstate);
965 if (PyErr_Occurred()) return NULL;
966 } _resultobj = Py_BuildValue("i",_result);
967 return _resultobj;
968 }
969
970 static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject * _resultobj;
972 int _result;
973 char *_kwnames[] = { NULL };
974
975 self = self;
976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplayDepth",_kwnames))
977 return NULL;
978 {
979 PyThreadState* __tstate = wxPyBeginAllowThreads();
980 _result = (int )wxDisplayDepth();
981
982 wxPyEndAllowThreads(__tstate);
983 if (PyErr_Occurred()) return NULL;
984 } _resultobj = Py_BuildValue("i",_result);
985 return _resultobj;
986 }
987
988 static PyObject *_wrap_wxGetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
989 PyObject * _resultobj;
990 int _result;
991 char *_kwnames[] = { NULL };
992
993 self = self;
994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplayDepth",_kwnames))
995 return NULL;
996 {
997 PyThreadState* __tstate = wxPyBeginAllowThreads();
998 _result = (int )wxGetDisplayDepth();
999
1000 wxPyEndAllowThreads(__tstate);
1001 if (PyErr_Occurred()) return NULL;
1002 } _resultobj = Py_BuildValue("i",_result);
1003 return _resultobj;
1004 }
1005
1006 static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
1007 PyObject * _resultobj;
1008 int * _arg0;
1009 int temp;
1010 int * _arg1;
1011 int temp0;
1012 char *_kwnames[] = { NULL };
1013
1014 self = self;
1015 {
1016 _arg0 = &temp;
1017 }
1018 {
1019 _arg1 = &temp0;
1020 }
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySize",_kwnames))
1022 return NULL;
1023 {
1024 PyThreadState* __tstate = wxPyBeginAllowThreads();
1025 wxDisplaySize(_arg0,_arg1);
1026
1027 wxPyEndAllowThreads(__tstate);
1028 if (PyErr_Occurred()) return NULL;
1029 } Py_INCREF(Py_None);
1030 _resultobj = Py_None;
1031 {
1032 PyObject *o;
1033 o = PyInt_FromLong((long) (*_arg0));
1034 _resultobj = t_output_helper(_resultobj, o);
1035 }
1036 {
1037 PyObject *o;
1038 o = PyInt_FromLong((long) (*_arg1));
1039 _resultobj = t_output_helper(_resultobj, o);
1040 }
1041 return _resultobj;
1042 }
1043
1044 static PyObject *_wrap_wxGetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
1045 PyObject * _resultobj;
1046 wxSize * _result;
1047 char *_kwnames[] = { NULL };
1048 char _ptemp[128];
1049
1050 self = self;
1051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySize",_kwnames))
1052 return NULL;
1053 {
1054 PyThreadState* __tstate = wxPyBeginAllowThreads();
1055 _result = new wxSize (wxGetDisplaySize());
1056
1057 wxPyEndAllowThreads(__tstate);
1058 if (PyErr_Occurred()) return NULL;
1059 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1060 _resultobj = Py_BuildValue("s",_ptemp);
1061 return _resultobj;
1062 }
1063
1064 static PyObject *_wrap_wxDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
1065 PyObject * _resultobj;
1066 int * _arg0;
1067 int temp;
1068 int * _arg1;
1069 int temp0;
1070 char *_kwnames[] = { NULL };
1071
1072 self = self;
1073 {
1074 _arg0 = &temp;
1075 }
1076 {
1077 _arg1 = &temp0;
1078 }
1079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySizeMM",_kwnames))
1080 return NULL;
1081 {
1082 PyThreadState* __tstate = wxPyBeginAllowThreads();
1083 wxDisplaySizeMM(_arg0,_arg1);
1084
1085 wxPyEndAllowThreads(__tstate);
1086 if (PyErr_Occurred()) return NULL;
1087 } Py_INCREF(Py_None);
1088 _resultobj = Py_None;
1089 {
1090 PyObject *o;
1091 o = PyInt_FromLong((long) (*_arg0));
1092 _resultobj = t_output_helper(_resultobj, o);
1093 }
1094 {
1095 PyObject *o;
1096 o = PyInt_FromLong((long) (*_arg1));
1097 _resultobj = t_output_helper(_resultobj, o);
1098 }
1099 return _resultobj;
1100 }
1101
1102 static PyObject *_wrap_wxGetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
1103 PyObject * _resultobj;
1104 wxSize * _result;
1105 char *_kwnames[] = { NULL };
1106 char _ptemp[128];
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySizeMM",_kwnames))
1110 return NULL;
1111 {
1112 PyThreadState* __tstate = wxPyBeginAllowThreads();
1113 _result = new wxSize (wxGetDisplaySizeMM());
1114
1115 wxPyEndAllowThreads(__tstate);
1116 if (PyErr_Occurred()) return NULL;
1117 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1118 _resultobj = Py_BuildValue("s",_ptemp);
1119 return _resultobj;
1120 }
1121
1122 static PyObject *_wrap_wxClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1123 PyObject * _resultobj;
1124 int * _arg0;
1125 int temp;
1126 int * _arg1;
1127 int temp0;
1128 int * _arg2;
1129 int temp1;
1130 int * _arg3;
1131 int temp2;
1132 char *_kwnames[] = { NULL };
1133
1134 self = self;
1135 {
1136 _arg0 = &temp;
1137 }
1138 {
1139 _arg1 = &temp0;
1140 }
1141 {
1142 _arg2 = &temp1;
1143 }
1144 {
1145 _arg3 = &temp2;
1146 }
1147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxClientDisplayRect",_kwnames))
1148 return NULL;
1149 {
1150 PyThreadState* __tstate = wxPyBeginAllowThreads();
1151 wxClientDisplayRect(_arg0,_arg1,_arg2,_arg3);
1152
1153 wxPyEndAllowThreads(__tstate);
1154 if (PyErr_Occurred()) return NULL;
1155 } Py_INCREF(Py_None);
1156 _resultobj = Py_None;
1157 {
1158 PyObject *o;
1159 o = PyInt_FromLong((long) (*_arg0));
1160 _resultobj = t_output_helper(_resultobj, o);
1161 }
1162 {
1163 PyObject *o;
1164 o = PyInt_FromLong((long) (*_arg1));
1165 _resultobj = t_output_helper(_resultobj, o);
1166 }
1167 {
1168 PyObject *o;
1169 o = PyInt_FromLong((long) (*_arg2));
1170 _resultobj = t_output_helper(_resultobj, o);
1171 }
1172 {
1173 PyObject *o;
1174 o = PyInt_FromLong((long) (*_arg3));
1175 _resultobj = t_output_helper(_resultobj, o);
1176 }
1177 return _resultobj;
1178 }
1179
1180 static PyObject *_wrap_wxGetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject * _resultobj;
1182 wxRect * _result;
1183 char *_kwnames[] = { NULL };
1184 char _ptemp[128];
1185
1186 self = self;
1187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetClientDisplayRect",_kwnames))
1188 return NULL;
1189 {
1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
1191 _result = new wxRect (wxGetClientDisplayRect());
1192
1193 wxPyEndAllowThreads(__tstate);
1194 if (PyErr_Occurred()) return NULL;
1195 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1196 _resultobj = Py_BuildValue("s",_ptemp);
1197 return _resultobj;
1198 }
1199
1200 static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1201 PyObject * _resultobj;
1202 wxCursor * _arg0;
1203 PyObject * _argo0 = 0;
1204 char *_kwnames[] = { "cursor", NULL };
1205
1206 self = self;
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSetCursor",_kwnames,&_argo0))
1208 return NULL;
1209 if (_argo0) {
1210 if (_argo0 == Py_None) { _arg0 = NULL; }
1211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
1212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1213 return NULL;
1214 }
1215 }
1216 {
1217 PyThreadState* __tstate = wxPyBeginAllowThreads();
1218 wxSetCursor(*_arg0);
1219
1220 wxPyEndAllowThreads(__tstate);
1221 if (PyErr_Occurred()) return NULL;
1222 } Py_INCREF(Py_None);
1223 _resultobj = Py_None;
1224 return _resultobj;
1225 }
1226
1227 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1228 PyObject * _resultobj;
1229 wxWindow * _result;
1230 wxString * _arg0;
1231 wxWindow * _arg1 = (wxWindow *) NULL;
1232 PyObject * _obj0 = 0;
1233 PyObject * _argo1 = 0;
1234 char *_kwnames[] = { "label","parent", NULL };
1235
1236 self = self;
1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
1238 return NULL;
1239 {
1240 #if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr; int tmpSize;
1242 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1243 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1244 return NULL;
1245 }
1246 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1247 return NULL;
1248 _arg0 = new wxString(tmpPtr, tmpSize);
1249 #else
1250 if (!PyString_Check(_obj0)) {
1251 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1252 return NULL;
1253 }
1254 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1255 #endif
1256 }
1257 if (_argo1) {
1258 if (_argo1 == Py_None) { _arg1 = NULL; }
1259 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1260 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1261 return NULL;
1262 }
1263 }
1264 {
1265 PyThreadState* __tstate = wxPyBeginAllowThreads();
1266 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
1267
1268 wxPyEndAllowThreads(__tstate);
1269 if (PyErr_Occurred()) return NULL;
1270 }{ _resultobj = wxPyMake_wxObject(_result); }
1271 {
1272 if (_obj0)
1273 delete _arg0;
1274 }
1275 return _resultobj;
1276 }
1277
1278 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject * _resultobj;
1280 wxWindow * _result;
1281 wxString * _arg0;
1282 wxWindow * _arg1 = (wxWindow *) NULL;
1283 PyObject * _obj0 = 0;
1284 PyObject * _argo1 = 0;
1285 char *_kwnames[] = { "name","parent", NULL };
1286
1287 self = self;
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
1289 return NULL;
1290 {
1291 #if PYTHON_API_VERSION >= 1009
1292 char* tmpPtr; int tmpSize;
1293 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1294 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1295 return NULL;
1296 }
1297 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1298 return NULL;
1299 _arg0 = new wxString(tmpPtr, tmpSize);
1300 #else
1301 if (!PyString_Check(_obj0)) {
1302 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1303 return NULL;
1304 }
1305 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1306 #endif
1307 }
1308 if (_argo1) {
1309 if (_argo1 == Py_None) { _arg1 = NULL; }
1310 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1311 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1312 return NULL;
1313 }
1314 }
1315 {
1316 PyThreadState* __tstate = wxPyBeginAllowThreads();
1317 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
1318
1319 wxPyEndAllowThreads(__tstate);
1320 if (PyErr_Occurred()) return NULL;
1321 }{ _resultobj = wxPyMake_wxObject(_result); }
1322 {
1323 if (_obj0)
1324 delete _arg0;
1325 }
1326 return _resultobj;
1327 }
1328
1329 static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1330 PyObject * _resultobj;
1331 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
1332 PyObject * _argo0 = 0;
1333 char *_kwnames[] = { "cursor", NULL };
1334
1335 self = self;
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxBeginBusyCursor",_kwnames,&_argo0))
1337 return NULL;
1338 if (_argo0) {
1339 if (_argo0 == Py_None) { _arg0 = NULL; }
1340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
1341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1342 return NULL;
1343 }
1344 }
1345 {
1346 PyThreadState* __tstate = wxPyBeginAllowThreads();
1347 wxBeginBusyCursor(_arg0);
1348
1349 wxPyEndAllowThreads(__tstate);
1350 if (PyErr_Occurred()) return NULL;
1351 } Py_INCREF(Py_None);
1352 _resultobj = Py_None;
1353 return _resultobj;
1354 }
1355
1356 static PyObject *_wrap_wxGetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject * _resultobj;
1358 wxWindow * _result;
1359 char *_kwnames[] = { NULL };
1360
1361 self = self;
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetActiveWindow",_kwnames))
1363 return NULL;
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 _result = (wxWindow *)wxGetActiveWindow();
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) return NULL;
1370 }{ _resultobj = wxPyMake_wxObject(_result); }
1371 return _resultobj;
1372 }
1373
1374 static PyObject *_wrap_wxGenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1375 PyObject * _resultobj;
1376 wxWindow * _result;
1377 wxPoint * _arg0;
1378 wxPoint temp;
1379 PyObject * _obj0 = 0;
1380 char *_kwnames[] = { "pt", NULL };
1381
1382 self = self;
1383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericFindWindowAtPoint",_kwnames,&_obj0))
1384 return NULL;
1385 {
1386 _arg0 = &temp;
1387 if (! wxPoint_helper(_obj0, &_arg0))
1388 return NULL;
1389 }
1390 {
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 _result = (wxWindow *)wxGenericFindWindowAtPoint(*_arg0);
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) return NULL;
1396 }{ _resultobj = wxPyMake_wxObject(_result); }
1397 return _resultobj;
1398 }
1399
1400 static PyObject *_wrap_wxFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject * _resultobj;
1402 wxWindow * _result;
1403 wxPoint * _arg0;
1404 wxPoint temp;
1405 PyObject * _obj0 = 0;
1406 char *_kwnames[] = { "pt", NULL };
1407
1408 self = self;
1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindWindowAtPoint",_kwnames,&_obj0))
1410 return NULL;
1411 {
1412 _arg0 = &temp;
1413 if (! wxPoint_helper(_obj0, &_arg0))
1414 return NULL;
1415 }
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 _result = (wxWindow *)wxFindWindowAtPoint(*_arg0);
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) return NULL;
1422 }{ _resultobj = wxPyMake_wxObject(_result); }
1423 return _resultobj;
1424 }
1425
1426 static PyObject *_wrap_wxCheckForInterrupt(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject * _resultobj;
1428 bool _result;
1429 wxWindow * _arg0;
1430 PyObject * _argo0 = 0;
1431 char *_kwnames[] = { "wnd", NULL };
1432
1433 self = self;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckForInterrupt",_kwnames,&_argo0))
1435 return NULL;
1436 if (_argo0) {
1437 if (_argo0 == Py_None) { _arg0 = NULL; }
1438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1440 return NULL;
1441 }
1442 }
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 _result = (bool )wxCheckForInterrupt(_arg0);
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) return NULL;
1449 } _resultobj = Py_BuildValue("i",_result);
1450 return _resultobj;
1451 }
1452
1453 static PyObject *_wrap_wxFlushEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject * _resultobj;
1455 char *_kwnames[] = { NULL };
1456
1457 self = self;
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFlushEvents",_kwnames))
1459 return NULL;
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 wxFlushEvents();
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) return NULL;
1466 } Py_INCREF(Py_None);
1467 _resultobj = Py_None;
1468 return _resultobj;
1469 }
1470
1471 static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject * _resultobj;
1473 bool _result;
1474 char * _arg0;
1475 int _arg1;
1476 char *_kwnames[] = { "name","value", NULL };
1477
1478 self = self;
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"si:wxResourceAddIdentifier",_kwnames,&_arg0,&_arg1))
1480 return NULL;
1481 {
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
1483 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) return NULL;
1487 } _resultobj = Py_BuildValue("i",_result);
1488 return _resultobj;
1489 }
1490
1491 static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject * _resultobj;
1493 char *_kwnames[] = { NULL };
1494
1495 self = self;
1496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxResourceClear",_kwnames))
1497 return NULL;
1498 {
1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
1500 wxResourceClear();
1501
1502 wxPyEndAllowThreads(__tstate);
1503 if (PyErr_Occurred()) return NULL;
1504 } Py_INCREF(Py_None);
1505 _resultobj = Py_None;
1506 return _resultobj;
1507 }
1508
1509 static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1510 PyObject * _resultobj;
1511 wxBitmap * _result;
1512 char * _arg0;
1513 char *_kwnames[] = { "resource", NULL };
1514 char _ptemp[128];
1515
1516 self = self;
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateBitmap",_kwnames,&_arg0))
1518 return NULL;
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) return NULL;
1525 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1526 _resultobj = Py_BuildValue("s",_ptemp);
1527 return _resultobj;
1528 }
1529
1530 static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject * _resultobj;
1532 wxIcon * _result;
1533 char * _arg0;
1534 char *_kwnames[] = { "resource", NULL };
1535 char _ptemp[128];
1536
1537 self = self;
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateIcon",_kwnames,&_arg0))
1539 return NULL;
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 _result = new wxIcon (wxResourceCreateIcon(_arg0));
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) return NULL;
1546 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
1547 _resultobj = Py_BuildValue("s",_ptemp);
1548 return _resultobj;
1549 }
1550
1551 static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1552 PyObject * _resultobj;
1553 wxMenuBar * _result;
1554 char * _arg0;
1555 char *_kwnames[] = { "resource", NULL };
1556
1557 self = self;
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateMenuBar",_kwnames,&_arg0))
1559 return NULL;
1560 {
1561 PyThreadState* __tstate = wxPyBeginAllowThreads();
1562 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
1563
1564 wxPyEndAllowThreads(__tstate);
1565 if (PyErr_Occurred()) return NULL;
1566 }{ _resultobj = wxPyMake_wxObject(_result); }
1567 return _resultobj;
1568 }
1569
1570 static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
1571 PyObject * _resultobj;
1572 int _result;
1573 char * _arg0;
1574 char *_kwnames[] = { "name", NULL };
1575
1576 self = self;
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceGetIdentifier",_kwnames,&_arg0))
1578 return NULL;
1579 {
1580 PyThreadState* __tstate = wxPyBeginAllowThreads();
1581 _result = (int )wxResourceGetIdentifier(_arg0);
1582
1583 wxPyEndAllowThreads(__tstate);
1584 if (PyErr_Occurred()) return NULL;
1585 } _resultobj = Py_BuildValue("i",_result);
1586 return _resultobj;
1587 }
1588
1589 static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject * _resultobj;
1591 bool _result;
1592 char * _arg0;
1593 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1594 PyObject * _argo1 = 0;
1595 char *_kwnames[] = { "resource","table", NULL };
1596
1597 self = self;
1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseData",_kwnames,&_arg0,&_argo1))
1599 return NULL;
1600 if (_argo1) {
1601 if (_argo1 == Py_None) { _arg1 = NULL; }
1602 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1603 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1604 return NULL;
1605 }
1606 }
1607 {
1608 PyThreadState* __tstate = wxPyBeginAllowThreads();
1609 _result = (bool )wxResourceParseData(_arg0,_arg1);
1610
1611 wxPyEndAllowThreads(__tstate);
1612 if (PyErr_Occurred()) return NULL;
1613 } _resultobj = Py_BuildValue("i",_result);
1614 return _resultobj;
1615 }
1616
1617 static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject * _resultobj;
1619 bool _result;
1620 char * _arg0;
1621 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1622 PyObject * _argo1 = 0;
1623 char *_kwnames[] = { "filename","table", NULL };
1624
1625 self = self;
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseFile",_kwnames,&_arg0,&_argo1))
1627 return NULL;
1628 if (_argo1) {
1629 if (_argo1 == Py_None) { _arg1 = NULL; }
1630 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1631 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1632 return NULL;
1633 }
1634 }
1635 {
1636 PyThreadState* __tstate = wxPyBeginAllowThreads();
1637 _result = (bool )wxResourceParseFile(_arg0,_arg1);
1638
1639 wxPyEndAllowThreads(__tstate);
1640 if (PyErr_Occurred()) return NULL;
1641 } _resultobj = Py_BuildValue("i",_result);
1642 return _resultobj;
1643 }
1644
1645 static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args, PyObject *kwargs) {
1646 PyObject * _resultobj;
1647 bool _result;
1648 char * _arg0;
1649 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1650 PyObject * _argo1 = 0;
1651 char *_kwnames[] = { "resource","table", NULL };
1652
1653 self = self;
1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseString",_kwnames,&_arg0,&_argo1))
1655 return NULL;
1656 if (_argo1) {
1657 if (_argo1 == Py_None) { _arg1 = NULL; }
1658 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1659 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1660 return NULL;
1661 }
1662 }
1663 {
1664 PyThreadState* __tstate = wxPyBeginAllowThreads();
1665 _result = (bool )wxResourceParseString(_arg0,_arg1);
1666
1667 wxPyEndAllowThreads(__tstate);
1668 if (PyErr_Occurred()) return NULL;
1669 } _resultobj = Py_BuildValue("i",_result);
1670 return _resultobj;
1671 }
1672
1673 static PyObject *_wrap_wxCaret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1674 PyObject * _resultobj;
1675 int _result;
1676 char *_kwnames[] = { NULL };
1677
1678 self = self;
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxCaret_GetBlinkTime",_kwnames))
1680 return NULL;
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 _result = (int )wxCaret_GetBlinkTime();
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) return NULL;
1687 } _resultobj = Py_BuildValue("i",_result);
1688 return _resultobj;
1689 }
1690
1691 static PyObject *_wrap_wxCaret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject * _resultobj;
1693 int _arg0;
1694 char *_kwnames[] = { "milliseconds", NULL };
1695
1696 self = self;
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxCaret_SetBlinkTime",_kwnames,&_arg0))
1698 return NULL;
1699 {
1700 PyThreadState* __tstate = wxPyBeginAllowThreads();
1701 wxCaret_SetBlinkTime(_arg0);
1702
1703 wxPyEndAllowThreads(__tstate);
1704 if (PyErr_Occurred()) return NULL;
1705 } Py_INCREF(Py_None);
1706 _resultobj = Py_None;
1707 return _resultobj;
1708 }
1709
1710 static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject * _resultobj;
1712 bool _result;
1713 wxWindow * _arg0 = (wxWindow *) NULL;
1714 PyObject * _argo0 = 0;
1715 char *_kwnames[] = { "win", NULL };
1716
1717 self = self;
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxSafeYield",_kwnames,&_argo0))
1719 return NULL;
1720 if (_argo0) {
1721 if (_argo0 == Py_None) { _arg0 = NULL; }
1722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1724 return NULL;
1725 }
1726 }
1727 {
1728 PyThreadState* __tstate = wxPyBeginAllowThreads();
1729 _result = (bool )wxSafeYield(_arg0);
1730
1731 wxPyEndAllowThreads(__tstate);
1732 if (PyErr_Occurred()) return NULL;
1733 } _resultobj = Py_BuildValue("i",_result);
1734 return _resultobj;
1735 }
1736
1737 static PyObject *_wrap_wxPostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject * _resultobj;
1739 wxEvtHandler * _arg0;
1740 wxEvent * _arg1;
1741 PyObject * _argo0 = 0;
1742 PyObject * _argo1 = 0;
1743 char *_kwnames[] = { "dest","event", NULL };
1744
1745 self = self;
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostEvent",_kwnames,&_argo0,&_argo1))
1747 return NULL;
1748 if (_argo0) {
1749 if (_argo0 == Py_None) { _arg0 = NULL; }
1750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1752 return NULL;
1753 }
1754 }
1755 if (_argo1) {
1756 if (_argo1 == Py_None) { _arg1 = NULL; }
1757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
1758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1759 return NULL;
1760 }
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 wxPostEvent(_arg0,*_arg1);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) return NULL;
1768 } Py_INCREF(Py_None);
1769 _resultobj = Py_None;
1770 return _resultobj;
1771 }
1772
1773 static PyObject *_wrap_wxWakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject * _resultobj;
1775 char *_kwnames[] = { NULL };
1776
1777 self = self;
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWakeUpIdle",_kwnames))
1779 return NULL;
1780 {
1781 PyThreadState* __tstate = wxPyBeginAllowThreads();
1782 wxWakeUpIdle();
1783
1784 wxPyEndAllowThreads(__tstate);
1785 if (PyErr_Occurred()) return NULL;
1786 } Py_INCREF(Py_None);
1787 _resultobj = Py_None;
1788 return _resultobj;
1789 }
1790
1791 static PyObject *_wrap_wxWakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject * _resultobj;
1793 char *_kwnames[] = { NULL };
1794
1795 self = self;
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWakeUpMainThread",_kwnames))
1797 return NULL;
1798 {
1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
1800 wxWakeUpMainThread();
1801
1802 wxPyEndAllowThreads(__tstate);
1803 if (PyErr_Occurred()) return NULL;
1804 } Py_INCREF(Py_None);
1805 _resultobj = Py_None;
1806 return _resultobj;
1807 }
1808
1809 static PyObject *_wrap_wxMutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject * _resultobj;
1811 char *_kwnames[] = { NULL };
1812
1813 self = self;
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMutexGuiEnter",_kwnames))
1815 return NULL;
1816 {
1817 PyThreadState* __tstate = wxPyBeginAllowThreads();
1818 wxMutexGuiEnter();
1819
1820 wxPyEndAllowThreads(__tstate);
1821 if (PyErr_Occurred()) return NULL;
1822 } Py_INCREF(Py_None);
1823 _resultobj = Py_None;
1824 return _resultobj;
1825 }
1826
1827 static PyObject *_wrap_wxMutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject * _resultobj;
1829 char *_kwnames[] = { NULL };
1830
1831 self = self;
1832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMutexGuiLeave",_kwnames))
1833 return NULL;
1834 {
1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
1836 wxMutexGuiLeave();
1837
1838 wxPyEndAllowThreads(__tstate);
1839 if (PyErr_Occurred()) return NULL;
1840 } Py_INCREF(Py_None);
1841 _resultobj = Py_None;
1842 return _resultobj;
1843 }
1844
1845 static PyObject *_wrap_wxThread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
1846 PyObject * _resultobj;
1847 bool _result;
1848 char *_kwnames[] = { NULL };
1849
1850 self = self;
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxThread_IsMain",_kwnames))
1852 return NULL;
1853 {
1854 PyThreadState* __tstate = wxPyBeginAllowThreads();
1855 _result = (bool )wxThread_IsMain();
1856
1857 wxPyEndAllowThreads(__tstate);
1858 if (PyErr_Occurred()) return NULL;
1859 } _resultobj = Py_BuildValue("i",_result);
1860 return _resultobj;
1861 }
1862
1863 static PyObject *_wrap_wxShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1864 PyObject * _resultobj;
1865 bool _result;
1866 wxWindow * _arg0;
1867 wxTipProvider * _arg1;
1868 bool _arg2 = (bool ) TRUE;
1869 PyObject * _argo0 = 0;
1870 PyObject * _argo1 = 0;
1871 int tempbool2 = (int) TRUE;
1872 char *_kwnames[] = { "parent","tipProvider","showAtStartup", NULL };
1873
1874 self = self;
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxShowTip",_kwnames,&_argo0,&_argo1,&tempbool2))
1876 return NULL;
1877 if (_argo0) {
1878 if (_argo0 == Py_None) { _arg0 = NULL; }
1879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1881 return NULL;
1882 }
1883 }
1884 if (_argo1) {
1885 if (_argo1 == Py_None) { _arg1 = NULL; }
1886 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTipProvider_p")) {
1887 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1888 return NULL;
1889 }
1890 }
1891 _arg2 = (bool ) tempbool2;
1892 {
1893 PyThreadState* __tstate = wxPyBeginAllowThreads();
1894 _result = (bool )wxShowTip(_arg0,_arg1,_arg2);
1895
1896 wxPyEndAllowThreads(__tstate);
1897 if (PyErr_Occurred()) return NULL;
1898 } _resultobj = Py_BuildValue("i",_result);
1899 return _resultobj;
1900 }
1901
1902 static PyObject *_wrap_wxCreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
1903 PyObject * _resultobj;
1904 wxTipProvider * _result;
1905 wxString * _arg0;
1906 size_t _arg1;
1907 PyObject * _obj0 = 0;
1908 char *_kwnames[] = { "filename","currentTip", NULL };
1909 char _ptemp[128];
1910
1911 self = self;
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCreateFileTipProvider",_kwnames,&_obj0,&_arg1))
1913 return NULL;
1914 {
1915 #if PYTHON_API_VERSION >= 1009
1916 char* tmpPtr; int tmpSize;
1917 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1918 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1919 return NULL;
1920 }
1921 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1922 return NULL;
1923 _arg0 = new wxString(tmpPtr, tmpSize);
1924 #else
1925 if (!PyString_Check(_obj0)) {
1926 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1927 return NULL;
1928 }
1929 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1930 #endif
1931 }
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 _result = (wxTipProvider *)wxCreateFileTipProvider(*_arg0,_arg1);
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) return NULL;
1938 } if (_result) {
1939 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipProvider_p");
1940 _resultobj = Py_BuildValue("s",_ptemp);
1941 } else {
1942 Py_INCREF(Py_None);
1943 _resultobj = Py_None;
1944 }
1945 {
1946 if (_obj0)
1947 delete _arg0;
1948 }
1949 return _resultobj;
1950 }
1951
1952 static PyObject *_wrap_wxSysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject * _resultobj;
1954 unsigned long _result;
1955 char *_kwnames[] = { NULL };
1956
1957 self = self;
1958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxSysErrorCode",_kwnames))
1959 return NULL;
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 _result = (unsigned long )wxSysErrorCode();
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) return NULL;
1966 } _resultobj = Py_BuildValue("l",_result);
1967 return _resultobj;
1968 }
1969
1970 static PyObject *_wrap_wxSysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject * _resultobj;
1972 char * _result;
1973 unsigned long _arg0 = (unsigned long ) 0;
1974 char *_kwnames[] = { "nErrCode", NULL };
1975
1976 self = self;
1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:wxSysErrorMsg",_kwnames,&_arg0))
1978 return NULL;
1979 {
1980 PyThreadState* __tstate = wxPyBeginAllowThreads();
1981 _result = (char *)wxSysErrorMsg(_arg0);
1982
1983 wxPyEndAllowThreads(__tstate);
1984 if (PyErr_Occurred()) return NULL;
1985 } _resultobj = Py_BuildValue("s", _result);
1986 return _resultobj;
1987 }
1988
1989 static PyObject *_wrap_wxLogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject * _resultobj;
1991 char * _arg0;
1992 char *_kwnames[] = { "szFormat", NULL };
1993
1994 self = self;
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogFatalError",_kwnames,&_arg0))
1996 return NULL;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 wxLogFatalError(_arg0);
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) return NULL;
2003 } Py_INCREF(Py_None);
2004 _resultobj = Py_None;
2005 return _resultobj;
2006 }
2007
2008 static PyObject *_wrap_wxLogError(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject * _resultobj;
2010 char * _arg0;
2011 char *_kwnames[] = { "szFormat", NULL };
2012
2013 self = self;
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogError",_kwnames,&_arg0))
2015 return NULL;
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 wxLogError(_arg0);
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) return NULL;
2022 } Py_INCREF(Py_None);
2023 _resultobj = Py_None;
2024 return _resultobj;
2025 }
2026
2027 static PyObject *_wrap_wxLogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject * _resultobj;
2029 char * _arg0;
2030 char *_kwnames[] = { "szFormat", NULL };
2031
2032 self = self;
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogWarning",_kwnames,&_arg0))
2034 return NULL;
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 wxLogWarning(_arg0);
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) return NULL;
2041 } Py_INCREF(Py_None);
2042 _resultobj = Py_None;
2043 return _resultobj;
2044 }
2045
2046 static PyObject *_wrap_wxLogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject * _resultobj;
2048 char * _arg0;
2049 char *_kwnames[] = { "szFormat", NULL };
2050
2051 self = self;
2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogMessage",_kwnames,&_arg0))
2053 return NULL;
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 wxLogMessage(_arg0);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) return NULL;
2060 } Py_INCREF(Py_None);
2061 _resultobj = Py_None;
2062 return _resultobj;
2063 }
2064
2065 static PyObject *_wrap_wxLogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2066 PyObject * _resultobj;
2067 char * _arg0;
2068 char *_kwnames[] = { "szFormat", NULL };
2069
2070 self = self;
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogInfo",_kwnames,&_arg0))
2072 return NULL;
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
2075 wxLogInfo(_arg0);
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) return NULL;
2079 } Py_INCREF(Py_None);
2080 _resultobj = Py_None;
2081 return _resultobj;
2082 }
2083
2084 static PyObject *_wrap_wxLogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject * _resultobj;
2086 char * _arg0;
2087 char *_kwnames[] = { "szFormat", NULL };
2088
2089 self = self;
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogVerbose",_kwnames,&_arg0))
2091 return NULL;
2092 {
2093 PyThreadState* __tstate = wxPyBeginAllowThreads();
2094 wxLogVerbose(_arg0);
2095
2096 wxPyEndAllowThreads(__tstate);
2097 if (PyErr_Occurred()) return NULL;
2098 } Py_INCREF(Py_None);
2099 _resultobj = Py_None;
2100 return _resultobj;
2101 }
2102
2103 static PyObject *_wrap_wxLogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject * _resultobj;
2105 char * _arg0;
2106 char *_kwnames[] = { "szFormat", NULL };
2107
2108 self = self;
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogStatus",_kwnames,&_arg0))
2110 return NULL;
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 wxLogStatus(_arg0);
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) return NULL;
2117 } Py_INCREF(Py_None);
2118 _resultobj = Py_None;
2119 return _resultobj;
2120 }
2121
2122 static PyObject *_wrap_wxLogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject * _resultobj;
2124 wxFrame * _arg0;
2125 char * _arg1;
2126 PyObject * _argo0 = 0;
2127 char *_kwnames[] = { "pFrame","szFormat", NULL };
2128
2129 self = self;
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxLogStatusFrame",_kwnames,&_argo0,&_arg1))
2131 return NULL;
2132 if (_argo0) {
2133 if (_argo0 == Py_None) { _arg0 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2136 return NULL;
2137 }
2138 }
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 wxLogStatus(_arg0,_arg1);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) return NULL;
2145 } Py_INCREF(Py_None);
2146 _resultobj = Py_None;
2147 return _resultobj;
2148 }
2149
2150 static PyObject *_wrap_wxLogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject * _resultobj;
2152 char * _arg0;
2153 char *_kwnames[] = { "szFormat", NULL };
2154
2155 self = self;
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogSysError",_kwnames,&_arg0))
2157 return NULL;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 wxLogSysError(_arg0);
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) return NULL;
2164 } Py_INCREF(Py_None);
2165 _resultobj = Py_None;
2166 return _resultobj;
2167 }
2168
2169 static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
2170 PyObject * _resultobj;
2171 long _result;
2172 wxString * _arg0;
2173 int _arg1 = (int ) FALSE;
2174 wxPyProcess * _arg2 = (wxPyProcess *) NULL;
2175 PyObject * _obj0 = 0;
2176 PyObject * _argo2 = 0;
2177 char *_kwnames[] = { "command","sync","process", NULL };
2178
2179 self = self;
2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxExecute",_kwnames,&_obj0,&_arg1,&_argo2))
2181 return NULL;
2182 {
2183 #if PYTHON_API_VERSION >= 1009
2184 char* tmpPtr; int tmpSize;
2185 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2186 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2187 return NULL;
2188 }
2189 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2190 return NULL;
2191 _arg0 = new wxString(tmpPtr, tmpSize);
2192 #else
2193 if (!PyString_Check(_obj0)) {
2194 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2195 return NULL;
2196 }
2197 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2198 #endif
2199 }
2200 if (_argo2) {
2201 if (_argo2 == Py_None) { _arg2 = NULL; }
2202 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyProcess_p")) {
2203 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2204 return NULL;
2205 }
2206 }
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 _result = (long )wxExecute(*_arg0,_arg1,_arg2);
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) return NULL;
2213 } _resultobj = Py_BuildValue("l",_result);
2214 {
2215 if (_obj0)
2216 delete _arg0;
2217 }
2218 return _resultobj;
2219 }
2220
2221 static PyObject *_wrap_wxWaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject * _resultobj;
2223 wxWave * _result;
2224 wxString * _arg0;
2225 PyObject * _obj0 = 0;
2226 char *_kwnames[] = { "data", NULL };
2227 char _ptemp[128];
2228
2229 self = self;
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWaveData",_kwnames,&_obj0))
2231 return NULL;
2232 {
2233 #if PYTHON_API_VERSION >= 1009
2234 char* tmpPtr; int tmpSize;
2235 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2236 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2237 return NULL;
2238 }
2239 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2240 return NULL;
2241 _arg0 = new wxString(tmpPtr, tmpSize);
2242 #else
2243 if (!PyString_Check(_obj0)) {
2244 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2245 return NULL;
2246 }
2247 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2248 #endif
2249 }
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 _result = (wxWave *)wxWaveData(*_arg0);
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) return NULL;
2256 } if (_result) {
2257 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
2258 _resultobj = Py_BuildValue("s",_ptemp);
2259 } else {
2260 Py_INCREF(Py_None);
2261 _resultobj = Py_None;
2262 }
2263 {
2264 if (_obj0)
2265 delete _arg0;
2266 }
2267 return _resultobj;
2268 }
2269
2270 static int _wrap_wxTheMimeTypesManager_set(PyObject *val) {
2271
2272 PyErr_SetString(PyExc_TypeError,"Variable wxTheMimeTypesManager is read-only.");
2273 return 1;
2274 }
2275
2276 static PyObject *_wrap_wxTheMimeTypesManager_get() {
2277 PyObject * pyobj;
2278 char ptemp[128];
2279
2280 SWIG_MakePtr(ptemp, (char *) wxTheMimeTypesManager,"_wxMimeTypesManager_p");
2281 pyobj = PyString_FromString(ptemp);
2282 return pyobj;
2283 }
2284
2285 static PyObject *_wrap_wxSystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject * _resultobj;
2287 wxColour * _result;
2288 wxSystemColour _arg0;
2289 char *_kwnames[] = { "index", NULL };
2290 char _ptemp[128];
2291
2292 self = self;
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetColour",_kwnames,&_arg0))
2294 return NULL;
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 _result = new wxColour (wxSystemSettings::GetColour(_arg0));
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) return NULL;
2301 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2302 _resultobj = Py_BuildValue("s",_ptemp);
2303 return _resultobj;
2304 }
2305
2306 static PyObject *_wrap_wxSystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2307 PyObject * _resultobj;
2308 wxFont * _result;
2309 wxSystemFont _arg0;
2310 char *_kwnames[] = { "index", NULL };
2311 char _ptemp[128];
2312
2313 self = self;
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetFont",_kwnames,&_arg0))
2315 return NULL;
2316 {
2317 PyThreadState* __tstate = wxPyBeginAllowThreads();
2318 _result = new wxFont (wxSystemSettings::GetFont(_arg0));
2319
2320 wxPyEndAllowThreads(__tstate);
2321 if (PyErr_Occurred()) return NULL;
2322 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2323 _resultobj = Py_BuildValue("s",_ptemp);
2324 return _resultobj;
2325 }
2326
2327 static PyObject *_wrap_wxSystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject * _resultobj;
2329 int _result;
2330 wxSystemMetric _arg0;
2331 char *_kwnames[] = { "index", NULL };
2332
2333 self = self;
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetMetric",_kwnames,&_arg0))
2335 return NULL;
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 _result = (int )wxSystemSettings::GetMetric(_arg0);
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) return NULL;
2342 } _resultobj = Py_BuildValue("i",_result);
2343 return _resultobj;
2344 }
2345
2346 static PyObject *_wrap_wxSystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
2347 PyObject * _resultobj;
2348 bool _result;
2349 wxSystemFeature _arg0;
2350 char *_kwnames[] = { "index", NULL };
2351
2352 self = self;
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_HasFeature",_kwnames,&_arg0))
2354 return NULL;
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 _result = (bool )wxSystemSettings::HasFeature(_arg0);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) return NULL;
2361 } _resultobj = Py_BuildValue("i",_result);
2362 return _resultobj;
2363 }
2364
2365 static void *SwigwxToolTipTowxObject(void *ptr) {
2366 wxToolTip *src;
2367 wxObject *dest;
2368 src = (wxToolTip *) ptr;
2369 dest = (wxObject *) src;
2370 return (void *) dest;
2371 }
2372
2373 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2374 static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject * _resultobj;
2376 wxToolTip * _result;
2377 wxString * _arg0;
2378 PyObject * _obj0 = 0;
2379 char *_kwnames[] = { "tip", NULL };
2380 char _ptemp[128];
2381
2382 self = self;
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
2384 return NULL;
2385 {
2386 #if PYTHON_API_VERSION >= 1009
2387 char* tmpPtr; int tmpSize;
2388 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2389 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2390 return NULL;
2391 }
2392 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2393 return NULL;
2394 _arg0 = new wxString(tmpPtr, tmpSize);
2395 #else
2396 if (!PyString_Check(_obj0)) {
2397 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2398 return NULL;
2399 }
2400 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2401 #endif
2402 }
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 _result = (wxToolTip *)new_wxToolTip(*_arg0);
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) return NULL;
2409 } if (_result) {
2410 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
2411 _resultobj = Py_BuildValue("s",_ptemp);
2412 } else {
2413 Py_INCREF(Py_None);
2414 _resultobj = Py_None;
2415 }
2416 {
2417 if (_obj0)
2418 delete _arg0;
2419 }
2420 return _resultobj;
2421 }
2422
2423 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2424 static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject * _resultobj;
2426 wxToolTip * _arg0;
2427 wxString * _arg1;
2428 PyObject * _argo0 = 0;
2429 PyObject * _obj1 = 0;
2430 char *_kwnames[] = { "self","tip", NULL };
2431
2432 self = self;
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
2434 return NULL;
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2439 return NULL;
2440 }
2441 }
2442 {
2443 #if PYTHON_API_VERSION >= 1009
2444 char* tmpPtr; int tmpSize;
2445 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2446 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2447 return NULL;
2448 }
2449 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2450 return NULL;
2451 _arg1 = new wxString(tmpPtr, tmpSize);
2452 #else
2453 if (!PyString_Check(_obj1)) {
2454 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2455 return NULL;
2456 }
2457 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2458 #endif
2459 }
2460 {
2461 PyThreadState* __tstate = wxPyBeginAllowThreads();
2462 wxToolTip_SetTip(_arg0,*_arg1);
2463
2464 wxPyEndAllowThreads(__tstate);
2465 if (PyErr_Occurred()) return NULL;
2466 } Py_INCREF(Py_None);
2467 _resultobj = Py_None;
2468 {
2469 if (_obj1)
2470 delete _arg1;
2471 }
2472 return _resultobj;
2473 }
2474
2475 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2476 static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2477 PyObject * _resultobj;
2478 wxString * _result;
2479 wxToolTip * _arg0;
2480 PyObject * _argo0 = 0;
2481 char *_kwnames[] = { "self", NULL };
2482
2483 self = self;
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
2485 return NULL;
2486 if (_argo0) {
2487 if (_argo0 == Py_None) { _arg0 = NULL; }
2488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2490 return NULL;
2491 }
2492 }
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 _result = new wxString (wxToolTip_GetTip(_arg0));
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) return NULL;
2499 }{
2500 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2501 }
2502 {
2503 delete _result;
2504 }
2505 return _resultobj;
2506 }
2507
2508 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2509 static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject * _resultobj;
2511 wxWindow * _result;
2512 wxToolTip * _arg0;
2513 PyObject * _argo0 = 0;
2514 char *_kwnames[] = { "self", NULL };
2515
2516 self = self;
2517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
2518 return NULL;
2519 if (_argo0) {
2520 if (_argo0 == Py_None) { _arg0 = NULL; }
2521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2523 return NULL;
2524 }
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) return NULL;
2532 }{ _resultobj = wxPyMake_wxObject(_result); }
2533 return _resultobj;
2534 }
2535
2536 static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject * _resultobj;
2538 bool _arg0;
2539 int tempbool0;
2540 char *_kwnames[] = { "flag", NULL };
2541
2542 self = self;
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
2544 return NULL;
2545 _arg0 = (bool ) tempbool0;
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
2548 wxToolTip::Enable(_arg0);
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) return NULL;
2552 } Py_INCREF(Py_None);
2553 _resultobj = Py_None;
2554 return _resultobj;
2555 }
2556
2557 static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject * _resultobj;
2559 long _arg0;
2560 char *_kwnames[] = { "milliseconds", NULL };
2561
2562 self = self;
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
2564 return NULL;
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 wxToolTip::SetDelay(_arg0);
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) return NULL;
2571 } Py_INCREF(Py_None);
2572 _resultobj = Py_None;
2573 return _resultobj;
2574 }
2575
2576 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2577 static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2578 PyObject * _resultobj;
2579 wxCaret * _result;
2580 wxWindow * _arg0;
2581 wxSize * _arg1;
2582 PyObject * _argo0 = 0;
2583 wxSize temp;
2584 PyObject * _obj1 = 0;
2585 char *_kwnames[] = { "window","size", NULL };
2586 char _ptemp[128];
2587
2588 self = self;
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1))
2590 return NULL;
2591 if (_argo0) {
2592 if (_argo0 == Py_None) { _arg0 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2595 return NULL;
2596 }
2597 }
2598 {
2599 _arg1 = &temp;
2600 if (! wxSize_helper(_obj1, &_arg1))
2601 return NULL;
2602 }
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 _result = (wxCaret *)new_wxCaret(_arg0,*_arg1);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) return NULL;
2609 } if (_result) {
2610 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
2611 _resultobj = Py_BuildValue("s",_ptemp);
2612 } else {
2613 Py_INCREF(Py_None);
2614 _resultobj = Py_None;
2615 }
2616 return _resultobj;
2617 }
2618
2619 #define delete_wxCaret(_swigobj) (delete _swigobj)
2620 static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject * _resultobj;
2622 wxCaret * _arg0;
2623 PyObject * _argo0 = 0;
2624 char *_kwnames[] = { "self", NULL };
2625
2626 self = self;
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0))
2628 return NULL;
2629 if (_argo0) {
2630 if (_argo0 == Py_None) { _arg0 = NULL; }
2631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2633 return NULL;
2634 }
2635 }
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 delete_wxCaret(_arg0);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) return NULL;
2642 } Py_INCREF(Py_None);
2643 _resultobj = Py_None;
2644 return _resultobj;
2645 }
2646
2647 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2648 static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject * _resultobj;
2650 bool _result;
2651 wxCaret * _arg0;
2652 PyObject * _argo0 = 0;
2653 char *_kwnames[] = { "self", NULL };
2654
2655 self = self;
2656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0))
2657 return NULL;
2658 if (_argo0) {
2659 if (_argo0 == Py_None) { _arg0 = NULL; }
2660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2662 return NULL;
2663 }
2664 }
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 _result = (bool )wxCaret_IsOk(_arg0);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) return NULL;
2671 } _resultobj = Py_BuildValue("i",_result);
2672 return _resultobj;
2673 }
2674
2675 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2676 static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2677 PyObject * _resultobj;
2678 bool _result;
2679 wxCaret * _arg0;
2680 PyObject * _argo0 = 0;
2681 char *_kwnames[] = { "self", NULL };
2682
2683 self = self;
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0))
2685 return NULL;
2686 if (_argo0) {
2687 if (_argo0 == Py_None) { _arg0 = NULL; }
2688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2690 return NULL;
2691 }
2692 }
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 _result = (bool )wxCaret_IsVisible(_arg0);
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) return NULL;
2699 } _resultobj = Py_BuildValue("i",_result);
2700 return _resultobj;
2701 }
2702
2703 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2704 static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2705 PyObject * _resultobj;
2706 wxCaret * _arg0;
2707 int * _arg1;
2708 int temp;
2709 int * _arg2;
2710 int temp0;
2711 PyObject * _argo0 = 0;
2712 char *_kwnames[] = { "self", NULL };
2713
2714 self = self;
2715 {
2716 _arg1 = &temp;
2717 }
2718 {
2719 _arg2 = &temp0;
2720 }
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0))
2722 return NULL;
2723 if (_argo0) {
2724 if (_argo0 == Py_None) { _arg0 = NULL; }
2725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2727 return NULL;
2728 }
2729 }
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 wxCaret_GetPositionTuple(_arg0,_arg1,_arg2);
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) return NULL;
2736 } Py_INCREF(Py_None);
2737 _resultobj = Py_None;
2738 {
2739 PyObject *o;
2740 o = PyInt_FromLong((long) (*_arg1));
2741 _resultobj = t_output_helper(_resultobj, o);
2742 }
2743 {
2744 PyObject *o;
2745 o = PyInt_FromLong((long) (*_arg2));
2746 _resultobj = t_output_helper(_resultobj, o);
2747 }
2748 return _resultobj;
2749 }
2750
2751 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2752 static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject * _resultobj;
2754 wxPoint * _result;
2755 wxCaret * _arg0;
2756 PyObject * _argo0 = 0;
2757 char *_kwnames[] = { "self", NULL };
2758 char _ptemp[128];
2759
2760 self = self;
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_kwnames,&_argo0))
2762 return NULL;
2763 if (_argo0) {
2764 if (_argo0 == Py_None) { _arg0 = NULL; }
2765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2767 return NULL;
2768 }
2769 }
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 _result = new wxPoint (wxCaret_GetPosition(_arg0));
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) return NULL;
2776 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2777 _resultobj = Py_BuildValue("s",_ptemp);
2778 return _resultobj;
2779 }
2780
2781 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2782 static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject * _resultobj;
2784 wxCaret * _arg0;
2785 int * _arg1;
2786 int temp;
2787 int * _arg2;
2788 int temp0;
2789 PyObject * _argo0 = 0;
2790 char *_kwnames[] = { "self", NULL };
2791
2792 self = self;
2793 {
2794 _arg1 = &temp;
2795 }
2796 {
2797 _arg2 = &temp0;
2798 }
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0))
2800 return NULL;
2801 if (_argo0) {
2802 if (_argo0 == Py_None) { _arg0 = NULL; }
2803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2805 return NULL;
2806 }
2807 }
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 wxCaret_GetSizeTuple(_arg0,_arg1,_arg2);
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) return NULL;
2814 } Py_INCREF(Py_None);
2815 _resultobj = Py_None;
2816 {
2817 PyObject *o;
2818 o = PyInt_FromLong((long) (*_arg1));
2819 _resultobj = t_output_helper(_resultobj, o);
2820 }
2821 {
2822 PyObject *o;
2823 o = PyInt_FromLong((long) (*_arg2));
2824 _resultobj = t_output_helper(_resultobj, o);
2825 }
2826 return _resultobj;
2827 }
2828
2829 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2830 static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject * _resultobj;
2832 wxSize * _result;
2833 wxCaret * _arg0;
2834 PyObject * _argo0 = 0;
2835 char *_kwnames[] = { "self", NULL };
2836 char _ptemp[128];
2837
2838 self = self;
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0))
2840 return NULL;
2841 if (_argo0) {
2842 if (_argo0 == Py_None) { _arg0 = NULL; }
2843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2845 return NULL;
2846 }
2847 }
2848 {
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 _result = new wxSize (wxCaret_GetSize(_arg0));
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) return NULL;
2854 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2855 _resultobj = Py_BuildValue("s",_ptemp);
2856 return _resultobj;
2857 }
2858
2859 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2860 static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject * _resultobj;
2862 wxWindow * _result;
2863 wxCaret * _arg0;
2864 PyObject * _argo0 = 0;
2865 char *_kwnames[] = { "self", NULL };
2866
2867 self = self;
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0))
2869 return NULL;
2870 if (_argo0) {
2871 if (_argo0 == Py_None) { _arg0 = NULL; }
2872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2874 return NULL;
2875 }
2876 }
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 _result = (wxWindow *)wxCaret_GetWindow(_arg0);
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) return NULL;
2883 }{ _resultobj = wxPyMake_wxObject(_result); }
2884 return _resultobj;
2885 }
2886
2887 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2888 static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject * _resultobj;
2890 wxCaret * _arg0;
2891 int _arg1;
2892 int _arg2;
2893 PyObject * _argo0 = 0;
2894 char *_kwnames[] = { "self","x","y", NULL };
2895
2896 self = self;
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
2898 return NULL;
2899 if (_argo0) {
2900 if (_argo0 == Py_None) { _arg0 = NULL; }
2901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2903 return NULL;
2904 }
2905 }
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 wxCaret_MoveXY(_arg0,_arg1,_arg2);
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) return NULL;
2912 } Py_INCREF(Py_None);
2913 _resultobj = Py_None;
2914 return _resultobj;
2915 }
2916
2917 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2918 static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject * _resultobj;
2920 wxCaret * _arg0;
2921 wxPoint * _arg1;
2922 PyObject * _argo0 = 0;
2923 wxPoint temp;
2924 PyObject * _obj1 = 0;
2925 char *_kwnames[] = { "self","pt", NULL };
2926
2927 self = self;
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1))
2929 return NULL;
2930 if (_argo0) {
2931 if (_argo0 == Py_None) { _arg0 = NULL; }
2932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2934 return NULL;
2935 }
2936 }
2937 {
2938 _arg1 = &temp;
2939 if (! wxPoint_helper(_obj1, &_arg1))
2940 return NULL;
2941 }
2942 {
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 wxCaret_Move(_arg0,*_arg1);
2945
2946 wxPyEndAllowThreads(__tstate);
2947 if (PyErr_Occurred()) return NULL;
2948 } Py_INCREF(Py_None);
2949 _resultobj = Py_None;
2950 return _resultobj;
2951 }
2952
2953 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2954 static PyObject *_wrap_wxCaret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject * _resultobj;
2956 wxCaret * _arg0;
2957 int _arg1;
2958 int _arg2;
2959 PyObject * _argo0 = 0;
2960 char *_kwnames[] = { "self","width","height", NULL };
2961
2962 self = self;
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_SetSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
2964 return NULL;
2965 if (_argo0) {
2966 if (_argo0 == Py_None) { _arg0 = NULL; }
2967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2969 return NULL;
2970 }
2971 }
2972 {
2973 PyThreadState* __tstate = wxPyBeginAllowThreads();
2974 wxCaret_SetSizeWH(_arg0,_arg1,_arg2);
2975
2976 wxPyEndAllowThreads(__tstate);
2977 if (PyErr_Occurred()) return NULL;
2978 } Py_INCREF(Py_None);
2979 _resultobj = Py_None;
2980 return _resultobj;
2981 }
2982
2983 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2984 static PyObject *_wrap_wxCaret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2985 PyObject * _resultobj;
2986 wxCaret * _arg0;
2987 wxSize * _arg1;
2988 PyObject * _argo0 = 0;
2989 wxSize temp;
2990 PyObject * _obj1 = 0;
2991 char *_kwnames[] = { "self","size", NULL };
2992
2993 self = self;
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_SetSize",_kwnames,&_argo0,&_obj1))
2995 return NULL;
2996 if (_argo0) {
2997 if (_argo0 == Py_None) { _arg0 = NULL; }
2998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3000 return NULL;
3001 }
3002 }
3003 {
3004 _arg1 = &temp;
3005 if (! wxSize_helper(_obj1, &_arg1))
3006 return NULL;
3007 }
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 wxCaret_SetSize(_arg0,*_arg1);
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) return NULL;
3014 } Py_INCREF(Py_None);
3015 _resultobj = Py_None;
3016 return _resultobj;
3017 }
3018
3019 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3020 static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3021 PyObject * _resultobj;
3022 wxCaret * _arg0;
3023 int _arg1 = (int ) TRUE;
3024 PyObject * _argo0 = 0;
3025 char *_kwnames[] = { "self","show", NULL };
3026
3027 self = self;
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
3029 return NULL;
3030 if (_argo0) {
3031 if (_argo0 == Py_None) { _arg0 = NULL; }
3032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3034 return NULL;
3035 }
3036 }
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 wxCaret_Show(_arg0,_arg1);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) return NULL;
3043 } Py_INCREF(Py_None);
3044 _resultobj = Py_None;
3045 return _resultobj;
3046 }
3047
3048 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3049 static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject * _resultobj;
3051 wxCaret * _arg0;
3052 PyObject * _argo0 = 0;
3053 char *_kwnames[] = { "self", NULL };
3054
3055 self = self;
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
3057 return NULL;
3058 if (_argo0) {
3059 if (_argo0 == Py_None) { _arg0 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3062 return NULL;
3063 }
3064 }
3065 {
3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
3067 wxCaret_Hide(_arg0);
3068
3069 wxPyEndAllowThreads(__tstate);
3070 if (PyErr_Occurred()) return NULL;
3071 } Py_INCREF(Py_None);
3072 _resultobj = Py_None;
3073 return _resultobj;
3074 }
3075
3076 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3077 static PyObject *_wrap_new_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
3078 PyObject * _resultobj;
3079 wxPyFontEnumerator * _result;
3080 char *_kwnames[] = { NULL };
3081 char _ptemp[128];
3082
3083 self = self;
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontEnumerator",_kwnames))
3085 return NULL;
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 _result = (wxPyFontEnumerator *)new_wxFontEnumerator();
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) return NULL;
3092 } if (_result) {
3093 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyFontEnumerator_p");
3094 _resultobj = Py_BuildValue("s",_ptemp);
3095 } else {
3096 Py_INCREF(Py_None);
3097 _resultobj = Py_None;
3098 }
3099 return _resultobj;
3100 }
3101
3102 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3103 static PyObject *_wrap_delete_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject * _resultobj;
3105 wxPyFontEnumerator * _arg0;
3106 PyObject * _argo0 = 0;
3107 char *_kwnames[] = { "self", NULL };
3108
3109 self = self;
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontEnumerator",_kwnames,&_argo0))
3111 return NULL;
3112 if (_argo0) {
3113 if (_argo0 == Py_None) { _arg0 = NULL; }
3114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3116 return NULL;
3117 }
3118 }
3119 {
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 delete_wxPyFontEnumerator(_arg0);
3122
3123 wxPyEndAllowThreads(__tstate);
3124 if (PyErr_Occurred()) return NULL;
3125 } Py_INCREF(Py_None);
3126 _resultobj = Py_None;
3127 return _resultobj;
3128 }
3129
3130 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3131 static PyObject *_wrap_wxFontEnumerator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject * _resultobj;
3133 wxPyFontEnumerator * _arg0;
3134 PyObject * _arg1;
3135 PyObject * _arg2;
3136 bool _arg3;
3137 PyObject * _argo0 = 0;
3138 PyObject * _obj1 = 0;
3139 PyObject * _obj2 = 0;
3140 int tempbool3;
3141 char *_kwnames[] = { "self","self","_class","incref", NULL };
3142
3143 self = self;
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
3145 return NULL;
3146 if (_argo0) {
3147 if (_argo0 == Py_None) { _arg0 = NULL; }
3148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3150 return NULL;
3151 }
3152 }
3153 {
3154 _arg1 = _obj1;
3155 }
3156 {
3157 _arg2 = _obj2;
3158 }
3159 _arg3 = (bool ) tempbool3;
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 wxFontEnumerator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) return NULL;
3166 } Py_INCREF(Py_None);
3167 _resultobj = Py_None;
3168 return _resultobj;
3169 }
3170
3171 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3172 static PyObject *_wrap_wxFontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject * _resultobj;
3174 bool _result;
3175 wxPyFontEnumerator * _arg0;
3176 wxFontEncoding _arg1 = (wxFontEncoding ) wxFONTENCODING_SYSTEM;
3177 bool _arg2 = (bool ) FALSE;
3178 PyObject * _argo0 = 0;
3179 int tempbool2 = (int) FALSE;
3180 char *_kwnames[] = { "self","encoding","fixedWidthOnly", NULL };
3181
3182 self = self;
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames,&_argo0,&_arg1,&tempbool2))
3184 return NULL;
3185 if (_argo0) {
3186 if (_argo0 == Py_None) { _arg0 = NULL; }
3187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3189 return NULL;
3190 }
3191 }
3192 _arg2 = (bool ) tempbool2;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 _result = (bool )wxFontEnumerator_EnumerateFacenames(_arg0,_arg1,_arg2);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) return NULL;
3199 } _resultobj = Py_BuildValue("i",_result);
3200 return _resultobj;
3201 }
3202
3203 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3204 static PyObject *_wrap_wxFontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
3205 PyObject * _resultobj;
3206 bool _result;
3207 wxPyFontEnumerator * _arg0;
3208 char * _arg1 = (char *) "";
3209 PyObject * _argo0 = 0;
3210 char *_kwnames[] = { "self","facename", NULL };
3211
3212 self = self;
3213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames,&_argo0,&_arg1))
3214 return NULL;
3215 if (_argo0) {
3216 if (_argo0 == Py_None) { _arg0 = NULL; }
3217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3219 return NULL;
3220 }
3221 }
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 _result = (bool )wxFontEnumerator_EnumerateEncodings(_arg0,_arg1);
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) return NULL;
3228 } _resultobj = Py_BuildValue("i",_result);
3229 return _resultobj;
3230 }
3231
3232 static PyObject * wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self) {
3233 wxArrayString* arr = self->GetEncodings();
3234 return wxArrayString2PyList_helper(*arr);
3235 }
3236 static PyObject *_wrap_wxFontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject * _resultobj;
3238 PyObject * _result;
3239 wxPyFontEnumerator * _arg0;
3240 PyObject * _argo0 = 0;
3241 char *_kwnames[] = { "self", NULL };
3242
3243 self = self;
3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetEncodings",_kwnames,&_argo0))
3245 return NULL;
3246 if (_argo0) {
3247 if (_argo0 == Py_None) { _arg0 = NULL; }
3248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3250 return NULL;
3251 }
3252 }
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 _result = (PyObject *)wxPyFontEnumerator_GetEncodings(_arg0);
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) return NULL;
3259 }{
3260 _resultobj = _result;
3261 }
3262 return _resultobj;
3263 }
3264
3265 static PyObject * wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self) {
3266 wxArrayString* arr = self->GetFacenames();
3267 return wxArrayString2PyList_helper(*arr);
3268 }
3269 static PyObject *_wrap_wxFontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
3270 PyObject * _resultobj;
3271 PyObject * _result;
3272 wxPyFontEnumerator * _arg0;
3273 PyObject * _argo0 = 0;
3274 char *_kwnames[] = { "self", NULL };
3275
3276 self = self;
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetFacenames",_kwnames,&_argo0))
3278 return NULL;
3279 if (_argo0) {
3280 if (_argo0 == Py_None) { _arg0 = NULL; }
3281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3283 return NULL;
3284 }
3285 }
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 _result = (PyObject *)wxPyFontEnumerator_GetFacenames(_arg0);
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) return NULL;
3292 }{
3293 _resultobj = _result;
3294 }
3295 return _resultobj;
3296 }
3297
3298 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3299 static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject * _resultobj;
3301 wxBusyCursor * _result;
3302 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
3303 PyObject * _argo0 = 0;
3304 char *_kwnames[] = { "cursor", NULL };
3305 char _ptemp[128];
3306
3307 self = self;
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0))
3309 return NULL;
3310 if (_argo0) {
3311 if (_argo0 == Py_None) { _arg0 = NULL; }
3312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3314 return NULL;
3315 }
3316 }
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 _result = (wxBusyCursor *)new_wxBusyCursor(_arg0);
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) return NULL;
3323 } if (_result) {
3324 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p");
3325 _resultobj = Py_BuildValue("s",_ptemp);
3326 } else {
3327 Py_INCREF(Py_None);
3328 _resultobj = Py_None;
3329 }
3330 return _resultobj;
3331 }
3332
3333 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3334 static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3335 PyObject * _resultobj;
3336 wxBusyCursor * _arg0;
3337 PyObject * _argo0 = 0;
3338 char *_kwnames[] = { "self", NULL };
3339
3340 self = self;
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0))
3342 return NULL;
3343 if (_argo0) {
3344 if (_argo0 == Py_None) { _arg0 = NULL; }
3345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) {
3346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3347 return NULL;
3348 }
3349 }
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 delete_wxBusyCursor(_arg0);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) return NULL;
3356 } Py_INCREF(Py_None);
3357 _resultobj = Py_None;
3358 return _resultobj;
3359 }
3360
3361 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3362 static PyObject *_wrap_new_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3363 PyObject * _resultobj;
3364 wxWindowDisabler * _result;
3365 wxWindow * _arg0 = (wxWindow *) NULL;
3366 PyObject * _argo0 = 0;
3367 char *_kwnames[] = { "winToSkip", NULL };
3368 char _ptemp[128];
3369
3370 self = self;
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDisabler",_kwnames,&_argo0))
3372 return NULL;
3373 if (_argo0) {
3374 if (_argo0 == Py_None) { _arg0 = NULL; }
3375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3377 return NULL;
3378 }
3379 }
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 _result = (wxWindowDisabler *)new_wxWindowDisabler(_arg0);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) return NULL;
3386 } if (_result) {
3387 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDisabler_p");
3388 _resultobj = Py_BuildValue("s",_ptemp);
3389 } else {
3390 Py_INCREF(Py_None);
3391 _resultobj = Py_None;
3392 }
3393 return _resultobj;
3394 }
3395
3396 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3397 static PyObject *_wrap_delete_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject * _resultobj;
3399 wxWindowDisabler * _arg0;
3400 PyObject * _argo0 = 0;
3401 char *_kwnames[] = { "self", NULL };
3402
3403 self = self;
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWindowDisabler",_kwnames,&_argo0))
3405 return NULL;
3406 if (_argo0) {
3407 if (_argo0 == Py_None) { _arg0 = NULL; }
3408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDisabler_p")) {
3409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3410 return NULL;
3411 }
3412 }
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 delete_wxWindowDisabler(_arg0);
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) return NULL;
3419 } Py_INCREF(Py_None);
3420 _resultobj = Py_None;
3421 return _resultobj;
3422 }
3423
3424 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3425 static PyObject *_wrap_new_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject * _resultobj;
3427 wxMutexGuiLocker * _result;
3428 char *_kwnames[] = { NULL };
3429 char _ptemp[128];
3430
3431 self = self;
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMutexGuiLocker",_kwnames))
3433 return NULL;
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 _result = (wxMutexGuiLocker *)new_wxMutexGuiLocker();
3437
3438 wxPyEndAllowThreads(__tstate);
3439 if (PyErr_Occurred()) return NULL;
3440 } if (_result) {
3441 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMutexGuiLocker_p");
3442 _resultobj = Py_BuildValue("s",_ptemp);
3443 } else {
3444 Py_INCREF(Py_None);
3445 _resultobj = Py_None;
3446 }
3447 return _resultobj;
3448 }
3449
3450 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3451 static PyObject *_wrap_delete_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3452 PyObject * _resultobj;
3453 wxMutexGuiLocker * _arg0;
3454 PyObject * _argo0 = 0;
3455 char *_kwnames[] = { "self", NULL };
3456
3457 self = self;
3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMutexGuiLocker",_kwnames,&_argo0))
3459 return NULL;
3460 if (_argo0) {
3461 if (_argo0 == Py_None) { _arg0 = NULL; }
3462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMutexGuiLocker_p")) {
3463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3464 return NULL;
3465 }
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 delete_wxMutexGuiLocker(_arg0);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) return NULL;
3473 } Py_INCREF(Py_None);
3474 _resultobj = Py_None;
3475 return _resultobj;
3476 }
3477
3478 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3479 static PyObject *_wrap_delete_wxTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3480 PyObject * _resultobj;
3481 wxTipProvider * _arg0;
3482 PyObject * _argo0 = 0;
3483 char *_kwnames[] = { "self", NULL };
3484
3485 self = self;
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTipProvider",_kwnames,&_argo0))
3487 return NULL;
3488 if (_argo0) {
3489 if (_argo0 == Py_None) { _arg0 = NULL; }
3490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3492 return NULL;
3493 }
3494 }
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 delete_wxTipProvider(_arg0);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) return NULL;
3501 } Py_INCREF(Py_None);
3502 _resultobj = Py_None;
3503 return _resultobj;
3504 }
3505
3506 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3507 static PyObject *_wrap_wxTipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject * _resultobj;
3509 wxString * _result;
3510 wxTipProvider * _arg0;
3511 PyObject * _argo0 = 0;
3512 char *_kwnames[] = { "self", NULL };
3513
3514 self = self;
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetTip",_kwnames,&_argo0))
3516 return NULL;
3517 if (_argo0) {
3518 if (_argo0 == Py_None) { _arg0 = NULL; }
3519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3521 return NULL;
3522 }
3523 }
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 _result = new wxString (wxTipProvider_GetTip(_arg0));
3527
3528 wxPyEndAllowThreads(__tstate);
3529 if (PyErr_Occurred()) return NULL;
3530 }{
3531 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3532 }
3533 {
3534 delete _result;
3535 }
3536 return _resultobj;
3537 }
3538
3539 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3540 static PyObject *_wrap_wxTipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject * _resultobj;
3542 size_t _result;
3543 wxTipProvider * _arg0;
3544 PyObject * _argo0 = 0;
3545 char *_kwnames[] = { "self", NULL };
3546
3547 self = self;
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetCurrentTip",_kwnames,&_argo0))
3549 return NULL;
3550 if (_argo0) {
3551 if (_argo0 == Py_None) { _arg0 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3554 return NULL;
3555 }
3556 }
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 _result = (size_t )wxTipProvider_GetCurrentTip(_arg0);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) return NULL;
3563 } _resultobj = Py_BuildValue("i",_result);
3564 return _resultobj;
3565 }
3566
3567 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr) {
3568 wxPyTipProvider *src;
3569 wxTipProvider *dest;
3570 src = (wxPyTipProvider *) ptr;
3571 dest = (wxTipProvider *) src;
3572 return (void *) dest;
3573 }
3574
3575 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3576 static PyObject *_wrap_new_wxPyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject * _resultobj;
3578 wxPyTipProvider * _result;
3579 size_t _arg0;
3580 char *_kwnames[] = { "currentTip", NULL };
3581 char _ptemp[128];
3582
3583 self = self;
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxPyTipProvider",_kwnames,&_arg0))
3585 return NULL;
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 _result = (wxPyTipProvider *)new_wxPyTipProvider(_arg0);
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) return NULL;
3592 } if (_result) {
3593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTipProvider_p");
3594 _resultobj = Py_BuildValue("s",_ptemp);
3595 } else {
3596 Py_INCREF(Py_None);
3597 _resultobj = Py_None;
3598 }
3599 return _resultobj;
3600 }
3601
3602 static void *SwigwxGenericDragImageTowxObject(void *ptr) {
3603 wxGenericDragImage *src;
3604 wxObject *dest;
3605 src = (wxGenericDragImage *) ptr;
3606 dest = (wxObject *) src;
3607 return (void *) dest;
3608 }
3609
3610 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3611 static PyObject *_wrap_new_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject * _resultobj;
3613 wxGenericDragImage * _result;
3614 wxBitmap * _arg0;
3615 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3616 PyObject * _argo0 = 0;
3617 PyObject * _argo1 = 0;
3618 char *_kwnames[] = { "image","cursor", NULL };
3619 char _ptemp[128];
3620
3621 self = self;
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragImage",_kwnames,&_argo0,&_argo1))
3623 return NULL;
3624 if (_argo0) {
3625 if (_argo0 == Py_None) { _arg0 = NULL; }
3626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3628 return NULL;
3629 }
3630 }
3631 if (_argo1) {
3632 if (_argo1 == Py_None) { _arg1 = NULL; }
3633 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3634 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3635 return NULL;
3636 }
3637 }
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 _result = (wxGenericDragImage *)new_wxDragImage(*_arg0,*_arg1);
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) return NULL;
3644 } if (_result) {
3645 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3646 _resultobj = Py_BuildValue("s",_ptemp);
3647 } else {
3648 Py_INCREF(Py_None);
3649 _resultobj = Py_None;
3650 }
3651 return _resultobj;
3652 }
3653
3654 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3655 static PyObject *_wrap_new_wxDragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject * _resultobj;
3657 wxGenericDragImage * _result;
3658 wxIcon * _arg0;
3659 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3660 PyObject * _argo0 = 0;
3661 PyObject * _argo1 = 0;
3662 char *_kwnames[] = { "image","cursor", NULL };
3663 char _ptemp[128];
3664
3665 self = self;
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragIcon",_kwnames,&_argo0,&_argo1))
3667 return NULL;
3668 if (_argo0) {
3669 if (_argo0 == Py_None) { _arg0 = NULL; }
3670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
3671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3672 return NULL;
3673 }
3674 }
3675 if (_argo1) {
3676 if (_argo1 == Py_None) { _arg1 = NULL; }
3677 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3678 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3679 return NULL;
3680 }
3681 }
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 _result = (wxGenericDragImage *)new_wxDragIcon(*_arg0,*_arg1);
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) return NULL;
3688 } if (_result) {
3689 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3690 _resultobj = Py_BuildValue("s",_ptemp);
3691 } else {
3692 Py_INCREF(Py_None);
3693 _resultobj = Py_None;
3694 }
3695 return _resultobj;
3696 }
3697
3698 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3699 static PyObject *_wrap_new_wxDragString(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject * _resultobj;
3701 wxGenericDragImage * _result;
3702 wxString * _arg0;
3703 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3704 PyObject * _obj0 = 0;
3705 PyObject * _argo1 = 0;
3706 char *_kwnames[] = { "str","cursor", NULL };
3707 char _ptemp[128];
3708
3709 self = self;
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragString",_kwnames,&_obj0,&_argo1))
3711 return NULL;
3712 {
3713 #if PYTHON_API_VERSION >= 1009
3714 char* tmpPtr; int tmpSize;
3715 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
3716 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3717 return NULL;
3718 }
3719 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
3720 return NULL;
3721 _arg0 = new wxString(tmpPtr, tmpSize);
3722 #else
3723 if (!PyString_Check(_obj0)) {
3724 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3725 return NULL;
3726 }
3727 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
3728 #endif
3729 }
3730 if (_argo1) {
3731 if (_argo1 == Py_None) { _arg1 = NULL; }
3732 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3733 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3734 return NULL;
3735 }
3736 }
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 _result = (wxGenericDragImage *)new_wxDragString(*_arg0,*_arg1);
3740
3741 wxPyEndAllowThreads(__tstate);
3742 if (PyErr_Occurred()) return NULL;
3743 } if (_result) {
3744 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3745 _resultobj = Py_BuildValue("s",_ptemp);
3746 } else {
3747 Py_INCREF(Py_None);
3748 _resultobj = Py_None;
3749 }
3750 {
3751 if (_obj0)
3752 delete _arg0;
3753 }
3754 return _resultobj;
3755 }
3756
3757 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3758 static PyObject *_wrap_new_wxDragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 wxGenericDragImage * _result;
3761 wxTreeCtrl * _arg0;
3762 wxTreeItemId * _arg1;
3763 PyObject * _argo0 = 0;
3764 PyObject * _argo1 = 0;
3765 char *_kwnames[] = { "treeCtrl","id", NULL };
3766 char _ptemp[128];
3767
3768 self = self;
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxDragTreeItem",_kwnames,&_argo0,&_argo1))
3770 return NULL;
3771 if (_argo0) {
3772 if (_argo0 == Py_None) { _arg0 = NULL; }
3773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3775 return NULL;
3776 }
3777 }
3778 if (_argo1) {
3779 if (_argo1 == Py_None) { _arg1 = NULL; }
3780 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3781 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3782 return NULL;
3783 }
3784 }
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 _result = (wxGenericDragImage *)new_wxDragTreeItem(*_arg0,*_arg1);
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) return NULL;
3791 } if (_result) {
3792 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3793 _resultobj = Py_BuildValue("s",_ptemp);
3794 } else {
3795 Py_INCREF(Py_None);
3796 _resultobj = Py_None;
3797 }
3798 return _resultobj;
3799 }
3800
3801 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3802 static PyObject *_wrap_new_wxDragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject * _resultobj;
3804 wxGenericDragImage * _result;
3805 wxListCtrl * _arg0;
3806 long _arg1;
3807 PyObject * _argo0 = 0;
3808 char *_kwnames[] = { "listCtrl","id", NULL };
3809 char _ptemp[128];
3810
3811 self = self;
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:new_wxDragListItem",_kwnames,&_argo0,&_arg1))
3813 return NULL;
3814 if (_argo0) {
3815 if (_argo0 == Py_None) { _arg0 = NULL; }
3816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3818 return NULL;
3819 }
3820 }
3821 {
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 _result = (wxGenericDragImage *)new_wxDragListItem(*_arg0,_arg1);
3824
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) return NULL;
3827 } if (_result) {
3828 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3829 _resultobj = Py_BuildValue("s",_ptemp);
3830 } else {
3831 Py_INCREF(Py_None);
3832 _resultobj = Py_None;
3833 }
3834 return _resultobj;
3835 }
3836
3837 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3838 static PyObject *_wrap_delete_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3839 PyObject * _resultobj;
3840 wxGenericDragImage * _arg0;
3841 PyObject * _argo0 = 0;
3842 char *_kwnames[] = { "self", NULL };
3843
3844 self = self;
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDragImage",_kwnames,&_argo0))
3846 return NULL;
3847 if (_argo0) {
3848 if (_argo0 == Py_None) { _arg0 = NULL; }
3849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3851 return NULL;
3852 }
3853 }
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 delete_wxGenericDragImage(_arg0);
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) return NULL;
3860 } Py_INCREF(Py_None);
3861 _resultobj = Py_None;
3862 return _resultobj;
3863 }
3864
3865 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3866 static PyObject *_wrap_wxDragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3867 PyObject * _resultobj;
3868 wxGenericDragImage * _arg0;
3869 wxBitmap * _arg1;
3870 PyObject * _argo0 = 0;
3871 PyObject * _argo1 = 0;
3872 char *_kwnames[] = { "self","bitmap", NULL };
3873
3874 self = self;
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_SetBackingBitmap",_kwnames,&_argo0,&_argo1))
3876 return NULL;
3877 if (_argo0) {
3878 if (_argo0 == Py_None) { _arg0 = NULL; }
3879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3881 return NULL;
3882 }
3883 }
3884 if (_argo1) {
3885 if (_argo1 == Py_None) { _arg1 = NULL; }
3886 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
3887 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3888 return NULL;
3889 }
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 wxDragImage_SetBackingBitmap(_arg0,_arg1);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) return NULL;
3897 } Py_INCREF(Py_None);
3898 _resultobj = Py_None;
3899 return _resultobj;
3900 }
3901
3902 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3903 static PyObject *_wrap_wxDragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject * _resultobj;
3905 bool _result;
3906 wxGenericDragImage * _arg0;
3907 wxPoint * _arg1;
3908 wxWindow * _arg2;
3909 bool _arg3 = (bool ) FALSE;
3910 wxRect * _arg4 = (wxRect *) NULL;
3911 PyObject * _argo0 = 0;
3912 wxPoint temp;
3913 PyObject * _obj1 = 0;
3914 PyObject * _argo2 = 0;
3915 int tempbool3 = (int) FALSE;
3916 wxRect temp0;
3917 PyObject * _obj4 = 0;
3918 char *_kwnames[] = { "self","hotspot","window","fullScreen","rect", NULL };
3919
3920 self = self;
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iO:wxDragImage_BeginDrag",_kwnames,&_argo0,&_obj1,&_argo2,&tempbool3,&_obj4))
3922 return NULL;
3923 if (_argo0) {
3924 if (_argo0 == Py_None) { _arg0 = NULL; }
3925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3927 return NULL;
3928 }
3929 }
3930 {
3931 _arg1 = &temp;
3932 if (! wxPoint_helper(_obj1, &_arg1))
3933 return NULL;
3934 }
3935 if (_argo2) {
3936 if (_argo2 == Py_None) { _arg2 = NULL; }
3937 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3939 return NULL;
3940 }
3941 }
3942 _arg3 = (bool ) tempbool3;
3943 if (_obj4)
3944 {
3945 _arg4 = &temp0;
3946 if (! wxRect_helper(_obj4, &_arg4))
3947 return NULL;
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 _result = (bool )wxDragImage_BeginDrag(_arg0,*_arg1,_arg2,_arg3,_arg4);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) return NULL;
3955 } _resultobj = Py_BuildValue("i",_result);
3956 return _resultobj;
3957 }
3958
3959 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3960 static PyObject *_wrap_wxDragImage_BeginDrag2(PyObject *self, PyObject *args, PyObject *kwargs) {
3961 PyObject * _resultobj;
3962 bool _result;
3963 wxGenericDragImage * _arg0;
3964 wxPoint * _arg1;
3965 wxWindow * _arg2;
3966 wxWindow * _arg3;
3967 PyObject * _argo0 = 0;
3968 wxPoint temp;
3969 PyObject * _obj1 = 0;
3970 PyObject * _argo2 = 0;
3971 PyObject * _argo3 = 0;
3972 char *_kwnames[] = { "self","hotspot","window","fullScreenRect", NULL };
3973
3974 self = self;
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDragImage_BeginDrag2",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
3976 return NULL;
3977 if (_argo0) {
3978 if (_argo0 == Py_None) { _arg0 = NULL; }
3979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3981 return NULL;
3982 }
3983 }
3984 {
3985 _arg1 = &temp;
3986 if (! wxPoint_helper(_obj1, &_arg1))
3987 return NULL;
3988 }
3989 if (_argo2) {
3990 if (_argo2 == Py_None) { _arg2 = NULL; }
3991 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3992 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3993 return NULL;
3994 }
3995 }
3996 if (_argo3) {
3997 if (_argo3 == Py_None) { _arg3 = NULL; }
3998 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
3999 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4000 return NULL;
4001 }
4002 }
4003 {
4004 PyThreadState* __tstate = wxPyBeginAllowThreads();
4005 _result = (bool )wxDragImage_BeginDrag2(_arg0,*_arg1,_arg2,_arg3);
4006
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) return NULL;
4009 } _resultobj = Py_BuildValue("i",_result);
4010 return _resultobj;
4011 }
4012
4013 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4014 static PyObject *_wrap_wxDragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject * _resultobj;
4016 bool _result;
4017 wxGenericDragImage * _arg0;
4018 PyObject * _argo0 = 0;
4019 char *_kwnames[] = { "self", NULL };
4020
4021 self = self;
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_EndDrag",_kwnames,&_argo0))
4023 return NULL;
4024 if (_argo0) {
4025 if (_argo0 == Py_None) { _arg0 = NULL; }
4026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4028 return NULL;
4029 }
4030 }
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 _result = (bool )wxDragImage_EndDrag(_arg0);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) return NULL;
4037 } _resultobj = Py_BuildValue("i",_result);
4038 return _resultobj;
4039 }
4040
4041 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4042 static PyObject *_wrap_wxDragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject * _resultobj;
4044 bool _result;
4045 wxGenericDragImage * _arg0;
4046 wxPoint * _arg1;
4047 PyObject * _argo0 = 0;
4048 wxPoint temp;
4049 PyObject * _obj1 = 0;
4050 char *_kwnames[] = { "self","pt", NULL };
4051
4052 self = self;
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_Move",_kwnames,&_argo0,&_obj1))
4054 return NULL;
4055 if (_argo0) {
4056 if (_argo0 == Py_None) { _arg0 = NULL; }
4057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4059 return NULL;
4060 }
4061 }
4062 {
4063 _arg1 = &temp;
4064 if (! wxPoint_helper(_obj1, &_arg1))
4065 return NULL;
4066 }
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 _result = (bool )wxDragImage_Move(_arg0,*_arg1);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) return NULL;
4073 } _resultobj = Py_BuildValue("i",_result);
4074 return _resultobj;
4075 }
4076
4077 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4078 static PyObject *_wrap_wxDragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject * _resultobj;
4080 bool _result;
4081 wxGenericDragImage * _arg0;
4082 PyObject * _argo0 = 0;
4083 char *_kwnames[] = { "self", NULL };
4084
4085 self = self;
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Show",_kwnames,&_argo0))
4087 return NULL;
4088 if (_argo0) {
4089 if (_argo0 == Py_None) { _arg0 = NULL; }
4090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4092 return NULL;
4093 }
4094 }
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 _result = (bool )wxDragImage_Show(_arg0);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) return NULL;
4101 } _resultobj = Py_BuildValue("i",_result);
4102 return _resultobj;
4103 }
4104
4105 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4106 static PyObject *_wrap_wxDragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject * _resultobj;
4108 bool _result;
4109 wxGenericDragImage * _arg0;
4110 PyObject * _argo0 = 0;
4111 char *_kwnames[] = { "self", NULL };
4112
4113 self = self;
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Hide",_kwnames,&_argo0))
4115 return NULL;
4116 if (_argo0) {
4117 if (_argo0 == Py_None) { _arg0 = NULL; }
4118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4120 return NULL;
4121 }
4122 }
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 _result = (bool )wxDragImage_Hide(_arg0);
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) return NULL;
4129 } _resultobj = Py_BuildValue("i",_result);
4130 return _resultobj;
4131 }
4132
4133 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4134 static PyObject *_wrap_wxDragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject * _resultobj;
4136 wxRect * _result;
4137 wxGenericDragImage * _arg0;
4138 wxPoint * _arg1;
4139 PyObject * _argo0 = 0;
4140 wxPoint temp;
4141 PyObject * _obj1 = 0;
4142 char *_kwnames[] = { "self","pos", NULL };
4143 char _ptemp[128];
4144
4145 self = self;
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_GetImageRect",_kwnames,&_argo0,&_obj1))
4147 return NULL;
4148 if (_argo0) {
4149 if (_argo0 == Py_None) { _arg0 = NULL; }
4150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4152 return NULL;
4153 }
4154 }
4155 {
4156 _arg1 = &temp;
4157 if (! wxPoint_helper(_obj1, &_arg1))
4158 return NULL;
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 _result = new wxRect (wxDragImage_GetImageRect(_arg0,*_arg1));
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) return NULL;
4166 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
4167 _resultobj = Py_BuildValue("s",_ptemp);
4168 return _resultobj;
4169 }
4170
4171 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4172 static PyObject *_wrap_wxDragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject * _resultobj;
4174 bool _result;
4175 wxGenericDragImage * _arg0;
4176 wxPoint * _arg1;
4177 wxPoint * _arg2;
4178 bool _arg3;
4179 bool _arg4;
4180 PyObject * _argo0 = 0;
4181 wxPoint temp;
4182 PyObject * _obj1 = 0;
4183 wxPoint temp0;
4184 PyObject * _obj2 = 0;
4185 int tempbool3;
4186 int tempbool4;
4187 char *_kwnames[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL };
4188
4189 self = self;
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOii:wxDragImage_RedrawImage",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3,&tempbool4))
4191 return NULL;
4192 if (_argo0) {
4193 if (_argo0 == Py_None) { _arg0 = NULL; }
4194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4196 return NULL;
4197 }
4198 }
4199 {
4200 _arg1 = &temp;
4201 if (! wxPoint_helper(_obj1, &_arg1))
4202 return NULL;
4203 }
4204 {
4205 _arg2 = &temp0;
4206 if (! wxPoint_helper(_obj2, &_arg2))
4207 return NULL;
4208 }
4209 _arg3 = (bool ) tempbool3;
4210 _arg4 = (bool ) tempbool4;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 _result = (bool )wxDragImage_RedrawImage(_arg0,*_arg1,*_arg2,_arg3,_arg4);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) return NULL;
4217 } _resultobj = Py_BuildValue("i",_result);
4218 return _resultobj;
4219 }
4220
4221 static void *SwigwxPyTimerTowxObject(void *ptr) {
4222 wxPyTimer *src;
4223 wxObject *dest;
4224 src = (wxPyTimer *) ptr;
4225 dest = (wxObject *) src;
4226 return (void *) dest;
4227 }
4228
4229 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4230 static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4231 PyObject * _resultobj;
4232 wxPyTimer * _result;
4233 PyObject * _arg0;
4234 PyObject * _obj0 = 0;
4235 char *_kwnames[] = { "notify", NULL };
4236 char _ptemp[128];
4237
4238 self = self;
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPyTimer",_kwnames,&_obj0))
4240 return NULL;
4241 {
4242 _arg0 = _obj0;
4243 }
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) return NULL;
4250 } if (_result) {
4251 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
4252 _resultobj = Py_BuildValue("s",_ptemp);
4253 } else {
4254 Py_INCREF(Py_None);
4255 _resultobj = Py_None;
4256 }
4257 return _resultobj;
4258 }
4259
4260 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4261 static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject * _resultobj;
4263 wxPyTimer * _arg0;
4264 PyObject * _argo0 = 0;
4265 char *_kwnames[] = { "self", NULL };
4266
4267 self = self;
4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyTimer",_kwnames,&_argo0))
4269 return NULL;
4270 if (_argo0) {
4271 if (_argo0 == Py_None) { _arg0 = NULL; }
4272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4274 return NULL;
4275 }
4276 }
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 delete_wxPyTimer(_arg0);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) return NULL;
4283 } Py_INCREF(Py_None);
4284 _resultobj = Py_None;
4285 return _resultobj;
4286 }
4287
4288 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4289 static PyObject *_wrap_wxPyTimer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject * _resultobj;
4291 int _result;
4292 wxPyTimer * _arg0;
4293 PyObject * _argo0 = 0;
4294 char *_kwnames[] = { "self", NULL };
4295
4296 self = self;
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_GetInterval",_kwnames,&_argo0))
4298 return NULL;
4299 if (_argo0) {
4300 if (_argo0 == Py_None) { _arg0 = NULL; }
4301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4303 return NULL;
4304 }
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 _result = (int )wxPyTimer_GetInterval(_arg0);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) return NULL;
4312 } _resultobj = Py_BuildValue("i",_result);
4313 return _resultobj;
4314 }
4315
4316 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4317 static PyObject *_wrap_wxPyTimer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
4318 PyObject * _resultobj;
4319 bool _result;
4320 wxPyTimer * _arg0;
4321 PyObject * _argo0 = 0;
4322 char *_kwnames[] = { "self", NULL };
4323
4324 self = self;
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsOneShot",_kwnames,&_argo0))
4326 return NULL;
4327 if (_argo0) {
4328 if (_argo0 == Py_None) { _arg0 = NULL; }
4329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4331 return NULL;
4332 }
4333 }
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 _result = (bool )wxPyTimer_IsOneShot(_arg0);
4337
4338 wxPyEndAllowThreads(__tstate);
4339 if (PyErr_Occurred()) return NULL;
4340 } _resultobj = Py_BuildValue("i",_result);
4341 return _resultobj;
4342 }
4343
4344 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4345 static PyObject *_wrap_wxPyTimer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject * _resultobj;
4347 bool _result;
4348 wxPyTimer * _arg0;
4349 PyObject * _argo0 = 0;
4350 char *_kwnames[] = { "self", NULL };
4351
4352 self = self;
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsRunning",_kwnames,&_argo0))
4354 return NULL;
4355 if (_argo0) {
4356 if (_argo0 == Py_None) { _arg0 = NULL; }
4357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4359 return NULL;
4360 }
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 _result = (bool )wxPyTimer_IsRunning(_arg0);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) return NULL;
4368 } _resultobj = Py_BuildValue("i",_result);
4369 return _resultobj;
4370 }
4371
4372 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4373 static PyObject *_wrap_wxPyTimer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject * _resultobj;
4375 wxPyTimer * _arg0;
4376 wxEvtHandler * _arg1;
4377 int _arg2 = (int ) -1;
4378 PyObject * _argo0 = 0;
4379 PyObject * _argo1 = 0;
4380 char *_kwnames[] = { "self","owner","id", NULL };
4381
4382 self = self;
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTimer_SetOwner",_kwnames,&_argo0,&_argo1,&_arg2))
4384 return NULL;
4385 if (_argo0) {
4386 if (_argo0 == Py_None) { _arg0 = NULL; }
4387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4389 return NULL;
4390 }
4391 }
4392 if (_argo1) {
4393 if (_argo1 == Py_None) { _arg1 = NULL; }
4394 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4396 return NULL;
4397 }
4398 }
4399 {
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 wxPyTimer_SetOwner(_arg0,_arg1,_arg2);
4402
4403 wxPyEndAllowThreads(__tstate);
4404 if (PyErr_Occurred()) return NULL;
4405 } Py_INCREF(Py_None);
4406 _resultobj = Py_None;
4407 return _resultobj;
4408 }
4409
4410 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4411 static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject * _resultobj;
4413 wxPyTimer * _arg0;
4414 int _arg1 = (int ) -1;
4415 int _arg2 = (int ) FALSE;
4416 PyObject * _argo0 = 0;
4417 char *_kwnames[] = { "self","milliseconds","oneShot", NULL };
4418
4419 self = self;
4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyTimer_Start",_kwnames,&_argo0,&_arg1,&_arg2))
4421 return NULL;
4422 if (_argo0) {
4423 if (_argo0 == Py_None) { _arg0 = NULL; }
4424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4426 return NULL;
4427 }
4428 }
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 wxPyTimer_Start(_arg0,_arg1,_arg2);
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) return NULL;
4435 } Py_INCREF(Py_None);
4436 _resultobj = Py_None;
4437 return _resultobj;
4438 }
4439
4440 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4441 static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
4442 PyObject * _resultobj;
4443 wxPyTimer * _arg0;
4444 PyObject * _argo0 = 0;
4445 char *_kwnames[] = { "self", NULL };
4446
4447 self = self;
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_Stop",_kwnames,&_argo0))
4449 return NULL;
4450 if (_argo0) {
4451 if (_argo0 == Py_None) { _arg0 = NULL; }
4452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4454 return NULL;
4455 }
4456 }
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 wxPyTimer_Stop(_arg0);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) return NULL;
4463 } Py_INCREF(Py_None);
4464 _resultobj = Py_None;
4465 return _resultobj;
4466 }
4467
4468 #define new_wxStopWatch() (new wxStopWatch())
4469 static PyObject *_wrap_new_wxStopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject * _resultobj;
4471 wxStopWatch * _result;
4472 char *_kwnames[] = { NULL };
4473 char _ptemp[128];
4474
4475 self = self;
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxStopWatch",_kwnames))
4477 return NULL;
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 _result = (wxStopWatch *)new_wxStopWatch();
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) return NULL;
4484 } if (_result) {
4485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStopWatch_p");
4486 _resultobj = Py_BuildValue("s",_ptemp);
4487 } else {
4488 Py_INCREF(Py_None);
4489 _resultobj = Py_None;
4490 }
4491 return _resultobj;
4492 }
4493
4494 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4495 static PyObject *_wrap_delete_wxStopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject * _resultobj;
4497 wxStopWatch * _arg0;
4498 PyObject * _argo0 = 0;
4499 char *_kwnames[] = { "self", NULL };
4500
4501 self = self;
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStopWatch",_kwnames,&_argo0))
4503 return NULL;
4504 if (_argo0) {
4505 if (_argo0 == Py_None) { _arg0 = NULL; }
4506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4508 return NULL;
4509 }
4510 }
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 delete_wxStopWatch(_arg0);
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) return NULL;
4517 } Py_INCREF(Py_None);
4518 _resultobj = Py_None;
4519 return _resultobj;
4520 }
4521
4522 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4523 static PyObject *_wrap_wxStopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4524 PyObject * _resultobj;
4525 wxStopWatch * _arg0;
4526 long _arg1 = (long ) 0;
4527 PyObject * _argo0 = 0;
4528 char *_kwnames[] = { "self","t", NULL };
4529
4530 self = self;
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxStopWatch_Start",_kwnames,&_argo0,&_arg1))
4532 return NULL;
4533 if (_argo0) {
4534 if (_argo0 == Py_None) { _arg0 = NULL; }
4535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4537 return NULL;
4538 }
4539 }
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 wxStopWatch_Start(_arg0,_arg1);
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) return NULL;
4546 } Py_INCREF(Py_None);
4547 _resultobj = Py_None;
4548 return _resultobj;
4549 }
4550
4551 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4552 static PyObject *_wrap_wxStopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject * _resultobj;
4554 wxStopWatch * _arg0;
4555 PyObject * _argo0 = 0;
4556 char *_kwnames[] = { "self", NULL };
4557
4558 self = self;
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Pause",_kwnames,&_argo0))
4560 return NULL;
4561 if (_argo0) {
4562 if (_argo0 == Py_None) { _arg0 = NULL; }
4563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4565 return NULL;
4566 }
4567 }
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 wxStopWatch_Pause(_arg0);
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) return NULL;
4574 } Py_INCREF(Py_None);
4575 _resultobj = Py_None;
4576 return _resultobj;
4577 }
4578
4579 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4580 static PyObject *_wrap_wxStopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4581 PyObject * _resultobj;
4582 wxStopWatch * _arg0;
4583 PyObject * _argo0 = 0;
4584 char *_kwnames[] = { "self", NULL };
4585
4586 self = self;
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Resume",_kwnames,&_argo0))
4588 return NULL;
4589 if (_argo0) {
4590 if (_argo0 == Py_None) { _arg0 = NULL; }
4591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4593 return NULL;
4594 }
4595 }
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 wxStopWatch_Resume(_arg0);
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) return NULL;
4602 } Py_INCREF(Py_None);
4603 _resultobj = Py_None;
4604 return _resultobj;
4605 }
4606
4607 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4608 static PyObject *_wrap_wxStopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject * _resultobj;
4610 long _result;
4611 wxStopWatch * _arg0;
4612 PyObject * _argo0 = 0;
4613 char *_kwnames[] = { "self", NULL };
4614
4615 self = self;
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Time",_kwnames,&_argo0))
4617 return NULL;
4618 if (_argo0) {
4619 if (_argo0 == Py_None) { _arg0 = NULL; }
4620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4622 return NULL;
4623 }
4624 }
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 _result = (long )wxStopWatch_Time(_arg0);
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) return NULL;
4631 } _resultobj = Py_BuildValue("l",_result);
4632 return _resultobj;
4633 }
4634
4635 #define new_wxLog() (new wxLog())
4636 static PyObject *_wrap_new_wxLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject * _resultobj;
4638 wxLog * _result;
4639 char *_kwnames[] = { NULL };
4640 char _ptemp[128];
4641
4642 self = self;
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLog",_kwnames))
4644 return NULL;
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 _result = (wxLog *)new_wxLog();
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) return NULL;
4651 } if (_result) {
4652 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4653 _resultobj = Py_BuildValue("s",_ptemp);
4654 } else {
4655 Py_INCREF(Py_None);
4656 _resultobj = Py_None;
4657 }
4658 return _resultobj;
4659 }
4660
4661 static PyObject *_wrap_wxLog_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject * _resultobj;
4663 bool _result;
4664 char *_kwnames[] = { NULL };
4665
4666 self = self;
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_IsEnabled",_kwnames))
4668 return NULL;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 _result = (bool )wxLog::IsEnabled();
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) return NULL;
4675 } _resultobj = Py_BuildValue("i",_result);
4676 return _resultobj;
4677 }
4678
4679 static PyObject *_wrap_wxLog_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
4680 PyObject * _resultobj;
4681 bool _result;
4682 bool _arg0 = (bool ) TRUE;
4683 int tempbool0 = (int) TRUE;
4684 char *_kwnames[] = { "doIt", NULL };
4685
4686 self = self;
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxLog_EnableLogging",_kwnames,&tempbool0))
4688 return NULL;
4689 _arg0 = (bool ) tempbool0;
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 _result = (bool )wxLog::EnableLogging(_arg0);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) return NULL;
4696 } _resultobj = Py_BuildValue("i",_result);
4697 return _resultobj;
4698 }
4699
4700 static PyObject *_wrap_wxLog_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4701 PyObject * _resultobj;
4702 wxLogLevel * _arg0;
4703 char * _arg1;
4704 int _arg2 = (int ) 0;
4705 PyObject * _argo0 = 0;
4706 char *_kwnames[] = { "level","szString","t", NULL };
4707
4708 self = self;
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|i:wxLog_OnLog",_kwnames,&_argo0,&_arg1,&_arg2))
4710 return NULL;
4711 if (_argo0) {
4712 if (_argo0 == Py_None) { _arg0 = NULL; }
4713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogLevel_p")) {
4714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4715 return NULL;
4716 }
4717 }
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 wxLog::OnLog(*_arg0,_arg1,_arg2);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) return NULL;
4724 } Py_INCREF(Py_None);
4725 _resultobj = Py_None;
4726 return _resultobj;
4727 }
4728
4729 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4730 static PyObject *_wrap_wxLog_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject * _resultobj;
4732 wxLog * _arg0;
4733 PyObject * _argo0 = 0;
4734 char *_kwnames[] = { "self", NULL };
4735
4736 self = self;
4737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_Flush",_kwnames,&_argo0))
4738 return NULL;
4739 if (_argo0) {
4740 if (_argo0 == Py_None) { _arg0 = NULL; }
4741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4743 return NULL;
4744 }
4745 }
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 wxLog_Flush(_arg0);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) return NULL;
4752 } Py_INCREF(Py_None);
4753 _resultobj = Py_None;
4754 return _resultobj;
4755 }
4756
4757 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4758 static PyObject *_wrap_wxLog_HasPendingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
4759 PyObject * _resultobj;
4760 bool _result;
4761 wxLog * _arg0;
4762 PyObject * _argo0 = 0;
4763 char *_kwnames[] = { "self", NULL };
4764
4765 self = self;
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_HasPendingMessages",_kwnames,&_argo0))
4767 return NULL;
4768 if (_argo0) {
4769 if (_argo0 == Py_None) { _arg0 = NULL; }
4770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4772 return NULL;
4773 }
4774 }
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 _result = (bool )wxLog_HasPendingMessages(_arg0);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) return NULL;
4781 } _resultobj = Py_BuildValue("i",_result);
4782 return _resultobj;
4783 }
4784
4785 static PyObject *_wrap_wxLog_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject * _resultobj;
4787 char *_kwnames[] = { NULL };
4788
4789 self = self;
4790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_FlushActive",_kwnames))
4791 return NULL;
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 wxLog::FlushActive();
4795
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) return NULL;
4798 } Py_INCREF(Py_None);
4799 _resultobj = Py_None;
4800 return _resultobj;
4801 }
4802
4803 static PyObject *_wrap_wxLog_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4804 PyObject * _resultobj;
4805 wxLog * _result;
4806 char *_kwnames[] = { NULL };
4807 char _ptemp[128];
4808
4809 self = self;
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetActiveTarget",_kwnames))
4811 return NULL;
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 _result = (wxLog *)wxLog::GetActiveTarget();
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) return NULL;
4818 } if (_result) {
4819 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4820 _resultobj = Py_BuildValue("s",_ptemp);
4821 } else {
4822 Py_INCREF(Py_None);
4823 _resultobj = Py_None;
4824 }
4825 return _resultobj;
4826 }
4827
4828 static PyObject *_wrap_wxLog_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject * _resultobj;
4830 wxLog * _result;
4831 wxLog * _arg0;
4832 PyObject * _argo0 = 0;
4833 char *_kwnames[] = { "pLogger", NULL };
4834 char _ptemp[128];
4835
4836 self = self;
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetActiveTarget",_kwnames,&_argo0))
4838 return NULL;
4839 if (_argo0) {
4840 if (_argo0 == Py_None) { _arg0 = NULL; }
4841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4843 return NULL;
4844 }
4845 }
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 _result = (wxLog *)wxLog::SetActiveTarget(_arg0);
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) return NULL;
4852 } if (_result) {
4853 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4854 _resultobj = Py_BuildValue("s",_ptemp);
4855 } else {
4856 Py_INCREF(Py_None);
4857 _resultobj = Py_None;
4858 }
4859 return _resultobj;
4860 }
4861
4862 static PyObject *_wrap_wxLog_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
4863 PyObject * _resultobj;
4864 char *_kwnames[] = { NULL };
4865
4866 self = self;
4867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Suspend",_kwnames))
4868 return NULL;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 wxLog::Suspend();
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) return NULL;
4875 } Py_INCREF(Py_None);
4876 _resultobj = Py_None;
4877 return _resultobj;
4878 }
4879
4880 static PyObject *_wrap_wxLog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject * _resultobj;
4882 char *_kwnames[] = { NULL };
4883
4884 self = self;
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Resume",_kwnames))
4886 return NULL;
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 wxLog::Resume();
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) return NULL;
4893 } Py_INCREF(Py_None);
4894 _resultobj = Py_None;
4895 return _resultobj;
4896 }
4897
4898 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4899 static PyObject *_wrap_wxLog_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4900 PyObject * _resultobj;
4901 wxLog * _arg0;
4902 bool _arg1 = (bool ) TRUE;
4903 PyObject * _argo0 = 0;
4904 int tempbool1 = (int) TRUE;
4905 char *_kwnames[] = { "self","bVerbose", NULL };
4906
4907 self = self;
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLog_SetVerbose",_kwnames,&_argo0,&tempbool1))
4909 return NULL;
4910 if (_argo0) {
4911 if (_argo0 == Py_None) { _arg0 = NULL; }
4912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4914 return NULL;
4915 }
4916 }
4917 _arg1 = (bool ) tempbool1;
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 wxLog_SetVerbose(_arg0,_arg1);
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) return NULL;
4924 } Py_INCREF(Py_None);
4925 _resultobj = Py_None;
4926 return _resultobj;
4927 }
4928
4929 static PyObject *_wrap_wxLog_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject * _resultobj;
4931 char *_kwnames[] = { NULL };
4932
4933 self = self;
4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_DontCreateOnDemand",_kwnames))
4935 return NULL;
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 wxLog::DontCreateOnDemand();
4939
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) return NULL;
4942 } Py_INCREF(Py_None);
4943 _resultobj = Py_None;
4944 return _resultobj;
4945 }
4946
4947 static PyObject *_wrap_wxLog_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4948 PyObject * _resultobj;
4949 wxTraceMask * _arg0;
4950 PyObject * _argo0 = 0;
4951 char *_kwnames[] = { "ulMask", NULL };
4952
4953 self = self;
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetTraceMask",_kwnames,&_argo0))
4955 return NULL;
4956 if (_argo0) {
4957 if (_argo0 == Py_None) { _arg0 = NULL; }
4958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTraceMask_p")) {
4959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4960 return NULL;
4961 }
4962 }
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 wxLog::SetTraceMask(*_arg0);
4966
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) return NULL;
4969 } Py_INCREF(Py_None);
4970 _resultobj = Py_None;
4971 return _resultobj;
4972 }
4973
4974 static PyObject *_wrap_wxLog_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject * _resultobj;
4976 wxString * _arg0;
4977 PyObject * _obj0 = 0;
4978 char *_kwnames[] = { "str", NULL };
4979
4980 self = self;
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_AddTraceMask",_kwnames,&_obj0))
4982 return NULL;
4983 {
4984 #if PYTHON_API_VERSION >= 1009
4985 char* tmpPtr; int tmpSize;
4986 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
4987 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4988 return NULL;
4989 }
4990 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
4991 return NULL;
4992 _arg0 = new wxString(tmpPtr, tmpSize);
4993 #else
4994 if (!PyString_Check(_obj0)) {
4995 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4996 return NULL;
4997 }
4998 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
4999 #endif
5000 }
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 wxLog::AddTraceMask(*_arg0);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) return NULL;
5007 } Py_INCREF(Py_None);
5008 _resultobj = Py_None;
5009 {
5010 if (_obj0)
5011 delete _arg0;
5012 }
5013 return _resultobj;
5014 }
5015
5016 static PyObject *_wrap_wxLog_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject * _resultobj;
5018 wxString * _arg0;
5019 PyObject * _obj0 = 0;
5020 char *_kwnames[] = { "str", NULL };
5021
5022 self = self;
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_RemoveTraceMask",_kwnames,&_obj0))
5024 return NULL;
5025 {
5026 #if PYTHON_API_VERSION >= 1009
5027 char* tmpPtr; int tmpSize;
5028 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
5029 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5030 return NULL;
5031 }
5032 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
5033 return NULL;
5034 _arg0 = new wxString(tmpPtr, tmpSize);
5035 #else
5036 if (!PyString_Check(_obj0)) {
5037 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5038 return NULL;
5039 }
5040 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
5041 #endif
5042 }
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 wxLog::RemoveTraceMask(*_arg0);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) return NULL;
5049 } Py_INCREF(Py_None);
5050 _resultobj = Py_None;
5051 {
5052 if (_obj0)
5053 delete _arg0;
5054 }
5055 return _resultobj;
5056 }
5057
5058 static PyObject *_wrap_wxLog_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject * _resultobj;
5060 char *_kwnames[] = { NULL };
5061
5062 self = self;
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_ClearTraceMasks",_kwnames))
5064 return NULL;
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 wxLog::ClearTraceMasks();
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) return NULL;
5071 } Py_INCREF(Py_None);
5072 _resultobj = Py_None;
5073 return _resultobj;
5074 }
5075
5076 static PyObject *_wrap_wxLog_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject * _resultobj;
5078 wxChar * _arg0;
5079 char *_kwnames[] = { "ts", NULL };
5080
5081 self = self;
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLog_SetTimestamp",_kwnames,&_arg0))
5083 return NULL;
5084 {
5085 PyThreadState* __tstate = wxPyBeginAllowThreads();
5086 wxLog::SetTimestamp(_arg0);
5087
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) return NULL;
5090 } Py_INCREF(Py_None);
5091 _resultobj = Py_None;
5092 return _resultobj;
5093 }
5094
5095 static PyObject *_wrap_wxLog_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject * _resultobj;
5097 wxChar * _result;
5098 char *_kwnames[] = { NULL };
5099
5100 self = self;
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTimestamp",_kwnames))
5102 return NULL;
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 _result = (wxChar *)wxLog::GetTimestamp();
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) return NULL;
5109 } _resultobj = Py_BuildValue("s", _result);
5110 return _resultobj;
5111 }
5112
5113 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5114 static PyObject *_wrap_wxLog_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
5115 PyObject * _resultobj;
5116 bool _result;
5117 wxLog * _arg0;
5118 PyObject * _argo0 = 0;
5119 char *_kwnames[] = { "self", NULL };
5120
5121 self = self;
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_GetVerbose",_kwnames,&_argo0))
5123 return NULL;
5124 if (_argo0) {
5125 if (_argo0 == Py_None) { _arg0 = NULL; }
5126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5128 return NULL;
5129 }
5130 }
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 _result = (bool )wxLog_GetVerbose(_arg0);
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) return NULL;
5137 } _resultobj = Py_BuildValue("i",_result);
5138 return _resultobj;
5139 }
5140
5141 static PyObject *_wrap_wxLog_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
5142 PyObject * _resultobj;
5143 wxTraceMask * _result;
5144 char *_kwnames[] = { NULL };
5145 char _ptemp[128];
5146
5147 self = self;
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTraceMask",_kwnames))
5149 return NULL;
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 _result = new wxTraceMask (wxLog::GetTraceMask());
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) return NULL;
5156 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTraceMask_p");
5157 _resultobj = Py_BuildValue("s",_ptemp);
5158 return _resultobj;
5159 }
5160
5161 static PyObject *_wrap_wxLog_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject * _resultobj;
5163 bool _result;
5164 char * _arg0;
5165 char *_kwnames[] = { "mask", NULL };
5166
5167 self = self;
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLog_IsAllowedTraceMask",_kwnames,&_arg0))
5169 return NULL;
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 _result = (bool )wxLog::IsAllowedTraceMask(_arg0);
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) return NULL;
5176 } _resultobj = Py_BuildValue("i",_result);
5177 return _resultobj;
5178 }
5179
5180 static wxString wxLog_TimeStamp(wxLog *self) {
5181 wxString msg;
5182 wxLog::TimeStamp(&msg);
5183 return msg;
5184 }
5185 static PyObject *_wrap_wxLog_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject * _resultobj;
5187 wxString * _result;
5188 wxLog * _arg0;
5189 PyObject * _argo0 = 0;
5190 char *_kwnames[] = { "self", NULL };
5191
5192 self = self;
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_TimeStamp",_kwnames,&_argo0))
5194 return NULL;
5195 if (_argo0) {
5196 if (_argo0 == Py_None) { _arg0 = NULL; }
5197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5199 return NULL;
5200 }
5201 }
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 _result = new wxString (wxLog_TimeStamp(_arg0));
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) return NULL;
5208 }{
5209 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5210 }
5211 {
5212 delete _result;
5213 }
5214 return _resultobj;
5215 }
5216
5217 static void *SwigwxLogStderrTowxLog(void *ptr) {
5218 wxLogStderr *src;
5219 wxLog *dest;
5220 src = (wxLogStderr *) ptr;
5221 dest = (wxLog *) src;
5222 return (void *) dest;
5223 }
5224
5225 #define new_wxLogStderr() (new wxLogStderr())
5226 static PyObject *_wrap_new_wxLogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject * _resultobj;
5228 wxLogStderr * _result;
5229 char *_kwnames[] = { NULL };
5230 char _ptemp[128];
5231
5232 self = self;
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogStderr",_kwnames))
5234 return NULL;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 _result = (wxLogStderr *)new_wxLogStderr();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) return NULL;
5241 } if (_result) {
5242 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogStderr_p");
5243 _resultobj = Py_BuildValue("s",_ptemp);
5244 } else {
5245 Py_INCREF(Py_None);
5246 _resultobj = Py_None;
5247 }
5248 return _resultobj;
5249 }
5250
5251 static void *SwigwxLogTextCtrlTowxLog(void *ptr) {
5252 wxLogTextCtrl *src;
5253 wxLog *dest;
5254 src = (wxLogTextCtrl *) ptr;
5255 dest = (wxLog *) src;
5256 return (void *) dest;
5257 }
5258
5259 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5260 static PyObject *_wrap_new_wxLogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject * _resultobj;
5262 wxLogTextCtrl * _result;
5263 wxTextCtrl * _arg0;
5264 PyObject * _argo0 = 0;
5265 char *_kwnames[] = { "pTextCtrl", NULL };
5266 char _ptemp[128];
5267
5268 self = self;
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogTextCtrl",_kwnames,&_argo0))
5270 return NULL;
5271 if (_argo0) {
5272 if (_argo0 == Py_None) { _arg0 = NULL; }
5273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5275 return NULL;
5276 }
5277 }
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 _result = (wxLogTextCtrl *)new_wxLogTextCtrl(_arg0);
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) return NULL;
5284 } if (_result) {
5285 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogTextCtrl_p");
5286 _resultobj = Py_BuildValue("s",_ptemp);
5287 } else {
5288 Py_INCREF(Py_None);
5289 _resultobj = Py_None;
5290 }
5291 return _resultobj;
5292 }
5293
5294 static void *SwigwxLogGuiTowxLog(void *ptr) {
5295 wxLogGui *src;
5296 wxLog *dest;
5297 src = (wxLogGui *) ptr;
5298 dest = (wxLog *) src;
5299 return (void *) dest;
5300 }
5301
5302 #define new_wxLogGui() (new wxLogGui())
5303 static PyObject *_wrap_new_wxLogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject * _resultobj;
5305 wxLogGui * _result;
5306 char *_kwnames[] = { NULL };
5307 char _ptemp[128];
5308
5309 self = self;
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogGui",_kwnames))
5311 return NULL;
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 _result = (wxLogGui *)new_wxLogGui();
5315
5316 wxPyEndAllowThreads(__tstate);
5317 if (PyErr_Occurred()) return NULL;
5318 } if (_result) {
5319 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogGui_p");
5320 _resultobj = Py_BuildValue("s",_ptemp);
5321 } else {
5322 Py_INCREF(Py_None);
5323 _resultobj = Py_None;
5324 }
5325 return _resultobj;
5326 }
5327
5328 static void *SwigwxLogWindowTowxLog(void *ptr) {
5329 wxLogWindow *src;
5330 wxLog *dest;
5331 src = (wxLogWindow *) ptr;
5332 dest = (wxLog *) src;
5333 return (void *) dest;
5334 }
5335
5336 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5337 static PyObject *_wrap_new_wxLogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5338 PyObject * _resultobj;
5339 wxLogWindow * _result;
5340 wxFrame * _arg0;
5341 char * _arg1;
5342 bool _arg2 = (bool ) TRUE;
5343 bool _arg3 = (bool ) TRUE;
5344 PyObject * _argo0 = 0;
5345 int tempbool2 = (int) TRUE;
5346 int tempbool3 = (int) TRUE;
5347 char *_kwnames[] = { "pParent","szTitle","bShow","bPassToOld", NULL };
5348 char _ptemp[128];
5349
5350 self = self;
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|ii:new_wxLogWindow",_kwnames,&_argo0,&_arg1,&tempbool2,&tempbool3))
5352 return NULL;
5353 if (_argo0) {
5354 if (_argo0 == Py_None) { _arg0 = NULL; }
5355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
5356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5357 return NULL;
5358 }
5359 }
5360 _arg2 = (bool ) tempbool2;
5361 _arg3 = (bool ) tempbool3;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 _result = (wxLogWindow *)new_wxLogWindow(_arg0,_arg1,_arg2,_arg3);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) return NULL;
5368 } if (_result) {
5369 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogWindow_p");
5370 _resultobj = Py_BuildValue("s",_ptemp);
5371 } else {
5372 Py_INCREF(Py_None);
5373 _resultobj = Py_None;
5374 }
5375 return _resultobj;
5376 }
5377
5378 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5379 static PyObject *_wrap_wxLogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject * _resultobj;
5381 wxLogWindow * _arg0;
5382 bool _arg1 = (bool ) TRUE;
5383 PyObject * _argo0 = 0;
5384 int tempbool1 = (int) TRUE;
5385 char *_kwnames[] = { "self","bShow", NULL };
5386
5387 self = self;
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLogWindow_Show",_kwnames,&_argo0,&tempbool1))
5389 return NULL;
5390 if (_argo0) {
5391 if (_argo0 == Py_None) { _arg0 = NULL; }
5392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5394 return NULL;
5395 }
5396 }
5397 _arg1 = (bool ) tempbool1;
5398 {
5399 PyThreadState* __tstate = wxPyBeginAllowThreads();
5400 wxLogWindow_Show(_arg0,_arg1);
5401
5402 wxPyEndAllowThreads(__tstate);
5403 if (PyErr_Occurred()) return NULL;
5404 } Py_INCREF(Py_None);
5405 _resultobj = Py_None;
5406 return _resultobj;
5407 }
5408
5409 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5410 static PyObject *_wrap_wxLogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject * _resultobj;
5412 wxFrame * _result;
5413 wxLogWindow * _arg0;
5414 PyObject * _argo0 = 0;
5415 char *_kwnames[] = { "self", NULL };
5416
5417 self = self;
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetFrame",_kwnames,&_argo0))
5419 return NULL;
5420 if (_argo0) {
5421 if (_argo0 == Py_None) { _arg0 = NULL; }
5422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5424 return NULL;
5425 }
5426 }
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 _result = (wxFrame *)wxLogWindow_GetFrame(_arg0);
5430
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) return NULL;
5433 }{ _resultobj = wxPyMake_wxObject(_result); }
5434 return _resultobj;
5435 }
5436
5437 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5438 static PyObject *_wrap_wxLogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject * _resultobj;
5440 wxLog * _result;
5441 wxLogWindow * _arg0;
5442 PyObject * _argo0 = 0;
5443 char *_kwnames[] = { "self", NULL };
5444 char _ptemp[128];
5445
5446 self = self;
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetOldLog",_kwnames,&_argo0))
5448 return NULL;
5449 if (_argo0) {
5450 if (_argo0 == Py_None) { _arg0 = NULL; }
5451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5453 return NULL;
5454 }
5455 }
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 _result = (wxLog *)wxLogWindow_GetOldLog(_arg0);
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) return NULL;
5462 } if (_result) {
5463 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5464 _resultobj = Py_BuildValue("s",_ptemp);
5465 } else {
5466 Py_INCREF(Py_None);
5467 _resultobj = Py_None;
5468 }
5469 return _resultobj;
5470 }
5471
5472 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5473 static PyObject *_wrap_wxLogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject * _resultobj;
5475 bool _result;
5476 wxLogWindow * _arg0;
5477 PyObject * _argo0 = 0;
5478 char *_kwnames[] = { "self", NULL };
5479
5480 self = self;
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_IsPassingMessages",_kwnames,&_argo0))
5482 return NULL;
5483 if (_argo0) {
5484 if (_argo0 == Py_None) { _arg0 = NULL; }
5485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5487 return NULL;
5488 }
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 _result = (bool )wxLogWindow_IsPassingMessages(_arg0);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) return NULL;
5496 } _resultobj = Py_BuildValue("i",_result);
5497 return _resultobj;
5498 }
5499
5500 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5501 static PyObject *_wrap_wxLogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5502 PyObject * _resultobj;
5503 wxLogWindow * _arg0;
5504 bool _arg1;
5505 PyObject * _argo0 = 0;
5506 int tempbool1;
5507 char *_kwnames[] = { "self","bDoPass", NULL };
5508
5509 self = self;
5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogWindow_PassMessages",_kwnames,&_argo0,&tempbool1))
5511 return NULL;
5512 if (_argo0) {
5513 if (_argo0 == Py_None) { _arg0 = NULL; }
5514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5516 return NULL;
5517 }
5518 }
5519 _arg1 = (bool ) tempbool1;
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 wxLogWindow_PassMessages(_arg0,_arg1);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) return NULL;
5526 } Py_INCREF(Py_None);
5527 _resultobj = Py_None;
5528 return _resultobj;
5529 }
5530
5531 #define new_wxLogNull() (new wxLogNull())
5532 static PyObject *_wrap_new_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject * _resultobj;
5534 wxLogNull * _result;
5535 char *_kwnames[] = { NULL };
5536 char _ptemp[128];
5537
5538 self = self;
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogNull",_kwnames))
5540 return NULL;
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 _result = (wxLogNull *)new_wxLogNull();
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) return NULL;
5547 } if (_result) {
5548 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogNull_p");
5549 _resultobj = Py_BuildValue("s",_ptemp);
5550 } else {
5551 Py_INCREF(Py_None);
5552 _resultobj = Py_None;
5553 }
5554 return _resultobj;
5555 }
5556
5557 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5558 static PyObject *_wrap_delete_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject * _resultobj;
5560 wxLogNull * _arg0;
5561 PyObject * _argo0 = 0;
5562 char *_kwnames[] = { "self", NULL };
5563
5564 self = self;
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLogNull",_kwnames,&_argo0))
5566 return NULL;
5567 if (_argo0) {
5568 if (_argo0 == Py_None) { _arg0 = NULL; }
5569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogNull_p")) {
5570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5571 return NULL;
5572 }
5573 }
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 delete_wxLogNull(_arg0);
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) return NULL;
5580 } Py_INCREF(Py_None);
5581 _resultobj = Py_None;
5582 return _resultobj;
5583 }
5584
5585 static void *SwigwxLogChainTowxLog(void *ptr) {
5586 wxLogChain *src;
5587 wxLog *dest;
5588 src = (wxLogChain *) ptr;
5589 dest = (wxLog *) src;
5590 return (void *) dest;
5591 }
5592
5593 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5594 static PyObject *_wrap_new_wxLogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
5595 PyObject * _resultobj;
5596 wxLogChain * _result;
5597 wxLog * _arg0;
5598 PyObject * _argo0 = 0;
5599 char *_kwnames[] = { "logger", NULL };
5600 char _ptemp[128];
5601
5602 self = self;
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogChain",_kwnames,&_argo0))
5604 return NULL;
5605 if (_argo0) {
5606 if (_argo0 == Py_None) { _arg0 = NULL; }
5607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5609 return NULL;
5610 }
5611 }
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 _result = (wxLogChain *)new_wxLogChain(_arg0);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) return NULL;
5618 } if (_result) {
5619 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogChain_p");
5620 _resultobj = Py_BuildValue("s",_ptemp);
5621 } else {
5622 Py_INCREF(Py_None);
5623 _resultobj = Py_None;
5624 }
5625 return _resultobj;
5626 }
5627
5628 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5629 static PyObject *_wrap_wxLogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject * _resultobj;
5631 wxLogChain * _arg0;
5632 wxLog * _arg1;
5633 PyObject * _argo0 = 0;
5634 PyObject * _argo1 = 0;
5635 char *_kwnames[] = { "self","logger", NULL };
5636
5637 self = self;
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxLogChain_SetLog",_kwnames,&_argo0,&_argo1))
5639 return NULL;
5640 if (_argo0) {
5641 if (_argo0 == Py_None) { _arg0 = NULL; }
5642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5644 return NULL;
5645 }
5646 }
5647 if (_argo1) {
5648 if (_argo1 == Py_None) { _arg1 = NULL; }
5649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLog_p")) {
5650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5651 return NULL;
5652 }
5653 }
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 wxLogChain_SetLog(_arg0,_arg1);
5657
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) return NULL;
5660 } Py_INCREF(Py_None);
5661 _resultobj = Py_None;
5662 return _resultobj;
5663 }
5664
5665 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5666 static PyObject *_wrap_wxLogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject * _resultobj;
5668 wxLogChain * _arg0;
5669 bool _arg1;
5670 PyObject * _argo0 = 0;
5671 int tempbool1;
5672 char *_kwnames[] = { "self","bDoPass", NULL };
5673
5674 self = self;
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogChain_PassMessages",_kwnames,&_argo0,&tempbool1))
5676 return NULL;
5677 if (_argo0) {
5678 if (_argo0 == Py_None) { _arg0 = NULL; }
5679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5681 return NULL;
5682 }
5683 }
5684 _arg1 = (bool ) tempbool1;
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 wxLogChain_PassMessages(_arg0,_arg1);
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) return NULL;
5691 } Py_INCREF(Py_None);
5692 _resultobj = Py_None;
5693 return _resultobj;
5694 }
5695
5696 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5697 static PyObject *_wrap_wxLogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject * _resultobj;
5699 bool _result;
5700 wxLogChain * _arg0;
5701 PyObject * _argo0 = 0;
5702 char *_kwnames[] = { "self", NULL };
5703
5704 self = self;
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_IsPassingMessages",_kwnames,&_argo0))
5706 return NULL;
5707 if (_argo0) {
5708 if (_argo0 == Py_None) { _arg0 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5711 return NULL;
5712 }
5713 }
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 _result = (bool )wxLogChain_IsPassingMessages(_arg0);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) return NULL;
5720 } _resultobj = Py_BuildValue("i",_result);
5721 return _resultobj;
5722 }
5723
5724 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5725 static PyObject *_wrap_wxLogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject * _resultobj;
5727 wxLog * _result;
5728 wxLogChain * _arg0;
5729 PyObject * _argo0 = 0;
5730 char *_kwnames[] = { "self", NULL };
5731 char _ptemp[128];
5732
5733 self = self;
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_GetOldLog",_kwnames,&_argo0))
5735 return NULL;
5736 if (_argo0) {
5737 if (_argo0 == Py_None) { _arg0 = NULL; }
5738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5740 return NULL;
5741 }
5742 }
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 _result = (wxLog *)wxLogChain_GetOldLog(_arg0);
5746
5747 wxPyEndAllowThreads(__tstate);
5748 if (PyErr_Occurred()) return NULL;
5749 } if (_result) {
5750 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5751 _resultobj = Py_BuildValue("s",_ptemp);
5752 } else {
5753 Py_INCREF(Py_None);
5754 _resultobj = Py_None;
5755 }
5756 return _resultobj;
5757 }
5758
5759 static void *SwigwxPyLogTowxLog(void *ptr) {
5760 wxPyLog *src;
5761 wxLog *dest;
5762 src = (wxPyLog *) ptr;
5763 dest = (wxLog *) src;
5764 return (void *) dest;
5765 }
5766
5767 #define new_wxPyLog() (new wxPyLog())
5768 static PyObject *_wrap_new_wxPyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject * _resultobj;
5770 wxPyLog * _result;
5771 char *_kwnames[] = { NULL };
5772 char _ptemp[128];
5773
5774 self = self;
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLog",_kwnames))
5776 return NULL;
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 _result = (wxPyLog *)new_wxPyLog();
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) return NULL;
5783 } if (_result) {
5784 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLog_p");
5785 _resultobj = Py_BuildValue("s",_ptemp);
5786 } else {
5787 Py_INCREF(Py_None);
5788 _resultobj = Py_None;
5789 }
5790 return _resultobj;
5791 }
5792
5793 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5794 static PyObject *_wrap_wxPyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject * _resultobj;
5796 wxPyLog * _arg0;
5797 PyObject * _arg1;
5798 PyObject * _arg2;
5799 PyObject * _argo0 = 0;
5800 PyObject * _obj1 = 0;
5801 PyObject * _obj2 = 0;
5802 char *_kwnames[] = { "self","self","_class", NULL };
5803
5804 self = self;
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLog__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5806 return NULL;
5807 if (_argo0) {
5808 if (_argo0 == Py_None) { _arg0 = NULL; }
5809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5811 return NULL;
5812 }
5813 }
5814 {
5815 _arg1 = _obj1;
5816 }
5817 {
5818 _arg2 = _obj2;
5819 }
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 wxPyLog__setCallbackInfo(_arg0,_arg1,_arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) return NULL;
5826 } Py_INCREF(Py_None);
5827 _resultobj = Py_None;
5828 return _resultobj;
5829 }
5830
5831 static void wxPyLog_Destroy(wxPyLog *self) { delete self; }
5832 static PyObject *_wrap_wxPyLog_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject * _resultobj;
5834 wxPyLog * _arg0;
5835 PyObject * _argo0 = 0;
5836 char *_kwnames[] = { "self", NULL };
5837
5838 self = self;
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLog_Destroy",_kwnames,&_argo0))
5840 return NULL;
5841 if (_argo0) {
5842 if (_argo0 == Py_None) { _arg0 = NULL; }
5843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5845 return NULL;
5846 }
5847 }
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 wxPyLog_Destroy(_arg0);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) return NULL;
5854 } Py_INCREF(Py_None);
5855 _resultobj = Py_None;
5856 return _resultobj;
5857 }
5858
5859 static void *SwigwxProcessEventTowxEvent(void *ptr) {
5860 wxProcessEvent *src;
5861 wxEvent *dest;
5862 src = (wxProcessEvent *) ptr;
5863 dest = (wxEvent *) src;
5864 return (void *) dest;
5865 }
5866
5867 static void *SwigwxProcessEventTowxObject(void *ptr) {
5868 wxProcessEvent *src;
5869 wxObject *dest;
5870 src = (wxProcessEvent *) ptr;
5871 dest = (wxObject *) src;
5872 return (void *) dest;
5873 }
5874
5875 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5876 static PyObject *_wrap_new_wxProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5877 PyObject * _resultobj;
5878 wxProcessEvent * _result;
5879 int _arg0 = (int ) 0;
5880 int _arg1 = (int ) 0;
5881 int _arg2 = (int ) 0;
5882 char *_kwnames[] = { "id","pid","exitcode", NULL };
5883 char _ptemp[128];
5884
5885 self = self;
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxProcessEvent",_kwnames,&_arg0,&_arg1,&_arg2))
5887 return NULL;
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 _result = (wxProcessEvent *)new_wxProcessEvent(_arg0,_arg1,_arg2);
5891
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) return NULL;
5894 } if (_result) {
5895 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProcessEvent_p");
5896 _resultobj = Py_BuildValue("s",_ptemp);
5897 } else {
5898 Py_INCREF(Py_None);
5899 _resultobj = Py_None;
5900 }
5901 return _resultobj;
5902 }
5903
5904 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5905 static PyObject *_wrap_wxProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject * _resultobj;
5907 int _result;
5908 wxProcessEvent * _arg0;
5909 PyObject * _argo0 = 0;
5910 char *_kwnames[] = { "self", NULL };
5911
5912 self = self;
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetPid",_kwnames,&_argo0))
5914 return NULL;
5915 if (_argo0) {
5916 if (_argo0 == Py_None) { _arg0 = NULL; }
5917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5919 return NULL;
5920 }
5921 }
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 _result = (int )wxProcessEvent_GetPid(_arg0);
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) return NULL;
5928 } _resultobj = Py_BuildValue("i",_result);
5929 return _resultobj;
5930 }
5931
5932 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5933 static PyObject *_wrap_wxProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
5934 PyObject * _resultobj;
5935 int _result;
5936 wxProcessEvent * _arg0;
5937 PyObject * _argo0 = 0;
5938 char *_kwnames[] = { "self", NULL };
5939
5940 self = self;
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetExitCode",_kwnames,&_argo0))
5942 return NULL;
5943 if (_argo0) {
5944 if (_argo0 == Py_None) { _arg0 = NULL; }
5945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5947 return NULL;
5948 }
5949 }
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 _result = (int )wxProcessEvent_GetExitCode(_arg0);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) return NULL;
5956 } _resultobj = Py_BuildValue("i",_result);
5957 return _resultobj;
5958 }
5959
5960 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5961 static PyObject *_wrap_wxProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject * _resultobj;
5963 int _result;
5964 wxProcessEvent * _arg0;
5965 int _arg1;
5966 PyObject * _argo0 = 0;
5967 char *_kwnames[] = { "self","m_pid", NULL };
5968
5969 self = self;
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_pid_set",_kwnames,&_argo0,&_arg1))
5971 return NULL;
5972 if (_argo0) {
5973 if (_argo0 == Py_None) { _arg0 = NULL; }
5974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5976 return NULL;
5977 }
5978 }
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 _result = (int )wxProcessEvent_m_pid_set(_arg0,_arg1);
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) return NULL;
5985 } _resultobj = Py_BuildValue("i",_result);
5986 return _resultobj;
5987 }
5988
5989 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5990 static PyObject *_wrap_wxProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject * _resultobj;
5992 int _result;
5993 wxProcessEvent * _arg0;
5994 PyObject * _argo0 = 0;
5995 char *_kwnames[] = { "self", NULL };
5996
5997 self = self;
5998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_pid_get",_kwnames,&_argo0))
5999 return NULL;
6000 if (_argo0) {
6001 if (_argo0 == Py_None) { _arg0 = NULL; }
6002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
6003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6004 return NULL;
6005 }
6006 }
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 _result = (int )wxProcessEvent_m_pid_get(_arg0);
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) return NULL;
6013 } _resultobj = Py_BuildValue("i",_result);
6014 return _resultobj;
6015 }
6016
6017 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6018 static PyObject *_wrap_wxProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject * _resultobj;
6020 int _result;
6021 wxProcessEvent * _arg0;
6022 int _arg1;
6023 PyObject * _argo0 = 0;
6024 char *_kwnames[] = { "self","m_exitcode", NULL };
6025
6026 self = self;
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_exitcode_set",_kwnames,&_argo0,&_arg1))
6028 return NULL;
6029 if (_argo0) {
6030 if (_argo0 == Py_None) { _arg0 = NULL; }
6031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
6032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6033 return NULL;
6034 }
6035 }
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 _result = (int )wxProcessEvent_m_exitcode_set(_arg0,_arg1);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) return NULL;
6042 } _resultobj = Py_BuildValue("i",_result);
6043 return _resultobj;
6044 }
6045
6046 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6047 static PyObject *_wrap_wxProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject * _resultobj;
6049 int _result;
6050 wxProcessEvent * _arg0;
6051 PyObject * _argo0 = 0;
6052 char *_kwnames[] = { "self", NULL };
6053
6054 self = self;
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_exitcode_get",_kwnames,&_argo0))
6056 return NULL;
6057 if (_argo0) {
6058 if (_argo0 == Py_None) { _arg0 = NULL; }
6059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
6060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6061 return NULL;
6062 }
6063 }
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 _result = (int )wxProcessEvent_m_exitcode_get(_arg0);
6067
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) return NULL;
6070 } _resultobj = Py_BuildValue("i",_result);
6071 return _resultobj;
6072 }
6073
6074 static void *SwigwxPyProcessTowxEvtHandler(void *ptr) {
6075 wxPyProcess *src;
6076 wxEvtHandler *dest;
6077 src = (wxPyProcess *) ptr;
6078 dest = (wxEvtHandler *) src;
6079 return (void *) dest;
6080 }
6081
6082 static void *SwigwxPyProcessTowxObject(void *ptr) {
6083 wxPyProcess *src;
6084 wxObject *dest;
6085 src = (wxPyProcess *) ptr;
6086 dest = (wxObject *) src;
6087 return (void *) dest;
6088 }
6089
6090 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6091 static PyObject *_wrap_new_wxProcess(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject * _resultobj;
6093 wxPyProcess * _result;
6094 wxEvtHandler * _arg0 = (wxEvtHandler *) NULL;
6095 int _arg1 = (int ) -1;
6096 PyObject * _argo0 = 0;
6097 char *_kwnames[] = { "parent","id", NULL };
6098 char _ptemp[128];
6099
6100 self = self;
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxProcess",_kwnames,&_argo0,&_arg1))
6102 return NULL;
6103 if (_argo0) {
6104 if (_argo0 == Py_None) { _arg0 = NULL; }
6105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
6106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6107 return NULL;
6108 }
6109 }
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 _result = (wxPyProcess *)new_wxProcess(_arg0,_arg1);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) return NULL;
6116 } if (_result) {
6117 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyProcess_p");
6118 _resultobj = Py_BuildValue("s",_ptemp);
6119 } else {
6120 Py_INCREF(Py_None);
6121 _resultobj = Py_None;
6122 }
6123 return _resultobj;
6124 }
6125
6126 static void wxPyProcess_Destroy(wxPyProcess *self) { delete self; }
6127 static PyObject *_wrap_wxProcess_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject * _resultobj;
6129 wxPyProcess * _arg0;
6130 PyObject * _argo0 = 0;
6131 char *_kwnames[] = { "self", NULL };
6132
6133 self = self;
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Destroy",_kwnames,&_argo0))
6135 return NULL;
6136 if (_argo0) {
6137 if (_argo0 == Py_None) { _arg0 = NULL; }
6138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6140 return NULL;
6141 }
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 wxPyProcess_Destroy(_arg0);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) return NULL;
6149 } Py_INCREF(Py_None);
6150 _resultobj = Py_None;
6151 return _resultobj;
6152 }
6153
6154 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6155 static PyObject *_wrap_wxProcess__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject * _resultobj;
6157 wxPyProcess * _arg0;
6158 PyObject * _arg1;
6159 PyObject * _arg2;
6160 PyObject * _argo0 = 0;
6161 PyObject * _obj1 = 0;
6162 PyObject * _obj2 = 0;
6163 char *_kwnames[] = { "self","self","_class", NULL };
6164
6165 self = self;
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxProcess__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
6167 return NULL;
6168 if (_argo0) {
6169 if (_argo0 == Py_None) { _arg0 = NULL; }
6170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6172 return NULL;
6173 }
6174 }
6175 {
6176 _arg1 = _obj1;
6177 }
6178 {
6179 _arg2 = _obj2;
6180 }
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 wxProcess__setCallbackInfo(_arg0,_arg1,_arg2);
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) return NULL;
6187 } Py_INCREF(Py_None);
6188 _resultobj = Py_None;
6189 return _resultobj;
6190 }
6191
6192 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6193 static PyObject *_wrap_wxProcess_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject * _resultobj;
6195 wxPyProcess * _arg0;
6196 int _arg1;
6197 int _arg2;
6198 PyObject * _argo0 = 0;
6199 char *_kwnames[] = { "self","pid","status", NULL };
6200
6201 self = self;
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxProcess_base_OnTerminate",_kwnames,&_argo0,&_arg1,&_arg2))
6203 return NULL;
6204 if (_argo0) {
6205 if (_argo0 == Py_None) { _arg0 = NULL; }
6206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6208 return NULL;
6209 }
6210 }
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 wxProcess_base_OnTerminate(_arg0,_arg1,_arg2);
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) return NULL;
6217 } Py_INCREF(Py_None);
6218 _resultobj = Py_None;
6219 return _resultobj;
6220 }
6221
6222 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6223 static PyObject *_wrap_wxProcess_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
6224 PyObject * _resultobj;
6225 wxPyProcess * _arg0;
6226 PyObject * _argo0 = 0;
6227 char *_kwnames[] = { "self", NULL };
6228
6229 self = self;
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Redirect",_kwnames,&_argo0))
6231 return NULL;
6232 if (_argo0) {
6233 if (_argo0 == Py_None) { _arg0 = NULL; }
6234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6236 return NULL;
6237 }
6238 }
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 wxProcess_Redirect(_arg0);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) return NULL;
6245 } Py_INCREF(Py_None);
6246 _resultobj = Py_None;
6247 return _resultobj;
6248 }
6249
6250 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6251 static PyObject *_wrap_wxProcess_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject * _resultobj;
6253 bool _result;
6254 wxPyProcess * _arg0;
6255 PyObject * _argo0 = 0;
6256 char *_kwnames[] = { "self", NULL };
6257
6258 self = self;
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_IsRedirected",_kwnames,&_argo0))
6260 return NULL;
6261 if (_argo0) {
6262 if (_argo0 == Py_None) { _arg0 = NULL; }
6263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6265 return NULL;
6266 }
6267 }
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 _result = (bool )wxProcess_IsRedirected(_arg0);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) return NULL;
6274 } _resultobj = Py_BuildValue("i",_result);
6275 return _resultobj;
6276 }
6277
6278 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6279 static PyObject *_wrap_wxProcess_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject * _resultobj;
6281 wxPyProcess * _arg0;
6282 PyObject * _argo0 = 0;
6283 char *_kwnames[] = { "self", NULL };
6284
6285 self = self;
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Detach",_kwnames,&_argo0))
6287 return NULL;
6288 if (_argo0) {
6289 if (_argo0 == Py_None) { _arg0 = NULL; }
6290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6292 return NULL;
6293 }
6294 }
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 wxProcess_Detach(_arg0);
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) return NULL;
6301 } Py_INCREF(Py_None);
6302 _resultobj = Py_None;
6303 return _resultobj;
6304 }
6305
6306 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6307 static PyObject *_wrap_wxProcess_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6308 PyObject * _resultobj;
6309 wxInputStream * _result;
6310 wxPyProcess * _arg0;
6311 PyObject * _argo0 = 0;
6312 char *_kwnames[] = { "self", NULL };
6313
6314 self = self;
6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetInputStream",_kwnames,&_argo0))
6316 return NULL;
6317 if (_argo0) {
6318 if (_argo0 == Py_None) { _arg0 = NULL; }
6319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6321 return NULL;
6322 }
6323 }
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 _result = (wxInputStream *)wxProcess_GetInputStream(_arg0);
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) return NULL;
6330 }{
6331 wxPyInputStream * _ptr = NULL;
6332
6333 if (_result) {
6334 _ptr = new wxPyInputStream(_result);
6335 }
6336 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
6337 }
6338 return _resultobj;
6339 }
6340
6341 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6342 static PyObject *_wrap_wxProcess_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6343 PyObject * _resultobj;
6344 wxInputStream * _result;
6345 wxPyProcess * _arg0;
6346 PyObject * _argo0 = 0;
6347 char *_kwnames[] = { "self", NULL };
6348
6349 self = self;
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetErrorStream",_kwnames,&_argo0))
6351 return NULL;
6352 if (_argo0) {
6353 if (_argo0 == Py_None) { _arg0 = NULL; }
6354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6356 return NULL;
6357 }
6358 }
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 _result = (wxInputStream *)wxProcess_GetErrorStream(_arg0);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) return NULL;
6365 }{
6366 wxPyInputStream * _ptr = NULL;
6367
6368 if (_result) {
6369 _ptr = new wxPyInputStream(_result);
6370 }
6371 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
6372 }
6373 return _resultobj;
6374 }
6375
6376 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6377 static PyObject *_wrap_wxProcess_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6378 PyObject * _resultobj;
6379 wxOutputStream * _result;
6380 wxPyProcess * _arg0;
6381 PyObject * _argo0 = 0;
6382 char *_kwnames[] = { "self", NULL };
6383 char _ptemp[128];
6384
6385 self = self;
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetOutputStream",_kwnames,&_argo0))
6387 return NULL;
6388 if (_argo0) {
6389 if (_argo0 == Py_None) { _arg0 = NULL; }
6390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6392 return NULL;
6393 }
6394 }
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 _result = (wxOutputStream *)wxProcess_GetOutputStream(_arg0);
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) return NULL;
6401 } if (_result) {
6402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOutputStream_p");
6403 _resultobj = Py_BuildValue("s",_ptemp);
6404 } else {
6405 Py_INCREF(Py_None);
6406 _resultobj = Py_None;
6407 }
6408 return _resultobj;
6409 }
6410
6411 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6412 static PyObject *_wrap_wxProcess_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
6413 PyObject * _resultobj;
6414 wxPyProcess * _arg0;
6415 PyObject * _argo0 = 0;
6416 char *_kwnames[] = { "self", NULL };
6417
6418 self = self;
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_CloseOutput",_kwnames,&_argo0))
6420 return NULL;
6421 if (_argo0) {
6422 if (_argo0 == Py_None) { _arg0 = NULL; }
6423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6425 return NULL;
6426 }
6427 }
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 wxProcess_CloseOutput(_arg0);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) return NULL;
6434 } Py_INCREF(Py_None);
6435 _resultobj = Py_None;
6436 return _resultobj;
6437 }
6438
6439 static void *SwigwxJoystickTowxObject(void *ptr) {
6440 wxJoystick *src;
6441 wxObject *dest;
6442 src = (wxJoystick *) ptr;
6443 dest = (wxObject *) src;
6444 return (void *) dest;
6445 }
6446
6447 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6448 static PyObject *_wrap_new_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6449 PyObject * _resultobj;
6450 wxJoystick * _result;
6451 int _arg0 = (int ) wxJOYSTICK1;
6452 char *_kwnames[] = { "joystick", NULL };
6453 char _ptemp[128];
6454
6455 self = self;
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxJoystick",_kwnames,&_arg0))
6457 return NULL;
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 _result = (wxJoystick *)new_wxJoystick(_arg0);
6461
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) return NULL;
6464 } if (_result) {
6465 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystick_p");
6466 _resultobj = Py_BuildValue("s",_ptemp);
6467 } else {
6468 Py_INCREF(Py_None);
6469 _resultobj = Py_None;
6470 }
6471 return _resultobj;
6472 }
6473
6474 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6475 static PyObject *_wrap_delete_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6476 PyObject * _resultobj;
6477 wxJoystick * _arg0;
6478 PyObject * _argo0 = 0;
6479 char *_kwnames[] = { "self", NULL };
6480
6481 self = self;
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxJoystick",_kwnames,&_argo0))
6483 return NULL;
6484 if (_argo0) {
6485 if (_argo0 == Py_None) { _arg0 = NULL; }
6486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6488 return NULL;
6489 }
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 delete_wxJoystick(_arg0);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) return NULL;
6497 } Py_INCREF(Py_None);
6498 _resultobj = Py_None;
6499 return _resultobj;
6500 }
6501
6502 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6503 static PyObject *_wrap_wxJoystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6504 PyObject * _resultobj;
6505 wxPoint * _result;
6506 wxJoystick * _arg0;
6507 PyObject * _argo0 = 0;
6508 char *_kwnames[] = { "self", NULL };
6509 char _ptemp[128];
6510
6511 self = self;
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPosition",_kwnames,&_argo0))
6513 return NULL;
6514 if (_argo0) {
6515 if (_argo0 == Py_None) { _arg0 = NULL; }
6516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6518 return NULL;
6519 }
6520 }
6521 {
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 _result = new wxPoint (wxJoystick_GetPosition(_arg0));
6524
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) return NULL;
6527 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6528 _resultobj = Py_BuildValue("s",_ptemp);
6529 return _resultobj;
6530 }
6531
6532 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6533 static PyObject *_wrap_wxJoystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject * _resultobj;
6535 int _result;
6536 wxJoystick * _arg0;
6537 PyObject * _argo0 = 0;
6538 char *_kwnames[] = { "self", NULL };
6539
6540 self = self;
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZPosition",_kwnames,&_argo0))
6542 return NULL;
6543 if (_argo0) {
6544 if (_argo0 == Py_None) { _arg0 = NULL; }
6545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6547 return NULL;
6548 }
6549 }
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 _result = (int )wxJoystick_GetZPosition(_arg0);
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) return NULL;
6556 } _resultobj = Py_BuildValue("i",_result);
6557 return _resultobj;
6558 }
6559
6560 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6561 static PyObject *_wrap_wxJoystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject * _resultobj;
6563 int _result;
6564 wxJoystick * _arg0;
6565 PyObject * _argo0 = 0;
6566 char *_kwnames[] = { "self", NULL };
6567
6568 self = self;
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetButtonState",_kwnames,&_argo0))
6570 return NULL;
6571 if (_argo0) {
6572 if (_argo0 == Py_None) { _arg0 = NULL; }
6573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6575 return NULL;
6576 }
6577 }
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 _result = (int )wxJoystick_GetButtonState(_arg0);
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) return NULL;
6584 } _resultobj = Py_BuildValue("i",_result);
6585 return _resultobj;
6586 }
6587
6588 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6589 static PyObject *_wrap_wxJoystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6590 PyObject * _resultobj;
6591 int _result;
6592 wxJoystick * _arg0;
6593 PyObject * _argo0 = 0;
6594 char *_kwnames[] = { "self", NULL };
6595
6596 self = self;
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVPosition",_kwnames,&_argo0))
6598 return NULL;
6599 if (_argo0) {
6600 if (_argo0 == Py_None) { _arg0 = NULL; }
6601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6603 return NULL;
6604 }
6605 }
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 _result = (int )wxJoystick_GetPOVPosition(_arg0);
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) return NULL;
6612 } _resultobj = Py_BuildValue("i",_result);
6613 return _resultobj;
6614 }
6615
6616 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6617 static PyObject *_wrap_wxJoystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject * _resultobj;
6619 int _result;
6620 wxJoystick * _arg0;
6621 PyObject * _argo0 = 0;
6622 char *_kwnames[] = { "self", NULL };
6623
6624 self = self;
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVCTSPosition",_kwnames,&_argo0))
6626 return NULL;
6627 if (_argo0) {
6628 if (_argo0 == Py_None) { _arg0 = NULL; }
6629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6631 return NULL;
6632 }
6633 }
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 _result = (int )wxJoystick_GetPOVCTSPosition(_arg0);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) return NULL;
6640 } _resultobj = Py_BuildValue("i",_result);
6641 return _resultobj;
6642 }
6643
6644 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6645 static PyObject *_wrap_wxJoystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6646 PyObject * _resultobj;
6647 int _result;
6648 wxJoystick * _arg0;
6649 PyObject * _argo0 = 0;
6650 char *_kwnames[] = { "self", NULL };
6651
6652 self = self;
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderPosition",_kwnames,&_argo0))
6654 return NULL;
6655 if (_argo0) {
6656 if (_argo0 == Py_None) { _arg0 = NULL; }
6657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6659 return NULL;
6660 }
6661 }
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 _result = (int )wxJoystick_GetRudderPosition(_arg0);
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) return NULL;
6668 } _resultobj = Py_BuildValue("i",_result);
6669 return _resultobj;
6670 }
6671
6672 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6673 static PyObject *_wrap_wxJoystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6674 PyObject * _resultobj;
6675 int _result;
6676 wxJoystick * _arg0;
6677 PyObject * _argo0 = 0;
6678 char *_kwnames[] = { "self", NULL };
6679
6680 self = self;
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUPosition",_kwnames,&_argo0))
6682 return NULL;
6683 if (_argo0) {
6684 if (_argo0 == Py_None) { _arg0 = NULL; }
6685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6687 return NULL;
6688 }
6689 }
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 _result = (int )wxJoystick_GetUPosition(_arg0);
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) return NULL;
6696 } _resultobj = Py_BuildValue("i",_result);
6697 return _resultobj;
6698 }
6699
6700 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6701 static PyObject *_wrap_wxJoystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject * _resultobj;
6703 int _result;
6704 wxJoystick * _arg0;
6705 PyObject * _argo0 = 0;
6706 char *_kwnames[] = { "self", NULL };
6707
6708 self = self;
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVPosition",_kwnames,&_argo0))
6710 return NULL;
6711 if (_argo0) {
6712 if (_argo0 == Py_None) { _arg0 = NULL; }
6713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6715 return NULL;
6716 }
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 _result = (int )wxJoystick_GetVPosition(_arg0);
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) return NULL;
6724 } _resultobj = Py_BuildValue("i",_result);
6725 return _resultobj;
6726 }
6727
6728 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6729 static PyObject *_wrap_wxJoystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6730 PyObject * _resultobj;
6731 int _result;
6732 wxJoystick * _arg0;
6733 PyObject * _argo0 = 0;
6734 char *_kwnames[] = { "self", NULL };
6735
6736 self = self;
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMovementThreshold",_kwnames,&_argo0))
6738 return NULL;
6739 if (_argo0) {
6740 if (_argo0 == Py_None) { _arg0 = NULL; }
6741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6743 return NULL;
6744 }
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 _result = (int )wxJoystick_GetMovementThreshold(_arg0);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) return NULL;
6752 } _resultobj = Py_BuildValue("i",_result);
6753 return _resultobj;
6754 }
6755
6756 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6757 static PyObject *_wrap_wxJoystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject * _resultobj;
6759 wxJoystick * _arg0;
6760 int _arg1;
6761 PyObject * _argo0 = 0;
6762 char *_kwnames[] = { "self","threshold", NULL };
6763
6764 self = self;
6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystick_SetMovementThreshold",_kwnames,&_argo0,&_arg1))
6766 return NULL;
6767 if (_argo0) {
6768 if (_argo0 == Py_None) { _arg0 = NULL; }
6769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6771 return NULL;
6772 }
6773 }
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 wxJoystick_SetMovementThreshold(_arg0,_arg1);
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) return NULL;
6780 } Py_INCREF(Py_None);
6781 _resultobj = Py_None;
6782 return _resultobj;
6783 }
6784
6785 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6786 static PyObject *_wrap_wxJoystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
6787 PyObject * _resultobj;
6788 bool _result;
6789 wxJoystick * _arg0;
6790 PyObject * _argo0 = 0;
6791 char *_kwnames[] = { "self", NULL };
6792
6793 self = self;
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_IsOk",_kwnames,&_argo0))
6795 return NULL;
6796 if (_argo0) {
6797 if (_argo0 == Py_None) { _arg0 = NULL; }
6798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6800 return NULL;
6801 }
6802 }
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 _result = (bool )wxJoystick_IsOk(_arg0);
6806
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) return NULL;
6809 } _resultobj = Py_BuildValue("i",_result);
6810 return _resultobj;
6811 }
6812
6813 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6814 static PyObject *_wrap_wxJoystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject * _resultobj;
6816 int _result;
6817 wxJoystick * _arg0;
6818 PyObject * _argo0 = 0;
6819 char *_kwnames[] = { "self", NULL };
6820
6821 self = self;
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberJoysticks",_kwnames,&_argo0))
6823 return NULL;
6824 if (_argo0) {
6825 if (_argo0 == Py_None) { _arg0 = NULL; }
6826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6828 return NULL;
6829 }
6830 }
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 _result = (int )wxJoystick_GetNumberJoysticks(_arg0);
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) return NULL;
6837 } _resultobj = Py_BuildValue("i",_result);
6838 return _resultobj;
6839 }
6840
6841 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6842 static PyObject *_wrap_wxJoystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject * _resultobj;
6844 int _result;
6845 wxJoystick * _arg0;
6846 PyObject * _argo0 = 0;
6847 char *_kwnames[] = { "self", NULL };
6848
6849 self = self;
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetManufacturerId",_kwnames,&_argo0))
6851 return NULL;
6852 if (_argo0) {
6853 if (_argo0 == Py_None) { _arg0 = NULL; }
6854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6856 return NULL;
6857 }
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 _result = (int )wxJoystick_GetManufacturerId(_arg0);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) return NULL;
6865 } _resultobj = Py_BuildValue("i",_result);
6866 return _resultobj;
6867 }
6868
6869 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6870 static PyObject *_wrap_wxJoystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject * _resultobj;
6872 int _result;
6873 wxJoystick * _arg0;
6874 PyObject * _argo0 = 0;
6875 char *_kwnames[] = { "self", NULL };
6876
6877 self = self;
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductId",_kwnames,&_argo0))
6879 return NULL;
6880 if (_argo0) {
6881 if (_argo0 == Py_None) { _arg0 = NULL; }
6882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6884 return NULL;
6885 }
6886 }
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 _result = (int )wxJoystick_GetProductId(_arg0);
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) return NULL;
6893 } _resultobj = Py_BuildValue("i",_result);
6894 return _resultobj;
6895 }
6896
6897 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6898 static PyObject *_wrap_wxJoystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject * _resultobj;
6900 wxString * _result;
6901 wxJoystick * _arg0;
6902 PyObject * _argo0 = 0;
6903 char *_kwnames[] = { "self", NULL };
6904
6905 self = self;
6906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductName",_kwnames,&_argo0))
6907 return NULL;
6908 if (_argo0) {
6909 if (_argo0 == Py_None) { _arg0 = NULL; }
6910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6912 return NULL;
6913 }
6914 }
6915 {
6916 PyThreadState* __tstate = wxPyBeginAllowThreads();
6917 _result = new wxString (wxJoystick_GetProductName(_arg0));
6918
6919 wxPyEndAllowThreads(__tstate);
6920 if (PyErr_Occurred()) return NULL;
6921 }{
6922 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6923 }
6924 {
6925 delete _result;
6926 }
6927 return _resultobj;
6928 }
6929
6930 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6931 static PyObject *_wrap_wxJoystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6932 PyObject * _resultobj;
6933 int _result;
6934 wxJoystick * _arg0;
6935 PyObject * _argo0 = 0;
6936 char *_kwnames[] = { "self", NULL };
6937
6938 self = self;
6939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMin",_kwnames,&_argo0))
6940 return NULL;
6941 if (_argo0) {
6942 if (_argo0 == Py_None) { _arg0 = NULL; }
6943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6945 return NULL;
6946 }
6947 }
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 _result = (int )wxJoystick_GetXMin(_arg0);
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) return NULL;
6954 } _resultobj = Py_BuildValue("i",_result);
6955 return _resultobj;
6956 }
6957
6958 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6959 static PyObject *_wrap_wxJoystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject * _resultobj;
6961 int _result;
6962 wxJoystick * _arg0;
6963 PyObject * _argo0 = 0;
6964 char *_kwnames[] = { "self", NULL };
6965
6966 self = self;
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMin",_kwnames,&_argo0))
6968 return NULL;
6969 if (_argo0) {
6970 if (_argo0 == Py_None) { _arg0 = NULL; }
6971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6973 return NULL;
6974 }
6975 }
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 _result = (int )wxJoystick_GetYMin(_arg0);
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) return NULL;
6982 } _resultobj = Py_BuildValue("i",_result);
6983 return _resultobj;
6984 }
6985
6986 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6987 static PyObject *_wrap_wxJoystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject * _resultobj;
6989 int _result;
6990 wxJoystick * _arg0;
6991 PyObject * _argo0 = 0;
6992 char *_kwnames[] = { "self", NULL };
6993
6994 self = self;
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMin",_kwnames,&_argo0))
6996 return NULL;
6997 if (_argo0) {
6998 if (_argo0 == Py_None) { _arg0 = NULL; }
6999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7001 return NULL;
7002 }
7003 }
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 _result = (int )wxJoystick_GetZMin(_arg0);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) return NULL;
7010 } _resultobj = Py_BuildValue("i",_result);
7011 return _resultobj;
7012 }
7013
7014 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7015 static PyObject *_wrap_wxJoystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject * _resultobj;
7017 int _result;
7018 wxJoystick * _arg0;
7019 PyObject * _argo0 = 0;
7020 char *_kwnames[] = { "self", NULL };
7021
7022 self = self;
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMax",_kwnames,&_argo0))
7024 return NULL;
7025 if (_argo0) {
7026 if (_argo0 == Py_None) { _arg0 = NULL; }
7027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7029 return NULL;
7030 }
7031 }
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 _result = (int )wxJoystick_GetXMax(_arg0);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) return NULL;
7038 } _resultobj = Py_BuildValue("i",_result);
7039 return _resultobj;
7040 }
7041
7042 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7043 static PyObject *_wrap_wxJoystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject * _resultobj;
7045 int _result;
7046 wxJoystick * _arg0;
7047 PyObject * _argo0 = 0;
7048 char *_kwnames[] = { "self", NULL };
7049
7050 self = self;
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMax",_kwnames,&_argo0))
7052 return NULL;
7053 if (_argo0) {
7054 if (_argo0 == Py_None) { _arg0 = NULL; }
7055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7057 return NULL;
7058 }
7059 }
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 _result = (int )wxJoystick_GetYMax(_arg0);
7063
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) return NULL;
7066 } _resultobj = Py_BuildValue("i",_result);
7067 return _resultobj;
7068 }
7069
7070 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7071 static PyObject *_wrap_wxJoystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject * _resultobj;
7073 int _result;
7074 wxJoystick * _arg0;
7075 PyObject * _argo0 = 0;
7076 char *_kwnames[] = { "self", NULL };
7077
7078 self = self;
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMax",_kwnames,&_argo0))
7080 return NULL;
7081 if (_argo0) {
7082 if (_argo0 == Py_None) { _arg0 = NULL; }
7083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7085 return NULL;
7086 }
7087 }
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 _result = (int )wxJoystick_GetZMax(_arg0);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) return NULL;
7094 } _resultobj = Py_BuildValue("i",_result);
7095 return _resultobj;
7096 }
7097
7098 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7099 static PyObject *_wrap_wxJoystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
7100 PyObject * _resultobj;
7101 int _result;
7102 wxJoystick * _arg0;
7103 PyObject * _argo0 = 0;
7104 char *_kwnames[] = { "self", NULL };
7105
7106 self = self;
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberButtons",_kwnames,&_argo0))
7108 return NULL;
7109 if (_argo0) {
7110 if (_argo0 == Py_None) { _arg0 = NULL; }
7111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7113 return NULL;
7114 }
7115 }
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 _result = (int )wxJoystick_GetNumberButtons(_arg0);
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) return NULL;
7122 } _resultobj = Py_BuildValue("i",_result);
7123 return _resultobj;
7124 }
7125
7126 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7127 static PyObject *_wrap_wxJoystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject * _resultobj;
7129 int _result;
7130 wxJoystick * _arg0;
7131 PyObject * _argo0 = 0;
7132 char *_kwnames[] = { "self", NULL };
7133
7134 self = self;
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberAxes",_kwnames,&_argo0))
7136 return NULL;
7137 if (_argo0) {
7138 if (_argo0 == Py_None) { _arg0 = NULL; }
7139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7141 return NULL;
7142 }
7143 }
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 _result = (int )wxJoystick_GetNumberAxes(_arg0);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) return NULL;
7150 } _resultobj = Py_BuildValue("i",_result);
7151 return _resultobj;
7152 }
7153
7154 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7155 static PyObject *_wrap_wxJoystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
7156 PyObject * _resultobj;
7157 int _result;
7158 wxJoystick * _arg0;
7159 PyObject * _argo0 = 0;
7160 char *_kwnames[] = { "self", NULL };
7161
7162 self = self;
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxButtons",_kwnames,&_argo0))
7164 return NULL;
7165 if (_argo0) {
7166 if (_argo0 == Py_None) { _arg0 = NULL; }
7167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7169 return NULL;
7170 }
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 _result = (int )wxJoystick_GetMaxButtons(_arg0);
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) return NULL;
7178 } _resultobj = Py_BuildValue("i",_result);
7179 return _resultobj;
7180 }
7181
7182 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7183 static PyObject *_wrap_wxJoystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
7184 PyObject * _resultobj;
7185 int _result;
7186 wxJoystick * _arg0;
7187 PyObject * _argo0 = 0;
7188 char *_kwnames[] = { "self", NULL };
7189
7190 self = self;
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxAxes",_kwnames,&_argo0))
7192 return NULL;
7193 if (_argo0) {
7194 if (_argo0 == Py_None) { _arg0 = NULL; }
7195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7197 return NULL;
7198 }
7199 }
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 _result = (int )wxJoystick_GetMaxAxes(_arg0);
7203
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) return NULL;
7206 } _resultobj = Py_BuildValue("i",_result);
7207 return _resultobj;
7208 }
7209
7210 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7211 static PyObject *_wrap_wxJoystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject * _resultobj;
7213 int _result;
7214 wxJoystick * _arg0;
7215 PyObject * _argo0 = 0;
7216 char *_kwnames[] = { "self", NULL };
7217
7218 self = self;
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMin",_kwnames,&_argo0))
7220 return NULL;
7221 if (_argo0) {
7222 if (_argo0 == Py_None) { _arg0 = NULL; }
7223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7225 return NULL;
7226 }
7227 }
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 _result = (int )wxJoystick_GetPollingMin(_arg0);
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) return NULL;
7234 } _resultobj = Py_BuildValue("i",_result);
7235 return _resultobj;
7236 }
7237
7238 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7239 static PyObject *_wrap_wxJoystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject * _resultobj;
7241 int _result;
7242 wxJoystick * _arg0;
7243 PyObject * _argo0 = 0;
7244 char *_kwnames[] = { "self", NULL };
7245
7246 self = self;
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMax",_kwnames,&_argo0))
7248 return NULL;
7249 if (_argo0) {
7250 if (_argo0 == Py_None) { _arg0 = NULL; }
7251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7253 return NULL;
7254 }
7255 }
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 _result = (int )wxJoystick_GetPollingMax(_arg0);
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) return NULL;
7262 } _resultobj = Py_BuildValue("i",_result);
7263 return _resultobj;
7264 }
7265
7266 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7267 static PyObject *_wrap_wxJoystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject * _resultobj;
7269 int _result;
7270 wxJoystick * _arg0;
7271 PyObject * _argo0 = 0;
7272 char *_kwnames[] = { "self", NULL };
7273
7274 self = self;
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMin",_kwnames,&_argo0))
7276 return NULL;
7277 if (_argo0) {
7278 if (_argo0 == Py_None) { _arg0 = NULL; }
7279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7281 return NULL;
7282 }
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 _result = (int )wxJoystick_GetRudderMin(_arg0);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) return NULL;
7290 } _resultobj = Py_BuildValue("i",_result);
7291 return _resultobj;
7292 }
7293
7294 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7295 static PyObject *_wrap_wxJoystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7296 PyObject * _resultobj;
7297 int _result;
7298 wxJoystick * _arg0;
7299 PyObject * _argo0 = 0;
7300 char *_kwnames[] = { "self", NULL };
7301
7302 self = self;
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMax",_kwnames,&_argo0))
7304 return NULL;
7305 if (_argo0) {
7306 if (_argo0 == Py_None) { _arg0 = NULL; }
7307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7309 return NULL;
7310 }
7311 }
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 _result = (int )wxJoystick_GetRudderMax(_arg0);
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) return NULL;
7318 } _resultobj = Py_BuildValue("i",_result);
7319 return _resultobj;
7320 }
7321
7322 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7323 static PyObject *_wrap_wxJoystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject * _resultobj;
7325 int _result;
7326 wxJoystick * _arg0;
7327 PyObject * _argo0 = 0;
7328 char *_kwnames[] = { "self", NULL };
7329
7330 self = self;
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMin",_kwnames,&_argo0))
7332 return NULL;
7333 if (_argo0) {
7334 if (_argo0 == Py_None) { _arg0 = NULL; }
7335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7337 return NULL;
7338 }
7339 }
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 _result = (int )wxJoystick_GetUMin(_arg0);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) return NULL;
7346 } _resultobj = Py_BuildValue("i",_result);
7347 return _resultobj;
7348 }
7349
7350 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7351 static PyObject *_wrap_wxJoystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject * _resultobj;
7353 int _result;
7354 wxJoystick * _arg0;
7355 PyObject * _argo0 = 0;
7356 char *_kwnames[] = { "self", NULL };
7357
7358 self = self;
7359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMax",_kwnames,&_argo0))
7360 return NULL;
7361 if (_argo0) {
7362 if (_argo0 == Py_None) { _arg0 = NULL; }
7363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7365 return NULL;
7366 }
7367 }
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 _result = (int )wxJoystick_GetUMax(_arg0);
7371
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) return NULL;
7374 } _resultobj = Py_BuildValue("i",_result);
7375 return _resultobj;
7376 }
7377
7378 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7379 static PyObject *_wrap_wxJoystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject * _resultobj;
7381 int _result;
7382 wxJoystick * _arg0;
7383 PyObject * _argo0 = 0;
7384 char *_kwnames[] = { "self", NULL };
7385
7386 self = self;
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMin",_kwnames,&_argo0))
7388 return NULL;
7389 if (_argo0) {
7390 if (_argo0 == Py_None) { _arg0 = NULL; }
7391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7393 return NULL;
7394 }
7395 }
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 _result = (int )wxJoystick_GetVMin(_arg0);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) return NULL;
7402 } _resultobj = Py_BuildValue("i",_result);
7403 return _resultobj;
7404 }
7405
7406 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7407 static PyObject *_wrap_wxJoystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject * _resultobj;
7409 int _result;
7410 wxJoystick * _arg0;
7411 PyObject * _argo0 = 0;
7412 char *_kwnames[] = { "self", NULL };
7413
7414 self = self;
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMax",_kwnames,&_argo0))
7416 return NULL;
7417 if (_argo0) {
7418 if (_argo0 == Py_None) { _arg0 = NULL; }
7419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7421 return NULL;
7422 }
7423 }
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 _result = (int )wxJoystick_GetVMax(_arg0);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) return NULL;
7430 } _resultobj = Py_BuildValue("i",_result);
7431 return _resultobj;
7432 }
7433
7434 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7435 static PyObject *_wrap_wxJoystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
7436 PyObject * _resultobj;
7437 bool _result;
7438 wxJoystick * _arg0;
7439 PyObject * _argo0 = 0;
7440 char *_kwnames[] = { "self", NULL };
7441
7442 self = self;
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasRudder",_kwnames,&_argo0))
7444 return NULL;
7445 if (_argo0) {
7446 if (_argo0 == Py_None) { _arg0 = NULL; }
7447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7449 return NULL;
7450 }
7451 }
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 _result = (bool )wxJoystick_HasRudder(_arg0);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) return NULL;
7458 } _resultobj = Py_BuildValue("i",_result);
7459 return _resultobj;
7460 }
7461
7462 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7463 static PyObject *_wrap_wxJoystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
7464 PyObject * _resultobj;
7465 bool _result;
7466 wxJoystick * _arg0;
7467 PyObject * _argo0 = 0;
7468 char *_kwnames[] = { "self", NULL };
7469
7470 self = self;
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasZ",_kwnames,&_argo0))
7472 return NULL;
7473 if (_argo0) {
7474 if (_argo0 == Py_None) { _arg0 = NULL; }
7475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7477 return NULL;
7478 }
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 _result = (bool )wxJoystick_HasZ(_arg0);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) return NULL;
7486 } _resultobj = Py_BuildValue("i",_result);
7487 return _resultobj;
7488 }
7489
7490 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7491 static PyObject *_wrap_wxJoystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject * _resultobj;
7493 bool _result;
7494 wxJoystick * _arg0;
7495 PyObject * _argo0 = 0;
7496 char *_kwnames[] = { "self", NULL };
7497
7498 self = self;
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasU",_kwnames,&_argo0))
7500 return NULL;
7501 if (_argo0) {
7502 if (_argo0 == Py_None) { _arg0 = NULL; }
7503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7505 return NULL;
7506 }
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 _result = (bool )wxJoystick_HasU(_arg0);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) return NULL;
7514 } _resultobj = Py_BuildValue("i",_result);
7515 return _resultobj;
7516 }
7517
7518 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7519 static PyObject *_wrap_wxJoystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject * _resultobj;
7521 bool _result;
7522 wxJoystick * _arg0;
7523 PyObject * _argo0 = 0;
7524 char *_kwnames[] = { "self", NULL };
7525
7526 self = self;
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasV",_kwnames,&_argo0))
7528 return NULL;
7529 if (_argo0) {
7530 if (_argo0 == Py_None) { _arg0 = NULL; }
7531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7533 return NULL;
7534 }
7535 }
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 _result = (bool )wxJoystick_HasV(_arg0);
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) return NULL;
7542 } _resultobj = Py_BuildValue("i",_result);
7543 return _resultobj;
7544 }
7545
7546 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7547 static PyObject *_wrap_wxJoystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
7548 PyObject * _resultobj;
7549 bool _result;
7550 wxJoystick * _arg0;
7551 PyObject * _argo0 = 0;
7552 char *_kwnames[] = { "self", NULL };
7553
7554 self = self;
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV",_kwnames,&_argo0))
7556 return NULL;
7557 if (_argo0) {
7558 if (_argo0 == Py_None) { _arg0 = NULL; }
7559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7561 return NULL;
7562 }
7563 }
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 _result = (bool )wxJoystick_HasPOV(_arg0);
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) return NULL;
7570 } _resultobj = Py_BuildValue("i",_result);
7571 return _resultobj;
7572 }
7573
7574 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7575 static PyObject *_wrap_wxJoystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
7576 PyObject * _resultobj;
7577 bool _result;
7578 wxJoystick * _arg0;
7579 PyObject * _argo0 = 0;
7580 char *_kwnames[] = { "self", NULL };
7581
7582 self = self;
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV4Dir",_kwnames,&_argo0))
7584 return NULL;
7585 if (_argo0) {
7586 if (_argo0 == Py_None) { _arg0 = NULL; }
7587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7589 return NULL;
7590 }
7591 }
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 _result = (bool )wxJoystick_HasPOV4Dir(_arg0);
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) return NULL;
7598 } _resultobj = Py_BuildValue("i",_result);
7599 return _resultobj;
7600 }
7601
7602 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7603 static PyObject *_wrap_wxJoystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject * _resultobj;
7605 bool _result;
7606 wxJoystick * _arg0;
7607 PyObject * _argo0 = 0;
7608 char *_kwnames[] = { "self", NULL };
7609
7610 self = self;
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOVCTS",_kwnames,&_argo0))
7612 return NULL;
7613 if (_argo0) {
7614 if (_argo0 == Py_None) { _arg0 = NULL; }
7615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7617 return NULL;
7618 }
7619 }
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 _result = (bool )wxJoystick_HasPOVCTS(_arg0);
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) return NULL;
7626 } _resultobj = Py_BuildValue("i",_result);
7627 return _resultobj;
7628 }
7629
7630 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7631 static PyObject *_wrap_wxJoystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject * _resultobj;
7633 bool _result;
7634 wxJoystick * _arg0;
7635 wxWindow * _arg1;
7636 int _arg2 = (int ) 0;
7637 PyObject * _argo0 = 0;
7638 PyObject * _argo1 = 0;
7639 char *_kwnames[] = { "self","win","pollingFreq", NULL };
7640
7641 self = self;
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxJoystick_SetCapture",_kwnames,&_argo0,&_argo1,&_arg2))
7643 return NULL;
7644 if (_argo0) {
7645 if (_argo0 == Py_None) { _arg0 = NULL; }
7646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7648 return NULL;
7649 }
7650 }
7651 if (_argo1) {
7652 if (_argo1 == Py_None) { _arg1 = NULL; }
7653 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7654 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7655 return NULL;
7656 }
7657 }
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 _result = (bool )wxJoystick_SetCapture(_arg0,_arg1,_arg2);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) return NULL;
7664 } _resultobj = Py_BuildValue("i",_result);
7665 return _resultobj;
7666 }
7667
7668 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7669 static PyObject *_wrap_wxJoystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7670 PyObject * _resultobj;
7671 bool _result;
7672 wxJoystick * _arg0;
7673 PyObject * _argo0 = 0;
7674 char *_kwnames[] = { "self", NULL };
7675
7676 self = self;
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_ReleaseCapture",_kwnames,&_argo0))
7678 return NULL;
7679 if (_argo0) {
7680 if (_argo0 == Py_None) { _arg0 = NULL; }
7681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7683 return NULL;
7684 }
7685 }
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 _result = (bool )wxJoystick_ReleaseCapture(_arg0);
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) return NULL;
7692 } _resultobj = Py_BuildValue("i",_result);
7693 return _resultobj;
7694 }
7695
7696 static void *SwigwxWaveTowxObject(void *ptr) {
7697 wxWave *src;
7698 wxObject *dest;
7699 src = (wxWave *) ptr;
7700 dest = (wxObject *) src;
7701 return (void *) dest;
7702 }
7703
7704 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7705 static PyObject *_wrap_new_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7706 PyObject * _resultobj;
7707 wxWave * _result;
7708 wxString * _arg0;
7709 bool _arg1 = (bool ) FALSE;
7710 PyObject * _obj0 = 0;
7711 int tempbool1 = (int) FALSE;
7712 char *_kwnames[] = { "fileName","isResource", NULL };
7713 char _ptemp[128];
7714
7715 self = self;
7716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxWave",_kwnames,&_obj0,&tempbool1))
7717 return NULL;
7718 {
7719 #if PYTHON_API_VERSION >= 1009
7720 char* tmpPtr; int tmpSize;
7721 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7722 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7723 return NULL;
7724 }
7725 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
7726 return NULL;
7727 _arg0 = new wxString(tmpPtr, tmpSize);
7728 #else
7729 if (!PyString_Check(_obj0)) {
7730 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7731 return NULL;
7732 }
7733 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
7734 #endif
7735 }
7736 _arg1 = (bool ) tempbool1;
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 _result = (wxWave *)new_wxWave(*_arg0,_arg1);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) return NULL;
7743 } if (_result) {
7744 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
7745 _resultobj = Py_BuildValue("s",_ptemp);
7746 } else {
7747 Py_INCREF(Py_None);
7748 _resultobj = Py_None;
7749 }
7750 {
7751 if (_obj0)
7752 delete _arg0;
7753 }
7754 return _resultobj;
7755 }
7756
7757 #define delete_wxWave(_swigobj) (delete _swigobj)
7758 static PyObject *_wrap_delete_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject * _resultobj;
7760 wxWave * _arg0;
7761 PyObject * _argo0 = 0;
7762 char *_kwnames[] = { "self", NULL };
7763
7764 self = self;
7765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWave",_kwnames,&_argo0))
7766 return NULL;
7767 if (_argo0) {
7768 if (_argo0 == Py_None) { _arg0 = NULL; }
7769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7771 return NULL;
7772 }
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 delete_wxWave(_arg0);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) return NULL;
7780 } Py_INCREF(Py_None);
7781 _resultobj = Py_None;
7782 return _resultobj;
7783 }
7784
7785 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7786 static PyObject *_wrap_wxWave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
7787 PyObject * _resultobj;
7788 bool _result;
7789 wxWave * _arg0;
7790 PyObject * _argo0 = 0;
7791 char *_kwnames[] = { "self", NULL };
7792
7793 self = self;
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWave_IsOk",_kwnames,&_argo0))
7795 return NULL;
7796 if (_argo0) {
7797 if (_argo0 == Py_None) { _arg0 = NULL; }
7798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7800 return NULL;
7801 }
7802 }
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 _result = (bool )wxWave_IsOk(_arg0);
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) return NULL;
7809 } _resultobj = Py_BuildValue("i",_result);
7810 return _resultobj;
7811 }
7812
7813 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7814 static PyObject *_wrap_wxWave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject * _resultobj;
7816 bool _result;
7817 wxWave * _arg0;
7818 bool _arg1 = (bool ) TRUE;
7819 bool _arg2 = (bool ) FALSE;
7820 PyObject * _argo0 = 0;
7821 int tempbool1 = (int) TRUE;
7822 int tempbool2 = (int) FALSE;
7823 char *_kwnames[] = { "self","async","looped", NULL };
7824
7825 self = self;
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxWave_Play",_kwnames,&_argo0,&tempbool1,&tempbool2))
7827 return NULL;
7828 if (_argo0) {
7829 if (_argo0 == Py_None) { _arg0 = NULL; }
7830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7832 return NULL;
7833 }
7834 }
7835 _arg1 = (bool ) tempbool1;
7836 _arg2 = (bool ) tempbool2;
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 _result = (bool )wxWave_Play(_arg0,_arg1,_arg2);
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) return NULL;
7843 } _resultobj = Py_BuildValue("i",_result);
7844 return _resultobj;
7845 }
7846
7847 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7848 static PyObject *_wrap_new_wxFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject * _resultobj;
7850 wxFileTypeInfo * _result;
7851 char * _arg0;
7852 char * _arg1;
7853 char * _arg2;
7854 char * _arg3;
7855 char *_kwnames[] = { "mimeType","openCmd","printCmd","desc", NULL };
7856 char _ptemp[128];
7857
7858 self = self;
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ssss:new_wxFileTypeInfo",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
7860 return NULL;
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 _result = (wxFileTypeInfo *)new_wxFileTypeInfo(_arg0,_arg1,_arg2,_arg3);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) return NULL;
7867 } if (_result) {
7868 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7869 _resultobj = Py_BuildValue("s",_ptemp);
7870 } else {
7871 Py_INCREF(Py_None);
7872 _resultobj = Py_None;
7873 }
7874 return _resultobj;
7875 }
7876
7877 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7878 static PyObject *_wrap_new_wxFileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject * _resultobj;
7880 wxFileTypeInfo * _result;
7881 wxArrayString * _arg0;
7882 PyObject * _obj0 = 0;
7883 char *_kwnames[] = { "sArray", NULL };
7884 char _ptemp[128];
7885
7886 self = self;
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileTypeInfoSequence",_kwnames,&_obj0))
7888 return NULL;
7889 {
7890 if (! PySequence_Check(_obj0)) {
7891 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7892 return NULL;
7893 }
7894 _arg0 = new wxArrayString;
7895 int i, len=PySequence_Length(_obj0);
7896 for (i=0; i<len; i++) {
7897 PyObject* item = PySequence_GetItem(_obj0, i);
7898 PyObject* str = PyObject_Str(item);
7899 _arg0->Add(PyString_AsString(item));
7900 Py_DECREF(item);
7901 Py_DECREF(str);
7902 }
7903 }
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 _result = (wxFileTypeInfo *)new_wxFileTypeInfoSequence(*_arg0);
7907
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) return NULL;
7910 } if (_result) {
7911 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7912 _resultobj = Py_BuildValue("s",_ptemp);
7913 } else {
7914 Py_INCREF(Py_None);
7915 _resultobj = Py_None;
7916 }
7917 {
7918 if (_obj0)
7919 delete _arg0;
7920 }
7921 return _resultobj;
7922 }
7923
7924 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7925 static PyObject *_wrap_new_wxNullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject * _resultobj;
7927 wxFileTypeInfo * _result;
7928 char *_kwnames[] = { NULL };
7929 char _ptemp[128];
7930
7931 self = self;
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNullFileTypeInfo",_kwnames))
7933 return NULL;
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 _result = (wxFileTypeInfo *)new_wxNullFileTypeInfo();
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) return NULL;
7940 } if (_result) {
7941 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7942 _resultobj = Py_BuildValue("s",_ptemp);
7943 } else {
7944 Py_INCREF(Py_None);
7945 _resultobj = Py_None;
7946 }
7947 return _resultobj;
7948 }
7949
7950 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7951 static PyObject *_wrap_wxFileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject * _resultobj;
7953 bool _result;
7954 wxFileTypeInfo * _arg0;
7955 PyObject * _argo0 = 0;
7956 char *_kwnames[] = { "self", NULL };
7957
7958 self = self;
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_IsValid",_kwnames,&_argo0))
7960 return NULL;
7961 if (_argo0) {
7962 if (_argo0 == Py_None) { _arg0 = NULL; }
7963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7965 return NULL;
7966 }
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 _result = (bool )wxFileTypeInfo_IsValid(_arg0);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) return NULL;
7974 } _resultobj = Py_BuildValue("i",_result);
7975 return _resultobj;
7976 }
7977
7978 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7979 static PyObject *_wrap_wxFileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 wxFileTypeInfo * _arg0;
7982 wxString * _arg1;
7983 int _arg2 = (int ) 0;
7984 PyObject * _argo0 = 0;
7985 PyObject * _obj1 = 0;
7986 char *_kwnames[] = { "self","iconFile","iconIndex", NULL };
7987
7988 self = self;
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFileTypeInfo_SetIcon",_kwnames,&_argo0,&_obj1,&_arg2))
7990 return NULL;
7991 if (_argo0) {
7992 if (_argo0 == Py_None) { _arg0 = NULL; }
7993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7995 return NULL;
7996 }
7997 }
7998 {
7999 #if PYTHON_API_VERSION >= 1009
8000 char* tmpPtr; int tmpSize;
8001 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8002 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8003 return NULL;
8004 }
8005 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8006 return NULL;
8007 _arg1 = new wxString(tmpPtr, tmpSize);
8008 #else
8009 if (!PyString_Check(_obj1)) {
8010 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8011 return NULL;
8012 }
8013 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8014 #endif
8015 }
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 wxFileTypeInfo_SetIcon(_arg0,*_arg1,_arg2);
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) return NULL;
8022 } Py_INCREF(Py_None);
8023 _resultobj = Py_None;
8024 {
8025 if (_obj1)
8026 delete _arg1;
8027 }
8028 return _resultobj;
8029 }
8030
8031 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8032 static PyObject *_wrap_wxFileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject * _resultobj;
8034 wxFileTypeInfo * _arg0;
8035 wxString * _arg1;
8036 PyObject * _argo0 = 0;
8037 PyObject * _obj1 = 0;
8038 char *_kwnames[] = { "self","shortDesc", NULL };
8039
8040 self = self;
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileTypeInfo_SetShortDesc",_kwnames,&_argo0,&_obj1))
8042 return NULL;
8043 if (_argo0) {
8044 if (_argo0 == Py_None) { _arg0 = NULL; }
8045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8047 return NULL;
8048 }
8049 }
8050 {
8051 #if PYTHON_API_VERSION >= 1009
8052 char* tmpPtr; int tmpSize;
8053 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8054 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8055 return NULL;
8056 }
8057 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8058 return NULL;
8059 _arg1 = new wxString(tmpPtr, tmpSize);
8060 #else
8061 if (!PyString_Check(_obj1)) {
8062 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8063 return NULL;
8064 }
8065 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8066 #endif
8067 }
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 wxFileTypeInfo_SetShortDesc(_arg0,*_arg1);
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) return NULL;
8074 } Py_INCREF(Py_None);
8075 _resultobj = Py_None;
8076 {
8077 if (_obj1)
8078 delete _arg1;
8079 }
8080 return _resultobj;
8081 }
8082
8083 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8084 static PyObject *_wrap_wxFileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8085 PyObject * _resultobj;
8086 wxString * _result;
8087 wxFileTypeInfo * _arg0;
8088 PyObject * _argo0 = 0;
8089 char *_kwnames[] = { "self", NULL };
8090
8091 self = self;
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetMimeType",_kwnames,&_argo0))
8093 return NULL;
8094 if (_argo0) {
8095 if (_argo0 == Py_None) { _arg0 = NULL; }
8096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8098 return NULL;
8099 }
8100 }
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 const wxString & _result_ref = wxFileTypeInfo_GetMimeType(_arg0);
8104 _result = (wxString *) &_result_ref;
8105
8106 wxPyEndAllowThreads(__tstate);
8107 if (PyErr_Occurred()) return NULL;
8108 }{
8109 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8110 }
8111 return _resultobj;
8112 }
8113
8114 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8115 static PyObject *_wrap_wxFileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8116 PyObject * _resultobj;
8117 wxString * _result;
8118 wxFileTypeInfo * _arg0;
8119 PyObject * _argo0 = 0;
8120 char *_kwnames[] = { "self", NULL };
8121
8122 self = self;
8123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetOpenCommand",_kwnames,&_argo0))
8124 return NULL;
8125 if (_argo0) {
8126 if (_argo0 == Py_None) { _arg0 = NULL; }
8127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8129 return NULL;
8130 }
8131 }
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 const wxString & _result_ref = wxFileTypeInfo_GetOpenCommand(_arg0);
8135 _result = (wxString *) &_result_ref;
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) return NULL;
8139 }{
8140 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8141 }
8142 return _resultobj;
8143 }
8144
8145 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8146 static PyObject *_wrap_wxFileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject * _resultobj;
8148 wxString * _result;
8149 wxFileTypeInfo * _arg0;
8150 PyObject * _argo0 = 0;
8151 char *_kwnames[] = { "self", NULL };
8152
8153 self = self;
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetPrintCommand",_kwnames,&_argo0))
8155 return NULL;
8156 if (_argo0) {
8157 if (_argo0 == Py_None) { _arg0 = NULL; }
8158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8160 return NULL;
8161 }
8162 }
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 const wxString & _result_ref = wxFileTypeInfo_GetPrintCommand(_arg0);
8166 _result = (wxString *) &_result_ref;
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) return NULL;
8170 }{
8171 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8172 }
8173 return _resultobj;
8174 }
8175
8176 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8177 static PyObject *_wrap_wxFileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject * _resultobj;
8179 wxString * _result;
8180 wxFileTypeInfo * _arg0;
8181 PyObject * _argo0 = 0;
8182 char *_kwnames[] = { "self", NULL };
8183
8184 self = self;
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetShortDesc",_kwnames,&_argo0))
8186 return NULL;
8187 if (_argo0) {
8188 if (_argo0 == Py_None) { _arg0 = NULL; }
8189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8191 return NULL;
8192 }
8193 }
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 const wxString & _result_ref = wxFileTypeInfo_GetShortDesc(_arg0);
8197 _result = (wxString *) &_result_ref;
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) return NULL;
8201 }{
8202 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8203 }
8204 return _resultobj;
8205 }
8206
8207 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8208 static PyObject *_wrap_wxFileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject * _resultobj;
8210 wxString * _result;
8211 wxFileTypeInfo * _arg0;
8212 PyObject * _argo0 = 0;
8213 char *_kwnames[] = { "self", NULL };
8214
8215 self = self;
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetDescription",_kwnames,&_argo0))
8217 return NULL;
8218 if (_argo0) {
8219 if (_argo0 == Py_None) { _arg0 = NULL; }
8220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8222 return NULL;
8223 }
8224 }
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 const wxString & _result_ref = wxFileTypeInfo_GetDescription(_arg0);
8228 _result = (wxString *) &_result_ref;
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) return NULL;
8232 }{
8233 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8234 }
8235 return _resultobj;
8236 }
8237
8238 static PyObject * wxFileTypeInfo_GetExtensions(wxFileTypeInfo *self) {
8239 wxArrayString& arr = (wxArrayString&)self->GetExtensions();
8240 return wxArrayString2PyList_helper(arr);
8241 }
8242 static PyObject *_wrap_wxFileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject * _resultobj;
8244 PyObject * _result;
8245 wxFileTypeInfo * _arg0;
8246 PyObject * _argo0 = 0;
8247 char *_kwnames[] = { "self", NULL };
8248
8249 self = self;
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensions",_kwnames,&_argo0))
8251 return NULL;
8252 if (_argo0) {
8253 if (_argo0 == Py_None) { _arg0 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8256 return NULL;
8257 }
8258 }
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 _result = (PyObject *)wxFileTypeInfo_GetExtensions(_arg0);
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) return NULL;
8265 }{
8266 _resultobj = _result;
8267 }
8268 return _resultobj;
8269 }
8270
8271 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8272 static PyObject *_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8273 PyObject * _resultobj;
8274 int _result;
8275 wxFileTypeInfo * _arg0;
8276 PyObject * _argo0 = 0;
8277 char *_kwnames[] = { "self", NULL };
8278
8279 self = self;
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames,&_argo0))
8281 return NULL;
8282 if (_argo0) {
8283 if (_argo0 == Py_None) { _arg0 = NULL; }
8284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8286 return NULL;
8287 }
8288 }
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 _result = (int )wxFileTypeInfo_GetExtensionsCount(_arg0);
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) return NULL;
8295 } _resultobj = Py_BuildValue("i",_result);
8296 return _resultobj;
8297 }
8298
8299 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8300 static PyObject *_wrap_wxFileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject * _resultobj;
8302 wxString * _result;
8303 wxFileTypeInfo * _arg0;
8304 PyObject * _argo0 = 0;
8305 char *_kwnames[] = { "self", NULL };
8306
8307 self = self;
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetIconFile",_kwnames,&_argo0))
8309 return NULL;
8310 if (_argo0) {
8311 if (_argo0 == Py_None) { _arg0 = NULL; }
8312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8314 return NULL;
8315 }
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 const wxString & _result_ref = wxFileTypeInfo_GetIconFile(_arg0);
8320 _result = (wxString *) &_result_ref;
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) return NULL;
8324 }{
8325 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8326 }
8327 return _resultobj;
8328 }
8329
8330 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8331 static PyObject *_wrap_wxFileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject * _resultobj;
8333 int _result;
8334 wxFileTypeInfo * _arg0;
8335 PyObject * _argo0 = 0;
8336 char *_kwnames[] = { "self", NULL };
8337
8338 self = self;
8339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetIconIndex",_kwnames,&_argo0))
8340 return NULL;
8341 if (_argo0) {
8342 if (_argo0 == Py_None) { _arg0 = NULL; }
8343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8345 return NULL;
8346 }
8347 }
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 _result = (int )wxFileTypeInfo_GetIconIndex(_arg0);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) return NULL;
8354 } _resultobj = Py_BuildValue("i",_result);
8355 return _resultobj;
8356 }
8357
8358 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8359 static PyObject *_wrap_new_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject * _resultobj;
8361 wxFileType * _result;
8362 wxFileTypeInfo * _arg0;
8363 PyObject * _argo0 = 0;
8364 char *_kwnames[] = { "ftInfo", NULL };
8365 char _ptemp[128];
8366
8367 self = self;
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileType",_kwnames,&_argo0))
8369 return NULL;
8370 if (_argo0) {
8371 if (_argo0 == Py_None) { _arg0 = NULL; }
8372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8374 return NULL;
8375 }
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 _result = (wxFileType *)new_wxFileType(*_arg0);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) return NULL;
8383 } if (_result) {
8384 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
8385 _resultobj = Py_BuildValue("s",_ptemp);
8386 } else {
8387 Py_INCREF(Py_None);
8388 _resultobj = Py_None;
8389 }
8390 return _resultobj;
8391 }
8392
8393 static PyObject * wxFileType_GetMimeType(wxFileType *self) {
8394 wxString str;
8395 if (self->GetMimeType(&str))
8396 return PyString_FromString(str.c_str());
8397 else
8398 RETURN_NONE();
8399 }
8400 static PyObject *_wrap_wxFileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject * _resultobj;
8402 PyObject * _result;
8403 wxFileType * _arg0;
8404 PyObject * _argo0 = 0;
8405 char *_kwnames[] = { "self", NULL };
8406
8407 self = self;
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeType",_kwnames,&_argo0))
8409 return NULL;
8410 if (_argo0) {
8411 if (_argo0 == Py_None) { _arg0 = NULL; }
8412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8414 return NULL;
8415 }
8416 }
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 _result = (PyObject *)wxFileType_GetMimeType(_arg0);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) return NULL;
8423 }{
8424 _resultobj = _result;
8425 }
8426 return _resultobj;
8427 }
8428
8429 static PyObject * wxFileType_GetMimeTypes(wxFileType *self) {
8430 wxArrayString arr;
8431 if (self->GetMimeTypes(arr))
8432 return wxArrayString2PyList_helper(arr);
8433 else
8434 RETURN_NONE();
8435 }
8436 static PyObject *_wrap_wxFileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject * _resultobj;
8438 PyObject * _result;
8439 wxFileType * _arg0;
8440 PyObject * _argo0 = 0;
8441 char *_kwnames[] = { "self", NULL };
8442
8443 self = self;
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeTypes",_kwnames,&_argo0))
8445 return NULL;
8446 if (_argo0) {
8447 if (_argo0 == Py_None) { _arg0 = NULL; }
8448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8450 return NULL;
8451 }
8452 }
8453 {
8454 PyThreadState* __tstate = wxPyBeginAllowThreads();
8455 _result = (PyObject *)wxFileType_GetMimeTypes(_arg0);
8456
8457 wxPyEndAllowThreads(__tstate);
8458 if (PyErr_Occurred()) return NULL;
8459 }{
8460 _resultobj = _result;
8461 }
8462 return _resultobj;
8463 }
8464
8465 static PyObject * wxFileType_GetExtensions(wxFileType *self) {
8466 wxArrayString arr;
8467 if (self->GetExtensions(arr))
8468 return wxArrayString2PyList_helper(arr);
8469 else
8470 RETURN_NONE();
8471 }
8472 static PyObject *_wrap_wxFileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8473 PyObject * _resultobj;
8474 PyObject * _result;
8475 wxFileType * _arg0;
8476 PyObject * _argo0 = 0;
8477 char *_kwnames[] = { "self", NULL };
8478
8479 self = self;
8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetExtensions",_kwnames,&_argo0))
8481 return NULL;
8482 if (_argo0) {
8483 if (_argo0 == Py_None) { _arg0 = NULL; }
8484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8486 return NULL;
8487 }
8488 }
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 _result = (PyObject *)wxFileType_GetExtensions(_arg0);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) return NULL;
8495 }{
8496 _resultobj = _result;
8497 }
8498 return _resultobj;
8499 }
8500
8501 static wxIcon * wxFileType_GetIcon(wxFileType *self) {
8502 wxIcon icon;
8503 if (self->GetIcon(&icon))
8504 return new wxIcon(icon);
8505 else
8506 return NULL;
8507 }
8508 static PyObject *_wrap_wxFileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject * _resultobj;
8510 wxIcon * _result;
8511 wxFileType * _arg0;
8512 PyObject * _argo0 = 0;
8513 char *_kwnames[] = { "self", NULL };
8514 char _ptemp[128];
8515
8516 self = self;
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIcon",_kwnames,&_argo0))
8518 return NULL;
8519 if (_argo0) {
8520 if (_argo0 == Py_None) { _arg0 = NULL; }
8521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8523 return NULL;
8524 }
8525 }
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 _result = (wxIcon *)wxFileType_GetIcon(_arg0);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) return NULL;
8532 } if (_result) {
8533 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
8534 _resultobj = Py_BuildValue("s",_ptemp);
8535 } else {
8536 Py_INCREF(Py_None);
8537 _resultobj = Py_None;
8538 }
8539 return _resultobj;
8540 }
8541
8542 static PyObject * wxFileType_GetIconInfo(wxFileType *self) {
8543 wxIcon icon;
8544 wxString iconFile;
8545 int iconIndex;
8546 if (self->GetIcon(&icon, &iconFile, &iconIndex)) {
8547 wxPyBeginBlockThreads();
8548 PyObject* tuple = PyTuple_New(3);
8549 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(icon),
8550 "wxIcon", TRUE));
8551 PyTuple_SetItem(tuple, 1, PyString_FromString(iconFile.c_str()));
8552 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
8553 wxPyEndBlockThreads();
8554 return tuple;
8555 }
8556 else
8557 RETURN_NONE();
8558 }
8559 static PyObject *_wrap_wxFileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8560 PyObject * _resultobj;
8561 PyObject * _result;
8562 wxFileType * _arg0;
8563 PyObject * _argo0 = 0;
8564 char *_kwnames[] = { "self", NULL };
8565
8566 self = self;
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIconInfo",_kwnames,&_argo0))
8568 return NULL;
8569 if (_argo0) {
8570 if (_argo0 == Py_None) { _arg0 = NULL; }
8571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8573 return NULL;
8574 }
8575 }
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 _result = (PyObject *)wxFileType_GetIconInfo(_arg0);
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) return NULL;
8582 }{
8583 _resultobj = _result;
8584 }
8585 return _resultobj;
8586 }
8587
8588 static PyObject * wxFileType_GetDescription(wxFileType *self) {
8589 wxString str;
8590 if (self->GetDescription(&str))
8591 return PyString_FromString(str.c_str());
8592 else
8593 RETURN_NONE();
8594 }
8595 static PyObject *_wrap_wxFileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
8596 PyObject * _resultobj;
8597 PyObject * _result;
8598 wxFileType * _arg0;
8599 PyObject * _argo0 = 0;
8600 char *_kwnames[] = { "self", NULL };
8601
8602 self = self;
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetDescription",_kwnames,&_argo0))
8604 return NULL;
8605 if (_argo0) {
8606 if (_argo0 == Py_None) { _arg0 = NULL; }
8607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8609 return NULL;
8610 }
8611 }
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 _result = (PyObject *)wxFileType_GetDescription(_arg0);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) return NULL;
8618 }{
8619 _resultobj = _result;
8620 }
8621 return _resultobj;
8622 }
8623
8624 static PyObject * wxFileType_GetOpenCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8625 wxString str;
8626 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
8627 return PyString_FromString(str.c_str());
8628 else
8629 RETURN_NONE();
8630 }
8631 static PyObject *_wrap_wxFileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject * _resultobj;
8633 PyObject * _result;
8634 wxFileType * _arg0;
8635 wxString * _arg1;
8636 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
8637 PyObject * _argo0 = 0;
8638 PyObject * _obj1 = 0;
8639 PyObject * _obj2 = 0;
8640 char *_kwnames[] = { "self","filename","mimetype", NULL };
8641
8642 self = self;
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetOpenCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8644 return NULL;
8645 if (_argo0) {
8646 if (_argo0 == Py_None) { _arg0 = NULL; }
8647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8649 return NULL;
8650 }
8651 }
8652 {
8653 #if PYTHON_API_VERSION >= 1009
8654 char* tmpPtr; int tmpSize;
8655 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8656 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8657 return NULL;
8658 }
8659 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8660 return NULL;
8661 _arg1 = new wxString(tmpPtr, tmpSize);
8662 #else
8663 if (!PyString_Check(_obj1)) {
8664 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8665 return NULL;
8666 }
8667 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8668 #endif
8669 }
8670 if (_obj2)
8671 {
8672 #if PYTHON_API_VERSION >= 1009
8673 char* tmpPtr; int tmpSize;
8674 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8675 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8676 return NULL;
8677 }
8678 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8679 return NULL;
8680 _arg2 = new wxString(tmpPtr, tmpSize);
8681 #else
8682 if (!PyString_Check(_obj2)) {
8683 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8684 return NULL;
8685 }
8686 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8687 #endif
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 _result = (PyObject *)wxFileType_GetOpenCommand(_arg0,*_arg1,*_arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) return NULL;
8695 }{
8696 _resultobj = _result;
8697 }
8698 {
8699 if (_obj1)
8700 delete _arg1;
8701 }
8702 {
8703 if (_obj2)
8704 delete _arg2;
8705 }
8706 return _resultobj;
8707 }
8708
8709 static PyObject * wxFileType_GetPrintCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8710 wxString str;
8711 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
8712 return PyString_FromString(str.c_str());
8713 else
8714 RETURN_NONE();
8715 }
8716 static PyObject *_wrap_wxFileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8717 PyObject * _resultobj;
8718 PyObject * _result;
8719 wxFileType * _arg0;
8720 wxString * _arg1;
8721 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
8722 PyObject * _argo0 = 0;
8723 PyObject * _obj1 = 0;
8724 PyObject * _obj2 = 0;
8725 char *_kwnames[] = { "self","filename","mimetype", NULL };
8726
8727 self = self;
8728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetPrintCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8729 return NULL;
8730 if (_argo0) {
8731 if (_argo0 == Py_None) { _arg0 = NULL; }
8732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8734 return NULL;
8735 }
8736 }
8737 {
8738 #if PYTHON_API_VERSION >= 1009
8739 char* tmpPtr; int tmpSize;
8740 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8741 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8742 return NULL;
8743 }
8744 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8745 return NULL;
8746 _arg1 = new wxString(tmpPtr, tmpSize);
8747 #else
8748 if (!PyString_Check(_obj1)) {
8749 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8750 return NULL;
8751 }
8752 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8753 #endif
8754 }
8755 if (_obj2)
8756 {
8757 #if PYTHON_API_VERSION >= 1009
8758 char* tmpPtr; int tmpSize;
8759 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8760 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8761 return NULL;
8762 }
8763 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8764 return NULL;
8765 _arg2 = new wxString(tmpPtr, tmpSize);
8766 #else
8767 if (!PyString_Check(_obj2)) {
8768 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8769 return NULL;
8770 }
8771 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8772 #endif
8773 }
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 _result = (PyObject *)wxFileType_GetPrintCommand(_arg0,*_arg1,*_arg2);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) return NULL;
8780 }{
8781 _resultobj = _result;
8782 }
8783 {
8784 if (_obj1)
8785 delete _arg1;
8786 }
8787 {
8788 if (_obj2)
8789 delete _arg2;
8790 }
8791 return _resultobj;
8792 }
8793
8794 static PyObject * wxFileType_GetAllCommands(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8795 wxArrayString verbs;
8796 wxArrayString commands;
8797 if (self->GetAllCommands(&verbs, &commands,
8798 wxFileType::MessageParameters(filename, mimetype))) {
8799 wxPyBeginBlockThreads();
8800 PyObject* tuple = PyTuple_New(2);
8801 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
8802 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
8803 wxPyEndBlockThreads();
8804 return tuple;
8805 }
8806 else
8807 RETURN_NONE();
8808 }
8809 static PyObject *_wrap_wxFileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject * _resultobj;
8811 PyObject * _result;
8812 wxFileType * _arg0;
8813 wxString * _arg1;
8814 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
8815 PyObject * _argo0 = 0;
8816 PyObject * _obj1 = 0;
8817 PyObject * _obj2 = 0;
8818 char *_kwnames[] = { "self","filename","mimetype", NULL };
8819
8820 self = self;
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetAllCommands",_kwnames,&_argo0,&_obj1,&_obj2))
8822 return NULL;
8823 if (_argo0) {
8824 if (_argo0 == Py_None) { _arg0 = NULL; }
8825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8827 return NULL;
8828 }
8829 }
8830 {
8831 #if PYTHON_API_VERSION >= 1009
8832 char* tmpPtr; int tmpSize;
8833 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8834 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8835 return NULL;
8836 }
8837 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8838 return NULL;
8839 _arg1 = new wxString(tmpPtr, tmpSize);
8840 #else
8841 if (!PyString_Check(_obj1)) {
8842 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8843 return NULL;
8844 }
8845 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8846 #endif
8847 }
8848 if (_obj2)
8849 {
8850 #if PYTHON_API_VERSION >= 1009
8851 char* tmpPtr; int tmpSize;
8852 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8853 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8854 return NULL;
8855 }
8856 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8857 return NULL;
8858 _arg2 = new wxString(tmpPtr, tmpSize);
8859 #else
8860 if (!PyString_Check(_obj2)) {
8861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8862 return NULL;
8863 }
8864 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8865 #endif
8866 }
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 _result = (PyObject *)wxFileType_GetAllCommands(_arg0,*_arg1,*_arg2);
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) return NULL;
8873 }{
8874 _resultobj = _result;
8875 }
8876 {
8877 if (_obj1)
8878 delete _arg1;
8879 }
8880 {
8881 if (_obj2)
8882 delete _arg2;
8883 }
8884 return _resultobj;
8885 }
8886
8887 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8888 static PyObject *_wrap_wxFileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject * _resultobj;
8890 bool _result;
8891 wxFileType * _arg0;
8892 wxString * _arg1;
8893 wxString * _arg2;
8894 bool _arg3 = (bool ) TRUE;
8895 PyObject * _argo0 = 0;
8896 PyObject * _obj1 = 0;
8897 PyObject * _obj2 = 0;
8898 int tempbool3 = (int) TRUE;
8899 char *_kwnames[] = { "self","cmd","verb","overwriteprompt", NULL };
8900
8901 self = self;
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxFileType_SetCommand",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
8903 return NULL;
8904 if (_argo0) {
8905 if (_argo0 == Py_None) { _arg0 = NULL; }
8906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8908 return NULL;
8909 }
8910 }
8911 {
8912 #if PYTHON_API_VERSION >= 1009
8913 char* tmpPtr; int tmpSize;
8914 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8915 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8916 return NULL;
8917 }
8918 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8919 return NULL;
8920 _arg1 = new wxString(tmpPtr, tmpSize);
8921 #else
8922 if (!PyString_Check(_obj1)) {
8923 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8924 return NULL;
8925 }
8926 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8927 #endif
8928 }
8929 {
8930 #if PYTHON_API_VERSION >= 1009
8931 char* tmpPtr; int tmpSize;
8932 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8933 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8934 return NULL;
8935 }
8936 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8937 return NULL;
8938 _arg2 = new wxString(tmpPtr, tmpSize);
8939 #else
8940 if (!PyString_Check(_obj2)) {
8941 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8942 return NULL;
8943 }
8944 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8945 #endif
8946 }
8947 _arg3 = (bool ) tempbool3;
8948 {
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 _result = (bool )wxFileType_SetCommand(_arg0,*_arg1,*_arg2,_arg3);
8951
8952 wxPyEndAllowThreads(__tstate);
8953 if (PyErr_Occurred()) return NULL;
8954 } _resultobj = Py_BuildValue("i",_result);
8955 {
8956 if (_obj1)
8957 delete _arg1;
8958 }
8959 {
8960 if (_obj2)
8961 delete _arg2;
8962 }
8963 return _resultobj;
8964 }
8965
8966 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8967 static PyObject *_wrap_wxFileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8968 PyObject * _resultobj;
8969 bool _result;
8970 wxFileType * _arg0;
8971 wxString * _arg1 = (wxString *) &wxEmptyString;
8972 int _arg2 = (int ) 0;
8973 PyObject * _argo0 = 0;
8974 PyObject * _obj1 = 0;
8975 char *_kwnames[] = { "self","cmd","index", NULL };
8976
8977 self = self;
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|Oi:wxFileType_SetDefaultIcon",_kwnames,&_argo0,&_obj1,&_arg2))
8979 return NULL;
8980 if (_argo0) {
8981 if (_argo0 == Py_None) { _arg0 = NULL; }
8982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8984 return NULL;
8985 }
8986 }
8987 if (_obj1)
8988 {
8989 #if PYTHON_API_VERSION >= 1009
8990 char* tmpPtr; int tmpSize;
8991 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8992 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8993 return NULL;
8994 }
8995 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8996 return NULL;
8997 _arg1 = new wxString(tmpPtr, tmpSize);
8998 #else
8999 if (!PyString_Check(_obj1)) {
9000 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9001 return NULL;
9002 }
9003 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9004 #endif
9005 }
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 _result = (bool )wxFileType_SetDefaultIcon(_arg0,*_arg1,_arg2);
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) return NULL;
9012 } _resultobj = Py_BuildValue("i",_result);
9013 {
9014 if (_obj1)
9015 delete _arg1;
9016 }
9017 return _resultobj;
9018 }
9019
9020 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9021 static PyObject *_wrap_wxFileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
9022 PyObject * _resultobj;
9023 bool _result;
9024 wxFileType * _arg0;
9025 PyObject * _argo0 = 0;
9026 char *_kwnames[] = { "self", NULL };
9027
9028 self = self;
9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_Unassociate",_kwnames,&_argo0))
9030 return NULL;
9031 if (_argo0) {
9032 if (_argo0 == Py_None) { _arg0 = NULL; }
9033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
9034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9035 return NULL;
9036 }
9037 }
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 _result = (bool )wxFileType_Unassociate(_arg0);
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) return NULL;
9044 } _resultobj = Py_BuildValue("i",_result);
9045 return _resultobj;
9046 }
9047
9048 static PyObject *_wrap_wxFileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject * _resultobj;
9050 wxString * _result;
9051 wxString * _arg0;
9052 wxFileType::MessageParameters * _arg1;
9053 PyObject * _obj0 = 0;
9054 PyObject * _argo1 = 0;
9055 char *_kwnames[] = { "command","params", NULL };
9056
9057 self = self;
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileType_ExpandCommand",_kwnames,&_obj0,&_argo1))
9059 return NULL;
9060 {
9061 #if PYTHON_API_VERSION >= 1009
9062 char* tmpPtr; int tmpSize;
9063 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
9064 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9065 return NULL;
9066 }
9067 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
9068 return NULL;
9069 _arg0 = new wxString(tmpPtr, tmpSize);
9070 #else
9071 if (!PyString_Check(_obj0)) {
9072 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9073 return NULL;
9074 }
9075 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
9076 #endif
9077 }
9078 if (_argo1) {
9079 if (_argo1 == Py_None) { _arg1 = NULL; }
9080 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType::MessageParameters_p")) {
9081 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9082 return NULL;
9083 }
9084 }
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 _result = new wxString (wxFileType::ExpandCommand(*_arg0,*_arg1));
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) return NULL;
9091 }{
9092 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9093 }
9094 {
9095 if (_obj0)
9096 delete _arg0;
9097 }
9098 {
9099 delete _result;
9100 }
9101 return _resultobj;
9102 }
9103
9104 #define delete_wxFileType(_swigobj) (delete _swigobj)
9105 static PyObject *_wrap_delete_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject * _resultobj;
9107 wxFileType * _arg0;
9108 PyObject * _argo0 = 0;
9109 char *_kwnames[] = { "self", NULL };
9110
9111 self = self;
9112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileType",_kwnames,&_argo0))
9113 return NULL;
9114 if (_argo0) {
9115 if (_argo0 == Py_None) { _arg0 = NULL; }
9116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
9117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9118 return NULL;
9119 }
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 delete_wxFileType(_arg0);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) return NULL;
9127 } Py_INCREF(Py_None);
9128 _resultobj = Py_None;
9129 return _resultobj;
9130 }
9131
9132 static PyObject *_wrap_wxMimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
9133 PyObject * _resultobj;
9134 bool _result;
9135 wxString * _arg0;
9136 wxString * _arg1;
9137 PyObject * _obj0 = 0;
9138 PyObject * _obj1 = 0;
9139 char *_kwnames[] = { "mimeType","wildcard", NULL };
9140
9141 self = self;
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_IsOfType",_kwnames,&_obj0,&_obj1))
9143 return NULL;
9144 {
9145 #if PYTHON_API_VERSION >= 1009
9146 char* tmpPtr; int tmpSize;
9147 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
9148 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9149 return NULL;
9150 }
9151 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
9152 return NULL;
9153 _arg0 = new wxString(tmpPtr, tmpSize);
9154 #else
9155 if (!PyString_Check(_obj0)) {
9156 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9157 return NULL;
9158 }
9159 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
9160 #endif
9161 }
9162 {
9163 #if PYTHON_API_VERSION >= 1009
9164 char* tmpPtr; int tmpSize;
9165 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9166 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9167 return NULL;
9168 }
9169 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9170 return NULL;
9171 _arg1 = new wxString(tmpPtr, tmpSize);
9172 #else
9173 if (!PyString_Check(_obj1)) {
9174 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9175 return NULL;
9176 }
9177 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9178 #endif
9179 }
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 _result = (bool )wxMimeTypesManager::IsOfType(*_arg0,*_arg1);
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) return NULL;
9186 } _resultobj = Py_BuildValue("i",_result);
9187 {
9188 if (_obj0)
9189 delete _arg0;
9190 }
9191 {
9192 if (_obj1)
9193 delete _arg1;
9194 }
9195 return _resultobj;
9196 }
9197
9198 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9199 static PyObject *_wrap_new_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject * _resultobj;
9201 wxMimeTypesManager * _result;
9202 char *_kwnames[] = { NULL };
9203 char _ptemp[128];
9204
9205 self = self;
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMimeTypesManager",_kwnames))
9207 return NULL;
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 _result = (wxMimeTypesManager *)new_wxMimeTypesManager();
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) return NULL;
9214 } if (_result) {
9215 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMimeTypesManager_p");
9216 _resultobj = Py_BuildValue("s",_ptemp);
9217 } else {
9218 Py_INCREF(Py_None);
9219 _resultobj = Py_None;
9220 }
9221 return _resultobj;
9222 }
9223
9224 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9225 static PyObject *_wrap_wxMimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject * _resultobj;
9227 wxMimeTypesManager * _arg0;
9228 int _arg1 = (int ) (wxMAILCAP_STANDARD);
9229 wxString * _arg2 = (wxString *) &wxEmptyString;
9230 PyObject * _argo0 = 0;
9231 PyObject * _obj2 = 0;
9232 char *_kwnames[] = { "self","mailcapStyle","extraDir", NULL };
9233
9234 self = self;
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxMimeTypesManager_Initialize",_kwnames,&_argo0,&_arg1,&_obj2))
9236 return NULL;
9237 if (_argo0) {
9238 if (_argo0 == Py_None) { _arg0 = NULL; }
9239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9241 return NULL;
9242 }
9243 }
9244 if (_obj2)
9245 {
9246 #if PYTHON_API_VERSION >= 1009
9247 char* tmpPtr; int tmpSize;
9248 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9249 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9250 return NULL;
9251 }
9252 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9253 return NULL;
9254 _arg2 = new wxString(tmpPtr, tmpSize);
9255 #else
9256 if (!PyString_Check(_obj2)) {
9257 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9258 return NULL;
9259 }
9260 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9261 #endif
9262 }
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 wxMimeTypesManager_Initialize(_arg0,_arg1,*_arg2);
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) return NULL;
9269 } Py_INCREF(Py_None);
9270 _resultobj = Py_None;
9271 {
9272 if (_obj2)
9273 delete _arg2;
9274 }
9275 return _resultobj;
9276 }
9277
9278 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9279 static PyObject *_wrap_wxMimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
9280 PyObject * _resultobj;
9281 wxMimeTypesManager * _arg0;
9282 PyObject * _argo0 = 0;
9283 char *_kwnames[] = { "self", NULL };
9284
9285 self = self;
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_ClearData",_kwnames,&_argo0))
9287 return NULL;
9288 if (_argo0) {
9289 if (_argo0 == Py_None) { _arg0 = NULL; }
9290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9292 return NULL;
9293 }
9294 }
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 wxMimeTypesManager_ClearData(_arg0);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) return NULL;
9301 } Py_INCREF(Py_None);
9302 _resultobj = Py_None;
9303 return _resultobj;
9304 }
9305
9306 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9307 static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
9308 PyObject * _resultobj;
9309 wxFileType * _result;
9310 wxMimeTypesManager * _arg0;
9311 wxString * _arg1;
9312 PyObject * _argo0 = 0;
9313 PyObject * _obj1 = 0;
9314 char *_kwnames[] = { "self","ext", NULL };
9315 char _ptemp[128];
9316
9317 self = self;
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames,&_argo0,&_obj1))
9319 return NULL;
9320 if (_argo0) {
9321 if (_argo0 == Py_None) { _arg0 = NULL; }
9322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9324 return NULL;
9325 }
9326 }
9327 {
9328 #if PYTHON_API_VERSION >= 1009
9329 char* tmpPtr; int tmpSize;
9330 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9331 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9332 return NULL;
9333 }
9334 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9335 return NULL;
9336 _arg1 = new wxString(tmpPtr, tmpSize);
9337 #else
9338 if (!PyString_Check(_obj1)) {
9339 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9340 return NULL;
9341 }
9342 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9343 #endif
9344 }
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromExtension(_arg0,*_arg1);
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) return NULL;
9351 } if (_result) {
9352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9353 _resultobj = Py_BuildValue("s",_ptemp);
9354 } else {
9355 Py_INCREF(Py_None);
9356 _resultobj = Py_None;
9357 }
9358 {
9359 if (_obj1)
9360 delete _arg1;
9361 }
9362 return _resultobj;
9363 }
9364
9365 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9366 static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
9367 PyObject * _resultobj;
9368 wxFileType * _result;
9369 wxMimeTypesManager * _arg0;
9370 wxString * _arg1;
9371 PyObject * _argo0 = 0;
9372 PyObject * _obj1 = 0;
9373 char *_kwnames[] = { "self","mimeType", NULL };
9374 char _ptemp[128];
9375
9376 self = self;
9377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames,&_argo0,&_obj1))
9378 return NULL;
9379 if (_argo0) {
9380 if (_argo0 == Py_None) { _arg0 = NULL; }
9381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9383 return NULL;
9384 }
9385 }
9386 {
9387 #if PYTHON_API_VERSION >= 1009
9388 char* tmpPtr; int tmpSize;
9389 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9390 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9391 return NULL;
9392 }
9393 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9394 return NULL;
9395 _arg1 = new wxString(tmpPtr, tmpSize);
9396 #else
9397 if (!PyString_Check(_obj1)) {
9398 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9399 return NULL;
9400 }
9401 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9402 #endif
9403 }
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0,*_arg1);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) return NULL;
9410 } if (_result) {
9411 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9412 _resultobj = Py_BuildValue("s",_ptemp);
9413 } else {
9414 Py_INCREF(Py_None);
9415 _resultobj = Py_None;
9416 }
9417 {
9418 if (_obj1)
9419 delete _arg1;
9420 }
9421 return _resultobj;
9422 }
9423
9424 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9425 static PyObject *_wrap_wxMimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject * _resultobj;
9427 bool _result;
9428 wxMimeTypesManager * _arg0;
9429 wxString * _arg1;
9430 bool _arg2 = (bool ) FALSE;
9431 PyObject * _argo0 = 0;
9432 PyObject * _obj1 = 0;
9433 int tempbool2 = (int) FALSE;
9434 char *_kwnames[] = { "self","filename","fallback", NULL };
9435
9436 self = self;
9437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames,&_argo0,&_obj1,&tempbool2))
9438 return NULL;
9439 if (_argo0) {
9440 if (_argo0 == Py_None) { _arg0 = NULL; }
9441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9443 return NULL;
9444 }
9445 }
9446 {
9447 #if PYTHON_API_VERSION >= 1009
9448 char* tmpPtr; int tmpSize;
9449 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9450 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9451 return NULL;
9452 }
9453 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9454 return NULL;
9455 _arg1 = new wxString(tmpPtr, tmpSize);
9456 #else
9457 if (!PyString_Check(_obj1)) {
9458 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9459 return NULL;
9460 }
9461 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9462 #endif
9463 }
9464 _arg2 = (bool ) tempbool2;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 _result = (bool )wxMimeTypesManager_ReadMailcap(_arg0,*_arg1,_arg2);
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) return NULL;
9471 } _resultobj = Py_BuildValue("i",_result);
9472 {
9473 if (_obj1)
9474 delete _arg1;
9475 }
9476 return _resultobj;
9477 }
9478
9479 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9480 static PyObject *_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject * _resultobj;
9482 bool _result;
9483 wxMimeTypesManager * _arg0;
9484 wxString * _arg1;
9485 PyObject * _argo0 = 0;
9486 PyObject * _obj1 = 0;
9487 char *_kwnames[] = { "self","filename", NULL };
9488
9489 self = self;
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames,&_argo0,&_obj1))
9491 return NULL;
9492 if (_argo0) {
9493 if (_argo0 == Py_None) { _arg0 = NULL; }
9494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9496 return NULL;
9497 }
9498 }
9499 {
9500 #if PYTHON_API_VERSION >= 1009
9501 char* tmpPtr; int tmpSize;
9502 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9503 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9504 return NULL;
9505 }
9506 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9507 return NULL;
9508 _arg1 = new wxString(tmpPtr, tmpSize);
9509 #else
9510 if (!PyString_Check(_obj1)) {
9511 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9512 return NULL;
9513 }
9514 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9515 #endif
9516 }
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 _result = (bool )wxMimeTypesManager_ReadMimeTypes(_arg0,*_arg1);
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) return NULL;
9523 } _resultobj = Py_BuildValue("i",_result);
9524 {
9525 if (_obj1)
9526 delete _arg1;
9527 }
9528 return _resultobj;
9529 }
9530
9531 static PyObject * wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self) {
9532 wxArrayString arr;
9533 self->EnumAllFileTypes(arr);
9534 return wxArrayString2PyList_helper(arr);
9535 }
9536 static PyObject *_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9537 PyObject * _resultobj;
9538 PyObject * _result;
9539 wxMimeTypesManager * _arg0;
9540 PyObject * _argo0 = 0;
9541 char *_kwnames[] = { "self", NULL };
9542
9543 self = self;
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames,&_argo0))
9545 return NULL;
9546 if (_argo0) {
9547 if (_argo0 == Py_None) { _arg0 = NULL; }
9548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9550 return NULL;
9551 }
9552 }
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 _result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(_arg0);
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) return NULL;
9559 }{
9560 _resultobj = _result;
9561 }
9562 return _resultobj;
9563 }
9564
9565 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9566 static PyObject *_wrap_wxMimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject * _resultobj;
9568 wxMimeTypesManager * _arg0;
9569 wxFileTypeInfo * _arg1;
9570 PyObject * _argo0 = 0;
9571 PyObject * _argo1 = 0;
9572 char *_kwnames[] = { "self","ft", NULL };
9573
9574 self = self;
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_AddFallback",_kwnames,&_argo0,&_argo1))
9576 return NULL;
9577 if (_argo0) {
9578 if (_argo0 == Py_None) { _arg0 = NULL; }
9579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9581 return NULL;
9582 }
9583 }
9584 if (_argo1) {
9585 if (_argo1 == Py_None) { _arg1 = NULL; }
9586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9588 return NULL;
9589 }
9590 }
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 wxMimeTypesManager_AddFallback(_arg0,*_arg1);
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) return NULL;
9597 } Py_INCREF(Py_None);
9598 _resultobj = Py_None;
9599 return _resultobj;
9600 }
9601
9602 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9603 static PyObject *_wrap_wxMimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
9604 PyObject * _resultobj;
9605 wxFileType * _result;
9606 wxMimeTypesManager * _arg0;
9607 wxFileTypeInfo * _arg1;
9608 PyObject * _argo0 = 0;
9609 PyObject * _argo1 = 0;
9610 char *_kwnames[] = { "self","ftInfo", NULL };
9611 char _ptemp[128];
9612
9613 self = self;
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Associate",_kwnames,&_argo0,&_argo1))
9615 return NULL;
9616 if (_argo0) {
9617 if (_argo0 == Py_None) { _arg0 = NULL; }
9618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9620 return NULL;
9621 }
9622 }
9623 if (_argo1) {
9624 if (_argo1 == Py_None) { _arg1 = NULL; }
9625 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9626 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9627 return NULL;
9628 }
9629 }
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 _result = (wxFileType *)wxMimeTypesManager_Associate(_arg0,*_arg1);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) return NULL;
9636 } if (_result) {
9637 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9638 _resultobj = Py_BuildValue("s",_ptemp);
9639 } else {
9640 Py_INCREF(Py_None);
9641 _resultobj = Py_None;
9642 }
9643 return _resultobj;
9644 }
9645
9646 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9647 static PyObject *_wrap_wxMimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
9648 PyObject * _resultobj;
9649 bool _result;
9650 wxMimeTypesManager * _arg0;
9651 wxFileType * _arg1;
9652 PyObject * _argo0 = 0;
9653 PyObject * _argo1 = 0;
9654 char *_kwnames[] = { "self","ft", NULL };
9655
9656 self = self;
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Unassociate",_kwnames,&_argo0,&_argo1))
9658 return NULL;
9659 if (_argo0) {
9660 if (_argo0 == Py_None) { _arg0 = NULL; }
9661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9663 return NULL;
9664 }
9665 }
9666 if (_argo1) {
9667 if (_argo1 == Py_None) { _arg1 = NULL; }
9668 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType_p")) {
9669 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9670 return NULL;
9671 }
9672 }
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 _result = (bool )wxMimeTypesManager_Unassociate(_arg0,_arg1);
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) return NULL;
9679 } _resultobj = Py_BuildValue("i",_result);
9680 return _resultobj;
9681 }
9682
9683 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9684 static PyObject *_wrap_delete_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
9685 PyObject * _resultobj;
9686 wxMimeTypesManager * _arg0;
9687 PyObject * _argo0 = 0;
9688 char *_kwnames[] = { "self", NULL };
9689
9690 self = self;
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMimeTypesManager",_kwnames,&_argo0))
9692 return NULL;
9693 if (_argo0) {
9694 if (_argo0 == Py_None) { _arg0 = NULL; }
9695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9697 return NULL;
9698 }
9699 }
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 delete_wxMimeTypesManager(_arg0);
9703
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) return NULL;
9706 } Py_INCREF(Py_None);
9707 _resultobj = Py_None;
9708 return _resultobj;
9709 }
9710
9711 static void *SwigwxFileHistoryTowxObject(void *ptr) {
9712 wxFileHistory *src;
9713 wxObject *dest;
9714 src = (wxFileHistory *) ptr;
9715 dest = (wxObject *) src;
9716 return (void *) dest;
9717 }
9718
9719 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9720 static PyObject *_wrap_new_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject * _resultobj;
9722 wxFileHistory * _result;
9723 int _arg0 = (int ) 9;
9724 char *_kwnames[] = { "maxFiles", NULL };
9725 char _ptemp[128];
9726
9727 self = self;
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxFileHistory",_kwnames,&_arg0))
9729 return NULL;
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 _result = (wxFileHistory *)new_wxFileHistory(_arg0);
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) return NULL;
9736 } if (_result) {
9737 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileHistory_p");
9738 _resultobj = Py_BuildValue("s",_ptemp);
9739 } else {
9740 Py_INCREF(Py_None);
9741 _resultobj = Py_None;
9742 }
9743 return _resultobj;
9744 }
9745
9746 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9747 static PyObject *_wrap_delete_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9748 PyObject * _resultobj;
9749 wxFileHistory * _arg0;
9750 PyObject * _argo0 = 0;
9751 char *_kwnames[] = { "self", NULL };
9752
9753 self = self;
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileHistory",_kwnames,&_argo0))
9755 return NULL;
9756 if (_argo0) {
9757 if (_argo0 == Py_None) { _arg0 = NULL; }
9758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9760 return NULL;
9761 }
9762 }
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 delete_wxFileHistory(_arg0);
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) return NULL;
9769 } Py_INCREF(Py_None);
9770 _resultobj = Py_None;
9771 return _resultobj;
9772 }
9773
9774 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9775 static PyObject *_wrap_wxFileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject * _resultobj;
9777 wxFileHistory * _arg0;
9778 wxString * _arg1;
9779 PyObject * _argo0 = 0;
9780 PyObject * _obj1 = 0;
9781 char *_kwnames[] = { "self","file", NULL };
9782
9783 self = self;
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFileToHistory",_kwnames,&_argo0,&_obj1))
9785 return NULL;
9786 if (_argo0) {
9787 if (_argo0 == Py_None) { _arg0 = NULL; }
9788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9790 return NULL;
9791 }
9792 }
9793 {
9794 #if PYTHON_API_VERSION >= 1009
9795 char* tmpPtr; int tmpSize;
9796 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9797 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9798 return NULL;
9799 }
9800 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9801 return NULL;
9802 _arg1 = new wxString(tmpPtr, tmpSize);
9803 #else
9804 if (!PyString_Check(_obj1)) {
9805 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9806 return NULL;
9807 }
9808 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9809 #endif
9810 }
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 wxFileHistory_AddFileToHistory(_arg0,*_arg1);
9814
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) return NULL;
9817 } Py_INCREF(Py_None);
9818 _resultobj = Py_None;
9819 {
9820 if (_obj1)
9821 delete _arg1;
9822 }
9823 return _resultobj;
9824 }
9825
9826 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9827 static PyObject *_wrap_wxFileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9828 PyObject * _resultobj;
9829 wxFileHistory * _arg0;
9830 int _arg1;
9831 PyObject * _argo0 = 0;
9832 char *_kwnames[] = { "self","i", NULL };
9833
9834 self = self;
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames,&_argo0,&_arg1))
9836 return NULL;
9837 if (_argo0) {
9838 if (_argo0 == Py_None) { _arg0 = NULL; }
9839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9841 return NULL;
9842 }
9843 }
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 wxFileHistory_RemoveFileFromHistory(_arg0,_arg1);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) return NULL;
9850 } Py_INCREF(Py_None);
9851 _resultobj = Py_None;
9852 return _resultobj;
9853 }
9854
9855 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9856 static PyObject *_wrap_wxFileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
9857 PyObject * _resultobj;
9858 int _result;
9859 wxFileHistory * _arg0;
9860 PyObject * _argo0 = 0;
9861 char *_kwnames[] = { "self", NULL };
9862
9863 self = self;
9864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetMaxFiles",_kwnames,&_argo0))
9865 return NULL;
9866 if (_argo0) {
9867 if (_argo0 == Py_None) { _arg0 = NULL; }
9868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9870 return NULL;
9871 }
9872 }
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 _result = (int )wxFileHistory_GetMaxFiles(_arg0);
9876
9877 wxPyEndAllowThreads(__tstate);
9878 if (PyErr_Occurred()) return NULL;
9879 } _resultobj = Py_BuildValue("i",_result);
9880 return _resultobj;
9881 }
9882
9883 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9884 static PyObject *_wrap_wxFileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject * _resultobj;
9886 wxFileHistory * _arg0;
9887 wxMenu * _arg1;
9888 PyObject * _argo0 = 0;
9889 PyObject * _argo1 = 0;
9890 char *_kwnames[] = { "self","menu", NULL };
9891
9892 self = self;
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_UseMenu",_kwnames,&_argo0,&_argo1))
9894 return NULL;
9895 if (_argo0) {
9896 if (_argo0 == Py_None) { _arg0 = NULL; }
9897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9899 return NULL;
9900 }
9901 }
9902 if (_argo1) {
9903 if (_argo1 == Py_None) { _arg1 = NULL; }
9904 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9905 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9906 return NULL;
9907 }
9908 }
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 wxFileHistory_UseMenu(_arg0,_arg1);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) return NULL;
9915 } Py_INCREF(Py_None);
9916 _resultobj = Py_None;
9917 return _resultobj;
9918 }
9919
9920 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9921 static PyObject *_wrap_wxFileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9922 PyObject * _resultobj;
9923 wxFileHistory * _arg0;
9924 wxMenu * _arg1;
9925 PyObject * _argo0 = 0;
9926 PyObject * _argo1 = 0;
9927 char *_kwnames[] = { "self","menu", NULL };
9928
9929 self = self;
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_RemoveMenu",_kwnames,&_argo0,&_argo1))
9931 return NULL;
9932 if (_argo0) {
9933 if (_argo0 == Py_None) { _arg0 = NULL; }
9934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9936 return NULL;
9937 }
9938 }
9939 if (_argo1) {
9940 if (_argo1 == Py_None) { _arg1 = NULL; }
9941 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9942 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9943 return NULL;
9944 }
9945 }
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 wxFileHistory_RemoveMenu(_arg0,_arg1);
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) return NULL;
9952 } Py_INCREF(Py_None);
9953 _resultobj = Py_None;
9954 return _resultobj;
9955 }
9956
9957 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9958 static PyObject *_wrap_wxFileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject * _resultobj;
9960 wxFileHistory * _arg0;
9961 wxConfigBase * _arg1;
9962 PyObject * _argo0 = 0;
9963 PyObject * _argo1 = 0;
9964 char *_kwnames[] = { "self","config", NULL };
9965
9966 self = self;
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Load",_kwnames,&_argo0,&_argo1))
9968 return NULL;
9969 if (_argo0) {
9970 if (_argo0 == Py_None) { _arg0 = NULL; }
9971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9973 return NULL;
9974 }
9975 }
9976 if (_argo1) {
9977 if (_argo1 == Py_None) { _arg1 = NULL; }
9978 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
9979 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9980 return NULL;
9981 }
9982 }
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 wxFileHistory_Load(_arg0,*_arg1);
9986
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) return NULL;
9989 } Py_INCREF(Py_None);
9990 _resultobj = Py_None;
9991 return _resultobj;
9992 }
9993
9994 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9995 static PyObject *_wrap_wxFileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
9996 PyObject * _resultobj;
9997 wxFileHistory * _arg0;
9998 wxConfigBase * _arg1;
9999 PyObject * _argo0 = 0;
10000 PyObject * _argo1 = 0;
10001 char *_kwnames[] = { "self","config", NULL };
10002
10003 self = self;
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Save",_kwnames,&_argo0,&_argo1))
10005 return NULL;
10006 if (_argo0) {
10007 if (_argo0 == Py_None) { _arg0 = NULL; }
10008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10010 return NULL;
10011 }
10012 }
10013 if (_argo1) {
10014 if (_argo1 == Py_None) { _arg1 = NULL; }
10015 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
10016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10017 return NULL;
10018 }
10019 }
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 wxFileHistory_Save(_arg0,*_arg1);
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) return NULL;
10026 } Py_INCREF(Py_None);
10027 _resultobj = Py_None;
10028 return _resultobj;
10029 }
10030
10031 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10032 static PyObject *_wrap_wxFileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10033 PyObject * _resultobj;
10034 wxFileHistory * _arg0;
10035 PyObject * _argo0 = 0;
10036 char *_kwnames[] = { "self", NULL };
10037
10038 self = self;
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_AddFilesToMenu",_kwnames,&_argo0))
10040 return NULL;
10041 if (_argo0) {
10042 if (_argo0 == Py_None) { _arg0 = NULL; }
10043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10045 return NULL;
10046 }
10047 }
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 wxFileHistory_AddFilesToMenu(_arg0);
10051
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) return NULL;
10054 } Py_INCREF(Py_None);
10055 _resultobj = Py_None;
10056 return _resultobj;
10057 }
10058
10059 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10060 static PyObject *_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10061 PyObject * _resultobj;
10062 wxFileHistory * _arg0;
10063 wxMenu * _arg1;
10064 PyObject * _argo0 = 0;
10065 PyObject * _argo1 = 0;
10066 char *_kwnames[] = { "self","menu", NULL };
10067
10068 self = self;
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames,&_argo0,&_argo1))
10070 return NULL;
10071 if (_argo0) {
10072 if (_argo0 == Py_None) { _arg0 = NULL; }
10073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10075 return NULL;
10076 }
10077 }
10078 if (_argo1) {
10079 if (_argo1 == Py_None) { _arg1 = NULL; }
10080 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10081 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10082 return NULL;
10083 }
10084 }
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 wxFileHistory_AddFilesToSingleMenu(_arg0,_arg1);
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) return NULL;
10091 } Py_INCREF(Py_None);
10092 _resultobj = Py_None;
10093 return _resultobj;
10094 }
10095
10096 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10097 static PyObject *_wrap_wxFileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject * _resultobj;
10099 wxString * _result;
10100 wxFileHistory * _arg0;
10101 int _arg1;
10102 PyObject * _argo0 = 0;
10103 char *_kwnames[] = { "self","i", NULL };
10104
10105 self = self;
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_GetHistoryFile",_kwnames,&_argo0,&_arg1))
10107 return NULL;
10108 if (_argo0) {
10109 if (_argo0 == Py_None) { _arg0 = NULL; }
10110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10112 return NULL;
10113 }
10114 }
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 _result = new wxString (wxFileHistory_GetHistoryFile(_arg0,_arg1));
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) return NULL;
10121 }{
10122 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10123 }
10124 {
10125 delete _result;
10126 }
10127 return _resultobj;
10128 }
10129
10130 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10131 static PyObject *_wrap_wxFileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10132 PyObject * _resultobj;
10133 int _result;
10134 wxFileHistory * _arg0;
10135 PyObject * _argo0 = 0;
10136 char *_kwnames[] = { "self", NULL };
10137
10138 self = self;
10139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetCount",_kwnames,&_argo0))
10140 return NULL;
10141 if (_argo0) {
10142 if (_argo0 == Py_None) { _arg0 = NULL; }
10143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10145 return NULL;
10146 }
10147 }
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 _result = (int )wxFileHistory_GetCount(_arg0);
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) return NULL;
10154 } _resultobj = Py_BuildValue("i",_result);
10155 return _resultobj;
10156 }
10157
10158 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10159 static PyObject *_wrap_wxFileHistory_GetNoHistoryFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject * _resultobj;
10161 int _result;
10162 wxFileHistory * _arg0;
10163 PyObject * _argo0 = 0;
10164 char *_kwnames[] = { "self", NULL };
10165
10166 self = self;
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetNoHistoryFiles",_kwnames,&_argo0))
10168 return NULL;
10169 if (_argo0) {
10170 if (_argo0 == Py_None) { _arg0 = NULL; }
10171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10173 return NULL;
10174 }
10175 }
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 _result = (int )wxFileHistory_GetNoHistoryFiles(_arg0);
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) return NULL;
10182 } _resultobj = Py_BuildValue("i",_result);
10183 return _resultobj;
10184 }
10185
10186 static PyMethodDef misc2cMethods[] = {
10187 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction) _wrap_wxFileHistory_GetNoHistoryFiles, METH_VARARGS | METH_KEYWORDS },
10188 { "wxFileHistory_GetCount", (PyCFunction) _wrap_wxFileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
10189 { "wxFileHistory_GetHistoryFile", (PyCFunction) _wrap_wxFileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
10190 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToSingleMenu, METH_VARARGS | METH_KEYWORDS },
10191 { "wxFileHistory_AddFilesToMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
10192 { "wxFileHistory_Save", (PyCFunction) _wrap_wxFileHistory_Save, METH_VARARGS | METH_KEYWORDS },
10193 { "wxFileHistory_Load", (PyCFunction) _wrap_wxFileHistory_Load, METH_VARARGS | METH_KEYWORDS },
10194 { "wxFileHistory_RemoveMenu", (PyCFunction) _wrap_wxFileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
10195 { "wxFileHistory_UseMenu", (PyCFunction) _wrap_wxFileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
10196 { "wxFileHistory_GetMaxFiles", (PyCFunction) _wrap_wxFileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
10197 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_wxFileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
10198 { "wxFileHistory_AddFileToHistory", (PyCFunction) _wrap_wxFileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
10199 { "delete_wxFileHistory", (PyCFunction) _wrap_delete_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
10200 { "new_wxFileHistory", (PyCFunction) _wrap_new_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
10201 { "delete_wxMimeTypesManager", (PyCFunction) _wrap_delete_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
10202 { "wxMimeTypesManager_Unassociate", (PyCFunction) _wrap_wxMimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
10203 { "wxMimeTypesManager_Associate", (PyCFunction) _wrap_wxMimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
10204 { "wxMimeTypesManager_AddFallback", (PyCFunction) _wrap_wxMimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
10205 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_wxMimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
10206 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_wxMimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
10207 { "wxMimeTypesManager_ReadMailcap", (PyCFunction) _wrap_wxMimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
10208 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
10209 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
10210 { "wxMimeTypesManager_ClearData", (PyCFunction) _wrap_wxMimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
10211 { "wxMimeTypesManager_Initialize", (PyCFunction) _wrap_wxMimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
10212 { "new_wxMimeTypesManager", (PyCFunction) _wrap_new_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
10213 { "wxMimeTypesManager_IsOfType", (PyCFunction) _wrap_wxMimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
10214 { "delete_wxFileType", (PyCFunction) _wrap_delete_wxFileType, METH_VARARGS | METH_KEYWORDS },
10215 { "wxFileType_ExpandCommand", (PyCFunction) _wrap_wxFileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
10216 { "wxFileType_Unassociate", (PyCFunction) _wrap_wxFileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
10217 { "wxFileType_SetDefaultIcon", (PyCFunction) _wrap_wxFileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
10218 { "wxFileType_SetCommand", (PyCFunction) _wrap_wxFileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
10219 { "wxFileType_GetAllCommands", (PyCFunction) _wrap_wxFileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
10220 { "wxFileType_GetPrintCommand", (PyCFunction) _wrap_wxFileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
10221 { "wxFileType_GetOpenCommand", (PyCFunction) _wrap_wxFileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
10222 { "wxFileType_GetDescription", (PyCFunction) _wrap_wxFileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
10223 { "wxFileType_GetIconInfo", (PyCFunction) _wrap_wxFileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
10224 { "wxFileType_GetIcon", (PyCFunction) _wrap_wxFileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
10225 { "wxFileType_GetExtensions", (PyCFunction) _wrap_wxFileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
10226 { "wxFileType_GetMimeTypes", (PyCFunction) _wrap_wxFileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
10227 { "wxFileType_GetMimeType", (PyCFunction) _wrap_wxFileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
10228 { "new_wxFileType", (PyCFunction) _wrap_new_wxFileType, METH_VARARGS | METH_KEYWORDS },
10229 { "wxFileTypeInfo_GetIconIndex", (PyCFunction) _wrap_wxFileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
10230 { "wxFileTypeInfo_GetIconFile", (PyCFunction) _wrap_wxFileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
10231 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
10232 { "wxFileTypeInfo_GetExtensions", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
10233 { "wxFileTypeInfo_GetDescription", (PyCFunction) _wrap_wxFileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
10234 { "wxFileTypeInfo_GetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
10235 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
10236 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
10237 { "wxFileTypeInfo_GetMimeType", (PyCFunction) _wrap_wxFileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
10238 { "wxFileTypeInfo_SetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
10239 { "wxFileTypeInfo_SetIcon", (PyCFunction) _wrap_wxFileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
10240 { "wxFileTypeInfo_IsValid", (PyCFunction) _wrap_wxFileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
10241 { "new_wxNullFileTypeInfo", (PyCFunction) _wrap_new_wxNullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
10242 { "new_wxFileTypeInfoSequence", (PyCFunction) _wrap_new_wxFileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
10243 { "new_wxFileTypeInfo", (PyCFunction) _wrap_new_wxFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
10244 { "wxWave_Play", (PyCFunction) _wrap_wxWave_Play, METH_VARARGS | METH_KEYWORDS },
10245 { "wxWave_IsOk", (PyCFunction) _wrap_wxWave_IsOk, METH_VARARGS | METH_KEYWORDS },
10246 { "delete_wxWave", (PyCFunction) _wrap_delete_wxWave, METH_VARARGS | METH_KEYWORDS },
10247 { "new_wxWave", (PyCFunction) _wrap_new_wxWave, METH_VARARGS | METH_KEYWORDS },
10248 { "wxJoystick_ReleaseCapture", (PyCFunction) _wrap_wxJoystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
10249 { "wxJoystick_SetCapture", (PyCFunction) _wrap_wxJoystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
10250 { "wxJoystick_HasPOVCTS", (PyCFunction) _wrap_wxJoystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
10251 { "wxJoystick_HasPOV4Dir", (PyCFunction) _wrap_wxJoystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
10252 { "wxJoystick_HasPOV", (PyCFunction) _wrap_wxJoystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
10253 { "wxJoystick_HasV", (PyCFunction) _wrap_wxJoystick_HasV, METH_VARARGS | METH_KEYWORDS },
10254 { "wxJoystick_HasU", (PyCFunction) _wrap_wxJoystick_HasU, METH_VARARGS | METH_KEYWORDS },
10255 { "wxJoystick_HasZ", (PyCFunction) _wrap_wxJoystick_HasZ, METH_VARARGS | METH_KEYWORDS },
10256 { "wxJoystick_HasRudder", (PyCFunction) _wrap_wxJoystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
10257 { "wxJoystick_GetVMax", (PyCFunction) _wrap_wxJoystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
10258 { "wxJoystick_GetVMin", (PyCFunction) _wrap_wxJoystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
10259 { "wxJoystick_GetUMax", (PyCFunction) _wrap_wxJoystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
10260 { "wxJoystick_GetUMin", (PyCFunction) _wrap_wxJoystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
10261 { "wxJoystick_GetRudderMax", (PyCFunction) _wrap_wxJoystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
10262 { "wxJoystick_GetRudderMin", (PyCFunction) _wrap_wxJoystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
10263 { "wxJoystick_GetPollingMax", (PyCFunction) _wrap_wxJoystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
10264 { "wxJoystick_GetPollingMin", (PyCFunction) _wrap_wxJoystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
10265 { "wxJoystick_GetMaxAxes", (PyCFunction) _wrap_wxJoystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
10266 { "wxJoystick_GetMaxButtons", (PyCFunction) _wrap_wxJoystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
10267 { "wxJoystick_GetNumberAxes", (PyCFunction) _wrap_wxJoystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
10268 { "wxJoystick_GetNumberButtons", (PyCFunction) _wrap_wxJoystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
10269 { "wxJoystick_GetZMax", (PyCFunction) _wrap_wxJoystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
10270 { "wxJoystick_GetYMax", (PyCFunction) _wrap_wxJoystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
10271 { "wxJoystick_GetXMax", (PyCFunction) _wrap_wxJoystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
10272 { "wxJoystick_GetZMin", (PyCFunction) _wrap_wxJoystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
10273 { "wxJoystick_GetYMin", (PyCFunction) _wrap_wxJoystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
10274 { "wxJoystick_GetXMin", (PyCFunction) _wrap_wxJoystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
10275 { "wxJoystick_GetProductName", (PyCFunction) _wrap_wxJoystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
10276 { "wxJoystick_GetProductId", (PyCFunction) _wrap_wxJoystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
10277 { "wxJoystick_GetManufacturerId", (PyCFunction) _wrap_wxJoystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
10278 { "wxJoystick_GetNumberJoysticks", (PyCFunction) _wrap_wxJoystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
10279 { "wxJoystick_IsOk", (PyCFunction) _wrap_wxJoystick_IsOk, METH_VARARGS | METH_KEYWORDS },
10280 { "wxJoystick_SetMovementThreshold", (PyCFunction) _wrap_wxJoystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
10281 { "wxJoystick_GetMovementThreshold", (PyCFunction) _wrap_wxJoystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
10282 { "wxJoystick_GetVPosition", (PyCFunction) _wrap_wxJoystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
10283 { "wxJoystick_GetUPosition", (PyCFunction) _wrap_wxJoystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
10284 { "wxJoystick_GetRudderPosition", (PyCFunction) _wrap_wxJoystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
10285 { "wxJoystick_GetPOVCTSPosition", (PyCFunction) _wrap_wxJoystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
10286 { "wxJoystick_GetPOVPosition", (PyCFunction) _wrap_wxJoystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
10287 { "wxJoystick_GetButtonState", (PyCFunction) _wrap_wxJoystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
10288 { "wxJoystick_GetZPosition", (PyCFunction) _wrap_wxJoystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
10289 { "wxJoystick_GetPosition", (PyCFunction) _wrap_wxJoystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
10290 { "delete_wxJoystick", (PyCFunction) _wrap_delete_wxJoystick, METH_VARARGS | METH_KEYWORDS },
10291 { "new_wxJoystick", (PyCFunction) _wrap_new_wxJoystick, METH_VARARGS | METH_KEYWORDS },
10292 { "wxProcess_CloseOutput", (PyCFunction) _wrap_wxProcess_CloseOutput, METH_VARARGS | METH_KEYWORDS },
10293 { "wxProcess_GetOutputStream", (PyCFunction) _wrap_wxProcess_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
10294 { "wxProcess_GetErrorStream", (PyCFunction) _wrap_wxProcess_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
10295 { "wxProcess_GetInputStream", (PyCFunction) _wrap_wxProcess_GetInputStream, METH_VARARGS | METH_KEYWORDS },
10296 { "wxProcess_Detach", (PyCFunction) _wrap_wxProcess_Detach, METH_VARARGS | METH_KEYWORDS },
10297 { "wxProcess_IsRedirected", (PyCFunction) _wrap_wxProcess_IsRedirected, METH_VARARGS | METH_KEYWORDS },
10298 { "wxProcess_Redirect", (PyCFunction) _wrap_wxProcess_Redirect, METH_VARARGS | METH_KEYWORDS },
10299 { "wxProcess_base_OnTerminate", (PyCFunction) _wrap_wxProcess_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
10300 { "wxProcess__setCallbackInfo", (PyCFunction) _wrap_wxProcess__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10301 { "wxProcess_Destroy", (PyCFunction) _wrap_wxProcess_Destroy, METH_VARARGS | METH_KEYWORDS },
10302 { "new_wxProcess", (PyCFunction) _wrap_new_wxProcess, METH_VARARGS | METH_KEYWORDS },
10303 { "wxProcessEvent_m_exitcode_get", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
10304 { "wxProcessEvent_m_exitcode_set", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
10305 { "wxProcessEvent_m_pid_get", (PyCFunction) _wrap_wxProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
10306 { "wxProcessEvent_m_pid_set", (PyCFunction) _wrap_wxProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
10307 { "wxProcessEvent_GetExitCode", (PyCFunction) _wrap_wxProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
10308 { "wxProcessEvent_GetPid", (PyCFunction) _wrap_wxProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
10309 { "new_wxProcessEvent", (PyCFunction) _wrap_new_wxProcessEvent, METH_VARARGS | METH_KEYWORDS },
10310 { "wxPyLog_Destroy", (PyCFunction) _wrap_wxPyLog_Destroy, METH_VARARGS | METH_KEYWORDS },
10311 { "wxPyLog__setCallbackInfo", (PyCFunction) _wrap_wxPyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10312 { "new_wxPyLog", (PyCFunction) _wrap_new_wxPyLog, METH_VARARGS | METH_KEYWORDS },
10313 { "wxLogChain_GetOldLog", (PyCFunction) _wrap_wxLogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
10314 { "wxLogChain_IsPassingMessages", (PyCFunction) _wrap_wxLogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
10315 { "wxLogChain_PassMessages", (PyCFunction) _wrap_wxLogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
10316 { "wxLogChain_SetLog", (PyCFunction) _wrap_wxLogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
10317 { "new_wxLogChain", (PyCFunction) _wrap_new_wxLogChain, METH_VARARGS | METH_KEYWORDS },
10318 { "delete_wxLogNull", (PyCFunction) _wrap_delete_wxLogNull, METH_VARARGS | METH_KEYWORDS },
10319 { "new_wxLogNull", (PyCFunction) _wrap_new_wxLogNull, METH_VARARGS | METH_KEYWORDS },
10320 { "wxLogWindow_PassMessages", (PyCFunction) _wrap_wxLogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
10321 { "wxLogWindow_IsPassingMessages", (PyCFunction) _wrap_wxLogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
10322 { "wxLogWindow_GetOldLog", (PyCFunction) _wrap_wxLogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
10323 { "wxLogWindow_GetFrame", (PyCFunction) _wrap_wxLogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
10324 { "wxLogWindow_Show", (PyCFunction) _wrap_wxLogWindow_Show, METH_VARARGS | METH_KEYWORDS },
10325 { "new_wxLogWindow", (PyCFunction) _wrap_new_wxLogWindow, METH_VARARGS | METH_KEYWORDS },
10326 { "new_wxLogGui", (PyCFunction) _wrap_new_wxLogGui, METH_VARARGS | METH_KEYWORDS },
10327 { "new_wxLogTextCtrl", (PyCFunction) _wrap_new_wxLogTextCtrl, METH_VARARGS | METH_KEYWORDS },
10328 { "new_wxLogStderr", (PyCFunction) _wrap_new_wxLogStderr, METH_VARARGS | METH_KEYWORDS },
10329 { "wxLog_TimeStamp", (PyCFunction) _wrap_wxLog_TimeStamp, METH_VARARGS | METH_KEYWORDS },
10330 { "wxLog_IsAllowedTraceMask", (PyCFunction) _wrap_wxLog_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
10331 { "wxLog_GetTraceMask", (PyCFunction) _wrap_wxLog_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
10332 { "wxLog_GetVerbose", (PyCFunction) _wrap_wxLog_GetVerbose, METH_VARARGS | METH_KEYWORDS },
10333 { "wxLog_GetTimestamp", (PyCFunction) _wrap_wxLog_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
10334 { "wxLog_SetTimestamp", (PyCFunction) _wrap_wxLog_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
10335 { "wxLog_ClearTraceMasks", (PyCFunction) _wrap_wxLog_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
10336 { "wxLog_RemoveTraceMask", (PyCFunction) _wrap_wxLog_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
10337 { "wxLog_AddTraceMask", (PyCFunction) _wrap_wxLog_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
10338 { "wxLog_SetTraceMask", (PyCFunction) _wrap_wxLog_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
10339 { "wxLog_DontCreateOnDemand", (PyCFunction) _wrap_wxLog_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
10340 { "wxLog_SetVerbose", (PyCFunction) _wrap_wxLog_SetVerbose, METH_VARARGS | METH_KEYWORDS },
10341 { "wxLog_Resume", (PyCFunction) _wrap_wxLog_Resume, METH_VARARGS | METH_KEYWORDS },
10342 { "wxLog_Suspend", (PyCFunction) _wrap_wxLog_Suspend, METH_VARARGS | METH_KEYWORDS },
10343 { "wxLog_SetActiveTarget", (PyCFunction) _wrap_wxLog_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
10344 { "wxLog_GetActiveTarget", (PyCFunction) _wrap_wxLog_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
10345 { "wxLog_FlushActive", (PyCFunction) _wrap_wxLog_FlushActive, METH_VARARGS | METH_KEYWORDS },
10346 { "wxLog_HasPendingMessages", (PyCFunction) _wrap_wxLog_HasPendingMessages, METH_VARARGS | METH_KEYWORDS },
10347 { "wxLog_Flush", (PyCFunction) _wrap_wxLog_Flush, METH_VARARGS | METH_KEYWORDS },
10348 { "wxLog_OnLog", (PyCFunction) _wrap_wxLog_OnLog, METH_VARARGS | METH_KEYWORDS },
10349 { "wxLog_EnableLogging", (PyCFunction) _wrap_wxLog_EnableLogging, METH_VARARGS | METH_KEYWORDS },
10350 { "wxLog_IsEnabled", (PyCFunction) _wrap_wxLog_IsEnabled, METH_VARARGS | METH_KEYWORDS },
10351 { "new_wxLog", (PyCFunction) _wrap_new_wxLog, METH_VARARGS | METH_KEYWORDS },
10352 { "wxStopWatch_Time", (PyCFunction) _wrap_wxStopWatch_Time, METH_VARARGS | METH_KEYWORDS },
10353 { "wxStopWatch_Resume", (PyCFunction) _wrap_wxStopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
10354 { "wxStopWatch_Pause", (PyCFunction) _wrap_wxStopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
10355 { "wxStopWatch_Start", (PyCFunction) _wrap_wxStopWatch_Start, METH_VARARGS | METH_KEYWORDS },
10356 { "delete_wxStopWatch", (PyCFunction) _wrap_delete_wxStopWatch, METH_VARARGS | METH_KEYWORDS },
10357 { "new_wxStopWatch", (PyCFunction) _wrap_new_wxStopWatch, METH_VARARGS | METH_KEYWORDS },
10358 { "wxPyTimer_Stop", (PyCFunction) _wrap_wxPyTimer_Stop, METH_VARARGS | METH_KEYWORDS },
10359 { "wxPyTimer_Start", (PyCFunction) _wrap_wxPyTimer_Start, METH_VARARGS | METH_KEYWORDS },
10360 { "wxPyTimer_SetOwner", (PyCFunction) _wrap_wxPyTimer_SetOwner, METH_VARARGS | METH_KEYWORDS },
10361 { "wxPyTimer_IsRunning", (PyCFunction) _wrap_wxPyTimer_IsRunning, METH_VARARGS | METH_KEYWORDS },
10362 { "wxPyTimer_IsOneShot", (PyCFunction) _wrap_wxPyTimer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
10363 { "wxPyTimer_GetInterval", (PyCFunction) _wrap_wxPyTimer_GetInterval, METH_VARARGS | METH_KEYWORDS },
10364 { "delete_wxPyTimer", (PyCFunction) _wrap_delete_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
10365 { "new_wxPyTimer", (PyCFunction) _wrap_new_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
10366 { "wxDragImage_RedrawImage", (PyCFunction) _wrap_wxDragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
10367 { "wxDragImage_GetImageRect", (PyCFunction) _wrap_wxDragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
10368 { "wxDragImage_Hide", (PyCFunction) _wrap_wxDragImage_Hide, METH_VARARGS | METH_KEYWORDS },
10369 { "wxDragImage_Show", (PyCFunction) _wrap_wxDragImage_Show, METH_VARARGS | METH_KEYWORDS },
10370 { "wxDragImage_Move", (PyCFunction) _wrap_wxDragImage_Move, METH_VARARGS | METH_KEYWORDS },
10371 { "wxDragImage_EndDrag", (PyCFunction) _wrap_wxDragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
10372 { "wxDragImage_BeginDrag2", (PyCFunction) _wrap_wxDragImage_BeginDrag2, METH_VARARGS | METH_KEYWORDS },
10373 { "wxDragImage_BeginDrag", (PyCFunction) _wrap_wxDragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
10374 { "wxDragImage_SetBackingBitmap", (PyCFunction) _wrap_wxDragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
10375 { "delete_wxDragImage", (PyCFunction) _wrap_delete_wxDragImage, METH_VARARGS | METH_KEYWORDS },
10376 { "new_wxDragListItem", (PyCFunction) _wrap_new_wxDragListItem, METH_VARARGS | METH_KEYWORDS },
10377 { "new_wxDragTreeItem", (PyCFunction) _wrap_new_wxDragTreeItem, METH_VARARGS | METH_KEYWORDS },
10378 { "new_wxDragString", (PyCFunction) _wrap_new_wxDragString, METH_VARARGS | METH_KEYWORDS },
10379 { "new_wxDragIcon", (PyCFunction) _wrap_new_wxDragIcon, METH_VARARGS | METH_KEYWORDS },
10380 { "new_wxDragImage", (PyCFunction) _wrap_new_wxDragImage, METH_VARARGS | METH_KEYWORDS },
10381 { "new_wxPyTipProvider", (PyCFunction) _wrap_new_wxPyTipProvider, METH_VARARGS | METH_KEYWORDS },
10382 { "wxTipProvider_GetCurrentTip", (PyCFunction) _wrap_wxTipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
10383 { "wxTipProvider_GetTip", (PyCFunction) _wrap_wxTipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
10384 { "delete_wxTipProvider", (PyCFunction) _wrap_delete_wxTipProvider, METH_VARARGS | METH_KEYWORDS },
10385 { "delete_wxMutexGuiLocker", (PyCFunction) _wrap_delete_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
10386 { "new_wxMutexGuiLocker", (PyCFunction) _wrap_new_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
10387 { "delete_wxWindowDisabler", (PyCFunction) _wrap_delete_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
10388 { "new_wxWindowDisabler", (PyCFunction) _wrap_new_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
10389 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
10390 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
10391 { "wxFontEnumerator_GetFacenames", (PyCFunction) _wrap_wxFontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS },
10392 { "wxFontEnumerator_GetEncodings", (PyCFunction) _wrap_wxFontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS },
10393 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_wxFontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS },
10394 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_wxFontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS },
10395 { "wxFontEnumerator__setCallbackInfo", (PyCFunction) _wrap_wxFontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10396 { "delete_wxFontEnumerator", (PyCFunction) _wrap_delete_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
10397 { "new_wxFontEnumerator", (PyCFunction) _wrap_new_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
10398 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
10399 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
10400 { "wxCaret_SetSize", (PyCFunction) _wrap_wxCaret_SetSize, METH_VARARGS | METH_KEYWORDS },
10401 { "wxCaret_SetSizeWH", (PyCFunction) _wrap_wxCaret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
10402 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
10403 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
10404 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
10405 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
10406 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
10407 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
10408 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
10409 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
10410 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
10411 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
10412 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
10413 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
10414 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
10415 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
10416 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
10417 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
10418 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
10419 { "wxSystemSettings_HasFeature", (PyCFunction) _wrap_wxSystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
10420 { "wxSystemSettings_GetMetric", (PyCFunction) _wrap_wxSystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
10421 { "wxSystemSettings_GetFont", (PyCFunction) _wrap_wxSystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
10422 { "wxSystemSettings_GetColour", (PyCFunction) _wrap_wxSystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
10423 { "wxWaveData", (PyCFunction) _wrap_wxWaveData, METH_VARARGS | METH_KEYWORDS },
10424 { "wxExecute", (PyCFunction) _wrap_wxExecute, METH_VARARGS | METH_KEYWORDS },
10425 { "wxLogSysError", (PyCFunction) _wrap_wxLogSysError, METH_VARARGS | METH_KEYWORDS },
10426 { "wxLogStatusFrame", (PyCFunction) _wrap_wxLogStatusFrame, METH_VARARGS | METH_KEYWORDS },
10427 { "wxLogStatus", (PyCFunction) _wrap_wxLogStatus, METH_VARARGS | METH_KEYWORDS },
10428 { "wxLogVerbose", (PyCFunction) _wrap_wxLogVerbose, METH_VARARGS | METH_KEYWORDS },
10429 { "wxLogInfo", (PyCFunction) _wrap_wxLogInfo, METH_VARARGS | METH_KEYWORDS },
10430 { "wxLogMessage", (PyCFunction) _wrap_wxLogMessage, METH_VARARGS | METH_KEYWORDS },
10431 { "wxLogWarning", (PyCFunction) _wrap_wxLogWarning, METH_VARARGS | METH_KEYWORDS },
10432 { "wxLogError", (PyCFunction) _wrap_wxLogError, METH_VARARGS | METH_KEYWORDS },
10433 { "wxLogFatalError", (PyCFunction) _wrap_wxLogFatalError, METH_VARARGS | METH_KEYWORDS },
10434 { "wxSysErrorMsg", (PyCFunction) _wrap_wxSysErrorMsg, METH_VARARGS | METH_KEYWORDS },
10435 { "wxSysErrorCode", (PyCFunction) _wrap_wxSysErrorCode, METH_VARARGS | METH_KEYWORDS },
10436 { "wxCreateFileTipProvider", (PyCFunction) _wrap_wxCreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
10437 { "wxShowTip", (PyCFunction) _wrap_wxShowTip, METH_VARARGS | METH_KEYWORDS },
10438 { "wxThread_IsMain", (PyCFunction) _wrap_wxThread_IsMain, METH_VARARGS | METH_KEYWORDS },
10439 { "wxMutexGuiLeave", (PyCFunction) _wrap_wxMutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
10440 { "wxMutexGuiEnter", (PyCFunction) _wrap_wxMutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
10441 { "wxWakeUpMainThread", (PyCFunction) _wrap_wxWakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
10442 { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS },
10443 { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS },
10444 { "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
10445 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
10446 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
10447 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
10448 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
10449 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
10450 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
10451 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
10452 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
10453 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
10454 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
10455 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
10456 { "wxFlushEvents", (PyCFunction) _wrap_wxFlushEvents, METH_VARARGS | METH_KEYWORDS },
10457 { "wxCheckForInterrupt", (PyCFunction) _wrap_wxCheckForInterrupt, METH_VARARGS | METH_KEYWORDS },
10458 { "wxFindWindowAtPoint", (PyCFunction) _wrap_wxFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
10459 { "wxGenericFindWindowAtPoint", (PyCFunction) _wrap_wxGenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
10460 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
10461 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
10462 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
10463 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
10464 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
10465 { "wxGetClientDisplayRect", (PyCFunction) _wrap_wxGetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
10466 { "wxClientDisplayRect", (PyCFunction) _wrap_wxClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
10467 { "wxGetDisplaySizeMM", (PyCFunction) _wrap_wxGetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
10468 { "wxDisplaySizeMM", (PyCFunction) _wrap_wxDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
10469 { "wxGetDisplaySize", (PyCFunction) _wrap_wxGetDisplaySize, METH_VARARGS | METH_KEYWORDS },
10470 { "wxDisplaySize", (PyCFunction) _wrap_wxDisplaySize, METH_VARARGS | METH_KEYWORDS },
10471 { "wxGetDisplayDepth", (PyCFunction) _wrap_wxGetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
10472 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
10473 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
10474 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
10475 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
10476 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
10477 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
10478 { "wxGetPasswordFromUser", (PyCFunction) _wrap_wxGetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
10479 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
10480 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
10481 { NULL, NULL }
10482 };
10483 #ifdef __cplusplus
10484 }
10485 #endif
10486 /*
10487 * This table is used by the pointer type-checker
10488 */
10489 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
10490 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent},
10491 { "_signed_long","_long",0},
10492 { "_wxPrintQuality","_wxCoord",0},
10493 { "_wxPrintQuality","_int",0},
10494 { "_wxPrintQuality","_signed_int",0},
10495 { "_wxPrintQuality","_unsigned_int",0},
10496 { "_wxPrintQuality","_wxWindowID",0},
10497 { "_wxPrintQuality","_uint",0},
10498 { "_wxPrintQuality","_EBool",0},
10499 { "_wxPrintQuality","_size_t",0},
10500 { "_wxPrintQuality","_time_t",0},
10501 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog},
10502 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog},
10503 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog},
10504 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog},
10505 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog},
10506 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog},
10507 { "_byte","_unsigned_char",0},
10508 { "_long","_unsigned_long",0},
10509 { "_long","_signed_long",0},
10510 { "_size_t","_wxCoord",0},
10511 { "_size_t","_wxPrintQuality",0},
10512 { "_size_t","_time_t",0},
10513 { "_size_t","_unsigned_int",0},
10514 { "_size_t","_int",0},
10515 { "_size_t","_wxWindowID",0},
10516 { "_size_t","_uint",0},
10517 { "_uint","_wxCoord",0},
10518 { "_uint","_wxPrintQuality",0},
10519 { "_uint","_time_t",0},
10520 { "_uint","_size_t",0},
10521 { "_uint","_unsigned_int",0},
10522 { "_uint","_int",0},
10523 { "_uint","_wxWindowID",0},
10524 { "_wxChar","_char",0},
10525 { "_char","_wxChar",0},
10526 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10527 { "_EBool","_wxCoord",0},
10528 { "_EBool","_wxPrintQuality",0},
10529 { "_EBool","_signed_int",0},
10530 { "_EBool","_int",0},
10531 { "_EBool","_wxWindowID",0},
10532 { "_unsigned_long","_long",0},
10533 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10534 { "_signed_int","_wxCoord",0},
10535 { "_signed_int","_wxPrintQuality",0},
10536 { "_signed_int","_EBool",0},
10537 { "_signed_int","_wxWindowID",0},
10538 { "_signed_int","_int",0},
10539 { "_WXTYPE","_wxDateTime_t",0},
10540 { "_WXTYPE","_short",0},
10541 { "_WXTYPE","_signed_short",0},
10542 { "_WXTYPE","_unsigned_short",0},
10543 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider},
10544 { "_unsigned_short","_wxDateTime_t",0},
10545 { "_unsigned_short","_WXTYPE",0},
10546 { "_unsigned_short","_short",0},
10547 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject},
10548 { "_wxObject","_wxWave",SwigwxWaveTowxObject},
10549 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject},
10550 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject},
10551 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject},
10552 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject},
10553 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject},
10554 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject},
10555 { "_signed_short","_WXTYPE",0},
10556 { "_signed_short","_short",0},
10557 { "_unsigned_char","_byte",0},
10558 { "_unsigned_int","_wxCoord",0},
10559 { "_unsigned_int","_wxPrintQuality",0},
10560 { "_unsigned_int","_time_t",0},
10561 { "_unsigned_int","_size_t",0},
10562 { "_unsigned_int","_uint",0},
10563 { "_unsigned_int","_wxWindowID",0},
10564 { "_unsigned_int","_int",0},
10565 { "_short","_wxDateTime_t",0},
10566 { "_short","_WXTYPE",0},
10567 { "_short","_unsigned_short",0},
10568 { "_short","_signed_short",0},
10569 { "_wxWindowID","_wxCoord",0},
10570 { "_wxWindowID","_wxPrintQuality",0},
10571 { "_wxWindowID","_time_t",0},
10572 { "_wxWindowID","_size_t",0},
10573 { "_wxWindowID","_EBool",0},
10574 { "_wxWindowID","_uint",0},
10575 { "_wxWindowID","_int",0},
10576 { "_wxWindowID","_signed_int",0},
10577 { "_wxWindowID","_unsigned_int",0},
10578 { "_int","_wxCoord",0},
10579 { "_int","_wxPrintQuality",0},
10580 { "_int","_time_t",0},
10581 { "_int","_size_t",0},
10582 { "_int","_EBool",0},
10583 { "_int","_uint",0},
10584 { "_int","_wxWindowID",0},
10585 { "_int","_unsigned_int",0},
10586 { "_int","_signed_int",0},
10587 { "_wxDateTime_t","_unsigned_short",0},
10588 { "_wxDateTime_t","_short",0},
10589 { "_wxDateTime_t","_WXTYPE",0},
10590 { "_time_t","_wxCoord",0},
10591 { "_time_t","_wxPrintQuality",0},
10592 { "_time_t","_unsigned_int",0},
10593 { "_time_t","_int",0},
10594 { "_time_t","_wxWindowID",0},
10595 { "_time_t","_uint",0},
10596 { "_time_t","_size_t",0},
10597 { "_wxCoord","_int",0},
10598 { "_wxCoord","_signed_int",0},
10599 { "_wxCoord","_unsigned_int",0},
10600 { "_wxCoord","_wxWindowID",0},
10601 { "_wxCoord","_uint",0},
10602 { "_wxCoord","_EBool",0},
10603 { "_wxCoord","_size_t",0},
10604 { "_wxCoord","_time_t",0},
10605 { "_wxCoord","_wxPrintQuality",0},
10606 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler},
10607 {0,0,0}};
10608
10609 static PyObject *SWIG_globals;
10610 #ifdef __cplusplus
10611 extern "C"
10612 #endif
10613 SWIGEXPORT(void) initmisc2c() {
10614 PyObject *m, *d;
10615 SWIG_globals = SWIG_newvarlink();
10616 m = Py_InitModule("misc2c", misc2cMethods);
10617 d = PyModule_GetDict(m);
10618 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
10619 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
10620 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
10621 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
10622 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
10623 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
10624 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
10625 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
10626 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
10627 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
10628 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
10629 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
10630 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
10631 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
10632 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
10633 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
10634 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
10635 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
10636 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
10637 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
10638 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
10639 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
10640 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
10641 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
10642 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
10643 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
10644 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
10645 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
10646 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
10647 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
10648 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
10649 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
10650 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
10651 PyDict_SetItemString(d,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX));
10652 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
10653 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
10654 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
10655 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
10656 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
10657 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
10658 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
10659 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
10660 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
10661 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
10662 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
10663 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
10664 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
10665 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
10666 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
10667 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
10668 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
10669 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
10670 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
10671 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
10672 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
10673 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
10674 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
10675 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
10676 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
10677 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
10678 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
10679 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
10680 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
10681 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
10682 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
10683 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
10684 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
10685 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
10686 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
10687 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
10688 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
10689 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
10690 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
10691 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
10692 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
10693 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
10694 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
10695 PyDict_SetItemString(d,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS));
10696 PyDict_SetItemString(d,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME));
10697 PyDict_SetItemString(d,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError));
10698 PyDict_SetItemString(d,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error));
10699 PyDict_SetItemString(d,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning));
10700 PyDict_SetItemString(d,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message));
10701 PyDict_SetItemString(d,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info));
10702 PyDict_SetItemString(d,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status));
10703 PyDict_SetItemString(d,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug));
10704 PyDict_SetItemString(d,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace));
10705 PyDict_SetItemString(d,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress));
10706 PyDict_SetItemString(d,"wxLOG_User", PyInt_FromLong((long) wxLOG_User));
10707 PyDict_SetItemString(d,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS));
10708 PyDict_SetItemString(d,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD));
10709 PyDict_SetItemString(d,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE));
10710 PyDict_SetItemString(d,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE));
10711 PyDict_SetItemString(d,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME));
10712 PyDict_SetItemString(d,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL));
10713 PyDict_SetItemString(d,"cvar", SWIG_globals);
10714 SWIG_addvarlink(SWIG_globals,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get, _wrap_wxTheMimeTypesManager_set);
10715
10716 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10717 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10718 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10719 {
10720 int i;
10721 for (i = 0; _swig_mapping[i].n1; i++)
10722 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
10723 }
10724 }