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