]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/misc2.cpp
signed/unsigned comparison warnings fixed
[wxWidgets.git] / wxPython / src / mac / misc2.cpp
1 /*
2 * FILE : src/mac/misc2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initmisc2c
55
56 #define SWIG_name "misc2c"
57
58 #include "helpers.h"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/caret.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
65
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
68 #endif
69
70 #if wxUSE_WAVE || defined(__WXMSW__)
71 #include <wx/wave.h>
72 #endif
73
74
75 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
76 PyObject* o2;
77 PyObject* o3;
78
79 if (!target) {
80 target = o;
81 } else if (target == Py_None) {
82 Py_DECREF(Py_None);
83 target = o;
84 } else {
85 if (!PyTuple_Check(target)) {
86 o2 = target;
87 target = PyTuple_New(1);
88 PyTuple_SetItem(target, 0, o2);
89 }
90 o3 = PyTuple_New(1);
91 PyTuple_SetItem(o3, 0, o);
92
93 o2 = target;
94 target = PySequence_Concat(o2, o3);
95 Py_DECREF(o2);
96 Py_DECREF(o3);
97 }
98 return target;
99 }
100
101 #if PYTHON_API_VERSION >= 1009
102 static char* wxStringErrorMsg = "String or Unicode type required";
103 #else
104 static char* wxStringErrorMsg = "String type required";
105 #endif
106
107 static wxString wxPyEmptyStr("");
108
109
110 wxColour wxSystemSettings_GetSystemColour(int index) {
111 return wxSystemSettings::GetSystemColour(index);
112 }
113
114 wxFont wxSystemSettings_GetSystemFont(int index) {
115 return wxSystemSettings::GetSystemFont(index);
116 }
117
118 int wxSystemSettings_GetSystemMetric(int index) {
119 return wxSystemSettings::GetSystemMetric(index);
120 }
121
122 int wxCaret_GetBlinkTime() {
123 return wxCaret::GetBlinkTime();
124 }
125
126 void wxCaret_SetBlinkTime(int milliseconds) {
127 wxCaret::SetBlinkTime(milliseconds);
128 }
129
130 class wxPyFontEnumerator : public wxFontEnumerator {
131 public:
132 wxPyFontEnumerator() {}
133 ~wxPyFontEnumerator() {}
134
135 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
136 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
137
138 PYPRIVATE;
139 };
140
141 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
142 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
143
144
145 bool wxThread_IsMain() {
146 return wxThread::IsMain();
147 }
148
149 class wxPyTipProvider : public wxTipProvider {
150 public:
151 wxPyTipProvider(size_t currentTip)
152 : wxTipProvider(currentTip) {}
153
154 DEC_PYCALLBACK_STRING__pure(GetTip);
155
156 PYPRIVATE;
157 };
158
159 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
160
161
162 #include <wx/generic/dragimgg.h>
163
164 // A Log class that can be derived from in wxPython
165 class wxPyLog : public wxLog {
166 public:
167 wxPyLog() : wxLog() {}
168
169 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
170 bool found;
171 wxPyTState* state = wxPyBeginBlockThreads();
172 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog")))
173 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(isi)", level, szString, t));
174 wxPyEndBlockThreads(state);
175 if (! found)
176 wxLog::DoLog(level, szString, t);
177 }
178
179 virtual void DoLogString(const wxChar *szString, time_t t) {
180 bool found;
181 wxPyTState* state = wxPyBeginBlockThreads();
182 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString")))
183 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(si)", szString, t));
184 wxPyEndBlockThreads(state);
185 if (! found)
186 wxLog::DoLogString(szString, t);
187 }
188
189 PYPRIVATE;
190 };
191 // C++ version of wxProcess derived class
192
193 class wxPyProcess : public wxProcess {
194 public:
195 wxPyProcess(wxEvtHandler *parent = NULL, int id = -1)
196 : wxProcess(parent, id)
197 {}
198
199 DEC_PYCALLBACK_VOID_INTINT(OnTerminate);
200
201 PYPRIVATE;
202 };
203
204 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
205
206
207 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
208 // A C++ stub class for wxJoystick for platforms that don't have it.
209 class wxJoystick : public wxObject {
210 public:
211 wxJoystick(int joystick = wxJOYSTICK1) {
212 wxPyTState* state = wxPyBeginBlockThreads();
213 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
214 wxPyEndBlockThreads(state);
215 }
216 wxPoint GetPosition() { return wxPoint(-1,-1); }
217 int GetZPosition() { return -1; }
218 int GetButtonState() { return -1; }
219 int GetPOVPosition() { return -1; }
220 int GetPOVCTSPosition() { return -1; }
221 int GetRudderPosition() { return -1; }
222 int GetUPosition() { return -1; }
223 int GetVPosition() { return -1; }
224 int GetMovementThreshold() { return -1; }
225 void SetMovementThreshold(int threshold) {}
226
227 bool IsOk(void) { return FALSE; }
228 int GetNumberJoysticks() { return -1; }
229 int GetManufacturerId() { return -1; }
230 int GetProductId() { return -1; }
231 wxString GetProductName() { return ""; }
232 int GetXMin() { return -1; }
233 int GetYMin() { return -1; }
234 int GetZMin() { return -1; }
235 int GetXMax() { return -1; }
236 int GetYMax() { return -1; }
237 int GetZMax() { return -1; }
238 int GetNumberButtons() { return -1; }
239 int GetNumberAxes() { return -1; }
240 int GetMaxButtons() { return -1; }
241 int GetMaxAxes() { return -1; }
242 int GetPollingMin() { return -1; }
243 int GetPollingMax() { return -1; }
244 int GetRudderMin() { return -1; }
245 int GetRudderMax() { return -1; }
246 int GetUMin() { return -1; }
247 int GetUMax() { return -1; }
248 int GetVMin() { return -1; }
249 int GetVMax() { return -1; }
250
251 bool HasRudder() { return FALSE; }
252 bool HasZ() { return FALSE; }
253 bool HasU() { return FALSE; }
254 bool HasV() { return FALSE; }
255 bool HasPOV() { return FALSE; }
256 bool HasPOV4Dir() { return FALSE; }
257 bool HasPOVCTS() { return FALSE; }
258
259 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return FALSE; }
260 bool ReleaseCapture() { return FALSE; }
261 };
262 #endif
263
264 #if !wxUSE_WAVE
265 // A C++ stub class for wxWave for platforms that don't have it.
266 class wxWave : public wxObject
267 {
268 public:
269 wxWave(const wxString& fileName, bool isResource = FALSE) {
270 wxPyTState* state = wxPyBeginBlockThreads();
271 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
272 wxPyEndBlockThreads(state);
273 }
274 wxWave(int size, const wxByte* data) {
275 wxPyTState* state = wxPyBeginBlockThreads();
276 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
277 wxPyEndBlockThreads(state);
278 }
279
280 ~wxWave() {}
281
282 bool IsOk() const { return FALSE; }
283 bool Play(bool async = TRUE, bool looped = FALSE) const { return FALSE; }
284 };
285
286 #endif
287 // Implementations of some alternate "constructors"
288 wxWave* wxWaveData(const wxString& data) {
289 return new wxWave(data.Len(), (wxByte*)data.c_str());
290 }
291 #ifdef __cplusplus
292 extern "C" {
293 #endif
294 static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
295 PyObject * _resultobj;
296 wxString * _result;
297 char * _arg0;
298 char * _arg1 = (char *) NULL;
299 char * _arg2 = (char *) NULL;
300 char * _arg3 = (char *) NULL;
301 char * _arg4 = (char *) "*.*";
302 int _arg5 = (int ) 0;
303 wxWindow * _arg6 = (wxWindow *) NULL;
304 int _arg7 = (int ) -1;
305 int _arg8 = (int ) -1;
306 PyObject * _argo6 = 0;
307 char *_kwnames[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL };
308
309 self = self;
310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|ssssiOii:wxFileSelector",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7,&_arg8))
311 return NULL;
312 if (_argo6) {
313 if (_argo6 == Py_None) { _arg6 = NULL; }
314 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
315 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
316 return NULL;
317 }
318 }
319 {
320 wxPy_BEGIN_ALLOW_THREADS;
321 _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8));
322
323 wxPy_END_ALLOW_THREADS;
324 }{
325 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
326 }
327 {
328 delete _result;
329 }
330 return _resultobj;
331 }
332
333 static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
334 PyObject * _resultobj;
335 wxString * _result;
336 wxString * _arg0;
337 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
338 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
339 wxWindow * _arg3 = (wxWindow *) NULL;
340 int _arg4 = (int ) -1;
341 int _arg5 = (int ) -1;
342 bool _arg6 = (bool ) TRUE;
343 PyObject * _obj0 = 0;
344 PyObject * _obj1 = 0;
345 PyObject * _obj2 = 0;
346 PyObject * _argo3 = 0;
347 int tempbool6 = (int) TRUE;
348 char *_kwnames[] = { "message","caption","default_value","parent","x","y","centre", NULL };
349
350 self = self;
351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOiii:wxGetTextFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&tempbool6))
352 return NULL;
353 {
354 #if PYTHON_API_VERSION >= 1009
355 char* tmpPtr; int tmpSize;
356 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
357 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
358 return NULL;
359 }
360 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
361 return NULL;
362 _arg0 = new wxString(tmpPtr, tmpSize);
363 #else
364 if (!PyString_Check(_obj0)) {
365 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
366 return NULL;
367 }
368 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
369 #endif
370 }
371 if (_obj1)
372 {
373 #if PYTHON_API_VERSION >= 1009
374 char* tmpPtr; int tmpSize;
375 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
376 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
377 return NULL;
378 }
379 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
380 return NULL;
381 _arg1 = new wxString(tmpPtr, tmpSize);
382 #else
383 if (!PyString_Check(_obj1)) {
384 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
385 return NULL;
386 }
387 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
388 #endif
389 }
390 if (_obj2)
391 {
392 #if PYTHON_API_VERSION >= 1009
393 char* tmpPtr; int tmpSize;
394 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
395 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
396 return NULL;
397 }
398 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
399 return NULL;
400 _arg2 = new wxString(tmpPtr, tmpSize);
401 #else
402 if (!PyString_Check(_obj2)) {
403 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
404 return NULL;
405 }
406 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
407 #endif
408 }
409 if (_argo3) {
410 if (_argo3 == Py_None) { _arg3 = NULL; }
411 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
412 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
413 return NULL;
414 }
415 }
416 _arg6 = (bool ) tempbool6;
417 {
418 wxPy_BEGIN_ALLOW_THREADS;
419 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
420
421 wxPy_END_ALLOW_THREADS;
422 }{
423 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
424 }
425 {
426 if (_obj0)
427 delete _arg0;
428 }
429 {
430 if (_obj1)
431 delete _arg1;
432 }
433 {
434 if (_obj2)
435 delete _arg2;
436 }
437 {
438 delete _result;
439 }
440 return _resultobj;
441 }
442
443 static PyObject *_wrap_wxGetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
444 PyObject * _resultobj;
445 wxString * _result;
446 wxString * _arg0;
447 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
448 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
449 wxWindow * _arg3 = (wxWindow *) NULL;
450 PyObject * _obj0 = 0;
451 PyObject * _obj1 = 0;
452 PyObject * _obj2 = 0;
453 PyObject * _argo3 = 0;
454 char *_kwnames[] = { "message","caption","default_value","parent", NULL };
455
456 self = self;
457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOO:wxGetPasswordFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3))
458 return NULL;
459 {
460 #if PYTHON_API_VERSION >= 1009
461 char* tmpPtr; int tmpSize;
462 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
463 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
464 return NULL;
465 }
466 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
467 return NULL;
468 _arg0 = new wxString(tmpPtr, tmpSize);
469 #else
470 if (!PyString_Check(_obj0)) {
471 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
472 return NULL;
473 }
474 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
475 #endif
476 }
477 if (_obj1)
478 {
479 #if PYTHON_API_VERSION >= 1009
480 char* tmpPtr; int tmpSize;
481 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
483 return NULL;
484 }
485 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
486 return NULL;
487 _arg1 = new wxString(tmpPtr, tmpSize);
488 #else
489 if (!PyString_Check(_obj1)) {
490 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
491 return NULL;
492 }
493 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
494 #endif
495 }
496 if (_obj2)
497 {
498 #if PYTHON_API_VERSION >= 1009
499 char* tmpPtr; int tmpSize;
500 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
501 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
502 return NULL;
503 }
504 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
505 return NULL;
506 _arg2 = new wxString(tmpPtr, tmpSize);
507 #else
508 if (!PyString_Check(_obj2)) {
509 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
510 return NULL;
511 }
512 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
513 #endif
514 }
515 if (_argo3) {
516 if (_argo3 == Py_None) { _arg3 = NULL; }
517 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
518 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
519 return NULL;
520 }
521 }
522 {
523 wxPy_BEGIN_ALLOW_THREADS;
524 _result = new wxString (wxGetPasswordFromUser(*_arg0,*_arg1,*_arg2,_arg3));
525
526 wxPy_END_ALLOW_THREADS;
527 }{
528 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
529 }
530 {
531 if (_obj0)
532 delete _arg0;
533 }
534 {
535 if (_obj1)
536 delete _arg1;
537 }
538 {
539 if (_obj2)
540 delete _arg2;
541 }
542 {
543 delete _result;
544 }
545 return _resultobj;
546 }
547
548 static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
549 PyObject * _resultobj;
550 wxString * _result;
551 wxString * _arg0;
552 wxString * _arg1;
553 int _arg2;
554 wxString * _arg3;
555 wxWindow * _arg4 = (wxWindow *) NULL;
556 int _arg5 = (int ) -1;
557 int _arg6 = (int ) -1;
558 bool _arg7 = (bool ) TRUE;
559 int _arg8 = (int ) 150;
560 int _arg9 = (int ) 200;
561 PyObject * _obj0 = 0;
562 PyObject * _obj1 = 0;
563 PyObject * _obj3 = 0;
564 PyObject * _argo4 = 0;
565 int tempbool7 = (int) TRUE;
566 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
567
568 self = self;
569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoice",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
570 return NULL;
571 {
572 #if PYTHON_API_VERSION >= 1009
573 char* tmpPtr; int tmpSize;
574 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
575 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
576 return NULL;
577 }
578 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
579 return NULL;
580 _arg0 = new wxString(tmpPtr, tmpSize);
581 #else
582 if (!PyString_Check(_obj0)) {
583 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
584 return NULL;
585 }
586 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
587 #endif
588 }
589 {
590 #if PYTHON_API_VERSION >= 1009
591 char* tmpPtr; int tmpSize;
592 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
593 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
594 return NULL;
595 }
596 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
597 return NULL;
598 _arg1 = new wxString(tmpPtr, tmpSize);
599 #else
600 if (!PyString_Check(_obj1)) {
601 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
602 return NULL;
603 }
604 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
605 #endif
606 }
607 if (_obj3)
608 {
609 _arg3 = wxString_LIST_helper(_obj3);
610 if (_arg3 == NULL) {
611 return NULL;
612 }
613 }
614 if (_argo4) {
615 if (_argo4 == Py_None) { _arg4 = NULL; }
616 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
618 return NULL;
619 }
620 }
621 _arg7 = (bool ) tempbool7;
622 {
623 if (_obj3) {
624 _arg2 = PyList_Size(_obj3);
625 }
626 else {
627 _arg2 = 0;
628 }
629 }
630 {
631 wxPy_BEGIN_ALLOW_THREADS;
632 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
633
634 wxPy_END_ALLOW_THREADS;
635 }{
636 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
637 }
638 {
639 if (_obj0)
640 delete _arg0;
641 }
642 {
643 if (_obj1)
644 delete _arg1;
645 }
646 {
647 delete [] _arg3;
648 }
649 {
650 delete _result;
651 }
652 return _resultobj;
653 }
654
655 static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
656 PyObject * _resultobj;
657 int _result;
658 wxString * _arg0;
659 wxString * _arg1;
660 int _arg2;
661 wxString * _arg3;
662 wxWindow * _arg4 = (wxWindow *) NULL;
663 int _arg5 = (int ) -1;
664 int _arg6 = (int ) -1;
665 bool _arg7 = (bool ) TRUE;
666 int _arg8 = (int ) 150;
667 int _arg9 = (int ) 200;
668 PyObject * _obj0 = 0;
669 PyObject * _obj1 = 0;
670 PyObject * _obj3 = 0;
671 PyObject * _argo4 = 0;
672 int tempbool7 = (int) TRUE;
673 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
674
675 self = self;
676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
677 return NULL;
678 {
679 #if PYTHON_API_VERSION >= 1009
680 char* tmpPtr; int tmpSize;
681 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
682 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
683 return NULL;
684 }
685 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
686 return NULL;
687 _arg0 = new wxString(tmpPtr, tmpSize);
688 #else
689 if (!PyString_Check(_obj0)) {
690 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
691 return NULL;
692 }
693 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
694 #endif
695 }
696 {
697 #if PYTHON_API_VERSION >= 1009
698 char* tmpPtr; int tmpSize;
699 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
700 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
701 return NULL;
702 }
703 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
704 return NULL;
705 _arg1 = new wxString(tmpPtr, tmpSize);
706 #else
707 if (!PyString_Check(_obj1)) {
708 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
709 return NULL;
710 }
711 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
712 #endif
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 wxGetSingleChoiceIndex. 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 wxPy_BEGIN_ALLOW_THREADS;
739 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
740
741 wxPy_END_ALLOW_THREADS;
742 } _resultobj = Py_BuildValue("i",_result);
743 {
744 if (_obj0)
745 delete _arg0;
746 }
747 {
748 if (_obj1)
749 delete _arg1;
750 }
751 {
752 delete [] _arg3;
753 }
754 return _resultobj;
755 }
756
757 static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
758 PyObject * _resultobj;
759 int _result;
760 wxString * _arg0;
761 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
762 int _arg2 = (int ) wxOK|wxCENTRE;
763 wxWindow * _arg3 = (wxWindow *) NULL;
764 int _arg4 = (int ) -1;
765 int _arg5 = (int ) -1;
766 PyObject * _obj0 = 0;
767 PyObject * _obj1 = 0;
768 PyObject * _argo3 = 0;
769 char *_kwnames[] = { "message","caption","style","parent","x","y", NULL };
770
771 self = self;
772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OiOii:wxMessageBox",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4,&_arg5))
773 return NULL;
774 {
775 #if PYTHON_API_VERSION >= 1009
776 char* tmpPtr; int tmpSize;
777 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
778 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
779 return NULL;
780 }
781 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
782 return NULL;
783 _arg0 = new wxString(tmpPtr, tmpSize);
784 #else
785 if (!PyString_Check(_obj0)) {
786 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
787 return NULL;
788 }
789 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
790 #endif
791 }
792 if (_obj1)
793 {
794 #if PYTHON_API_VERSION >= 1009
795 char* tmpPtr; int tmpSize;
796 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
797 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
798 return NULL;
799 }
800 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
801 return NULL;
802 _arg1 = new wxString(tmpPtr, tmpSize);
803 #else
804 if (!PyString_Check(_obj1)) {
805 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
806 return NULL;
807 }
808 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
809 #endif
810 }
811 if (_argo3) {
812 if (_argo3 == Py_None) { _arg3 = NULL; }
813 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
814 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
815 return NULL;
816 }
817 }
818 {
819 wxPy_BEGIN_ALLOW_THREADS;
820 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
821
822 wxPy_END_ALLOW_THREADS;
823 } _resultobj = Py_BuildValue("i",_result);
824 {
825 if (_obj0)
826 delete _arg0;
827 }
828 {
829 if (_obj1)
830 delete _arg1;
831 }
832 return _resultobj;
833 }
834
835 static PyObject *_wrap_wxGetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
836 PyObject * _resultobj;
837 long _result;
838 wxString * _arg0;
839 wxString * _arg1;
840 wxString * _arg2;
841 long _arg3;
842 long _arg4 = (long ) 0;
843 long _arg5 = (long ) 100;
844 wxWindow * _arg6 = (wxWindow *) NULL;
845 wxPoint * _arg7 = (wxPoint *) &wxDefaultPosition;
846 PyObject * _obj0 = 0;
847 PyObject * _obj1 = 0;
848 PyObject * _obj2 = 0;
849 PyObject * _argo6 = 0;
850 wxPoint temp;
851 PyObject * _obj7 = 0;
852 char *_kwnames[] = { "message","prompt","caption","value","min","max","parent","pos", NULL };
853
854 self = self;
855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOl|llOO:wxGetNumberFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_arg3,&_arg4,&_arg5,&_argo6,&_obj7))
856 return NULL;
857 {
858 #if PYTHON_API_VERSION >= 1009
859 char* tmpPtr; int tmpSize;
860 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
862 return NULL;
863 }
864 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
865 return NULL;
866 _arg0 = new wxString(tmpPtr, tmpSize);
867 #else
868 if (!PyString_Check(_obj0)) {
869 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
870 return NULL;
871 }
872 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
873 #endif
874 }
875 {
876 #if PYTHON_API_VERSION >= 1009
877 char* tmpPtr; int tmpSize;
878 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
879 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
880 return NULL;
881 }
882 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
883 return NULL;
884 _arg1 = new wxString(tmpPtr, tmpSize);
885 #else
886 if (!PyString_Check(_obj1)) {
887 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
888 return NULL;
889 }
890 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
891 #endif
892 }
893 {
894 #if PYTHON_API_VERSION >= 1009
895 char* tmpPtr; int tmpSize;
896 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
897 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
898 return NULL;
899 }
900 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
901 return NULL;
902 _arg2 = new wxString(tmpPtr, tmpSize);
903 #else
904 if (!PyString_Check(_obj2)) {
905 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
906 return NULL;
907 }
908 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
909 #endif
910 }
911 if (_argo6) {
912 if (_argo6 == Py_None) { _arg6 = NULL; }
913 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
914 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
915 return NULL;
916 }
917 }
918 if (_obj7)
919 {
920 _arg7 = &temp;
921 if (! wxPoint_helper(_obj7, &_arg7))
922 return NULL;
923 }
924 {
925 wxPy_BEGIN_ALLOW_THREADS;
926 _result = (long )wxGetNumberFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6,*_arg7);
927
928 wxPy_END_ALLOW_THREADS;
929 } _resultobj = Py_BuildValue("l",_result);
930 {
931 if (_obj0)
932 delete _arg0;
933 }
934 {
935 if (_obj1)
936 delete _arg1;
937 }
938 {
939 if (_obj2)
940 delete _arg2;
941 }
942 return _resultobj;
943 }
944
945 static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
946 PyObject * _resultobj;
947 bool _result;
948 char *_kwnames[] = { NULL };
949
950 self = self;
951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxColourDisplay",_kwnames))
952 return NULL;
953 {
954 wxPy_BEGIN_ALLOW_THREADS;
955 _result = (bool )wxColourDisplay();
956
957 wxPy_END_ALLOW_THREADS;
958 } _resultobj = Py_BuildValue("i",_result);
959 return _resultobj;
960 }
961
962 static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
963 PyObject * _resultobj;
964 int _result;
965 char *_kwnames[] = { NULL };
966
967 self = self;
968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplayDepth",_kwnames))
969 return NULL;
970 {
971 wxPy_BEGIN_ALLOW_THREADS;
972 _result = (int )wxDisplayDepth();
973
974 wxPy_END_ALLOW_THREADS;
975 } _resultobj = Py_BuildValue("i",_result);
976 return _resultobj;
977 }
978
979 static PyObject *_wrap_wxGetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject * _resultobj;
981 int _result;
982 char *_kwnames[] = { NULL };
983
984 self = self;
985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplayDepth",_kwnames))
986 return NULL;
987 {
988 wxPy_BEGIN_ALLOW_THREADS;
989 _result = (int )wxGetDisplayDepth();
990
991 wxPy_END_ALLOW_THREADS;
992 } _resultobj = Py_BuildValue("i",_result);
993 return _resultobj;
994 }
995
996 static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject * _resultobj;
998 int * _arg0;
999 int temp;
1000 int * _arg1;
1001 int temp0;
1002 char *_kwnames[] = { NULL };
1003
1004 self = self;
1005 {
1006 _arg0 = &temp;
1007 }
1008 {
1009 _arg1 = &temp0;
1010 }
1011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySize",_kwnames))
1012 return NULL;
1013 {
1014 wxPy_BEGIN_ALLOW_THREADS;
1015 wxDisplaySize(_arg0,_arg1);
1016
1017 wxPy_END_ALLOW_THREADS;
1018 } Py_INCREF(Py_None);
1019 _resultobj = Py_None;
1020 {
1021 PyObject *o;
1022 o = PyInt_FromLong((long) (*_arg0));
1023 _resultobj = t_output_helper(_resultobj, o);
1024 }
1025 {
1026 PyObject *o;
1027 o = PyInt_FromLong((long) (*_arg1));
1028 _resultobj = t_output_helper(_resultobj, o);
1029 }
1030 return _resultobj;
1031 }
1032
1033 static PyObject *_wrap_wxGetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
1034 PyObject * _resultobj;
1035 wxSize * _result;
1036 char *_kwnames[] = { NULL };
1037 char _ptemp[128];
1038
1039 self = self;
1040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySize",_kwnames))
1041 return NULL;
1042 {
1043 wxPy_BEGIN_ALLOW_THREADS;
1044 _result = new wxSize (wxGetDisplaySize());
1045
1046 wxPy_END_ALLOW_THREADS;
1047 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1048 _resultobj = Py_BuildValue("s",_ptemp);
1049 return _resultobj;
1050 }
1051
1052 static PyObject *_wrap_wxDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
1053 PyObject * _resultobj;
1054 int * _arg0;
1055 int temp;
1056 int * _arg1;
1057 int temp0;
1058 char *_kwnames[] = { NULL };
1059
1060 self = self;
1061 {
1062 _arg0 = &temp;
1063 }
1064 {
1065 _arg1 = &temp0;
1066 }
1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySizeMM",_kwnames))
1068 return NULL;
1069 {
1070 wxPy_BEGIN_ALLOW_THREADS;
1071 wxDisplaySizeMM(_arg0,_arg1);
1072
1073 wxPy_END_ALLOW_THREADS;
1074 } Py_INCREF(Py_None);
1075 _resultobj = Py_None;
1076 {
1077 PyObject *o;
1078 o = PyInt_FromLong((long) (*_arg0));
1079 _resultobj = t_output_helper(_resultobj, o);
1080 }
1081 {
1082 PyObject *o;
1083 o = PyInt_FromLong((long) (*_arg1));
1084 _resultobj = t_output_helper(_resultobj, o);
1085 }
1086 return _resultobj;
1087 }
1088
1089 static PyObject *_wrap_wxGetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
1090 PyObject * _resultobj;
1091 wxSize * _result;
1092 char *_kwnames[] = { NULL };
1093 char _ptemp[128];
1094
1095 self = self;
1096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySizeMM",_kwnames))
1097 return NULL;
1098 {
1099 wxPy_BEGIN_ALLOW_THREADS;
1100 _result = new wxSize (wxGetDisplaySizeMM());
1101
1102 wxPy_END_ALLOW_THREADS;
1103 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1104 _resultobj = Py_BuildValue("s",_ptemp);
1105 return _resultobj;
1106 }
1107
1108 static PyObject *_wrap_wxClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1109 PyObject * _resultobj;
1110 int * _arg0;
1111 int temp;
1112 int * _arg1;
1113 int temp0;
1114 int * _arg2;
1115 int temp1;
1116 int * _arg3;
1117 int temp2;
1118 char *_kwnames[] = { NULL };
1119
1120 self = self;
1121 {
1122 _arg0 = &temp;
1123 }
1124 {
1125 _arg1 = &temp0;
1126 }
1127 {
1128 _arg2 = &temp1;
1129 }
1130 {
1131 _arg3 = &temp2;
1132 }
1133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxClientDisplayRect",_kwnames))
1134 return NULL;
1135 {
1136 wxPy_BEGIN_ALLOW_THREADS;
1137 wxClientDisplayRect(_arg0,_arg1,_arg2,_arg3);
1138
1139 wxPy_END_ALLOW_THREADS;
1140 } Py_INCREF(Py_None);
1141 _resultobj = Py_None;
1142 {
1143 PyObject *o;
1144 o = PyInt_FromLong((long) (*_arg0));
1145 _resultobj = t_output_helper(_resultobj, o);
1146 }
1147 {
1148 PyObject *o;
1149 o = PyInt_FromLong((long) (*_arg1));
1150 _resultobj = t_output_helper(_resultobj, o);
1151 }
1152 {
1153 PyObject *o;
1154 o = PyInt_FromLong((long) (*_arg2));
1155 _resultobj = t_output_helper(_resultobj, o);
1156 }
1157 {
1158 PyObject *o;
1159 o = PyInt_FromLong((long) (*_arg3));
1160 _resultobj = t_output_helper(_resultobj, o);
1161 }
1162 return _resultobj;
1163 }
1164
1165 static PyObject *_wrap_wxGetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1166 PyObject * _resultobj;
1167 wxRect * _result;
1168 char *_kwnames[] = { NULL };
1169 char _ptemp[128];
1170
1171 self = self;
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetClientDisplayRect",_kwnames))
1173 return NULL;
1174 {
1175 wxPy_BEGIN_ALLOW_THREADS;
1176 _result = new wxRect (wxGetClientDisplayRect());
1177
1178 wxPy_END_ALLOW_THREADS;
1179 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1180 _resultobj = Py_BuildValue("s",_ptemp);
1181 return _resultobj;
1182 }
1183
1184 static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject * _resultobj;
1186 wxCursor * _arg0;
1187 PyObject * _argo0 = 0;
1188 char *_kwnames[] = { "cursor", NULL };
1189
1190 self = self;
1191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSetCursor",_kwnames,&_argo0))
1192 return NULL;
1193 if (_argo0) {
1194 if (_argo0 == Py_None) { _arg0 = NULL; }
1195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
1196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1197 return NULL;
1198 }
1199 }
1200 {
1201 wxPy_BEGIN_ALLOW_THREADS;
1202 wxSetCursor(*_arg0);
1203
1204 wxPy_END_ALLOW_THREADS;
1205 } Py_INCREF(Py_None);
1206 _resultobj = Py_None;
1207 return _resultobj;
1208 }
1209
1210 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1211 PyObject * _resultobj;
1212 wxWindow * _result;
1213 wxString * _arg0;
1214 wxWindow * _arg1 = (wxWindow *) NULL;
1215 PyObject * _obj0 = 0;
1216 PyObject * _argo1 = 0;
1217 char *_kwnames[] = { "label","parent", NULL };
1218
1219 self = self;
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
1221 return NULL;
1222 {
1223 #if PYTHON_API_VERSION >= 1009
1224 char* tmpPtr; int tmpSize;
1225 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1226 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1227 return NULL;
1228 }
1229 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1230 return NULL;
1231 _arg0 = new wxString(tmpPtr, tmpSize);
1232 #else
1233 if (!PyString_Check(_obj0)) {
1234 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1235 return NULL;
1236 }
1237 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1238 #endif
1239 }
1240 if (_argo1) {
1241 if (_argo1 == Py_None) { _arg1 = NULL; }
1242 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1244 return NULL;
1245 }
1246 }
1247 {
1248 wxPy_BEGIN_ALLOW_THREADS;
1249 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
1250
1251 wxPy_END_ALLOW_THREADS;
1252 }{ _resultobj = wxPyMake_wxObject(_result); }
1253 {
1254 if (_obj0)
1255 delete _arg0;
1256 }
1257 return _resultobj;
1258 }
1259
1260 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
1261 PyObject * _resultobj;
1262 wxWindow * _result;
1263 wxString * _arg0;
1264 wxWindow * _arg1 = (wxWindow *) NULL;
1265 PyObject * _obj0 = 0;
1266 PyObject * _argo1 = 0;
1267 char *_kwnames[] = { "name","parent", NULL };
1268
1269 self = self;
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
1271 return NULL;
1272 {
1273 #if PYTHON_API_VERSION >= 1009
1274 char* tmpPtr; int tmpSize;
1275 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1276 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1277 return NULL;
1278 }
1279 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1280 return NULL;
1281 _arg0 = new wxString(tmpPtr, tmpSize);
1282 #else
1283 if (!PyString_Check(_obj0)) {
1284 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1285 return NULL;
1286 }
1287 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1288 #endif
1289 }
1290 if (_argo1) {
1291 if (_argo1 == Py_None) { _arg1 = NULL; }
1292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1294 return NULL;
1295 }
1296 }
1297 {
1298 wxPy_BEGIN_ALLOW_THREADS;
1299 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
1300
1301 wxPy_END_ALLOW_THREADS;
1302 }{ _resultobj = wxPyMake_wxObject(_result); }
1303 {
1304 if (_obj0)
1305 delete _arg0;
1306 }
1307 return _resultobj;
1308 }
1309
1310 static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1311 PyObject * _resultobj;
1312 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
1313 PyObject * _argo0 = 0;
1314 char *_kwnames[] = { "cursor", NULL };
1315
1316 self = self;
1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxBeginBusyCursor",_kwnames,&_argo0))
1318 return NULL;
1319 if (_argo0) {
1320 if (_argo0 == Py_None) { _arg0 = NULL; }
1321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
1322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1323 return NULL;
1324 }
1325 }
1326 {
1327 wxPy_BEGIN_ALLOW_THREADS;
1328 wxBeginBusyCursor(_arg0);
1329
1330 wxPy_END_ALLOW_THREADS;
1331 } Py_INCREF(Py_None);
1332 _resultobj = Py_None;
1333 return _resultobj;
1334 }
1335
1336 static PyObject *_wrap_wxGetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject * _resultobj;
1338 wxWindow * _result;
1339 char *_kwnames[] = { NULL };
1340
1341 self = self;
1342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetActiveWindow",_kwnames))
1343 return NULL;
1344 {
1345 wxPy_BEGIN_ALLOW_THREADS;
1346 _result = (wxWindow *)wxGetActiveWindow();
1347
1348 wxPy_END_ALLOW_THREADS;
1349 }{ _resultobj = wxPyMake_wxObject(_result); }
1350 return _resultobj;
1351 }
1352
1353 static PyObject *_wrap_wxGenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject * _resultobj;
1355 wxWindow * _result;
1356 wxPoint * _arg0;
1357 wxPoint temp;
1358 PyObject * _obj0 = 0;
1359 char *_kwnames[] = { "pt", NULL };
1360
1361 self = self;
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericFindWindowAtPoint",_kwnames,&_obj0))
1363 return NULL;
1364 {
1365 _arg0 = &temp;
1366 if (! wxPoint_helper(_obj0, &_arg0))
1367 return NULL;
1368 }
1369 {
1370 wxPy_BEGIN_ALLOW_THREADS;
1371 _result = (wxWindow *)wxGenericFindWindowAtPoint(*_arg0);
1372
1373 wxPy_END_ALLOW_THREADS;
1374 }{ _resultobj = wxPyMake_wxObject(_result); }
1375 return _resultobj;
1376 }
1377
1378 static PyObject *_wrap_wxFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1379 PyObject * _resultobj;
1380 wxWindow * _result;
1381 wxPoint * _arg0;
1382 wxPoint temp;
1383 PyObject * _obj0 = 0;
1384 char *_kwnames[] = { "pt", NULL };
1385
1386 self = self;
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindWindowAtPoint",_kwnames,&_obj0))
1388 return NULL;
1389 {
1390 _arg0 = &temp;
1391 if (! wxPoint_helper(_obj0, &_arg0))
1392 return NULL;
1393 }
1394 {
1395 wxPy_BEGIN_ALLOW_THREADS;
1396 _result = (wxWindow *)wxFindWindowAtPoint(*_arg0);
1397
1398 wxPy_END_ALLOW_THREADS;
1399 }{ _resultobj = wxPyMake_wxObject(_result); }
1400 return _resultobj;
1401 }
1402
1403 static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject * _resultobj;
1405 bool _result;
1406 char * _arg0;
1407 int _arg1;
1408 char *_kwnames[] = { "name","value", NULL };
1409
1410 self = self;
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"si:wxResourceAddIdentifier",_kwnames,&_arg0,&_arg1))
1412 return NULL;
1413 {
1414 wxPy_BEGIN_ALLOW_THREADS;
1415 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
1416
1417 wxPy_END_ALLOW_THREADS;
1418 } _resultobj = Py_BuildValue("i",_result);
1419 return _resultobj;
1420 }
1421
1422 static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 char *_kwnames[] = { NULL };
1425
1426 self = self;
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxResourceClear",_kwnames))
1428 return NULL;
1429 {
1430 wxPy_BEGIN_ALLOW_THREADS;
1431 wxResourceClear();
1432
1433 wxPy_END_ALLOW_THREADS;
1434 } Py_INCREF(Py_None);
1435 _resultobj = Py_None;
1436 return _resultobj;
1437 }
1438
1439 static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject * _resultobj;
1441 wxBitmap * _result;
1442 char * _arg0;
1443 char *_kwnames[] = { "resource", NULL };
1444 char _ptemp[128];
1445
1446 self = self;
1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateBitmap",_kwnames,&_arg0))
1448 return NULL;
1449 {
1450 wxPy_BEGIN_ALLOW_THREADS;
1451 _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
1452
1453 wxPy_END_ALLOW_THREADS;
1454 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1455 _resultobj = Py_BuildValue("s",_ptemp);
1456 return _resultobj;
1457 }
1458
1459 static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject * _resultobj;
1461 wxIcon * _result;
1462 char * _arg0;
1463 char *_kwnames[] = { "resource", NULL };
1464 char _ptemp[128];
1465
1466 self = self;
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateIcon",_kwnames,&_arg0))
1468 return NULL;
1469 {
1470 wxPy_BEGIN_ALLOW_THREADS;
1471 _result = new wxIcon (wxResourceCreateIcon(_arg0));
1472
1473 wxPy_END_ALLOW_THREADS;
1474 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
1475 _resultobj = Py_BuildValue("s",_ptemp);
1476 return _resultobj;
1477 }
1478
1479 static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject * _resultobj;
1481 wxMenuBar * _result;
1482 char * _arg0;
1483 char *_kwnames[] = { "resource", NULL };
1484
1485 self = self;
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateMenuBar",_kwnames,&_arg0))
1487 return NULL;
1488 {
1489 wxPy_BEGIN_ALLOW_THREADS;
1490 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
1491
1492 wxPy_END_ALLOW_THREADS;
1493 }{ _resultobj = wxPyMake_wxObject(_result); }
1494 return _resultobj;
1495 }
1496
1497 static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
1498 PyObject * _resultobj;
1499 int _result;
1500 char * _arg0;
1501 char *_kwnames[] = { "name", NULL };
1502
1503 self = self;
1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceGetIdentifier",_kwnames,&_arg0))
1505 return NULL;
1506 {
1507 wxPy_BEGIN_ALLOW_THREADS;
1508 _result = (int )wxResourceGetIdentifier(_arg0);
1509
1510 wxPy_END_ALLOW_THREADS;
1511 } _resultobj = Py_BuildValue("i",_result);
1512 return _resultobj;
1513 }
1514
1515 static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args, PyObject *kwargs) {
1516 PyObject * _resultobj;
1517 bool _result;
1518 char * _arg0;
1519 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1520 PyObject * _argo1 = 0;
1521 char *_kwnames[] = { "resource","table", NULL };
1522
1523 self = self;
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseData",_kwnames,&_arg0,&_argo1))
1525 return NULL;
1526 if (_argo1) {
1527 if (_argo1 == Py_None) { _arg1 = NULL; }
1528 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1530 return NULL;
1531 }
1532 }
1533 {
1534 wxPy_BEGIN_ALLOW_THREADS;
1535 _result = (bool )wxResourceParseData(_arg0,_arg1);
1536
1537 wxPy_END_ALLOW_THREADS;
1538 } _resultobj = Py_BuildValue("i",_result);
1539 return _resultobj;
1540 }
1541
1542 static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1543 PyObject * _resultobj;
1544 bool _result;
1545 char * _arg0;
1546 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1547 PyObject * _argo1 = 0;
1548 char *_kwnames[] = { "filename","table", NULL };
1549
1550 self = self;
1551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseFile",_kwnames,&_arg0,&_argo1))
1552 return NULL;
1553 if (_argo1) {
1554 if (_argo1 == Py_None) { _arg1 = NULL; }
1555 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1556 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1557 return NULL;
1558 }
1559 }
1560 {
1561 wxPy_BEGIN_ALLOW_THREADS;
1562 _result = (bool )wxResourceParseFile(_arg0,_arg1);
1563
1564 wxPy_END_ALLOW_THREADS;
1565 } _resultobj = Py_BuildValue("i",_result);
1566 return _resultobj;
1567 }
1568
1569 static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject * _resultobj;
1571 bool _result;
1572 char * _arg0;
1573 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1574 PyObject * _argo1 = 0;
1575 char *_kwnames[] = { "resource","table", NULL };
1576
1577 self = self;
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseString",_kwnames,&_arg0,&_argo1))
1579 return NULL;
1580 if (_argo1) {
1581 if (_argo1 == Py_None) { _arg1 = NULL; }
1582 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1583 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1584 return NULL;
1585 }
1586 }
1587 {
1588 wxPy_BEGIN_ALLOW_THREADS;
1589 _result = (bool )wxResourceParseString(_arg0,_arg1);
1590
1591 wxPy_END_ALLOW_THREADS;
1592 } _resultobj = Py_BuildValue("i",_result);
1593 return _resultobj;
1594 }
1595
1596 static PyObject *_wrap_wxSystemSettings_GetSystemColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1597 PyObject * _resultobj;
1598 wxColour * _result;
1599 int _arg0;
1600 char *_kwnames[] = { "index", NULL };
1601 char _ptemp[128];
1602
1603 self = self;
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemColour",_kwnames,&_arg0))
1605 return NULL;
1606 {
1607 wxPy_BEGIN_ALLOW_THREADS;
1608 _result = new wxColour (wxSystemSettings_GetSystemColour(_arg0));
1609
1610 wxPy_END_ALLOW_THREADS;
1611 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1612 _resultobj = Py_BuildValue("s",_ptemp);
1613 return _resultobj;
1614 }
1615
1616 static PyObject *_wrap_wxSystemSettings_GetSystemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject * _resultobj;
1618 wxFont * _result;
1619 int _arg0;
1620 char *_kwnames[] = { "index", NULL };
1621 char _ptemp[128];
1622
1623 self = self;
1624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemFont",_kwnames,&_arg0))
1625 return NULL;
1626 {
1627 wxPy_BEGIN_ALLOW_THREADS;
1628 _result = new wxFont (wxSystemSettings_GetSystemFont(_arg0));
1629
1630 wxPy_END_ALLOW_THREADS;
1631 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1632 _resultobj = Py_BuildValue("s",_ptemp);
1633 return _resultobj;
1634 }
1635
1636 static PyObject *_wrap_wxSystemSettings_GetSystemMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject * _resultobj;
1638 int _result;
1639 int _arg0;
1640 char *_kwnames[] = { "index", NULL };
1641
1642 self = self;
1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemMetric",_kwnames,&_arg0))
1644 return NULL;
1645 {
1646 wxPy_BEGIN_ALLOW_THREADS;
1647 _result = (int )wxSystemSettings_GetSystemMetric(_arg0);
1648
1649 wxPy_END_ALLOW_THREADS;
1650 } _resultobj = Py_BuildValue("i",_result);
1651 return _resultobj;
1652 }
1653
1654 static PyObject *_wrap_wxCaret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject * _resultobj;
1656 int _result;
1657 char *_kwnames[] = { NULL };
1658
1659 self = self;
1660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxCaret_GetBlinkTime",_kwnames))
1661 return NULL;
1662 {
1663 wxPy_BEGIN_ALLOW_THREADS;
1664 _result = (int )wxCaret_GetBlinkTime();
1665
1666 wxPy_END_ALLOW_THREADS;
1667 } _resultobj = Py_BuildValue("i",_result);
1668 return _resultobj;
1669 }
1670
1671 static PyObject *_wrap_wxCaret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1672 PyObject * _resultobj;
1673 int _arg0;
1674 char *_kwnames[] = { "milliseconds", NULL };
1675
1676 self = self;
1677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxCaret_SetBlinkTime",_kwnames,&_arg0))
1678 return NULL;
1679 {
1680 wxPy_BEGIN_ALLOW_THREADS;
1681 wxCaret_SetBlinkTime(_arg0);
1682
1683 wxPy_END_ALLOW_THREADS;
1684 } Py_INCREF(Py_None);
1685 _resultobj = Py_None;
1686 return _resultobj;
1687 }
1688
1689 static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
1690 PyObject * _resultobj;
1691 bool _result;
1692 wxWindow * _arg0 = (wxWindow *) NULL;
1693 PyObject * _argo0 = 0;
1694 char *_kwnames[] = { "win", NULL };
1695
1696 self = self;
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxSafeYield",_kwnames,&_argo0))
1698 return NULL;
1699 if (_argo0) {
1700 if (_argo0 == Py_None) { _arg0 = NULL; }
1701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1703 return NULL;
1704 }
1705 }
1706 {
1707 wxPy_BEGIN_ALLOW_THREADS;
1708 _result = (bool )wxSafeYield(_arg0);
1709
1710 wxPy_END_ALLOW_THREADS;
1711 } _resultobj = Py_BuildValue("i",_result);
1712 return _resultobj;
1713 }
1714
1715 static PyObject *_wrap_wxPostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1716 PyObject * _resultobj;
1717 wxEvtHandler * _arg0;
1718 wxEvent * _arg1;
1719 PyObject * _argo0 = 0;
1720 PyObject * _argo1 = 0;
1721 char *_kwnames[] = { "dest","event", NULL };
1722
1723 self = self;
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostEvent",_kwnames,&_argo0,&_argo1))
1725 return NULL;
1726 if (_argo0) {
1727 if (_argo0 == Py_None) { _arg0 = NULL; }
1728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
1729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1730 return NULL;
1731 }
1732 }
1733 if (_argo1) {
1734 if (_argo1 == Py_None) { _arg1 = NULL; }
1735 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
1736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1737 return NULL;
1738 }
1739 }
1740 {
1741 wxPy_BEGIN_ALLOW_THREADS;
1742 wxPostEvent(_arg0,*_arg1);
1743
1744 wxPy_END_ALLOW_THREADS;
1745 } Py_INCREF(Py_None);
1746 _resultobj = Py_None;
1747 return _resultobj;
1748 }
1749
1750 static PyObject *_wrap_wxWakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject * _resultobj;
1752 char *_kwnames[] = { NULL };
1753
1754 self = self;
1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWakeUpIdle",_kwnames))
1756 return NULL;
1757 {
1758 wxPy_BEGIN_ALLOW_THREADS;
1759 wxWakeUpIdle();
1760
1761 wxPy_END_ALLOW_THREADS;
1762 } Py_INCREF(Py_None);
1763 _resultobj = Py_None;
1764 return _resultobj;
1765 }
1766
1767 static PyObject *_wrap_wxMutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject * _resultobj;
1769 char *_kwnames[] = { NULL };
1770
1771 self = self;
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMutexGuiEnter",_kwnames))
1773 return NULL;
1774 {
1775 wxPy_BEGIN_ALLOW_THREADS;
1776 wxMutexGuiEnter();
1777
1778 wxPy_END_ALLOW_THREADS;
1779 } Py_INCREF(Py_None);
1780 _resultobj = Py_None;
1781 return _resultobj;
1782 }
1783
1784 static PyObject *_wrap_wxMutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
1785 PyObject * _resultobj;
1786 char *_kwnames[] = { NULL };
1787
1788 self = self;
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMutexGuiLeave",_kwnames))
1790 return NULL;
1791 {
1792 wxPy_BEGIN_ALLOW_THREADS;
1793 wxMutexGuiLeave();
1794
1795 wxPy_END_ALLOW_THREADS;
1796 } Py_INCREF(Py_None);
1797 _resultobj = Py_None;
1798 return _resultobj;
1799 }
1800
1801 static PyObject *_wrap_wxThread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 bool _result;
1804 char *_kwnames[] = { NULL };
1805
1806 self = self;
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxThread_IsMain",_kwnames))
1808 return NULL;
1809 {
1810 wxPy_BEGIN_ALLOW_THREADS;
1811 _result = (bool )wxThread_IsMain();
1812
1813 wxPy_END_ALLOW_THREADS;
1814 } _resultobj = Py_BuildValue("i",_result);
1815 return _resultobj;
1816 }
1817
1818 static PyObject *_wrap_wxShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject * _resultobj;
1820 bool _result;
1821 wxWindow * _arg0;
1822 wxTipProvider * _arg1;
1823 bool _arg2 = (bool ) TRUE;
1824 PyObject * _argo0 = 0;
1825 PyObject * _argo1 = 0;
1826 int tempbool2 = (int) TRUE;
1827 char *_kwnames[] = { "parent","tipProvider","showAtStartup", NULL };
1828
1829 self = self;
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxShowTip",_kwnames,&_argo0,&_argo1,&tempbool2))
1831 return NULL;
1832 if (_argo0) {
1833 if (_argo0 == Py_None) { _arg0 = NULL; }
1834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1836 return NULL;
1837 }
1838 }
1839 if (_argo1) {
1840 if (_argo1 == Py_None) { _arg1 = NULL; }
1841 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTipProvider_p")) {
1842 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1843 return NULL;
1844 }
1845 }
1846 _arg2 = (bool ) tempbool2;
1847 {
1848 wxPy_BEGIN_ALLOW_THREADS;
1849 _result = (bool )wxShowTip(_arg0,_arg1,_arg2);
1850
1851 wxPy_END_ALLOW_THREADS;
1852 } _resultobj = Py_BuildValue("i",_result);
1853 return _resultobj;
1854 }
1855
1856 static PyObject *_wrap_wxCreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject * _resultobj;
1858 wxTipProvider * _result;
1859 wxString * _arg0;
1860 size_t _arg1;
1861 PyObject * _obj0 = 0;
1862 char *_kwnames[] = { "filename","currentTip", NULL };
1863 char _ptemp[128];
1864
1865 self = self;
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCreateFileTipProvider",_kwnames,&_obj0,&_arg1))
1867 return NULL;
1868 {
1869 #if PYTHON_API_VERSION >= 1009
1870 char* tmpPtr; int tmpSize;
1871 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
1872 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1873 return NULL;
1874 }
1875 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1876 return NULL;
1877 _arg0 = new wxString(tmpPtr, tmpSize);
1878 #else
1879 if (!PyString_Check(_obj0)) {
1880 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1881 return NULL;
1882 }
1883 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1884 #endif
1885 }
1886 {
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 _result = (wxTipProvider *)wxCreateFileTipProvider(*_arg0,_arg1);
1889
1890 wxPy_END_ALLOW_THREADS;
1891 } if (_result) {
1892 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipProvider_p");
1893 _resultobj = Py_BuildValue("s",_ptemp);
1894 } else {
1895 Py_INCREF(Py_None);
1896 _resultobj = Py_None;
1897 }
1898 {
1899 if (_obj0)
1900 delete _arg0;
1901 }
1902 return _resultobj;
1903 }
1904
1905 static PyObject *_wrap_wxSysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject * _resultobj;
1907 unsigned long _result;
1908 char *_kwnames[] = { NULL };
1909
1910 self = self;
1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxSysErrorCode",_kwnames))
1912 return NULL;
1913 {
1914 wxPy_BEGIN_ALLOW_THREADS;
1915 _result = (unsigned long )wxSysErrorCode();
1916
1917 wxPy_END_ALLOW_THREADS;
1918 } _resultobj = Py_BuildValue("l",_result);
1919 return _resultobj;
1920 }
1921
1922 static PyObject *_wrap_wxSysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject * _resultobj;
1924 char * _result;
1925 unsigned long _arg0 = (unsigned long ) 0;
1926 char *_kwnames[] = { "nErrCode", NULL };
1927
1928 self = self;
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:wxSysErrorMsg",_kwnames,&_arg0))
1930 return NULL;
1931 {
1932 wxPy_BEGIN_ALLOW_THREADS;
1933 _result = (char *)wxSysErrorMsg(_arg0);
1934
1935 wxPy_END_ALLOW_THREADS;
1936 } _resultobj = Py_BuildValue("s", _result);
1937 return _resultobj;
1938 }
1939
1940 static PyObject *_wrap_wxLogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject * _resultobj;
1942 char * _arg0;
1943 char *_kwnames[] = { "szFormat", NULL };
1944
1945 self = self;
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogFatalError",_kwnames,&_arg0))
1947 return NULL;
1948 {
1949 wxPy_BEGIN_ALLOW_THREADS;
1950 wxLogFatalError(_arg0);
1951
1952 wxPy_END_ALLOW_THREADS;
1953 } Py_INCREF(Py_None);
1954 _resultobj = Py_None;
1955 return _resultobj;
1956 }
1957
1958 static PyObject *_wrap_wxLogError(PyObject *self, PyObject *args, PyObject *kwargs) {
1959 PyObject * _resultobj;
1960 char * _arg0;
1961 char *_kwnames[] = { "szFormat", NULL };
1962
1963 self = self;
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogError",_kwnames,&_arg0))
1965 return NULL;
1966 {
1967 wxPy_BEGIN_ALLOW_THREADS;
1968 wxLogError(_arg0);
1969
1970 wxPy_END_ALLOW_THREADS;
1971 } Py_INCREF(Py_None);
1972 _resultobj = Py_None;
1973 return _resultobj;
1974 }
1975
1976 static PyObject *_wrap_wxLogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject * _resultobj;
1978 char * _arg0;
1979 char *_kwnames[] = { "szFormat", NULL };
1980
1981 self = self;
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogWarning",_kwnames,&_arg0))
1983 return NULL;
1984 {
1985 wxPy_BEGIN_ALLOW_THREADS;
1986 wxLogWarning(_arg0);
1987
1988 wxPy_END_ALLOW_THREADS;
1989 } Py_INCREF(Py_None);
1990 _resultobj = Py_None;
1991 return _resultobj;
1992 }
1993
1994 static PyObject *_wrap_wxLogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject * _resultobj;
1996 char * _arg0;
1997 char *_kwnames[] = { "szFormat", NULL };
1998
1999 self = self;
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogMessage",_kwnames,&_arg0))
2001 return NULL;
2002 {
2003 wxPy_BEGIN_ALLOW_THREADS;
2004 wxLogMessage(_arg0);
2005
2006 wxPy_END_ALLOW_THREADS;
2007 } Py_INCREF(Py_None);
2008 _resultobj = Py_None;
2009 return _resultobj;
2010 }
2011
2012 static PyObject *_wrap_wxLogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2013 PyObject * _resultobj;
2014 char * _arg0;
2015 char *_kwnames[] = { "szFormat", NULL };
2016
2017 self = self;
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogInfo",_kwnames,&_arg0))
2019 return NULL;
2020 {
2021 wxPy_BEGIN_ALLOW_THREADS;
2022 wxLogInfo(_arg0);
2023
2024 wxPy_END_ALLOW_THREADS;
2025 } Py_INCREF(Py_None);
2026 _resultobj = Py_None;
2027 return _resultobj;
2028 }
2029
2030 static PyObject *_wrap_wxLogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject * _resultobj;
2032 char * _arg0;
2033 char *_kwnames[] = { "szFormat", NULL };
2034
2035 self = self;
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogVerbose",_kwnames,&_arg0))
2037 return NULL;
2038 {
2039 wxPy_BEGIN_ALLOW_THREADS;
2040 wxLogVerbose(_arg0);
2041
2042 wxPy_END_ALLOW_THREADS;
2043 } Py_INCREF(Py_None);
2044 _resultobj = Py_None;
2045 return _resultobj;
2046 }
2047
2048 static PyObject *_wrap_wxLogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject * _resultobj;
2050 char * _arg0;
2051 char *_kwnames[] = { "szFormat", NULL };
2052
2053 self = self;
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogStatus",_kwnames,&_arg0))
2055 return NULL;
2056 {
2057 wxPy_BEGIN_ALLOW_THREADS;
2058 wxLogStatus(_arg0);
2059
2060 wxPy_END_ALLOW_THREADS;
2061 } Py_INCREF(Py_None);
2062 _resultobj = Py_None;
2063 return _resultobj;
2064 }
2065
2066 static PyObject *_wrap_wxLogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject * _resultobj;
2068 wxFrame * _arg0;
2069 char * _arg1;
2070 PyObject * _argo0 = 0;
2071 char *_kwnames[] = { "pFrame","szFormat", NULL };
2072
2073 self = self;
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxLogStatusFrame",_kwnames,&_argo0,&_arg1))
2075 return NULL;
2076 if (_argo0) {
2077 if (_argo0 == Py_None) { _arg0 = NULL; }
2078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2080 return NULL;
2081 }
2082 }
2083 {
2084 wxPy_BEGIN_ALLOW_THREADS;
2085 wxLogStatus(_arg0,_arg1);
2086
2087 wxPy_END_ALLOW_THREADS;
2088 } Py_INCREF(Py_None);
2089 _resultobj = Py_None;
2090 return _resultobj;
2091 }
2092
2093 static PyObject *_wrap_wxLogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject * _resultobj;
2095 char * _arg0;
2096 char *_kwnames[] = { "szFormat", NULL };
2097
2098 self = self;
2099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogSysError",_kwnames,&_arg0))
2100 return NULL;
2101 {
2102 wxPy_BEGIN_ALLOW_THREADS;
2103 wxLogSysError(_arg0);
2104
2105 wxPy_END_ALLOW_THREADS;
2106 } Py_INCREF(Py_None);
2107 _resultobj = Py_None;
2108 return _resultobj;
2109 }
2110
2111 static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject * _resultobj;
2113 long _result;
2114 wxString * _arg0;
2115 int _arg1 = (int ) FALSE;
2116 wxPyProcess * _arg2 = (wxPyProcess *) NULL;
2117 PyObject * _obj0 = 0;
2118 PyObject * _argo2 = 0;
2119 char *_kwnames[] = { "command","sync","process", NULL };
2120
2121 self = self;
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxExecute",_kwnames,&_obj0,&_arg1,&_argo2))
2123 return NULL;
2124 {
2125 #if PYTHON_API_VERSION >= 1009
2126 char* tmpPtr; int tmpSize;
2127 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2128 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2129 return NULL;
2130 }
2131 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2132 return NULL;
2133 _arg0 = new wxString(tmpPtr, tmpSize);
2134 #else
2135 if (!PyString_Check(_obj0)) {
2136 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2137 return NULL;
2138 }
2139 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2140 #endif
2141 }
2142 if (_argo2) {
2143 if (_argo2 == Py_None) { _arg2 = NULL; }
2144 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyProcess_p")) {
2145 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2146 return NULL;
2147 }
2148 }
2149 {
2150 wxPy_BEGIN_ALLOW_THREADS;
2151 _result = (long )wxExecute(*_arg0,_arg1,_arg2);
2152
2153 wxPy_END_ALLOW_THREADS;
2154 } _resultobj = Py_BuildValue("l",_result);
2155 {
2156 if (_obj0)
2157 delete _arg0;
2158 }
2159 return _resultobj;
2160 }
2161
2162 static PyObject *_wrap_wxWaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
2163 PyObject * _resultobj;
2164 wxWave * _result;
2165 wxString * _arg0;
2166 PyObject * _obj0 = 0;
2167 char *_kwnames[] = { "data", NULL };
2168 char _ptemp[128];
2169
2170 self = self;
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWaveData",_kwnames,&_obj0))
2172 return NULL;
2173 {
2174 #if PYTHON_API_VERSION >= 1009
2175 char* tmpPtr; int tmpSize;
2176 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2177 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2178 return NULL;
2179 }
2180 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2181 return NULL;
2182 _arg0 = new wxString(tmpPtr, tmpSize);
2183 #else
2184 if (!PyString_Check(_obj0)) {
2185 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2186 return NULL;
2187 }
2188 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2189 #endif
2190 }
2191 {
2192 wxPy_BEGIN_ALLOW_THREADS;
2193 _result = (wxWave *)wxWaveData(*_arg0);
2194
2195 wxPy_END_ALLOW_THREADS;
2196 } if (_result) {
2197 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
2198 _resultobj = Py_BuildValue("s",_ptemp);
2199 } else {
2200 Py_INCREF(Py_None);
2201 _resultobj = Py_None;
2202 }
2203 {
2204 if (_obj0)
2205 delete _arg0;
2206 }
2207 return _resultobj;
2208 }
2209
2210 static void *SwigwxToolTipTowxObject(void *ptr) {
2211 wxToolTip *src;
2212 wxObject *dest;
2213 src = (wxToolTip *) ptr;
2214 dest = (wxObject *) src;
2215 return (void *) dest;
2216 }
2217
2218 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2219 static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2220 PyObject * _resultobj;
2221 wxToolTip * _result;
2222 wxString * _arg0;
2223 PyObject * _obj0 = 0;
2224 char *_kwnames[] = { "tip", NULL };
2225 char _ptemp[128];
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
2229 return NULL;
2230 {
2231 #if PYTHON_API_VERSION >= 1009
2232 char* tmpPtr; int tmpSize;
2233 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2234 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2235 return NULL;
2236 }
2237 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2238 return NULL;
2239 _arg0 = new wxString(tmpPtr, tmpSize);
2240 #else
2241 if (!PyString_Check(_obj0)) {
2242 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2243 return NULL;
2244 }
2245 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2246 #endif
2247 }
2248 {
2249 wxPy_BEGIN_ALLOW_THREADS;
2250 _result = (wxToolTip *)new_wxToolTip(*_arg0);
2251
2252 wxPy_END_ALLOW_THREADS;
2253 } if (_result) {
2254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
2255 _resultobj = Py_BuildValue("s",_ptemp);
2256 } else {
2257 Py_INCREF(Py_None);
2258 _resultobj = Py_None;
2259 }
2260 {
2261 if (_obj0)
2262 delete _arg0;
2263 }
2264 return _resultobj;
2265 }
2266
2267 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2268 static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject * _resultobj;
2270 wxToolTip * _arg0;
2271 wxString * _arg1;
2272 PyObject * _argo0 = 0;
2273 PyObject * _obj1 = 0;
2274 char *_kwnames[] = { "self","tip", NULL };
2275
2276 self = self;
2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
2278 return NULL;
2279 if (_argo0) {
2280 if (_argo0 == Py_None) { _arg0 = NULL; }
2281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2283 return NULL;
2284 }
2285 }
2286 {
2287 #if PYTHON_API_VERSION >= 1009
2288 char* tmpPtr; int tmpSize;
2289 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2290 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2291 return NULL;
2292 }
2293 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2294 return NULL;
2295 _arg1 = new wxString(tmpPtr, tmpSize);
2296 #else
2297 if (!PyString_Check(_obj1)) {
2298 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2299 return NULL;
2300 }
2301 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2302 #endif
2303 }
2304 {
2305 wxPy_BEGIN_ALLOW_THREADS;
2306 wxToolTip_SetTip(_arg0,*_arg1);
2307
2308 wxPy_END_ALLOW_THREADS;
2309 } Py_INCREF(Py_None);
2310 _resultobj = Py_None;
2311 {
2312 if (_obj1)
2313 delete _arg1;
2314 }
2315 return _resultobj;
2316 }
2317
2318 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2319 static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject * _resultobj;
2321 wxString * _result;
2322 wxToolTip * _arg0;
2323 PyObject * _argo0 = 0;
2324 char *_kwnames[] = { "self", NULL };
2325
2326 self = self;
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
2328 return NULL;
2329 if (_argo0) {
2330 if (_argo0 == Py_None) { _arg0 = NULL; }
2331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2333 return NULL;
2334 }
2335 }
2336 {
2337 wxPy_BEGIN_ALLOW_THREADS;
2338 _result = new wxString (wxToolTip_GetTip(_arg0));
2339
2340 wxPy_END_ALLOW_THREADS;
2341 }{
2342 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2343 }
2344 {
2345 delete _result;
2346 }
2347 return _resultobj;
2348 }
2349
2350 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2351 static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2352 PyObject * _resultobj;
2353 wxWindow * _result;
2354 wxToolTip * _arg0;
2355 PyObject * _argo0 = 0;
2356 char *_kwnames[] = { "self", NULL };
2357
2358 self = self;
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
2360 return NULL;
2361 if (_argo0) {
2362 if (_argo0 == Py_None) { _arg0 = NULL; }
2363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2365 return NULL;
2366 }
2367 }
2368 {
2369 wxPy_BEGIN_ALLOW_THREADS;
2370 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
2371
2372 wxPy_END_ALLOW_THREADS;
2373 }{ _resultobj = wxPyMake_wxObject(_result); }
2374 return _resultobj;
2375 }
2376
2377 static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
2378 PyObject * _resultobj;
2379 bool _arg0;
2380 int tempbool0;
2381 char *_kwnames[] = { "flag", NULL };
2382
2383 self = self;
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
2385 return NULL;
2386 _arg0 = (bool ) tempbool0;
2387 {
2388 wxPy_BEGIN_ALLOW_THREADS;
2389 wxToolTip::Enable(_arg0);
2390
2391 wxPy_END_ALLOW_THREADS;
2392 } Py_INCREF(Py_None);
2393 _resultobj = Py_None;
2394 return _resultobj;
2395 }
2396
2397 static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject * _resultobj;
2399 long _arg0;
2400 char *_kwnames[] = { "milliseconds", NULL };
2401
2402 self = self;
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
2404 return NULL;
2405 {
2406 wxPy_BEGIN_ALLOW_THREADS;
2407 wxToolTip::SetDelay(_arg0);
2408
2409 wxPy_END_ALLOW_THREADS;
2410 } Py_INCREF(Py_None);
2411 _resultobj = Py_None;
2412 return _resultobj;
2413 }
2414
2415 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2416 static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2417 PyObject * _resultobj;
2418 wxCaret * _result;
2419 wxWindow * _arg0;
2420 wxSize * _arg1;
2421 PyObject * _argo0 = 0;
2422 wxSize temp;
2423 PyObject * _obj1 = 0;
2424 char *_kwnames[] = { "window","size", NULL };
2425 char _ptemp[128];
2426
2427 self = self;
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1))
2429 return NULL;
2430 if (_argo0) {
2431 if (_argo0 == Py_None) { _arg0 = NULL; }
2432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2434 return NULL;
2435 }
2436 }
2437 {
2438 _arg1 = &temp;
2439 if (! wxSize_helper(_obj1, &_arg1))
2440 return NULL;
2441 }
2442 {
2443 wxPy_BEGIN_ALLOW_THREADS;
2444 _result = (wxCaret *)new_wxCaret(_arg0,*_arg1);
2445
2446 wxPy_END_ALLOW_THREADS;
2447 } if (_result) {
2448 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
2449 _resultobj = Py_BuildValue("s",_ptemp);
2450 } else {
2451 Py_INCREF(Py_None);
2452 _resultobj = Py_None;
2453 }
2454 return _resultobj;
2455 }
2456
2457 #define delete_wxCaret(_swigobj) (delete _swigobj)
2458 static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject * _resultobj;
2460 wxCaret * _arg0;
2461 PyObject * _argo0 = 0;
2462 char *_kwnames[] = { "self", NULL };
2463
2464 self = self;
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0))
2466 return NULL;
2467 if (_argo0) {
2468 if (_argo0 == Py_None) { _arg0 = NULL; }
2469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2471 return NULL;
2472 }
2473 }
2474 {
2475 wxPy_BEGIN_ALLOW_THREADS;
2476 delete_wxCaret(_arg0);
2477
2478 wxPy_END_ALLOW_THREADS;
2479 } Py_INCREF(Py_None);
2480 _resultobj = Py_None;
2481 return _resultobj;
2482 }
2483
2484 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2485 static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject * _resultobj;
2487 bool _result;
2488 wxCaret * _arg0;
2489 PyObject * _argo0 = 0;
2490 char *_kwnames[] = { "self", NULL };
2491
2492 self = self;
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0))
2494 return NULL;
2495 if (_argo0) {
2496 if (_argo0 == Py_None) { _arg0 = NULL; }
2497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2499 return NULL;
2500 }
2501 }
2502 {
2503 wxPy_BEGIN_ALLOW_THREADS;
2504 _result = (bool )wxCaret_IsOk(_arg0);
2505
2506 wxPy_END_ALLOW_THREADS;
2507 } _resultobj = Py_BuildValue("i",_result);
2508 return _resultobj;
2509 }
2510
2511 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2512 static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2513 PyObject * _resultobj;
2514 bool _result;
2515 wxCaret * _arg0;
2516 PyObject * _argo0 = 0;
2517 char *_kwnames[] = { "self", NULL };
2518
2519 self = self;
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0))
2521 return NULL;
2522 if (_argo0) {
2523 if (_argo0 == Py_None) { _arg0 = NULL; }
2524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2526 return NULL;
2527 }
2528 }
2529 {
2530 wxPy_BEGIN_ALLOW_THREADS;
2531 _result = (bool )wxCaret_IsVisible(_arg0);
2532
2533 wxPy_END_ALLOW_THREADS;
2534 } _resultobj = Py_BuildValue("i",_result);
2535 return _resultobj;
2536 }
2537
2538 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2539 static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2540 PyObject * _resultobj;
2541 wxCaret * _arg0;
2542 int * _arg1;
2543 int temp;
2544 int * _arg2;
2545 int temp0;
2546 PyObject * _argo0 = 0;
2547 char *_kwnames[] = { "self", NULL };
2548
2549 self = self;
2550 {
2551 _arg1 = &temp;
2552 }
2553 {
2554 _arg2 = &temp0;
2555 }
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0))
2557 return NULL;
2558 if (_argo0) {
2559 if (_argo0 == Py_None) { _arg0 = NULL; }
2560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2562 return NULL;
2563 }
2564 }
2565 {
2566 wxPy_BEGIN_ALLOW_THREADS;
2567 wxCaret_GetPositionTuple(_arg0,_arg1,_arg2);
2568
2569 wxPy_END_ALLOW_THREADS;
2570 } Py_INCREF(Py_None);
2571 _resultobj = Py_None;
2572 {
2573 PyObject *o;
2574 o = PyInt_FromLong((long) (*_arg1));
2575 _resultobj = t_output_helper(_resultobj, o);
2576 }
2577 {
2578 PyObject *o;
2579 o = PyInt_FromLong((long) (*_arg2));
2580 _resultobj = t_output_helper(_resultobj, o);
2581 }
2582 return _resultobj;
2583 }
2584
2585 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2586 static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject * _resultobj;
2588 wxPoint * _result;
2589 wxCaret * _arg0;
2590 PyObject * _argo0 = 0;
2591 char *_kwnames[] = { "self", NULL };
2592 char _ptemp[128];
2593
2594 self = self;
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_kwnames,&_argo0))
2596 return NULL;
2597 if (_argo0) {
2598 if (_argo0 == Py_None) { _arg0 = NULL; }
2599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2601 return NULL;
2602 }
2603 }
2604 {
2605 wxPy_BEGIN_ALLOW_THREADS;
2606 _result = new wxPoint (wxCaret_GetPosition(_arg0));
2607
2608 wxPy_END_ALLOW_THREADS;
2609 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2610 _resultobj = Py_BuildValue("s",_ptemp);
2611 return _resultobj;
2612 }
2613
2614 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2615 static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject * _resultobj;
2617 wxCaret * _arg0;
2618 int * _arg1;
2619 int temp;
2620 int * _arg2;
2621 int temp0;
2622 PyObject * _argo0 = 0;
2623 char *_kwnames[] = { "self", NULL };
2624
2625 self = self;
2626 {
2627 _arg1 = &temp;
2628 }
2629 {
2630 _arg2 = &temp0;
2631 }
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0))
2633 return NULL;
2634 if (_argo0) {
2635 if (_argo0 == Py_None) { _arg0 = NULL; }
2636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2638 return NULL;
2639 }
2640 }
2641 {
2642 wxPy_BEGIN_ALLOW_THREADS;
2643 wxCaret_GetSizeTuple(_arg0,_arg1,_arg2);
2644
2645 wxPy_END_ALLOW_THREADS;
2646 } Py_INCREF(Py_None);
2647 _resultobj = Py_None;
2648 {
2649 PyObject *o;
2650 o = PyInt_FromLong((long) (*_arg1));
2651 _resultobj = t_output_helper(_resultobj, o);
2652 }
2653 {
2654 PyObject *o;
2655 o = PyInt_FromLong((long) (*_arg2));
2656 _resultobj = t_output_helper(_resultobj, o);
2657 }
2658 return _resultobj;
2659 }
2660
2661 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2662 static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject * _resultobj;
2664 wxSize * _result;
2665 wxCaret * _arg0;
2666 PyObject * _argo0 = 0;
2667 char *_kwnames[] = { "self", NULL };
2668 char _ptemp[128];
2669
2670 self = self;
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0))
2672 return NULL;
2673 if (_argo0) {
2674 if (_argo0 == Py_None) { _arg0 = NULL; }
2675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2677 return NULL;
2678 }
2679 }
2680 {
2681 wxPy_BEGIN_ALLOW_THREADS;
2682 _result = new wxSize (wxCaret_GetSize(_arg0));
2683
2684 wxPy_END_ALLOW_THREADS;
2685 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2686 _resultobj = Py_BuildValue("s",_ptemp);
2687 return _resultobj;
2688 }
2689
2690 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2691 static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject * _resultobj;
2693 wxWindow * _result;
2694 wxCaret * _arg0;
2695 PyObject * _argo0 = 0;
2696 char *_kwnames[] = { "self", NULL };
2697
2698 self = self;
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0))
2700 return NULL;
2701 if (_argo0) {
2702 if (_argo0 == Py_None) { _arg0 = NULL; }
2703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2705 return NULL;
2706 }
2707 }
2708 {
2709 wxPy_BEGIN_ALLOW_THREADS;
2710 _result = (wxWindow *)wxCaret_GetWindow(_arg0);
2711
2712 wxPy_END_ALLOW_THREADS;
2713 }{ _resultobj = wxPyMake_wxObject(_result); }
2714 return _resultobj;
2715 }
2716
2717 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2718 static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2719 PyObject * _resultobj;
2720 wxCaret * _arg0;
2721 int _arg1;
2722 int _arg2;
2723 PyObject * _argo0 = 0;
2724 char *_kwnames[] = { "self","x","y", NULL };
2725
2726 self = self;
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
2728 return NULL;
2729 if (_argo0) {
2730 if (_argo0 == Py_None) { _arg0 = NULL; }
2731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2733 return NULL;
2734 }
2735 }
2736 {
2737 wxPy_BEGIN_ALLOW_THREADS;
2738 wxCaret_MoveXY(_arg0,_arg1,_arg2);
2739
2740 wxPy_END_ALLOW_THREADS;
2741 } Py_INCREF(Py_None);
2742 _resultobj = Py_None;
2743 return _resultobj;
2744 }
2745
2746 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2747 static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
2748 PyObject * _resultobj;
2749 wxCaret * _arg0;
2750 wxPoint * _arg1;
2751 PyObject * _argo0 = 0;
2752 wxPoint temp;
2753 PyObject * _obj1 = 0;
2754 char *_kwnames[] = { "self","pt", NULL };
2755
2756 self = self;
2757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1))
2758 return NULL;
2759 if (_argo0) {
2760 if (_argo0 == Py_None) { _arg0 = NULL; }
2761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2763 return NULL;
2764 }
2765 }
2766 {
2767 _arg1 = &temp;
2768 if (! wxPoint_helper(_obj1, &_arg1))
2769 return NULL;
2770 }
2771 {
2772 wxPy_BEGIN_ALLOW_THREADS;
2773 wxCaret_Move(_arg0,*_arg1);
2774
2775 wxPy_END_ALLOW_THREADS;
2776 } Py_INCREF(Py_None);
2777 _resultobj = Py_None;
2778 return _resultobj;
2779 }
2780
2781 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2782 static PyObject *_wrap_wxCaret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject * _resultobj;
2784 wxCaret * _arg0;
2785 int _arg1;
2786 int _arg2;
2787 PyObject * _argo0 = 0;
2788 char *_kwnames[] = { "self","width","height", NULL };
2789
2790 self = self;
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_SetSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
2792 return NULL;
2793 if (_argo0) {
2794 if (_argo0 == Py_None) { _arg0 = NULL; }
2795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2797 return NULL;
2798 }
2799 }
2800 {
2801 wxPy_BEGIN_ALLOW_THREADS;
2802 wxCaret_SetSizeWH(_arg0,_arg1,_arg2);
2803
2804 wxPy_END_ALLOW_THREADS;
2805 } Py_INCREF(Py_None);
2806 _resultobj = Py_None;
2807 return _resultobj;
2808 }
2809
2810 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2811 static PyObject *_wrap_wxCaret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject * _resultobj;
2813 wxCaret * _arg0;
2814 wxSize * _arg1;
2815 PyObject * _argo0 = 0;
2816 wxSize temp;
2817 PyObject * _obj1 = 0;
2818 char *_kwnames[] = { "self","size", NULL };
2819
2820 self = self;
2821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_SetSize",_kwnames,&_argo0,&_obj1))
2822 return NULL;
2823 if (_argo0) {
2824 if (_argo0 == Py_None) { _arg0 = NULL; }
2825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2827 return NULL;
2828 }
2829 }
2830 {
2831 _arg1 = &temp;
2832 if (! wxSize_helper(_obj1, &_arg1))
2833 return NULL;
2834 }
2835 {
2836 wxPy_BEGIN_ALLOW_THREADS;
2837 wxCaret_SetSize(_arg0,*_arg1);
2838
2839 wxPy_END_ALLOW_THREADS;
2840 } Py_INCREF(Py_None);
2841 _resultobj = Py_None;
2842 return _resultobj;
2843 }
2844
2845 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2846 static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject * _resultobj;
2848 wxCaret * _arg0;
2849 int _arg1 = (int ) TRUE;
2850 PyObject * _argo0 = 0;
2851 char *_kwnames[] = { "self","show", NULL };
2852
2853 self = self;
2854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
2855 return NULL;
2856 if (_argo0) {
2857 if (_argo0 == Py_None) { _arg0 = NULL; }
2858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2860 return NULL;
2861 }
2862 }
2863 {
2864 wxPy_BEGIN_ALLOW_THREADS;
2865 wxCaret_Show(_arg0,_arg1);
2866
2867 wxPy_END_ALLOW_THREADS;
2868 } Py_INCREF(Py_None);
2869 _resultobj = Py_None;
2870 return _resultobj;
2871 }
2872
2873 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2874 static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject * _resultobj;
2876 wxCaret * _arg0;
2877 PyObject * _argo0 = 0;
2878 char *_kwnames[] = { "self", NULL };
2879
2880 self = self;
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
2882 return NULL;
2883 if (_argo0) {
2884 if (_argo0 == Py_None) { _arg0 = NULL; }
2885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2887 return NULL;
2888 }
2889 }
2890 {
2891 wxPy_BEGIN_ALLOW_THREADS;
2892 wxCaret_Hide(_arg0);
2893
2894 wxPy_END_ALLOW_THREADS;
2895 } Py_INCREF(Py_None);
2896 _resultobj = Py_None;
2897 return _resultobj;
2898 }
2899
2900 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2901 static PyObject *_wrap_new_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject * _resultobj;
2903 wxPyFontEnumerator * _result;
2904 char *_kwnames[] = { NULL };
2905 char _ptemp[128];
2906
2907 self = self;
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontEnumerator",_kwnames))
2909 return NULL;
2910 {
2911 wxPy_BEGIN_ALLOW_THREADS;
2912 _result = (wxPyFontEnumerator *)new_wxFontEnumerator();
2913
2914 wxPy_END_ALLOW_THREADS;
2915 } if (_result) {
2916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyFontEnumerator_p");
2917 _resultobj = Py_BuildValue("s",_ptemp);
2918 } else {
2919 Py_INCREF(Py_None);
2920 _resultobj = Py_None;
2921 }
2922 return _resultobj;
2923 }
2924
2925 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2926 static PyObject *_wrap_delete_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject * _resultobj;
2928 wxPyFontEnumerator * _arg0;
2929 PyObject * _argo0 = 0;
2930 char *_kwnames[] = { "self", NULL };
2931
2932 self = self;
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontEnumerator",_kwnames,&_argo0))
2934 return NULL;
2935 if (_argo0) {
2936 if (_argo0 == Py_None) { _arg0 = NULL; }
2937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
2938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2939 return NULL;
2940 }
2941 }
2942 {
2943 wxPy_BEGIN_ALLOW_THREADS;
2944 delete_wxPyFontEnumerator(_arg0);
2945
2946 wxPy_END_ALLOW_THREADS;
2947 } Py_INCREF(Py_None);
2948 _resultobj = Py_None;
2949 return _resultobj;
2950 }
2951
2952 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2953 static PyObject *_wrap_wxFontEnumerator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2954 PyObject * _resultobj;
2955 wxPyFontEnumerator * _arg0;
2956 PyObject * _arg1;
2957 PyObject * _arg2;
2958 PyObject * _argo0 = 0;
2959 PyObject * _obj1 = 0;
2960 PyObject * _obj2 = 0;
2961 char *_kwnames[] = { "self","self","_class", NULL };
2962
2963 self = self;
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2965 return NULL;
2966 if (_argo0) {
2967 if (_argo0 == Py_None) { _arg0 = NULL; }
2968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
2969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2970 return NULL;
2971 }
2972 }
2973 {
2974 _arg1 = _obj1;
2975 }
2976 {
2977 _arg2 = _obj2;
2978 }
2979 {
2980 wxPy_BEGIN_ALLOW_THREADS;
2981 wxFontEnumerator__setCallbackInfo(_arg0,_arg1,_arg2);
2982
2983 wxPy_END_ALLOW_THREADS;
2984 } Py_INCREF(Py_None);
2985 _resultobj = Py_None;
2986 return _resultobj;
2987 }
2988
2989 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2990 static PyObject *_wrap_wxFontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject * _resultobj;
2992 bool _result;
2993 wxPyFontEnumerator * _arg0;
2994 wxFontEncoding _arg1 = (wxFontEncoding ) wxFONTENCODING_SYSTEM;
2995 bool _arg2 = (bool ) FALSE;
2996 PyObject * _argo0 = 0;
2997 int tempbool2 = (int) FALSE;
2998 char *_kwnames[] = { "self","encoding","fixedWidthOnly", NULL };
2999
3000 self = self;
3001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames,&_argo0,&_arg1,&tempbool2))
3002 return NULL;
3003 if (_argo0) {
3004 if (_argo0 == Py_None) { _arg0 = NULL; }
3005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3007 return NULL;
3008 }
3009 }
3010 _arg2 = (bool ) tempbool2;
3011 {
3012 wxPy_BEGIN_ALLOW_THREADS;
3013 _result = (bool )wxFontEnumerator_EnumerateFacenames(_arg0,_arg1,_arg2);
3014
3015 wxPy_END_ALLOW_THREADS;
3016 } _resultobj = Py_BuildValue("i",_result);
3017 return _resultobj;
3018 }
3019
3020 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3021 static PyObject *_wrap_wxFontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
3022 PyObject * _resultobj;
3023 bool _result;
3024 wxPyFontEnumerator * _arg0;
3025 char * _arg1 = (char *) "";
3026 PyObject * _argo0 = 0;
3027 char *_kwnames[] = { "self","facename", NULL };
3028
3029 self = self;
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames,&_argo0,&_arg1))
3031 return NULL;
3032 if (_argo0) {
3033 if (_argo0 == Py_None) { _arg0 = NULL; }
3034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3036 return NULL;
3037 }
3038 }
3039 {
3040 wxPy_BEGIN_ALLOW_THREADS;
3041 _result = (bool )wxFontEnumerator_EnumerateEncodings(_arg0,_arg1);
3042
3043 wxPy_END_ALLOW_THREADS;
3044 } _resultobj = Py_BuildValue("i",_result);
3045 return _resultobj;
3046 }
3047
3048 static PyObject * wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self) {
3049 wxArrayString* arr = self->GetEncodings();
3050 PyObject* list = PyList_New(0);
3051 for (size_t x=0; x<arr->GetCount(); x++)
3052 PyList_Append(list, PyString_FromString((*arr)[x]));
3053 return list;
3054 }
3055 static PyObject *_wrap_wxFontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject * _resultobj;
3057 PyObject * _result;
3058 wxPyFontEnumerator * _arg0;
3059 PyObject * _argo0 = 0;
3060 char *_kwnames[] = { "self", NULL };
3061
3062 self = self;
3063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetEncodings",_kwnames,&_argo0))
3064 return NULL;
3065 if (_argo0) {
3066 if (_argo0 == Py_None) { _arg0 = NULL; }
3067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3069 return NULL;
3070 }
3071 }
3072 {
3073 wxPy_BEGIN_ALLOW_THREADS;
3074 _result = (PyObject *)wxPyFontEnumerator_GetEncodings(_arg0);
3075
3076 wxPy_END_ALLOW_THREADS;
3077 }{
3078 _resultobj = _result;
3079 }
3080 return _resultobj;
3081 }
3082
3083 static PyObject * wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self) {
3084 wxArrayString* arr = self->GetFacenames();
3085 PyObject* list = PyList_New(0);
3086 for (size_t x=0; x<arr->GetCount(); x++)
3087 PyList_Append(list, PyString_FromString((*arr)[x]));
3088 return list;
3089 }
3090 static PyObject *_wrap_wxFontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject * _resultobj;
3092 PyObject * _result;
3093 wxPyFontEnumerator * _arg0;
3094 PyObject * _argo0 = 0;
3095 char *_kwnames[] = { "self", NULL };
3096
3097 self = self;
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetFacenames",_kwnames,&_argo0))
3099 return NULL;
3100 if (_argo0) {
3101 if (_argo0 == Py_None) { _arg0 = NULL; }
3102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3104 return NULL;
3105 }
3106 }
3107 {
3108 wxPy_BEGIN_ALLOW_THREADS;
3109 _result = (PyObject *)wxPyFontEnumerator_GetFacenames(_arg0);
3110
3111 wxPy_END_ALLOW_THREADS;
3112 }{
3113 _resultobj = _result;
3114 }
3115 return _resultobj;
3116 }
3117
3118 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3119 static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3120 PyObject * _resultobj;
3121 wxBusyCursor * _result;
3122 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
3123 PyObject * _argo0 = 0;
3124 char *_kwnames[] = { "cursor", NULL };
3125 char _ptemp[128];
3126
3127 self = self;
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0))
3129 return NULL;
3130 if (_argo0) {
3131 if (_argo0 == Py_None) { _arg0 = NULL; }
3132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3134 return NULL;
3135 }
3136 }
3137 {
3138 wxPy_BEGIN_ALLOW_THREADS;
3139 _result = (wxBusyCursor *)new_wxBusyCursor(_arg0);
3140
3141 wxPy_END_ALLOW_THREADS;
3142 } if (_result) {
3143 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p");
3144 _resultobj = Py_BuildValue("s",_ptemp);
3145 } else {
3146 Py_INCREF(Py_None);
3147 _resultobj = Py_None;
3148 }
3149 return _resultobj;
3150 }
3151
3152 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3153 static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3154 PyObject * _resultobj;
3155 wxBusyCursor * _arg0;
3156 PyObject * _argo0 = 0;
3157 char *_kwnames[] = { "self", NULL };
3158
3159 self = self;
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0))
3161 return NULL;
3162 if (_argo0) {
3163 if (_argo0 == Py_None) { _arg0 = NULL; }
3164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) {
3165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3166 return NULL;
3167 }
3168 }
3169 {
3170 wxPy_BEGIN_ALLOW_THREADS;
3171 delete_wxBusyCursor(_arg0);
3172
3173 wxPy_END_ALLOW_THREADS;
3174 } Py_INCREF(Py_None);
3175 _resultobj = Py_None;
3176 return _resultobj;
3177 }
3178
3179 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3180 static PyObject *_wrap_new_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject * _resultobj;
3182 wxWindowDisabler * _result;
3183 wxWindow * _arg0 = (wxWindow *) NULL;
3184 PyObject * _argo0 = 0;
3185 char *_kwnames[] = { "winToSkip", NULL };
3186 char _ptemp[128];
3187
3188 self = self;
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDisabler",_kwnames,&_argo0))
3190 return NULL;
3191 if (_argo0) {
3192 if (_argo0 == Py_None) { _arg0 = NULL; }
3193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3195 return NULL;
3196 }
3197 }
3198 {
3199 wxPy_BEGIN_ALLOW_THREADS;
3200 _result = (wxWindowDisabler *)new_wxWindowDisabler(_arg0);
3201
3202 wxPy_END_ALLOW_THREADS;
3203 } if (_result) {
3204 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDisabler_p");
3205 _resultobj = Py_BuildValue("s",_ptemp);
3206 } else {
3207 Py_INCREF(Py_None);
3208 _resultobj = Py_None;
3209 }
3210 return _resultobj;
3211 }
3212
3213 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3214 static PyObject *_wrap_delete_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject * _resultobj;
3216 wxWindowDisabler * _arg0;
3217 PyObject * _argo0 = 0;
3218 char *_kwnames[] = { "self", NULL };
3219
3220 self = self;
3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWindowDisabler",_kwnames,&_argo0))
3222 return NULL;
3223 if (_argo0) {
3224 if (_argo0 == Py_None) { _arg0 = NULL; }
3225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDisabler_p")) {
3226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3227 return NULL;
3228 }
3229 }
3230 {
3231 wxPy_BEGIN_ALLOW_THREADS;
3232 delete_wxWindowDisabler(_arg0);
3233
3234 wxPy_END_ALLOW_THREADS;
3235 } Py_INCREF(Py_None);
3236 _resultobj = Py_None;
3237 return _resultobj;
3238 }
3239
3240 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3241 static PyObject *_wrap_new_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject * _resultobj;
3243 wxMutexGuiLocker * _result;
3244 char *_kwnames[] = { NULL };
3245 char _ptemp[128];
3246
3247 self = self;
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMutexGuiLocker",_kwnames))
3249 return NULL;
3250 {
3251 wxPy_BEGIN_ALLOW_THREADS;
3252 _result = (wxMutexGuiLocker *)new_wxMutexGuiLocker();
3253
3254 wxPy_END_ALLOW_THREADS;
3255 } if (_result) {
3256 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMutexGuiLocker_p");
3257 _resultobj = Py_BuildValue("s",_ptemp);
3258 } else {
3259 Py_INCREF(Py_None);
3260 _resultobj = Py_None;
3261 }
3262 return _resultobj;
3263 }
3264
3265 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3266 static PyObject *_wrap_delete_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject * _resultobj;
3268 wxMutexGuiLocker * _arg0;
3269 PyObject * _argo0 = 0;
3270 char *_kwnames[] = { "self", NULL };
3271
3272 self = self;
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMutexGuiLocker",_kwnames,&_argo0))
3274 return NULL;
3275 if (_argo0) {
3276 if (_argo0 == Py_None) { _arg0 = NULL; }
3277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMutexGuiLocker_p")) {
3278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3279 return NULL;
3280 }
3281 }
3282 {
3283 wxPy_BEGIN_ALLOW_THREADS;
3284 delete_wxMutexGuiLocker(_arg0);
3285
3286 wxPy_END_ALLOW_THREADS;
3287 } Py_INCREF(Py_None);
3288 _resultobj = Py_None;
3289 return _resultobj;
3290 }
3291
3292 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3293 static PyObject *_wrap_delete_wxTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3294 PyObject * _resultobj;
3295 wxTipProvider * _arg0;
3296 PyObject * _argo0 = 0;
3297 char *_kwnames[] = { "self", NULL };
3298
3299 self = self;
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTipProvider",_kwnames,&_argo0))
3301 return NULL;
3302 if (_argo0) {
3303 if (_argo0 == Py_None) { _arg0 = NULL; }
3304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3306 return NULL;
3307 }
3308 }
3309 {
3310 wxPy_BEGIN_ALLOW_THREADS;
3311 delete_wxTipProvider(_arg0);
3312
3313 wxPy_END_ALLOW_THREADS;
3314 } Py_INCREF(Py_None);
3315 _resultobj = Py_None;
3316 return _resultobj;
3317 }
3318
3319 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3320 static PyObject *_wrap_wxTipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3321 PyObject * _resultobj;
3322 wxString * _result;
3323 wxTipProvider * _arg0;
3324 PyObject * _argo0 = 0;
3325 char *_kwnames[] = { "self", NULL };
3326
3327 self = self;
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetTip",_kwnames,&_argo0))
3329 return NULL;
3330 if (_argo0) {
3331 if (_argo0 == Py_None) { _arg0 = NULL; }
3332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3334 return NULL;
3335 }
3336 }
3337 {
3338 wxPy_BEGIN_ALLOW_THREADS;
3339 _result = new wxString (wxTipProvider_GetTip(_arg0));
3340
3341 wxPy_END_ALLOW_THREADS;
3342 }{
3343 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3344 }
3345 {
3346 delete _result;
3347 }
3348 return _resultobj;
3349 }
3350
3351 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3352 static PyObject *_wrap_wxTipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject * _resultobj;
3354 size_t _result;
3355 wxTipProvider * _arg0;
3356 PyObject * _argo0 = 0;
3357 char *_kwnames[] = { "self", NULL };
3358
3359 self = self;
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetCurrentTip",_kwnames,&_argo0))
3361 return NULL;
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3366 return NULL;
3367 }
3368 }
3369 {
3370 wxPy_BEGIN_ALLOW_THREADS;
3371 _result = (size_t )wxTipProvider_GetCurrentTip(_arg0);
3372
3373 wxPy_END_ALLOW_THREADS;
3374 } _resultobj = Py_BuildValue("i",_result);
3375 return _resultobj;
3376 }
3377
3378 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr) {
3379 wxPyTipProvider *src;
3380 wxTipProvider *dest;
3381 src = (wxPyTipProvider *) ptr;
3382 dest = (wxTipProvider *) src;
3383 return (void *) dest;
3384 }
3385
3386 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3387 static PyObject *_wrap_new_wxPyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3388 PyObject * _resultobj;
3389 wxPyTipProvider * _result;
3390 size_t _arg0;
3391 char *_kwnames[] = { "currentTip", NULL };
3392 char _ptemp[128];
3393
3394 self = self;
3395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxPyTipProvider",_kwnames,&_arg0))
3396 return NULL;
3397 {
3398 wxPy_BEGIN_ALLOW_THREADS;
3399 _result = (wxPyTipProvider *)new_wxPyTipProvider(_arg0);
3400
3401 wxPy_END_ALLOW_THREADS;
3402 } if (_result) {
3403 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTipProvider_p");
3404 _resultobj = Py_BuildValue("s",_ptemp);
3405 } else {
3406 Py_INCREF(Py_None);
3407 _resultobj = Py_None;
3408 }
3409 return _resultobj;
3410 }
3411
3412 static void *SwigwxGenericDragImageTowxObject(void *ptr) {
3413 wxGenericDragImage *src;
3414 wxObject *dest;
3415 src = (wxGenericDragImage *) ptr;
3416 dest = (wxObject *) src;
3417 return (void *) dest;
3418 }
3419
3420 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3421 static PyObject *_wrap_new_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject * _resultobj;
3423 wxGenericDragImage * _result;
3424 wxBitmap * _arg0;
3425 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3426 PyObject * _argo0 = 0;
3427 PyObject * _argo1 = 0;
3428 char *_kwnames[] = { "image","cursor", NULL };
3429 char _ptemp[128];
3430
3431 self = self;
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragImage",_kwnames,&_argo0,&_argo1))
3433 return NULL;
3434 if (_argo0) {
3435 if (_argo0 == Py_None) { _arg0 = NULL; }
3436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
3437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3438 return NULL;
3439 }
3440 }
3441 if (_argo1) {
3442 if (_argo1 == Py_None) { _arg1 = NULL; }
3443 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3444 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3445 return NULL;
3446 }
3447 }
3448 {
3449 wxPy_BEGIN_ALLOW_THREADS;
3450 _result = (wxGenericDragImage *)new_wxDragImage(*_arg0,*_arg1);
3451
3452 wxPy_END_ALLOW_THREADS;
3453 } if (_result) {
3454 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3455 _resultobj = Py_BuildValue("s",_ptemp);
3456 } else {
3457 Py_INCREF(Py_None);
3458 _resultobj = Py_None;
3459 }
3460 return _resultobj;
3461 }
3462
3463 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3464 static PyObject *_wrap_new_wxDragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3465 PyObject * _resultobj;
3466 wxGenericDragImage * _result;
3467 wxIcon * _arg0;
3468 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3469 PyObject * _argo0 = 0;
3470 PyObject * _argo1 = 0;
3471 char *_kwnames[] = { "image","cursor", NULL };
3472 char _ptemp[128];
3473
3474 self = self;
3475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragIcon",_kwnames,&_argo0,&_argo1))
3476 return NULL;
3477 if (_argo0) {
3478 if (_argo0 == Py_None) { _arg0 = NULL; }
3479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
3480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3481 return NULL;
3482 }
3483 }
3484 if (_argo1) {
3485 if (_argo1 == Py_None) { _arg1 = NULL; }
3486 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3487 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3488 return NULL;
3489 }
3490 }
3491 {
3492 wxPy_BEGIN_ALLOW_THREADS;
3493 _result = (wxGenericDragImage *)new_wxDragIcon(*_arg0,*_arg1);
3494
3495 wxPy_END_ALLOW_THREADS;
3496 } if (_result) {
3497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3498 _resultobj = Py_BuildValue("s",_ptemp);
3499 } else {
3500 Py_INCREF(Py_None);
3501 _resultobj = Py_None;
3502 }
3503 return _resultobj;
3504 }
3505
3506 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3507 static PyObject *_wrap_new_wxDragString(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject * _resultobj;
3509 wxGenericDragImage * _result;
3510 wxString * _arg0;
3511 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3512 PyObject * _obj0 = 0;
3513 PyObject * _argo1 = 0;
3514 char *_kwnames[] = { "str","cursor", NULL };
3515 char _ptemp[128];
3516
3517 self = self;
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragString",_kwnames,&_obj0,&_argo1))
3519 return NULL;
3520 {
3521 #if PYTHON_API_VERSION >= 1009
3522 char* tmpPtr; int tmpSize;
3523 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
3524 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3525 return NULL;
3526 }
3527 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
3528 return NULL;
3529 _arg0 = new wxString(tmpPtr, tmpSize);
3530 #else
3531 if (!PyString_Check(_obj0)) {
3532 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3533 return NULL;
3534 }
3535 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
3536 #endif
3537 }
3538 if (_argo1) {
3539 if (_argo1 == Py_None) { _arg1 = NULL; }
3540 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3541 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3542 return NULL;
3543 }
3544 }
3545 {
3546 wxPy_BEGIN_ALLOW_THREADS;
3547 _result = (wxGenericDragImage *)new_wxDragString(*_arg0,*_arg1);
3548
3549 wxPy_END_ALLOW_THREADS;
3550 } if (_result) {
3551 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3552 _resultobj = Py_BuildValue("s",_ptemp);
3553 } else {
3554 Py_INCREF(Py_None);
3555 _resultobj = Py_None;
3556 }
3557 {
3558 if (_obj0)
3559 delete _arg0;
3560 }
3561 return _resultobj;
3562 }
3563
3564 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3565 static PyObject *_wrap_new_wxDragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3566 PyObject * _resultobj;
3567 wxGenericDragImage * _result;
3568 wxTreeCtrl * _arg0;
3569 wxTreeItemId * _arg1;
3570 PyObject * _argo0 = 0;
3571 PyObject * _argo1 = 0;
3572 char *_kwnames[] = { "treeCtrl","id", NULL };
3573 char _ptemp[128];
3574
3575 self = self;
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxDragTreeItem",_kwnames,&_argo0,&_argo1))
3577 return NULL;
3578 if (_argo0) {
3579 if (_argo0 == Py_None) { _arg0 = NULL; }
3580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3582 return NULL;
3583 }
3584 }
3585 if (_argo1) {
3586 if (_argo1 == Py_None) { _arg1 = NULL; }
3587 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3589 return NULL;
3590 }
3591 }
3592 {
3593 wxPy_BEGIN_ALLOW_THREADS;
3594 _result = (wxGenericDragImage *)new_wxDragTreeItem(*_arg0,*_arg1);
3595
3596 wxPy_END_ALLOW_THREADS;
3597 } if (_result) {
3598 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3599 _resultobj = Py_BuildValue("s",_ptemp);
3600 } else {
3601 Py_INCREF(Py_None);
3602 _resultobj = Py_None;
3603 }
3604 return _resultobj;
3605 }
3606
3607 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3608 static PyObject *_wrap_new_wxDragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject * _resultobj;
3610 wxGenericDragImage * _result;
3611 wxListCtrl * _arg0;
3612 long _arg1;
3613 PyObject * _argo0 = 0;
3614 char *_kwnames[] = { "listCtrl","id", NULL };
3615 char _ptemp[128];
3616
3617 self = self;
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:new_wxDragListItem",_kwnames,&_argo0,&_arg1))
3619 return NULL;
3620 if (_argo0) {
3621 if (_argo0 == Py_None) { _arg0 = NULL; }
3622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3624 return NULL;
3625 }
3626 }
3627 {
3628 wxPy_BEGIN_ALLOW_THREADS;
3629 _result = (wxGenericDragImage *)new_wxDragListItem(*_arg0,_arg1);
3630
3631 wxPy_END_ALLOW_THREADS;
3632 } if (_result) {
3633 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3634 _resultobj = Py_BuildValue("s",_ptemp);
3635 } else {
3636 Py_INCREF(Py_None);
3637 _resultobj = Py_None;
3638 }
3639 return _resultobj;
3640 }
3641
3642 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3643 static PyObject *_wrap_delete_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3644 PyObject * _resultobj;
3645 wxGenericDragImage * _arg0;
3646 PyObject * _argo0 = 0;
3647 char *_kwnames[] = { "self", NULL };
3648
3649 self = self;
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDragImage",_kwnames,&_argo0))
3651 return NULL;
3652 if (_argo0) {
3653 if (_argo0 == Py_None) { _arg0 = NULL; }
3654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3656 return NULL;
3657 }
3658 }
3659 {
3660 wxPy_BEGIN_ALLOW_THREADS;
3661 delete_wxGenericDragImage(_arg0);
3662
3663 wxPy_END_ALLOW_THREADS;
3664 } Py_INCREF(Py_None);
3665 _resultobj = Py_None;
3666 return _resultobj;
3667 }
3668
3669 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3670 static PyObject *_wrap_wxDragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3671 PyObject * _resultobj;
3672 wxGenericDragImage * _arg0;
3673 wxBitmap * _arg1;
3674 PyObject * _argo0 = 0;
3675 PyObject * _argo1 = 0;
3676 char *_kwnames[] = { "self","bitmap", NULL };
3677
3678 self = self;
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_SetBackingBitmap",_kwnames,&_argo0,&_argo1))
3680 return NULL;
3681 if (_argo0) {
3682 if (_argo0 == Py_None) { _arg0 = NULL; }
3683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3685 return NULL;
3686 }
3687 }
3688 if (_argo1) {
3689 if (_argo1 == Py_None) { _arg1 = NULL; }
3690 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
3691 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3692 return NULL;
3693 }
3694 }
3695 {
3696 wxPy_BEGIN_ALLOW_THREADS;
3697 wxDragImage_SetBackingBitmap(_arg0,_arg1);
3698
3699 wxPy_END_ALLOW_THREADS;
3700 } Py_INCREF(Py_None);
3701 _resultobj = Py_None;
3702 return _resultobj;
3703 }
3704
3705 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3706 static PyObject *_wrap_wxDragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject * _resultobj;
3708 bool _result;
3709 wxGenericDragImage * _arg0;
3710 wxPoint * _arg1;
3711 wxWindow * _arg2;
3712 bool _arg3 = (bool ) FALSE;
3713 wxRect * _arg4 = (wxRect *) NULL;
3714 PyObject * _argo0 = 0;
3715 wxPoint temp;
3716 PyObject * _obj1 = 0;
3717 PyObject * _argo2 = 0;
3718 int tempbool3 = (int) FALSE;
3719 wxRect temp0;
3720 PyObject * _obj4 = 0;
3721 char *_kwnames[] = { "self","hotspot","window","fullScreen","rect", NULL };
3722
3723 self = self;
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iO:wxDragImage_BeginDrag",_kwnames,&_argo0,&_obj1,&_argo2,&tempbool3,&_obj4))
3725 return NULL;
3726 if (_argo0) {
3727 if (_argo0 == Py_None) { _arg0 = NULL; }
3728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3730 return NULL;
3731 }
3732 }
3733 {
3734 _arg1 = &temp;
3735 if (! wxPoint_helper(_obj1, &_arg1))
3736 return NULL;
3737 }
3738 if (_argo2) {
3739 if (_argo2 == Py_None) { _arg2 = NULL; }
3740 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3741 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3742 return NULL;
3743 }
3744 }
3745 _arg3 = (bool ) tempbool3;
3746 if (_obj4)
3747 {
3748 _arg4 = &temp0;
3749 if (! wxRect_helper(_obj4, &_arg4))
3750 return NULL;
3751 }
3752 {
3753 wxPy_BEGIN_ALLOW_THREADS;
3754 _result = (bool )wxDragImage_BeginDrag(_arg0,*_arg1,_arg2,_arg3,_arg4);
3755
3756 wxPy_END_ALLOW_THREADS;
3757 } _resultobj = Py_BuildValue("i",_result);
3758 return _resultobj;
3759 }
3760
3761 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3762 static PyObject *_wrap_wxDragImage_BeginDrag2(PyObject *self, PyObject *args, PyObject *kwargs) {
3763 PyObject * _resultobj;
3764 bool _result;
3765 wxGenericDragImage * _arg0;
3766 wxPoint * _arg1;
3767 wxWindow * _arg2;
3768 wxWindow * _arg3;
3769 PyObject * _argo0 = 0;
3770 wxPoint temp;
3771 PyObject * _obj1 = 0;
3772 PyObject * _argo2 = 0;
3773 PyObject * _argo3 = 0;
3774 char *_kwnames[] = { "self","hotspot","window","fullScreenRect", NULL };
3775
3776 self = self;
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDragImage_BeginDrag2",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
3778 return NULL;
3779 if (_argo0) {
3780 if (_argo0 == Py_None) { _arg0 = NULL; }
3781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3783 return NULL;
3784 }
3785 }
3786 {
3787 _arg1 = &temp;
3788 if (! wxPoint_helper(_obj1, &_arg1))
3789 return NULL;
3790 }
3791 if (_argo2) {
3792 if (_argo2 == Py_None) { _arg2 = NULL; }
3793 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3794 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3795 return NULL;
3796 }
3797 }
3798 if (_argo3) {
3799 if (_argo3 == Py_None) { _arg3 = NULL; }
3800 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3802 return NULL;
3803 }
3804 }
3805 {
3806 wxPy_BEGIN_ALLOW_THREADS;
3807 _result = (bool )wxDragImage_BeginDrag2(_arg0,*_arg1,_arg2,_arg3);
3808
3809 wxPy_END_ALLOW_THREADS;
3810 } _resultobj = Py_BuildValue("i",_result);
3811 return _resultobj;
3812 }
3813
3814 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3815 static PyObject *_wrap_wxDragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject * _resultobj;
3817 bool _result;
3818 wxGenericDragImage * _arg0;
3819 PyObject * _argo0 = 0;
3820 char *_kwnames[] = { "self", NULL };
3821
3822 self = self;
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_EndDrag",_kwnames,&_argo0))
3824 return NULL;
3825 if (_argo0) {
3826 if (_argo0 == Py_None) { _arg0 = NULL; }
3827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3829 return NULL;
3830 }
3831 }
3832 {
3833 wxPy_BEGIN_ALLOW_THREADS;
3834 _result = (bool )wxDragImage_EndDrag(_arg0);
3835
3836 wxPy_END_ALLOW_THREADS;
3837 } _resultobj = Py_BuildValue("i",_result);
3838 return _resultobj;
3839 }
3840
3841 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3842 static PyObject *_wrap_wxDragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject * _resultobj;
3844 bool _result;
3845 wxGenericDragImage * _arg0;
3846 wxPoint * _arg1;
3847 PyObject * _argo0 = 0;
3848 wxPoint temp;
3849 PyObject * _obj1 = 0;
3850 char *_kwnames[] = { "self","pt", NULL };
3851
3852 self = self;
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_Move",_kwnames,&_argo0,&_obj1))
3854 return NULL;
3855 if (_argo0) {
3856 if (_argo0 == Py_None) { _arg0 = NULL; }
3857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3859 return NULL;
3860 }
3861 }
3862 {
3863 _arg1 = &temp;
3864 if (! wxPoint_helper(_obj1, &_arg1))
3865 return NULL;
3866 }
3867 {
3868 wxPy_BEGIN_ALLOW_THREADS;
3869 _result = (bool )wxDragImage_Move(_arg0,*_arg1);
3870
3871 wxPy_END_ALLOW_THREADS;
3872 } _resultobj = Py_BuildValue("i",_result);
3873 return _resultobj;
3874 }
3875
3876 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3877 static PyObject *_wrap_wxDragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject * _resultobj;
3879 bool _result;
3880 wxGenericDragImage * _arg0;
3881 PyObject * _argo0 = 0;
3882 char *_kwnames[] = { "self", NULL };
3883
3884 self = self;
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Show",_kwnames,&_argo0))
3886 return NULL;
3887 if (_argo0) {
3888 if (_argo0 == Py_None) { _arg0 = NULL; }
3889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3891 return NULL;
3892 }
3893 }
3894 {
3895 wxPy_BEGIN_ALLOW_THREADS;
3896 _result = (bool )wxDragImage_Show(_arg0);
3897
3898 wxPy_END_ALLOW_THREADS;
3899 } _resultobj = Py_BuildValue("i",_result);
3900 return _resultobj;
3901 }
3902
3903 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3904 static PyObject *_wrap_wxDragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject * _resultobj;
3906 bool _result;
3907 wxGenericDragImage * _arg0;
3908 PyObject * _argo0 = 0;
3909 char *_kwnames[] = { "self", NULL };
3910
3911 self = self;
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Hide",_kwnames,&_argo0))
3913 return NULL;
3914 if (_argo0) {
3915 if (_argo0 == Py_None) { _arg0 = NULL; }
3916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3918 return NULL;
3919 }
3920 }
3921 {
3922 wxPy_BEGIN_ALLOW_THREADS;
3923 _result = (bool )wxDragImage_Hide(_arg0);
3924
3925 wxPy_END_ALLOW_THREADS;
3926 } _resultobj = Py_BuildValue("i",_result);
3927 return _resultobj;
3928 }
3929
3930 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3931 static PyObject *_wrap_wxDragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject * _resultobj;
3933 wxRect * _result;
3934 wxGenericDragImage * _arg0;
3935 wxPoint * _arg1;
3936 PyObject * _argo0 = 0;
3937 wxPoint temp;
3938 PyObject * _obj1 = 0;
3939 char *_kwnames[] = { "self","pos", NULL };
3940 char _ptemp[128];
3941
3942 self = self;
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_GetImageRect",_kwnames,&_argo0,&_obj1))
3944 return NULL;
3945 if (_argo0) {
3946 if (_argo0 == Py_None) { _arg0 = NULL; }
3947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3949 return NULL;
3950 }
3951 }
3952 {
3953 _arg1 = &temp;
3954 if (! wxPoint_helper(_obj1, &_arg1))
3955 return NULL;
3956 }
3957 {
3958 wxPy_BEGIN_ALLOW_THREADS;
3959 _result = new wxRect (wxDragImage_GetImageRect(_arg0,*_arg1));
3960
3961 wxPy_END_ALLOW_THREADS;
3962 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
3963 _resultobj = Py_BuildValue("s",_ptemp);
3964 return _resultobj;
3965 }
3966
3967 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3968 static PyObject *_wrap_wxDragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject * _resultobj;
3970 bool _result;
3971 wxGenericDragImage * _arg0;
3972 wxPoint * _arg1;
3973 wxPoint * _arg2;
3974 bool _arg3;
3975 bool _arg4;
3976 PyObject * _argo0 = 0;
3977 wxPoint temp;
3978 PyObject * _obj1 = 0;
3979 wxPoint temp0;
3980 PyObject * _obj2 = 0;
3981 int tempbool3;
3982 int tempbool4;
3983 char *_kwnames[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL };
3984
3985 self = self;
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOii:wxDragImage_RedrawImage",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3,&tempbool4))
3987 return NULL;
3988 if (_argo0) {
3989 if (_argo0 == Py_None) { _arg0 = NULL; }
3990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3992 return NULL;
3993 }
3994 }
3995 {
3996 _arg1 = &temp;
3997 if (! wxPoint_helper(_obj1, &_arg1))
3998 return NULL;
3999 }
4000 {
4001 _arg2 = &temp0;
4002 if (! wxPoint_helper(_obj2, &_arg2))
4003 return NULL;
4004 }
4005 _arg3 = (bool ) tempbool3;
4006 _arg4 = (bool ) tempbool4;
4007 {
4008 wxPy_BEGIN_ALLOW_THREADS;
4009 _result = (bool )wxDragImage_RedrawImage(_arg0,*_arg1,*_arg2,_arg3,_arg4);
4010
4011 wxPy_END_ALLOW_THREADS;
4012 } _resultobj = Py_BuildValue("i",_result);
4013 return _resultobj;
4014 }
4015
4016 static void *SwigwxPyTimerTowxObject(void *ptr) {
4017 wxPyTimer *src;
4018 wxObject *dest;
4019 src = (wxPyTimer *) ptr;
4020 dest = (wxObject *) src;
4021 return (void *) dest;
4022 }
4023
4024 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4025 static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject * _resultobj;
4027 wxPyTimer * _result;
4028 PyObject * _arg0;
4029 PyObject * _obj0 = 0;
4030 char *_kwnames[] = { "notify", NULL };
4031 char _ptemp[128];
4032
4033 self = self;
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPyTimer",_kwnames,&_obj0))
4035 return NULL;
4036 {
4037 _arg0 = _obj0;
4038 }
4039 {
4040 wxPy_BEGIN_ALLOW_THREADS;
4041 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
4042
4043 wxPy_END_ALLOW_THREADS;
4044 } if (_result) {
4045 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
4046 _resultobj = Py_BuildValue("s",_ptemp);
4047 } else {
4048 Py_INCREF(Py_None);
4049 _resultobj = Py_None;
4050 }
4051 return _resultobj;
4052 }
4053
4054 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4055 static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject * _resultobj;
4057 wxPyTimer * _arg0;
4058 PyObject * _argo0 = 0;
4059 char *_kwnames[] = { "self", NULL };
4060
4061 self = self;
4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyTimer",_kwnames,&_argo0))
4063 return NULL;
4064 if (_argo0) {
4065 if (_argo0 == Py_None) { _arg0 = NULL; }
4066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4068 return NULL;
4069 }
4070 }
4071 {
4072 wxPy_BEGIN_ALLOW_THREADS;
4073 delete_wxPyTimer(_arg0);
4074
4075 wxPy_END_ALLOW_THREADS;
4076 } Py_INCREF(Py_None);
4077 _resultobj = Py_None;
4078 return _resultobj;
4079 }
4080
4081 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4082 static PyObject *_wrap_wxPyTimer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
4083 PyObject * _resultobj;
4084 int _result;
4085 wxPyTimer * _arg0;
4086 PyObject * _argo0 = 0;
4087 char *_kwnames[] = { "self", NULL };
4088
4089 self = self;
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_GetInterval",_kwnames,&_argo0))
4091 return NULL;
4092 if (_argo0) {
4093 if (_argo0 == Py_None) { _arg0 = NULL; }
4094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4096 return NULL;
4097 }
4098 }
4099 {
4100 wxPy_BEGIN_ALLOW_THREADS;
4101 _result = (int )wxPyTimer_GetInterval(_arg0);
4102
4103 wxPy_END_ALLOW_THREADS;
4104 } _resultobj = Py_BuildValue("i",_result);
4105 return _resultobj;
4106 }
4107
4108 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4109 static PyObject *_wrap_wxPyTimer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
4110 PyObject * _resultobj;
4111 bool _result;
4112 wxPyTimer * _arg0;
4113 PyObject * _argo0 = 0;
4114 char *_kwnames[] = { "self", NULL };
4115
4116 self = self;
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsOneShot",_kwnames,&_argo0))
4118 return NULL;
4119 if (_argo0) {
4120 if (_argo0 == Py_None) { _arg0 = NULL; }
4121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4123 return NULL;
4124 }
4125 }
4126 {
4127 wxPy_BEGIN_ALLOW_THREADS;
4128 _result = (bool )wxPyTimer_IsOneShot(_arg0);
4129
4130 wxPy_END_ALLOW_THREADS;
4131 } _resultobj = Py_BuildValue("i",_result);
4132 return _resultobj;
4133 }
4134
4135 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4136 static PyObject *_wrap_wxPyTimer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject * _resultobj;
4138 bool _result;
4139 wxPyTimer * _arg0;
4140 PyObject * _argo0 = 0;
4141 char *_kwnames[] = { "self", NULL };
4142
4143 self = self;
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsRunning",_kwnames,&_argo0))
4145 return NULL;
4146 if (_argo0) {
4147 if (_argo0 == Py_None) { _arg0 = NULL; }
4148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4150 return NULL;
4151 }
4152 }
4153 {
4154 wxPy_BEGIN_ALLOW_THREADS;
4155 _result = (bool )wxPyTimer_IsRunning(_arg0);
4156
4157 wxPy_END_ALLOW_THREADS;
4158 } _resultobj = Py_BuildValue("i",_result);
4159 return _resultobj;
4160 }
4161
4162 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4163 static PyObject *_wrap_wxPyTimer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
4164 PyObject * _resultobj;
4165 wxPyTimer * _arg0;
4166 wxEvtHandler * _arg1;
4167 int _arg2 = (int ) -1;
4168 PyObject * _argo0 = 0;
4169 PyObject * _argo1 = 0;
4170 char *_kwnames[] = { "self","owner","id", NULL };
4171
4172 self = self;
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTimer_SetOwner",_kwnames,&_argo0,&_argo1,&_arg2))
4174 return NULL;
4175 if (_argo0) {
4176 if (_argo0 == Py_None) { _arg0 = NULL; }
4177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4179 return NULL;
4180 }
4181 }
4182 if (_argo1) {
4183 if (_argo1 == Py_None) { _arg1 = NULL; }
4184 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4185 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4186 return NULL;
4187 }
4188 }
4189 {
4190 wxPy_BEGIN_ALLOW_THREADS;
4191 wxPyTimer_SetOwner(_arg0,_arg1,_arg2);
4192
4193 wxPy_END_ALLOW_THREADS;
4194 } Py_INCREF(Py_None);
4195 _resultobj = Py_None;
4196 return _resultobj;
4197 }
4198
4199 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4200 static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4201 PyObject * _resultobj;
4202 wxPyTimer * _arg0;
4203 int _arg1 = (int ) -1;
4204 int _arg2 = (int ) FALSE;
4205 PyObject * _argo0 = 0;
4206 char *_kwnames[] = { "self","milliseconds","oneShot", NULL };
4207
4208 self = self;
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyTimer_Start",_kwnames,&_argo0,&_arg1,&_arg2))
4210 return NULL;
4211 if (_argo0) {
4212 if (_argo0 == Py_None) { _arg0 = NULL; }
4213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4215 return NULL;
4216 }
4217 }
4218 {
4219 wxPy_BEGIN_ALLOW_THREADS;
4220 wxPyTimer_Start(_arg0,_arg1,_arg2);
4221
4222 wxPy_END_ALLOW_THREADS;
4223 } Py_INCREF(Py_None);
4224 _resultobj = Py_None;
4225 return _resultobj;
4226 }
4227
4228 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4229 static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
4230 PyObject * _resultobj;
4231 wxPyTimer * _arg0;
4232 PyObject * _argo0 = 0;
4233 char *_kwnames[] = { "self", NULL };
4234
4235 self = self;
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_Stop",_kwnames,&_argo0))
4237 return NULL;
4238 if (_argo0) {
4239 if (_argo0 == Py_None) { _arg0 = NULL; }
4240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4242 return NULL;
4243 }
4244 }
4245 {
4246 wxPy_BEGIN_ALLOW_THREADS;
4247 wxPyTimer_Stop(_arg0);
4248
4249 wxPy_END_ALLOW_THREADS;
4250 } Py_INCREF(Py_None);
4251 _resultobj = Py_None;
4252 return _resultobj;
4253 }
4254
4255 #define new_wxLog() (new wxLog())
4256 static PyObject *_wrap_new_wxLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject * _resultobj;
4258 wxLog * _result;
4259 char *_kwnames[] = { NULL };
4260 char _ptemp[128];
4261
4262 self = self;
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLog",_kwnames))
4264 return NULL;
4265 {
4266 wxPy_BEGIN_ALLOW_THREADS;
4267 _result = (wxLog *)new_wxLog();
4268
4269 wxPy_END_ALLOW_THREADS;
4270 } if (_result) {
4271 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4272 _resultobj = Py_BuildValue("s",_ptemp);
4273 } else {
4274 Py_INCREF(Py_None);
4275 _resultobj = Py_None;
4276 }
4277 return _resultobj;
4278 }
4279
4280 static PyObject *_wrap_wxLog_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
4281 PyObject * _resultobj;
4282 bool _result;
4283 char *_kwnames[] = { NULL };
4284
4285 self = self;
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_IsEnabled",_kwnames))
4287 return NULL;
4288 {
4289 wxPy_BEGIN_ALLOW_THREADS;
4290 _result = (bool )wxLog::IsEnabled();
4291
4292 wxPy_END_ALLOW_THREADS;
4293 } _resultobj = Py_BuildValue("i",_result);
4294 return _resultobj;
4295 }
4296
4297 static PyObject *_wrap_wxLog_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject * _resultobj;
4299 bool _result;
4300 bool _arg0 = (bool ) TRUE;
4301 int tempbool0 = (int) TRUE;
4302 char *_kwnames[] = { "doIt", NULL };
4303
4304 self = self;
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxLog_EnableLogging",_kwnames,&tempbool0))
4306 return NULL;
4307 _arg0 = (bool ) tempbool0;
4308 {
4309 wxPy_BEGIN_ALLOW_THREADS;
4310 _result = (bool )wxLog::EnableLogging(_arg0);
4311
4312 wxPy_END_ALLOW_THREADS;
4313 } _resultobj = Py_BuildValue("i",_result);
4314 return _resultobj;
4315 }
4316
4317 static PyObject *_wrap_wxLog_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4318 PyObject * _resultobj;
4319 wxLogLevel * _arg0;
4320 char * _arg1;
4321 int _arg2 = (int ) 0;
4322 PyObject * _argo0 = 0;
4323 char *_kwnames[] = { "level","szString","t", NULL };
4324
4325 self = self;
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|i:wxLog_OnLog",_kwnames,&_argo0,&_arg1,&_arg2))
4327 return NULL;
4328 if (_argo0) {
4329 if (_argo0 == Py_None) { _arg0 = NULL; }
4330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogLevel_p")) {
4331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4332 return NULL;
4333 }
4334 }
4335 {
4336 wxPy_BEGIN_ALLOW_THREADS;
4337 wxLog::OnLog(*_arg0,_arg1,_arg2);
4338
4339 wxPy_END_ALLOW_THREADS;
4340 } Py_INCREF(Py_None);
4341 _resultobj = Py_None;
4342 return _resultobj;
4343 }
4344
4345 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4346 static PyObject *_wrap_wxLog_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4347 PyObject * _resultobj;
4348 wxLog * _arg0;
4349 PyObject * _argo0 = 0;
4350 char *_kwnames[] = { "self", NULL };
4351
4352 self = self;
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_Flush",_kwnames,&_argo0))
4354 return NULL;
4355 if (_argo0) {
4356 if (_argo0 == Py_None) { _arg0 = NULL; }
4357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4359 return NULL;
4360 }
4361 }
4362 {
4363 wxPy_BEGIN_ALLOW_THREADS;
4364 wxLog_Flush(_arg0);
4365
4366 wxPy_END_ALLOW_THREADS;
4367 } Py_INCREF(Py_None);
4368 _resultobj = Py_None;
4369 return _resultobj;
4370 }
4371
4372 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4373 static PyObject *_wrap_wxLog_HasPendingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject * _resultobj;
4375 bool _result;
4376 wxLog * _arg0;
4377 PyObject * _argo0 = 0;
4378 char *_kwnames[] = { "self", NULL };
4379
4380 self = self;
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_HasPendingMessages",_kwnames,&_argo0))
4382 return NULL;
4383 if (_argo0) {
4384 if (_argo0 == Py_None) { _arg0 = NULL; }
4385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4387 return NULL;
4388 }
4389 }
4390 {
4391 wxPy_BEGIN_ALLOW_THREADS;
4392 _result = (bool )wxLog_HasPendingMessages(_arg0);
4393
4394 wxPy_END_ALLOW_THREADS;
4395 } _resultobj = Py_BuildValue("i",_result);
4396 return _resultobj;
4397 }
4398
4399 static PyObject *_wrap_wxLog_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject * _resultobj;
4401 char *_kwnames[] = { NULL };
4402
4403 self = self;
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_FlushActive",_kwnames))
4405 return NULL;
4406 {
4407 wxPy_BEGIN_ALLOW_THREADS;
4408 wxLog::FlushActive();
4409
4410 wxPy_END_ALLOW_THREADS;
4411 } Py_INCREF(Py_None);
4412 _resultobj = Py_None;
4413 return _resultobj;
4414 }
4415
4416 static PyObject *_wrap_wxLog_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject * _resultobj;
4418 wxLog * _result;
4419 char *_kwnames[] = { NULL };
4420 char _ptemp[128];
4421
4422 self = self;
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetActiveTarget",_kwnames))
4424 return NULL;
4425 {
4426 wxPy_BEGIN_ALLOW_THREADS;
4427 _result = (wxLog *)wxLog::GetActiveTarget();
4428
4429 wxPy_END_ALLOW_THREADS;
4430 } if (_result) {
4431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4432 _resultobj = Py_BuildValue("s",_ptemp);
4433 } else {
4434 Py_INCREF(Py_None);
4435 _resultobj = Py_None;
4436 }
4437 return _resultobj;
4438 }
4439
4440 static PyObject *_wrap_wxLog_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4441 PyObject * _resultobj;
4442 wxLog * _result;
4443 wxLog * _arg0;
4444 PyObject * _argo0 = 0;
4445 char *_kwnames[] = { "pLogger", NULL };
4446 char _ptemp[128];
4447
4448 self = self;
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetActiveTarget",_kwnames,&_argo0))
4450 return NULL;
4451 if (_argo0) {
4452 if (_argo0 == Py_None) { _arg0 = NULL; }
4453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4455 return NULL;
4456 }
4457 }
4458 {
4459 wxPy_BEGIN_ALLOW_THREADS;
4460 _result = (wxLog *)wxLog::SetActiveTarget(_arg0);
4461
4462 wxPy_END_ALLOW_THREADS;
4463 } if (_result) {
4464 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4465 _resultobj = Py_BuildValue("s",_ptemp);
4466 } else {
4467 Py_INCREF(Py_None);
4468 _resultobj = Py_None;
4469 }
4470 return _resultobj;
4471 }
4472
4473 static PyObject *_wrap_wxLog_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject * _resultobj;
4475 char *_kwnames[] = { NULL };
4476
4477 self = self;
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Suspend",_kwnames))
4479 return NULL;
4480 {
4481 wxPy_BEGIN_ALLOW_THREADS;
4482 wxLog::Suspend();
4483
4484 wxPy_END_ALLOW_THREADS;
4485 } Py_INCREF(Py_None);
4486 _resultobj = Py_None;
4487 return _resultobj;
4488 }
4489
4490 static PyObject *_wrap_wxLog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject * _resultobj;
4492 char *_kwnames[] = { NULL };
4493
4494 self = self;
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Resume",_kwnames))
4496 return NULL;
4497 {
4498 wxPy_BEGIN_ALLOW_THREADS;
4499 wxLog::Resume();
4500
4501 wxPy_END_ALLOW_THREADS;
4502 } Py_INCREF(Py_None);
4503 _resultobj = Py_None;
4504 return _resultobj;
4505 }
4506
4507 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4508 static PyObject *_wrap_wxLog_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject * _resultobj;
4510 wxLog * _arg0;
4511 bool _arg1 = (bool ) TRUE;
4512 PyObject * _argo0 = 0;
4513 int tempbool1 = (int) TRUE;
4514 char *_kwnames[] = { "self","bVerbose", NULL };
4515
4516 self = self;
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLog_SetVerbose",_kwnames,&_argo0,&tempbool1))
4518 return NULL;
4519 if (_argo0) {
4520 if (_argo0 == Py_None) { _arg0 = NULL; }
4521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4523 return NULL;
4524 }
4525 }
4526 _arg1 = (bool ) tempbool1;
4527 {
4528 wxPy_BEGIN_ALLOW_THREADS;
4529 wxLog_SetVerbose(_arg0,_arg1);
4530
4531 wxPy_END_ALLOW_THREADS;
4532 } Py_INCREF(Py_None);
4533 _resultobj = Py_None;
4534 return _resultobj;
4535 }
4536
4537 static PyObject *_wrap_wxLog_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
4538 PyObject * _resultobj;
4539 char *_kwnames[] = { NULL };
4540
4541 self = self;
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_DontCreateOnDemand",_kwnames))
4543 return NULL;
4544 {
4545 wxPy_BEGIN_ALLOW_THREADS;
4546 wxLog::DontCreateOnDemand();
4547
4548 wxPy_END_ALLOW_THREADS;
4549 } Py_INCREF(Py_None);
4550 _resultobj = Py_None;
4551 return _resultobj;
4552 }
4553
4554 static PyObject *_wrap_wxLog_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject * _resultobj;
4556 wxTraceMask * _arg0;
4557 PyObject * _argo0 = 0;
4558 char *_kwnames[] = { "ulMask", NULL };
4559
4560 self = self;
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetTraceMask",_kwnames,&_argo0))
4562 return NULL;
4563 if (_argo0) {
4564 if (_argo0 == Py_None) { _arg0 = NULL; }
4565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTraceMask_p")) {
4566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4567 return NULL;
4568 }
4569 }
4570 {
4571 wxPy_BEGIN_ALLOW_THREADS;
4572 wxLog::SetTraceMask(*_arg0);
4573
4574 wxPy_END_ALLOW_THREADS;
4575 } Py_INCREF(Py_None);
4576 _resultobj = Py_None;
4577 return _resultobj;
4578 }
4579
4580 static PyObject *_wrap_wxLog_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4581 PyObject * _resultobj;
4582 wxString * _arg0;
4583 PyObject * _obj0 = 0;
4584 char *_kwnames[] = { "str", NULL };
4585
4586 self = self;
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_AddTraceMask",_kwnames,&_obj0))
4588 return NULL;
4589 {
4590 #if PYTHON_API_VERSION >= 1009
4591 char* tmpPtr; int tmpSize;
4592 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
4593 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4594 return NULL;
4595 }
4596 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
4597 return NULL;
4598 _arg0 = new wxString(tmpPtr, tmpSize);
4599 #else
4600 if (!PyString_Check(_obj0)) {
4601 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4602 return NULL;
4603 }
4604 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
4605 #endif
4606 }
4607 {
4608 wxPy_BEGIN_ALLOW_THREADS;
4609 wxLog::AddTraceMask(*_arg0);
4610
4611 wxPy_END_ALLOW_THREADS;
4612 } Py_INCREF(Py_None);
4613 _resultobj = Py_None;
4614 {
4615 if (_obj0)
4616 delete _arg0;
4617 }
4618 return _resultobj;
4619 }
4620
4621 static PyObject *_wrap_wxLog_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject * _resultobj;
4623 wxString * _arg0;
4624 PyObject * _obj0 = 0;
4625 char *_kwnames[] = { "str", NULL };
4626
4627 self = self;
4628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_RemoveTraceMask",_kwnames,&_obj0))
4629 return NULL;
4630 {
4631 #if PYTHON_API_VERSION >= 1009
4632 char* tmpPtr; int tmpSize;
4633 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
4634 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4635 return NULL;
4636 }
4637 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
4638 return NULL;
4639 _arg0 = new wxString(tmpPtr, tmpSize);
4640 #else
4641 if (!PyString_Check(_obj0)) {
4642 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4643 return NULL;
4644 }
4645 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
4646 #endif
4647 }
4648 {
4649 wxPy_BEGIN_ALLOW_THREADS;
4650 wxLog::RemoveTraceMask(*_arg0);
4651
4652 wxPy_END_ALLOW_THREADS;
4653 } Py_INCREF(Py_None);
4654 _resultobj = Py_None;
4655 {
4656 if (_obj0)
4657 delete _arg0;
4658 }
4659 return _resultobj;
4660 }
4661
4662 static PyObject *_wrap_wxLog_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject * _resultobj;
4664 char *_kwnames[] = { NULL };
4665
4666 self = self;
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_ClearTraceMasks",_kwnames))
4668 return NULL;
4669 {
4670 wxPy_BEGIN_ALLOW_THREADS;
4671 wxLog::ClearTraceMasks();
4672
4673 wxPy_END_ALLOW_THREADS;
4674 } Py_INCREF(Py_None);
4675 _resultobj = Py_None;
4676 return _resultobj;
4677 }
4678
4679 static PyObject *_wrap_wxLog_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4680 PyObject * _resultobj;
4681 wxChar * _arg0;
4682 char *_kwnames[] = { "ts", NULL };
4683
4684 self = self;
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLog_SetTimestamp",_kwnames,&_arg0))
4686 return NULL;
4687 {
4688 wxPy_BEGIN_ALLOW_THREADS;
4689 wxLog::SetTimestamp(_arg0);
4690
4691 wxPy_END_ALLOW_THREADS;
4692 } Py_INCREF(Py_None);
4693 _resultobj = Py_None;
4694 return _resultobj;
4695 }
4696
4697 static PyObject *_wrap_wxLog_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4698 PyObject * _resultobj;
4699 wxChar * _result;
4700 char *_kwnames[] = { NULL };
4701
4702 self = self;
4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTimestamp",_kwnames))
4704 return NULL;
4705 {
4706 wxPy_BEGIN_ALLOW_THREADS;
4707 _result = (wxChar *)wxLog::GetTimestamp();
4708
4709 wxPy_END_ALLOW_THREADS;
4710 } _resultobj = Py_BuildValue("s", _result);
4711 return _resultobj;
4712 }
4713
4714 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4715 static PyObject *_wrap_wxLog_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4716 PyObject * _resultobj;
4717 bool _result;
4718 wxLog * _arg0;
4719 PyObject * _argo0 = 0;
4720 char *_kwnames[] = { "self", NULL };
4721
4722 self = self;
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_GetVerbose",_kwnames,&_argo0))
4724 return NULL;
4725 if (_argo0) {
4726 if (_argo0 == Py_None) { _arg0 = NULL; }
4727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4729 return NULL;
4730 }
4731 }
4732 {
4733 wxPy_BEGIN_ALLOW_THREADS;
4734 _result = (bool )wxLog_GetVerbose(_arg0);
4735
4736 wxPy_END_ALLOW_THREADS;
4737 } _resultobj = Py_BuildValue("i",_result);
4738 return _resultobj;
4739 }
4740
4741 static PyObject *_wrap_wxLog_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject * _resultobj;
4743 wxTraceMask * _result;
4744 char *_kwnames[] = { NULL };
4745 char _ptemp[128];
4746
4747 self = self;
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTraceMask",_kwnames))
4749 return NULL;
4750 {
4751 wxPy_BEGIN_ALLOW_THREADS;
4752 _result = new wxTraceMask (wxLog::GetTraceMask());
4753
4754 wxPy_END_ALLOW_THREADS;
4755 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTraceMask_p");
4756 _resultobj = Py_BuildValue("s",_ptemp);
4757 return _resultobj;
4758 }
4759
4760 static PyObject *_wrap_wxLog_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4761 PyObject * _resultobj;
4762 bool _result;
4763 char * _arg0;
4764 char *_kwnames[] = { "mask", NULL };
4765
4766 self = self;
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLog_IsAllowedTraceMask",_kwnames,&_arg0))
4768 return NULL;
4769 {
4770 wxPy_BEGIN_ALLOW_THREADS;
4771 _result = (bool )wxLog::IsAllowedTraceMask(_arg0);
4772
4773 wxPy_END_ALLOW_THREADS;
4774 } _resultobj = Py_BuildValue("i",_result);
4775 return _resultobj;
4776 }
4777
4778 static wxString wxLog_TimeStamp(wxLog *self) {
4779 wxString msg;
4780 wxLog::TimeStamp(&msg);
4781 return msg;
4782 }
4783 static PyObject *_wrap_wxLog_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4784 PyObject * _resultobj;
4785 wxString * _result;
4786 wxLog * _arg0;
4787 PyObject * _argo0 = 0;
4788 char *_kwnames[] = { "self", NULL };
4789
4790 self = self;
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_TimeStamp",_kwnames,&_argo0))
4792 return NULL;
4793 if (_argo0) {
4794 if (_argo0 == Py_None) { _arg0 = NULL; }
4795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4797 return NULL;
4798 }
4799 }
4800 {
4801 wxPy_BEGIN_ALLOW_THREADS;
4802 _result = new wxString (wxLog_TimeStamp(_arg0));
4803
4804 wxPy_END_ALLOW_THREADS;
4805 }{
4806 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4807 }
4808 {
4809 delete _result;
4810 }
4811 return _resultobj;
4812 }
4813
4814 static void *SwigwxLogStderrTowxLog(void *ptr) {
4815 wxLogStderr *src;
4816 wxLog *dest;
4817 src = (wxLogStderr *) ptr;
4818 dest = (wxLog *) src;
4819 return (void *) dest;
4820 }
4821
4822 #define new_wxLogStderr() (new wxLogStderr())
4823 static PyObject *_wrap_new_wxLogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject * _resultobj;
4825 wxLogStderr * _result;
4826 char *_kwnames[] = { NULL };
4827 char _ptemp[128];
4828
4829 self = self;
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogStderr",_kwnames))
4831 return NULL;
4832 {
4833 wxPy_BEGIN_ALLOW_THREADS;
4834 _result = (wxLogStderr *)new_wxLogStderr();
4835
4836 wxPy_END_ALLOW_THREADS;
4837 } if (_result) {
4838 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogStderr_p");
4839 _resultobj = Py_BuildValue("s",_ptemp);
4840 } else {
4841 Py_INCREF(Py_None);
4842 _resultobj = Py_None;
4843 }
4844 return _resultobj;
4845 }
4846
4847 static void *SwigwxLogTextCtrlTowxLog(void *ptr) {
4848 wxLogTextCtrl *src;
4849 wxLog *dest;
4850 src = (wxLogTextCtrl *) ptr;
4851 dest = (wxLog *) src;
4852 return (void *) dest;
4853 }
4854
4855 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4856 static PyObject *_wrap_new_wxLogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
4857 PyObject * _resultobj;
4858 wxLogTextCtrl * _result;
4859 wxTextCtrl * _arg0;
4860 PyObject * _argo0 = 0;
4861 char *_kwnames[] = { "pTextCtrl", NULL };
4862 char _ptemp[128];
4863
4864 self = self;
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogTextCtrl",_kwnames,&_argo0))
4866 return NULL;
4867 if (_argo0) {
4868 if (_argo0 == Py_None) { _arg0 = NULL; }
4869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4871 return NULL;
4872 }
4873 }
4874 {
4875 wxPy_BEGIN_ALLOW_THREADS;
4876 _result = (wxLogTextCtrl *)new_wxLogTextCtrl(_arg0);
4877
4878 wxPy_END_ALLOW_THREADS;
4879 } if (_result) {
4880 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogTextCtrl_p");
4881 _resultobj = Py_BuildValue("s",_ptemp);
4882 } else {
4883 Py_INCREF(Py_None);
4884 _resultobj = Py_None;
4885 }
4886 return _resultobj;
4887 }
4888
4889 static void *SwigwxLogGuiTowxLog(void *ptr) {
4890 wxLogGui *src;
4891 wxLog *dest;
4892 src = (wxLogGui *) ptr;
4893 dest = (wxLog *) src;
4894 return (void *) dest;
4895 }
4896
4897 #define new_wxLogGui() (new wxLogGui())
4898 static PyObject *_wrap_new_wxLogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject * _resultobj;
4900 wxLogGui * _result;
4901 char *_kwnames[] = { NULL };
4902 char _ptemp[128];
4903
4904 self = self;
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogGui",_kwnames))
4906 return NULL;
4907 {
4908 wxPy_BEGIN_ALLOW_THREADS;
4909 _result = (wxLogGui *)new_wxLogGui();
4910
4911 wxPy_END_ALLOW_THREADS;
4912 } if (_result) {
4913 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogGui_p");
4914 _resultobj = Py_BuildValue("s",_ptemp);
4915 } else {
4916 Py_INCREF(Py_None);
4917 _resultobj = Py_None;
4918 }
4919 return _resultobj;
4920 }
4921
4922 static void *SwigwxLogWindowTowxLog(void *ptr) {
4923 wxLogWindow *src;
4924 wxLog *dest;
4925 src = (wxLogWindow *) ptr;
4926 dest = (wxLog *) src;
4927 return (void *) dest;
4928 }
4929
4930 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4931 static PyObject *_wrap_new_wxLogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject * _resultobj;
4933 wxLogWindow * _result;
4934 wxFrame * _arg0;
4935 char * _arg1;
4936 bool _arg2 = (bool ) TRUE;
4937 bool _arg3 = (bool ) TRUE;
4938 PyObject * _argo0 = 0;
4939 int tempbool2 = (int) TRUE;
4940 int tempbool3 = (int) TRUE;
4941 char *_kwnames[] = { "pParent","szTitle","bShow","bPassToOld", NULL };
4942 char _ptemp[128];
4943
4944 self = self;
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|ii:new_wxLogWindow",_kwnames,&_argo0,&_arg1,&tempbool2,&tempbool3))
4946 return NULL;
4947 if (_argo0) {
4948 if (_argo0 == Py_None) { _arg0 = NULL; }
4949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
4950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4951 return NULL;
4952 }
4953 }
4954 _arg2 = (bool ) tempbool2;
4955 _arg3 = (bool ) tempbool3;
4956 {
4957 wxPy_BEGIN_ALLOW_THREADS;
4958 _result = (wxLogWindow *)new_wxLogWindow(_arg0,_arg1,_arg2,_arg3);
4959
4960 wxPy_END_ALLOW_THREADS;
4961 } if (_result) {
4962 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogWindow_p");
4963 _resultobj = Py_BuildValue("s",_ptemp);
4964 } else {
4965 Py_INCREF(Py_None);
4966 _resultobj = Py_None;
4967 }
4968 return _resultobj;
4969 }
4970
4971 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4972 static PyObject *_wrap_wxLogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4973 PyObject * _resultobj;
4974 wxLogWindow * _arg0;
4975 bool _arg1 = (bool ) TRUE;
4976 PyObject * _argo0 = 0;
4977 int tempbool1 = (int) TRUE;
4978 char *_kwnames[] = { "self","bShow", NULL };
4979
4980 self = self;
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLogWindow_Show",_kwnames,&_argo0,&tempbool1))
4982 return NULL;
4983 if (_argo0) {
4984 if (_argo0 == Py_None) { _arg0 = NULL; }
4985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
4986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4987 return NULL;
4988 }
4989 }
4990 _arg1 = (bool ) tempbool1;
4991 {
4992 wxPy_BEGIN_ALLOW_THREADS;
4993 wxLogWindow_Show(_arg0,_arg1);
4994
4995 wxPy_END_ALLOW_THREADS;
4996 } Py_INCREF(Py_None);
4997 _resultobj = Py_None;
4998 return _resultobj;
4999 }
5000
5001 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5002 static PyObject *_wrap_wxLogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5003 PyObject * _resultobj;
5004 wxFrame * _result;
5005 wxLogWindow * _arg0;
5006 PyObject * _argo0 = 0;
5007 char *_kwnames[] = { "self", NULL };
5008
5009 self = self;
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetFrame",_kwnames,&_argo0))
5011 return NULL;
5012 if (_argo0) {
5013 if (_argo0 == Py_None) { _arg0 = NULL; }
5014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5016 return NULL;
5017 }
5018 }
5019 {
5020 wxPy_BEGIN_ALLOW_THREADS;
5021 _result = (wxFrame *)wxLogWindow_GetFrame(_arg0);
5022
5023 wxPy_END_ALLOW_THREADS;
5024 }{ _resultobj = wxPyMake_wxObject(_result); }
5025 return _resultobj;
5026 }
5027
5028 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5029 static PyObject *_wrap_wxLogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject * _resultobj;
5031 wxLog * _result;
5032 wxLogWindow * _arg0;
5033 PyObject * _argo0 = 0;
5034 char *_kwnames[] = { "self", NULL };
5035 char _ptemp[128];
5036
5037 self = self;
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetOldLog",_kwnames,&_argo0))
5039 return NULL;
5040 if (_argo0) {
5041 if (_argo0 == Py_None) { _arg0 = NULL; }
5042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5044 return NULL;
5045 }
5046 }
5047 {
5048 wxPy_BEGIN_ALLOW_THREADS;
5049 _result = (wxLog *)wxLogWindow_GetOldLog(_arg0);
5050
5051 wxPy_END_ALLOW_THREADS;
5052 } if (_result) {
5053 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5054 _resultobj = Py_BuildValue("s",_ptemp);
5055 } else {
5056 Py_INCREF(Py_None);
5057 _resultobj = Py_None;
5058 }
5059 return _resultobj;
5060 }
5061
5062 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5063 static PyObject *_wrap_wxLogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject * _resultobj;
5065 bool _result;
5066 wxLogWindow * _arg0;
5067 PyObject * _argo0 = 0;
5068 char *_kwnames[] = { "self", NULL };
5069
5070 self = self;
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_IsPassingMessages",_kwnames,&_argo0))
5072 return NULL;
5073 if (_argo0) {
5074 if (_argo0 == Py_None) { _arg0 = NULL; }
5075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5077 return NULL;
5078 }
5079 }
5080 {
5081 wxPy_BEGIN_ALLOW_THREADS;
5082 _result = (bool )wxLogWindow_IsPassingMessages(_arg0);
5083
5084 wxPy_END_ALLOW_THREADS;
5085 } _resultobj = Py_BuildValue("i",_result);
5086 return _resultobj;
5087 }
5088
5089 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5090 static PyObject *_wrap_wxLogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject * _resultobj;
5092 wxLogWindow * _arg0;
5093 bool _arg1;
5094 PyObject * _argo0 = 0;
5095 int tempbool1;
5096 char *_kwnames[] = { "self","bDoPass", NULL };
5097
5098 self = self;
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogWindow_PassMessages",_kwnames,&_argo0,&tempbool1))
5100 return NULL;
5101 if (_argo0) {
5102 if (_argo0 == Py_None) { _arg0 = NULL; }
5103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5105 return NULL;
5106 }
5107 }
5108 _arg1 = (bool ) tempbool1;
5109 {
5110 wxPy_BEGIN_ALLOW_THREADS;
5111 wxLogWindow_PassMessages(_arg0,_arg1);
5112
5113 wxPy_END_ALLOW_THREADS;
5114 } Py_INCREF(Py_None);
5115 _resultobj = Py_None;
5116 return _resultobj;
5117 }
5118
5119 #define new_wxLogNull() (new wxLogNull())
5120 static PyObject *_wrap_new_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject * _resultobj;
5122 wxLogNull * _result;
5123 char *_kwnames[] = { NULL };
5124 char _ptemp[128];
5125
5126 self = self;
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogNull",_kwnames))
5128 return NULL;
5129 {
5130 wxPy_BEGIN_ALLOW_THREADS;
5131 _result = (wxLogNull *)new_wxLogNull();
5132
5133 wxPy_END_ALLOW_THREADS;
5134 } if (_result) {
5135 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogNull_p");
5136 _resultobj = Py_BuildValue("s",_ptemp);
5137 } else {
5138 Py_INCREF(Py_None);
5139 _resultobj = Py_None;
5140 }
5141 return _resultobj;
5142 }
5143
5144 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5145 static PyObject *_wrap_delete_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5146 PyObject * _resultobj;
5147 wxLogNull * _arg0;
5148 PyObject * _argo0 = 0;
5149 char *_kwnames[] = { "self", NULL };
5150
5151 self = self;
5152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLogNull",_kwnames,&_argo0))
5153 return NULL;
5154 if (_argo0) {
5155 if (_argo0 == Py_None) { _arg0 = NULL; }
5156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogNull_p")) {
5157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5158 return NULL;
5159 }
5160 }
5161 {
5162 wxPy_BEGIN_ALLOW_THREADS;
5163 delete_wxLogNull(_arg0);
5164
5165 wxPy_END_ALLOW_THREADS;
5166 } Py_INCREF(Py_None);
5167 _resultobj = Py_None;
5168 return _resultobj;
5169 }
5170
5171 static void *SwigwxLogChainTowxLog(void *ptr) {
5172 wxLogChain *src;
5173 wxLog *dest;
5174 src = (wxLogChain *) ptr;
5175 dest = (wxLog *) src;
5176 return (void *) dest;
5177 }
5178
5179 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5180 static PyObject *_wrap_new_wxLogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject * _resultobj;
5182 wxLogChain * _result;
5183 wxLog * _arg0;
5184 PyObject * _argo0 = 0;
5185 char *_kwnames[] = { "logger", NULL };
5186 char _ptemp[128];
5187
5188 self = self;
5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogChain",_kwnames,&_argo0))
5190 return NULL;
5191 if (_argo0) {
5192 if (_argo0 == Py_None) { _arg0 = NULL; }
5193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5195 return NULL;
5196 }
5197 }
5198 {
5199 wxPy_BEGIN_ALLOW_THREADS;
5200 _result = (wxLogChain *)new_wxLogChain(_arg0);
5201
5202 wxPy_END_ALLOW_THREADS;
5203 } if (_result) {
5204 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogChain_p");
5205 _resultobj = Py_BuildValue("s",_ptemp);
5206 } else {
5207 Py_INCREF(Py_None);
5208 _resultobj = Py_None;
5209 }
5210 return _resultobj;
5211 }
5212
5213 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5214 static PyObject *_wrap_wxLogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5215 PyObject * _resultobj;
5216 wxLogChain * _arg0;
5217 wxLog * _arg1;
5218 PyObject * _argo0 = 0;
5219 PyObject * _argo1 = 0;
5220 char *_kwnames[] = { "self","logger", NULL };
5221
5222 self = self;
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxLogChain_SetLog",_kwnames,&_argo0,&_argo1))
5224 return NULL;
5225 if (_argo0) {
5226 if (_argo0 == Py_None) { _arg0 = NULL; }
5227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5229 return NULL;
5230 }
5231 }
5232 if (_argo1) {
5233 if (_argo1 == Py_None) { _arg1 = NULL; }
5234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLog_p")) {
5235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5236 return NULL;
5237 }
5238 }
5239 {
5240 wxPy_BEGIN_ALLOW_THREADS;
5241 wxLogChain_SetLog(_arg0,_arg1);
5242
5243 wxPy_END_ALLOW_THREADS;
5244 } Py_INCREF(Py_None);
5245 _resultobj = Py_None;
5246 return _resultobj;
5247 }
5248
5249 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5250 static PyObject *_wrap_wxLogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject * _resultobj;
5252 wxLogChain * _arg0;
5253 bool _arg1;
5254 PyObject * _argo0 = 0;
5255 int tempbool1;
5256 char *_kwnames[] = { "self","bDoPass", NULL };
5257
5258 self = self;
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogChain_PassMessages",_kwnames,&_argo0,&tempbool1))
5260 return NULL;
5261 if (_argo0) {
5262 if (_argo0 == Py_None) { _arg0 = NULL; }
5263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5265 return NULL;
5266 }
5267 }
5268 _arg1 = (bool ) tempbool1;
5269 {
5270 wxPy_BEGIN_ALLOW_THREADS;
5271 wxLogChain_PassMessages(_arg0,_arg1);
5272
5273 wxPy_END_ALLOW_THREADS;
5274 } Py_INCREF(Py_None);
5275 _resultobj = Py_None;
5276 return _resultobj;
5277 }
5278
5279 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5280 static PyObject *_wrap_wxLogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5281 PyObject * _resultobj;
5282 bool _result;
5283 wxLogChain * _arg0;
5284 PyObject * _argo0 = 0;
5285 char *_kwnames[] = { "self", NULL };
5286
5287 self = self;
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_IsPassingMessages",_kwnames,&_argo0))
5289 return NULL;
5290 if (_argo0) {
5291 if (_argo0 == Py_None) { _arg0 = NULL; }
5292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5294 return NULL;
5295 }
5296 }
5297 {
5298 wxPy_BEGIN_ALLOW_THREADS;
5299 _result = (bool )wxLogChain_IsPassingMessages(_arg0);
5300
5301 wxPy_END_ALLOW_THREADS;
5302 } _resultobj = Py_BuildValue("i",_result);
5303 return _resultobj;
5304 }
5305
5306 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5307 static PyObject *_wrap_wxLogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject * _resultobj;
5309 wxLog * _result;
5310 wxLogChain * _arg0;
5311 PyObject * _argo0 = 0;
5312 char *_kwnames[] = { "self", NULL };
5313 char _ptemp[128];
5314
5315 self = self;
5316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_GetOldLog",_kwnames,&_argo0))
5317 return NULL;
5318 if (_argo0) {
5319 if (_argo0 == Py_None) { _arg0 = NULL; }
5320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5322 return NULL;
5323 }
5324 }
5325 {
5326 wxPy_BEGIN_ALLOW_THREADS;
5327 _result = (wxLog *)wxLogChain_GetOldLog(_arg0);
5328
5329 wxPy_END_ALLOW_THREADS;
5330 } if (_result) {
5331 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_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 *SwigwxPyLogTowxLog(void *ptr) {
5341 wxPyLog *src;
5342 wxLog *dest;
5343 src = (wxPyLog *) ptr;
5344 dest = (wxLog *) src;
5345 return (void *) dest;
5346 }
5347
5348 #define new_wxPyLog() (new wxPyLog())
5349 static PyObject *_wrap_new_wxPyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject * _resultobj;
5351 wxPyLog * _result;
5352 char *_kwnames[] = { NULL };
5353 char _ptemp[128];
5354
5355 self = self;
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLog",_kwnames))
5357 return NULL;
5358 {
5359 wxPy_BEGIN_ALLOW_THREADS;
5360 _result = (wxPyLog *)new_wxPyLog();
5361
5362 wxPy_END_ALLOW_THREADS;
5363 } if (_result) {
5364 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLog_p");
5365 _resultobj = Py_BuildValue("s",_ptemp);
5366 } else {
5367 Py_INCREF(Py_None);
5368 _resultobj = Py_None;
5369 }
5370 return _resultobj;
5371 }
5372
5373 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5374 static PyObject *_wrap_wxPyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject * _resultobj;
5376 wxPyLog * _arg0;
5377 PyObject * _arg1;
5378 PyObject * _arg2;
5379 PyObject * _argo0 = 0;
5380 PyObject * _obj1 = 0;
5381 PyObject * _obj2 = 0;
5382 char *_kwnames[] = { "self","self","_class", NULL };
5383
5384 self = self;
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLog__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5386 return NULL;
5387 if (_argo0) {
5388 if (_argo0 == Py_None) { _arg0 = NULL; }
5389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5391 return NULL;
5392 }
5393 }
5394 {
5395 _arg1 = _obj1;
5396 }
5397 {
5398 _arg2 = _obj2;
5399 }
5400 {
5401 wxPy_BEGIN_ALLOW_THREADS;
5402 wxPyLog__setCallbackInfo(_arg0,_arg1,_arg2);
5403
5404 wxPy_END_ALLOW_THREADS;
5405 } Py_INCREF(Py_None);
5406 _resultobj = Py_None;
5407 return _resultobj;
5408 }
5409
5410 static void wxPyLog_Destroy(wxPyLog *self) { delete self; }
5411 static PyObject *_wrap_wxPyLog_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject * _resultobj;
5413 wxPyLog * _arg0;
5414 PyObject * _argo0 = 0;
5415 char *_kwnames[] = { "self", NULL };
5416
5417 self = self;
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLog_Destroy",_kwnames,&_argo0))
5419 return NULL;
5420 if (_argo0) {
5421 if (_argo0 == Py_None) { _arg0 = NULL; }
5422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5424 return NULL;
5425 }
5426 }
5427 {
5428 wxPy_BEGIN_ALLOW_THREADS;
5429 wxPyLog_Destroy(_arg0);
5430
5431 wxPy_END_ALLOW_THREADS;
5432 } Py_INCREF(Py_None);
5433 _resultobj = Py_None;
5434 return _resultobj;
5435 }
5436
5437 static void *SwigwxProcessEventTowxEvent(void *ptr) {
5438 wxProcessEvent *src;
5439 wxEvent *dest;
5440 src = (wxProcessEvent *) ptr;
5441 dest = (wxEvent *) src;
5442 return (void *) dest;
5443 }
5444
5445 static void *SwigwxProcessEventTowxObject(void *ptr) {
5446 wxProcessEvent *src;
5447 wxObject *dest;
5448 src = (wxProcessEvent *) ptr;
5449 dest = (wxObject *) src;
5450 return (void *) dest;
5451 }
5452
5453 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5454 static PyObject *_wrap_new_wxProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5455 PyObject * _resultobj;
5456 wxProcessEvent * _result;
5457 int _arg0 = (int ) 0;
5458 int _arg1 = (int ) 0;
5459 int _arg2 = (int ) 0;
5460 char *_kwnames[] = { "id","pid","exitcode", NULL };
5461 char _ptemp[128];
5462
5463 self = self;
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxProcessEvent",_kwnames,&_arg0,&_arg1,&_arg2))
5465 return NULL;
5466 {
5467 wxPy_BEGIN_ALLOW_THREADS;
5468 _result = (wxProcessEvent *)new_wxProcessEvent(_arg0,_arg1,_arg2);
5469
5470 wxPy_END_ALLOW_THREADS;
5471 } if (_result) {
5472 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProcessEvent_p");
5473 _resultobj = Py_BuildValue("s",_ptemp);
5474 } else {
5475 Py_INCREF(Py_None);
5476 _resultobj = Py_None;
5477 }
5478 return _resultobj;
5479 }
5480
5481 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5482 static PyObject *_wrap_wxProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject * _resultobj;
5484 int _result;
5485 wxProcessEvent * _arg0;
5486 PyObject * _argo0 = 0;
5487 char *_kwnames[] = { "self", NULL };
5488
5489 self = self;
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetPid",_kwnames,&_argo0))
5491 return NULL;
5492 if (_argo0) {
5493 if (_argo0 == Py_None) { _arg0 = NULL; }
5494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5496 return NULL;
5497 }
5498 }
5499 {
5500 wxPy_BEGIN_ALLOW_THREADS;
5501 _result = (int )wxProcessEvent_GetPid(_arg0);
5502
5503 wxPy_END_ALLOW_THREADS;
5504 } _resultobj = Py_BuildValue("i",_result);
5505 return _resultobj;
5506 }
5507
5508 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5509 static PyObject *_wrap_wxProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
5510 PyObject * _resultobj;
5511 int _result;
5512 wxProcessEvent * _arg0;
5513 PyObject * _argo0 = 0;
5514 char *_kwnames[] = { "self", NULL };
5515
5516 self = self;
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetExitCode",_kwnames,&_argo0))
5518 return NULL;
5519 if (_argo0) {
5520 if (_argo0 == Py_None) { _arg0 = NULL; }
5521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5523 return NULL;
5524 }
5525 }
5526 {
5527 wxPy_BEGIN_ALLOW_THREADS;
5528 _result = (int )wxProcessEvent_GetExitCode(_arg0);
5529
5530 wxPy_END_ALLOW_THREADS;
5531 } _resultobj = Py_BuildValue("i",_result);
5532 return _resultobj;
5533 }
5534
5535 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5536 static PyObject *_wrap_wxProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5537 PyObject * _resultobj;
5538 int _result;
5539 wxProcessEvent * _arg0;
5540 int _arg1;
5541 PyObject * _argo0 = 0;
5542 char *_kwnames[] = { "self","m_pid", NULL };
5543
5544 self = self;
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_pid_set",_kwnames,&_argo0,&_arg1))
5546 return NULL;
5547 if (_argo0) {
5548 if (_argo0 == Py_None) { _arg0 = NULL; }
5549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5551 return NULL;
5552 }
5553 }
5554 {
5555 wxPy_BEGIN_ALLOW_THREADS;
5556 _result = (int )wxProcessEvent_m_pid_set(_arg0,_arg1);
5557
5558 wxPy_END_ALLOW_THREADS;
5559 } _resultobj = Py_BuildValue("i",_result);
5560 return _resultobj;
5561 }
5562
5563 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5564 static PyObject *_wrap_wxProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5565 PyObject * _resultobj;
5566 int _result;
5567 wxProcessEvent * _arg0;
5568 PyObject * _argo0 = 0;
5569 char *_kwnames[] = { "self", NULL };
5570
5571 self = self;
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_pid_get",_kwnames,&_argo0))
5573 return NULL;
5574 if (_argo0) {
5575 if (_argo0 == Py_None) { _arg0 = NULL; }
5576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5578 return NULL;
5579 }
5580 }
5581 {
5582 wxPy_BEGIN_ALLOW_THREADS;
5583 _result = (int )wxProcessEvent_m_pid_get(_arg0);
5584
5585 wxPy_END_ALLOW_THREADS;
5586 } _resultobj = Py_BuildValue("i",_result);
5587 return _resultobj;
5588 }
5589
5590 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5591 static PyObject *_wrap_wxProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject * _resultobj;
5593 int _result;
5594 wxProcessEvent * _arg0;
5595 int _arg1;
5596 PyObject * _argo0 = 0;
5597 char *_kwnames[] = { "self","m_exitcode", NULL };
5598
5599 self = self;
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_exitcode_set",_kwnames,&_argo0,&_arg1))
5601 return NULL;
5602 if (_argo0) {
5603 if (_argo0 == Py_None) { _arg0 = NULL; }
5604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5606 return NULL;
5607 }
5608 }
5609 {
5610 wxPy_BEGIN_ALLOW_THREADS;
5611 _result = (int )wxProcessEvent_m_exitcode_set(_arg0,_arg1);
5612
5613 wxPy_END_ALLOW_THREADS;
5614 } _resultobj = Py_BuildValue("i",_result);
5615 return _resultobj;
5616 }
5617
5618 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5619 static PyObject *_wrap_wxProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5620 PyObject * _resultobj;
5621 int _result;
5622 wxProcessEvent * _arg0;
5623 PyObject * _argo0 = 0;
5624 char *_kwnames[] = { "self", NULL };
5625
5626 self = self;
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_exitcode_get",_kwnames,&_argo0))
5628 return NULL;
5629 if (_argo0) {
5630 if (_argo0 == Py_None) { _arg0 = NULL; }
5631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5633 return NULL;
5634 }
5635 }
5636 {
5637 wxPy_BEGIN_ALLOW_THREADS;
5638 _result = (int )wxProcessEvent_m_exitcode_get(_arg0);
5639
5640 wxPy_END_ALLOW_THREADS;
5641 } _resultobj = Py_BuildValue("i",_result);
5642 return _resultobj;
5643 }
5644
5645 static void *SwigwxPyProcessTowxEvtHandler(void *ptr) {
5646 wxPyProcess *src;
5647 wxEvtHandler *dest;
5648 src = (wxPyProcess *) ptr;
5649 dest = (wxEvtHandler *) src;
5650 return (void *) dest;
5651 }
5652
5653 static void *SwigwxPyProcessTowxObject(void *ptr) {
5654 wxPyProcess *src;
5655 wxObject *dest;
5656 src = (wxPyProcess *) ptr;
5657 dest = (wxObject *) src;
5658 return (void *) dest;
5659 }
5660
5661 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5662 static PyObject *_wrap_new_wxProcess(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject * _resultobj;
5664 wxPyProcess * _result;
5665 wxEvtHandler * _arg0 = (wxEvtHandler *) NULL;
5666 int _arg1 = (int ) -1;
5667 PyObject * _argo0 = 0;
5668 char *_kwnames[] = { "parent","id", NULL };
5669 char _ptemp[128];
5670
5671 self = self;
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxProcess",_kwnames,&_argo0,&_arg1))
5673 return NULL;
5674 if (_argo0) {
5675 if (_argo0 == Py_None) { _arg0 = NULL; }
5676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
5677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5678 return NULL;
5679 }
5680 }
5681 {
5682 wxPy_BEGIN_ALLOW_THREADS;
5683 _result = (wxPyProcess *)new_wxProcess(_arg0,_arg1);
5684
5685 wxPy_END_ALLOW_THREADS;
5686 } if (_result) {
5687 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyProcess_p");
5688 _resultobj = Py_BuildValue("s",_ptemp);
5689 } else {
5690 Py_INCREF(Py_None);
5691 _resultobj = Py_None;
5692 }
5693 return _resultobj;
5694 }
5695
5696 static void wxPyProcess_Destroy(wxPyProcess *self) { delete self; }
5697 static PyObject *_wrap_wxProcess_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject * _resultobj;
5699 wxPyProcess * _arg0;
5700 PyObject * _argo0 = 0;
5701 char *_kwnames[] = { "self", NULL };
5702
5703 self = self;
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Destroy",_kwnames,&_argo0))
5705 return NULL;
5706 if (_argo0) {
5707 if (_argo0 == Py_None) { _arg0 = NULL; }
5708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5710 return NULL;
5711 }
5712 }
5713 {
5714 wxPy_BEGIN_ALLOW_THREADS;
5715 wxPyProcess_Destroy(_arg0);
5716
5717 wxPy_END_ALLOW_THREADS;
5718 } Py_INCREF(Py_None);
5719 _resultobj = Py_None;
5720 return _resultobj;
5721 }
5722
5723 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5724 static PyObject *_wrap_wxProcess__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5725 PyObject * _resultobj;
5726 wxPyProcess * _arg0;
5727 PyObject * _arg1;
5728 PyObject * _arg2;
5729 PyObject * _argo0 = 0;
5730 PyObject * _obj1 = 0;
5731 PyObject * _obj2 = 0;
5732 char *_kwnames[] = { "self","self","_class", NULL };
5733
5734 self = self;
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxProcess__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5736 return NULL;
5737 if (_argo0) {
5738 if (_argo0 == Py_None) { _arg0 = NULL; }
5739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5741 return NULL;
5742 }
5743 }
5744 {
5745 _arg1 = _obj1;
5746 }
5747 {
5748 _arg2 = _obj2;
5749 }
5750 {
5751 wxPy_BEGIN_ALLOW_THREADS;
5752 wxProcess__setCallbackInfo(_arg0,_arg1,_arg2);
5753
5754 wxPy_END_ALLOW_THREADS;
5755 } Py_INCREF(Py_None);
5756 _resultobj = Py_None;
5757 return _resultobj;
5758 }
5759
5760 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5761 static PyObject *_wrap_wxProcess_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
5762 PyObject * _resultobj;
5763 wxPyProcess * _arg0;
5764 int _arg1;
5765 int _arg2;
5766 PyObject * _argo0 = 0;
5767 char *_kwnames[] = { "self","pid","status", NULL };
5768
5769 self = self;
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxProcess_base_OnTerminate",_kwnames,&_argo0,&_arg1,&_arg2))
5771 return NULL;
5772 if (_argo0) {
5773 if (_argo0 == Py_None) { _arg0 = NULL; }
5774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5776 return NULL;
5777 }
5778 }
5779 {
5780 wxPy_BEGIN_ALLOW_THREADS;
5781 wxProcess_base_OnTerminate(_arg0,_arg1,_arg2);
5782
5783 wxPy_END_ALLOW_THREADS;
5784 } Py_INCREF(Py_None);
5785 _resultobj = Py_None;
5786 return _resultobj;
5787 }
5788
5789 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5790 static PyObject *_wrap_wxProcess_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
5791 PyObject * _resultobj;
5792 wxPyProcess * _arg0;
5793 PyObject * _argo0 = 0;
5794 char *_kwnames[] = { "self", NULL };
5795
5796 self = self;
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Redirect",_kwnames,&_argo0))
5798 return NULL;
5799 if (_argo0) {
5800 if (_argo0 == Py_None) { _arg0 = NULL; }
5801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5803 return NULL;
5804 }
5805 }
5806 {
5807 wxPy_BEGIN_ALLOW_THREADS;
5808 wxProcess_Redirect(_arg0);
5809
5810 wxPy_END_ALLOW_THREADS;
5811 } Py_INCREF(Py_None);
5812 _resultobj = Py_None;
5813 return _resultobj;
5814 }
5815
5816 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5817 static PyObject *_wrap_wxProcess_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
5818 PyObject * _resultobj;
5819 bool _result;
5820 wxPyProcess * _arg0;
5821 PyObject * _argo0 = 0;
5822 char *_kwnames[] = { "self", NULL };
5823
5824 self = self;
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_IsRedirected",_kwnames,&_argo0))
5826 return NULL;
5827 if (_argo0) {
5828 if (_argo0 == Py_None) { _arg0 = NULL; }
5829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5831 return NULL;
5832 }
5833 }
5834 {
5835 wxPy_BEGIN_ALLOW_THREADS;
5836 _result = (bool )wxProcess_IsRedirected(_arg0);
5837
5838 wxPy_END_ALLOW_THREADS;
5839 } _resultobj = Py_BuildValue("i",_result);
5840 return _resultobj;
5841 }
5842
5843 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5844 static PyObject *_wrap_wxProcess_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject * _resultobj;
5846 wxPyProcess * _arg0;
5847 PyObject * _argo0 = 0;
5848 char *_kwnames[] = { "self", NULL };
5849
5850 self = self;
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Detach",_kwnames,&_argo0))
5852 return NULL;
5853 if (_argo0) {
5854 if (_argo0 == Py_None) { _arg0 = NULL; }
5855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5857 return NULL;
5858 }
5859 }
5860 {
5861 wxPy_BEGIN_ALLOW_THREADS;
5862 wxProcess_Detach(_arg0);
5863
5864 wxPy_END_ALLOW_THREADS;
5865 } Py_INCREF(Py_None);
5866 _resultobj = Py_None;
5867 return _resultobj;
5868 }
5869
5870 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5871 static PyObject *_wrap_wxProcess_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject * _resultobj;
5873 wxInputStream * _result;
5874 wxPyProcess * _arg0;
5875 PyObject * _argo0 = 0;
5876 char *_kwnames[] = { "self", NULL };
5877
5878 self = self;
5879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetInputStream",_kwnames,&_argo0))
5880 return NULL;
5881 if (_argo0) {
5882 if (_argo0 == Py_None) { _arg0 = NULL; }
5883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5885 return NULL;
5886 }
5887 }
5888 {
5889 wxPy_BEGIN_ALLOW_THREADS;
5890 _result = (wxInputStream *)wxProcess_GetInputStream(_arg0);
5891
5892 wxPy_END_ALLOW_THREADS;
5893 }{
5894 wxPyInputStream * _ptr = NULL;
5895
5896 if (_result) {
5897 _ptr = new wxPyInputStream(_result);
5898 }
5899 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
5900 }
5901 return _resultobj;
5902 }
5903
5904 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5905 static PyObject *_wrap_wxProcess_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject * _resultobj;
5907 wxInputStream * _result;
5908 wxPyProcess * _arg0;
5909 PyObject * _argo0 = 0;
5910 char *_kwnames[] = { "self", NULL };
5911
5912 self = self;
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetErrorStream",_kwnames,&_argo0))
5914 return NULL;
5915 if (_argo0) {
5916 if (_argo0 == Py_None) { _arg0 = NULL; }
5917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5919 return NULL;
5920 }
5921 }
5922 {
5923 wxPy_BEGIN_ALLOW_THREADS;
5924 _result = (wxInputStream *)wxProcess_GetErrorStream(_arg0);
5925
5926 wxPy_END_ALLOW_THREADS;
5927 }{
5928 wxPyInputStream * _ptr = NULL;
5929
5930 if (_result) {
5931 _ptr = new wxPyInputStream(_result);
5932 }
5933 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
5934 }
5935 return _resultobj;
5936 }
5937
5938 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5939 static PyObject *_wrap_wxProcess_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5940 PyObject * _resultobj;
5941 wxOutputStream * _result;
5942 wxPyProcess * _arg0;
5943 PyObject * _argo0 = 0;
5944 char *_kwnames[] = { "self", NULL };
5945 char _ptemp[128];
5946
5947 self = self;
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetOutputStream",_kwnames,&_argo0))
5949 return NULL;
5950 if (_argo0) {
5951 if (_argo0 == Py_None) { _arg0 = NULL; }
5952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5954 return NULL;
5955 }
5956 }
5957 {
5958 wxPy_BEGIN_ALLOW_THREADS;
5959 _result = (wxOutputStream *)wxProcess_GetOutputStream(_arg0);
5960
5961 wxPy_END_ALLOW_THREADS;
5962 } if (_result) {
5963 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOutputStream_p");
5964 _resultobj = Py_BuildValue("s",_ptemp);
5965 } else {
5966 Py_INCREF(Py_None);
5967 _resultobj = Py_None;
5968 }
5969 return _resultobj;
5970 }
5971
5972 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5973 static PyObject *_wrap_wxProcess_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject * _resultobj;
5975 wxPyProcess * _arg0;
5976 PyObject * _argo0 = 0;
5977 char *_kwnames[] = { "self", NULL };
5978
5979 self = self;
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_CloseOutput",_kwnames,&_argo0))
5981 return NULL;
5982 if (_argo0) {
5983 if (_argo0 == Py_None) { _arg0 = NULL; }
5984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5986 return NULL;
5987 }
5988 }
5989 {
5990 wxPy_BEGIN_ALLOW_THREADS;
5991 wxProcess_CloseOutput(_arg0);
5992
5993 wxPy_END_ALLOW_THREADS;
5994 } Py_INCREF(Py_None);
5995 _resultobj = Py_None;
5996 return _resultobj;
5997 }
5998
5999 static void *SwigwxJoystickTowxObject(void *ptr) {
6000 wxJoystick *src;
6001 wxObject *dest;
6002 src = (wxJoystick *) ptr;
6003 dest = (wxObject *) src;
6004 return (void *) dest;
6005 }
6006
6007 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6008 static PyObject *_wrap_new_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject * _resultobj;
6010 wxJoystick * _result;
6011 int _arg0 = (int ) wxJOYSTICK1;
6012 char *_kwnames[] = { "joystick", NULL };
6013 char _ptemp[128];
6014
6015 self = self;
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxJoystick",_kwnames,&_arg0))
6017 return NULL;
6018 {
6019 wxPy_BEGIN_ALLOW_THREADS;
6020 _result = (wxJoystick *)new_wxJoystick(_arg0);
6021
6022 wxPy_END_ALLOW_THREADS;
6023 } if (_result) {
6024 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystick_p");
6025 _resultobj = Py_BuildValue("s",_ptemp);
6026 } else {
6027 Py_INCREF(Py_None);
6028 _resultobj = Py_None;
6029 }
6030 return _resultobj;
6031 }
6032
6033 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6034 static PyObject *_wrap_delete_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject * _resultobj;
6036 wxJoystick * _arg0;
6037 PyObject * _argo0 = 0;
6038 char *_kwnames[] = { "self", NULL };
6039
6040 self = self;
6041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxJoystick",_kwnames,&_argo0))
6042 return NULL;
6043 if (_argo0) {
6044 if (_argo0 == Py_None) { _arg0 = NULL; }
6045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6047 return NULL;
6048 }
6049 }
6050 {
6051 wxPy_BEGIN_ALLOW_THREADS;
6052 delete_wxJoystick(_arg0);
6053
6054 wxPy_END_ALLOW_THREADS;
6055 } Py_INCREF(Py_None);
6056 _resultobj = Py_None;
6057 return _resultobj;
6058 }
6059
6060 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6061 static PyObject *_wrap_wxJoystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6062 PyObject * _resultobj;
6063 wxPoint * _result;
6064 wxJoystick * _arg0;
6065 PyObject * _argo0 = 0;
6066 char *_kwnames[] = { "self", NULL };
6067 char _ptemp[128];
6068
6069 self = self;
6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPosition",_kwnames,&_argo0))
6071 return NULL;
6072 if (_argo0) {
6073 if (_argo0 == Py_None) { _arg0 = NULL; }
6074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6076 return NULL;
6077 }
6078 }
6079 {
6080 wxPy_BEGIN_ALLOW_THREADS;
6081 _result = new wxPoint (wxJoystick_GetPosition(_arg0));
6082
6083 wxPy_END_ALLOW_THREADS;
6084 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6085 _resultobj = Py_BuildValue("s",_ptemp);
6086 return _resultobj;
6087 }
6088
6089 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6090 static PyObject *_wrap_wxJoystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject * _resultobj;
6092 int _result;
6093 wxJoystick * _arg0;
6094 PyObject * _argo0 = 0;
6095 char *_kwnames[] = { "self", NULL };
6096
6097 self = self;
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZPosition",_kwnames,&_argo0))
6099 return NULL;
6100 if (_argo0) {
6101 if (_argo0 == Py_None) { _arg0 = NULL; }
6102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6104 return NULL;
6105 }
6106 }
6107 {
6108 wxPy_BEGIN_ALLOW_THREADS;
6109 _result = (int )wxJoystick_GetZPosition(_arg0);
6110
6111 wxPy_END_ALLOW_THREADS;
6112 } _resultobj = Py_BuildValue("i",_result);
6113 return _resultobj;
6114 }
6115
6116 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6117 static PyObject *_wrap_wxJoystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject * _resultobj;
6119 int _result;
6120 wxJoystick * _arg0;
6121 PyObject * _argo0 = 0;
6122 char *_kwnames[] = { "self", NULL };
6123
6124 self = self;
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetButtonState",_kwnames,&_argo0))
6126 return NULL;
6127 if (_argo0) {
6128 if (_argo0 == Py_None) { _arg0 = NULL; }
6129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6131 return NULL;
6132 }
6133 }
6134 {
6135 wxPy_BEGIN_ALLOW_THREADS;
6136 _result = (int )wxJoystick_GetButtonState(_arg0);
6137
6138 wxPy_END_ALLOW_THREADS;
6139 } _resultobj = Py_BuildValue("i",_result);
6140 return _resultobj;
6141 }
6142
6143 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6144 static PyObject *_wrap_wxJoystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6145 PyObject * _resultobj;
6146 int _result;
6147 wxJoystick * _arg0;
6148 PyObject * _argo0 = 0;
6149 char *_kwnames[] = { "self", NULL };
6150
6151 self = self;
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVPosition",_kwnames,&_argo0))
6153 return NULL;
6154 if (_argo0) {
6155 if (_argo0 == Py_None) { _arg0 = NULL; }
6156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6158 return NULL;
6159 }
6160 }
6161 {
6162 wxPy_BEGIN_ALLOW_THREADS;
6163 _result = (int )wxJoystick_GetPOVPosition(_arg0);
6164
6165 wxPy_END_ALLOW_THREADS;
6166 } _resultobj = Py_BuildValue("i",_result);
6167 return _resultobj;
6168 }
6169
6170 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6171 static PyObject *_wrap_wxJoystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6172 PyObject * _resultobj;
6173 int _result;
6174 wxJoystick * _arg0;
6175 PyObject * _argo0 = 0;
6176 char *_kwnames[] = { "self", NULL };
6177
6178 self = self;
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVCTSPosition",_kwnames,&_argo0))
6180 return NULL;
6181 if (_argo0) {
6182 if (_argo0 == Py_None) { _arg0 = NULL; }
6183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6185 return NULL;
6186 }
6187 }
6188 {
6189 wxPy_BEGIN_ALLOW_THREADS;
6190 _result = (int )wxJoystick_GetPOVCTSPosition(_arg0);
6191
6192 wxPy_END_ALLOW_THREADS;
6193 } _resultobj = Py_BuildValue("i",_result);
6194 return _resultobj;
6195 }
6196
6197 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6198 static PyObject *_wrap_wxJoystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6199 PyObject * _resultobj;
6200 int _result;
6201 wxJoystick * _arg0;
6202 PyObject * _argo0 = 0;
6203 char *_kwnames[] = { "self", NULL };
6204
6205 self = self;
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderPosition",_kwnames,&_argo0))
6207 return NULL;
6208 if (_argo0) {
6209 if (_argo0 == Py_None) { _arg0 = NULL; }
6210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6212 return NULL;
6213 }
6214 }
6215 {
6216 wxPy_BEGIN_ALLOW_THREADS;
6217 _result = (int )wxJoystick_GetRudderPosition(_arg0);
6218
6219 wxPy_END_ALLOW_THREADS;
6220 } _resultobj = Py_BuildValue("i",_result);
6221 return _resultobj;
6222 }
6223
6224 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6225 static PyObject *_wrap_wxJoystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject * _resultobj;
6227 int _result;
6228 wxJoystick * _arg0;
6229 PyObject * _argo0 = 0;
6230 char *_kwnames[] = { "self", NULL };
6231
6232 self = self;
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUPosition",_kwnames,&_argo0))
6234 return NULL;
6235 if (_argo0) {
6236 if (_argo0 == Py_None) { _arg0 = NULL; }
6237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6239 return NULL;
6240 }
6241 }
6242 {
6243 wxPy_BEGIN_ALLOW_THREADS;
6244 _result = (int )wxJoystick_GetUPosition(_arg0);
6245
6246 wxPy_END_ALLOW_THREADS;
6247 } _resultobj = Py_BuildValue("i",_result);
6248 return _resultobj;
6249 }
6250
6251 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6252 static PyObject *_wrap_wxJoystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject * _resultobj;
6254 int _result;
6255 wxJoystick * _arg0;
6256 PyObject * _argo0 = 0;
6257 char *_kwnames[] = { "self", NULL };
6258
6259 self = self;
6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVPosition",_kwnames,&_argo0))
6261 return NULL;
6262 if (_argo0) {
6263 if (_argo0 == Py_None) { _arg0 = NULL; }
6264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6266 return NULL;
6267 }
6268 }
6269 {
6270 wxPy_BEGIN_ALLOW_THREADS;
6271 _result = (int )wxJoystick_GetVPosition(_arg0);
6272
6273 wxPy_END_ALLOW_THREADS;
6274 } _resultobj = Py_BuildValue("i",_result);
6275 return _resultobj;
6276 }
6277
6278 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6279 static PyObject *_wrap_wxJoystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject * _resultobj;
6281 int _result;
6282 wxJoystick * _arg0;
6283 PyObject * _argo0 = 0;
6284 char *_kwnames[] = { "self", NULL };
6285
6286 self = self;
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMovementThreshold",_kwnames,&_argo0))
6288 return NULL;
6289 if (_argo0) {
6290 if (_argo0 == Py_None) { _arg0 = NULL; }
6291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6293 return NULL;
6294 }
6295 }
6296 {
6297 wxPy_BEGIN_ALLOW_THREADS;
6298 _result = (int )wxJoystick_GetMovementThreshold(_arg0);
6299
6300 wxPy_END_ALLOW_THREADS;
6301 } _resultobj = Py_BuildValue("i",_result);
6302 return _resultobj;
6303 }
6304
6305 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6306 static PyObject *_wrap_wxJoystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6307 PyObject * _resultobj;
6308 wxJoystick * _arg0;
6309 int _arg1;
6310 PyObject * _argo0 = 0;
6311 char *_kwnames[] = { "self","threshold", NULL };
6312
6313 self = self;
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystick_SetMovementThreshold",_kwnames,&_argo0,&_arg1))
6315 return NULL;
6316 if (_argo0) {
6317 if (_argo0 == Py_None) { _arg0 = NULL; }
6318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6320 return NULL;
6321 }
6322 }
6323 {
6324 wxPy_BEGIN_ALLOW_THREADS;
6325 wxJoystick_SetMovementThreshold(_arg0,_arg1);
6326
6327 wxPy_END_ALLOW_THREADS;
6328 } Py_INCREF(Py_None);
6329 _resultobj = Py_None;
6330 return _resultobj;
6331 }
6332
6333 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6334 static PyObject *_wrap_wxJoystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject * _resultobj;
6336 bool _result;
6337 wxJoystick * _arg0;
6338 PyObject * _argo0 = 0;
6339 char *_kwnames[] = { "self", NULL };
6340
6341 self = self;
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_IsOk",_kwnames,&_argo0))
6343 return NULL;
6344 if (_argo0) {
6345 if (_argo0 == Py_None) { _arg0 = NULL; }
6346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6348 return NULL;
6349 }
6350 }
6351 {
6352 wxPy_BEGIN_ALLOW_THREADS;
6353 _result = (bool )wxJoystick_IsOk(_arg0);
6354
6355 wxPy_END_ALLOW_THREADS;
6356 } _resultobj = Py_BuildValue("i",_result);
6357 return _resultobj;
6358 }
6359
6360 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6361 static PyObject *_wrap_wxJoystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
6362 PyObject * _resultobj;
6363 int _result;
6364 wxJoystick * _arg0;
6365 PyObject * _argo0 = 0;
6366 char *_kwnames[] = { "self", NULL };
6367
6368 self = self;
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberJoysticks",_kwnames,&_argo0))
6370 return NULL;
6371 if (_argo0) {
6372 if (_argo0 == Py_None) { _arg0 = NULL; }
6373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6375 return NULL;
6376 }
6377 }
6378 {
6379 wxPy_BEGIN_ALLOW_THREADS;
6380 _result = (int )wxJoystick_GetNumberJoysticks(_arg0);
6381
6382 wxPy_END_ALLOW_THREADS;
6383 } _resultobj = Py_BuildValue("i",_result);
6384 return _resultobj;
6385 }
6386
6387 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6388 static PyObject *_wrap_wxJoystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject * _resultobj;
6390 int _result;
6391 wxJoystick * _arg0;
6392 PyObject * _argo0 = 0;
6393 char *_kwnames[] = { "self", NULL };
6394
6395 self = self;
6396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetManufacturerId",_kwnames,&_argo0))
6397 return NULL;
6398 if (_argo0) {
6399 if (_argo0 == Py_None) { _arg0 = NULL; }
6400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6402 return NULL;
6403 }
6404 }
6405 {
6406 wxPy_BEGIN_ALLOW_THREADS;
6407 _result = (int )wxJoystick_GetManufacturerId(_arg0);
6408
6409 wxPy_END_ALLOW_THREADS;
6410 } _resultobj = Py_BuildValue("i",_result);
6411 return _resultobj;
6412 }
6413
6414 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6415 static PyObject *_wrap_wxJoystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject * _resultobj;
6417 int _result;
6418 wxJoystick * _arg0;
6419 PyObject * _argo0 = 0;
6420 char *_kwnames[] = { "self", NULL };
6421
6422 self = self;
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductId",_kwnames,&_argo0))
6424 return NULL;
6425 if (_argo0) {
6426 if (_argo0 == Py_None) { _arg0 = NULL; }
6427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6429 return NULL;
6430 }
6431 }
6432 {
6433 wxPy_BEGIN_ALLOW_THREADS;
6434 _result = (int )wxJoystick_GetProductId(_arg0);
6435
6436 wxPy_END_ALLOW_THREADS;
6437 } _resultobj = Py_BuildValue("i",_result);
6438 return _resultobj;
6439 }
6440
6441 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6442 static PyObject *_wrap_wxJoystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
6443 PyObject * _resultobj;
6444 wxString * _result;
6445 wxJoystick * _arg0;
6446 PyObject * _argo0 = 0;
6447 char *_kwnames[] = { "self", NULL };
6448
6449 self = self;
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductName",_kwnames,&_argo0))
6451 return NULL;
6452 if (_argo0) {
6453 if (_argo0 == Py_None) { _arg0 = NULL; }
6454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6456 return NULL;
6457 }
6458 }
6459 {
6460 wxPy_BEGIN_ALLOW_THREADS;
6461 _result = new wxString (wxJoystick_GetProductName(_arg0));
6462
6463 wxPy_END_ALLOW_THREADS;
6464 }{
6465 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6466 }
6467 {
6468 delete _result;
6469 }
6470 return _resultobj;
6471 }
6472
6473 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6474 static PyObject *_wrap_wxJoystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject * _resultobj;
6476 int _result;
6477 wxJoystick * _arg0;
6478 PyObject * _argo0 = 0;
6479 char *_kwnames[] = { "self", NULL };
6480
6481 self = self;
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMin",_kwnames,&_argo0))
6483 return NULL;
6484 if (_argo0) {
6485 if (_argo0 == Py_None) { _arg0 = NULL; }
6486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6488 return NULL;
6489 }
6490 }
6491 {
6492 wxPy_BEGIN_ALLOW_THREADS;
6493 _result = (int )wxJoystick_GetXMin(_arg0);
6494
6495 wxPy_END_ALLOW_THREADS;
6496 } _resultobj = Py_BuildValue("i",_result);
6497 return _resultobj;
6498 }
6499
6500 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6501 static PyObject *_wrap_wxJoystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject * _resultobj;
6503 int _result;
6504 wxJoystick * _arg0;
6505 PyObject * _argo0 = 0;
6506 char *_kwnames[] = { "self", NULL };
6507
6508 self = self;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMin",_kwnames,&_argo0))
6510 return NULL;
6511 if (_argo0) {
6512 if (_argo0 == Py_None) { _arg0 = NULL; }
6513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6515 return NULL;
6516 }
6517 }
6518 {
6519 wxPy_BEGIN_ALLOW_THREADS;
6520 _result = (int )wxJoystick_GetYMin(_arg0);
6521
6522 wxPy_END_ALLOW_THREADS;
6523 } _resultobj = Py_BuildValue("i",_result);
6524 return _resultobj;
6525 }
6526
6527 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6528 static PyObject *_wrap_wxJoystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6529 PyObject * _resultobj;
6530 int _result;
6531 wxJoystick * _arg0;
6532 PyObject * _argo0 = 0;
6533 char *_kwnames[] = { "self", NULL };
6534
6535 self = self;
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMin",_kwnames,&_argo0))
6537 return NULL;
6538 if (_argo0) {
6539 if (_argo0 == Py_None) { _arg0 = NULL; }
6540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6542 return NULL;
6543 }
6544 }
6545 {
6546 wxPy_BEGIN_ALLOW_THREADS;
6547 _result = (int )wxJoystick_GetZMin(_arg0);
6548
6549 wxPy_END_ALLOW_THREADS;
6550 } _resultobj = Py_BuildValue("i",_result);
6551 return _resultobj;
6552 }
6553
6554 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6555 static PyObject *_wrap_wxJoystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6556 PyObject * _resultobj;
6557 int _result;
6558 wxJoystick * _arg0;
6559 PyObject * _argo0 = 0;
6560 char *_kwnames[] = { "self", NULL };
6561
6562 self = self;
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMax",_kwnames,&_argo0))
6564 return NULL;
6565 if (_argo0) {
6566 if (_argo0 == Py_None) { _arg0 = NULL; }
6567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6569 return NULL;
6570 }
6571 }
6572 {
6573 wxPy_BEGIN_ALLOW_THREADS;
6574 _result = (int )wxJoystick_GetXMax(_arg0);
6575
6576 wxPy_END_ALLOW_THREADS;
6577 } _resultobj = Py_BuildValue("i",_result);
6578 return _resultobj;
6579 }
6580
6581 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6582 static PyObject *_wrap_wxJoystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject * _resultobj;
6584 int _result;
6585 wxJoystick * _arg0;
6586 PyObject * _argo0 = 0;
6587 char *_kwnames[] = { "self", NULL };
6588
6589 self = self;
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMax",_kwnames,&_argo0))
6591 return NULL;
6592 if (_argo0) {
6593 if (_argo0 == Py_None) { _arg0 = NULL; }
6594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6596 return NULL;
6597 }
6598 }
6599 {
6600 wxPy_BEGIN_ALLOW_THREADS;
6601 _result = (int )wxJoystick_GetYMax(_arg0);
6602
6603 wxPy_END_ALLOW_THREADS;
6604 } _resultobj = Py_BuildValue("i",_result);
6605 return _resultobj;
6606 }
6607
6608 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6609 static PyObject *_wrap_wxJoystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject * _resultobj;
6611 int _result;
6612 wxJoystick * _arg0;
6613 PyObject * _argo0 = 0;
6614 char *_kwnames[] = { "self", NULL };
6615
6616 self = self;
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMax",_kwnames,&_argo0))
6618 return NULL;
6619 if (_argo0) {
6620 if (_argo0 == Py_None) { _arg0 = NULL; }
6621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6623 return NULL;
6624 }
6625 }
6626 {
6627 wxPy_BEGIN_ALLOW_THREADS;
6628 _result = (int )wxJoystick_GetZMax(_arg0);
6629
6630 wxPy_END_ALLOW_THREADS;
6631 } _resultobj = Py_BuildValue("i",_result);
6632 return _resultobj;
6633 }
6634
6635 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6636 static PyObject *_wrap_wxJoystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject * _resultobj;
6638 int _result;
6639 wxJoystick * _arg0;
6640 PyObject * _argo0 = 0;
6641 char *_kwnames[] = { "self", NULL };
6642
6643 self = self;
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberButtons",_kwnames,&_argo0))
6645 return NULL;
6646 if (_argo0) {
6647 if (_argo0 == Py_None) { _arg0 = NULL; }
6648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6650 return NULL;
6651 }
6652 }
6653 {
6654 wxPy_BEGIN_ALLOW_THREADS;
6655 _result = (int )wxJoystick_GetNumberButtons(_arg0);
6656
6657 wxPy_END_ALLOW_THREADS;
6658 } _resultobj = Py_BuildValue("i",_result);
6659 return _resultobj;
6660 }
6661
6662 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6663 static PyObject *_wrap_wxJoystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject * _resultobj;
6665 int _result;
6666 wxJoystick * _arg0;
6667 PyObject * _argo0 = 0;
6668 char *_kwnames[] = { "self", NULL };
6669
6670 self = self;
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberAxes",_kwnames,&_argo0))
6672 return NULL;
6673 if (_argo0) {
6674 if (_argo0 == Py_None) { _arg0 = NULL; }
6675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6677 return NULL;
6678 }
6679 }
6680 {
6681 wxPy_BEGIN_ALLOW_THREADS;
6682 _result = (int )wxJoystick_GetNumberAxes(_arg0);
6683
6684 wxPy_END_ALLOW_THREADS;
6685 } _resultobj = Py_BuildValue("i",_result);
6686 return _resultobj;
6687 }
6688
6689 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6690 static PyObject *_wrap_wxJoystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
6691 PyObject * _resultobj;
6692 int _result;
6693 wxJoystick * _arg0;
6694 PyObject * _argo0 = 0;
6695 char *_kwnames[] = { "self", NULL };
6696
6697 self = self;
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxButtons",_kwnames,&_argo0))
6699 return NULL;
6700 if (_argo0) {
6701 if (_argo0 == Py_None) { _arg0 = NULL; }
6702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6704 return NULL;
6705 }
6706 }
6707 {
6708 wxPy_BEGIN_ALLOW_THREADS;
6709 _result = (int )wxJoystick_GetMaxButtons(_arg0);
6710
6711 wxPy_END_ALLOW_THREADS;
6712 } _resultobj = Py_BuildValue("i",_result);
6713 return _resultobj;
6714 }
6715
6716 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6717 static PyObject *_wrap_wxJoystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
6718 PyObject * _resultobj;
6719 int _result;
6720 wxJoystick * _arg0;
6721 PyObject * _argo0 = 0;
6722 char *_kwnames[] = { "self", NULL };
6723
6724 self = self;
6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxAxes",_kwnames,&_argo0))
6726 return NULL;
6727 if (_argo0) {
6728 if (_argo0 == Py_None) { _arg0 = NULL; }
6729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6731 return NULL;
6732 }
6733 }
6734 {
6735 wxPy_BEGIN_ALLOW_THREADS;
6736 _result = (int )wxJoystick_GetMaxAxes(_arg0);
6737
6738 wxPy_END_ALLOW_THREADS;
6739 } _resultobj = Py_BuildValue("i",_result);
6740 return _resultobj;
6741 }
6742
6743 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6744 static PyObject *_wrap_wxJoystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject * _resultobj;
6746 int _result;
6747 wxJoystick * _arg0;
6748 PyObject * _argo0 = 0;
6749 char *_kwnames[] = { "self", NULL };
6750
6751 self = self;
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMin",_kwnames,&_argo0))
6753 return NULL;
6754 if (_argo0) {
6755 if (_argo0 == Py_None) { _arg0 = NULL; }
6756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6758 return NULL;
6759 }
6760 }
6761 {
6762 wxPy_BEGIN_ALLOW_THREADS;
6763 _result = (int )wxJoystick_GetPollingMin(_arg0);
6764
6765 wxPy_END_ALLOW_THREADS;
6766 } _resultobj = Py_BuildValue("i",_result);
6767 return _resultobj;
6768 }
6769
6770 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6771 static PyObject *_wrap_wxJoystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject * _resultobj;
6773 int _result;
6774 wxJoystick * _arg0;
6775 PyObject * _argo0 = 0;
6776 char *_kwnames[] = { "self", NULL };
6777
6778 self = self;
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMax",_kwnames,&_argo0))
6780 return NULL;
6781 if (_argo0) {
6782 if (_argo0 == Py_None) { _arg0 = NULL; }
6783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6785 return NULL;
6786 }
6787 }
6788 {
6789 wxPy_BEGIN_ALLOW_THREADS;
6790 _result = (int )wxJoystick_GetPollingMax(_arg0);
6791
6792 wxPy_END_ALLOW_THREADS;
6793 } _resultobj = Py_BuildValue("i",_result);
6794 return _resultobj;
6795 }
6796
6797 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6798 static PyObject *_wrap_wxJoystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject * _resultobj;
6800 int _result;
6801 wxJoystick * _arg0;
6802 PyObject * _argo0 = 0;
6803 char *_kwnames[] = { "self", NULL };
6804
6805 self = self;
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMin",_kwnames,&_argo0))
6807 return NULL;
6808 if (_argo0) {
6809 if (_argo0 == Py_None) { _arg0 = NULL; }
6810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6812 return NULL;
6813 }
6814 }
6815 {
6816 wxPy_BEGIN_ALLOW_THREADS;
6817 _result = (int )wxJoystick_GetRudderMin(_arg0);
6818
6819 wxPy_END_ALLOW_THREADS;
6820 } _resultobj = Py_BuildValue("i",_result);
6821 return _resultobj;
6822 }
6823
6824 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6825 static PyObject *_wrap_wxJoystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject * _resultobj;
6827 int _result;
6828 wxJoystick * _arg0;
6829 PyObject * _argo0 = 0;
6830 char *_kwnames[] = { "self", NULL };
6831
6832 self = self;
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMax",_kwnames,&_argo0))
6834 return NULL;
6835 if (_argo0) {
6836 if (_argo0 == Py_None) { _arg0 = NULL; }
6837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6839 return NULL;
6840 }
6841 }
6842 {
6843 wxPy_BEGIN_ALLOW_THREADS;
6844 _result = (int )wxJoystick_GetRudderMax(_arg0);
6845
6846 wxPy_END_ALLOW_THREADS;
6847 } _resultobj = Py_BuildValue("i",_result);
6848 return _resultobj;
6849 }
6850
6851 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6852 static PyObject *_wrap_wxJoystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject * _resultobj;
6854 int _result;
6855 wxJoystick * _arg0;
6856 PyObject * _argo0 = 0;
6857 char *_kwnames[] = { "self", NULL };
6858
6859 self = self;
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMin",_kwnames,&_argo0))
6861 return NULL;
6862 if (_argo0) {
6863 if (_argo0 == Py_None) { _arg0 = NULL; }
6864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6866 return NULL;
6867 }
6868 }
6869 {
6870 wxPy_BEGIN_ALLOW_THREADS;
6871 _result = (int )wxJoystick_GetUMin(_arg0);
6872
6873 wxPy_END_ALLOW_THREADS;
6874 } _resultobj = Py_BuildValue("i",_result);
6875 return _resultobj;
6876 }
6877
6878 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6879 static PyObject *_wrap_wxJoystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject * _resultobj;
6881 int _result;
6882 wxJoystick * _arg0;
6883 PyObject * _argo0 = 0;
6884 char *_kwnames[] = { "self", NULL };
6885
6886 self = self;
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMax",_kwnames,&_argo0))
6888 return NULL;
6889 if (_argo0) {
6890 if (_argo0 == Py_None) { _arg0 = NULL; }
6891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6893 return NULL;
6894 }
6895 }
6896 {
6897 wxPy_BEGIN_ALLOW_THREADS;
6898 _result = (int )wxJoystick_GetUMax(_arg0);
6899
6900 wxPy_END_ALLOW_THREADS;
6901 } _resultobj = Py_BuildValue("i",_result);
6902 return _resultobj;
6903 }
6904
6905 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6906 static PyObject *_wrap_wxJoystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6907 PyObject * _resultobj;
6908 int _result;
6909 wxJoystick * _arg0;
6910 PyObject * _argo0 = 0;
6911 char *_kwnames[] = { "self", NULL };
6912
6913 self = self;
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMin",_kwnames,&_argo0))
6915 return NULL;
6916 if (_argo0) {
6917 if (_argo0 == Py_None) { _arg0 = NULL; }
6918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6920 return NULL;
6921 }
6922 }
6923 {
6924 wxPy_BEGIN_ALLOW_THREADS;
6925 _result = (int )wxJoystick_GetVMin(_arg0);
6926
6927 wxPy_END_ALLOW_THREADS;
6928 } _resultobj = Py_BuildValue("i",_result);
6929 return _resultobj;
6930 }
6931
6932 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6933 static PyObject *_wrap_wxJoystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject * _resultobj;
6935 int _result;
6936 wxJoystick * _arg0;
6937 PyObject * _argo0 = 0;
6938 char *_kwnames[] = { "self", NULL };
6939
6940 self = self;
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMax",_kwnames,&_argo0))
6942 return NULL;
6943 if (_argo0) {
6944 if (_argo0 == Py_None) { _arg0 = NULL; }
6945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6947 return NULL;
6948 }
6949 }
6950 {
6951 wxPy_BEGIN_ALLOW_THREADS;
6952 _result = (int )wxJoystick_GetVMax(_arg0);
6953
6954 wxPy_END_ALLOW_THREADS;
6955 } _resultobj = Py_BuildValue("i",_result);
6956 return _resultobj;
6957 }
6958
6959 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6960 static PyObject *_wrap_wxJoystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject * _resultobj;
6962 bool _result;
6963 wxJoystick * _arg0;
6964 PyObject * _argo0 = 0;
6965 char *_kwnames[] = { "self", NULL };
6966
6967 self = self;
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasRudder",_kwnames,&_argo0))
6969 return NULL;
6970 if (_argo0) {
6971 if (_argo0 == Py_None) { _arg0 = NULL; }
6972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6974 return NULL;
6975 }
6976 }
6977 {
6978 wxPy_BEGIN_ALLOW_THREADS;
6979 _result = (bool )wxJoystick_HasRudder(_arg0);
6980
6981 wxPy_END_ALLOW_THREADS;
6982 } _resultobj = Py_BuildValue("i",_result);
6983 return _resultobj;
6984 }
6985
6986 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6987 static PyObject *_wrap_wxJoystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject * _resultobj;
6989 bool _result;
6990 wxJoystick * _arg0;
6991 PyObject * _argo0 = 0;
6992 char *_kwnames[] = { "self", NULL };
6993
6994 self = self;
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasZ",_kwnames,&_argo0))
6996 return NULL;
6997 if (_argo0) {
6998 if (_argo0 == Py_None) { _arg0 = NULL; }
6999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7001 return NULL;
7002 }
7003 }
7004 {
7005 wxPy_BEGIN_ALLOW_THREADS;
7006 _result = (bool )wxJoystick_HasZ(_arg0);
7007
7008 wxPy_END_ALLOW_THREADS;
7009 } _resultobj = Py_BuildValue("i",_result);
7010 return _resultobj;
7011 }
7012
7013 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7014 static PyObject *_wrap_wxJoystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
7015 PyObject * _resultobj;
7016 bool _result;
7017 wxJoystick * _arg0;
7018 PyObject * _argo0 = 0;
7019 char *_kwnames[] = { "self", NULL };
7020
7021 self = self;
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasU",_kwnames,&_argo0))
7023 return NULL;
7024 if (_argo0) {
7025 if (_argo0 == Py_None) { _arg0 = NULL; }
7026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7028 return NULL;
7029 }
7030 }
7031 {
7032 wxPy_BEGIN_ALLOW_THREADS;
7033 _result = (bool )wxJoystick_HasU(_arg0);
7034
7035 wxPy_END_ALLOW_THREADS;
7036 } _resultobj = Py_BuildValue("i",_result);
7037 return _resultobj;
7038 }
7039
7040 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7041 static PyObject *_wrap_wxJoystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject * _resultobj;
7043 bool _result;
7044 wxJoystick * _arg0;
7045 PyObject * _argo0 = 0;
7046 char *_kwnames[] = { "self", NULL };
7047
7048 self = self;
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasV",_kwnames,&_argo0))
7050 return NULL;
7051 if (_argo0) {
7052 if (_argo0 == Py_None) { _arg0 = NULL; }
7053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7055 return NULL;
7056 }
7057 }
7058 {
7059 wxPy_BEGIN_ALLOW_THREADS;
7060 _result = (bool )wxJoystick_HasV(_arg0);
7061
7062 wxPy_END_ALLOW_THREADS;
7063 } _resultobj = Py_BuildValue("i",_result);
7064 return _resultobj;
7065 }
7066
7067 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7068 static PyObject *_wrap_wxJoystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
7069 PyObject * _resultobj;
7070 bool _result;
7071 wxJoystick * _arg0;
7072 PyObject * _argo0 = 0;
7073 char *_kwnames[] = { "self", NULL };
7074
7075 self = self;
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV",_kwnames,&_argo0))
7077 return NULL;
7078 if (_argo0) {
7079 if (_argo0 == Py_None) { _arg0 = NULL; }
7080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7082 return NULL;
7083 }
7084 }
7085 {
7086 wxPy_BEGIN_ALLOW_THREADS;
7087 _result = (bool )wxJoystick_HasPOV(_arg0);
7088
7089 wxPy_END_ALLOW_THREADS;
7090 } _resultobj = Py_BuildValue("i",_result);
7091 return _resultobj;
7092 }
7093
7094 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7095 static PyObject *_wrap_wxJoystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
7096 PyObject * _resultobj;
7097 bool _result;
7098 wxJoystick * _arg0;
7099 PyObject * _argo0 = 0;
7100 char *_kwnames[] = { "self", NULL };
7101
7102 self = self;
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV4Dir",_kwnames,&_argo0))
7104 return NULL;
7105 if (_argo0) {
7106 if (_argo0 == Py_None) { _arg0 = NULL; }
7107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7109 return NULL;
7110 }
7111 }
7112 {
7113 wxPy_BEGIN_ALLOW_THREADS;
7114 _result = (bool )wxJoystick_HasPOV4Dir(_arg0);
7115
7116 wxPy_END_ALLOW_THREADS;
7117 } _resultobj = Py_BuildValue("i",_result);
7118 return _resultobj;
7119 }
7120
7121 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7122 static PyObject *_wrap_wxJoystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject * _resultobj;
7124 bool _result;
7125 wxJoystick * _arg0;
7126 PyObject * _argo0 = 0;
7127 char *_kwnames[] = { "self", NULL };
7128
7129 self = self;
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOVCTS",_kwnames,&_argo0))
7131 return NULL;
7132 if (_argo0) {
7133 if (_argo0 == Py_None) { _arg0 = NULL; }
7134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7136 return NULL;
7137 }
7138 }
7139 {
7140 wxPy_BEGIN_ALLOW_THREADS;
7141 _result = (bool )wxJoystick_HasPOVCTS(_arg0);
7142
7143 wxPy_END_ALLOW_THREADS;
7144 } _resultobj = Py_BuildValue("i",_result);
7145 return _resultobj;
7146 }
7147
7148 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7149 static PyObject *_wrap_wxJoystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7150 PyObject * _resultobj;
7151 bool _result;
7152 wxJoystick * _arg0;
7153 wxWindow * _arg1;
7154 int _arg2 = (int ) 0;
7155 PyObject * _argo0 = 0;
7156 PyObject * _argo1 = 0;
7157 char *_kwnames[] = { "self","win","pollingFreq", NULL };
7158
7159 self = self;
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxJoystick_SetCapture",_kwnames,&_argo0,&_argo1,&_arg2))
7161 return NULL;
7162 if (_argo0) {
7163 if (_argo0 == Py_None) { _arg0 = NULL; }
7164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7166 return NULL;
7167 }
7168 }
7169 if (_argo1) {
7170 if (_argo1 == Py_None) { _arg1 = NULL; }
7171 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7172 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7173 return NULL;
7174 }
7175 }
7176 {
7177 wxPy_BEGIN_ALLOW_THREADS;
7178 _result = (bool )wxJoystick_SetCapture(_arg0,_arg1,_arg2);
7179
7180 wxPy_END_ALLOW_THREADS;
7181 } _resultobj = Py_BuildValue("i",_result);
7182 return _resultobj;
7183 }
7184
7185 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7186 static PyObject *_wrap_wxJoystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7187 PyObject * _resultobj;
7188 bool _result;
7189 wxJoystick * _arg0;
7190 PyObject * _argo0 = 0;
7191 char *_kwnames[] = { "self", NULL };
7192
7193 self = self;
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_ReleaseCapture",_kwnames,&_argo0))
7195 return NULL;
7196 if (_argo0) {
7197 if (_argo0 == Py_None) { _arg0 = NULL; }
7198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7200 return NULL;
7201 }
7202 }
7203 {
7204 wxPy_BEGIN_ALLOW_THREADS;
7205 _result = (bool )wxJoystick_ReleaseCapture(_arg0);
7206
7207 wxPy_END_ALLOW_THREADS;
7208 } _resultobj = Py_BuildValue("i",_result);
7209 return _resultobj;
7210 }
7211
7212 static void *SwigwxWaveTowxObject(void *ptr) {
7213 wxWave *src;
7214 wxObject *dest;
7215 src = (wxWave *) ptr;
7216 dest = (wxObject *) src;
7217 return (void *) dest;
7218 }
7219
7220 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7221 static PyObject *_wrap_new_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject * _resultobj;
7223 wxWave * _result;
7224 wxString * _arg0;
7225 bool _arg1 = (bool ) FALSE;
7226 PyObject * _obj0 = 0;
7227 int tempbool1 = (int) FALSE;
7228 char *_kwnames[] = { "fileName","isResource", NULL };
7229 char _ptemp[128];
7230
7231 self = self;
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxWave",_kwnames,&_obj0,&tempbool1))
7233 return NULL;
7234 {
7235 #if PYTHON_API_VERSION >= 1009
7236 char* tmpPtr; int tmpSize;
7237 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7238 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7239 return NULL;
7240 }
7241 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
7242 return NULL;
7243 _arg0 = new wxString(tmpPtr, tmpSize);
7244 #else
7245 if (!PyString_Check(_obj0)) {
7246 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7247 return NULL;
7248 }
7249 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
7250 #endif
7251 }
7252 _arg1 = (bool ) tempbool1;
7253 {
7254 wxPy_BEGIN_ALLOW_THREADS;
7255 _result = (wxWave *)new_wxWave(*_arg0,_arg1);
7256
7257 wxPy_END_ALLOW_THREADS;
7258 } if (_result) {
7259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
7260 _resultobj = Py_BuildValue("s",_ptemp);
7261 } else {
7262 Py_INCREF(Py_None);
7263 _resultobj = Py_None;
7264 }
7265 {
7266 if (_obj0)
7267 delete _arg0;
7268 }
7269 return _resultobj;
7270 }
7271
7272 #define delete_wxWave(_swigobj) (delete _swigobj)
7273 static PyObject *_wrap_delete_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject * _resultobj;
7275 wxWave * _arg0;
7276 PyObject * _argo0 = 0;
7277 char *_kwnames[] = { "self", NULL };
7278
7279 self = self;
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWave",_kwnames,&_argo0))
7281 return NULL;
7282 if (_argo0) {
7283 if (_argo0 == Py_None) { _arg0 = NULL; }
7284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7286 return NULL;
7287 }
7288 }
7289 {
7290 wxPy_BEGIN_ALLOW_THREADS;
7291 delete_wxWave(_arg0);
7292
7293 wxPy_END_ALLOW_THREADS;
7294 } Py_INCREF(Py_None);
7295 _resultobj = Py_None;
7296 return _resultobj;
7297 }
7298
7299 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7300 static PyObject *_wrap_wxWave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
7301 PyObject * _resultobj;
7302 bool _result;
7303 wxWave * _arg0;
7304 PyObject * _argo0 = 0;
7305 char *_kwnames[] = { "self", NULL };
7306
7307 self = self;
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWave_IsOk",_kwnames,&_argo0))
7309 return NULL;
7310 if (_argo0) {
7311 if (_argo0 == Py_None) { _arg0 = NULL; }
7312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7314 return NULL;
7315 }
7316 }
7317 {
7318 wxPy_BEGIN_ALLOW_THREADS;
7319 _result = (bool )wxWave_IsOk(_arg0);
7320
7321 wxPy_END_ALLOW_THREADS;
7322 } _resultobj = Py_BuildValue("i",_result);
7323 return _resultobj;
7324 }
7325
7326 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7327 static PyObject *_wrap_wxWave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
7328 PyObject * _resultobj;
7329 bool _result;
7330 wxWave * _arg0;
7331 bool _arg1 = (bool ) TRUE;
7332 bool _arg2 = (bool ) FALSE;
7333 PyObject * _argo0 = 0;
7334 int tempbool1 = (int) TRUE;
7335 int tempbool2 = (int) FALSE;
7336 char *_kwnames[] = { "self","async","looped", NULL };
7337
7338 self = self;
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxWave_Play",_kwnames,&_argo0,&tempbool1,&tempbool2))
7340 return NULL;
7341 if (_argo0) {
7342 if (_argo0 == Py_None) { _arg0 = NULL; }
7343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7345 return NULL;
7346 }
7347 }
7348 _arg1 = (bool ) tempbool1;
7349 _arg2 = (bool ) tempbool2;
7350 {
7351 wxPy_BEGIN_ALLOW_THREADS;
7352 _result = (bool )wxWave_Play(_arg0,_arg1,_arg2);
7353
7354 wxPy_END_ALLOW_THREADS;
7355 } _resultobj = Py_BuildValue("i",_result);
7356 return _resultobj;
7357 }
7358
7359 static PyMethodDef misc2cMethods[] = {
7360 { "wxWave_Play", (PyCFunction) _wrap_wxWave_Play, METH_VARARGS | METH_KEYWORDS },
7361 { "wxWave_IsOk", (PyCFunction) _wrap_wxWave_IsOk, METH_VARARGS | METH_KEYWORDS },
7362 { "delete_wxWave", (PyCFunction) _wrap_delete_wxWave, METH_VARARGS | METH_KEYWORDS },
7363 { "new_wxWave", (PyCFunction) _wrap_new_wxWave, METH_VARARGS | METH_KEYWORDS },
7364 { "wxJoystick_ReleaseCapture", (PyCFunction) _wrap_wxJoystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
7365 { "wxJoystick_SetCapture", (PyCFunction) _wrap_wxJoystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
7366 { "wxJoystick_HasPOVCTS", (PyCFunction) _wrap_wxJoystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
7367 { "wxJoystick_HasPOV4Dir", (PyCFunction) _wrap_wxJoystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
7368 { "wxJoystick_HasPOV", (PyCFunction) _wrap_wxJoystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
7369 { "wxJoystick_HasV", (PyCFunction) _wrap_wxJoystick_HasV, METH_VARARGS | METH_KEYWORDS },
7370 { "wxJoystick_HasU", (PyCFunction) _wrap_wxJoystick_HasU, METH_VARARGS | METH_KEYWORDS },
7371 { "wxJoystick_HasZ", (PyCFunction) _wrap_wxJoystick_HasZ, METH_VARARGS | METH_KEYWORDS },
7372 { "wxJoystick_HasRudder", (PyCFunction) _wrap_wxJoystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
7373 { "wxJoystick_GetVMax", (PyCFunction) _wrap_wxJoystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
7374 { "wxJoystick_GetVMin", (PyCFunction) _wrap_wxJoystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
7375 { "wxJoystick_GetUMax", (PyCFunction) _wrap_wxJoystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
7376 { "wxJoystick_GetUMin", (PyCFunction) _wrap_wxJoystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
7377 { "wxJoystick_GetRudderMax", (PyCFunction) _wrap_wxJoystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
7378 { "wxJoystick_GetRudderMin", (PyCFunction) _wrap_wxJoystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
7379 { "wxJoystick_GetPollingMax", (PyCFunction) _wrap_wxJoystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
7380 { "wxJoystick_GetPollingMin", (PyCFunction) _wrap_wxJoystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
7381 { "wxJoystick_GetMaxAxes", (PyCFunction) _wrap_wxJoystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
7382 { "wxJoystick_GetMaxButtons", (PyCFunction) _wrap_wxJoystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
7383 { "wxJoystick_GetNumberAxes", (PyCFunction) _wrap_wxJoystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
7384 { "wxJoystick_GetNumberButtons", (PyCFunction) _wrap_wxJoystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
7385 { "wxJoystick_GetZMax", (PyCFunction) _wrap_wxJoystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
7386 { "wxJoystick_GetYMax", (PyCFunction) _wrap_wxJoystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
7387 { "wxJoystick_GetXMax", (PyCFunction) _wrap_wxJoystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
7388 { "wxJoystick_GetZMin", (PyCFunction) _wrap_wxJoystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
7389 { "wxJoystick_GetYMin", (PyCFunction) _wrap_wxJoystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
7390 { "wxJoystick_GetXMin", (PyCFunction) _wrap_wxJoystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
7391 { "wxJoystick_GetProductName", (PyCFunction) _wrap_wxJoystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
7392 { "wxJoystick_GetProductId", (PyCFunction) _wrap_wxJoystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
7393 { "wxJoystick_GetManufacturerId", (PyCFunction) _wrap_wxJoystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
7394 { "wxJoystick_GetNumberJoysticks", (PyCFunction) _wrap_wxJoystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
7395 { "wxJoystick_IsOk", (PyCFunction) _wrap_wxJoystick_IsOk, METH_VARARGS | METH_KEYWORDS },
7396 { "wxJoystick_SetMovementThreshold", (PyCFunction) _wrap_wxJoystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
7397 { "wxJoystick_GetMovementThreshold", (PyCFunction) _wrap_wxJoystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
7398 { "wxJoystick_GetVPosition", (PyCFunction) _wrap_wxJoystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
7399 { "wxJoystick_GetUPosition", (PyCFunction) _wrap_wxJoystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
7400 { "wxJoystick_GetRudderPosition", (PyCFunction) _wrap_wxJoystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
7401 { "wxJoystick_GetPOVCTSPosition", (PyCFunction) _wrap_wxJoystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
7402 { "wxJoystick_GetPOVPosition", (PyCFunction) _wrap_wxJoystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
7403 { "wxJoystick_GetButtonState", (PyCFunction) _wrap_wxJoystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
7404 { "wxJoystick_GetZPosition", (PyCFunction) _wrap_wxJoystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
7405 { "wxJoystick_GetPosition", (PyCFunction) _wrap_wxJoystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
7406 { "delete_wxJoystick", (PyCFunction) _wrap_delete_wxJoystick, METH_VARARGS | METH_KEYWORDS },
7407 { "new_wxJoystick", (PyCFunction) _wrap_new_wxJoystick, METH_VARARGS | METH_KEYWORDS },
7408 { "wxProcess_CloseOutput", (PyCFunction) _wrap_wxProcess_CloseOutput, METH_VARARGS | METH_KEYWORDS },
7409 { "wxProcess_GetOutputStream", (PyCFunction) _wrap_wxProcess_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
7410 { "wxProcess_GetErrorStream", (PyCFunction) _wrap_wxProcess_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
7411 { "wxProcess_GetInputStream", (PyCFunction) _wrap_wxProcess_GetInputStream, METH_VARARGS | METH_KEYWORDS },
7412 { "wxProcess_Detach", (PyCFunction) _wrap_wxProcess_Detach, METH_VARARGS | METH_KEYWORDS },
7413 { "wxProcess_IsRedirected", (PyCFunction) _wrap_wxProcess_IsRedirected, METH_VARARGS | METH_KEYWORDS },
7414 { "wxProcess_Redirect", (PyCFunction) _wrap_wxProcess_Redirect, METH_VARARGS | METH_KEYWORDS },
7415 { "wxProcess_base_OnTerminate", (PyCFunction) _wrap_wxProcess_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
7416 { "wxProcess__setCallbackInfo", (PyCFunction) _wrap_wxProcess__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
7417 { "wxProcess_Destroy", (PyCFunction) _wrap_wxProcess_Destroy, METH_VARARGS | METH_KEYWORDS },
7418 { "new_wxProcess", (PyCFunction) _wrap_new_wxProcess, METH_VARARGS | METH_KEYWORDS },
7419 { "wxProcessEvent_m_exitcode_get", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
7420 { "wxProcessEvent_m_exitcode_set", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
7421 { "wxProcessEvent_m_pid_get", (PyCFunction) _wrap_wxProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
7422 { "wxProcessEvent_m_pid_set", (PyCFunction) _wrap_wxProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
7423 { "wxProcessEvent_GetExitCode", (PyCFunction) _wrap_wxProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
7424 { "wxProcessEvent_GetPid", (PyCFunction) _wrap_wxProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
7425 { "new_wxProcessEvent", (PyCFunction) _wrap_new_wxProcessEvent, METH_VARARGS | METH_KEYWORDS },
7426 { "wxPyLog_Destroy", (PyCFunction) _wrap_wxPyLog_Destroy, METH_VARARGS | METH_KEYWORDS },
7427 { "wxPyLog__setCallbackInfo", (PyCFunction) _wrap_wxPyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
7428 { "new_wxPyLog", (PyCFunction) _wrap_new_wxPyLog, METH_VARARGS | METH_KEYWORDS },
7429 { "wxLogChain_GetOldLog", (PyCFunction) _wrap_wxLogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
7430 { "wxLogChain_IsPassingMessages", (PyCFunction) _wrap_wxLogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
7431 { "wxLogChain_PassMessages", (PyCFunction) _wrap_wxLogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
7432 { "wxLogChain_SetLog", (PyCFunction) _wrap_wxLogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
7433 { "new_wxLogChain", (PyCFunction) _wrap_new_wxLogChain, METH_VARARGS | METH_KEYWORDS },
7434 { "delete_wxLogNull", (PyCFunction) _wrap_delete_wxLogNull, METH_VARARGS | METH_KEYWORDS },
7435 { "new_wxLogNull", (PyCFunction) _wrap_new_wxLogNull, METH_VARARGS | METH_KEYWORDS },
7436 { "wxLogWindow_PassMessages", (PyCFunction) _wrap_wxLogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
7437 { "wxLogWindow_IsPassingMessages", (PyCFunction) _wrap_wxLogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
7438 { "wxLogWindow_GetOldLog", (PyCFunction) _wrap_wxLogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
7439 { "wxLogWindow_GetFrame", (PyCFunction) _wrap_wxLogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
7440 { "wxLogWindow_Show", (PyCFunction) _wrap_wxLogWindow_Show, METH_VARARGS | METH_KEYWORDS },
7441 { "new_wxLogWindow", (PyCFunction) _wrap_new_wxLogWindow, METH_VARARGS | METH_KEYWORDS },
7442 { "new_wxLogGui", (PyCFunction) _wrap_new_wxLogGui, METH_VARARGS | METH_KEYWORDS },
7443 { "new_wxLogTextCtrl", (PyCFunction) _wrap_new_wxLogTextCtrl, METH_VARARGS | METH_KEYWORDS },
7444 { "new_wxLogStderr", (PyCFunction) _wrap_new_wxLogStderr, METH_VARARGS | METH_KEYWORDS },
7445 { "wxLog_TimeStamp", (PyCFunction) _wrap_wxLog_TimeStamp, METH_VARARGS | METH_KEYWORDS },
7446 { "wxLog_IsAllowedTraceMask", (PyCFunction) _wrap_wxLog_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
7447 { "wxLog_GetTraceMask", (PyCFunction) _wrap_wxLog_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
7448 { "wxLog_GetVerbose", (PyCFunction) _wrap_wxLog_GetVerbose, METH_VARARGS | METH_KEYWORDS },
7449 { "wxLog_GetTimestamp", (PyCFunction) _wrap_wxLog_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
7450 { "wxLog_SetTimestamp", (PyCFunction) _wrap_wxLog_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
7451 { "wxLog_ClearTraceMasks", (PyCFunction) _wrap_wxLog_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
7452 { "wxLog_RemoveTraceMask", (PyCFunction) _wrap_wxLog_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
7453 { "wxLog_AddTraceMask", (PyCFunction) _wrap_wxLog_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
7454 { "wxLog_SetTraceMask", (PyCFunction) _wrap_wxLog_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
7455 { "wxLog_DontCreateOnDemand", (PyCFunction) _wrap_wxLog_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
7456 { "wxLog_SetVerbose", (PyCFunction) _wrap_wxLog_SetVerbose, METH_VARARGS | METH_KEYWORDS },
7457 { "wxLog_Resume", (PyCFunction) _wrap_wxLog_Resume, METH_VARARGS | METH_KEYWORDS },
7458 { "wxLog_Suspend", (PyCFunction) _wrap_wxLog_Suspend, METH_VARARGS | METH_KEYWORDS },
7459 { "wxLog_SetActiveTarget", (PyCFunction) _wrap_wxLog_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
7460 { "wxLog_GetActiveTarget", (PyCFunction) _wrap_wxLog_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
7461 { "wxLog_FlushActive", (PyCFunction) _wrap_wxLog_FlushActive, METH_VARARGS | METH_KEYWORDS },
7462 { "wxLog_HasPendingMessages", (PyCFunction) _wrap_wxLog_HasPendingMessages, METH_VARARGS | METH_KEYWORDS },
7463 { "wxLog_Flush", (PyCFunction) _wrap_wxLog_Flush, METH_VARARGS | METH_KEYWORDS },
7464 { "wxLog_OnLog", (PyCFunction) _wrap_wxLog_OnLog, METH_VARARGS | METH_KEYWORDS },
7465 { "wxLog_EnableLogging", (PyCFunction) _wrap_wxLog_EnableLogging, METH_VARARGS | METH_KEYWORDS },
7466 { "wxLog_IsEnabled", (PyCFunction) _wrap_wxLog_IsEnabled, METH_VARARGS | METH_KEYWORDS },
7467 { "new_wxLog", (PyCFunction) _wrap_new_wxLog, METH_VARARGS | METH_KEYWORDS },
7468 { "wxPyTimer_Stop", (PyCFunction) _wrap_wxPyTimer_Stop, METH_VARARGS | METH_KEYWORDS },
7469 { "wxPyTimer_Start", (PyCFunction) _wrap_wxPyTimer_Start, METH_VARARGS | METH_KEYWORDS },
7470 { "wxPyTimer_SetOwner", (PyCFunction) _wrap_wxPyTimer_SetOwner, METH_VARARGS | METH_KEYWORDS },
7471 { "wxPyTimer_IsRunning", (PyCFunction) _wrap_wxPyTimer_IsRunning, METH_VARARGS | METH_KEYWORDS },
7472 { "wxPyTimer_IsOneShot", (PyCFunction) _wrap_wxPyTimer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
7473 { "wxPyTimer_GetInterval", (PyCFunction) _wrap_wxPyTimer_GetInterval, METH_VARARGS | METH_KEYWORDS },
7474 { "delete_wxPyTimer", (PyCFunction) _wrap_delete_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
7475 { "new_wxPyTimer", (PyCFunction) _wrap_new_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
7476 { "wxDragImage_RedrawImage", (PyCFunction) _wrap_wxDragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
7477 { "wxDragImage_GetImageRect", (PyCFunction) _wrap_wxDragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
7478 { "wxDragImage_Hide", (PyCFunction) _wrap_wxDragImage_Hide, METH_VARARGS | METH_KEYWORDS },
7479 { "wxDragImage_Show", (PyCFunction) _wrap_wxDragImage_Show, METH_VARARGS | METH_KEYWORDS },
7480 { "wxDragImage_Move", (PyCFunction) _wrap_wxDragImage_Move, METH_VARARGS | METH_KEYWORDS },
7481 { "wxDragImage_EndDrag", (PyCFunction) _wrap_wxDragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
7482 { "wxDragImage_BeginDrag2", (PyCFunction) _wrap_wxDragImage_BeginDrag2, METH_VARARGS | METH_KEYWORDS },
7483 { "wxDragImage_BeginDrag", (PyCFunction) _wrap_wxDragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
7484 { "wxDragImage_SetBackingBitmap", (PyCFunction) _wrap_wxDragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
7485 { "delete_wxDragImage", (PyCFunction) _wrap_delete_wxDragImage, METH_VARARGS | METH_KEYWORDS },
7486 { "new_wxDragListItem", (PyCFunction) _wrap_new_wxDragListItem, METH_VARARGS | METH_KEYWORDS },
7487 { "new_wxDragTreeItem", (PyCFunction) _wrap_new_wxDragTreeItem, METH_VARARGS | METH_KEYWORDS },
7488 { "new_wxDragString", (PyCFunction) _wrap_new_wxDragString, METH_VARARGS | METH_KEYWORDS },
7489 { "new_wxDragIcon", (PyCFunction) _wrap_new_wxDragIcon, METH_VARARGS | METH_KEYWORDS },
7490 { "new_wxDragImage", (PyCFunction) _wrap_new_wxDragImage, METH_VARARGS | METH_KEYWORDS },
7491 { "new_wxPyTipProvider", (PyCFunction) _wrap_new_wxPyTipProvider, METH_VARARGS | METH_KEYWORDS },
7492 { "wxTipProvider_GetCurrentTip", (PyCFunction) _wrap_wxTipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
7493 { "wxTipProvider_GetTip", (PyCFunction) _wrap_wxTipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
7494 { "delete_wxTipProvider", (PyCFunction) _wrap_delete_wxTipProvider, METH_VARARGS | METH_KEYWORDS },
7495 { "delete_wxMutexGuiLocker", (PyCFunction) _wrap_delete_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
7496 { "new_wxMutexGuiLocker", (PyCFunction) _wrap_new_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
7497 { "delete_wxWindowDisabler", (PyCFunction) _wrap_delete_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
7498 { "new_wxWindowDisabler", (PyCFunction) _wrap_new_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
7499 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
7500 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
7501 { "wxFontEnumerator_GetFacenames", (PyCFunction) _wrap_wxFontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS },
7502 { "wxFontEnumerator_GetEncodings", (PyCFunction) _wrap_wxFontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS },
7503 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_wxFontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS },
7504 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_wxFontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS },
7505 { "wxFontEnumerator__setCallbackInfo", (PyCFunction) _wrap_wxFontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
7506 { "delete_wxFontEnumerator", (PyCFunction) _wrap_delete_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
7507 { "new_wxFontEnumerator", (PyCFunction) _wrap_new_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
7508 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
7509 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
7510 { "wxCaret_SetSize", (PyCFunction) _wrap_wxCaret_SetSize, METH_VARARGS | METH_KEYWORDS },
7511 { "wxCaret_SetSizeWH", (PyCFunction) _wrap_wxCaret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
7512 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
7513 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
7514 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
7515 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
7516 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
7517 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
7518 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
7519 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
7520 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
7521 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
7522 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
7523 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
7524 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
7525 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
7526 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
7527 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
7528 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
7529 { "wxWaveData", (PyCFunction) _wrap_wxWaveData, METH_VARARGS | METH_KEYWORDS },
7530 { "wxExecute", (PyCFunction) _wrap_wxExecute, METH_VARARGS | METH_KEYWORDS },
7531 { "wxLogSysError", (PyCFunction) _wrap_wxLogSysError, METH_VARARGS | METH_KEYWORDS },
7532 { "wxLogStatusFrame", (PyCFunction) _wrap_wxLogStatusFrame, METH_VARARGS | METH_KEYWORDS },
7533 { "wxLogStatus", (PyCFunction) _wrap_wxLogStatus, METH_VARARGS | METH_KEYWORDS },
7534 { "wxLogVerbose", (PyCFunction) _wrap_wxLogVerbose, METH_VARARGS | METH_KEYWORDS },
7535 { "wxLogInfo", (PyCFunction) _wrap_wxLogInfo, METH_VARARGS | METH_KEYWORDS },
7536 { "wxLogMessage", (PyCFunction) _wrap_wxLogMessage, METH_VARARGS | METH_KEYWORDS },
7537 { "wxLogWarning", (PyCFunction) _wrap_wxLogWarning, METH_VARARGS | METH_KEYWORDS },
7538 { "wxLogError", (PyCFunction) _wrap_wxLogError, METH_VARARGS | METH_KEYWORDS },
7539 { "wxLogFatalError", (PyCFunction) _wrap_wxLogFatalError, METH_VARARGS | METH_KEYWORDS },
7540 { "wxSysErrorMsg", (PyCFunction) _wrap_wxSysErrorMsg, METH_VARARGS | METH_KEYWORDS },
7541 { "wxSysErrorCode", (PyCFunction) _wrap_wxSysErrorCode, METH_VARARGS | METH_KEYWORDS },
7542 { "wxCreateFileTipProvider", (PyCFunction) _wrap_wxCreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
7543 { "wxShowTip", (PyCFunction) _wrap_wxShowTip, METH_VARARGS | METH_KEYWORDS },
7544 { "wxThread_IsMain", (PyCFunction) _wrap_wxThread_IsMain, METH_VARARGS | METH_KEYWORDS },
7545 { "wxMutexGuiLeave", (PyCFunction) _wrap_wxMutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
7546 { "wxMutexGuiEnter", (PyCFunction) _wrap_wxMutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
7547 { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS },
7548 { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS },
7549 { "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
7550 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
7551 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
7552 { "wxSystemSettings_GetSystemMetric", (PyCFunction) _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS | METH_KEYWORDS },
7553 { "wxSystemSettings_GetSystemFont", (PyCFunction) _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS | METH_KEYWORDS },
7554 { "wxSystemSettings_GetSystemColour", (PyCFunction) _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS | METH_KEYWORDS },
7555 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
7556 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
7557 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
7558 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
7559 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
7560 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
7561 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
7562 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
7563 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
7564 { "wxFindWindowAtPoint", (PyCFunction) _wrap_wxFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
7565 { "wxGenericFindWindowAtPoint", (PyCFunction) _wrap_wxGenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
7566 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
7567 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
7568 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
7569 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
7570 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
7571 { "wxGetClientDisplayRect", (PyCFunction) _wrap_wxGetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
7572 { "wxClientDisplayRect", (PyCFunction) _wrap_wxClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
7573 { "wxGetDisplaySizeMM", (PyCFunction) _wrap_wxGetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
7574 { "wxDisplaySizeMM", (PyCFunction) _wrap_wxDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
7575 { "wxGetDisplaySize", (PyCFunction) _wrap_wxGetDisplaySize, METH_VARARGS | METH_KEYWORDS },
7576 { "wxDisplaySize", (PyCFunction) _wrap_wxDisplaySize, METH_VARARGS | METH_KEYWORDS },
7577 { "wxGetDisplayDepth", (PyCFunction) _wrap_wxGetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
7578 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
7579 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
7580 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
7581 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
7582 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
7583 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
7584 { "wxGetPasswordFromUser", (PyCFunction) _wrap_wxGetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
7585 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
7586 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
7587 { NULL, NULL }
7588 };
7589 #ifdef __cplusplus
7590 }
7591 #endif
7592 /*
7593 * This table is used by the pointer type-checker
7594 */
7595 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7596 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent},
7597 { "_signed_long","_long",0},
7598 { "_wxPrintQuality","_wxCoord",0},
7599 { "_wxPrintQuality","_int",0},
7600 { "_wxPrintQuality","_signed_int",0},
7601 { "_wxPrintQuality","_unsigned_int",0},
7602 { "_wxPrintQuality","_wxWindowID",0},
7603 { "_wxPrintQuality","_uint",0},
7604 { "_wxPrintQuality","_EBool",0},
7605 { "_wxPrintQuality","_size_t",0},
7606 { "_wxPrintQuality","_time_t",0},
7607 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog},
7608 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog},
7609 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog},
7610 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog},
7611 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog},
7612 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog},
7613 { "_byte","_unsigned_char",0},
7614 { "_long","_unsigned_long",0},
7615 { "_long","_signed_long",0},
7616 { "_size_t","_wxCoord",0},
7617 { "_size_t","_wxPrintQuality",0},
7618 { "_size_t","_time_t",0},
7619 { "_size_t","_unsigned_int",0},
7620 { "_size_t","_int",0},
7621 { "_size_t","_wxWindowID",0},
7622 { "_size_t","_uint",0},
7623 { "_uint","_wxCoord",0},
7624 { "_uint","_wxPrintQuality",0},
7625 { "_uint","_time_t",0},
7626 { "_uint","_size_t",0},
7627 { "_uint","_unsigned_int",0},
7628 { "_uint","_int",0},
7629 { "_uint","_wxWindowID",0},
7630 { "_wxChar","_char",0},
7631 { "_char","_wxChar",0},
7632 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7633 { "_EBool","_wxCoord",0},
7634 { "_EBool","_wxPrintQuality",0},
7635 { "_EBool","_signed_int",0},
7636 { "_EBool","_int",0},
7637 { "_EBool","_wxWindowID",0},
7638 { "_unsigned_long","_long",0},
7639 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7640 { "_signed_int","_wxCoord",0},
7641 { "_signed_int","_wxPrintQuality",0},
7642 { "_signed_int","_EBool",0},
7643 { "_signed_int","_wxWindowID",0},
7644 { "_signed_int","_int",0},
7645 { "_WXTYPE","_short",0},
7646 { "_WXTYPE","_signed_short",0},
7647 { "_WXTYPE","_unsigned_short",0},
7648 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider},
7649 { "_unsigned_short","_WXTYPE",0},
7650 { "_unsigned_short","_short",0},
7651 { "_wxObject","_wxWave",SwigwxWaveTowxObject},
7652 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject},
7653 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject},
7654 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject},
7655 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject},
7656 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject},
7657 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject},
7658 { "_signed_short","_WXTYPE",0},
7659 { "_signed_short","_short",0},
7660 { "_unsigned_char","_byte",0},
7661 { "_unsigned_int","_wxCoord",0},
7662 { "_unsigned_int","_wxPrintQuality",0},
7663 { "_unsigned_int","_time_t",0},
7664 { "_unsigned_int","_size_t",0},
7665 { "_unsigned_int","_uint",0},
7666 { "_unsigned_int","_wxWindowID",0},
7667 { "_unsigned_int","_int",0},
7668 { "_short","_WXTYPE",0},
7669 { "_short","_unsigned_short",0},
7670 { "_short","_signed_short",0},
7671 { "_wxWindowID","_wxCoord",0},
7672 { "_wxWindowID","_wxPrintQuality",0},
7673 { "_wxWindowID","_time_t",0},
7674 { "_wxWindowID","_size_t",0},
7675 { "_wxWindowID","_EBool",0},
7676 { "_wxWindowID","_uint",0},
7677 { "_wxWindowID","_int",0},
7678 { "_wxWindowID","_signed_int",0},
7679 { "_wxWindowID","_unsigned_int",0},
7680 { "_int","_wxCoord",0},
7681 { "_int","_wxPrintQuality",0},
7682 { "_int","_time_t",0},
7683 { "_int","_size_t",0},
7684 { "_int","_EBool",0},
7685 { "_int","_uint",0},
7686 { "_int","_wxWindowID",0},
7687 { "_int","_unsigned_int",0},
7688 { "_int","_signed_int",0},
7689 { "_time_t","_wxCoord",0},
7690 { "_time_t","_wxPrintQuality",0},
7691 { "_time_t","_unsigned_int",0},
7692 { "_time_t","_int",0},
7693 { "_time_t","_wxWindowID",0},
7694 { "_time_t","_uint",0},
7695 { "_time_t","_size_t",0},
7696 { "_wxCoord","_int",0},
7697 { "_wxCoord","_signed_int",0},
7698 { "_wxCoord","_unsigned_int",0},
7699 { "_wxCoord","_wxWindowID",0},
7700 { "_wxCoord","_uint",0},
7701 { "_wxCoord","_EBool",0},
7702 { "_wxCoord","_size_t",0},
7703 { "_wxCoord","_time_t",0},
7704 { "_wxCoord","_wxPrintQuality",0},
7705 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler},
7706 {0,0,0}};
7707
7708 static PyObject *SWIG_globals;
7709 #ifdef __cplusplus
7710 extern "C"
7711 #endif
7712 SWIGEXPORT(void) initmisc2c() {
7713 PyObject *m, *d;
7714 SWIG_globals = SWIG_newvarlink();
7715 m = Py_InitModule("misc2c", misc2cMethods);
7716 d = PyModule_GetDict(m);
7717 PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH));
7718 PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH));
7719 PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH));
7720 PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH));
7721 PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH));
7722 PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH));
7723 PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH));
7724 PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN));
7725 PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN));
7726 PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN));
7727 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
7728 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
7729 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
7730 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
7731 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
7732 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
7733 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
7734 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
7735 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
7736 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
7737 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
7738 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
7739 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
7740 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
7741 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
7742 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
7743 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
7744 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
7745 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
7746 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
7747 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
7748 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
7749 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
7750 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
7751 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
7752 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
7753 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
7754 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
7755 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
7756 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
7757 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
7758 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
7759 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
7760 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
7761 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
7762 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
7763 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
7764 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
7765 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
7766 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
7767 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
7768 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
7769 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
7770 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
7771 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
7772 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
7773 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
7774 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
7775 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
7776 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
7777 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
7778 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
7779 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
7780 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
7781 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
7782 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
7783 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
7784 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
7785 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
7786 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
7787 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
7788 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
7789 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
7790 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
7791 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
7792 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
7793 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
7794 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
7795 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
7796 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
7797 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
7798 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
7799 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
7800 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
7801 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
7802 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
7803 PyDict_SetItemString(d,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError));
7804 PyDict_SetItemString(d,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error));
7805 PyDict_SetItemString(d,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning));
7806 PyDict_SetItemString(d,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message));
7807 PyDict_SetItemString(d,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info));
7808 PyDict_SetItemString(d,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status));
7809 PyDict_SetItemString(d,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug));
7810 PyDict_SetItemString(d,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace));
7811 PyDict_SetItemString(d,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress));
7812 PyDict_SetItemString(d,"wxLOG_User", PyInt_FromLong((long) wxLOG_User));
7813 PyDict_SetItemString(d,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS));
7814
7815 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7816 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7817 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7818 {
7819 int i;
7820 for (i = 0; _swig_mapping[i].n1; i++)
7821 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
7822 }
7823 }