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