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