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