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