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