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