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