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