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