]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc2.cpp
Emptied patch.rsp
[wxWidgets.git] / wxPython / src / gtk / misc2.cpp
CommitLineData
d24a34bb 1/*
c368d904 2 * FILE : src/gtk/misc2.cpp
d24a34bb
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
d24a34bb
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
d24a34bb
RD
28# else
29# if defined(__BORLANDC__)
3bcd5e1c 30# define SWIGEXPORT(a) a _export
d24a34bb 31# else
3bcd5e1c 32# define SWIGEXPORT(a) a
d24a34bb
RD
33# endif
34# endif
35#else
3bcd5e1c 36# define SWIGEXPORT(a) a
d24a34bb
RD
37#endif
38
3bcd5e1c
RD
39#include "Python.h"
40
d24a34bb
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
3bcd5e1c 44
d24a34bb
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
d24a34bb
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
d24a34bb
RD
54#define SWIG_init initmisc2c
55
56#define SWIG_name "misc2c"
57
58#include "helpers.h"
59#include <wx/resource.h>
60#include <wx/tooltip.h>
8f17924e
RD
61#include <wx/caret.h>
62#include <wx/fontenum.h>
f6bcfd97 63#include <wx/tipdlg.h>
c368d904 64#include <wx/process.h>
4dfaa61e
RD
65
66#if wxUSE_JOYSTICK || defined(__WXMSW__)
2cd2fac8 67#include <wx/joystick.h>
4662be59 68#endif
d24a34bb 69
4dfaa61e
RD
70#if wxUSE_WAVE || defined(__WXMSW__)
71#include <wx/wave.h>
72#endif
73
5c0282d5
RD
74#include <wx/mimetype.h>
75
d24a34bb
RD
76
77static PyObject* t_output_helper(PyObject* target, PyObject* o) {
78 PyObject* o2;
79 PyObject* o3;
80
3bcd5e1c 81 if (!target) {
d24a34bb 82 target = o;
3bcd5e1c 83 } else if (target == Py_None) {
d24a34bb
RD
84 Py_DECREF(Py_None);
85 target = o;
3bcd5e1c 86 } else {
d24a34bb
RD
87 if (!PyTuple_Check(target)) {
88 o2 = target;
89 target = PyTuple_New(1);
90 PyTuple_SetItem(target, 0, o2);
91 }
3bcd5e1c
RD
92 o3 = PyTuple_New(1);
93 PyTuple_SetItem(o3, 0, o);
d24a34bb
RD
94
95 o2 = target;
3bcd5e1c
RD
96 target = PySequence_Concat(o2, o3);
97 Py_DECREF(o2);
d24a34bb
RD
98 Py_DECREF(o3);
99 }
100 return target;
101}
102
7a446686
RD
103#if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg = "String or Unicode type required";
105#else
0220cbc1 106 static char* wxStringErrorMsg = "String type required";
7a446686 107#endif
d24a34bb 108
b68dc582
RD
109 static wxString wxPyEmptyStr("");
110
bc29c5e0
RD
111
112 wxColour wxSystemSettings_GetSystemColour(int index) {
113 return wxSystemSettings::GetSystemColour(index);
114 }
115
116 wxFont wxSystemSettings_GetSystemFont(int index) {
117 return wxSystemSettings::GetSystemFont(index);
118 }
119
120 int wxSystemSettings_GetSystemMetric(int index) {
121 return wxSystemSettings::GetSystemMetric(index);
122 }
123
bc29c5e0
RD
124 int wxCaret_GetBlinkTime() {
125 return wxCaret::GetBlinkTime();
126 }
127
128 void wxCaret_SetBlinkTime(int milliseconds) {
129 wxCaret::SetBlinkTime(milliseconds);
130 }
4120ef2b
RD
131
132class wxPyFontEnumerator : public wxFontEnumerator {
133public:
134 wxPyFontEnumerator() {}
135 ~wxPyFontEnumerator() {}
136
137 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
138 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
139
140 PYPRIVATE;
141};
142
143IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
144IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
145
f6bcfd97 146
4662be59 147 bool wxThread_IsMain() {
00ca6262 148#ifdef WXP_WITH_THREAD
4662be59 149 return wxThread::IsMain();
00ca6262
RD
150#else
151 return TRUE;
152#endif
4662be59
RD
153 }
154
f6bcfd97
BP
155class wxPyTipProvider : public wxTipProvider {
156public:
157 wxPyTipProvider(size_t currentTip)
158 : wxTipProvider(currentTip) {}
159
160 DEC_PYCALLBACK_STRING__pure(GetTip);
161
162 PYPRIVATE;
163};
164
165IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
166
167
168#include <wx/generic/dragimgg.h>
0220cbc1
RD
169
170// A Log class that can be derived from in wxPython
171class wxPyLog : public wxLog {
172public:
173 wxPyLog() : wxLog() {}
174
175 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
176 bool found;
177 wxPyTState* state = wxPyBeginBlockThreads();
178 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog")))
179 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(isi)", level, szString, t));
180 wxPyEndBlockThreads(state);
181 if (! found)
182 wxLog::DoLog(level, szString, t);
183 }
184
185 virtual void DoLogString(const wxChar *szString, time_t t) {
186 bool found;
187 wxPyTState* state = wxPyBeginBlockThreads();
188 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString")))
189 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(si)", szString, t));
190 wxPyEndBlockThreads(state);
191 if (! found)
192 wxLog::DoLogString(szString, t);
193 }
194
195 PYPRIVATE;
196};
c368d904
RD
197 // C++ version of wxProcess derived class
198
199class wxPyProcess : public wxProcess {
200public:
201 wxPyProcess(wxEvtHandler *parent = NULL, int id = -1)
202 : wxProcess(parent, id)
203 {}
204
205 DEC_PYCALLBACK_VOID_INTINT(OnTerminate);
206
207 PYPRIVATE;
208};
209
210IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
4dfaa61e 211
059a841c 212
4dfaa61e
RD
213#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
214// A C++ stub class for wxJoystick for platforms that don't have it.
215class wxJoystick : public wxObject {
216public:
217 wxJoystick(int joystick = wxJOYSTICK1) {
5c0282d5 218 wxPyTState* state = wxPyBeginBlockThreads();
4dfaa61e 219 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
5c0282d5 220 wxPyEndBlockThreads(state);
4dfaa61e
RD
221 }
222 wxPoint GetPosition() { return wxPoint(-1,-1); }
223 int GetZPosition() { return -1; }
224 int GetButtonState() { return -1; }
225 int GetPOVPosition() { return -1; }
226 int GetPOVCTSPosition() { return -1; }
227 int GetRudderPosition() { return -1; }
228 int GetUPosition() { return -1; }
229 int GetVPosition() { return -1; }
230 int GetMovementThreshold() { return -1; }
9d6da64a 231 void SetMovementThreshold(int threshold) {}
4dfaa61e
RD
232
233 bool IsOk(void) { return FALSE; }
234 int GetNumberJoysticks() { return -1; }
235 int GetManufacturerId() { return -1; }
236 int GetProductId() { return -1; }
237 wxString GetProductName() { return ""; }
238 int GetXMin() { return -1; }
239 int GetYMin() { return -1; }
240 int GetZMin() { return -1; }
241 int GetXMax() { return -1; }
242 int GetYMax() { return -1; }
243 int GetZMax() { return -1; }
244 int GetNumberButtons() { return -1; }
245 int GetNumberAxes() { return -1; }
246 int GetMaxButtons() { return -1; }
247 int GetMaxAxes() { return -1; }
248 int GetPollingMin() { return -1; }
249 int GetPollingMax() { return -1; }
250 int GetRudderMin() { return -1; }
251 int GetRudderMax() { return -1; }
252 int GetUMin() { return -1; }
253 int GetUMax() { return -1; }
254 int GetVMin() { return -1; }
255 int GetVMax() { return -1; }
256
257 bool HasRudder() { return FALSE; }
258 bool HasZ() { return FALSE; }
259 bool HasU() { return FALSE; }
260 bool HasV() { return FALSE; }
261 bool HasPOV() { return FALSE; }
262 bool HasPOV4Dir() { return FALSE; }
263 bool HasPOVCTS() { return FALSE; }
264
265 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return FALSE; }
266 bool ReleaseCapture() { return FALSE; }
267};
268#endif
269
2c8a649d 270#if !wxUSE_WAVE
4dfaa61e
RD
271// A C++ stub class for wxWave for platforms that don't have it.
272class wxWave : public wxObject
273{
274public:
275 wxWave(const wxString& fileName, bool isResource = FALSE) {
059a841c 276 wxPyTState* state = wxPyBeginBlockThreads();
4dfaa61e 277 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
059a841c 278 wxPyEndBlockThreads(state);
4dfaa61e
RD
279 }
280 wxWave(int size, const wxByte* data) {
059a841c 281 wxPyTState* state = wxPyBeginBlockThreads();
4dfaa61e 282 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
059a841c 283 wxPyEndBlockThreads(state);
4dfaa61e
RD
284 }
285
286 ~wxWave() {}
287
288 bool IsOk() const { return FALSE; }
289 bool Play(bool async = TRUE, bool looped = FALSE) const { return FALSE; }
290};
291
292#endif
293 // Implementations of some alternate "constructors"
294 wxWave* wxWaveData(const wxString& data) {
295 return new wxWave(data.Len(), (wxByte*)data.c_str());
296 }
5c0282d5
RD
297
298#if 0
299extern wxMimeTypesManager * wxTheMimeTypesManager;
300
301#endif
93283355
RD
302
303#include <wx/docview.h>
bc29c5e0
RD
304#ifdef __cplusplus
305extern "C" {
306#endif
307static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
308 PyObject * _resultobj;
309 wxString * _result;
310 char * _arg0;
311 char * _arg1 = (char *) NULL;
312 char * _arg2 = (char *) NULL;
313 char * _arg3 = (char *) NULL;
314 char * _arg4 = (char *) "*.*";
315 int _arg5 = (int ) 0;
316 wxWindow * _arg6 = (wxWindow *) NULL;
317 int _arg7 = (int ) -1;
318 int _arg8 = (int ) -1;
319 PyObject * _argo6 = 0;
320 char *_kwnames[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL };
321
322 self = self;
323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|ssssiOii:wxFileSelector",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7,&_arg8))
324 return NULL;
325 if (_argo6) {
326 if (_argo6 == Py_None) { _arg6 = NULL; }
327 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
328 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
329 return NULL;
330 }
331 }
332{
333 wxPy_BEGIN_ALLOW_THREADS;
334 _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8));
335
336 wxPy_END_ALLOW_THREADS;
337}{
e02c03a4 338 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
bc29c5e0
RD
339}
340{
341 delete _result;
342}
343 return _resultobj;
344}
345
346static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
347 PyObject * _resultobj;
348 wxString * _result;
349 wxString * _arg0;
350 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
351 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
352 wxWindow * _arg3 = (wxWindow *) NULL;
353 int _arg4 = (int ) -1;
354 int _arg5 = (int ) -1;
355 bool _arg6 = (bool ) TRUE;
356 PyObject * _obj0 = 0;
357 PyObject * _obj1 = 0;
358 PyObject * _obj2 = 0;
359 PyObject * _argo3 = 0;
360 int tempbool6 = (int) TRUE;
361 char *_kwnames[] = { "message","caption","default_value","parent","x","y","centre", NULL };
362
363 self = self;
364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOiii:wxGetTextFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&tempbool6))
365 return NULL;
366{
2cd2fac8
RD
367#if PYTHON_API_VERSION >= 1009
368 char* tmpPtr; int tmpSize;
369 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 370 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
371 return NULL;
372 }
373 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
374 return NULL;
375 _arg0 = new wxString(tmpPtr, tmpSize);
376#else
bc29c5e0
RD
377 if (!PyString_Check(_obj0)) {
378 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
379 return NULL;
380 }
2cd2fac8
RD
381 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
382#endif
bc29c5e0
RD
383}
384 if (_obj1)
385{
2cd2fac8
RD
386#if PYTHON_API_VERSION >= 1009
387 char* tmpPtr; int tmpSize;
388 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 389 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
390 return NULL;
391 }
392 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
393 return NULL;
394 _arg1 = new wxString(tmpPtr, tmpSize);
395#else
bc29c5e0
RD
396 if (!PyString_Check(_obj1)) {
397 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
398 return NULL;
399 }
2cd2fac8
RD
400 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
401#endif
bc29c5e0
RD
402}
403 if (_obj2)
404{
2cd2fac8
RD
405#if PYTHON_API_VERSION >= 1009
406 char* tmpPtr; int tmpSize;
407 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 408 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
409 return NULL;
410 }
411 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
412 return NULL;
413 _arg2 = new wxString(tmpPtr, tmpSize);
414#else
bc29c5e0
RD
415 if (!PyString_Check(_obj2)) {
416 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
417 return NULL;
418 }
2cd2fac8
RD
419 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
420#endif
bc29c5e0
RD
421}
422 if (_argo3) {
423 if (_argo3 == Py_None) { _arg3 = NULL; }
424 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
425 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
426 return NULL;
427 }
428 }
429 _arg6 = (bool ) tempbool6;
430{
431 wxPy_BEGIN_ALLOW_THREADS;
432 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
433
434 wxPy_END_ALLOW_THREADS;
435}{
e02c03a4 436 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
bc29c5e0
RD
437}
438{
439 if (_obj0)
440 delete _arg0;
441}
442{
443 if (_obj1)
444 delete _arg1;
445}
446{
447 if (_obj2)
448 delete _arg2;
449}
450{
451 delete _result;
452}
453 return _resultobj;
454}
455
1b62f00d
RD
456static PyObject *_wrap_wxGetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
457 PyObject * _resultobj;
458 wxString * _result;
459 wxString * _arg0;
460 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
461 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
462 wxWindow * _arg3 = (wxWindow *) NULL;
463 PyObject * _obj0 = 0;
464 PyObject * _obj1 = 0;
465 PyObject * _obj2 = 0;
466 PyObject * _argo3 = 0;
467 char *_kwnames[] = { "message","caption","default_value","parent", NULL };
468
469 self = self;
470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOO:wxGetPasswordFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3))
471 return NULL;
472{
473#if PYTHON_API_VERSION >= 1009
474 char* tmpPtr; int tmpSize;
475 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 476 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1b62f00d
RD
477 return NULL;
478 }
479 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
480 return NULL;
481 _arg0 = new wxString(tmpPtr, tmpSize);
482#else
483 if (!PyString_Check(_obj0)) {
484 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
485 return NULL;
486 }
487 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
488#endif
489}
490 if (_obj1)
491{
492#if PYTHON_API_VERSION >= 1009
493 char* tmpPtr; int tmpSize;
494 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 495 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1b62f00d
RD
496 return NULL;
497 }
498 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
499 return NULL;
500 _arg1 = new wxString(tmpPtr, tmpSize);
501#else
502 if (!PyString_Check(_obj1)) {
503 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
504 return NULL;
505 }
506 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
507#endif
508}
509 if (_obj2)
510{
511#if PYTHON_API_VERSION >= 1009
512 char* tmpPtr; int tmpSize;
513 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 514 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1b62f00d
RD
515 return NULL;
516 }
517 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
518 return NULL;
519 _arg2 = new wxString(tmpPtr, tmpSize);
520#else
521 if (!PyString_Check(_obj2)) {
522 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
523 return NULL;
524 }
525 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
526#endif
527}
528 if (_argo3) {
529 if (_argo3 == Py_None) { _arg3 = NULL; }
530 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
531 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
532 return NULL;
533 }
534 }
535{
536 wxPy_BEGIN_ALLOW_THREADS;
537 _result = new wxString (wxGetPasswordFromUser(*_arg0,*_arg1,*_arg2,_arg3));
538
539 wxPy_END_ALLOW_THREADS;
540}{
541 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
542}
543{
544 if (_obj0)
545 delete _arg0;
546}
547{
548 if (_obj1)
549 delete _arg1;
550}
551{
552 if (_obj2)
553 delete _arg2;
554}
555{
556 delete _result;
557}
558 return _resultobj;
559}
560
bc29c5e0
RD
561static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
562 PyObject * _resultobj;
563 wxString * _result;
564 wxString * _arg0;
565 wxString * _arg1;
566 int _arg2;
567 wxString * _arg3;
568 wxWindow * _arg4 = (wxWindow *) NULL;
569 int _arg5 = (int ) -1;
570 int _arg6 = (int ) -1;
571 bool _arg7 = (bool ) TRUE;
572 int _arg8 = (int ) 150;
573 int _arg9 = (int ) 200;
574 PyObject * _obj0 = 0;
575 PyObject * _obj1 = 0;
576 PyObject * _obj3 = 0;
577 PyObject * _argo4 = 0;
578 int tempbool7 = (int) TRUE;
e02c03a4 579 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
bc29c5e0
RD
580
581 self = self;
582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoice",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
583 return NULL;
584{
2cd2fac8
RD
585#if PYTHON_API_VERSION >= 1009
586 char* tmpPtr; int tmpSize;
587 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 588 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
589 return NULL;
590 }
591 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
592 return NULL;
593 _arg0 = new wxString(tmpPtr, tmpSize);
594#else
bc29c5e0
RD
595 if (!PyString_Check(_obj0)) {
596 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
597 return NULL;
598 }
2cd2fac8
RD
599 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
600#endif
bc29c5e0
RD
601}
602{
2cd2fac8
RD
603#if PYTHON_API_VERSION >= 1009
604 char* tmpPtr; int tmpSize;
605 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 606 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
607 return NULL;
608 }
609 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
610 return NULL;
611 _arg1 = new wxString(tmpPtr, tmpSize);
612#else
bc29c5e0
RD
613 if (!PyString_Check(_obj1)) {
614 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
615 return NULL;
616 }
2cd2fac8
RD
617 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
618#endif
bc29c5e0
RD
619}
620 if (_obj3)
621{
622 _arg3 = wxString_LIST_helper(_obj3);
623 if (_arg3 == NULL) {
624 return NULL;
625 }
626}
627 if (_argo4) {
628 if (_argo4 == Py_None) { _arg4 = NULL; }
629 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
631 return NULL;
632 }
633 }
634 _arg7 = (bool ) tempbool7;
635{
636 if (_obj3) {
637 _arg2 = PyList_Size(_obj3);
638 }
639 else {
640 _arg2 = 0;
641 }
642}
643{
644 wxPy_BEGIN_ALLOW_THREADS;
645 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
646
647 wxPy_END_ALLOW_THREADS;
648}{
e02c03a4 649 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
bc29c5e0
RD
650}
651{
652 if (_obj0)
653 delete _arg0;
654}
655{
656 if (_obj1)
657 delete _arg1;
658}
659{
660 delete [] _arg3;
661}
662{
663 delete _result;
664}
665 return _resultobj;
666}
667
668static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
669 PyObject * _resultobj;
670 int _result;
671 wxString * _arg0;
672 wxString * _arg1;
673 int _arg2;
674 wxString * _arg3;
675 wxWindow * _arg4 = (wxWindow *) NULL;
676 int _arg5 = (int ) -1;
677 int _arg6 = (int ) -1;
678 bool _arg7 = (bool ) TRUE;
679 int _arg8 = (int ) 150;
680 int _arg9 = (int ) 200;
681 PyObject * _obj0 = 0;
682 PyObject * _obj1 = 0;
683 PyObject * _obj3 = 0;
684 PyObject * _argo4 = 0;
685 int tempbool7 = (int) TRUE;
e02c03a4 686 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
bc29c5e0
RD
687
688 self = self;
689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
690 return NULL;
691{
2cd2fac8
RD
692#if PYTHON_API_VERSION >= 1009
693 char* tmpPtr; int tmpSize;
694 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 695 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
696 return NULL;
697 }
698 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
699 return NULL;
700 _arg0 = new wxString(tmpPtr, tmpSize);
701#else
bc29c5e0
RD
702 if (!PyString_Check(_obj0)) {
703 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
704 return NULL;
705 }
2cd2fac8
RD
706 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
707#endif
bc29c5e0
RD
708}
709{
2cd2fac8
RD
710#if PYTHON_API_VERSION >= 1009
711 char* tmpPtr; int tmpSize;
712 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 713 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
714 return NULL;
715 }
716 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
717 return NULL;
718 _arg1 = new wxString(tmpPtr, tmpSize);
719#else
bc29c5e0
RD
720 if (!PyString_Check(_obj1)) {
721 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
722 return NULL;
723 }
2cd2fac8
RD
724 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
725#endif
bc29c5e0
RD
726}
727 if (_obj3)
728{
729 _arg3 = wxString_LIST_helper(_obj3);
730 if (_arg3 == NULL) {
731 return NULL;
732 }
733}
734 if (_argo4) {
735 if (_argo4 == Py_None) { _arg4 = NULL; }
736 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
737 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
738 return NULL;
739 }
740 }
741 _arg7 = (bool ) tempbool7;
742{
743 if (_obj3) {
744 _arg2 = PyList_Size(_obj3);
745 }
746 else {
747 _arg2 = 0;
748 }
749}
750{
751 wxPy_BEGIN_ALLOW_THREADS;
752 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
753
754 wxPy_END_ALLOW_THREADS;
755} _resultobj = Py_BuildValue("i",_result);
756{
757 if (_obj0)
758 delete _arg0;
759}
760{
761 if (_obj1)
762 delete _arg1;
763}
764{
765 delete [] _arg3;
766}
767 return _resultobj;
768}
769
770static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
771 PyObject * _resultobj;
772 int _result;
773 wxString * _arg0;
774 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
775 int _arg2 = (int ) wxOK|wxCENTRE;
776 wxWindow * _arg3 = (wxWindow *) NULL;
777 int _arg4 = (int ) -1;
778 int _arg5 = (int ) -1;
779 PyObject * _obj0 = 0;
780 PyObject * _obj1 = 0;
781 PyObject * _argo3 = 0;
782 char *_kwnames[] = { "message","caption","style","parent","x","y", NULL };
783
784 self = self;
785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OiOii:wxMessageBox",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4,&_arg5))
786 return NULL;
787{
2cd2fac8
RD
788#if PYTHON_API_VERSION >= 1009
789 char* tmpPtr; int tmpSize;
790 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 791 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
792 return NULL;
793 }
794 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
795 return NULL;
796 _arg0 = new wxString(tmpPtr, tmpSize);
797#else
bc29c5e0
RD
798 if (!PyString_Check(_obj0)) {
799 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
800 return NULL;
801 }
2cd2fac8
RD
802 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
803#endif
bc29c5e0
RD
804}
805 if (_obj1)
806{
2cd2fac8
RD
807#if PYTHON_API_VERSION >= 1009
808 char* tmpPtr; int tmpSize;
809 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 810 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
811 return NULL;
812 }
813 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
814 return NULL;
815 _arg1 = new wxString(tmpPtr, tmpSize);
816#else
bc29c5e0
RD
817 if (!PyString_Check(_obj1)) {
818 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
819 return NULL;
820 }
2cd2fac8
RD
821 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
822#endif
bc29c5e0
RD
823}
824 if (_argo3) {
825 if (_argo3 == Py_None) { _arg3 = NULL; }
826 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
827 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
828 return NULL;
829 }
830 }
831{
832 wxPy_BEGIN_ALLOW_THREADS;
833 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
834
835 wxPy_END_ALLOW_THREADS;
836} _resultobj = Py_BuildValue("i",_result);
837{
838 if (_obj0)
839 delete _arg0;
840}
841{
842 if (_obj1)
843 delete _arg1;
844}
845 return _resultobj;
846}
847
848static PyObject *_wrap_wxGetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
849 PyObject * _resultobj;
850 long _result;
851 wxString * _arg0;
852 wxString * _arg1;
853 wxString * _arg2;
854 long _arg3;
855 long _arg4 = (long ) 0;
856 long _arg5 = (long ) 100;
857 wxWindow * _arg6 = (wxWindow *) NULL;
b68dc582 858 wxPoint * _arg7 = (wxPoint *) &wxDefaultPosition;
bc29c5e0
RD
859 PyObject * _obj0 = 0;
860 PyObject * _obj1 = 0;
861 PyObject * _obj2 = 0;
862 PyObject * _argo6 = 0;
863 wxPoint temp;
864 PyObject * _obj7 = 0;
865 char *_kwnames[] = { "message","prompt","caption","value","min","max","parent","pos", NULL };
866
867 self = self;
868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOl|llOO:wxGetNumberFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_arg3,&_arg4,&_arg5,&_argo6,&_obj7))
869 return NULL;
870{
2cd2fac8
RD
871#if PYTHON_API_VERSION >= 1009
872 char* tmpPtr; int tmpSize;
873 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 874 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
875 return NULL;
876 }
877 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
878 return NULL;
879 _arg0 = new wxString(tmpPtr, tmpSize);
880#else
bc29c5e0
RD
881 if (!PyString_Check(_obj0)) {
882 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
883 return NULL;
884 }
2cd2fac8
RD
885 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
886#endif
bc29c5e0
RD
887}
888{
2cd2fac8
RD
889#if PYTHON_API_VERSION >= 1009
890 char* tmpPtr; int tmpSize;
891 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 892 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
893 return NULL;
894 }
895 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
896 return NULL;
897 _arg1 = new wxString(tmpPtr, tmpSize);
898#else
bc29c5e0
RD
899 if (!PyString_Check(_obj1)) {
900 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
901 return NULL;
902 }
2cd2fac8
RD
903 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
904#endif
bc29c5e0
RD
905}
906{
2cd2fac8
RD
907#if PYTHON_API_VERSION >= 1009
908 char* tmpPtr; int tmpSize;
909 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 910 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
911 return NULL;
912 }
913 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
914 return NULL;
915 _arg2 = new wxString(tmpPtr, tmpSize);
916#else
bc29c5e0
RD
917 if (!PyString_Check(_obj2)) {
918 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
919 return NULL;
920 }
2cd2fac8
RD
921 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
922#endif
bc29c5e0
RD
923}
924 if (_argo6) {
925 if (_argo6 == Py_None) { _arg6 = NULL; }
926 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
927 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
928 return NULL;
929 }
930 }
931 if (_obj7)
932{
933 _arg7 = &temp;
934 if (! wxPoint_helper(_obj7, &_arg7))
935 return NULL;
936}
937{
938 wxPy_BEGIN_ALLOW_THREADS;
939 _result = (long )wxGetNumberFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6,*_arg7);
940
941 wxPy_END_ALLOW_THREADS;
942} _resultobj = Py_BuildValue("l",_result);
943{
944 if (_obj0)
945 delete _arg0;
946}
947{
948 if (_obj1)
949 delete _arg1;
950}
951{
952 if (_obj2)
953 delete _arg2;
954}
955 return _resultobj;
956}
957
958static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
959 PyObject * _resultobj;
960 bool _result;
961 char *_kwnames[] = { NULL };
962
963 self = self;
964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxColourDisplay",_kwnames))
965 return NULL;
966{
967 wxPy_BEGIN_ALLOW_THREADS;
968 _result = (bool )wxColourDisplay();
969
970 wxPy_END_ALLOW_THREADS;
971} _resultobj = Py_BuildValue("i",_result);
972 return _resultobj;
973}
974
975static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject * _resultobj;
977 int _result;
978 char *_kwnames[] = { NULL };
979
980 self = self;
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplayDepth",_kwnames))
982 return NULL;
983{
984 wxPy_BEGIN_ALLOW_THREADS;
985 _result = (int )wxDisplayDepth();
986
987 wxPy_END_ALLOW_THREADS;
988} _resultobj = Py_BuildValue("i",_result);
989 return _resultobj;
990}
8f17924e 991
b68dc582
RD
992static PyObject *_wrap_wxGetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
993 PyObject * _resultobj;
994 int _result;
995 char *_kwnames[] = { NULL };
996
997 self = self;
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplayDepth",_kwnames))
999 return NULL;
1000{
1001 wxPy_BEGIN_ALLOW_THREADS;
1002 _result = (int )wxGetDisplayDepth();
1003
1004 wxPy_END_ALLOW_THREADS;
1005} _resultobj = Py_BuildValue("i",_result);
1006 return _resultobj;
1007}
1008
1009static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
1010 PyObject * _resultobj;
1011 int * _arg0;
1012 int temp;
1013 int * _arg1;
1014 int temp0;
1015 char *_kwnames[] = { NULL };
1016
1017 self = self;
1018{
1019 _arg0 = &temp;
1020}
1021{
1022 _arg1 = &temp0;
1023}
1024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySize",_kwnames))
1025 return NULL;
1026{
1027 wxPy_BEGIN_ALLOW_THREADS;
1028 wxDisplaySize(_arg0,_arg1);
1029
1030 wxPy_END_ALLOW_THREADS;
1031} Py_INCREF(Py_None);
1032 _resultobj = Py_None;
1033{
1034 PyObject *o;
1035 o = PyInt_FromLong((long) (*_arg0));
1036 _resultobj = t_output_helper(_resultobj, o);
1037}
1038{
1039 PyObject *o;
1040 o = PyInt_FromLong((long) (*_arg1));
1041 _resultobj = t_output_helper(_resultobj, o);
1042}
1043 return _resultobj;
1044}
1045
1046static PyObject *_wrap_wxGetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject * _resultobj;
1048 wxSize * _result;
1049 char *_kwnames[] = { NULL };
1050 char _ptemp[128];
1051
1052 self = self;
1053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySize",_kwnames))
1054 return NULL;
1055{
1056 wxPy_BEGIN_ALLOW_THREADS;
1057 _result = new wxSize (wxGetDisplaySize());
1058
1059 wxPy_END_ALLOW_THREADS;
1060} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1061 _resultobj = Py_BuildValue("s",_ptemp);
1062 return _resultobj;
1063}
1064
9c4165ad
RD
1065static PyObject *_wrap_wxDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
1066 PyObject * _resultobj;
1067 int * _arg0;
1068 int temp;
1069 int * _arg1;
1070 int temp0;
1071 char *_kwnames[] = { NULL };
1072
1073 self = self;
1074{
1075 _arg0 = &temp;
1076}
1077{
1078 _arg1 = &temp0;
1079}
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySizeMM",_kwnames))
1081 return NULL;
1082{
1083 wxPy_BEGIN_ALLOW_THREADS;
1084 wxDisplaySizeMM(_arg0,_arg1);
1085
1086 wxPy_END_ALLOW_THREADS;
1087} Py_INCREF(Py_None);
1088 _resultobj = Py_None;
1089{
1090 PyObject *o;
1091 o = PyInt_FromLong((long) (*_arg0));
1092 _resultobj = t_output_helper(_resultobj, o);
1093}
1094{
1095 PyObject *o;
1096 o = PyInt_FromLong((long) (*_arg1));
1097 _resultobj = t_output_helper(_resultobj, o);
1098}
1099 return _resultobj;
1100}
1101
1102static PyObject *_wrap_wxGetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
1103 PyObject * _resultobj;
1104 wxSize * _result;
1105 char *_kwnames[] = { NULL };
1106 char _ptemp[128];
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySizeMM",_kwnames))
1110 return NULL;
1111{
1112 wxPy_BEGIN_ALLOW_THREADS;
1113 _result = new wxSize (wxGetDisplaySizeMM());
1114
1115 wxPy_END_ALLOW_THREADS;
1116} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1117 _resultobj = Py_BuildValue("s",_ptemp);
1118 return _resultobj;
1119}
1120
9e689c06
RD
1121static PyObject *_wrap_wxClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1122 PyObject * _resultobj;
1123 int * _arg0;
1124 int temp;
1125 int * _arg1;
1126 int temp0;
1127 int * _arg2;
1128 int temp1;
1129 int * _arg3;
1130 int temp2;
1131 char *_kwnames[] = { NULL };
1132
1133 self = self;
1134{
1135 _arg0 = &temp;
1136}
1137{
1138 _arg1 = &temp0;
1139}
1140{
1141 _arg2 = &temp1;
1142}
1143{
1144 _arg3 = &temp2;
1145}
1146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxClientDisplayRect",_kwnames))
1147 return NULL;
1148{
1149 wxPy_BEGIN_ALLOW_THREADS;
1150 wxClientDisplayRect(_arg0,_arg1,_arg2,_arg3);
1151
1152 wxPy_END_ALLOW_THREADS;
1153} Py_INCREF(Py_None);
1154 _resultobj = Py_None;
1155{
1156 PyObject *o;
1157 o = PyInt_FromLong((long) (*_arg0));
1158 _resultobj = t_output_helper(_resultobj, o);
1159}
1160{
1161 PyObject *o;
1162 o = PyInt_FromLong((long) (*_arg1));
1163 _resultobj = t_output_helper(_resultobj, o);
1164}
1165{
1166 PyObject *o;
1167 o = PyInt_FromLong((long) (*_arg2));
1168 _resultobj = t_output_helper(_resultobj, o);
1169}
1170{
1171 PyObject *o;
1172 o = PyInt_FromLong((long) (*_arg3));
1173 _resultobj = t_output_helper(_resultobj, o);
1174}
1175 return _resultobj;
1176}
1177
1178static PyObject *_wrap_wxGetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1179 PyObject * _resultobj;
1180 wxRect * _result;
1181 char *_kwnames[] = { NULL };
1182 char _ptemp[128];
1183
1184 self = self;
1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetClientDisplayRect",_kwnames))
1186 return NULL;
1187{
1188 wxPy_BEGIN_ALLOW_THREADS;
1189 _result = new wxRect (wxGetClientDisplayRect());
1190
1191 wxPy_END_ALLOW_THREADS;
1192} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1193 _resultobj = Py_BuildValue("s",_ptemp);
1194 return _resultobj;
1195}
1196
bc29c5e0
RD
1197static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1198 PyObject * _resultobj;
1199 wxCursor * _arg0;
1200 PyObject * _argo0 = 0;
1201 char *_kwnames[] = { "cursor", NULL };
8f17924e 1202
bc29c5e0
RD
1203 self = self;
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSetCursor",_kwnames,&_argo0))
1205 return NULL;
1206 if (_argo0) {
1207 if (_argo0 == Py_None) { _arg0 = NULL; }
1208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
1209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1210 return NULL;
1211 }
8f17924e 1212 }
bc29c5e0
RD
1213{
1214 wxPy_BEGIN_ALLOW_THREADS;
1215 wxSetCursor(*_arg0);
1216
1217 wxPy_END_ALLOW_THREADS;
1218} Py_INCREF(Py_None);
1219 _resultobj = Py_None;
1220 return _resultobj;
1221}
1222
107e4716 1223static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1224 PyObject * _resultobj;
1225 wxWindow * _result;
1226 wxString * _arg0;
2d091820 1227 wxWindow * _arg1 = (wxWindow *) NULL;
d24a34bb 1228 PyObject * _obj0 = 0;
2d091820 1229 PyObject * _argo1 = 0;
107e4716 1230 char *_kwnames[] = { "label","parent", NULL };
d24a34bb
RD
1231
1232 self = self;
107e4716 1233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
d24a34bb
RD
1234 return NULL;
1235{
2cd2fac8
RD
1236#if PYTHON_API_VERSION >= 1009
1237 char* tmpPtr; int tmpSize;
1238 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 1239 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1240 return NULL;
1241 }
1242 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1243 return NULL;
1244 _arg0 = new wxString(tmpPtr, tmpSize);
1245#else
d24a34bb
RD
1246 if (!PyString_Check(_obj0)) {
1247 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1248 return NULL;
1249 }
2cd2fac8
RD
1250 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1251#endif
d24a34bb 1252}
2d091820
RD
1253 if (_argo1) {
1254 if (_argo1 == Py_None) { _arg1 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1257 return NULL;
1258 }
1259 }
1260{
1261 wxPy_BEGIN_ALLOW_THREADS;
1262 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
1263
1264 wxPy_END_ALLOW_THREADS;
9df61a29 1265}{ _resultobj = wxPyMake_wxObject(_result); }
d24a34bb
RD
1266{
1267 if (_obj0)
1268 delete _arg0;
1269}
1270 return _resultobj;
1271}
1272
107e4716 1273static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1274 PyObject * _resultobj;
1275 wxWindow * _result;
1276 wxString * _arg0;
2d091820 1277 wxWindow * _arg1 = (wxWindow *) NULL;
d24a34bb 1278 PyObject * _obj0 = 0;
2d091820 1279 PyObject * _argo1 = 0;
107e4716 1280 char *_kwnames[] = { "name","parent", NULL };
d24a34bb
RD
1281
1282 self = self;
107e4716 1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
d24a34bb
RD
1284 return NULL;
1285{
2cd2fac8
RD
1286#if PYTHON_API_VERSION >= 1009
1287 char* tmpPtr; int tmpSize;
1288 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 1289 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1290 return NULL;
1291 }
1292 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1293 return NULL;
1294 _arg0 = new wxString(tmpPtr, tmpSize);
1295#else
d24a34bb
RD
1296 if (!PyString_Check(_obj0)) {
1297 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1298 return NULL;
1299 }
2cd2fac8
RD
1300 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1301#endif
d24a34bb 1302}
2d091820
RD
1303 if (_argo1) {
1304 if (_argo1 == Py_None) { _arg1 = NULL; }
1305 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
1306 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1307 return NULL;
1308 }
1309 }
1310{
1311 wxPy_BEGIN_ALLOW_THREADS;
1312 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
1313
1314 wxPy_END_ALLOW_THREADS;
9df61a29 1315}{ _resultobj = wxPyMake_wxObject(_result); }
d24a34bb
RD
1316{
1317 if (_obj0)
1318 delete _arg0;
1319}
1320 return _resultobj;
1321}
1322
bc29c5e0
RD
1323static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject * _resultobj;
1325 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
1326 PyObject * _argo0 = 0;
1327 char *_kwnames[] = { "cursor", NULL };
1328
1329 self = self;
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxBeginBusyCursor",_kwnames,&_argo0))
1331 return NULL;
1332 if (_argo0) {
1333 if (_argo0 == Py_None) { _arg0 = NULL; }
1334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
1335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1336 return NULL;
1337 }
1338 }
1339{
1340 wxPy_BEGIN_ALLOW_THREADS;
1341 wxBeginBusyCursor(_arg0);
1342
1343 wxPy_END_ALLOW_THREADS;
1344} Py_INCREF(Py_None);
1345 _resultobj = Py_None;
1346 return _resultobj;
1347}
1348
1349static PyObject *_wrap_wxGetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1350 PyObject * _resultobj;
1351 wxWindow * _result;
1352 char *_kwnames[] = { NULL };
bc29c5e0
RD
1353
1354 self = self;
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetActiveWindow",_kwnames))
1356 return NULL;
1357{
1358 wxPy_BEGIN_ALLOW_THREADS;
1359 _result = (wxWindow *)wxGetActiveWindow();
1360
1361 wxPy_END_ALLOW_THREADS;
9df61a29 1362}{ _resultobj = wxPyMake_wxObject(_result); }
bc29c5e0
RD
1363 return _resultobj;
1364}
1365
4dfaa61e
RD
1366static PyObject *_wrap_wxGenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject * _resultobj;
1368 wxWindow * _result;
1369 wxPoint * _arg0;
1370 wxPoint temp;
1371 PyObject * _obj0 = 0;
1372 char *_kwnames[] = { "pt", NULL };
1373
1374 self = self;
1375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGenericFindWindowAtPoint",_kwnames,&_obj0))
1376 return NULL;
1377{
1378 _arg0 = &temp;
1379 if (! wxPoint_helper(_obj0, &_arg0))
1380 return NULL;
1381}
1382{
1383 wxPy_BEGIN_ALLOW_THREADS;
1384 _result = (wxWindow *)wxGenericFindWindowAtPoint(*_arg0);
1385
1386 wxPy_END_ALLOW_THREADS;
1387}{ _resultobj = wxPyMake_wxObject(_result); }
1388 return _resultobj;
1389}
1390
1391static PyObject *_wrap_wxFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1392 PyObject * _resultobj;
1393 wxWindow * _result;
1394 wxPoint * _arg0;
1395 wxPoint temp;
1396 PyObject * _obj0 = 0;
1397 char *_kwnames[] = { "pt", NULL };
1398
1399 self = self;
1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFindWindowAtPoint",_kwnames,&_obj0))
1401 return NULL;
1402{
1403 _arg0 = &temp;
1404 if (! wxPoint_helper(_obj0, &_arg0))
1405 return NULL;
1406}
1407{
1408 wxPy_BEGIN_ALLOW_THREADS;
1409 _result = (wxWindow *)wxFindWindowAtPoint(*_arg0);
1410
1411 wxPy_END_ALLOW_THREADS;
1412}{ _resultobj = wxPyMake_wxObject(_result); }
1413 return _resultobj;
1414}
1415
bc29c5e0
RD
1416static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject * _resultobj;
1418 bool _result;
1419 char * _arg0;
1420 int _arg1;
1421 char *_kwnames[] = { "name","value", NULL };
1422
1423 self = self;
1424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"si:wxResourceAddIdentifier",_kwnames,&_arg0,&_arg1))
1425 return NULL;
1426{
1427 wxPy_BEGIN_ALLOW_THREADS;
1428 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
1429
1430 wxPy_END_ALLOW_THREADS;
1431} _resultobj = Py_BuildValue("i",_result);
1432 return _resultobj;
1433}
1434
1435static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args, PyObject *kwargs) {
1436 PyObject * _resultobj;
1437 char *_kwnames[] = { NULL };
1438
1439 self = self;
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxResourceClear",_kwnames))
1441 return NULL;
1442{
1443 wxPy_BEGIN_ALLOW_THREADS;
1444 wxResourceClear();
1445
1446 wxPy_END_ALLOW_THREADS;
1447} Py_INCREF(Py_None);
1448 _resultobj = Py_None;
1449 return _resultobj;
1450}
1451
1452static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject * _resultobj;
1454 wxBitmap * _result;
1455 char * _arg0;
1456 char *_kwnames[] = { "resource", NULL };
1457 char _ptemp[128];
1458
1459 self = self;
1460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateBitmap",_kwnames,&_arg0))
1461 return NULL;
1462{
1463 wxPy_BEGIN_ALLOW_THREADS;
1464 _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
1465
1466 wxPy_END_ALLOW_THREADS;
1467} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1468 _resultobj = Py_BuildValue("s",_ptemp);
1469 return _resultobj;
1470}
1471
1472static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
1473 PyObject * _resultobj;
1474 wxIcon * _result;
1475 char * _arg0;
1476 char *_kwnames[] = { "resource", NULL };
1477 char _ptemp[128];
1478
1479 self = self;
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateIcon",_kwnames,&_arg0))
1481 return NULL;
1482{
1483 wxPy_BEGIN_ALLOW_THREADS;
1484 _result = new wxIcon (wxResourceCreateIcon(_arg0));
1485
1486 wxPy_END_ALLOW_THREADS;
1487} SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
1488 _resultobj = Py_BuildValue("s",_ptemp);
1489 return _resultobj;
1490}
1491
1492static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject * _resultobj;
1494 wxMenuBar * _result;
1495 char * _arg0;
1496 char *_kwnames[] = { "resource", NULL };
bc29c5e0
RD
1497
1498 self = self;
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateMenuBar",_kwnames,&_arg0))
1500 return NULL;
1501{
1502 wxPy_BEGIN_ALLOW_THREADS;
1503 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
1504
1505 wxPy_END_ALLOW_THREADS;
9df61a29 1506}{ _resultobj = wxPyMake_wxObject(_result); }
bc29c5e0
RD
1507 return _resultobj;
1508}
1509
1510static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject * _resultobj;
1512 int _result;
1513 char * _arg0;
1514 char *_kwnames[] = { "name", NULL };
1515
1516 self = self;
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceGetIdentifier",_kwnames,&_arg0))
1518 return NULL;
1519{
1520 wxPy_BEGIN_ALLOW_THREADS;
1521 _result = (int )wxResourceGetIdentifier(_arg0);
1522
1523 wxPy_END_ALLOW_THREADS;
1524} _resultobj = Py_BuildValue("i",_result);
1525 return _resultobj;
1526}
1527
1528static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject * _resultobj;
1530 bool _result;
1531 char * _arg0;
1532 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1533 PyObject * _argo1 = 0;
1534 char *_kwnames[] = { "resource","table", NULL };
1535
1536 self = self;
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseData",_kwnames,&_arg0,&_argo1))
1538 return NULL;
1539 if (_argo1) {
1540 if (_argo1 == Py_None) { _arg1 = NULL; }
1541 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1542 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1543 return NULL;
1544 }
1545 }
1546{
1547 wxPy_BEGIN_ALLOW_THREADS;
1548 _result = (bool )wxResourceParseData(_arg0,_arg1);
1549
1550 wxPy_END_ALLOW_THREADS;
1551} _resultobj = Py_BuildValue("i",_result);
1552 return _resultobj;
1553}
1554
1555static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject * _resultobj;
1557 bool _result;
1558 char * _arg0;
1559 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1560 PyObject * _argo1 = 0;
1561 char *_kwnames[] = { "filename","table", NULL };
1562
1563 self = self;
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseFile",_kwnames,&_arg0,&_argo1))
1565 return NULL;
1566 if (_argo1) {
1567 if (_argo1 == Py_None) { _arg1 = NULL; }
1568 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1570 return NULL;
1571 }
1572 }
1573{
1574 wxPy_BEGIN_ALLOW_THREADS;
1575 _result = (bool )wxResourceParseFile(_arg0,_arg1);
1576
1577 wxPy_END_ALLOW_THREADS;
1578} _resultobj = Py_BuildValue("i",_result);
1579 return _resultobj;
1580}
1581
1582static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject * _resultobj;
1584 bool _result;
1585 char * _arg0;
1586 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
1587 PyObject * _argo1 = 0;
1588 char *_kwnames[] = { "resource","table", NULL };
1589
1590 self = self;
1591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseString",_kwnames,&_arg0,&_argo1))
1592 return NULL;
1593 if (_argo1) {
1594 if (_argo1 == Py_None) { _arg1 = NULL; }
1595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
1596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1597 return NULL;
1598 }
1599 }
1600{
1601 wxPy_BEGIN_ALLOW_THREADS;
1602 _result = (bool )wxResourceParseString(_arg0,_arg1);
1603
1604 wxPy_END_ALLOW_THREADS;
1605} _resultobj = Py_BuildValue("i",_result);
1606 return _resultobj;
1607}
1608
1609static PyObject *_wrap_wxSystemSettings_GetSystemColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject * _resultobj;
1611 wxColour * _result;
1612 int _arg0;
1613 char *_kwnames[] = { "index", NULL };
1614 char _ptemp[128];
1615
1616 self = self;
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemColour",_kwnames,&_arg0))
1618 return NULL;
1619{
1620 wxPy_BEGIN_ALLOW_THREADS;
1621 _result = new wxColour (wxSystemSettings_GetSystemColour(_arg0));
1622
1623 wxPy_END_ALLOW_THREADS;
1624} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1625 _resultobj = Py_BuildValue("s",_ptemp);
1626 return _resultobj;
1627}
1628
1629static PyObject *_wrap_wxSystemSettings_GetSystemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject * _resultobj;
1631 wxFont * _result;
1632 int _arg0;
1633 char *_kwnames[] = { "index", NULL };
1634 char _ptemp[128];
1635
1636 self = self;
1637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemFont",_kwnames,&_arg0))
1638 return NULL;
1639{
1640 wxPy_BEGIN_ALLOW_THREADS;
1641 _result = new wxFont (wxSystemSettings_GetSystemFont(_arg0));
1642
1643 wxPy_END_ALLOW_THREADS;
1644} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1645 _resultobj = Py_BuildValue("s",_ptemp);
1646 return _resultobj;
1647}
1648
1649static PyObject *_wrap_wxSystemSettings_GetSystemMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject * _resultobj;
1651 int _result;
1652 int _arg0;
1653 char *_kwnames[] = { "index", NULL };
1654
1655 self = self;
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemMetric",_kwnames,&_arg0))
1657 return NULL;
1658{
1659 wxPy_BEGIN_ALLOW_THREADS;
1660 _result = (int )wxSystemSettings_GetSystemMetric(_arg0);
1661
1662 wxPy_END_ALLOW_THREADS;
1663} _resultobj = Py_BuildValue("i",_result);
1664 return _resultobj;
1665}
1666
8f17924e
RD
1667static PyObject *_wrap_wxCaret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject * _resultobj;
1669 int _result;
1670 char *_kwnames[] = { NULL };
1671
1672 self = self;
1673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxCaret_GetBlinkTime",_kwnames))
1674 return NULL;
1675{
1676 wxPy_BEGIN_ALLOW_THREADS;
1677 _result = (int )wxCaret_GetBlinkTime();
1678
1679 wxPy_END_ALLOW_THREADS;
1680} _resultobj = Py_BuildValue("i",_result);
1681 return _resultobj;
1682}
1683
1684static PyObject *_wrap_wxCaret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject * _resultobj;
1686 int _arg0;
1687 char *_kwnames[] = { "milliseconds", NULL };
1688
1689 self = self;
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxCaret_SetBlinkTime",_kwnames,&_arg0))
1691 return NULL;
1692{
1693 wxPy_BEGIN_ALLOW_THREADS;
1694 wxCaret_SetBlinkTime(_arg0);
1695
1696 wxPy_END_ALLOW_THREADS;
1697} Py_INCREF(Py_None);
1698 _resultobj = Py_None;
1699 return _resultobj;
1700}
1701
4662be59
RD
1702static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject * _resultobj;
1704 bool _result;
1705 wxWindow * _arg0 = (wxWindow *) NULL;
1706 PyObject * _argo0 = 0;
1707 char *_kwnames[] = { "win", NULL };
1708
1709 self = self;
1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxSafeYield",_kwnames,&_argo0))
1711 return NULL;
1712 if (_argo0) {
1713 if (_argo0 == Py_None) { _arg0 = NULL; }
1714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1716 return NULL;
1717 }
1718 }
1719{
1720 wxPy_BEGIN_ALLOW_THREADS;
1721 _result = (bool )wxSafeYield(_arg0);
1722
1723 wxPy_END_ALLOW_THREADS;
1724} _resultobj = Py_BuildValue("i",_result);
1725 return _resultobj;
1726}
1727
4120ef2b
RD
1728static PyObject *_wrap_wxPostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1729 PyObject * _resultobj;
1730 wxEvtHandler * _arg0;
1731 wxEvent * _arg1;
1732 PyObject * _argo0 = 0;
1733 PyObject * _argo1 = 0;
1734 char *_kwnames[] = { "dest","event", NULL };
1735
1736 self = self;
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostEvent",_kwnames,&_argo0,&_argo1))
1738 return NULL;
1739 if (_argo0) {
1740 if (_argo0 == Py_None) { _arg0 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1743 return NULL;
1744 }
1745 }
1746 if (_argo1) {
1747 if (_argo1 == Py_None) { _arg1 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1750 return NULL;
1751 }
1752 }
1753{
1754 wxPy_BEGIN_ALLOW_THREADS;
1755 wxPostEvent(_arg0,*_arg1);
1756
1757 wxPy_END_ALLOW_THREADS;
1758} Py_INCREF(Py_None);
1759 _resultobj = Py_None;
1760 return _resultobj;
1761}
1762
d29aba2f
RD
1763static PyObject *_wrap_wxWakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject * _resultobj;
1765 char *_kwnames[] = { NULL };
1766
1767 self = self;
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWakeUpIdle",_kwnames))
1769 return NULL;
1770{
1771 wxPy_BEGIN_ALLOW_THREADS;
1772 wxWakeUpIdle();
1773
1774 wxPy_END_ALLOW_THREADS;
1775} Py_INCREF(Py_None);
1776 _resultobj = Py_None;
1777 return _resultobj;
1778}
1779
4662be59 1780static PyObject *_wrap_wxMutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
c368d904 1781 PyObject * _resultobj;
4662be59 1782 char *_kwnames[] = { NULL };
c368d904
RD
1783
1784 self = self;
4662be59 1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMutexGuiEnter",_kwnames))
c368d904 1786 return NULL;
4662be59
RD
1787{
1788 wxPy_BEGIN_ALLOW_THREADS;
1789 wxMutexGuiEnter();
1790
1791 wxPy_END_ALLOW_THREADS;
1792} Py_INCREF(Py_None);
1793 _resultobj = Py_None;
1794 return _resultobj;
1795}
1796
1797static PyObject *_wrap_wxMutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject * _resultobj;
1799 char *_kwnames[] = { NULL };
1800
1801 self = self;
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxMutexGuiLeave",_kwnames))
c368d904 1803 return NULL;
c368d904
RD
1804{
1805 wxPy_BEGIN_ALLOW_THREADS;
4662be59
RD
1806 wxMutexGuiLeave();
1807
1808 wxPy_END_ALLOW_THREADS;
1809} Py_INCREF(Py_None);
1810 _resultobj = Py_None;
1811 return _resultobj;
1812}
1813
1814static PyObject *_wrap_wxThread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject * _resultobj;
1816 bool _result;
1817 char *_kwnames[] = { NULL };
1818
1819 self = self;
1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxThread_IsMain",_kwnames))
1821 return NULL;
1822{
1823 wxPy_BEGIN_ALLOW_THREADS;
1824 _result = (bool )wxThread_IsMain();
c368d904
RD
1825
1826 wxPy_END_ALLOW_THREADS;
1827} _resultobj = Py_BuildValue("i",_result);
1828 return _resultobj;
1829}
1830
f6bcfd97 1831static PyObject *_wrap_wxShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb 1832 PyObject * _resultobj;
f6bcfd97
BP
1833 bool _result;
1834 wxWindow * _arg0;
1835 wxTipProvider * _arg1;
1836 bool _arg2 = (bool ) TRUE;
1837 PyObject * _argo0 = 0;
1838 PyObject * _argo1 = 0;
1839 int tempbool2 = (int) TRUE;
1840 char *_kwnames[] = { "parent","tipProvider","showAtStartup", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxShowTip",_kwnames,&_argo0,&_argo1,&tempbool2))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1849 return NULL;
1850 }
1851 }
1852 if (_argo1) {
1853 if (_argo1 == Py_None) { _arg1 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTipProvider_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1856 return NULL;
1857 }
1858 }
1859 _arg2 = (bool ) tempbool2;
1860{
1861 wxPy_BEGIN_ALLOW_THREADS;
1862 _result = (bool )wxShowTip(_arg0,_arg1,_arg2);
1863
1864 wxPy_END_ALLOW_THREADS;
1865} _resultobj = Py_BuildValue("i",_result);
1866 return _resultobj;
1867}
1868
1869static PyObject *_wrap_wxCreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject * _resultobj;
1871 wxTipProvider * _result;
d24a34bb 1872 wxString * _arg0;
f6bcfd97 1873 size_t _arg1;
d24a34bb 1874 PyObject * _obj0 = 0;
f6bcfd97 1875 char *_kwnames[] = { "filename","currentTip", NULL };
d24a34bb
RD
1876 char _ptemp[128];
1877
1878 self = self;
f6bcfd97 1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCreateFileTipProvider",_kwnames,&_obj0,&_arg1))
d24a34bb
RD
1880 return NULL;
1881{
2cd2fac8
RD
1882#if PYTHON_API_VERSION >= 1009
1883 char* tmpPtr; int tmpSize;
1884 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 1885 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1886 return NULL;
1887 }
1888 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1889 return NULL;
1890 _arg0 = new wxString(tmpPtr, tmpSize);
1891#else
d24a34bb
RD
1892 if (!PyString_Check(_obj0)) {
1893 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1894 return NULL;
1895 }
2cd2fac8
RD
1896 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1897#endif
d24a34bb
RD
1898}
1899{
1900 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1901 _result = (wxTipProvider *)wxCreateFileTipProvider(*_arg0,_arg1);
d24a34bb
RD
1902
1903 wxPy_END_ALLOW_THREADS;
2d091820 1904} if (_result) {
f6bcfd97 1905 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipProvider_p");
2d091820
RD
1906 _resultobj = Py_BuildValue("s",_ptemp);
1907 } else {
1908 Py_INCREF(Py_None);
1909 _resultobj = Py_None;
1910 }
d24a34bb
RD
1911{
1912 if (_obj0)
1913 delete _arg0;
1914}
1915 return _resultobj;
1916}
1917
f6bcfd97 1918static PyObject *_wrap_wxSysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 1919 PyObject * _resultobj;
f6bcfd97
BP
1920 unsigned long _result;
1921 char *_kwnames[] = { NULL };
8f17924e
RD
1922
1923 self = self;
f6bcfd97 1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxSysErrorCode",_kwnames))
8f17924e 1925 return NULL;
8f17924e
RD
1926{
1927 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1928 _result = (unsigned long )wxSysErrorCode();
8f17924e
RD
1929
1930 wxPy_END_ALLOW_THREADS;
f6bcfd97 1931} _resultobj = Py_BuildValue("l",_result);
8f17924e
RD
1932 return _resultobj;
1933}
1934
f6bcfd97 1935static PyObject *_wrap_wxSysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 1936 PyObject * _resultobj;
f6bcfd97
BP
1937 char * _result;
1938 unsigned long _arg0 = (unsigned long ) 0;
1939 char *_kwnames[] = { "nErrCode", NULL };
8f17924e
RD
1940
1941 self = self;
f6bcfd97 1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:wxSysErrorMsg",_kwnames,&_arg0))
8f17924e 1943 return NULL;
8f17924e
RD
1944{
1945 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1946 _result = (char *)wxSysErrorMsg(_arg0);
8f17924e
RD
1947
1948 wxPy_END_ALLOW_THREADS;
f6bcfd97 1949} _resultobj = Py_BuildValue("s", _result);
8f17924e
RD
1950 return _resultobj;
1951}
1952
f6bcfd97 1953static PyObject *_wrap_wxLogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 1954 PyObject * _resultobj;
f6bcfd97
BP
1955 char * _arg0;
1956 char *_kwnames[] = { "szFormat", NULL };
8f17924e
RD
1957
1958 self = self;
f6bcfd97 1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogFatalError",_kwnames,&_arg0))
8f17924e 1960 return NULL;
8f17924e
RD
1961{
1962 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1963 wxLogFatalError(_arg0);
8f17924e
RD
1964
1965 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
1966} Py_INCREF(Py_None);
1967 _resultobj = Py_None;
8f17924e
RD
1968 return _resultobj;
1969}
1970
f6bcfd97 1971static PyObject *_wrap_wxLogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 1972 PyObject * _resultobj;
f6bcfd97
BP
1973 char * _arg0;
1974 char *_kwnames[] = { "szFormat", NULL };
8f17924e
RD
1975
1976 self = self;
f6bcfd97 1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogError",_kwnames,&_arg0))
8f17924e 1978 return NULL;
8f17924e
RD
1979{
1980 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1981 wxLogError(_arg0);
8f17924e
RD
1982
1983 wxPy_END_ALLOW_THREADS;
1984} Py_INCREF(Py_None);
1985 _resultobj = Py_None;
8f17924e
RD
1986 return _resultobj;
1987}
1988
f6bcfd97
BP
1989static PyObject *_wrap_wxLogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject * _resultobj;
1991 char * _arg0;
1992 char *_kwnames[] = { "szFormat", NULL };
1993
1994 self = self;
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogWarning",_kwnames,&_arg0))
1996 return NULL;
1997{
1998 wxPy_BEGIN_ALLOW_THREADS;
1999 wxLogWarning(_arg0);
2000
2001 wxPy_END_ALLOW_THREADS;
2002} Py_INCREF(Py_None);
2003 _resultobj = Py_None;
2004 return _resultobj;
2005}
2006
2007static PyObject *_wrap_wxLogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
2008 PyObject * _resultobj;
2009 char * _arg0;
2010 char *_kwnames[] = { "szFormat", NULL };
2011
2012 self = self;
2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogMessage",_kwnames,&_arg0))
2014 return NULL;
2015{
2016 wxPy_BEGIN_ALLOW_THREADS;
2017 wxLogMessage(_arg0);
2018
2019 wxPy_END_ALLOW_THREADS;
2020} Py_INCREF(Py_None);
2021 _resultobj = Py_None;
2022 return _resultobj;
2023}
2024
2025static PyObject *_wrap_wxLogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject * _resultobj;
2027 char * _arg0;
2028 char *_kwnames[] = { "szFormat", NULL };
2029
2030 self = self;
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogInfo",_kwnames,&_arg0))
2032 return NULL;
2033{
2034 wxPy_BEGIN_ALLOW_THREADS;
2035 wxLogInfo(_arg0);
2036
2037 wxPy_END_ALLOW_THREADS;
2038} Py_INCREF(Py_None);
2039 _resultobj = Py_None;
2040 return _resultobj;
2041}
2042
2043static PyObject *_wrap_wxLogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
2044 PyObject * _resultobj;
2045 char * _arg0;
2046 char *_kwnames[] = { "szFormat", NULL };
2047
2048 self = self;
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogVerbose",_kwnames,&_arg0))
2050 return NULL;
2051{
2052 wxPy_BEGIN_ALLOW_THREADS;
2053 wxLogVerbose(_arg0);
2054
2055 wxPy_END_ALLOW_THREADS;
2056} Py_INCREF(Py_None);
2057 _resultobj = Py_None;
2058 return _resultobj;
2059}
2060
2061static PyObject *_wrap_wxLogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
2062 PyObject * _resultobj;
2063 char * _arg0;
2064 char *_kwnames[] = { "szFormat", NULL };
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogStatus",_kwnames,&_arg0))
2068 return NULL;
2069{
2070 wxPy_BEGIN_ALLOW_THREADS;
2071 wxLogStatus(_arg0);
2072
2073 wxPy_END_ALLOW_THREADS;
2074} Py_INCREF(Py_None);
2075 _resultobj = Py_None;
2076 return _resultobj;
2077}
2078
2079static PyObject *_wrap_wxLogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2080 PyObject * _resultobj;
2081 wxFrame * _arg0;
2082 char * _arg1;
2083 PyObject * _argo0 = 0;
2084 char *_kwnames[] = { "pFrame","szFormat", NULL };
2085
2086 self = self;
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxLogStatusFrame",_kwnames,&_argo0,&_arg1))
2088 return NULL;
2089 if (_argo0) {
2090 if (_argo0 == Py_None) { _arg0 = NULL; }
2091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
2092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2093 return NULL;
2094 }
2095 }
2096{
2097 wxPy_BEGIN_ALLOW_THREADS;
2098 wxLogStatus(_arg0,_arg1);
2099
2100 wxPy_END_ALLOW_THREADS;
2101} Py_INCREF(Py_None);
2102 _resultobj = Py_None;
2103 return _resultobj;
2104}
2105
2106static PyObject *_wrap_wxLogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject * _resultobj;
2108 char * _arg0;
2109 char *_kwnames[] = { "szFormat", NULL };
2110
2111 self = self;
2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogSysError",_kwnames,&_arg0))
2113 return NULL;
2114{
2115 wxPy_BEGIN_ALLOW_THREADS;
2116 wxLogSysError(_arg0);
2117
2118 wxPy_END_ALLOW_THREADS;
2119} Py_INCREF(Py_None);
2120 _resultobj = Py_None;
2121 return _resultobj;
2122}
2123
c368d904
RD
2124static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject * _resultobj;
2126 long _result;
2127 wxString * _arg0;
2128 int _arg1 = (int ) FALSE;
2129 wxPyProcess * _arg2 = (wxPyProcess *) NULL;
2130 PyObject * _obj0 = 0;
2131 PyObject * _argo2 = 0;
2132 char *_kwnames[] = { "command","sync","process", NULL };
2133
2134 self = self;
2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxExecute",_kwnames,&_obj0,&_arg1,&_argo2))
2136 return NULL;
2137{
2cd2fac8
RD
2138#if PYTHON_API_VERSION >= 1009
2139 char* tmpPtr; int tmpSize;
2140 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 2141 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2142 return NULL;
2143 }
2144 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2145 return NULL;
2146 _arg0 = new wxString(tmpPtr, tmpSize);
2147#else
c368d904
RD
2148 if (!PyString_Check(_obj0)) {
2149 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2150 return NULL;
2151 }
2cd2fac8
RD
2152 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2153#endif
c368d904
RD
2154}
2155 if (_argo2) {
2156 if (_argo2 == Py_None) { _arg2 = NULL; }
2157 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyProcess_p")) {
2158 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2159 return NULL;
2160 }
2161 }
2162{
2163 wxPy_BEGIN_ALLOW_THREADS;
2164 _result = (long )wxExecute(*_arg0,_arg1,_arg2);
2165
2166 wxPy_END_ALLOW_THREADS;
2167} _resultobj = Py_BuildValue("l",_result);
2168{
2169 if (_obj0)
2170 delete _arg0;
2171}
2172 return _resultobj;
2173}
2174
4dfaa61e
RD
2175static PyObject *_wrap_wxWaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject * _resultobj;
2177 wxWave * _result;
2178 wxString * _arg0;
2179 PyObject * _obj0 = 0;
2180 char *_kwnames[] = { "data", NULL };
2181 char _ptemp[128];
2182
2183 self = self;
2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWaveData",_kwnames,&_obj0))
2185 return NULL;
2186{
2187#if PYTHON_API_VERSION >= 1009
2188 char* tmpPtr; int tmpSize;
2189 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
2190 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2191 return NULL;
2192 }
2193 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2194 return NULL;
2195 _arg0 = new wxString(tmpPtr, tmpSize);
2196#else
2197 if (!PyString_Check(_obj0)) {
2198 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2199 return NULL;
2200 }
2201 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2202#endif
2203}
2204{
2205 wxPy_BEGIN_ALLOW_THREADS;
2206 _result = (wxWave *)wxWaveData(*_arg0);
2207
2208 wxPy_END_ALLOW_THREADS;
2209} if (_result) {
2210 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
2211 _resultobj = Py_BuildValue("s",_ptemp);
2212 } else {
2213 Py_INCREF(Py_None);
2214 _resultobj = Py_None;
2215 }
2216{
2217 if (_obj0)
2218 delete _arg0;
2219}
2220 return _resultobj;
2221}
2222
5c0282d5
RD
2223static int _wrap_wxTheMimeTypesManager_set(PyObject *val) {
2224
2225 PyErr_SetString(PyExc_TypeError,"Variable wxTheMimeTypesManager is read-only.");
2226 return 1;
2227}
2228
2229static PyObject *_wrap_wxTheMimeTypesManager_get() {
2230 PyObject * pyobj;
2231 char ptemp[128];
2232
2233 SWIG_MakePtr(ptemp, (char *) wxTheMimeTypesManager,"_wxMimeTypesManager_p");
2234 pyobj = PyString_FromString(ptemp);
2235 return pyobj;
2236}
2237
9df61a29
RD
2238static void *SwigwxToolTipTowxObject(void *ptr) {
2239 wxToolTip *src;
2240 wxObject *dest;
2241 src = (wxToolTip *) ptr;
2242 dest = (wxObject *) src;
2243 return (void *) dest;
2244}
2245
f6bcfd97
BP
2246#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2247static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 wxToolTip * _result;
2250 wxString * _arg0;
2251 PyObject * _obj0 = 0;
2252 char *_kwnames[] = { "tip", NULL };
2253 char _ptemp[128];
2254
2255 self = self;
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
2257 return NULL;
2258{
2cd2fac8
RD
2259#if PYTHON_API_VERSION >= 1009
2260 char* tmpPtr; int tmpSize;
2261 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 2262 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2263 return NULL;
2264 }
2265 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2266 return NULL;
2267 _arg0 = new wxString(tmpPtr, tmpSize);
2268#else
f6bcfd97
BP
2269 if (!PyString_Check(_obj0)) {
2270 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2271 return NULL;
2272 }
2cd2fac8
RD
2273 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2274#endif
f6bcfd97
BP
2275}
2276{
2277 wxPy_BEGIN_ALLOW_THREADS;
2278 _result = (wxToolTip *)new_wxToolTip(*_arg0);
2279
2280 wxPy_END_ALLOW_THREADS;
2281} if (_result) {
2282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
2283 _resultobj = Py_BuildValue("s",_ptemp);
2284 } else {
2285 Py_INCREF(Py_None);
2286 _resultobj = Py_None;
2287 }
2288{
2289 if (_obj0)
2290 delete _arg0;
2291}
2292 return _resultobj;
2293}
2294
2295#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2296static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2297 PyObject * _resultobj;
2298 wxToolTip * _arg0;
2299 wxString * _arg1;
2300 PyObject * _argo0 = 0;
2301 PyObject * _obj1 = 0;
2302 char *_kwnames[] = { "self","tip", NULL };
2303
2304 self = self;
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
2306 return NULL;
2307 if (_argo0) {
2308 if (_argo0 == Py_None) { _arg0 = NULL; }
2309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2311 return NULL;
2312 }
2313 }
2314{
2cd2fac8
RD
2315#if PYTHON_API_VERSION >= 1009
2316 char* tmpPtr; int tmpSize;
2317 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2318 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2319 return NULL;
2320 }
2321 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2322 return NULL;
2323 _arg1 = new wxString(tmpPtr, tmpSize);
2324#else
f6bcfd97
BP
2325 if (!PyString_Check(_obj1)) {
2326 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2327 return NULL;
2328 }
2cd2fac8
RD
2329 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2330#endif
f6bcfd97
BP
2331}
2332{
2333 wxPy_BEGIN_ALLOW_THREADS;
2334 wxToolTip_SetTip(_arg0,*_arg1);
2335
2336 wxPy_END_ALLOW_THREADS;
2337} Py_INCREF(Py_None);
2338 _resultobj = Py_None;
2339{
2340 if (_obj1)
2341 delete _arg1;
2342}
2343 return _resultobj;
2344}
2345
2346#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2347static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject * _resultobj;
2349 wxString * _result;
2350 wxToolTip * _arg0;
2351 PyObject * _argo0 = 0;
2352 char *_kwnames[] = { "self", NULL };
2353
2354 self = self;
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
2356 return NULL;
2357 if (_argo0) {
2358 if (_argo0 == Py_None) { _arg0 = NULL; }
2359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2361 return NULL;
2362 }
2363 }
2364{
2365 wxPy_BEGIN_ALLOW_THREADS;
2366 _result = new wxString (wxToolTip_GetTip(_arg0));
2367
2368 wxPy_END_ALLOW_THREADS;
2369}{
2370 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2371}
2372{
2373 delete _result;
2374}
2375 return _resultobj;
2376}
2377
2378#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2379static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject * _resultobj;
2381 wxWindow * _result;
2382 wxToolTip * _arg0;
2383 PyObject * _argo0 = 0;
2384 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2385
2386 self = self;
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
2388 return NULL;
2389 if (_argo0) {
2390 if (_argo0 == Py_None) { _arg0 = NULL; }
2391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2393 return NULL;
2394 }
2395 }
2396{
2397 wxPy_BEGIN_ALLOW_THREADS;
2398 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
2399
2400 wxPy_END_ALLOW_THREADS;
9df61a29 2401}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
2402 return _resultobj;
2403}
2404
9a08cd12
RD
2405static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject * _resultobj;
2407 bool _arg0;
2408 int tempbool0;
2409 char *_kwnames[] = { "flag", NULL };
2410
2411 self = self;
2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
2413 return NULL;
2414 _arg0 = (bool ) tempbool0;
2415{
2416 wxPy_BEGIN_ALLOW_THREADS;
2417 wxToolTip::Enable(_arg0);
2418
2419 wxPy_END_ALLOW_THREADS;
2420} Py_INCREF(Py_None);
2421 _resultobj = Py_None;
2422 return _resultobj;
2423}
2424
2425static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject * _resultobj;
2427 long _arg0;
2428 char *_kwnames[] = { "milliseconds", NULL };
2429
2430 self = self;
2431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
2432 return NULL;
2433{
2434 wxPy_BEGIN_ALLOW_THREADS;
2435 wxToolTip::SetDelay(_arg0);
2436
2437 wxPy_END_ALLOW_THREADS;
2438} Py_INCREF(Py_None);
2439 _resultobj = Py_None;
2440 return _resultobj;
2441}
2442
f6bcfd97
BP
2443#define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2444static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject * _resultobj;
2446 wxCaret * _result;
2447 wxWindow * _arg0;
2448 wxSize * _arg1;
2449 PyObject * _argo0 = 0;
2450 wxSize temp;
2451 PyObject * _obj1 = 0;
2452 char *_kwnames[] = { "window","size", NULL };
2453 char _ptemp[128];
2454
2455 self = self;
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1))
2457 return NULL;
2458 if (_argo0) {
2459 if (_argo0 == Py_None) { _arg0 = NULL; }
2460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2462 return NULL;
2463 }
2464 }
2465{
2466 _arg1 = &temp;
2467 if (! wxSize_helper(_obj1, &_arg1))
2468 return NULL;
2469}
2470{
2471 wxPy_BEGIN_ALLOW_THREADS;
2472 _result = (wxCaret *)new_wxCaret(_arg0,*_arg1);
2473
2474 wxPy_END_ALLOW_THREADS;
2475} if (_result) {
2476 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_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 delete_wxCaret(_swigobj) (delete _swigobj)
2486static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject * _resultobj;
2488 wxCaret * _arg0;
2489 PyObject * _argo0 = 0;
2490 char *_kwnames[] = { "self", NULL };
2491
2492 self = self;
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0))
2494 return NULL;
2495 if (_argo0) {
2496 if (_argo0 == Py_None) { _arg0 = NULL; }
2497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2499 return NULL;
2500 }
2501 }
2502{
2503 wxPy_BEGIN_ALLOW_THREADS;
2504 delete_wxCaret(_arg0);
2505
2506 wxPy_END_ALLOW_THREADS;
2507} Py_INCREF(Py_None);
2508 _resultobj = Py_None;
2509 return _resultobj;
2510}
2511
2512#define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2513static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject * _resultobj;
2515 bool _result;
2516 wxCaret * _arg0;
2517 PyObject * _argo0 = 0;
2518 char *_kwnames[] = { "self", NULL };
2519
2520 self = self;
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0))
2522 return NULL;
2523 if (_argo0) {
2524 if (_argo0 == Py_None) { _arg0 = NULL; }
2525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2527 return NULL;
2528 }
2529 }
2530{
2531 wxPy_BEGIN_ALLOW_THREADS;
2532 _result = (bool )wxCaret_IsOk(_arg0);
2533
2534 wxPy_END_ALLOW_THREADS;
2535} _resultobj = Py_BuildValue("i",_result);
2536 return _resultobj;
2537}
2538
2539#define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2540static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject * _resultobj;
2542 bool _result;
2543 wxCaret * _arg0;
2544 PyObject * _argo0 = 0;
2545 char *_kwnames[] = { "self", NULL };
2546
2547 self = self;
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0))
2549 return NULL;
2550 if (_argo0) {
2551 if (_argo0 == Py_None) { _arg0 = NULL; }
2552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2554 return NULL;
2555 }
2556 }
2557{
2558 wxPy_BEGIN_ALLOW_THREADS;
2559 _result = (bool )wxCaret_IsVisible(_arg0);
2560
2561 wxPy_END_ALLOW_THREADS;
2562} _resultobj = Py_BuildValue("i",_result);
2563 return _resultobj;
2564}
2565
2566#define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2567static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2568 PyObject * _resultobj;
2569 wxCaret * _arg0;
2570 int * _arg1;
2571 int temp;
2572 int * _arg2;
2573 int temp0;
2574 PyObject * _argo0 = 0;
2575 char *_kwnames[] = { "self", NULL };
2576
2577 self = self;
2578{
2579 _arg1 = &temp;
2580}
2581{
2582 _arg2 = &temp0;
2583}
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0))
2585 return NULL;
2586 if (_argo0) {
2587 if (_argo0 == Py_None) { _arg0 = NULL; }
2588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2590 return NULL;
2591 }
2592 }
2593{
2594 wxPy_BEGIN_ALLOW_THREADS;
2595 wxCaret_GetPositionTuple(_arg0,_arg1,_arg2);
2596
2597 wxPy_END_ALLOW_THREADS;
2598} Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600{
2601 PyObject *o;
2602 o = PyInt_FromLong((long) (*_arg1));
2603 _resultobj = t_output_helper(_resultobj, o);
2604}
2605{
2606 PyObject *o;
2607 o = PyInt_FromLong((long) (*_arg2));
2608 _resultobj = t_output_helper(_resultobj, o);
2609}
2610 return _resultobj;
2611}
2612
2613#define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
8f17924e
RD
2614static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject * _resultobj;
f6bcfd97
BP
2616 wxPoint * _result;
2617 wxCaret * _arg0;
2618 PyObject * _argo0 = 0;
2619 char *_kwnames[] = { "self", NULL };
2620 char _ptemp[128];
2621
2622 self = self;
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_kwnames,&_argo0))
2624 return NULL;
2625 if (_argo0) {
2626 if (_argo0 == Py_None) { _arg0 = NULL; }
2627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2629 return NULL;
2630 }
2631 }
2632{
2633 wxPy_BEGIN_ALLOW_THREADS;
2634 _result = new wxPoint (wxCaret_GetPosition(_arg0));
2635
2636 wxPy_END_ALLOW_THREADS;
2637} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2638 _resultobj = Py_BuildValue("s",_ptemp);
2639 return _resultobj;
2640}
2641
2642#define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2643static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2644 PyObject * _resultobj;
2645 wxCaret * _arg0;
2646 int * _arg1;
2647 int temp;
2648 int * _arg2;
2649 int temp0;
2650 PyObject * _argo0 = 0;
2651 char *_kwnames[] = { "self", NULL };
2652
2653 self = self;
2654{
2655 _arg1 = &temp;
2656}
2657{
2658 _arg2 = &temp0;
2659}
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0))
2661 return NULL;
2662 if (_argo0) {
2663 if (_argo0 == Py_None) { _arg0 = NULL; }
2664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2666 return NULL;
2667 }
2668 }
2669{
2670 wxPy_BEGIN_ALLOW_THREADS;
2671 wxCaret_GetSizeTuple(_arg0,_arg1,_arg2);
2672
2673 wxPy_END_ALLOW_THREADS;
2674} Py_INCREF(Py_None);
2675 _resultobj = Py_None;
2676{
2677 PyObject *o;
2678 o = PyInt_FromLong((long) (*_arg1));
2679 _resultobj = t_output_helper(_resultobj, o);
2680}
2681{
2682 PyObject *o;
2683 o = PyInt_FromLong((long) (*_arg2));
2684 _resultobj = t_output_helper(_resultobj, o);
2685}
2686 return _resultobj;
2687}
2688
2689#define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2690static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2691 PyObject * _resultobj;
2692 wxSize * _result;
2693 wxCaret * _arg0;
2694 PyObject * _argo0 = 0;
2695 char *_kwnames[] = { "self", NULL };
2696 char _ptemp[128];
2697
2698 self = self;
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0))
2700 return NULL;
2701 if (_argo0) {
2702 if (_argo0 == Py_None) { _arg0 = NULL; }
2703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2705 return NULL;
2706 }
2707 }
2708{
2709 wxPy_BEGIN_ALLOW_THREADS;
2710 _result = new wxSize (wxCaret_GetSize(_arg0));
2711
2712 wxPy_END_ALLOW_THREADS;
2713} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2714 _resultobj = Py_BuildValue("s",_ptemp);
2715 return _resultobj;
2716}
2717
2718#define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2719static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2720 PyObject * _resultobj;
2721 wxWindow * _result;
2722 wxCaret * _arg0;
2723 PyObject * _argo0 = 0;
2724 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2725
2726 self = self;
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0))
2728 return NULL;
2729 if (_argo0) {
2730 if (_argo0 == Py_None) { _arg0 = NULL; }
2731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2733 return NULL;
2734 }
2735 }
2736{
2737 wxPy_BEGIN_ALLOW_THREADS;
2738 _result = (wxWindow *)wxCaret_GetWindow(_arg0);
2739
2740 wxPy_END_ALLOW_THREADS;
9df61a29 2741}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
2742 return _resultobj;
2743}
2744
2745#define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2746static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2747 PyObject * _resultobj;
2748 wxCaret * _arg0;
2749 int _arg1;
2750 int _arg2;
2751 PyObject * _argo0 = 0;
2752 char *_kwnames[] = { "self","x","y", NULL };
2753
2754 self = self;
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
2756 return NULL;
2757 if (_argo0) {
2758 if (_argo0 == Py_None) { _arg0 = NULL; }
2759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2761 return NULL;
2762 }
2763 }
2764{
2765 wxPy_BEGIN_ALLOW_THREADS;
2766 wxCaret_MoveXY(_arg0,_arg1,_arg2);
2767
2768 wxPy_END_ALLOW_THREADS;
2769} Py_INCREF(Py_None);
2770 _resultobj = Py_None;
2771 return _resultobj;
2772}
2773
2774#define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2775static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
2776 PyObject * _resultobj;
2777 wxCaret * _arg0;
2778 wxPoint * _arg1;
2779 PyObject * _argo0 = 0;
2780 wxPoint temp;
2781 PyObject * _obj1 = 0;
2782 char *_kwnames[] = { "self","pt", NULL };
2783
2784 self = self;
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1))
2786 return NULL;
2787 if (_argo0) {
2788 if (_argo0 == Py_None) { _arg0 = NULL; }
2789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2791 return NULL;
2792 }
2793 }
2794{
2795 _arg1 = &temp;
2796 if (! wxPoint_helper(_obj1, &_arg1))
2797 return NULL;
2798}
2799{
2800 wxPy_BEGIN_ALLOW_THREADS;
2801 wxCaret_Move(_arg0,*_arg1);
2802
2803 wxPy_END_ALLOW_THREADS;
2804} Py_INCREF(Py_None);
2805 _resultobj = Py_None;
2806 return _resultobj;
2807}
2808
2809#define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2810static PyObject *_wrap_wxCaret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject * _resultobj;
2812 wxCaret * _arg0;
2813 int _arg1;
2814 int _arg2;
2815 PyObject * _argo0 = 0;
2816 char *_kwnames[] = { "self","width","height", NULL };
2817
2818 self = self;
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_SetSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
2820 return NULL;
2821 if (_argo0) {
2822 if (_argo0 == Py_None) { _arg0 = NULL; }
2823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2825 return NULL;
2826 }
2827 }
2828{
2829 wxPy_BEGIN_ALLOW_THREADS;
2830 wxCaret_SetSizeWH(_arg0,_arg1,_arg2);
2831
2832 wxPy_END_ALLOW_THREADS;
2833} Py_INCREF(Py_None);
2834 _resultobj = Py_None;
2835 return _resultobj;
2836}
2837
2838#define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2839static PyObject *_wrap_wxCaret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2840 PyObject * _resultobj;
2841 wxCaret * _arg0;
2842 wxSize * _arg1;
2843 PyObject * _argo0 = 0;
2844 wxSize temp;
2845 PyObject * _obj1 = 0;
2846 char *_kwnames[] = { "self","size", NULL };
2847
2848 self = self;
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_SetSize",_kwnames,&_argo0,&_obj1))
2850 return NULL;
2851 if (_argo0) {
2852 if (_argo0 == Py_None) { _arg0 = NULL; }
2853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2855 return NULL;
2856 }
2857 }
2858{
2859 _arg1 = &temp;
2860 if (! wxSize_helper(_obj1, &_arg1))
2861 return NULL;
2862}
2863{
2864 wxPy_BEGIN_ALLOW_THREADS;
2865 wxCaret_SetSize(_arg0,*_arg1);
2866
2867 wxPy_END_ALLOW_THREADS;
2868} Py_INCREF(Py_None);
2869 _resultobj = Py_None;
2870 return _resultobj;
2871}
2872
2873#define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2874static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject * _resultobj;
2876 wxCaret * _arg0;
2877 int _arg1 = (int ) TRUE;
2878 PyObject * _argo0 = 0;
2879 char *_kwnames[] = { "self","show", NULL };
2880
2881 self = self;
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
2883 return NULL;
2884 if (_argo0) {
2885 if (_argo0 == Py_None) { _arg0 = NULL; }
2886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2888 return NULL;
2889 }
2890 }
2891{
2892 wxPy_BEGIN_ALLOW_THREADS;
2893 wxCaret_Show(_arg0,_arg1);
2894
2895 wxPy_END_ALLOW_THREADS;
2896} Py_INCREF(Py_None);
2897 _resultobj = Py_None;
2898 return _resultobj;
2899}
2900
2901#define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2902static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject * _resultobj;
2904 wxCaret * _arg0;
2905 PyObject * _argo0 = 0;
2906 char *_kwnames[] = { "self", NULL };
2907
2908 self = self;
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
2910 return NULL;
2911 if (_argo0) {
2912 if (_argo0 == Py_None) { _arg0 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2915 return NULL;
2916 }
2917 }
2918{
2919 wxPy_BEGIN_ALLOW_THREADS;
2920 wxCaret_Hide(_arg0);
2921
2922 wxPy_END_ALLOW_THREADS;
2923} Py_INCREF(Py_None);
2924 _resultobj = Py_None;
2925 return _resultobj;
2926}
2927
2928#define new_wxFontEnumerator() (new wxPyFontEnumerator())
2929static PyObject *_wrap_new_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
2930 PyObject * _resultobj;
2931 wxPyFontEnumerator * _result;
2932 char *_kwnames[] = { NULL };
2933 char _ptemp[128];
2934
2935 self = self;
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontEnumerator",_kwnames))
2937 return NULL;
2938{
2939 wxPy_BEGIN_ALLOW_THREADS;
2940 _result = (wxPyFontEnumerator *)new_wxFontEnumerator();
2941
2942 wxPy_END_ALLOW_THREADS;
2943} if (_result) {
2944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyFontEnumerator_p");
2945 _resultobj = Py_BuildValue("s",_ptemp);
2946 } else {
2947 Py_INCREF(Py_None);
2948 _resultobj = Py_None;
2949 }
2950 return _resultobj;
2951}
2952
2953#define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2954static PyObject *_wrap_delete_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject * _resultobj;
2956 wxPyFontEnumerator * _arg0;
2957 PyObject * _argo0 = 0;
2958 char *_kwnames[] = { "self", NULL };
2959
2960 self = self;
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontEnumerator",_kwnames,&_argo0))
2962 return NULL;
2963 if (_argo0) {
2964 if (_argo0 == Py_None) { _arg0 = NULL; }
2965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
2966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2967 return NULL;
2968 }
2969 }
2970{
2971 wxPy_BEGIN_ALLOW_THREADS;
2972 delete_wxPyFontEnumerator(_arg0);
2973
2974 wxPy_END_ALLOW_THREADS;
2975} Py_INCREF(Py_None);
2976 _resultobj = Py_None;
2977 return _resultobj;
2978}
2979
4a08218b 2980#define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
0220cbc1 2981static PyObject *_wrap_wxFontEnumerator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2982 PyObject * _resultobj;
2983 wxPyFontEnumerator * _arg0;
2984 PyObject * _arg1;
2985 PyObject * _arg2;
4a08218b 2986 bool _arg3;
f6bcfd97
BP
2987 PyObject * _argo0 = 0;
2988 PyObject * _obj1 = 0;
2989 PyObject * _obj2 = 0;
4a08218b
RD
2990 int tempbool3;
2991 char *_kwnames[] = { "self","self","_class","incref", NULL };
f6bcfd97
BP
2992
2993 self = self;
4a08218b 2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
f6bcfd97
BP
2995 return NULL;
2996 if (_argo0) {
2997 if (_argo0 == Py_None) { _arg0 = NULL; }
2998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
0220cbc1 2999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
f6bcfd97
BP
3000 return NULL;
3001 }
3002 }
3003{
3004 _arg1 = _obj1;
3005}
3006{
3007 _arg2 = _obj2;
3008}
4a08218b 3009 _arg3 = (bool ) tempbool3;
f6bcfd97
BP
3010{
3011 wxPy_BEGIN_ALLOW_THREADS;
4a08218b 3012 wxFontEnumerator__setCallbackInfo(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
3013
3014 wxPy_END_ALLOW_THREADS;
3015} Py_INCREF(Py_None);
3016 _resultobj = Py_None;
3017 return _resultobj;
3018}
3019
3020#define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3021static PyObject *_wrap_wxFontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
3022 PyObject * _resultobj;
3023 bool _result;
3024 wxPyFontEnumerator * _arg0;
3025 wxFontEncoding _arg1 = (wxFontEncoding ) wxFONTENCODING_SYSTEM;
3026 bool _arg2 = (bool ) FALSE;
3027 PyObject * _argo0 = 0;
3028 int tempbool2 = (int) FALSE;
3029 char *_kwnames[] = { "self","encoding","fixedWidthOnly", NULL };
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames,&_argo0,&_arg1,&tempbool2))
3033 return NULL;
3034 if (_argo0) {
3035 if (_argo0 == Py_None) { _arg0 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3038 return NULL;
3039 }
3040 }
3041 _arg2 = (bool ) tempbool2;
3042{
3043 wxPy_BEGIN_ALLOW_THREADS;
3044 _result = (bool )wxFontEnumerator_EnumerateFacenames(_arg0,_arg1,_arg2);
3045
3046 wxPy_END_ALLOW_THREADS;
3047} _resultobj = Py_BuildValue("i",_result);
3048 return _resultobj;
3049}
3050
3051#define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3052static PyObject *_wrap_wxFontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject * _resultobj;
3054 bool _result;
3055 wxPyFontEnumerator * _arg0;
3056 char * _arg1 = (char *) "";
3057 PyObject * _argo0 = 0;
3058 char *_kwnames[] = { "self","facename", NULL };
3059
3060 self = self;
3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames,&_argo0,&_arg1))
3062 return NULL;
3063 if (_argo0) {
3064 if (_argo0 == Py_None) { _arg0 = NULL; }
3065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3067 return NULL;
3068 }
3069 }
3070{
3071 wxPy_BEGIN_ALLOW_THREADS;
3072 _result = (bool )wxFontEnumerator_EnumerateEncodings(_arg0,_arg1);
3073
3074 wxPy_END_ALLOW_THREADS;
3075} _resultobj = Py_BuildValue("i",_result);
3076 return _resultobj;
3077}
3078
3079static PyObject * wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self) {
3080 wxArrayString* arr = self->GetEncodings();
4a08218b 3081 return wxArrayString2PyList_helper(*arr);
f6bcfd97
BP
3082 }
3083static PyObject *_wrap_wxFontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
3084 PyObject * _resultobj;
3085 PyObject * _result;
3086 wxPyFontEnumerator * _arg0;
3087 PyObject * _argo0 = 0;
3088 char *_kwnames[] = { "self", NULL };
3089
3090 self = self;
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetEncodings",_kwnames,&_argo0))
3092 return NULL;
3093 if (_argo0) {
3094 if (_argo0 == Py_None) { _arg0 = NULL; }
3095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3097 return NULL;
3098 }
3099 }
3100{
3101 wxPy_BEGIN_ALLOW_THREADS;
3102 _result = (PyObject *)wxPyFontEnumerator_GetEncodings(_arg0);
3103
3104 wxPy_END_ALLOW_THREADS;
3105}{
3106 _resultobj = _result;
3107}
3108 return _resultobj;
3109}
3110
3111static PyObject * wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self) {
3112 wxArrayString* arr = self->GetFacenames();
4a08218b 3113 return wxArrayString2PyList_helper(*arr);
f6bcfd97
BP
3114 }
3115static PyObject *_wrap_wxFontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
3116 PyObject * _resultobj;
3117 PyObject * _result;
3118 wxPyFontEnumerator * _arg0;
3119 PyObject * _argo0 = 0;
3120 char *_kwnames[] = { "self", NULL };
3121
3122 self = self;
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetFacenames",_kwnames,&_argo0))
3124 return NULL;
3125 if (_argo0) {
3126 if (_argo0 == Py_None) { _arg0 = NULL; }
3127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
3128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3129 return NULL;
3130 }
3131 }
3132{
3133 wxPy_BEGIN_ALLOW_THREADS;
3134 _result = (PyObject *)wxPyFontEnumerator_GetFacenames(_arg0);
3135
3136 wxPy_END_ALLOW_THREADS;
3137}{
3138 _resultobj = _result;
3139}
3140 return _resultobj;
3141}
3142
3143#define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3144static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject * _resultobj;
3146 wxBusyCursor * _result;
3147 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
3148 PyObject * _argo0 = 0;
3149 char *_kwnames[] = { "cursor", NULL };
3150 char _ptemp[128];
3151
3152 self = self;
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0))
3154 return NULL;
3155 if (_argo0) {
3156 if (_argo0 == Py_None) { _arg0 = NULL; }
3157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3159 return NULL;
3160 }
3161 }
3162{
3163 wxPy_BEGIN_ALLOW_THREADS;
3164 _result = (wxBusyCursor *)new_wxBusyCursor(_arg0);
3165
3166 wxPy_END_ALLOW_THREADS;
3167} if (_result) {
3168 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p");
3169 _resultobj = Py_BuildValue("s",_ptemp);
3170 } else {
3171 Py_INCREF(Py_None);
3172 _resultobj = Py_None;
3173 }
3174 return _resultobj;
3175}
3176
3177#define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3178static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject * _resultobj;
3180 wxBusyCursor * _arg0;
3181 PyObject * _argo0 = 0;
3182 char *_kwnames[] = { "self", NULL };
3183
3184 self = self;
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0))
3186 return NULL;
3187 if (_argo0) {
3188 if (_argo0 == Py_None) { _arg0 = NULL; }
3189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) {
3190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3191 return NULL;
3192 }
3193 }
3194{
3195 wxPy_BEGIN_ALLOW_THREADS;
3196 delete_wxBusyCursor(_arg0);
3197
3198 wxPy_END_ALLOW_THREADS;
3199} Py_INCREF(Py_None);
3200 _resultobj = Py_None;
3201 return _resultobj;
3202}
3203
c368d904
RD
3204#define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3205static PyObject *_wrap_new_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3206 PyObject * _resultobj;
3207 wxWindowDisabler * _result;
3208 wxWindow * _arg0 = (wxWindow *) NULL;
3209 PyObject * _argo0 = 0;
3210 char *_kwnames[] = { "winToSkip", NULL };
3211 char _ptemp[128];
3212
3213 self = self;
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDisabler",_kwnames,&_argo0))
3215 return NULL;
3216 if (_argo0) {
3217 if (_argo0 == Py_None) { _arg0 = NULL; }
3218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3220 return NULL;
3221 }
3222 }
3223{
3224 wxPy_BEGIN_ALLOW_THREADS;
3225 _result = (wxWindowDisabler *)new_wxWindowDisabler(_arg0);
3226
3227 wxPy_END_ALLOW_THREADS;
3228} if (_result) {
3229 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDisabler_p");
3230 _resultobj = Py_BuildValue("s",_ptemp);
3231 } else {
3232 Py_INCREF(Py_None);
3233 _resultobj = Py_None;
3234 }
3235 return _resultobj;
3236}
3237
3238#define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3239static PyObject *_wrap_delete_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject * _resultobj;
3241 wxWindowDisabler * _arg0;
3242 PyObject * _argo0 = 0;
3243 char *_kwnames[] = { "self", NULL };
3244
3245 self = self;
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWindowDisabler",_kwnames,&_argo0))
3247 return NULL;
3248 if (_argo0) {
3249 if (_argo0 == Py_None) { _arg0 = NULL; }
3250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDisabler_p")) {
3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3252 return NULL;
3253 }
3254 }
3255{
3256 wxPy_BEGIN_ALLOW_THREADS;
3257 delete_wxWindowDisabler(_arg0);
3258
3259 wxPy_END_ALLOW_THREADS;
3260} Py_INCREF(Py_None);
3261 _resultobj = Py_None;
3262 return _resultobj;
3263}
3264
4662be59
RD
3265#define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3266static PyObject *_wrap_new_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject * _resultobj;
3268 wxMutexGuiLocker * _result;
3269 char *_kwnames[] = { NULL };
3270 char _ptemp[128];
3271
3272 self = self;
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMutexGuiLocker",_kwnames))
3274 return NULL;
3275{
3276 wxPy_BEGIN_ALLOW_THREADS;
3277 _result = (wxMutexGuiLocker *)new_wxMutexGuiLocker();
3278
3279 wxPy_END_ALLOW_THREADS;
3280} if (_result) {
3281 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMutexGuiLocker_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_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3291static PyObject *_wrap_delete_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject * _resultobj;
3293 wxMutexGuiLocker * _arg0;
3294 PyObject * _argo0 = 0;
3295 char *_kwnames[] = { "self", NULL };
3296
3297 self = self;
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMutexGuiLocker",_kwnames,&_argo0))
3299 return NULL;
3300 if (_argo0) {
3301 if (_argo0 == Py_None) { _arg0 = NULL; }
3302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMutexGuiLocker_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3304 return NULL;
3305 }
3306 }
3307{
3308 wxPy_BEGIN_ALLOW_THREADS;
3309 delete_wxMutexGuiLocker(_arg0);
3310
3311 wxPy_END_ALLOW_THREADS;
3312} Py_INCREF(Py_None);
3313 _resultobj = Py_None;
3314 return _resultobj;
3315}
3316
f6bcfd97
BP
3317#define delete_wxTipProvider(_swigobj) (delete _swigobj)
3318static PyObject *_wrap_delete_wxTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject * _resultobj;
3320 wxTipProvider * _arg0;
3321 PyObject * _argo0 = 0;
3322 char *_kwnames[] = { "self", NULL };
3323
3324 self = self;
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTipProvider",_kwnames,&_argo0))
3326 return NULL;
3327 if (_argo0) {
3328 if (_argo0 == Py_None) { _arg0 = NULL; }
3329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3331 return NULL;
3332 }
3333 }
3334{
3335 wxPy_BEGIN_ALLOW_THREADS;
3336 delete_wxTipProvider(_arg0);
3337
3338 wxPy_END_ALLOW_THREADS;
3339} Py_INCREF(Py_None);
3340 _resultobj = Py_None;
3341 return _resultobj;
3342}
3343
3344#define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3345static PyObject *_wrap_wxTipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject * _resultobj;
3347 wxString * _result;
3348 wxTipProvider * _arg0;
3349 PyObject * _argo0 = 0;
3350 char *_kwnames[] = { "self", NULL };
3351
3352 self = self;
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetTip",_kwnames,&_argo0))
3354 return NULL;
3355 if (_argo0) {
3356 if (_argo0 == Py_None) { _arg0 = NULL; }
3357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3359 return NULL;
3360 }
3361 }
3362{
3363 wxPy_BEGIN_ALLOW_THREADS;
3364 _result = new wxString (wxTipProvider_GetTip(_arg0));
3365
3366 wxPy_END_ALLOW_THREADS;
3367}{
3368 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3369}
3370{
3371 delete _result;
3372}
3373 return _resultobj;
3374}
3375
3376#define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3377static PyObject *_wrap_wxTipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject * _resultobj;
3379 size_t _result;
3380 wxTipProvider * _arg0;
3381 PyObject * _argo0 = 0;
3382 char *_kwnames[] = { "self", NULL };
3383
3384 self = self;
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetCurrentTip",_kwnames,&_argo0))
3386 return NULL;
3387 if (_argo0) {
3388 if (_argo0 == Py_None) { _arg0 = NULL; }
3389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3391 return NULL;
3392 }
3393 }
3394{
3395 wxPy_BEGIN_ALLOW_THREADS;
3396 _result = (size_t )wxTipProvider_GetCurrentTip(_arg0);
3397
3398 wxPy_END_ALLOW_THREADS;
3399} _resultobj = Py_BuildValue("i",_result);
3400 return _resultobj;
3401}
3402
3403static void *SwigwxPyTipProviderTowxTipProvider(void *ptr) {
3404 wxPyTipProvider *src;
3405 wxTipProvider *dest;
3406 src = (wxPyTipProvider *) ptr;
3407 dest = (wxTipProvider *) src;
3408 return (void *) dest;
3409}
3410
3411#define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3412static PyObject *_wrap_new_wxPyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3413 PyObject * _resultobj;
3414 wxPyTipProvider * _result;
3415 size_t _arg0;
3416 char *_kwnames[] = { "currentTip", NULL };
3417 char _ptemp[128];
3418
3419 self = self;
3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxPyTipProvider",_kwnames,&_arg0))
3421 return NULL;
3422{
3423 wxPy_BEGIN_ALLOW_THREADS;
3424 _result = (wxPyTipProvider *)new_wxPyTipProvider(_arg0);
3425
3426 wxPy_END_ALLOW_THREADS;
3427} if (_result) {
3428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTipProvider_p");
3429 _resultobj = Py_BuildValue("s",_ptemp);
3430 } else {
3431 Py_INCREF(Py_None);
3432 _resultobj = Py_None;
3433 }
3434 return _resultobj;
3435}
3436
9df61a29
RD
3437static void *SwigwxGenericDragImageTowxObject(void *ptr) {
3438 wxGenericDragImage *src;
3439 wxObject *dest;
3440 src = (wxGenericDragImage *) ptr;
3441 dest = (wxObject *) src;
3442 return (void *) dest;
3443}
3444
4dfaa61e 3445#define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
f6bcfd97
BP
3446static PyObject *_wrap_new_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject * _resultobj;
3448 wxGenericDragImage * _result;
3449 wxBitmap * _arg0;
3450 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
f6bcfd97
BP
3451 PyObject * _argo0 = 0;
3452 PyObject * _argo1 = 0;
4dfaa61e 3453 char *_kwnames[] = { "image","cursor", NULL };
f6bcfd97
BP
3454 char _ptemp[128];
3455
3456 self = self;
4dfaa61e 3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragImage",_kwnames,&_argo0,&_argo1))
f6bcfd97
BP
3458 return NULL;
3459 if (_argo0) {
3460 if (_argo0 == Py_None) { _arg0 = NULL; }
3461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
3462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3463 return NULL;
3464 }
3465 }
3466 if (_argo1) {
3467 if (_argo1 == Py_None) { _arg1 = NULL; }
3468 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3469 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3470 return NULL;
3471 }
3472 }
f6bcfd97
BP
3473{
3474 wxPy_BEGIN_ALLOW_THREADS;
4dfaa61e 3475 _result = (wxGenericDragImage *)new_wxDragImage(*_arg0,*_arg1);
f6bcfd97
BP
3476
3477 wxPy_END_ALLOW_THREADS;
3478} if (_result) {
3479 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3480 _resultobj = Py_BuildValue("s",_ptemp);
3481 } else {
3482 Py_INCREF(Py_None);
3483 _resultobj = Py_None;
3484 }
3485 return _resultobj;
3486}
3487
059a841c
RD
3488#define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3489static PyObject *_wrap_new_wxDragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject * _resultobj;
3491 wxGenericDragImage * _result;
3492 wxIcon * _arg0;
3493 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3494 PyObject * _argo0 = 0;
3495 PyObject * _argo1 = 0;
3496 char *_kwnames[] = { "image","cursor", NULL };
3497 char _ptemp[128];
3498
3499 self = self;
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragIcon",_kwnames,&_argo0,&_argo1))
3501 return NULL;
3502 if (_argo0) {
3503 if (_argo0 == Py_None) { _arg0 = NULL; }
3504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
3505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3506 return NULL;
3507 }
3508 }
3509 if (_argo1) {
3510 if (_argo1 == Py_None) { _arg1 = NULL; }
3511 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3512 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3513 return NULL;
3514 }
3515 }
3516{
3517 wxPy_BEGIN_ALLOW_THREADS;
3518 _result = (wxGenericDragImage *)new_wxDragIcon(*_arg0,*_arg1);
3519
3520 wxPy_END_ALLOW_THREADS;
3521} if (_result) {
3522 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3523 _resultobj = Py_BuildValue("s",_ptemp);
3524 } else {
3525 Py_INCREF(Py_None);
3526 _resultobj = Py_None;
3527 }
3528 return _resultobj;
3529}
3530
3531#define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3532static PyObject *_wrap_new_wxDragString(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject * _resultobj;
3534 wxGenericDragImage * _result;
3535 wxString * _arg0;
3536 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3537 PyObject * _obj0 = 0;
3538 PyObject * _argo1 = 0;
3539 char *_kwnames[] = { "str","cursor", NULL };
3540 char _ptemp[128];
3541
3542 self = self;
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragString",_kwnames,&_obj0,&_argo1))
3544 return NULL;
3545{
3546#if PYTHON_API_VERSION >= 1009
3547 char* tmpPtr; int tmpSize;
3548 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
3549 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3550 return NULL;
3551 }
3552 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
3553 return NULL;
3554 _arg0 = new wxString(tmpPtr, tmpSize);
3555#else
3556 if (!PyString_Check(_obj0)) {
3557 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3558 return NULL;
3559 }
3560 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
3561#endif
3562}
3563 if (_argo1) {
3564 if (_argo1 == Py_None) { _arg1 = NULL; }
3565 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3566 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3567 return NULL;
3568 }
3569 }
3570{
3571 wxPy_BEGIN_ALLOW_THREADS;
3572 _result = (wxGenericDragImage *)new_wxDragString(*_arg0,*_arg1);
3573
3574 wxPy_END_ALLOW_THREADS;
3575} if (_result) {
3576 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3577 _resultobj = Py_BuildValue("s",_ptemp);
3578 } else {
3579 Py_INCREF(Py_None);
3580 _resultobj = Py_None;
3581 }
3582{
3583 if (_obj0)
3584 delete _arg0;
3585}
3586 return _resultobj;
3587}
3588
3589#define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3590static PyObject *_wrap_new_wxDragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 wxGenericDragImage * _result;
3593 wxTreeCtrl * _arg0;
3594 wxTreeItemId * _arg1;
3595 PyObject * _argo0 = 0;
3596 PyObject * _argo1 = 0;
3597 char *_kwnames[] = { "treeCtrl","id", NULL };
3598 char _ptemp[128];
3599
3600 self = self;
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxDragTreeItem",_kwnames,&_argo0,&_argo1))
3602 return NULL;
3603 if (_argo0) {
3604 if (_argo0 == Py_None) { _arg0 = NULL; }
3605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3607 return NULL;
3608 }
3609 }
3610 if (_argo1) {
3611 if (_argo1 == Py_None) { _arg1 = NULL; }
3612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3614 return NULL;
3615 }
3616 }
3617{
3618 wxPy_BEGIN_ALLOW_THREADS;
3619 _result = (wxGenericDragImage *)new_wxDragTreeItem(*_arg0,*_arg1);
3620
3621 wxPy_END_ALLOW_THREADS;
3622} if (_result) {
3623 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3624 _resultobj = Py_BuildValue("s",_ptemp);
3625 } else {
3626 Py_INCREF(Py_None);
3627 _resultobj = Py_None;
3628 }
3629 return _resultobj;
3630}
3631
3632#define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3633static PyObject *_wrap_new_wxDragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject * _resultobj;
3635 wxGenericDragImage * _result;
3636 wxListCtrl * _arg0;
3637 long _arg1;
3638 PyObject * _argo0 = 0;
3639 char *_kwnames[] = { "listCtrl","id", NULL };
3640 char _ptemp[128];
3641
3642 self = self;
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:new_wxDragListItem",_kwnames,&_argo0,&_arg1))
3644 return NULL;
3645 if (_argo0) {
3646 if (_argo0 == Py_None) { _arg0 = NULL; }
3647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3649 return NULL;
3650 }
3651 }
3652{
3653 wxPy_BEGIN_ALLOW_THREADS;
3654 _result = (wxGenericDragImage *)new_wxDragListItem(*_arg0,_arg1);
3655
3656 wxPy_END_ALLOW_THREADS;
3657} if (_result) {
3658 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3659 _resultobj = Py_BuildValue("s",_ptemp);
3660 } else {
3661 Py_INCREF(Py_None);
3662 _resultobj = Py_None;
3663 }
3664 return _resultobj;
3665}
3666
f6bcfd97
BP
3667#define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3668static PyObject *_wrap_delete_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3669 PyObject * _resultobj;
3670 wxGenericDragImage * _arg0;
3671 PyObject * _argo0 = 0;
3672 char *_kwnames[] = { "self", NULL };
3673
3674 self = self;
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDragImage",_kwnames,&_argo0))
3676 return NULL;
3677 if (_argo0) {
3678 if (_argo0 == Py_None) { _arg0 = NULL; }
3679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3681 return NULL;
3682 }
3683 }
3684{
3685 wxPy_BEGIN_ALLOW_THREADS;
3686 delete_wxGenericDragImage(_arg0);
3687
3688 wxPy_END_ALLOW_THREADS;
3689} Py_INCREF(Py_None);
3690 _resultobj = Py_None;
3691 return _resultobj;
3692}
3693
4dfaa61e
RD
3694#define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3695static PyObject *_wrap_wxDragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject * _resultobj;
3697 wxGenericDragImage * _arg0;
3698 wxBitmap * _arg1;
3699 PyObject * _argo0 = 0;
3700 PyObject * _argo1 = 0;
3701 char *_kwnames[] = { "self","bitmap", NULL };
3702
3703 self = self;
3704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_SetBackingBitmap",_kwnames,&_argo0,&_argo1))
3705 return NULL;
3706 if (_argo0) {
3707 if (_argo0 == Py_None) { _arg0 = NULL; }
3708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3710 return NULL;
3711 }
3712 }
3713 if (_argo1) {
3714 if (_argo1 == Py_None) { _arg1 = NULL; }
3715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
3716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3717 return NULL;
3718 }
3719 }
3720{
3721 wxPy_BEGIN_ALLOW_THREADS;
3722 wxDragImage_SetBackingBitmap(_arg0,_arg1);
3723
3724 wxPy_END_ALLOW_THREADS;
3725} Py_INCREF(Py_None);
3726 _resultobj = Py_None;
3727 return _resultobj;
3728}
3729
f6bcfd97
BP
3730#define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3731static PyObject *_wrap_wxDragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject * _resultobj;
3733 bool _result;
3734 wxGenericDragImage * _arg0;
3735 wxPoint * _arg1;
3736 wxWindow * _arg2;
3737 bool _arg3 = (bool ) FALSE;
3738 wxRect * _arg4 = (wxRect *) NULL;
3739 PyObject * _argo0 = 0;
3740 wxPoint temp;
3741 PyObject * _obj1 = 0;
3742 PyObject * _argo2 = 0;
3743 int tempbool3 = (int) FALSE;
3744 wxRect temp0;
3745 PyObject * _obj4 = 0;
3746 char *_kwnames[] = { "self","hotspot","window","fullScreen","rect", NULL };
3747
3748 self = self;
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iO:wxDragImage_BeginDrag",_kwnames,&_argo0,&_obj1,&_argo2,&tempbool3,&_obj4))
3750 return NULL;
3751 if (_argo0) {
3752 if (_argo0 == Py_None) { _arg0 = NULL; }
3753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3755 return NULL;
3756 }
3757 }
3758{
3759 _arg1 = &temp;
3760 if (! wxPoint_helper(_obj1, &_arg1))
3761 return NULL;
3762}
3763 if (_argo2) {
3764 if (_argo2 == Py_None) { _arg2 = NULL; }
3765 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3766 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3767 return NULL;
3768 }
3769 }
3770 _arg3 = (bool ) tempbool3;
3771 if (_obj4)
3772{
3773 _arg4 = &temp0;
3774 if (! wxRect_helper(_obj4, &_arg4))
3775 return NULL;
3776}
3777{
3778 wxPy_BEGIN_ALLOW_THREADS;
3779 _result = (bool )wxDragImage_BeginDrag(_arg0,*_arg1,_arg2,_arg3,_arg4);
3780
3781 wxPy_END_ALLOW_THREADS;
3782} _resultobj = Py_BuildValue("i",_result);
3783 return _resultobj;
3784}
3785
3786#define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3787static PyObject *_wrap_wxDragImage_BeginDrag2(PyObject *self, PyObject *args, PyObject *kwargs) {
3788 PyObject * _resultobj;
3789 bool _result;
3790 wxGenericDragImage * _arg0;
3791 wxPoint * _arg1;
3792 wxWindow * _arg2;
3793 wxWindow * _arg3;
3794 PyObject * _argo0 = 0;
3795 wxPoint temp;
3796 PyObject * _obj1 = 0;
3797 PyObject * _argo2 = 0;
3798 PyObject * _argo3 = 0;
3799 char *_kwnames[] = { "self","hotspot","window","fullScreenRect", NULL };
3800
3801 self = self;
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDragImage_BeginDrag2",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
3803 return NULL;
3804 if (_argo0) {
3805 if (_argo0 == Py_None) { _arg0 = NULL; }
3806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3808 return NULL;
3809 }
3810 }
3811{
3812 _arg1 = &temp;
3813 if (! wxPoint_helper(_obj1, &_arg1))
3814 return NULL;
3815}
3816 if (_argo2) {
3817 if (_argo2 == Py_None) { _arg2 = NULL; }
3818 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3820 return NULL;
3821 }
3822 }
3823 if (_argo3) {
3824 if (_argo3 == Py_None) { _arg3 = NULL; }
3825 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
3826 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3827 return NULL;
3828 }
3829 }
3830{
3831 wxPy_BEGIN_ALLOW_THREADS;
3832 _result = (bool )wxDragImage_BeginDrag2(_arg0,*_arg1,_arg2,_arg3);
3833
3834 wxPy_END_ALLOW_THREADS;
3835} _resultobj = Py_BuildValue("i",_result);
3836 return _resultobj;
3837}
3838
3839#define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3840static PyObject *_wrap_wxDragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject * _resultobj;
3842 bool _result;
3843 wxGenericDragImage * _arg0;
3844 PyObject * _argo0 = 0;
3845 char *_kwnames[] = { "self", NULL };
3846
3847 self = self;
3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_EndDrag",_kwnames,&_argo0))
3849 return NULL;
3850 if (_argo0) {
3851 if (_argo0 == Py_None) { _arg0 = NULL; }
3852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3854 return NULL;
3855 }
3856 }
3857{
3858 wxPy_BEGIN_ALLOW_THREADS;
3859 _result = (bool )wxDragImage_EndDrag(_arg0);
3860
3861 wxPy_END_ALLOW_THREADS;
3862} _resultobj = Py_BuildValue("i",_result);
3863 return _resultobj;
3864}
3865
3866#define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3867static PyObject *_wrap_wxDragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 bool _result;
3870 wxGenericDragImage * _arg0;
3871 wxPoint * _arg1;
3872 PyObject * _argo0 = 0;
3873 wxPoint temp;
3874 PyObject * _obj1 = 0;
3875 char *_kwnames[] = { "self","pt", NULL };
3876
3877 self = self;
3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_Move",_kwnames,&_argo0,&_obj1))
3879 return NULL;
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3884 return NULL;
3885 }
3886 }
3887{
3888 _arg1 = &temp;
3889 if (! wxPoint_helper(_obj1, &_arg1))
3890 return NULL;
3891}
3892{
3893 wxPy_BEGIN_ALLOW_THREADS;
3894 _result = (bool )wxDragImage_Move(_arg0,*_arg1);
3895
3896 wxPy_END_ALLOW_THREADS;
3897} _resultobj = Py_BuildValue("i",_result);
3898 return _resultobj;
3899}
3900
3901#define wxDragImage_Show(_swigobj) (_swigobj->Show())
3902static PyObject *_wrap_wxDragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject * _resultobj;
3904 bool _result;
3905 wxGenericDragImage * _arg0;
3906 PyObject * _argo0 = 0;
3907 char *_kwnames[] = { "self", NULL };
3908
3909 self = self;
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Show",_kwnames,&_argo0))
3911 return NULL;
3912 if (_argo0) {
3913 if (_argo0 == Py_None) { _arg0 = NULL; }
3914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3916 return NULL;
3917 }
3918 }
3919{
3920 wxPy_BEGIN_ALLOW_THREADS;
3921 _result = (bool )wxDragImage_Show(_arg0);
3922
3923 wxPy_END_ALLOW_THREADS;
3924} _resultobj = Py_BuildValue("i",_result);
3925 return _resultobj;
3926}
3927
3928#define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3929static PyObject *_wrap_wxDragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
3930 PyObject * _resultobj;
3931 bool _result;
3932 wxGenericDragImage * _arg0;
3933 PyObject * _argo0 = 0;
3934 char *_kwnames[] = { "self", NULL };
3935
3936 self = self;
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Hide",_kwnames,&_argo0))
3938 return NULL;
3939 if (_argo0) {
3940 if (_argo0 == Py_None) { _arg0 = NULL; }
3941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3943 return NULL;
3944 }
3945 }
3946{
3947 wxPy_BEGIN_ALLOW_THREADS;
3948 _result = (bool )wxDragImage_Hide(_arg0);
3949
3950 wxPy_END_ALLOW_THREADS;
3951} _resultobj = Py_BuildValue("i",_result);
3952 return _resultobj;
3953}
3954
3955#define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3956static PyObject *_wrap_wxDragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject * _resultobj;
3958 wxRect * _result;
3959 wxGenericDragImage * _arg0;
3960 wxPoint * _arg1;
3961 PyObject * _argo0 = 0;
3962 wxPoint temp;
3963 PyObject * _obj1 = 0;
3964 char *_kwnames[] = { "self","pos", NULL };
3965 char _ptemp[128];
3966
3967 self = self;
3968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_GetImageRect",_kwnames,&_argo0,&_obj1))
3969 return NULL;
3970 if (_argo0) {
3971 if (_argo0 == Py_None) { _arg0 = NULL; }
3972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3974 return NULL;
3975 }
3976 }
3977{
3978 _arg1 = &temp;
3979 if (! wxPoint_helper(_obj1, &_arg1))
3980 return NULL;
3981}
3982{
3983 wxPy_BEGIN_ALLOW_THREADS;
3984 _result = new wxRect (wxDragImage_GetImageRect(_arg0,*_arg1));
3985
3986 wxPy_END_ALLOW_THREADS;
3987} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
3988 _resultobj = Py_BuildValue("s",_ptemp);
3989 return _resultobj;
3990}
3991
3992#define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3993static PyObject *_wrap_wxDragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject * _resultobj;
3995 bool _result;
3996 wxGenericDragImage * _arg0;
3997 wxPoint * _arg1;
3998 wxPoint * _arg2;
3999 bool _arg3;
4000 bool _arg4;
4001 PyObject * _argo0 = 0;
4002 wxPoint temp;
4003 PyObject * _obj1 = 0;
4004 wxPoint temp0;
4005 PyObject * _obj2 = 0;
4006 int tempbool3;
4007 int tempbool4;
4008 char *_kwnames[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL };
4009
4010 self = self;
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOii:wxDragImage_RedrawImage",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3,&tempbool4))
4012 return NULL;
4013 if (_argo0) {
4014 if (_argo0 == Py_None) { _arg0 = NULL; }
4015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4017 return NULL;
4018 }
4019 }
4020{
4021 _arg1 = &temp;
4022 if (! wxPoint_helper(_obj1, &_arg1))
4023 return NULL;
4024}
4025{
4026 _arg2 = &temp0;
4027 if (! wxPoint_helper(_obj2, &_arg2))
4028 return NULL;
4029}
4030 _arg3 = (bool ) tempbool3;
4031 _arg4 = (bool ) tempbool4;
4032{
4033 wxPy_BEGIN_ALLOW_THREADS;
4034 _result = (bool )wxDragImage_RedrawImage(_arg0,*_arg1,*_arg2,_arg3,_arg4);
4035
4036 wxPy_END_ALLOW_THREADS;
4037} _resultobj = Py_BuildValue("i",_result);
4038 return _resultobj;
4039}
4040
9df61a29
RD
4041static void *SwigwxPyTimerTowxObject(void *ptr) {
4042 wxPyTimer *src;
4043 wxObject *dest;
4044 src = (wxPyTimer *) ptr;
4045 dest = (wxObject *) src;
4046 return (void *) dest;
4047}
4048
f6bcfd97
BP
4049#define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4050static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject * _resultobj;
4052 wxPyTimer * _result;
4053 PyObject * _arg0;
4054 PyObject * _obj0 = 0;
4055 char *_kwnames[] = { "notify", NULL };
4056 char _ptemp[128];
4057
4058 self = self;
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPyTimer",_kwnames,&_obj0))
4060 return NULL;
4061{
4062 _arg0 = _obj0;
4063}
4064{
4065 wxPy_BEGIN_ALLOW_THREADS;
4066 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
4067
4068 wxPy_END_ALLOW_THREADS;
4069} if (_result) {
4070 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
4071 _resultobj = Py_BuildValue("s",_ptemp);
4072 } else {
4073 Py_INCREF(Py_None);
4074 _resultobj = Py_None;
4075 }
4076 return _resultobj;
4077}
4078
4079#define delete_wxPyTimer(_swigobj) (delete _swigobj)
4080static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4081 PyObject * _resultobj;
4082 wxPyTimer * _arg0;
4083 PyObject * _argo0 = 0;
4084 char *_kwnames[] = { "self", NULL };
4085
4086 self = self;
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyTimer",_kwnames,&_argo0))
4088 return NULL;
4089 if (_argo0) {
4090 if (_argo0 == Py_None) { _arg0 = NULL; }
4091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4093 return NULL;
4094 }
4095 }
4096{
4097 wxPy_BEGIN_ALLOW_THREADS;
4098 delete_wxPyTimer(_arg0);
4099
4100 wxPy_END_ALLOW_THREADS;
4101} Py_INCREF(Py_None);
4102 _resultobj = Py_None;
4103 return _resultobj;
4104}
4105
4106#define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4107static PyObject *_wrap_wxPyTimer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject * _resultobj;
4109 int _result;
4110 wxPyTimer * _arg0;
4111 PyObject * _argo0 = 0;
4112 char *_kwnames[] = { "self", NULL };
4113
4114 self = self;
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_GetInterval",_kwnames,&_argo0))
4116 return NULL;
4117 if (_argo0) {
4118 if (_argo0 == Py_None) { _arg0 = NULL; }
4119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4121 return NULL;
4122 }
4123 }
4124{
4125 wxPy_BEGIN_ALLOW_THREADS;
4126 _result = (int )wxPyTimer_GetInterval(_arg0);
4127
4128 wxPy_END_ALLOW_THREADS;
4129} _resultobj = Py_BuildValue("i",_result);
4130 return _resultobj;
4131}
4132
4133#define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4134static PyObject *_wrap_wxPyTimer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject * _resultobj;
4136 bool _result;
4137 wxPyTimer * _arg0;
4138 PyObject * _argo0 = 0;
4139 char *_kwnames[] = { "self", NULL };
4140
4141 self = self;
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsOneShot",_kwnames,&_argo0))
4143 return NULL;
4144 if (_argo0) {
4145 if (_argo0 == Py_None) { _arg0 = NULL; }
4146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4148 return NULL;
4149 }
4150 }
4151{
4152 wxPy_BEGIN_ALLOW_THREADS;
4153 _result = (bool )wxPyTimer_IsOneShot(_arg0);
4154
4155 wxPy_END_ALLOW_THREADS;
4156} _resultobj = Py_BuildValue("i",_result);
4157 return _resultobj;
4158}
4159
4160#define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4161static PyObject *_wrap_wxPyTimer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject * _resultobj;
4163 bool _result;
4164 wxPyTimer * _arg0;
4165 PyObject * _argo0 = 0;
4166 char *_kwnames[] = { "self", NULL };
4167
4168 self = self;
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsRunning",_kwnames,&_argo0))
4170 return NULL;
4171 if (_argo0) {
4172 if (_argo0 == Py_None) { _arg0 = NULL; }
4173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4175 return NULL;
4176 }
4177 }
4178{
4179 wxPy_BEGIN_ALLOW_THREADS;
4180 _result = (bool )wxPyTimer_IsRunning(_arg0);
4181
4182 wxPy_END_ALLOW_THREADS;
4183} _resultobj = Py_BuildValue("i",_result);
4184 return _resultobj;
4185}
4186
4187#define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4188static PyObject *_wrap_wxPyTimer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject * _resultobj;
4190 wxPyTimer * _arg0;
4191 wxEvtHandler * _arg1;
4192 int _arg2 = (int ) -1;
4193 PyObject * _argo0 = 0;
4194 PyObject * _argo1 = 0;
4195 char *_kwnames[] = { "self","owner","id", NULL };
4196
4197 self = self;
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTimer_SetOwner",_kwnames,&_argo0,&_argo1,&_arg2))
4199 return NULL;
4200 if (_argo0) {
4201 if (_argo0 == Py_None) { _arg0 = NULL; }
4202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4204 return NULL;
4205 }
4206 }
4207 if (_argo1) {
4208 if (_argo1 == Py_None) { _arg1 = NULL; }
4209 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4211 return NULL;
4212 }
4213 }
4214{
4215 wxPy_BEGIN_ALLOW_THREADS;
4216 wxPyTimer_SetOwner(_arg0,_arg1,_arg2);
4217
4218 wxPy_END_ALLOW_THREADS;
4219} Py_INCREF(Py_None);
4220 _resultobj = Py_None;
4221 return _resultobj;
4222}
4223
4224#define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4225static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject * _resultobj;
4227 wxPyTimer * _arg0;
4228 int _arg1 = (int ) -1;
4229 int _arg2 = (int ) FALSE;
4230 PyObject * _argo0 = 0;
4231 char *_kwnames[] = { "self","milliseconds","oneShot", NULL };
4232
4233 self = self;
4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyTimer_Start",_kwnames,&_argo0,&_arg1,&_arg2))
4235 return NULL;
4236 if (_argo0) {
4237 if (_argo0 == Py_None) { _arg0 = NULL; }
4238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4240 return NULL;
4241 }
4242 }
4243{
4244 wxPy_BEGIN_ALLOW_THREADS;
4245 wxPyTimer_Start(_arg0,_arg1,_arg2);
4246
4247 wxPy_END_ALLOW_THREADS;
4248} Py_INCREF(Py_None);
4249 _resultobj = Py_None;
4250 return _resultobj;
4251}
4252
4253#define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4254static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject * _resultobj;
4256 wxPyTimer * _arg0;
8f17924e
RD
4257 PyObject * _argo0 = 0;
4258 char *_kwnames[] = { "self", NULL };
8f17924e
RD
4259
4260 self = self;
f6bcfd97 4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_Stop",_kwnames,&_argo0))
8f17924e
RD
4262 return NULL;
4263 if (_argo0) {
4264 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
4265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
8f17924e
RD
4267 return NULL;
4268 }
4269 }
4270{
4271 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4272 wxPyTimer_Stop(_arg0);
8f17924e
RD
4273
4274 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
4275} Py_INCREF(Py_None);
4276 _resultobj = Py_None;
8f17924e
RD
4277 return _resultobj;
4278}
4279
5c0282d5
RD
4280#define new_wxStopWatch() (new wxStopWatch())
4281static PyObject *_wrap_new_wxStopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4282 PyObject * _resultobj;
4283 wxStopWatch * _result;
4284 char *_kwnames[] = { NULL };
4285 char _ptemp[128];
4286
4287 self = self;
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxStopWatch",_kwnames))
4289 return NULL;
4290{
4291 wxPy_BEGIN_ALLOW_THREADS;
4292 _result = (wxStopWatch *)new_wxStopWatch();
4293
4294 wxPy_END_ALLOW_THREADS;
4295} if (_result) {
4296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStopWatch_p");
4297 _resultobj = Py_BuildValue("s",_ptemp);
4298 } else {
4299 Py_INCREF(Py_None);
4300 _resultobj = Py_None;
4301 }
4302 return _resultobj;
4303}
4304
4305#define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4306static PyObject *_wrap_wxStopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4307 PyObject * _resultobj;
4308 wxStopWatch * _arg0;
4309 long _arg1 = (long ) 0;
4310 PyObject * _argo0 = 0;
4311 char *_kwnames[] = { "self","t", NULL };
4312
4313 self = self;
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxStopWatch_Start",_kwnames,&_argo0,&_arg1))
4315 return NULL;
4316 if (_argo0) {
4317 if (_argo0 == Py_None) { _arg0 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4320 return NULL;
4321 }
4322 }
4323{
4324 wxPy_BEGIN_ALLOW_THREADS;
4325 wxStopWatch_Start(_arg0,_arg1);
4326
4327 wxPy_END_ALLOW_THREADS;
4328} Py_INCREF(Py_None);
4329 _resultobj = Py_None;
4330 return _resultobj;
4331}
4332
4333#define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4334static PyObject *_wrap_wxStopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject * _resultobj;
4336 wxStopWatch * _arg0;
4337 PyObject * _argo0 = 0;
4338 char *_kwnames[] = { "self", NULL };
4339
4340 self = self;
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Pause",_kwnames,&_argo0))
4342 return NULL;
4343 if (_argo0) {
4344 if (_argo0 == Py_None) { _arg0 = NULL; }
4345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4347 return NULL;
4348 }
4349 }
4350{
4351 wxPy_BEGIN_ALLOW_THREADS;
4352 wxStopWatch_Pause(_arg0);
4353
4354 wxPy_END_ALLOW_THREADS;
4355} Py_INCREF(Py_None);
4356 _resultobj = Py_None;
4357 return _resultobj;
4358}
4359
4360#define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4361static PyObject *_wrap_wxStopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject * _resultobj;
4363 wxStopWatch * _arg0;
4364 PyObject * _argo0 = 0;
4365 char *_kwnames[] = { "self", NULL };
4366
4367 self = self;
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Resume",_kwnames,&_argo0))
4369 return NULL;
4370 if (_argo0) {
4371 if (_argo0 == Py_None) { _arg0 = NULL; }
4372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4374 return NULL;
4375 }
4376 }
4377{
4378 wxPy_BEGIN_ALLOW_THREADS;
4379 wxStopWatch_Resume(_arg0);
4380
4381 wxPy_END_ALLOW_THREADS;
4382} Py_INCREF(Py_None);
4383 _resultobj = Py_None;
4384 return _resultobj;
4385}
4386
4387#define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4388static PyObject *_wrap_wxStopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4389 PyObject * _resultobj;
4390 long _result;
4391 wxStopWatch * _arg0;
4392 PyObject * _argo0 = 0;
4393 char *_kwnames[] = { "self", NULL };
4394
4395 self = self;
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Time",_kwnames,&_argo0))
4397 return NULL;
4398 if (_argo0) {
4399 if (_argo0 == Py_None) { _arg0 = NULL; }
4400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4402 return NULL;
4403 }
4404 }
4405{
4406 wxPy_BEGIN_ALLOW_THREADS;
4407 _result = (long )wxStopWatch_Time(_arg0);
4408
4409 wxPy_END_ALLOW_THREADS;
4410} _resultobj = Py_BuildValue("l",_result);
4411 return _resultobj;
4412}
4413
f6bcfd97
BP
4414#define new_wxLog() (new wxLog())
4415static PyObject *_wrap_new_wxLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4416 PyObject * _resultobj;
f6bcfd97
BP
4417 wxLog * _result;
4418 char *_kwnames[] = { NULL };
4419 char _ptemp[128];
8f17924e
RD
4420
4421 self = self;
f6bcfd97
BP
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLog",_kwnames))
4423 return NULL;
8f17924e 4424{
f6bcfd97
BP
4425 wxPy_BEGIN_ALLOW_THREADS;
4426 _result = (wxLog *)new_wxLog();
4427
4428 wxPy_END_ALLOW_THREADS;
4429} if (_result) {
4430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4431 _resultobj = Py_BuildValue("s",_ptemp);
4432 } else {
4433 Py_INCREF(Py_None);
4434 _resultobj = Py_None;
4435 }
4436 return _resultobj;
8f17924e 4437}
f6bcfd97
BP
4438
4439static PyObject *_wrap_wxLog_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject * _resultobj;
4441 bool _result;
4442 char *_kwnames[] = { NULL };
4443
4444 self = self;
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_IsEnabled",_kwnames))
4446 return NULL;
8f17924e 4447{
f6bcfd97
BP
4448 wxPy_BEGIN_ALLOW_THREADS;
4449 _result = (bool )wxLog::IsEnabled();
4450
4451 wxPy_END_ALLOW_THREADS;
4452} _resultobj = Py_BuildValue("i",_result);
4453 return _resultobj;
8f17924e 4454}
f6bcfd97
BP
4455
4456static PyObject *_wrap_wxLog_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject * _resultobj;
4458 bool _result;
4459 bool _arg0 = (bool ) TRUE;
4460 int tempbool0 = (int) TRUE;
4461 char *_kwnames[] = { "doIt", NULL };
4462
4463 self = self;
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxLog_EnableLogging",_kwnames,&tempbool0))
4465 return NULL;
4466 _arg0 = (bool ) tempbool0;
4467{
4468 wxPy_BEGIN_ALLOW_THREADS;
4469 _result = (bool )wxLog::EnableLogging(_arg0);
4470
4471 wxPy_END_ALLOW_THREADS;
4472} _resultobj = Py_BuildValue("i",_result);
4473 return _resultobj;
4474}
4475
4476static PyObject *_wrap_wxLog_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject * _resultobj;
4478 wxLogLevel * _arg0;
4479 char * _arg1;
4480 int _arg2 = (int ) 0;
4481 PyObject * _argo0 = 0;
4482 char *_kwnames[] = { "level","szString","t", NULL };
4483
4484 self = self;
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|i:wxLog_OnLog",_kwnames,&_argo0,&_arg1,&_arg2))
8f17924e
RD
4486 return NULL;
4487 if (_argo0) {
4488 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
4489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogLevel_p")) {
4490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
8f17924e
RD
4491 return NULL;
4492 }
4493 }
4494{
4495 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4496 wxLog::OnLog(*_arg0,_arg1,_arg2);
8f17924e
RD
4497
4498 wxPy_END_ALLOW_THREADS;
4499} Py_INCREF(Py_None);
4500 _resultobj = Py_None;
f6bcfd97 4501 return _resultobj;
8f17924e 4502}
f6bcfd97
BP
4503
4504#define wxLog_Flush(_swigobj) (_swigobj->Flush())
4505static PyObject *_wrap_wxLog_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4506 PyObject * _resultobj;
4507 wxLog * _arg0;
4508 PyObject * _argo0 = 0;
4509 char *_kwnames[] = { "self", NULL };
4510
4511 self = self;
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_Flush",_kwnames,&_argo0))
4513 return NULL;
4514 if (_argo0) {
4515 if (_argo0 == Py_None) { _arg0 = NULL; }
4516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4518 return NULL;
4519 }
4520 }
8f17924e 4521{
f6bcfd97
BP
4522 wxPy_BEGIN_ALLOW_THREADS;
4523 wxLog_Flush(_arg0);
4524
4525 wxPy_END_ALLOW_THREADS;
4526} Py_INCREF(Py_None);
4527 _resultobj = Py_None;
8f17924e
RD
4528 return _resultobj;
4529}
4530
f6bcfd97
BP
4531#define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4532static PyObject *_wrap_wxLog_HasPendingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4533 PyObject * _resultobj;
f6bcfd97
BP
4534 bool _result;
4535 wxLog * _arg0;
8f17924e
RD
4536 PyObject * _argo0 = 0;
4537 char *_kwnames[] = { "self", NULL };
8f17924e
RD
4538
4539 self = self;
f6bcfd97 4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_HasPendingMessages",_kwnames,&_argo0))
8f17924e
RD
4541 return NULL;
4542 if (_argo0) {
4543 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
4544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
8f17924e
RD
4546 return NULL;
4547 }
4548 }
4549{
4550 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4551 _result = (bool )wxLog_HasPendingMessages(_arg0);
8f17924e
RD
4552
4553 wxPy_END_ALLOW_THREADS;
f6bcfd97 4554} _resultobj = Py_BuildValue("i",_result);
8f17924e
RD
4555 return _resultobj;
4556}
4557
f6bcfd97 4558static PyObject *_wrap_wxLog_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4559 PyObject * _resultobj;
f6bcfd97
BP
4560 char *_kwnames[] = { NULL };
4561
4562 self = self;
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_FlushActive",_kwnames))
4564 return NULL;
4565{
4566 wxPy_BEGIN_ALLOW_THREADS;
4567 wxLog::FlushActive();
4568
4569 wxPy_END_ALLOW_THREADS;
4570} Py_INCREF(Py_None);
4571 _resultobj = Py_None;
4572 return _resultobj;
4573}
4574
4575static PyObject *_wrap_wxLog_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject * _resultobj;
4577 wxLog * _result;
4578 char *_kwnames[] = { NULL };
4579 char _ptemp[128];
4580
4581 self = self;
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetActiveTarget",_kwnames))
4583 return NULL;
4584{
4585 wxPy_BEGIN_ALLOW_THREADS;
4586 _result = (wxLog *)wxLog::GetActiveTarget();
4587
4588 wxPy_END_ALLOW_THREADS;
4589} if (_result) {
4590 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4591 _resultobj = Py_BuildValue("s",_ptemp);
4592 } else {
4593 Py_INCREF(Py_None);
4594 _resultobj = Py_None;
4595 }
4596 return _resultobj;
4597}
4598
4599static PyObject *_wrap_wxLog_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4600 PyObject * _resultobj;
4601 wxLog * _result;
4602 wxLog * _arg0;
8f17924e 4603 PyObject * _argo0 = 0;
f6bcfd97 4604 char *_kwnames[] = { "pLogger", NULL };
8f17924e
RD
4605 char _ptemp[128];
4606
4607 self = self;
f6bcfd97 4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetActiveTarget",_kwnames,&_argo0))
8f17924e
RD
4609 return NULL;
4610 if (_argo0) {
4611 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
4612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
8f17924e
RD
4614 return NULL;
4615 }
4616 }
4617{
4618 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4619 _result = (wxLog *)wxLog::SetActiveTarget(_arg0);
8f17924e
RD
4620
4621 wxPy_END_ALLOW_THREADS;
4622} if (_result) {
f6bcfd97 4623 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
8f17924e
RD
4624 _resultobj = Py_BuildValue("s",_ptemp);
4625 } else {
4626 Py_INCREF(Py_None);
4627 _resultobj = Py_None;
4628 }
4629 return _resultobj;
4630}
4631
f6bcfd97 4632static PyObject *_wrap_wxLog_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4633 PyObject * _resultobj;
f6bcfd97
BP
4634 char *_kwnames[] = { NULL };
4635
4636 self = self;
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Suspend",_kwnames))
4638 return NULL;
4639{
4640 wxPy_BEGIN_ALLOW_THREADS;
4641 wxLog::Suspend();
4642
4643 wxPy_END_ALLOW_THREADS;
4644} Py_INCREF(Py_None);
4645 _resultobj = Py_None;
4646 return _resultobj;
4647}
4648
4649static PyObject *_wrap_wxLog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject * _resultobj;
4651 char *_kwnames[] = { NULL };
4652
4653 self = self;
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Resume",_kwnames))
4655 return NULL;
4656{
4657 wxPy_BEGIN_ALLOW_THREADS;
4658 wxLog::Resume();
4659
4660 wxPy_END_ALLOW_THREADS;
4661} Py_INCREF(Py_None);
4662 _resultobj = Py_None;
4663 return _resultobj;
4664}
4665
4666#define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4667static PyObject *_wrap_wxLog_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject * _resultobj;
4669 wxLog * _arg0;
4670 bool _arg1 = (bool ) TRUE;
8f17924e 4671 PyObject * _argo0 = 0;
f6bcfd97
BP
4672 int tempbool1 = (int) TRUE;
4673 char *_kwnames[] = { "self","bVerbose", NULL };
8f17924e
RD
4674
4675 self = self;
f6bcfd97 4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLog_SetVerbose",_kwnames,&_argo0,&tempbool1))
8f17924e
RD
4677 return NULL;
4678 if (_argo0) {
4679 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
4680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
8f17924e
RD
4682 return NULL;
4683 }
4684 }
f6bcfd97 4685 _arg1 = (bool ) tempbool1;
8f17924e
RD
4686{
4687 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4688 wxLog_SetVerbose(_arg0,_arg1);
8f17924e
RD
4689
4690 wxPy_END_ALLOW_THREADS;
4691} Py_INCREF(Py_None);
4692 _resultobj = Py_None;
4693 return _resultobj;
4694}
4695
f6bcfd97 4696static PyObject *_wrap_wxLog_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4697 PyObject * _resultobj;
f6bcfd97
BP
4698 char *_kwnames[] = { NULL };
4699
4700 self = self;
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_DontCreateOnDemand",_kwnames))
4702 return NULL;
4703{
4704 wxPy_BEGIN_ALLOW_THREADS;
4705 wxLog::DontCreateOnDemand();
4706
4707 wxPy_END_ALLOW_THREADS;
4708} Py_INCREF(Py_None);
4709 _resultobj = Py_None;
4710 return _resultobj;
4711}
4712
4713static PyObject *_wrap_wxLog_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject * _resultobj;
4715 wxTraceMask * _arg0;
8f17924e 4716 PyObject * _argo0 = 0;
f6bcfd97 4717 char *_kwnames[] = { "ulMask", NULL };
8f17924e
RD
4718
4719 self = self;
f6bcfd97 4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetTraceMask",_kwnames,&_argo0))
8f17924e
RD
4721 return NULL;
4722 if (_argo0) {
4723 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
4724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTraceMask_p")) {
4725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4726 return NULL;
4727 }
4728 }
4729{
4730 wxPy_BEGIN_ALLOW_THREADS;
4731 wxLog::SetTraceMask(*_arg0);
4732
4733 wxPy_END_ALLOW_THREADS;
4734} Py_INCREF(Py_None);
4735 _resultobj = Py_None;
4736 return _resultobj;
4737}
4738
4739static PyObject *_wrap_wxLog_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject * _resultobj;
4741 wxString * _arg0;
4742 PyObject * _obj0 = 0;
4743 char *_kwnames[] = { "str", NULL };
4744
4745 self = self;
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_AddTraceMask",_kwnames,&_obj0))
4747 return NULL;
4748{
2cd2fac8
RD
4749#if PYTHON_API_VERSION >= 1009
4750 char* tmpPtr; int tmpSize;
4751 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 4752 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4753 return NULL;
4754 }
4755 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
4756 return NULL;
4757 _arg0 = new wxString(tmpPtr, tmpSize);
4758#else
f6bcfd97
BP
4759 if (!PyString_Check(_obj0)) {
4760 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4761 return NULL;
4762 }
2cd2fac8
RD
4763 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
4764#endif
f6bcfd97
BP
4765}
4766{
4767 wxPy_BEGIN_ALLOW_THREADS;
4768 wxLog::AddTraceMask(*_arg0);
4769
4770 wxPy_END_ALLOW_THREADS;
4771} Py_INCREF(Py_None);
4772 _resultobj = Py_None;
4773{
4774 if (_obj0)
4775 delete _arg0;
4776}
4777 return _resultobj;
4778}
4779
4780static PyObject *_wrap_wxLog_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4781 PyObject * _resultobj;
4782 wxString * _arg0;
4783 PyObject * _obj0 = 0;
4784 char *_kwnames[] = { "str", NULL };
4785
4786 self = self;
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_RemoveTraceMask",_kwnames,&_obj0))
8f17924e 4788 return NULL;
8f17924e 4789{
2cd2fac8
RD
4790#if PYTHON_API_VERSION >= 1009
4791 char* tmpPtr; int tmpSize;
4792 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 4793 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4794 return NULL;
4795 }
4796 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
4797 return NULL;
4798 _arg0 = new wxString(tmpPtr, tmpSize);
4799#else
f6bcfd97
BP
4800 if (!PyString_Check(_obj0)) {
4801 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8f17924e 4802 return NULL;
f6bcfd97 4803 }
2cd2fac8
RD
4804 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
4805#endif
8f17924e
RD
4806}
4807{
4808 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4809 wxLog::RemoveTraceMask(*_arg0);
8f17924e
RD
4810
4811 wxPy_END_ALLOW_THREADS;
4812} Py_INCREF(Py_None);
4813 _resultobj = Py_None;
f6bcfd97
BP
4814{
4815 if (_obj0)
4816 delete _arg0;
4817}
8f17924e
RD
4818 return _resultobj;
4819}
4820
0220cbc1
RD
4821static PyObject *_wrap_wxLog_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject * _resultobj;
4823 char *_kwnames[] = { NULL };
4824
4825 self = self;
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_ClearTraceMasks",_kwnames))
4827 return NULL;
4828{
4829 wxPy_BEGIN_ALLOW_THREADS;
4830 wxLog::ClearTraceMasks();
4831
4832 wxPy_END_ALLOW_THREADS;
4833} Py_INCREF(Py_None);
4834 _resultobj = Py_None;
4835 return _resultobj;
4836}
4837
4838static PyObject *_wrap_wxLog_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4839 PyObject * _resultobj;
4840 wxChar * _arg0;
4841 char *_kwnames[] = { "ts", NULL };
4842
4843 self = self;
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLog_SetTimestamp",_kwnames,&_arg0))
4845 return NULL;
4846{
4847 wxPy_BEGIN_ALLOW_THREADS;
4848 wxLog::SetTimestamp(_arg0);
4849
4850 wxPy_END_ALLOW_THREADS;
4851} Py_INCREF(Py_None);
4852 _resultobj = Py_None;
4853 return _resultobj;
4854}
4855
4856static PyObject *_wrap_wxLog_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4857 PyObject * _resultobj;
4858 wxChar * _result;
4859 char *_kwnames[] = { NULL };
4860
4861 self = self;
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTimestamp",_kwnames))
4863 return NULL;
4864{
4865 wxPy_BEGIN_ALLOW_THREADS;
4866 _result = (wxChar *)wxLog::GetTimestamp();
4867
4868 wxPy_END_ALLOW_THREADS;
4869} _resultobj = Py_BuildValue("s", _result);
4870 return _resultobj;
4871}
4872
f6bcfd97
BP
4873#define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4874static PyObject *_wrap_wxLog_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4875 PyObject * _resultobj;
f6bcfd97
BP
4876 bool _result;
4877 wxLog * _arg0;
8f17924e 4878 PyObject * _argo0 = 0;
f6bcfd97 4879 char *_kwnames[] = { "self", NULL };
8f17924e
RD
4880
4881 self = self;
f6bcfd97 4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_GetVerbose",_kwnames,&_argo0))
8f17924e
RD
4883 return NULL;
4884 if (_argo0) {
4885 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
4886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
8f17924e
RD
4888 return NULL;
4889 }
4890 }
4891{
4892 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4893 _result = (bool )wxLog_GetVerbose(_arg0);
8f17924e
RD
4894
4895 wxPy_END_ALLOW_THREADS;
f6bcfd97 4896} _resultobj = Py_BuildValue("i",_result);
8f17924e
RD
4897 return _resultobj;
4898}
4899
f6bcfd97 4900static PyObject *_wrap_wxLog_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4901 PyObject * _resultobj;
f6bcfd97
BP
4902 wxTraceMask * _result;
4903 char *_kwnames[] = { NULL };
4904 char _ptemp[128];
8f17924e
RD
4905
4906 self = self;
f6bcfd97 4907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTraceMask",_kwnames))
8f17924e 4908 return NULL;
e02c03a4 4909{
f6bcfd97
BP
4910 wxPy_BEGIN_ALLOW_THREADS;
4911 _result = new wxTraceMask (wxLog::GetTraceMask());
4912
4913 wxPy_END_ALLOW_THREADS;
4914} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTraceMask_p");
4915 _resultobj = Py_BuildValue("s",_ptemp);
4916 return _resultobj;
e02c03a4 4917}
f6bcfd97
BP
4918
4919static PyObject *_wrap_wxLog_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject * _resultobj;
4921 bool _result;
4922 char * _arg0;
4923 char *_kwnames[] = { "mask", NULL };
4924
4925 self = self;
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLog_IsAllowedTraceMask",_kwnames,&_arg0))
4927 return NULL;
8f17924e
RD
4928{
4929 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4930 _result = (bool )wxLog::IsAllowedTraceMask(_arg0);
8f17924e
RD
4931
4932 wxPy_END_ALLOW_THREADS;
f6bcfd97 4933} _resultobj = Py_BuildValue("i",_result);
8f17924e
RD
4934 return _resultobj;
4935}
4936
0220cbc1
RD
4937static wxString wxLog_TimeStamp(wxLog *self) {
4938 wxString msg;
4939 wxLog::TimeStamp(&msg);
4940 return msg;
4941 }
4942static PyObject *_wrap_wxLog_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject * _resultobj;
4944 wxString * _result;
4945 wxLog * _arg0;
4946 PyObject * _argo0 = 0;
4947 char *_kwnames[] = { "self", NULL };
4948
4949 self = self;
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_TimeStamp",_kwnames,&_argo0))
4951 return NULL;
4952 if (_argo0) {
4953 if (_argo0 == Py_None) { _arg0 = NULL; }
4954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4956 return NULL;
4957 }
4958 }
4959{
4960 wxPy_BEGIN_ALLOW_THREADS;
4961 _result = new wxString (wxLog_TimeStamp(_arg0));
4962
4963 wxPy_END_ALLOW_THREADS;
4964}{
4965 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4966}
4967{
4968 delete _result;
4969}
4970 return _resultobj;
4971}
4972
f6bcfd97
BP
4973static void *SwigwxLogStderrTowxLog(void *ptr) {
4974 wxLogStderr *src;
4975 wxLog *dest;
4976 src = (wxLogStderr *) ptr;
4977 dest = (wxLog *) src;
4978 return (void *) dest;
4979}
4980
4981#define new_wxLogStderr() (new wxLogStderr())
4982static PyObject *_wrap_new_wxLogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 4983 PyObject * _resultobj;
f6bcfd97
BP
4984 wxLogStderr * _result;
4985 char *_kwnames[] = { NULL };
4986 char _ptemp[128];
8f17924e
RD
4987
4988 self = self;
f6bcfd97 4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogStderr",_kwnames))
8f17924e 4990 return NULL;
8f17924e
RD
4991{
4992 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 4993 _result = (wxLogStderr *)new_wxLogStderr();
8f17924e
RD
4994
4995 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
4996} if (_result) {
4997 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogStderr_p");
4998 _resultobj = Py_BuildValue("s",_ptemp);
4999 } else {
5000 Py_INCREF(Py_None);
5001 _resultobj = Py_None;
5002 }
8f17924e
RD
5003 return _resultobj;
5004}
5005
f6bcfd97
BP
5006static void *SwigwxLogTextCtrlTowxLog(void *ptr) {
5007 wxLogTextCtrl *src;
5008 wxLog *dest;
5009 src = (wxLogTextCtrl *) ptr;
5010 dest = (wxLog *) src;
5011 return (void *) dest;
5012}
5013
5014#define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5015static PyObject *_wrap_new_wxLogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8f17924e 5016 PyObject * _resultobj;
f6bcfd97
BP
5017 wxLogTextCtrl * _result;
5018 wxTextCtrl * _arg0;
8f17924e 5019 PyObject * _argo0 = 0;
f6bcfd97
BP
5020 char *_kwnames[] = { "pTextCtrl", NULL };
5021 char _ptemp[128];
8f17924e
RD
5022
5023 self = self;
f6bcfd97 5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogTextCtrl",_kwnames,&_argo0))
8f17924e
RD
5025 return NULL;
5026 if (_argo0) {
5027 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
8f17924e
RD
5030 return NULL;
5031 }
5032 }
5033{
5034 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5035 _result = (wxLogTextCtrl *)new_wxLogTextCtrl(_arg0);
8f17924e
RD
5036
5037 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
5038} if (_result) {
5039 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogTextCtrl_p");
5040 _resultobj = Py_BuildValue("s",_ptemp);
5041 } else {
5042 Py_INCREF(Py_None);
5043 _resultobj = Py_None;
5044 }
8f17924e
RD
5045 return _resultobj;
5046}
5047
f6bcfd97
BP
5048static void *SwigwxLogGuiTowxLog(void *ptr) {
5049 wxLogGui *src;
5050 wxLog *dest;
5051 src = (wxLogGui *) ptr;
5052 dest = (wxLog *) src;
5053 return (void *) dest;
5054}
5055
5056#define new_wxLogGui() (new wxLogGui())
5057static PyObject *_wrap_new_wxLogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5058 PyObject * _resultobj;
f6bcfd97 5059 wxLogGui * _result;
4120ef2b
RD
5060 char *_kwnames[] = { NULL };
5061 char _ptemp[128];
5062
5063 self = self;
f6bcfd97 5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogGui",_kwnames))
4120ef2b
RD
5065 return NULL;
5066{
5067 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5068 _result = (wxLogGui *)new_wxLogGui();
4120ef2b
RD
5069
5070 wxPy_END_ALLOW_THREADS;
5071} if (_result) {
f6bcfd97 5072 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogGui_p");
4120ef2b
RD
5073 _resultobj = Py_BuildValue("s",_ptemp);
5074 } else {
5075 Py_INCREF(Py_None);
5076 _resultobj = Py_None;
5077 }
5078 return _resultobj;
5079}
5080
f6bcfd97
BP
5081static void *SwigwxLogWindowTowxLog(void *ptr) {
5082 wxLogWindow *src;
5083 wxLog *dest;
5084 src = (wxLogWindow *) ptr;
5085 dest = (wxLog *) src;
5086 return (void *) dest;
5087}
5088
5089#define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5090static PyObject *_wrap_new_wxLogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5091 PyObject * _resultobj;
f6bcfd97
BP
5092 wxLogWindow * _result;
5093 wxFrame * _arg0;
5094 char * _arg1;
5095 bool _arg2 = (bool ) TRUE;
5096 bool _arg3 = (bool ) TRUE;
4120ef2b 5097 PyObject * _argo0 = 0;
f6bcfd97
BP
5098 int tempbool2 = (int) TRUE;
5099 int tempbool3 = (int) TRUE;
5100 char *_kwnames[] = { "pParent","szTitle","bShow","bPassToOld", NULL };
5101 char _ptemp[128];
4120ef2b
RD
5102
5103 self = self;
f6bcfd97 5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|ii:new_wxLogWindow",_kwnames,&_argo0,&_arg1,&tempbool2,&tempbool3))
4120ef2b
RD
5105 return NULL;
5106 if (_argo0) {
5107 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
5109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4120ef2b
RD
5110 return NULL;
5111 }
5112 }
f6bcfd97
BP
5113 _arg2 = (bool ) tempbool2;
5114 _arg3 = (bool ) tempbool3;
4120ef2b
RD
5115{
5116 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5117 _result = (wxLogWindow *)new_wxLogWindow(_arg0,_arg1,_arg2,_arg3);
4120ef2b
RD
5118
5119 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
5120} if (_result) {
5121 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogWindow_p");
5122 _resultobj = Py_BuildValue("s",_ptemp);
5123 } else {
5124 Py_INCREF(Py_None);
5125 _resultobj = Py_None;
5126 }
4120ef2b
RD
5127 return _resultobj;
5128}
5129
f6bcfd97
BP
5130#define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5131static PyObject *_wrap_wxLogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5132 PyObject * _resultobj;
f6bcfd97
BP
5133 wxLogWindow * _arg0;
5134 bool _arg1 = (bool ) TRUE;
4120ef2b 5135 PyObject * _argo0 = 0;
f6bcfd97
BP
5136 int tempbool1 = (int) TRUE;
5137 char *_kwnames[] = { "self","bShow", NULL };
4120ef2b
RD
5138
5139 self = self;
f6bcfd97 5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLogWindow_Show",_kwnames,&_argo0,&tempbool1))
4120ef2b
RD
5141 return NULL;
5142 if (_argo0) {
5143 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4120ef2b
RD
5146 return NULL;
5147 }
5148 }
f6bcfd97 5149 _arg1 = (bool ) tempbool1;
4120ef2b
RD
5150{
5151 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5152 wxLogWindow_Show(_arg0,_arg1);
4120ef2b
RD
5153
5154 wxPy_END_ALLOW_THREADS;
5155} Py_INCREF(Py_None);
5156 _resultobj = Py_None;
5157 return _resultobj;
5158}
5159
f6bcfd97
BP
5160#define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5161static PyObject *_wrap_wxLogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5162 PyObject * _resultobj;
f6bcfd97
BP
5163 wxFrame * _result;
5164 wxLogWindow * _arg0;
4120ef2b 5165 PyObject * _argo0 = 0;
f6bcfd97 5166 char *_kwnames[] = { "self", NULL };
4120ef2b
RD
5167
5168 self = self;
f6bcfd97 5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetFrame",_kwnames,&_argo0))
4120ef2b
RD
5170 return NULL;
5171 if (_argo0) {
5172 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4120ef2b
RD
5175 return NULL;
5176 }
5177 }
4120ef2b
RD
5178{
5179 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5180 _result = (wxFrame *)wxLogWindow_GetFrame(_arg0);
4120ef2b
RD
5181
5182 wxPy_END_ALLOW_THREADS;
9df61a29 5183}{ _resultobj = wxPyMake_wxObject(_result); }
4120ef2b
RD
5184 return _resultobj;
5185}
5186
f6bcfd97
BP
5187#define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5188static PyObject *_wrap_wxLogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5189 PyObject * _resultobj;
f6bcfd97
BP
5190 wxLog * _result;
5191 wxLogWindow * _arg0;
4120ef2b 5192 PyObject * _argo0 = 0;
f6bcfd97
BP
5193 char *_kwnames[] = { "self", NULL };
5194 char _ptemp[128];
4120ef2b
RD
5195
5196 self = self;
f6bcfd97 5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetOldLog",_kwnames,&_argo0))
4120ef2b
RD
5198 return NULL;
5199 if (_argo0) {
5200 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4120ef2b
RD
5203 return NULL;
5204 }
5205 }
5206{
5207 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5208 _result = (wxLog *)wxLogWindow_GetOldLog(_arg0);
4120ef2b
RD
5209
5210 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
5211} if (_result) {
5212 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5213 _resultobj = Py_BuildValue("s",_ptemp);
5214 } else {
5215 Py_INCREF(Py_None);
5216 _resultobj = Py_None;
5217 }
4120ef2b
RD
5218 return _resultobj;
5219}
5220
f6bcfd97
BP
5221#define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5222static PyObject *_wrap_wxLogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5223 PyObject * _resultobj;
f6bcfd97
BP
5224 bool _result;
5225 wxLogWindow * _arg0;
4120ef2b
RD
5226 PyObject * _argo0 = 0;
5227 char *_kwnames[] = { "self", NULL };
5228
5229 self = self;
f6bcfd97 5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_IsPassingMessages",_kwnames,&_argo0))
4120ef2b
RD
5231 return NULL;
5232 if (_argo0) {
5233 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4120ef2b
RD
5236 return NULL;
5237 }
5238 }
5239{
5240 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5241 _result = (bool )wxLogWindow_IsPassingMessages(_arg0);
4120ef2b
RD
5242
5243 wxPy_END_ALLOW_THREADS;
f6bcfd97 5244} _resultobj = Py_BuildValue("i",_result);
4120ef2b
RD
5245 return _resultobj;
5246}
5247
f6bcfd97
BP
5248#define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5249static PyObject *_wrap_wxLogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5250 PyObject * _resultobj;
f6bcfd97
BP
5251 wxLogWindow * _arg0;
5252 bool _arg1;
4120ef2b 5253 PyObject * _argo0 = 0;
f6bcfd97
BP
5254 int tempbool1;
5255 char *_kwnames[] = { "self","bDoPass", NULL };
4120ef2b
RD
5256
5257 self = self;
f6bcfd97 5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogWindow_PassMessages",_kwnames,&_argo0,&tempbool1))
4120ef2b
RD
5259 return NULL;
5260 if (_argo0) {
5261 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4120ef2b
RD
5264 return NULL;
5265 }
5266 }
f6bcfd97 5267 _arg1 = (bool ) tempbool1;
4120ef2b
RD
5268{
5269 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5270 wxLogWindow_PassMessages(_arg0,_arg1);
4120ef2b
RD
5271
5272 wxPy_END_ALLOW_THREADS;
f6bcfd97
BP
5273} Py_INCREF(Py_None);
5274 _resultobj = Py_None;
4120ef2b
RD
5275 return _resultobj;
5276}
5277
f6bcfd97
BP
5278#define new_wxLogNull() (new wxLogNull())
5279static PyObject *_wrap_new_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5280 PyObject * _resultobj;
f6bcfd97
BP
5281 wxLogNull * _result;
5282 char *_kwnames[] = { NULL };
4120ef2b
RD
5283 char _ptemp[128];
5284
5285 self = self;
f6bcfd97 5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogNull",_kwnames))
4120ef2b 5287 return NULL;
4120ef2b
RD
5288{
5289 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5290 _result = (wxLogNull *)new_wxLogNull();
4120ef2b
RD
5291
5292 wxPy_END_ALLOW_THREADS;
5293} if (_result) {
f6bcfd97 5294 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogNull_p");
4120ef2b
RD
5295 _resultobj = Py_BuildValue("s",_ptemp);
5296 } else {
5297 Py_INCREF(Py_None);
5298 _resultobj = Py_None;
5299 }
5300 return _resultobj;
5301}
5302
f6bcfd97
BP
5303#define delete_wxLogNull(_swigobj) (delete _swigobj)
5304static PyObject *_wrap_delete_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b 5305 PyObject * _resultobj;
f6bcfd97 5306 wxLogNull * _arg0;
4120ef2b
RD
5307 PyObject * _argo0 = 0;
5308 char *_kwnames[] = { "self", NULL };
5309
5310 self = self;
f6bcfd97 5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLogNull",_kwnames,&_argo0))
4120ef2b
RD
5312 return NULL;
5313 if (_argo0) {
5314 if (_argo0 == Py_None) { _arg0 = NULL; }
f6bcfd97
BP
5315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogNull_p")) {
5316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4120ef2b
RD
5317 return NULL;
5318 }
5319 }
5320{
5321 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 5322 delete_wxLogNull(_arg0);
4120ef2b
RD
5323
5324 wxPy_END_ALLOW_THREADS;
5325} Py_INCREF(Py_None);
5326 _resultobj = Py_None;
5327 return _resultobj;
5328}
5329
0220cbc1
RD
5330static void *SwigwxLogChainTowxLog(void *ptr) {
5331 wxLogChain *src;
5332 wxLog *dest;
5333 src = (wxLogChain *) ptr;
5334 dest = (wxLog *) src;
5335 return (void *) dest;
5336}
5337
5338#define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5339static PyObject *_wrap_new_wxLogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject * _resultobj;
5341 wxLogChain * _result;
5342 wxLog * _arg0;
5343 PyObject * _argo0 = 0;
5344 char *_kwnames[] = { "logger", NULL };
5345 char _ptemp[128];
5346
5347 self = self;
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogChain",_kwnames,&_argo0))
5349 return NULL;
5350 if (_argo0) {
5351 if (_argo0 == Py_None) { _arg0 = NULL; }
5352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5354 return NULL;
5355 }
5356 }
5357{
5358 wxPy_BEGIN_ALLOW_THREADS;
5359 _result = (wxLogChain *)new_wxLogChain(_arg0);
5360
5361 wxPy_END_ALLOW_THREADS;
5362} if (_result) {
5363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogChain_p");
5364 _resultobj = Py_BuildValue("s",_ptemp);
5365 } else {
5366 Py_INCREF(Py_None);
5367 _resultobj = Py_None;
5368 }
5369 return _resultobj;
5370}
5371
5372#define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5373static PyObject *_wrap_wxLogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject * _resultobj;
5375 wxLogChain * _arg0;
5376 wxLog * _arg1;
5377 PyObject * _argo0 = 0;
5378 PyObject * _argo1 = 0;
5379 char *_kwnames[] = { "self","logger", NULL };
5380
5381 self = self;
5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxLogChain_SetLog",_kwnames,&_argo0,&_argo1))
5383 return NULL;
5384 if (_argo0) {
5385 if (_argo0 == Py_None) { _arg0 = NULL; }
5386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5388 return NULL;
5389 }
5390 }
5391 if (_argo1) {
5392 if (_argo1 == Py_None) { _arg1 = NULL; }
5393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLog_p")) {
5394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5395 return NULL;
5396 }
5397 }
5398{
5399 wxPy_BEGIN_ALLOW_THREADS;
5400 wxLogChain_SetLog(_arg0,_arg1);
5401
5402 wxPy_END_ALLOW_THREADS;
5403} Py_INCREF(Py_None);
5404 _resultobj = Py_None;
5405 return _resultobj;
5406}
5407
5408#define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5409static PyObject *_wrap_wxLogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject * _resultobj;
5411 wxLogChain * _arg0;
5412 bool _arg1;
5413 PyObject * _argo0 = 0;
5414 int tempbool1;
5415 char *_kwnames[] = { "self","bDoPass", NULL };
5416
5417 self = self;
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogChain_PassMessages",_kwnames,&_argo0,&tempbool1))
5419 return NULL;
5420 if (_argo0) {
5421 if (_argo0 == Py_None) { _arg0 = NULL; }
5422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5424 return NULL;
5425 }
5426 }
5427 _arg1 = (bool ) tempbool1;
5428{
5429 wxPy_BEGIN_ALLOW_THREADS;
5430 wxLogChain_PassMessages(_arg0,_arg1);
5431
5432 wxPy_END_ALLOW_THREADS;
5433} Py_INCREF(Py_None);
5434 _resultobj = Py_None;
5435 return _resultobj;
5436}
5437
5438#define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5439static PyObject *_wrap_wxLogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject * _resultobj;
5441 bool _result;
5442 wxLogChain * _arg0;
5443 PyObject * _argo0 = 0;
5444 char *_kwnames[] = { "self", NULL };
5445
5446 self = self;
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_IsPassingMessages",_kwnames,&_argo0))
5448 return NULL;
5449 if (_argo0) {
5450 if (_argo0 == Py_None) { _arg0 = NULL; }
5451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5453 return NULL;
5454 }
5455 }
5456{
5457 wxPy_BEGIN_ALLOW_THREADS;
5458 _result = (bool )wxLogChain_IsPassingMessages(_arg0);
5459
5460 wxPy_END_ALLOW_THREADS;
5461} _resultobj = Py_BuildValue("i",_result);
5462 return _resultobj;
5463}
5464
5465#define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5466static PyObject *_wrap_wxLogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5467 PyObject * _resultobj;
5468 wxLog * _result;
5469 wxLogChain * _arg0;
5470 PyObject * _argo0 = 0;
5471 char *_kwnames[] = { "self", NULL };
5472 char _ptemp[128];
5473
5474 self = self;
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_GetOldLog",_kwnames,&_argo0))
5476 return NULL;
5477 if (_argo0) {
5478 if (_argo0 == Py_None) { _arg0 = NULL; }
5479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5481 return NULL;
5482 }
5483 }
5484{
5485 wxPy_BEGIN_ALLOW_THREADS;
5486 _result = (wxLog *)wxLogChain_GetOldLog(_arg0);
5487
5488 wxPy_END_ALLOW_THREADS;
5489} if (_result) {
5490 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5491 _resultobj = Py_BuildValue("s",_ptemp);
5492 } else {
5493 Py_INCREF(Py_None);
5494 _resultobj = Py_None;
5495 }
5496 return _resultobj;
5497}
5498
5499static void *SwigwxPyLogTowxLog(void *ptr) {
5500 wxPyLog *src;
5501 wxLog *dest;
5502 src = (wxPyLog *) ptr;
5503 dest = (wxLog *) src;
5504 return (void *) dest;
5505}
5506
5507#define new_wxPyLog() (new wxPyLog())
5508static PyObject *_wrap_new_wxPyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject * _resultobj;
5510 wxPyLog * _result;
5511 char *_kwnames[] = { NULL };
5512 char _ptemp[128];
5513
5514 self = self;
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLog",_kwnames))
5516 return NULL;
5517{
5518 wxPy_BEGIN_ALLOW_THREADS;
5519 _result = (wxPyLog *)new_wxPyLog();
5520
5521 wxPy_END_ALLOW_THREADS;
5522} if (_result) {
5523 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLog_p");
5524 _resultobj = Py_BuildValue("s",_ptemp);
5525 } else {
5526 Py_INCREF(Py_None);
5527 _resultobj = Py_None;
5528 }
5529 return _resultobj;
5530}
5531
5532#define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5533static PyObject *_wrap_wxPyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5534 PyObject * _resultobj;
5535 wxPyLog * _arg0;
5536 PyObject * _arg1;
5537 PyObject * _arg2;
5538 PyObject * _argo0 = 0;
5539 PyObject * _obj1 = 0;
5540 PyObject * _obj2 = 0;
5541 char *_kwnames[] = { "self","self","_class", NULL };
5542
5543 self = self;
5544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLog__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5545 return NULL;
5546 if (_argo0) {
5547 if (_argo0 == Py_None) { _arg0 = NULL; }
5548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5550 return NULL;
5551 }
5552 }
5553{
5554 _arg1 = _obj1;
5555}
5556{
5557 _arg2 = _obj2;
5558}
5559{
5560 wxPy_BEGIN_ALLOW_THREADS;
5561 wxPyLog__setCallbackInfo(_arg0,_arg1,_arg2);
5562
5563 wxPy_END_ALLOW_THREADS;
5564} Py_INCREF(Py_None);
5565 _resultobj = Py_None;
5566 return _resultobj;
5567}
5568
5569static void wxPyLog_Destroy(wxPyLog *self) { delete self; }
5570static PyObject *_wrap_wxPyLog_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject * _resultobj;
5572 wxPyLog * _arg0;
5573 PyObject * _argo0 = 0;
5574 char *_kwnames[] = { "self", NULL };
5575
5576 self = self;
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLog_Destroy",_kwnames,&_argo0))
5578 return NULL;
5579 if (_argo0) {
5580 if (_argo0 == Py_None) { _arg0 = NULL; }
5581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5583 return NULL;
5584 }
5585 }
5586{
5587 wxPy_BEGIN_ALLOW_THREADS;
5588 wxPyLog_Destroy(_arg0);
5589
5590 wxPy_END_ALLOW_THREADS;
5591} Py_INCREF(Py_None);
5592 _resultobj = Py_None;
5593 return _resultobj;
5594}
5595
c368d904
RD
5596static void *SwigwxProcessEventTowxEvent(void *ptr) {
5597 wxProcessEvent *src;
5598 wxEvent *dest;
5599 src = (wxProcessEvent *) ptr;
5600 dest = (wxEvent *) src;
5601 return (void *) dest;
5602}
5603
9df61a29
RD
5604static void *SwigwxProcessEventTowxObject(void *ptr) {
5605 wxProcessEvent *src;
5606 wxObject *dest;
5607 src = (wxProcessEvent *) ptr;
5608 dest = (wxObject *) src;
5609 return (void *) dest;
5610}
5611
c368d904
RD
5612#define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5613static PyObject *_wrap_new_wxProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject * _resultobj;
5615 wxProcessEvent * _result;
5616 int _arg0 = (int ) 0;
5617 int _arg1 = (int ) 0;
5618 int _arg2 = (int ) 0;
5619 char *_kwnames[] = { "id","pid","exitcode", NULL };
5620 char _ptemp[128];
5621
5622 self = self;
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxProcessEvent",_kwnames,&_arg0,&_arg1,&_arg2))
5624 return NULL;
5625{
5626 wxPy_BEGIN_ALLOW_THREADS;
5627 _result = (wxProcessEvent *)new_wxProcessEvent(_arg0,_arg1,_arg2);
5628
5629 wxPy_END_ALLOW_THREADS;
5630} if (_result) {
5631 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProcessEvent_p");
5632 _resultobj = Py_BuildValue("s",_ptemp);
5633 } else {
5634 Py_INCREF(Py_None);
5635 _resultobj = Py_None;
5636 }
5637 return _resultobj;
5638}
5639
5640#define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5641static PyObject *_wrap_wxProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject * _resultobj;
5643 int _result;
5644 wxProcessEvent * _arg0;
5645 PyObject * _argo0 = 0;
5646 char *_kwnames[] = { "self", NULL };
5647
5648 self = self;
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetPid",_kwnames,&_argo0))
5650 return NULL;
5651 if (_argo0) {
5652 if (_argo0 == Py_None) { _arg0 = NULL; }
5653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5655 return NULL;
5656 }
5657 }
5658{
5659 wxPy_BEGIN_ALLOW_THREADS;
5660 _result = (int )wxProcessEvent_GetPid(_arg0);
5661
5662 wxPy_END_ALLOW_THREADS;
5663} _resultobj = Py_BuildValue("i",_result);
5664 return _resultobj;
5665}
5666
5667#define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5668static PyObject *_wrap_wxProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
5669 PyObject * _resultobj;
5670 int _result;
5671 wxProcessEvent * _arg0;
5672 PyObject * _argo0 = 0;
5673 char *_kwnames[] = { "self", NULL };
5674
5675 self = self;
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetExitCode",_kwnames,&_argo0))
5677 return NULL;
5678 if (_argo0) {
5679 if (_argo0 == Py_None) { _arg0 = NULL; }
5680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5682 return NULL;
5683 }
5684 }
5685{
5686 wxPy_BEGIN_ALLOW_THREADS;
5687 _result = (int )wxProcessEvent_GetExitCode(_arg0);
5688
5689 wxPy_END_ALLOW_THREADS;
5690} _resultobj = Py_BuildValue("i",_result);
5691 return _resultobj;
5692}
5693
5694#define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5695static PyObject *_wrap_wxProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5696 PyObject * _resultobj;
5697 int _result;
5698 wxProcessEvent * _arg0;
5699 int _arg1;
5700 PyObject * _argo0 = 0;
5701 char *_kwnames[] = { "self","m_pid", NULL };
5702
5703 self = self;
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_pid_set",_kwnames,&_argo0,&_arg1))
5705 return NULL;
5706 if (_argo0) {
5707 if (_argo0 == Py_None) { _arg0 = NULL; }
5708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5710 return NULL;
5711 }
5712 }
5713{
5714 wxPy_BEGIN_ALLOW_THREADS;
5715 _result = (int )wxProcessEvent_m_pid_set(_arg0,_arg1);
5716
5717 wxPy_END_ALLOW_THREADS;
5718} _resultobj = Py_BuildValue("i",_result);
5719 return _resultobj;
5720}
5721
5722#define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5723static PyObject *_wrap_wxProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5724 PyObject * _resultobj;
5725 int _result;
5726 wxProcessEvent * _arg0;
5727 PyObject * _argo0 = 0;
5728 char *_kwnames[] = { "self", NULL };
5729
5730 self = self;
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_pid_get",_kwnames,&_argo0))
5732 return NULL;
5733 if (_argo0) {
5734 if (_argo0 == Py_None) { _arg0 = NULL; }
5735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5737 return NULL;
5738 }
5739 }
5740{
5741 wxPy_BEGIN_ALLOW_THREADS;
5742 _result = (int )wxProcessEvent_m_pid_get(_arg0);
5743
5744 wxPy_END_ALLOW_THREADS;
5745} _resultobj = Py_BuildValue("i",_result);
5746 return _resultobj;
5747}
5748
5749#define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5750static PyObject *_wrap_wxProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject * _resultobj;
5752 int _result;
5753 wxProcessEvent * _arg0;
5754 int _arg1;
5755 PyObject * _argo0 = 0;
5756 char *_kwnames[] = { "self","m_exitcode", NULL };
5757
5758 self = self;
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_exitcode_set",_kwnames,&_argo0,&_arg1))
5760 return NULL;
5761 if (_argo0) {
5762 if (_argo0 == Py_None) { _arg0 = NULL; }
5763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5765 return NULL;
5766 }
5767 }
5768{
5769 wxPy_BEGIN_ALLOW_THREADS;
5770 _result = (int )wxProcessEvent_m_exitcode_set(_arg0,_arg1);
5771
5772 wxPy_END_ALLOW_THREADS;
5773} _resultobj = Py_BuildValue("i",_result);
5774 return _resultobj;
5775}
5776
5777#define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5778static PyObject *_wrap_wxProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject * _resultobj;
5780 int _result;
5781 wxProcessEvent * _arg0;
5782 PyObject * _argo0 = 0;
5783 char *_kwnames[] = { "self", NULL };
5784
5785 self = self;
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_exitcode_get",_kwnames,&_argo0))
5787 return NULL;
5788 if (_argo0) {
5789 if (_argo0 == Py_None) { _arg0 = NULL; }
5790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5792 return NULL;
5793 }
5794 }
5795{
5796 wxPy_BEGIN_ALLOW_THREADS;
5797 _result = (int )wxProcessEvent_m_exitcode_get(_arg0);
5798
5799 wxPy_END_ALLOW_THREADS;
5800} _resultobj = Py_BuildValue("i",_result);
5801 return _resultobj;
5802}
5803
5804static void *SwigwxPyProcessTowxEvtHandler(void *ptr) {
5805 wxPyProcess *src;
5806 wxEvtHandler *dest;
5807 src = (wxPyProcess *) ptr;
5808 dest = (wxEvtHandler *) src;
5809 return (void *) dest;
5810}
5811
9df61a29
RD
5812static void *SwigwxPyProcessTowxObject(void *ptr) {
5813 wxPyProcess *src;
5814 wxObject *dest;
5815 src = (wxPyProcess *) ptr;
5816 dest = (wxObject *) src;
5817 return (void *) dest;
5818}
5819
c368d904
RD
5820#define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5821static PyObject *_wrap_new_wxProcess(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject * _resultobj;
5823 wxPyProcess * _result;
5824 wxEvtHandler * _arg0 = (wxEvtHandler *) NULL;
5825 int _arg1 = (int ) -1;
5826 PyObject * _argo0 = 0;
5827 char *_kwnames[] = { "parent","id", NULL };
5828 char _ptemp[128];
5829
5830 self = self;
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxProcess",_kwnames,&_argo0,&_arg1))
5832 return NULL;
5833 if (_argo0) {
5834 if (_argo0 == Py_None) { _arg0 = NULL; }
5835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
5836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5837 return NULL;
5838 }
5839 }
5840{
5841 wxPy_BEGIN_ALLOW_THREADS;
5842 _result = (wxPyProcess *)new_wxProcess(_arg0,_arg1);
5843
5844 wxPy_END_ALLOW_THREADS;
5845} if (_result) {
5846 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyProcess_p");
5847 _resultobj = Py_BuildValue("s",_ptemp);
5848 } else {
5849 Py_INCREF(Py_None);
5850 _resultobj = Py_None;
5851 }
5852 return _resultobj;
5853}
5854
5855static void wxPyProcess_Destroy(wxPyProcess *self) { delete self; }
5856static PyObject *_wrap_wxProcess_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject * _resultobj;
5858 wxPyProcess * _arg0;
5859 PyObject * _argo0 = 0;
5860 char *_kwnames[] = { "self", NULL };
5861
5862 self = self;
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Destroy",_kwnames,&_argo0))
5864 return NULL;
5865 if (_argo0) {
5866 if (_argo0 == Py_None) { _arg0 = NULL; }
5867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5869 return NULL;
5870 }
5871 }
5872{
5873 wxPy_BEGIN_ALLOW_THREADS;
5874 wxPyProcess_Destroy(_arg0);
5875
5876 wxPy_END_ALLOW_THREADS;
5877} Py_INCREF(Py_None);
5878 _resultobj = Py_None;
5879 return _resultobj;
5880}
5881
0220cbc1
RD
5882#define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5883static PyObject *_wrap_wxProcess__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
c368d904
RD
5884 PyObject * _resultobj;
5885 wxPyProcess * _arg0;
5886 PyObject * _arg1;
5887 PyObject * _arg2;
5888 PyObject * _argo0 = 0;
5889 PyObject * _obj1 = 0;
5890 PyObject * _obj2 = 0;
5891 char *_kwnames[] = { "self","self","_class", NULL };
5892
5893 self = self;
0220cbc1 5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxProcess__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
c368d904
RD
5895 return NULL;
5896 if (_argo0) {
5897 if (_argo0 == Py_None) { _arg0 = NULL; }
5898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
0220cbc1 5899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
c368d904
RD
5900 return NULL;
5901 }
5902 }
5903{
5904 _arg1 = _obj1;
5905}
5906{
5907 _arg2 = _obj2;
5908}
5909{
5910 wxPy_BEGIN_ALLOW_THREADS;
0220cbc1 5911 wxProcess__setCallbackInfo(_arg0,_arg1,_arg2);
c368d904
RD
5912
5913 wxPy_END_ALLOW_THREADS;
5914} Py_INCREF(Py_None);
5915 _resultobj = Py_None;
5916 return _resultobj;
5917}
5918
5919#define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5920static PyObject *_wrap_wxProcess_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
5921 PyObject * _resultobj;
5922 wxPyProcess * _arg0;
5923 int _arg1;
5924 int _arg2;
5925 PyObject * _argo0 = 0;
5926 char *_kwnames[] = { "self","pid","status", NULL };
5927
5928 self = self;
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxProcess_base_OnTerminate",_kwnames,&_argo0,&_arg1,&_arg2))
5930 return NULL;
5931 if (_argo0) {
5932 if (_argo0 == Py_None) { _arg0 = NULL; }
5933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5935 return NULL;
5936 }
5937 }
5938{
5939 wxPy_BEGIN_ALLOW_THREADS;
5940 wxProcess_base_OnTerminate(_arg0,_arg1,_arg2);
5941
5942 wxPy_END_ALLOW_THREADS;
5943} Py_INCREF(Py_None);
5944 _resultobj = Py_None;
5945 return _resultobj;
5946}
5947
5948#define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5949static PyObject *_wrap_wxProcess_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject * _resultobj;
5951 wxPyProcess * _arg0;
5952 PyObject * _argo0 = 0;
5953 char *_kwnames[] = { "self", NULL };
5954
5955 self = self;
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Redirect",_kwnames,&_argo0))
5957 return NULL;
5958 if (_argo0) {
5959 if (_argo0 == Py_None) { _arg0 = NULL; }
5960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5962 return NULL;
5963 }
5964 }
5965{
5966 wxPy_BEGIN_ALLOW_THREADS;
5967 wxProcess_Redirect(_arg0);
5968
5969 wxPy_END_ALLOW_THREADS;
5970} Py_INCREF(Py_None);
5971 _resultobj = Py_None;
5972 return _resultobj;
5973}
5974
5975#define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5976static PyObject *_wrap_wxProcess_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
5977 PyObject * _resultobj;
5978 bool _result;
5979 wxPyProcess * _arg0;
5980 PyObject * _argo0 = 0;
5981 char *_kwnames[] = { "self", NULL };
5982
5983 self = self;
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_IsRedirected",_kwnames,&_argo0))
5985 return NULL;
5986 if (_argo0) {
5987 if (_argo0 == Py_None) { _arg0 = NULL; }
5988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
5989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5990 return NULL;
5991 }
5992 }
5993{
5994 wxPy_BEGIN_ALLOW_THREADS;
5995 _result = (bool )wxProcess_IsRedirected(_arg0);
5996
5997 wxPy_END_ALLOW_THREADS;
5998} _resultobj = Py_BuildValue("i",_result);
5999 return _resultobj;
6000}
6001
6002#define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6003static PyObject *_wrap_wxProcess_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject * _resultobj;
6005 wxPyProcess * _arg0;
6006 PyObject * _argo0 = 0;
6007 char *_kwnames[] = { "self", NULL };
6008
6009 self = self;
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Detach",_kwnames,&_argo0))
6011 return NULL;
6012 if (_argo0) {
6013 if (_argo0 == Py_None) { _arg0 = NULL; }
6014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6016 return NULL;
6017 }
6018 }
6019{
6020 wxPy_BEGIN_ALLOW_THREADS;
6021 wxProcess_Detach(_arg0);
6022
6023 wxPy_END_ALLOW_THREADS;
6024} Py_INCREF(Py_None);
6025 _resultobj = Py_None;
6026 return _resultobj;
6027}
6028
6029#define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6030static PyObject *_wrap_wxProcess_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6031 PyObject * _resultobj;
6032 wxInputStream * _result;
6033 wxPyProcess * _arg0;
6034 PyObject * _argo0 = 0;
6035 char *_kwnames[] = { "self", NULL };
6036
6037 self = self;
6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetInputStream",_kwnames,&_argo0))
6039 return NULL;
6040 if (_argo0) {
6041 if (_argo0 == Py_None) { _arg0 = NULL; }
6042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6044 return NULL;
6045 }
6046 }
6047{
6048 wxPy_BEGIN_ALLOW_THREADS;
6049 _result = (wxInputStream *)wxProcess_GetInputStream(_arg0);
6050
6051 wxPy_END_ALLOW_THREADS;
6052}{
6053 wxPyInputStream * _ptr = NULL;
6054
6055 if (_result) {
6056 _ptr = new wxPyInputStream(_result);
6057 }
9df61a29 6058 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
c368d904
RD
6059}
6060 return _resultobj;
6061}
6062
6063#define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6064static PyObject *_wrap_wxProcess_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject * _resultobj;
6066 wxInputStream * _result;
6067 wxPyProcess * _arg0;
6068 PyObject * _argo0 = 0;
6069 char *_kwnames[] = { "self", NULL };
6070
6071 self = self;
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetErrorStream",_kwnames,&_argo0))
6073 return NULL;
6074 if (_argo0) {
6075 if (_argo0 == Py_None) { _arg0 = NULL; }
6076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6078 return NULL;
6079 }
6080 }
6081{
6082 wxPy_BEGIN_ALLOW_THREADS;
6083 _result = (wxInputStream *)wxProcess_GetErrorStream(_arg0);
6084
6085 wxPy_END_ALLOW_THREADS;
6086}{
6087 wxPyInputStream * _ptr = NULL;
6088
6089 if (_result) {
6090 _ptr = new wxPyInputStream(_result);
6091 }
9df61a29 6092 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
c368d904
RD
6093}
6094 return _resultobj;
6095}
6096
6097#define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6098static PyObject *_wrap_wxProcess_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject * _resultobj;
6100 wxOutputStream * _result;
6101 wxPyProcess * _arg0;
6102 PyObject * _argo0 = 0;
6103 char *_kwnames[] = { "self", NULL };
6104 char _ptemp[128];
6105
6106 self = self;
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetOutputStream",_kwnames,&_argo0))
6108 return NULL;
6109 if (_argo0) {
6110 if (_argo0 == Py_None) { _arg0 = NULL; }
6111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6113 return NULL;
6114 }
6115 }
6116{
6117 wxPy_BEGIN_ALLOW_THREADS;
6118 _result = (wxOutputStream *)wxProcess_GetOutputStream(_arg0);
6119
6120 wxPy_END_ALLOW_THREADS;
6121} if (_result) {
6122 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOutputStream_p");
6123 _resultobj = Py_BuildValue("s",_ptemp);
6124 } else {
6125 Py_INCREF(Py_None);
6126 _resultobj = Py_None;
6127 }
6128 return _resultobj;
6129}
6130
6131#define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6132static PyObject *_wrap_wxProcess_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject * _resultobj;
6134 wxPyProcess * _arg0;
6135 PyObject * _argo0 = 0;
6136 char *_kwnames[] = { "self", NULL };
6137
6138 self = self;
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_CloseOutput",_kwnames,&_argo0))
6140 return NULL;
6141 if (_argo0) {
6142 if (_argo0 == Py_None) { _arg0 = NULL; }
6143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6145 return NULL;
6146 }
6147 }
6148{
6149 wxPy_BEGIN_ALLOW_THREADS;
6150 wxProcess_CloseOutput(_arg0);
6151
6152 wxPy_END_ALLOW_THREADS;
6153} Py_INCREF(Py_None);
6154 _resultobj = Py_None;
6155 return _resultobj;
6156}
6157
4dfaa61e
RD
6158static void *SwigwxJoystickTowxObject(void *ptr) {
6159 wxJoystick *src;
6160 wxObject *dest;
6161 src = (wxJoystick *) ptr;
6162 dest = (wxObject *) src;
6163 return (void *) dest;
6164}
6165
6166#define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6167static PyObject *_wrap_new_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject * _resultobj;
6169 wxJoystick * _result;
6170 int _arg0 = (int ) wxJOYSTICK1;
6171 char *_kwnames[] = { "joystick", NULL };
6172 char _ptemp[128];
6173
6174 self = self;
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxJoystick",_kwnames,&_arg0))
6176 return NULL;
6177{
6178 wxPy_BEGIN_ALLOW_THREADS;
6179 _result = (wxJoystick *)new_wxJoystick(_arg0);
6180
6181 wxPy_END_ALLOW_THREADS;
6182} if (_result) {
6183 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystick_p");
6184 _resultobj = Py_BuildValue("s",_ptemp);
6185 } else {
6186 Py_INCREF(Py_None);
6187 _resultobj = Py_None;
6188 }
6189 return _resultobj;
6190}
6191
25d73e0f
RD
6192#define delete_wxJoystick(_swigobj) (delete _swigobj)
6193static PyObject *_wrap_delete_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject * _resultobj;
6195 wxJoystick * _arg0;
6196 PyObject * _argo0 = 0;
6197 char *_kwnames[] = { "self", NULL };
6198
6199 self = self;
6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxJoystick",_kwnames,&_argo0))
6201 return NULL;
6202 if (_argo0) {
6203 if (_argo0 == Py_None) { _arg0 = NULL; }
6204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6206 return NULL;
6207 }
6208 }
6209{
6210 wxPy_BEGIN_ALLOW_THREADS;
6211 delete_wxJoystick(_arg0);
6212
6213 wxPy_END_ALLOW_THREADS;
6214} Py_INCREF(Py_None);
6215 _resultobj = Py_None;
6216 return _resultobj;
6217}
6218
4dfaa61e
RD
6219#define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6220static PyObject *_wrap_wxJoystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject * _resultobj;
6222 wxPoint * _result;
6223 wxJoystick * _arg0;
6224 PyObject * _argo0 = 0;
6225 char *_kwnames[] = { "self", NULL };
6226 char _ptemp[128];
6227
6228 self = self;
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPosition",_kwnames,&_argo0))
6230 return NULL;
6231 if (_argo0) {
6232 if (_argo0 == Py_None) { _arg0 = NULL; }
6233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6235 return NULL;
6236 }
6237 }
6238{
6239 wxPy_BEGIN_ALLOW_THREADS;
6240 _result = new wxPoint (wxJoystick_GetPosition(_arg0));
6241
6242 wxPy_END_ALLOW_THREADS;
6243} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6244 _resultobj = Py_BuildValue("s",_ptemp);
6245 return _resultobj;
6246}
6247
6248#define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6249static PyObject *_wrap_wxJoystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6250 PyObject * _resultobj;
6251 int _result;
6252 wxJoystick * _arg0;
6253 PyObject * _argo0 = 0;
6254 char *_kwnames[] = { "self", NULL };
6255
6256 self = self;
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZPosition",_kwnames,&_argo0))
6258 return NULL;
6259 if (_argo0) {
6260 if (_argo0 == Py_None) { _arg0 = NULL; }
6261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6263 return NULL;
6264 }
6265 }
6266{
6267 wxPy_BEGIN_ALLOW_THREADS;
6268 _result = (int )wxJoystick_GetZPosition(_arg0);
6269
6270 wxPy_END_ALLOW_THREADS;
6271} _resultobj = Py_BuildValue("i",_result);
6272 return _resultobj;
6273}
6274
6275#define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6276static PyObject *_wrap_wxJoystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
6277 PyObject * _resultobj;
6278 int _result;
6279 wxJoystick * _arg0;
6280 PyObject * _argo0 = 0;
6281 char *_kwnames[] = { "self", NULL };
6282
6283 self = self;
6284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetButtonState",_kwnames,&_argo0))
6285 return NULL;
6286 if (_argo0) {
6287 if (_argo0 == Py_None) { _arg0 = NULL; }
6288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6290 return NULL;
6291 }
6292 }
6293{
6294 wxPy_BEGIN_ALLOW_THREADS;
6295 _result = (int )wxJoystick_GetButtonState(_arg0);
6296
6297 wxPy_END_ALLOW_THREADS;
6298} _resultobj = Py_BuildValue("i",_result);
6299 return _resultobj;
6300}
6301
6302#define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6303static PyObject *_wrap_wxJoystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject * _resultobj;
6305 int _result;
6306 wxJoystick * _arg0;
6307 PyObject * _argo0 = 0;
6308 char *_kwnames[] = { "self", NULL };
6309
6310 self = self;
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVPosition",_kwnames,&_argo0))
6312 return NULL;
6313 if (_argo0) {
6314 if (_argo0 == Py_None) { _arg0 = NULL; }
6315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6317 return NULL;
6318 }
6319 }
6320{
6321 wxPy_BEGIN_ALLOW_THREADS;
6322 _result = (int )wxJoystick_GetPOVPosition(_arg0);
6323
6324 wxPy_END_ALLOW_THREADS;
6325} _resultobj = Py_BuildValue("i",_result);
6326 return _resultobj;
6327}
6328
6329#define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6330static PyObject *_wrap_wxJoystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject * _resultobj;
6332 int _result;
6333 wxJoystick * _arg0;
6334 PyObject * _argo0 = 0;
6335 char *_kwnames[] = { "self", NULL };
6336
6337 self = self;
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVCTSPosition",_kwnames,&_argo0))
6339 return NULL;
6340 if (_argo0) {
6341 if (_argo0 == Py_None) { _arg0 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6344 return NULL;
6345 }
6346 }
6347{
6348 wxPy_BEGIN_ALLOW_THREADS;
6349 _result = (int )wxJoystick_GetPOVCTSPosition(_arg0);
6350
6351 wxPy_END_ALLOW_THREADS;
6352} _resultobj = Py_BuildValue("i",_result);
6353 return _resultobj;
6354}
6355
6356#define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6357static PyObject *_wrap_wxJoystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6358 PyObject * _resultobj;
6359 int _result;
6360 wxJoystick * _arg0;
6361 PyObject * _argo0 = 0;
6362 char *_kwnames[] = { "self", NULL };
6363
6364 self = self;
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderPosition",_kwnames,&_argo0))
6366 return NULL;
6367 if (_argo0) {
6368 if (_argo0 == Py_None) { _arg0 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6371 return NULL;
6372 }
6373 }
6374{
6375 wxPy_BEGIN_ALLOW_THREADS;
6376 _result = (int )wxJoystick_GetRudderPosition(_arg0);
6377
6378 wxPy_END_ALLOW_THREADS;
6379} _resultobj = Py_BuildValue("i",_result);
6380 return _resultobj;
6381}
6382
6383#define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6384static PyObject *_wrap_wxJoystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject * _resultobj;
6386 int _result;
6387 wxJoystick * _arg0;
6388 PyObject * _argo0 = 0;
6389 char *_kwnames[] = { "self", NULL };
6390
6391 self = self;
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUPosition",_kwnames,&_argo0))
6393 return NULL;
6394 if (_argo0) {
6395 if (_argo0 == Py_None) { _arg0 = NULL; }
6396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6398 return NULL;
6399 }
6400 }
6401{
6402 wxPy_BEGIN_ALLOW_THREADS;
6403 _result = (int )wxJoystick_GetUPosition(_arg0);
6404
6405 wxPy_END_ALLOW_THREADS;
6406} _resultobj = Py_BuildValue("i",_result);
6407 return _resultobj;
6408}
6409
6410#define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6411static PyObject *_wrap_wxJoystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6412 PyObject * _resultobj;
6413 int _result;
6414 wxJoystick * _arg0;
6415 PyObject * _argo0 = 0;
6416 char *_kwnames[] = { "self", NULL };
6417
6418 self = self;
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVPosition",_kwnames,&_argo0))
6420 return NULL;
6421 if (_argo0) {
6422 if (_argo0 == Py_None) { _arg0 = NULL; }
6423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6425 return NULL;
6426 }
6427 }
6428{
6429 wxPy_BEGIN_ALLOW_THREADS;
6430 _result = (int )wxJoystick_GetVPosition(_arg0);
6431
6432 wxPy_END_ALLOW_THREADS;
6433} _resultobj = Py_BuildValue("i",_result);
6434 return _resultobj;
6435}
6436
6437#define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6438static PyObject *_wrap_wxJoystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject * _resultobj;
6440 int _result;
6441 wxJoystick * _arg0;
6442 PyObject * _argo0 = 0;
6443 char *_kwnames[] = { "self", NULL };
6444
6445 self = self;
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMovementThreshold",_kwnames,&_argo0))
6447 return NULL;
6448 if (_argo0) {
6449 if (_argo0 == Py_None) { _arg0 = NULL; }
6450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6452 return NULL;
6453 }
6454 }
6455{
6456 wxPy_BEGIN_ALLOW_THREADS;
6457 _result = (int )wxJoystick_GetMovementThreshold(_arg0);
6458
6459 wxPy_END_ALLOW_THREADS;
6460} _resultobj = Py_BuildValue("i",_result);
6461 return _resultobj;
6462}
6463
6464#define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6465static PyObject *_wrap_wxJoystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject * _resultobj;
6467 wxJoystick * _arg0;
6468 int _arg1;
6469 PyObject * _argo0 = 0;
6470 char *_kwnames[] = { "self","threshold", NULL };
6471
6472 self = self;
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystick_SetMovementThreshold",_kwnames,&_argo0,&_arg1))
6474 return NULL;
6475 if (_argo0) {
6476 if (_argo0 == Py_None) { _arg0 = NULL; }
6477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6479 return NULL;
6480 }
6481 }
6482{
6483 wxPy_BEGIN_ALLOW_THREADS;
6484 wxJoystick_SetMovementThreshold(_arg0,_arg1);
6485
6486 wxPy_END_ALLOW_THREADS;
6487} Py_INCREF(Py_None);
6488 _resultobj = Py_None;
6489 return _resultobj;
6490}
6491
6492#define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6493static PyObject *_wrap_wxJoystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject * _resultobj;
6495 bool _result;
6496 wxJoystick * _arg0;
6497 PyObject * _argo0 = 0;
6498 char *_kwnames[] = { "self", NULL };
6499
6500 self = self;
6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_IsOk",_kwnames,&_argo0))
6502 return NULL;
6503 if (_argo0) {
6504 if (_argo0 == Py_None) { _arg0 = NULL; }
6505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6507 return NULL;
6508 }
6509 }
6510{
6511 wxPy_BEGIN_ALLOW_THREADS;
6512 _result = (bool )wxJoystick_IsOk(_arg0);
6513
6514 wxPy_END_ALLOW_THREADS;
6515} _resultobj = Py_BuildValue("i",_result);
6516 return _resultobj;
6517}
6518
6519#define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6520static PyObject *_wrap_wxJoystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject * _resultobj;
6522 int _result;
6523 wxJoystick * _arg0;
6524 PyObject * _argo0 = 0;
6525 char *_kwnames[] = { "self", NULL };
6526
6527 self = self;
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberJoysticks",_kwnames,&_argo0))
6529 return NULL;
6530 if (_argo0) {
6531 if (_argo0 == Py_None) { _arg0 = NULL; }
6532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6534 return NULL;
6535 }
6536 }
6537{
6538 wxPy_BEGIN_ALLOW_THREADS;
6539 _result = (int )wxJoystick_GetNumberJoysticks(_arg0);
6540
6541 wxPy_END_ALLOW_THREADS;
6542} _resultobj = Py_BuildValue("i",_result);
6543 return _resultobj;
6544}
6545
6546#define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6547static PyObject *_wrap_wxJoystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
6548 PyObject * _resultobj;
6549 int _result;
6550 wxJoystick * _arg0;
6551 PyObject * _argo0 = 0;
6552 char *_kwnames[] = { "self", NULL };
6553
6554 self = self;
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetManufacturerId",_kwnames,&_argo0))
6556 return NULL;
6557 if (_argo0) {
6558 if (_argo0 == Py_None) { _arg0 = NULL; }
6559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6561 return NULL;
6562 }
6563 }
6564{
6565 wxPy_BEGIN_ALLOW_THREADS;
6566 _result = (int )wxJoystick_GetManufacturerId(_arg0);
6567
6568 wxPy_END_ALLOW_THREADS;
6569} _resultobj = Py_BuildValue("i",_result);
6570 return _resultobj;
6571}
6572
6573#define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6574static PyObject *_wrap_wxJoystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject * _resultobj;
6576 int _result;
6577 wxJoystick * _arg0;
6578 PyObject * _argo0 = 0;
6579 char *_kwnames[] = { "self", NULL };
6580
6581 self = self;
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductId",_kwnames,&_argo0))
6583 return NULL;
6584 if (_argo0) {
6585 if (_argo0 == Py_None) { _arg0 = NULL; }
6586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6588 return NULL;
6589 }
6590 }
6591{
6592 wxPy_BEGIN_ALLOW_THREADS;
6593 _result = (int )wxJoystick_GetProductId(_arg0);
6594
6595 wxPy_END_ALLOW_THREADS;
6596} _resultobj = Py_BuildValue("i",_result);
6597 return _resultobj;
6598}
6599
6600#define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6601static PyObject *_wrap_wxJoystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
6602 PyObject * _resultobj;
6603 wxString * _result;
6604 wxJoystick * _arg0;
6605 PyObject * _argo0 = 0;
6606 char *_kwnames[] = { "self", NULL };
6607
6608 self = self;
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductName",_kwnames,&_argo0))
6610 return NULL;
6611 if (_argo0) {
6612 if (_argo0 == Py_None) { _arg0 = NULL; }
6613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6615 return NULL;
6616 }
6617 }
6618{
6619 wxPy_BEGIN_ALLOW_THREADS;
6620 _result = new wxString (wxJoystick_GetProductName(_arg0));
6621
6622 wxPy_END_ALLOW_THREADS;
6623}{
6624 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6625}
6626{
6627 delete _result;
6628}
6629 return _resultobj;
6630}
6631
6632#define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6633static PyObject *_wrap_wxJoystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6634 PyObject * _resultobj;
6635 int _result;
6636 wxJoystick * _arg0;
6637 PyObject * _argo0 = 0;
6638 char *_kwnames[] = { "self", NULL };
6639
6640 self = self;
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMin",_kwnames,&_argo0))
6642 return NULL;
6643 if (_argo0) {
6644 if (_argo0 == Py_None) { _arg0 = NULL; }
6645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6647 return NULL;
6648 }
6649 }
6650{
6651 wxPy_BEGIN_ALLOW_THREADS;
6652 _result = (int )wxJoystick_GetXMin(_arg0);
6653
6654 wxPy_END_ALLOW_THREADS;
6655} _resultobj = Py_BuildValue("i",_result);
6656 return _resultobj;
6657}
6658
6659#define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6660static PyObject *_wrap_wxJoystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6661 PyObject * _resultobj;
6662 int _result;
6663 wxJoystick * _arg0;
6664 PyObject * _argo0 = 0;
6665 char *_kwnames[] = { "self", NULL };
6666
6667 self = self;
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMin",_kwnames,&_argo0))
6669 return NULL;
6670 if (_argo0) {
6671 if (_argo0 == Py_None) { _arg0 = NULL; }
6672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6674 return NULL;
6675 }
6676 }
6677{
6678 wxPy_BEGIN_ALLOW_THREADS;
6679 _result = (int )wxJoystick_GetYMin(_arg0);
6680
6681 wxPy_END_ALLOW_THREADS;
6682} _resultobj = Py_BuildValue("i",_result);
6683 return _resultobj;
6684}
6685
6686#define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6687static PyObject *_wrap_wxJoystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject * _resultobj;
6689 int _result;
6690 wxJoystick * _arg0;
6691 PyObject * _argo0 = 0;
6692 char *_kwnames[] = { "self", NULL };
6693
6694 self = self;
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMin",_kwnames,&_argo0))
6696 return NULL;
6697 if (_argo0) {
6698 if (_argo0 == Py_None) { _arg0 = NULL; }
6699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6701 return NULL;
6702 }
6703 }
6704{
6705 wxPy_BEGIN_ALLOW_THREADS;
6706 _result = (int )wxJoystick_GetZMin(_arg0);
6707
6708 wxPy_END_ALLOW_THREADS;
6709} _resultobj = Py_BuildValue("i",_result);
6710 return _resultobj;
6711}
6712
6713#define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6714static PyObject *_wrap_wxJoystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject * _resultobj;
6716 int _result;
6717 wxJoystick * _arg0;
6718 PyObject * _argo0 = 0;
6719 char *_kwnames[] = { "self", NULL };
6720
6721 self = self;
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMax",_kwnames,&_argo0))
6723 return NULL;
6724 if (_argo0) {
6725 if (_argo0 == Py_None) { _arg0 = NULL; }
6726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6728 return NULL;
6729 }
6730 }
6731{
6732 wxPy_BEGIN_ALLOW_THREADS;
6733 _result = (int )wxJoystick_GetXMax(_arg0);
6734
6735 wxPy_END_ALLOW_THREADS;
6736} _resultobj = Py_BuildValue("i",_result);
6737 return _resultobj;
6738}
6739
6740#define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6741static PyObject *_wrap_wxJoystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject * _resultobj;
6743 int _result;
6744 wxJoystick * _arg0;
6745 PyObject * _argo0 = 0;
6746 char *_kwnames[] = { "self", NULL };
6747
6748 self = self;
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMax",_kwnames,&_argo0))
6750 return NULL;
6751 if (_argo0) {
6752 if (_argo0 == Py_None) { _arg0 = NULL; }
6753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6755 return NULL;
6756 }
6757 }
6758{
6759 wxPy_BEGIN_ALLOW_THREADS;
6760 _result = (int )wxJoystick_GetYMax(_arg0);
6761
6762 wxPy_END_ALLOW_THREADS;
6763} _resultobj = Py_BuildValue("i",_result);
6764 return _resultobj;
6765}
6766
6767#define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6768static PyObject *_wrap_wxJoystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject * _resultobj;
6770 int _result;
6771 wxJoystick * _arg0;
6772 PyObject * _argo0 = 0;
6773 char *_kwnames[] = { "self", NULL };
6774
6775 self = self;
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMax",_kwnames,&_argo0))
6777 return NULL;
6778 if (_argo0) {
6779 if (_argo0 == Py_None) { _arg0 = NULL; }
6780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6782 return NULL;
6783 }
6784 }
6785{
6786 wxPy_BEGIN_ALLOW_THREADS;
6787 _result = (int )wxJoystick_GetZMax(_arg0);
6788
6789 wxPy_END_ALLOW_THREADS;
6790} _resultobj = Py_BuildValue("i",_result);
6791 return _resultobj;
6792}
6793
6794#define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6795static PyObject *_wrap_wxJoystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
6796 PyObject * _resultobj;
6797 int _result;
6798 wxJoystick * _arg0;
6799 PyObject * _argo0 = 0;
6800 char *_kwnames[] = { "self", NULL };
6801
6802 self = self;
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberButtons",_kwnames,&_argo0))
6804 return NULL;
6805 if (_argo0) {
6806 if (_argo0 == Py_None) { _arg0 = NULL; }
6807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6809 return NULL;
6810 }
6811 }
6812{
6813 wxPy_BEGIN_ALLOW_THREADS;
6814 _result = (int )wxJoystick_GetNumberButtons(_arg0);
6815
6816 wxPy_END_ALLOW_THREADS;
6817} _resultobj = Py_BuildValue("i",_result);
6818 return _resultobj;
6819}
6820
6821#define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6822static PyObject *_wrap_wxJoystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject * _resultobj;
6824 int _result;
6825 wxJoystick * _arg0;
6826 PyObject * _argo0 = 0;
6827 char *_kwnames[] = { "self", NULL };
6828
6829 self = self;
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberAxes",_kwnames,&_argo0))
6831 return NULL;
6832 if (_argo0) {
6833 if (_argo0 == Py_None) { _arg0 = NULL; }
6834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6836 return NULL;
6837 }
6838 }
6839{
6840 wxPy_BEGIN_ALLOW_THREADS;
6841 _result = (int )wxJoystick_GetNumberAxes(_arg0);
6842
6843 wxPy_END_ALLOW_THREADS;
6844} _resultobj = Py_BuildValue("i",_result);
6845 return _resultobj;
6846}
6847
6848#define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6849static PyObject *_wrap_wxJoystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
6850 PyObject * _resultobj;
6851 int _result;
6852 wxJoystick * _arg0;
6853 PyObject * _argo0 = 0;
6854 char *_kwnames[] = { "self", NULL };
6855
6856 self = self;
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxButtons",_kwnames,&_argo0))
6858 return NULL;
6859 if (_argo0) {
6860 if (_argo0 == Py_None) { _arg0 = NULL; }
6861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6863 return NULL;
6864 }
6865 }
6866{
6867 wxPy_BEGIN_ALLOW_THREADS;
6868 _result = (int )wxJoystick_GetMaxButtons(_arg0);
6869
6870 wxPy_END_ALLOW_THREADS;
6871} _resultobj = Py_BuildValue("i",_result);
6872 return _resultobj;
6873}
6874
6875#define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6876static PyObject *_wrap_wxJoystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
6877 PyObject * _resultobj;
6878 int _result;
6879 wxJoystick * _arg0;
6880 PyObject * _argo0 = 0;
6881 char *_kwnames[] = { "self", NULL };
6882
6883 self = self;
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxAxes",_kwnames,&_argo0))
6885 return NULL;
6886 if (_argo0) {
6887 if (_argo0 == Py_None) { _arg0 = NULL; }
6888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6890 return NULL;
6891 }
6892 }
6893{
6894 wxPy_BEGIN_ALLOW_THREADS;
6895 _result = (int )wxJoystick_GetMaxAxes(_arg0);
6896
6897 wxPy_END_ALLOW_THREADS;
6898} _resultobj = Py_BuildValue("i",_result);
6899 return _resultobj;
6900}
6901
6902#define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6903static PyObject *_wrap_wxJoystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject * _resultobj;
6905 int _result;
6906 wxJoystick * _arg0;
6907 PyObject * _argo0 = 0;
6908 char *_kwnames[] = { "self", NULL };
6909
6910 self = self;
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMin",_kwnames,&_argo0))
6912 return NULL;
6913 if (_argo0) {
6914 if (_argo0 == Py_None) { _arg0 = NULL; }
6915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6917 return NULL;
6918 }
6919 }
6920{
6921 wxPy_BEGIN_ALLOW_THREADS;
6922 _result = (int )wxJoystick_GetPollingMin(_arg0);
6923
6924 wxPy_END_ALLOW_THREADS;
6925} _resultobj = Py_BuildValue("i",_result);
6926 return _resultobj;
6927}
6928
6929#define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6930static PyObject *_wrap_wxJoystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6931 PyObject * _resultobj;
6932 int _result;
6933 wxJoystick * _arg0;
6934 PyObject * _argo0 = 0;
6935 char *_kwnames[] = { "self", NULL };
6936
6937 self = self;
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMax",_kwnames,&_argo0))
6939 return NULL;
6940 if (_argo0) {
6941 if (_argo0 == Py_None) { _arg0 = NULL; }
6942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6944 return NULL;
6945 }
6946 }
6947{
6948 wxPy_BEGIN_ALLOW_THREADS;
6949 _result = (int )wxJoystick_GetPollingMax(_arg0);
6950
6951 wxPy_END_ALLOW_THREADS;
6952} _resultobj = Py_BuildValue("i",_result);
6953 return _resultobj;
6954}
6955
6956#define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6957static PyObject *_wrap_wxJoystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject * _resultobj;
6959 int _result;
6960 wxJoystick * _arg0;
6961 PyObject * _argo0 = 0;
6962 char *_kwnames[] = { "self", NULL };
6963
6964 self = self;
6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMin",_kwnames,&_argo0))
6966 return NULL;
6967 if (_argo0) {
6968 if (_argo0 == Py_None) { _arg0 = NULL; }
6969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6971 return NULL;
6972 }
6973 }
6974{
6975 wxPy_BEGIN_ALLOW_THREADS;
6976 _result = (int )wxJoystick_GetRudderMin(_arg0);
6977
6978 wxPy_END_ALLOW_THREADS;
6979} _resultobj = Py_BuildValue("i",_result);
6980 return _resultobj;
6981}
6982
6983#define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6984static PyObject *_wrap_wxJoystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject * _resultobj;
6986 int _result;
6987 wxJoystick * _arg0;
6988 PyObject * _argo0 = 0;
6989 char *_kwnames[] = { "self", NULL };
6990
6991 self = self;
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMax",_kwnames,&_argo0))
6993 return NULL;
6994 if (_argo0) {
6995 if (_argo0 == Py_None) { _arg0 = NULL; }
6996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6998 return NULL;
6999 }
7000 }
7001{
7002 wxPy_BEGIN_ALLOW_THREADS;
7003 _result = (int )wxJoystick_GetRudderMax(_arg0);
7004
7005 wxPy_END_ALLOW_THREADS;
7006} _resultobj = Py_BuildValue("i",_result);
7007 return _resultobj;
7008}
7009
7010#define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7011static PyObject *_wrap_wxJoystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7012 PyObject * _resultobj;
7013 int _result;
7014 wxJoystick * _arg0;
7015 PyObject * _argo0 = 0;
7016 char *_kwnames[] = { "self", NULL };
7017
7018 self = self;
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMin",_kwnames,&_argo0))
7020 return NULL;
7021 if (_argo0) {
7022 if (_argo0 == Py_None) { _arg0 = NULL; }
7023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7025 return NULL;
7026 }
7027 }
7028{
7029 wxPy_BEGIN_ALLOW_THREADS;
7030 _result = (int )wxJoystick_GetUMin(_arg0);
7031
7032 wxPy_END_ALLOW_THREADS;
7033} _resultobj = Py_BuildValue("i",_result);
7034 return _resultobj;
7035}
7036
7037#define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7038static PyObject *_wrap_wxJoystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7039 PyObject * _resultobj;
7040 int _result;
7041 wxJoystick * _arg0;
7042 PyObject * _argo0 = 0;
7043 char *_kwnames[] = { "self", NULL };
7044
7045 self = self;
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMax",_kwnames,&_argo0))
7047 return NULL;
7048 if (_argo0) {
7049 if (_argo0 == Py_None) { _arg0 = NULL; }
7050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7052 return NULL;
7053 }
7054 }
7055{
7056 wxPy_BEGIN_ALLOW_THREADS;
7057 _result = (int )wxJoystick_GetUMax(_arg0);
7058
7059 wxPy_END_ALLOW_THREADS;
7060} _resultobj = Py_BuildValue("i",_result);
7061 return _resultobj;
7062}
7063
7064#define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7065static PyObject *_wrap_wxJoystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject * _resultobj;
7067 int _result;
7068 wxJoystick * _arg0;
7069 PyObject * _argo0 = 0;
7070 char *_kwnames[] = { "self", NULL };
7071
7072 self = self;
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMin",_kwnames,&_argo0))
7074 return NULL;
7075 if (_argo0) {
7076 if (_argo0 == Py_None) { _arg0 = NULL; }
7077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7079 return NULL;
7080 }
7081 }
7082{
7083 wxPy_BEGIN_ALLOW_THREADS;
7084 _result = (int )wxJoystick_GetVMin(_arg0);
7085
7086 wxPy_END_ALLOW_THREADS;
7087} _resultobj = Py_BuildValue("i",_result);
7088 return _resultobj;
7089}
7090
7091#define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7092static PyObject *_wrap_wxJoystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject * _resultobj;
7094 int _result;
7095 wxJoystick * _arg0;
7096 PyObject * _argo0 = 0;
7097 char *_kwnames[] = { "self", NULL };
7098
7099 self = self;
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMax",_kwnames,&_argo0))
7101 return NULL;
7102 if (_argo0) {
7103 if (_argo0 == Py_None) { _arg0 = NULL; }
7104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7106 return NULL;
7107 }
7108 }
7109{
7110 wxPy_BEGIN_ALLOW_THREADS;
7111 _result = (int )wxJoystick_GetVMax(_arg0);
7112
7113 wxPy_END_ALLOW_THREADS;
7114} _resultobj = Py_BuildValue("i",_result);
7115 return _resultobj;
7116}
7117
7118#define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7119static PyObject *_wrap_wxJoystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject * _resultobj;
7121 bool _result;
7122 wxJoystick * _arg0;
7123 PyObject * _argo0 = 0;
7124 char *_kwnames[] = { "self", NULL };
7125
7126 self = self;
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasRudder",_kwnames,&_argo0))
7128 return NULL;
7129 if (_argo0) {
7130 if (_argo0 == Py_None) { _arg0 = NULL; }
7131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7133 return NULL;
7134 }
7135 }
7136{
7137 wxPy_BEGIN_ALLOW_THREADS;
7138 _result = (bool )wxJoystick_HasRudder(_arg0);
7139
7140 wxPy_END_ALLOW_THREADS;
7141} _resultobj = Py_BuildValue("i",_result);
7142 return _resultobj;
7143}
7144
7145#define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7146static PyObject *_wrap_wxJoystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
7147 PyObject * _resultobj;
7148 bool _result;
7149 wxJoystick * _arg0;
7150 PyObject * _argo0 = 0;
7151 char *_kwnames[] = { "self", NULL };
7152
7153 self = self;
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasZ",_kwnames,&_argo0))
7155 return NULL;
7156 if (_argo0) {
7157 if (_argo0 == Py_None) { _arg0 = NULL; }
7158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7160 return NULL;
7161 }
7162 }
7163{
7164 wxPy_BEGIN_ALLOW_THREADS;
7165 _result = (bool )wxJoystick_HasZ(_arg0);
7166
7167 wxPy_END_ALLOW_THREADS;
7168} _resultobj = Py_BuildValue("i",_result);
7169 return _resultobj;
7170}
7171
7172#define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7173static PyObject *_wrap_wxJoystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject * _resultobj;
7175 bool _result;
7176 wxJoystick * _arg0;
7177 PyObject * _argo0 = 0;
7178 char *_kwnames[] = { "self", NULL };
7179
7180 self = self;
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasU",_kwnames,&_argo0))
7182 return NULL;
7183 if (_argo0) {
7184 if (_argo0 == Py_None) { _arg0 = NULL; }
7185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7187 return NULL;
7188 }
7189 }
7190{
7191 wxPy_BEGIN_ALLOW_THREADS;
7192 _result = (bool )wxJoystick_HasU(_arg0);
7193
7194 wxPy_END_ALLOW_THREADS;
7195} _resultobj = Py_BuildValue("i",_result);
7196 return _resultobj;
7197}
7198
7199#define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7200static PyObject *_wrap_wxJoystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
7201 PyObject * _resultobj;
7202 bool _result;
7203 wxJoystick * _arg0;
7204 PyObject * _argo0 = 0;
7205 char *_kwnames[] = { "self", NULL };
7206
7207 self = self;
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasV",_kwnames,&_argo0))
7209 return NULL;
7210 if (_argo0) {
7211 if (_argo0 == Py_None) { _arg0 = NULL; }
7212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7214 return NULL;
7215 }
7216 }
7217{
7218 wxPy_BEGIN_ALLOW_THREADS;
7219 _result = (bool )wxJoystick_HasV(_arg0);
7220
7221 wxPy_END_ALLOW_THREADS;
7222} _resultobj = Py_BuildValue("i",_result);
7223 return _resultobj;
7224}
7225
7226#define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7227static PyObject *_wrap_wxJoystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
7228 PyObject * _resultobj;
7229 bool _result;
7230 wxJoystick * _arg0;
7231 PyObject * _argo0 = 0;
7232 char *_kwnames[] = { "self", NULL };
7233
7234 self = self;
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV",_kwnames,&_argo0))
7236 return NULL;
7237 if (_argo0) {
7238 if (_argo0 == Py_None) { _arg0 = NULL; }
7239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7241 return NULL;
7242 }
7243 }
7244{
7245 wxPy_BEGIN_ALLOW_THREADS;
7246 _result = (bool )wxJoystick_HasPOV(_arg0);
7247
7248 wxPy_END_ALLOW_THREADS;
7249} _resultobj = Py_BuildValue("i",_result);
7250 return _resultobj;
7251}
7252
7253#define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7254static PyObject *_wrap_wxJoystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject * _resultobj;
7256 bool _result;
7257 wxJoystick * _arg0;
7258 PyObject * _argo0 = 0;
7259 char *_kwnames[] = { "self", NULL };
7260
7261 self = self;
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV4Dir",_kwnames,&_argo0))
7263 return NULL;
7264 if (_argo0) {
7265 if (_argo0 == Py_None) { _arg0 = NULL; }
7266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7268 return NULL;
7269 }
7270 }
7271{
7272 wxPy_BEGIN_ALLOW_THREADS;
7273 _result = (bool )wxJoystick_HasPOV4Dir(_arg0);
7274
7275 wxPy_END_ALLOW_THREADS;
7276} _resultobj = Py_BuildValue("i",_result);
7277 return _resultobj;
7278}
7279
7280#define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7281static PyObject *_wrap_wxJoystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject * _resultobj;
7283 bool _result;
7284 wxJoystick * _arg0;
7285 PyObject * _argo0 = 0;
7286 char *_kwnames[] = { "self", NULL };
7287
7288 self = self;
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOVCTS",_kwnames,&_argo0))
7290 return NULL;
7291 if (_argo0) {
7292 if (_argo0 == Py_None) { _arg0 = NULL; }
7293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7295 return NULL;
7296 }
7297 }
7298{
7299 wxPy_BEGIN_ALLOW_THREADS;
7300 _result = (bool )wxJoystick_HasPOVCTS(_arg0);
7301
7302 wxPy_END_ALLOW_THREADS;
7303} _resultobj = Py_BuildValue("i",_result);
7304 return _resultobj;
7305}
7306
7307#define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7308static PyObject *_wrap_wxJoystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7309 PyObject * _resultobj;
7310 bool _result;
7311 wxJoystick * _arg0;
7312 wxWindow * _arg1;
7313 int _arg2 = (int ) 0;
7314 PyObject * _argo0 = 0;
7315 PyObject * _argo1 = 0;
7316 char *_kwnames[] = { "self","win","pollingFreq", NULL };
7317
7318 self = self;
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxJoystick_SetCapture",_kwnames,&_argo0,&_argo1,&_arg2))
7320 return NULL;
7321 if (_argo0) {
7322 if (_argo0 == Py_None) { _arg0 = NULL; }
7323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7325 return NULL;
7326 }
7327 }
7328 if (_argo1) {
7329 if (_argo1 == Py_None) { _arg1 = NULL; }
7330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7332 return NULL;
7333 }
7334 }
7335{
7336 wxPy_BEGIN_ALLOW_THREADS;
7337 _result = (bool )wxJoystick_SetCapture(_arg0,_arg1,_arg2);
7338
7339 wxPy_END_ALLOW_THREADS;
7340} _resultobj = Py_BuildValue("i",_result);
7341 return _resultobj;
7342}
7343
7344#define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7345static PyObject *_wrap_wxJoystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject * _resultobj;
7347 bool _result;
7348 wxJoystick * _arg0;
7349 PyObject * _argo0 = 0;
7350 char *_kwnames[] = { "self", NULL };
7351
7352 self = self;
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_ReleaseCapture",_kwnames,&_argo0))
7354 return NULL;
7355 if (_argo0) {
7356 if (_argo0 == Py_None) { _arg0 = NULL; }
7357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7359 return NULL;
7360 }
7361 }
7362{
7363 wxPy_BEGIN_ALLOW_THREADS;
7364 _result = (bool )wxJoystick_ReleaseCapture(_arg0);
7365
7366 wxPy_END_ALLOW_THREADS;
7367} _resultobj = Py_BuildValue("i",_result);
7368 return _resultobj;
7369}
7370
7371static void *SwigwxWaveTowxObject(void *ptr) {
7372 wxWave *src;
7373 wxObject *dest;
7374 src = (wxWave *) ptr;
7375 dest = (wxObject *) src;
7376 return (void *) dest;
7377}
7378
7379#define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7380static PyObject *_wrap_new_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7381 PyObject * _resultobj;
7382 wxWave * _result;
7383 wxString * _arg0;
7384 bool _arg1 = (bool ) FALSE;
7385 PyObject * _obj0 = 0;
7386 int tempbool1 = (int) FALSE;
7387 char *_kwnames[] = { "fileName","isResource", NULL };
7388 char _ptemp[128];
7389
7390 self = self;
7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxWave",_kwnames,&_obj0,&tempbool1))
7392 return NULL;
7393{
7394#if PYTHON_API_VERSION >= 1009
7395 char* tmpPtr; int tmpSize;
7396 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7397 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7398 return NULL;
7399 }
7400 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
7401 return NULL;
7402 _arg0 = new wxString(tmpPtr, tmpSize);
7403#else
7404 if (!PyString_Check(_obj0)) {
7405 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7406 return NULL;
7407 }
7408 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
7409#endif
7410}
7411 _arg1 = (bool ) tempbool1;
7412{
7413 wxPy_BEGIN_ALLOW_THREADS;
7414 _result = (wxWave *)new_wxWave(*_arg0,_arg1);
7415
7416 wxPy_END_ALLOW_THREADS;
7417} if (_result) {
7418 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
7419 _resultobj = Py_BuildValue("s",_ptemp);
7420 } else {
7421 Py_INCREF(Py_None);
7422 _resultobj = Py_None;
7423 }
7424{
7425 if (_obj0)
7426 delete _arg0;
7427}
7428 return _resultobj;
7429}
7430
7431#define delete_wxWave(_swigobj) (delete _swigobj)
7432static PyObject *_wrap_delete_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7433 PyObject * _resultobj;
7434 wxWave * _arg0;
7435 PyObject * _argo0 = 0;
7436 char *_kwnames[] = { "self", NULL };
7437
7438 self = self;
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWave",_kwnames,&_argo0))
7440 return NULL;
7441 if (_argo0) {
7442 if (_argo0 == Py_None) { _arg0 = NULL; }
7443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7445 return NULL;
7446 }
7447 }
7448{
7449 wxPy_BEGIN_ALLOW_THREADS;
7450 delete_wxWave(_arg0);
7451
7452 wxPy_END_ALLOW_THREADS;
7453} Py_INCREF(Py_None);
7454 _resultobj = Py_None;
7455 return _resultobj;
7456}
7457
7458#define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7459static PyObject *_wrap_wxWave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
7460 PyObject * _resultobj;
7461 bool _result;
7462 wxWave * _arg0;
7463 PyObject * _argo0 = 0;
7464 char *_kwnames[] = { "self", NULL };
7465
7466 self = self;
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWave_IsOk",_kwnames,&_argo0))
7468 return NULL;
7469 if (_argo0) {
7470 if (_argo0 == Py_None) { _arg0 = NULL; }
7471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7473 return NULL;
7474 }
7475 }
7476{
7477 wxPy_BEGIN_ALLOW_THREADS;
7478 _result = (bool )wxWave_IsOk(_arg0);
7479
7480 wxPy_END_ALLOW_THREADS;
7481} _resultobj = Py_BuildValue("i",_result);
7482 return _resultobj;
7483}
7484
7485#define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7486static PyObject *_wrap_wxWave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject * _resultobj;
7488 bool _result;
7489 wxWave * _arg0;
7490 bool _arg1 = (bool ) TRUE;
7491 bool _arg2 = (bool ) FALSE;
7492 PyObject * _argo0 = 0;
7493 int tempbool1 = (int) TRUE;
7494 int tempbool2 = (int) FALSE;
7495 char *_kwnames[] = { "self","async","looped", NULL };
7496
7497 self = self;
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxWave_Play",_kwnames,&_argo0,&tempbool1,&tempbool2))
7499 return NULL;
7500 if (_argo0) {
7501 if (_argo0 == Py_None) { _arg0 = NULL; }
7502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7504 return NULL;
7505 }
7506 }
7507 _arg1 = (bool ) tempbool1;
7508 _arg2 = (bool ) tempbool2;
7509{
7510 wxPy_BEGIN_ALLOW_THREADS;
7511 _result = (bool )wxWave_Play(_arg0,_arg1,_arg2);
7512
7513 wxPy_END_ALLOW_THREADS;
7514} _resultobj = Py_BuildValue("i",_result);
7515 return _resultobj;
7516}
7517
5c0282d5
RD
7518#define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7519static PyObject *_wrap_new_wxFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject * _resultobj;
7521 wxFileTypeInfo * _result;
7522 char * _arg0;
7523 char * _arg1;
7524 char * _arg2;
7525 char * _arg3;
7526 char *_kwnames[] = { "mimeType","openCmd","printCmd","desc", NULL };
7527 char _ptemp[128];
7528
7529 self = self;
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ssss:new_wxFileTypeInfo",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
7531 return NULL;
7532{
7533 wxPy_BEGIN_ALLOW_THREADS;
7534 _result = (wxFileTypeInfo *)new_wxFileTypeInfo(_arg0,_arg1,_arg2,_arg3);
7535
7536 wxPy_END_ALLOW_THREADS;
7537} if (_result) {
7538 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7539 _resultobj = Py_BuildValue("s",_ptemp);
7540 } else {
7541 Py_INCREF(Py_None);
7542 _resultobj = Py_None;
7543 }
7544 return _resultobj;
7545}
7546
7547#define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7548static PyObject *_wrap_new_wxFileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
7549 PyObject * _resultobj;
7550 wxFileTypeInfo * _result;
7551 wxArrayString * _arg0;
7552 PyObject * _obj0 = 0;
7553 char *_kwnames[] = { "sArray", NULL };
7554 char _ptemp[128];
7555
7556 self = self;
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileTypeInfoSequence",_kwnames,&_obj0))
7558 return NULL;
7559{
7560 if (! PySequence_Check(_obj0)) {
7561 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7562 return NULL;
7563 }
7564 _arg0 = new wxArrayString;
7565 int i, len=PySequence_Length(_obj0);
7566 for (i=0; i<len; i++) {
7567 PyObject* item = PySequence_GetItem(_obj0, i);
7568 PyObject* str = PyObject_Str(item);
7569 _arg0->Add(PyString_AsString(item));
7570 Py_DECREF(item);
7571 Py_DECREF(str);
7572 }
7573}
7574{
7575 wxPy_BEGIN_ALLOW_THREADS;
7576 _result = (wxFileTypeInfo *)new_wxFileTypeInfoSequence(*_arg0);
7577
7578 wxPy_END_ALLOW_THREADS;
7579} if (_result) {
7580 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7581 _resultobj = Py_BuildValue("s",_ptemp);
7582 } else {
7583 Py_INCREF(Py_None);
7584 _resultobj = Py_None;
7585 }
7586{
7587 if (_obj0)
7588 delete _arg0;
7589}
7590 return _resultobj;
7591}
7592
7593#define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7594static PyObject *_wrap_new_wxNullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject * _resultobj;
7596 wxFileTypeInfo * _result;
7597 char *_kwnames[] = { NULL };
7598 char _ptemp[128];
7599
7600 self = self;
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNullFileTypeInfo",_kwnames))
7602 return NULL;
7603{
7604 wxPy_BEGIN_ALLOW_THREADS;
7605 _result = (wxFileTypeInfo *)new_wxNullFileTypeInfo();
7606
7607 wxPy_END_ALLOW_THREADS;
7608} if (_result) {
7609 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7610 _resultobj = Py_BuildValue("s",_ptemp);
7611 } else {
7612 Py_INCREF(Py_None);
7613 _resultobj = Py_None;
7614 }
7615 return _resultobj;
7616}
7617
7618#define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7619static PyObject *_wrap_wxFileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject * _resultobj;
7621 bool _result;
7622 wxFileTypeInfo * _arg0;
7623 PyObject * _argo0 = 0;
7624 char *_kwnames[] = { "self", NULL };
7625
7626 self = self;
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_IsValid",_kwnames,&_argo0))
7628 return NULL;
7629 if (_argo0) {
7630 if (_argo0 == Py_None) { _arg0 = NULL; }
7631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7633 return NULL;
7634 }
7635 }
7636{
7637 wxPy_BEGIN_ALLOW_THREADS;
7638 _result = (bool )wxFileTypeInfo_IsValid(_arg0);
7639
7640 wxPy_END_ALLOW_THREADS;
7641} _resultobj = Py_BuildValue("i",_result);
7642 return _resultobj;
7643}
7644
7645#define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7646static PyObject *_wrap_wxFileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject * _resultobj;
7648 wxFileTypeInfo * _arg0;
7649 wxString * _arg1;
7650 int _arg2 = (int ) 0;
7651 PyObject * _argo0 = 0;
7652 PyObject * _obj1 = 0;
7653 char *_kwnames[] = { "self","iconFile","iconIndex", NULL };
7654
7655 self = self;
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFileTypeInfo_SetIcon",_kwnames,&_argo0,&_obj1,&_arg2))
7657 return NULL;
7658 if (_argo0) {
7659 if (_argo0 == Py_None) { _arg0 = NULL; }
7660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7662 return NULL;
7663 }
7664 }
7665{
7666#if PYTHON_API_VERSION >= 1009
7667 char* tmpPtr; int tmpSize;
7668 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7669 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7670 return NULL;
7671 }
7672 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7673 return NULL;
7674 _arg1 = new wxString(tmpPtr, tmpSize);
7675#else
7676 if (!PyString_Check(_obj1)) {
7677 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7678 return NULL;
7679 }
7680 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7681#endif
7682}
7683{
7684 wxPy_BEGIN_ALLOW_THREADS;
7685 wxFileTypeInfo_SetIcon(_arg0,*_arg1,_arg2);
7686
7687 wxPy_END_ALLOW_THREADS;
7688} Py_INCREF(Py_None);
7689 _resultobj = Py_None;
7690{
7691 if (_obj1)
7692 delete _arg1;
7693}
7694 return _resultobj;
7695}
7696
7697#define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7698static PyObject *_wrap_wxFileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
7699 PyObject * _resultobj;
7700 wxFileTypeInfo * _arg0;
7701 wxString * _arg1;
7702 PyObject * _argo0 = 0;
7703 PyObject * _obj1 = 0;
7704 char *_kwnames[] = { "self","shortDesc", NULL };
7705
7706 self = self;
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileTypeInfo_SetShortDesc",_kwnames,&_argo0,&_obj1))
7708 return NULL;
7709 if (_argo0) {
7710 if (_argo0 == Py_None) { _arg0 = NULL; }
7711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7713 return NULL;
7714 }
7715 }
7716{
7717#if PYTHON_API_VERSION >= 1009
7718 char* tmpPtr; int tmpSize;
7719 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7720 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7721 return NULL;
7722 }
7723 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7724 return NULL;
7725 _arg1 = new wxString(tmpPtr, tmpSize);
7726#else
7727 if (!PyString_Check(_obj1)) {
7728 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7729 return NULL;
7730 }
7731 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7732#endif
7733}
7734{
7735 wxPy_BEGIN_ALLOW_THREADS;
7736 wxFileTypeInfo_SetShortDesc(_arg0,*_arg1);
7737
7738 wxPy_END_ALLOW_THREADS;
7739} Py_INCREF(Py_None);
7740 _resultobj = Py_None;
7741{
7742 if (_obj1)
7743 delete _arg1;
7744}
7745 return _resultobj;
7746}
7747
7748#define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7749static PyObject *_wrap_wxFileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject * _resultobj;
7751 wxString * _result;
7752 wxFileTypeInfo * _arg0;
7753 PyObject * _argo0 = 0;
7754 char *_kwnames[] = { "self", NULL };
7755
7756 self = self;
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetMimeType",_kwnames,&_argo0))
7758 return NULL;
7759 if (_argo0) {
7760 if (_argo0 == Py_None) { _arg0 = NULL; }
7761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7763 return NULL;
7764 }
7765 }
7766{
7767 wxPy_BEGIN_ALLOW_THREADS;
7768 const wxString & _result_ref = wxFileTypeInfo_GetMimeType(_arg0);
7769 _result = (wxString *) &_result_ref;
7770
7771 wxPy_END_ALLOW_THREADS;
7772}{
7773 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7774}
7775 return _resultobj;
7776}
7777
7778#define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7779static PyObject *_wrap_wxFileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject * _resultobj;
7781 wxString * _result;
7782 wxFileTypeInfo * _arg0;
7783 PyObject * _argo0 = 0;
7784 char *_kwnames[] = { "self", NULL };
7785
7786 self = self;
7787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetOpenCommand",_kwnames,&_argo0))
7788 return NULL;
7789 if (_argo0) {
7790 if (_argo0 == Py_None) { _arg0 = NULL; }
7791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7793 return NULL;
7794 }
7795 }
7796{
7797 wxPy_BEGIN_ALLOW_THREADS;
7798 const wxString & _result_ref = wxFileTypeInfo_GetOpenCommand(_arg0);
7799 _result = (wxString *) &_result_ref;
7800
7801 wxPy_END_ALLOW_THREADS;
7802}{
7803 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7804}
7805 return _resultobj;
7806}
7807
7808#define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7809static PyObject *_wrap_wxFileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
7810 PyObject * _resultobj;
7811 wxString * _result;
7812 wxFileTypeInfo * _arg0;
7813 PyObject * _argo0 = 0;
7814 char *_kwnames[] = { "self", NULL };
7815
7816 self = self;
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetPrintCommand",_kwnames,&_argo0))
7818 return NULL;
7819 if (_argo0) {
7820 if (_argo0 == Py_None) { _arg0 = NULL; }
7821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7823 return NULL;
7824 }
7825 }
7826{
7827 wxPy_BEGIN_ALLOW_THREADS;
7828 const wxString & _result_ref = wxFileTypeInfo_GetPrintCommand(_arg0);
7829 _result = (wxString *) &_result_ref;
7830
7831 wxPy_END_ALLOW_THREADS;
7832}{
7833 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7834}
7835 return _resultobj;
7836}
7837
7838#define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7839static PyObject *_wrap_wxFileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject * _resultobj;
7841 wxString * _result;
7842 wxFileTypeInfo * _arg0;
7843 PyObject * _argo0 = 0;
7844 char *_kwnames[] = { "self", NULL };
7845
7846 self = self;
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetShortDesc",_kwnames,&_argo0))
7848 return NULL;
7849 if (_argo0) {
7850 if (_argo0 == Py_None) { _arg0 = NULL; }
7851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7853 return NULL;
7854 }
7855 }
7856{
7857 wxPy_BEGIN_ALLOW_THREADS;
7858 const wxString & _result_ref = wxFileTypeInfo_GetShortDesc(_arg0);
7859 _result = (wxString *) &_result_ref;
7860
7861 wxPy_END_ALLOW_THREADS;
7862}{
7863 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7864}
7865 return _resultobj;
7866}
7867
7868#define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7869static PyObject *_wrap_wxFileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject * _resultobj;
7871 wxString * _result;
7872 wxFileTypeInfo * _arg0;
7873 PyObject * _argo0 = 0;
7874 char *_kwnames[] = { "self", NULL };
7875
7876 self = self;
7877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetDescription",_kwnames,&_argo0))
7878 return NULL;
7879 if (_argo0) {
7880 if (_argo0 == Py_None) { _arg0 = NULL; }
7881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
7883 return NULL;
7884 }
7885 }
7886{
7887 wxPy_BEGIN_ALLOW_THREADS;
7888 const wxString & _result_ref = wxFileTypeInfo_GetDescription(_arg0);
7889 _result = (wxString *) &_result_ref;
7890
7891 wxPy_END_ALLOW_THREADS;
7892}{
7893 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7894}
7895 return _resultobj;
7896}
7897
7898static PyObject * wxFileTypeInfo_GetExtensions(wxFileTypeInfo *self) {
7899 wxArrayString& arr = (wxArrayString&)self->GetExtensions();
7900 return wxArrayString2PyList_helper(arr);
7901 }
7902static PyObject *_wrap_wxFileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject * _resultobj;
7904 PyObject * _result;
7905 wxFileTypeInfo * _arg0;
7906 PyObject * _argo0 = 0;
7907 char *_kwnames[] = { "self", NULL };
7908
7909 self = self;
7910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensions",_kwnames,&_argo0))
7911 return NULL;
7912 if (_argo0) {
7913 if (_argo0 == Py_None) { _arg0 = NULL; }
7914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
7916 return NULL;
7917 }
7918 }
7919{
7920 wxPy_BEGIN_ALLOW_THREADS;
7921 _result = (PyObject *)wxFileTypeInfo_GetExtensions(_arg0);
7922
7923 wxPy_END_ALLOW_THREADS;
7924}{
7925 _resultobj = _result;
7926}
7927 return _resultobj;
7928}
7929
7930#define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
7931static PyObject *_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject * _resultobj;
7933 int _result;
7934 wxFileTypeInfo * _arg0;
7935 PyObject * _argo0 = 0;
7936 char *_kwnames[] = { "self", NULL };
7937
7938 self = self;
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames,&_argo0))
7940 return NULL;
7941 if (_argo0) {
7942 if (_argo0 == Py_None) { _arg0 = NULL; }
7943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
7945 return NULL;
7946 }
7947 }
7948{
7949 wxPy_BEGIN_ALLOW_THREADS;
7950 _result = (int )wxFileTypeInfo_GetExtensionsCount(_arg0);
7951
7952 wxPy_END_ALLOW_THREADS;
7953} _resultobj = Py_BuildValue("i",_result);
7954 return _resultobj;
7955}
7956
7957#define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
7958static PyObject *_wrap_wxFileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject * _resultobj;
7960 wxString * _result;
7961 wxFileTypeInfo * _arg0;
7962 PyObject * _argo0 = 0;
7963 char *_kwnames[] = { "self", NULL };
7964
7965 self = self;
7966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetIconFile",_kwnames,&_argo0))
7967 return NULL;
7968 if (_argo0) {
7969 if (_argo0 == Py_None) { _arg0 = NULL; }
7970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
7972 return NULL;
7973 }
7974 }
7975{
7976 wxPy_BEGIN_ALLOW_THREADS;
7977 const wxString & _result_ref = wxFileTypeInfo_GetIconFile(_arg0);
7978 _result = (wxString *) &_result_ref;
7979
7980 wxPy_END_ALLOW_THREADS;
7981}{
7982 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7983}
7984 return _resultobj;
7985}
7986
7987#define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
7988static PyObject *_wrap_wxFileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
7989 PyObject * _resultobj;
7990 int _result;
7991 wxFileTypeInfo * _arg0;
7992 PyObject * _argo0 = 0;
7993 char *_kwnames[] = { "self", NULL };
7994
7995 self = self;
7996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetIconIndex",_kwnames,&_argo0))
7997 return NULL;
7998 if (_argo0) {
7999 if (_argo0 == Py_None) { _arg0 = NULL; }
8000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8002 return NULL;
8003 }
8004 }
8005{
8006 wxPy_BEGIN_ALLOW_THREADS;
8007 _result = (int )wxFileTypeInfo_GetIconIndex(_arg0);
8008
8009 wxPy_END_ALLOW_THREADS;
8010} _resultobj = Py_BuildValue("i",_result);
8011 return _resultobj;
8012}
8013
8014#define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8015static PyObject *_wrap_new_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
8016 PyObject * _resultobj;
8017 wxFileType * _result;
8018 wxFileTypeInfo * _arg0;
8019 PyObject * _argo0 = 0;
8020 char *_kwnames[] = { "ftInfo", NULL };
8021 char _ptemp[128];
8022
8023 self = self;
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileType",_kwnames,&_argo0))
8025 return NULL;
8026 if (_argo0) {
8027 if (_argo0 == Py_None) { _arg0 = NULL; }
8028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8030 return NULL;
8031 }
8032 }
8033{
8034 wxPy_BEGIN_ALLOW_THREADS;
8035 _result = (wxFileType *)new_wxFileType(*_arg0);
8036
8037 wxPy_END_ALLOW_THREADS;
8038} if (_result) {
8039 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
8040 _resultobj = Py_BuildValue("s",_ptemp);
8041 } else {
8042 Py_INCREF(Py_None);
8043 _resultobj = Py_None;
8044 }
8045 return _resultobj;
8046}
8047
8048static PyObject * wxFileType_GetMimeType(wxFileType *self) {
8049 wxString str;
8050 if (self->GetMimeType(&str))
8051 return PyString_FromString(str.c_str());
8052 else
8053 RETURN_NONE();
8054 }
8055static PyObject *_wrap_wxFileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject * _resultobj;
8057 PyObject * _result;
8058 wxFileType * _arg0;
8059 PyObject * _argo0 = 0;
8060 char *_kwnames[] = { "self", NULL };
8061
8062 self = self;
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeType",_kwnames,&_argo0))
8064 return NULL;
8065 if (_argo0) {
8066 if (_argo0 == Py_None) { _arg0 = NULL; }
8067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8069 return NULL;
8070 }
8071 }
8072{
8073 wxPy_BEGIN_ALLOW_THREADS;
8074 _result = (PyObject *)wxFileType_GetMimeType(_arg0);
8075
8076 wxPy_END_ALLOW_THREADS;
8077}{
8078 _resultobj = _result;
8079}
8080 return _resultobj;
8081}
8082
8083static PyObject * wxFileType_GetMimeTypes(wxFileType *self) {
8084 wxArrayString arr;
8085 if (self->GetMimeTypes(arr))
8086 return wxArrayString2PyList_helper(arr);
8087 else
8088 RETURN_NONE();
8089 }
8090static PyObject *_wrap_wxFileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
8091 PyObject * _resultobj;
8092 PyObject * _result;
8093 wxFileType * _arg0;
8094 PyObject * _argo0 = 0;
8095 char *_kwnames[] = { "self", NULL };
8096
8097 self = self;
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeTypes",_kwnames,&_argo0))
8099 return NULL;
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8104 return NULL;
8105 }
8106 }
8107{
8108 wxPy_BEGIN_ALLOW_THREADS;
8109 _result = (PyObject *)wxFileType_GetMimeTypes(_arg0);
8110
8111 wxPy_END_ALLOW_THREADS;
8112}{
8113 _resultobj = _result;
8114}
8115 return _resultobj;
8116}
8117
8118static PyObject * wxFileType_GetExtensions(wxFileType *self) {
8119 wxArrayString arr;
8120 if (self->GetExtensions(arr))
8121 return wxArrayString2PyList_helper(arr);
8122 else
8123 RETURN_NONE();
8124 }
8125static PyObject *_wrap_wxFileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject * _resultobj;
8127 PyObject * _result;
8128 wxFileType * _arg0;
8129 PyObject * _argo0 = 0;
8130 char *_kwnames[] = { "self", NULL };
8131
8132 self = self;
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetExtensions",_kwnames,&_argo0))
8134 return NULL;
8135 if (_argo0) {
8136 if (_argo0 == Py_None) { _arg0 = NULL; }
8137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8139 return NULL;
8140 }
8141 }
8142{
8143 wxPy_BEGIN_ALLOW_THREADS;
8144 _result = (PyObject *)wxFileType_GetExtensions(_arg0);
8145
8146 wxPy_END_ALLOW_THREADS;
8147}{
8148 _resultobj = _result;
8149}
8150 return _resultobj;
8151}
8152
8153static wxIcon * wxFileType_GetIcon(wxFileType *self) {
8154 wxIcon icon;
8155 if (self->GetIcon(&icon))
8156 return new wxIcon(icon);
8157 else
8158 return NULL;
8159 }
8160static PyObject *_wrap_wxFileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject * _resultobj;
8162 wxIcon * _result;
8163 wxFileType * _arg0;
8164 PyObject * _argo0 = 0;
8165 char *_kwnames[] = { "self", NULL };
8166 char _ptemp[128];
8167
8168 self = self;
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIcon",_kwnames,&_argo0))
8170 return NULL;
8171 if (_argo0) {
8172 if (_argo0 == Py_None) { _arg0 = NULL; }
8173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8175 return NULL;
8176 }
8177 }
8178{
8179 wxPy_BEGIN_ALLOW_THREADS;
8180 _result = (wxIcon *)wxFileType_GetIcon(_arg0);
8181
8182 wxPy_END_ALLOW_THREADS;
8183} if (_result) {
8184 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
8185 _resultobj = Py_BuildValue("s",_ptemp);
8186 } else {
8187 Py_INCREF(Py_None);
8188 _resultobj = Py_None;
8189 }
8190 return _resultobj;
8191}
8192
8193static PyObject * wxFileType_GetIconInfo(wxFileType *self) {
8194 wxIcon icon;
8195 wxString iconFile;
8196 int iconIndex;
8197 if (self->GetIcon(&icon, &iconFile, &iconIndex)) {
8198 wxPyTState* state = wxPyBeginBlockThreads();
8199 PyObject* tuple = PyTuple_New(3);
8200 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(icon),
8201 "wxIcon", TRUE));
8202 PyTuple_SetItem(tuple, 1, PyString_FromString(iconFile.c_str()));
8203 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
8204 wxPyEndBlockThreads(state);
8205 return tuple;
8206 }
8207 else
8208 RETURN_NONE();
8209 }
8210static PyObject *_wrap_wxFileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8211 PyObject * _resultobj;
8212 PyObject * _result;
8213 wxFileType * _arg0;
8214 PyObject * _argo0 = 0;
8215 char *_kwnames[] = { "self", NULL };
8216
8217 self = self;
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIconInfo",_kwnames,&_argo0))
8219 return NULL;
8220 if (_argo0) {
8221 if (_argo0 == Py_None) { _arg0 = NULL; }
8222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8224 return NULL;
8225 }
8226 }
8227{
8228 wxPy_BEGIN_ALLOW_THREADS;
8229 _result = (PyObject *)wxFileType_GetIconInfo(_arg0);
8230
8231 wxPy_END_ALLOW_THREADS;
8232}{
8233 _resultobj = _result;
8234}
8235 return _resultobj;
8236}
8237
8238static PyObject * wxFileType_GetDescription(wxFileType *self) {
8239 wxString str;
8240 if (self->GetDescription(&str))
8241 return PyString_FromString(str.c_str());
8242 else
8243 RETURN_NONE();
8244 }
8245static PyObject *_wrap_wxFileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
8246 PyObject * _resultobj;
8247 PyObject * _result;
8248 wxFileType * _arg0;
8249 PyObject * _argo0 = 0;
8250 char *_kwnames[] = { "self", NULL };
8251
8252 self = self;
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetDescription",_kwnames,&_argo0))
8254 return NULL;
8255 if (_argo0) {
8256 if (_argo0 == Py_None) { _arg0 = NULL; }
8257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8259 return NULL;
8260 }
8261 }
8262{
8263 wxPy_BEGIN_ALLOW_THREADS;
8264 _result = (PyObject *)wxFileType_GetDescription(_arg0);
8265
8266 wxPy_END_ALLOW_THREADS;
8267}{
8268 _resultobj = _result;
8269}
8270 return _resultobj;
8271}
8272
8273static PyObject * wxFileType_GetOpenCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8274 wxString str;
8275 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
8276 return PyString_FromString(str.c_str());
8277 else
8278 RETURN_NONE();
8279 }
8280static PyObject *_wrap_wxFileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject * _resultobj;
8282 PyObject * _result;
8283 wxFileType * _arg0;
8284 wxString * _arg1;
8285 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
8286 PyObject * _argo0 = 0;
8287 PyObject * _obj1 = 0;
8288 PyObject * _obj2 = 0;
8289 char *_kwnames[] = { "self","filename","mimetype", NULL };
8290
8291 self = self;
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetOpenCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8293 return NULL;
8294 if (_argo0) {
8295 if (_argo0 == Py_None) { _arg0 = NULL; }
8296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8298 return NULL;
8299 }
8300 }
8301{
8302#if PYTHON_API_VERSION >= 1009
8303 char* tmpPtr; int tmpSize;
8304 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8305 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8306 return NULL;
8307 }
8308 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8309 return NULL;
8310 _arg1 = new wxString(tmpPtr, tmpSize);
8311#else
8312 if (!PyString_Check(_obj1)) {
8313 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8314 return NULL;
8315 }
8316 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8317#endif
8318}
8319 if (_obj2)
8320{
8321#if PYTHON_API_VERSION >= 1009
8322 char* tmpPtr; int tmpSize;
8323 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8324 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8325 return NULL;
8326 }
8327 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8328 return NULL;
8329 _arg2 = new wxString(tmpPtr, tmpSize);
8330#else
8331 if (!PyString_Check(_obj2)) {
8332 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8333 return NULL;
8334 }
8335 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8336#endif
8337}
8338{
8339 wxPy_BEGIN_ALLOW_THREADS;
8340 _result = (PyObject *)wxFileType_GetOpenCommand(_arg0,*_arg1,*_arg2);
8341
8342 wxPy_END_ALLOW_THREADS;
8343}{
8344 _resultobj = _result;
8345}
8346{
8347 if (_obj1)
8348 delete _arg1;
8349}
8350{
8351 if (_obj2)
8352 delete _arg2;
8353}
8354 return _resultobj;
8355}
8356
8357static PyObject * wxFileType_GetPrintCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8358 wxString str;
8359 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
8360 return PyString_FromString(str.c_str());
8361 else
8362 RETURN_NONE();
8363 }
8364static PyObject *_wrap_wxFileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8365 PyObject * _resultobj;
8366 PyObject * _result;
8367 wxFileType * _arg0;
8368 wxString * _arg1;
8369 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
8370 PyObject * _argo0 = 0;
8371 PyObject * _obj1 = 0;
8372 PyObject * _obj2 = 0;
8373 char *_kwnames[] = { "self","filename","mimetype", NULL };
8374
8375 self = self;
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetPrintCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8377 return NULL;
8378 if (_argo0) {
8379 if (_argo0 == Py_None) { _arg0 = NULL; }
8380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8382 return NULL;
8383 }
8384 }
8385{
8386#if PYTHON_API_VERSION >= 1009
8387 char* tmpPtr; int tmpSize;
8388 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8389 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8390 return NULL;
8391 }
8392 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8393 return NULL;
8394 _arg1 = new wxString(tmpPtr, tmpSize);
8395#else
8396 if (!PyString_Check(_obj1)) {
8397 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8398 return NULL;
8399 }
8400 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8401#endif
8402}
8403 if (_obj2)
8404{
8405#if PYTHON_API_VERSION >= 1009
8406 char* tmpPtr; int tmpSize;
8407 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8408 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8409 return NULL;
8410 }
8411 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8412 return NULL;
8413 _arg2 = new wxString(tmpPtr, tmpSize);
8414#else
8415 if (!PyString_Check(_obj2)) {
8416 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8417 return NULL;
8418 }
8419 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8420#endif
8421}
8422{
8423 wxPy_BEGIN_ALLOW_THREADS;
8424 _result = (PyObject *)wxFileType_GetPrintCommand(_arg0,*_arg1,*_arg2);
8425
8426 wxPy_END_ALLOW_THREADS;
8427}{
8428 _resultobj = _result;
8429}
8430{
8431 if (_obj1)
8432 delete _arg1;
8433}
8434{
8435 if (_obj2)
8436 delete _arg2;
8437}
8438 return _resultobj;
8439}
8440
8441static PyObject * wxFileType_GetAllCommands(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8442 wxArrayString verbs;
8443 wxArrayString commands;
8444 if (self->GetAllCommands(&verbs, &commands,
8445 wxFileType::MessageParameters(filename, mimetype))) {
8446 wxPyTState* state = wxPyBeginBlockThreads();
8447 PyObject* tuple = PyTuple_New(2);
8448 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
8449 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
8450 wxPyEndBlockThreads(state);
8451 return tuple;
8452 }
8453 else
8454 RETURN_NONE();
8455 }
8456static PyObject *_wrap_wxFileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject * _resultobj;
8458 PyObject * _result;
8459 wxFileType * _arg0;
8460 wxString * _arg1;
8461 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
8462 PyObject * _argo0 = 0;
8463 PyObject * _obj1 = 0;
8464 PyObject * _obj2 = 0;
8465 char *_kwnames[] = { "self","filename","mimetype", NULL };
8466
8467 self = self;
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetAllCommands",_kwnames,&_argo0,&_obj1,&_obj2))
8469 return NULL;
8470 if (_argo0) {
8471 if (_argo0 == Py_None) { _arg0 = NULL; }
8472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8474 return NULL;
8475 }
8476 }
8477{
8478#if PYTHON_API_VERSION >= 1009
8479 char* tmpPtr; int tmpSize;
8480 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8481 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8482 return NULL;
8483 }
8484 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8485 return NULL;
8486 _arg1 = new wxString(tmpPtr, tmpSize);
8487#else
8488 if (!PyString_Check(_obj1)) {
8489 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8490 return NULL;
8491 }
8492 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8493#endif
8494}
8495 if (_obj2)
8496{
8497#if PYTHON_API_VERSION >= 1009
8498 char* tmpPtr; int tmpSize;
8499 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8500 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8501 return NULL;
8502 }
8503 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8504 return NULL;
8505 _arg2 = new wxString(tmpPtr, tmpSize);
8506#else
8507 if (!PyString_Check(_obj2)) {
8508 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8509 return NULL;
8510 }
8511 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8512#endif
8513}
8514{
8515 wxPy_BEGIN_ALLOW_THREADS;
8516 _result = (PyObject *)wxFileType_GetAllCommands(_arg0,*_arg1,*_arg2);
8517
8518 wxPy_END_ALLOW_THREADS;
8519}{
8520 _resultobj = _result;
8521}
8522{
8523 if (_obj1)
8524 delete _arg1;
8525}
8526{
8527 if (_obj2)
8528 delete _arg2;
8529}
8530 return _resultobj;
8531}
8532
8533#define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8534static PyObject *_wrap_wxFileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject * _resultobj;
8536 bool _result;
8537 wxFileType * _arg0;
8538 wxString * _arg1;
8539 wxString * _arg2;
8540 bool _arg3 = (bool ) TRUE;
8541 PyObject * _argo0 = 0;
8542 PyObject * _obj1 = 0;
8543 PyObject * _obj2 = 0;
8544 int tempbool3 = (int) TRUE;
8545 char *_kwnames[] = { "self","cmd","verb","overwriteprompt", NULL };
8546
8547 self = self;
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxFileType_SetCommand",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
8549 return NULL;
8550 if (_argo0) {
8551 if (_argo0 == Py_None) { _arg0 = NULL; }
8552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8554 return NULL;
8555 }
8556 }
8557{
8558#if PYTHON_API_VERSION >= 1009
8559 char* tmpPtr; int tmpSize;
8560 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8561 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8562 return NULL;
8563 }
8564 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8565 return NULL;
8566 _arg1 = new wxString(tmpPtr, tmpSize);
8567#else
8568 if (!PyString_Check(_obj1)) {
8569 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8570 return NULL;
8571 }
8572 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8573#endif
8574}
8575{
8576#if PYTHON_API_VERSION >= 1009
8577 char* tmpPtr; int tmpSize;
8578 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8579 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8580 return NULL;
8581 }
8582 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8583 return NULL;
8584 _arg2 = new wxString(tmpPtr, tmpSize);
8585#else
8586 if (!PyString_Check(_obj2)) {
8587 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8588 return NULL;
8589 }
8590 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8591#endif
8592}
8593 _arg3 = (bool ) tempbool3;
8594{
8595 wxPy_BEGIN_ALLOW_THREADS;
8596 _result = (bool )wxFileType_SetCommand(_arg0,*_arg1,*_arg2,_arg3);
8597
8598 wxPy_END_ALLOW_THREADS;
8599} _resultobj = Py_BuildValue("i",_result);
8600{
8601 if (_obj1)
8602 delete _arg1;
8603}
8604{
8605 if (_obj2)
8606 delete _arg2;
8607}
8608 return _resultobj;
8609}
8610
8611#define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8612static PyObject *_wrap_wxFileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8613 PyObject * _resultobj;
8614 bool _result;
8615 wxFileType * _arg0;
8616 wxString * _arg1 = (wxString *) &wxEmptyString;
8617 int _arg2 = (int ) 0;
8618 PyObject * _argo0 = 0;
8619 PyObject * _obj1 = 0;
8620 char *_kwnames[] = { "self","cmd","index", NULL };
8621
8622 self = self;
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|Oi:wxFileType_SetDefaultIcon",_kwnames,&_argo0,&_obj1,&_arg2))
8624 return NULL;
8625 if (_argo0) {
8626 if (_argo0 == Py_None) { _arg0 = NULL; }
8627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8629 return NULL;
8630 }
8631 }
8632 if (_obj1)
8633{
8634#if PYTHON_API_VERSION >= 1009
8635 char* tmpPtr; int tmpSize;
8636 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8637 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8638 return NULL;
8639 }
8640 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8641 return NULL;
8642 _arg1 = new wxString(tmpPtr, tmpSize);
8643#else
8644 if (!PyString_Check(_obj1)) {
8645 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8646 return NULL;
8647 }
8648 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8649#endif
8650}
8651{
8652 wxPy_BEGIN_ALLOW_THREADS;
8653 _result = (bool )wxFileType_SetDefaultIcon(_arg0,*_arg1,_arg2);
8654
8655 wxPy_END_ALLOW_THREADS;
8656} _resultobj = Py_BuildValue("i",_result);
8657{
8658 if (_obj1)
8659 delete _arg1;
8660}
8661 return _resultobj;
8662}
8663
8664#define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8665static PyObject *_wrap_wxFileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject * _resultobj;
8667 bool _result;
8668 wxFileType * _arg0;
8669 PyObject * _argo0 = 0;
8670 char *_kwnames[] = { "self", NULL };
8671
8672 self = self;
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_Unassociate",_kwnames,&_argo0))
8674 return NULL;
8675 if (_argo0) {
8676 if (_argo0 == Py_None) { _arg0 = NULL; }
8677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8679 return NULL;
8680 }
8681 }
8682{
8683 wxPy_BEGIN_ALLOW_THREADS;
8684 _result = (bool )wxFileType_Unassociate(_arg0);
8685
8686 wxPy_END_ALLOW_THREADS;
8687} _resultobj = Py_BuildValue("i",_result);
8688 return _resultobj;
8689}
8690
8691static PyObject *_wrap_wxFileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8692 PyObject * _resultobj;
8693 wxString * _result;
8694 wxString * _arg0;
8695 wxFileType::MessageParameters * _arg1;
8696 PyObject * _obj0 = 0;
8697 PyObject * _argo1 = 0;
8698 char *_kwnames[] = { "command","params", NULL };
8699
8700 self = self;
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileType_ExpandCommand",_kwnames,&_obj0,&_argo1))
8702 return NULL;
8703{
8704#if PYTHON_API_VERSION >= 1009
8705 char* tmpPtr; int tmpSize;
8706 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
8707 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8708 return NULL;
8709 }
8710 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
8711 return NULL;
8712 _arg0 = new wxString(tmpPtr, tmpSize);
8713#else
8714 if (!PyString_Check(_obj0)) {
8715 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8716 return NULL;
8717 }
8718 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
8719#endif
8720}
8721 if (_argo1) {
8722 if (_argo1 == Py_None) { _arg1 = NULL; }
8723 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType::MessageParameters_p")) {
8724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8725 return NULL;
8726 }
8727 }
8728{
8729 wxPy_BEGIN_ALLOW_THREADS;
8730 _result = new wxString (wxFileType::ExpandCommand(*_arg0,*_arg1));
8731
8732 wxPy_END_ALLOW_THREADS;
8733}{
8734 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8735}
8736{
8737 if (_obj0)
8738 delete _arg0;
8739}
8740{
8741 delete _result;
8742}
8743 return _resultobj;
8744}
8745
8746#define delete_wxFileType(_swigobj) (delete _swigobj)
8747static PyObject *_wrap_delete_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
8748 PyObject * _resultobj;
8749 wxFileType * _arg0;
8750 PyObject * _argo0 = 0;
8751 char *_kwnames[] = { "self", NULL };
8752
8753 self = self;
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileType",_kwnames,&_argo0))
8755 return NULL;
8756 if (_argo0) {
8757 if (_argo0 == Py_None) { _arg0 = NULL; }
8758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8760 return NULL;
8761 }
8762 }
8763{
8764 wxPy_BEGIN_ALLOW_THREADS;
8765 delete_wxFileType(_arg0);
8766
8767 wxPy_END_ALLOW_THREADS;
8768} Py_INCREF(Py_None);
8769 _resultobj = Py_None;
8770 return _resultobj;
8771}
8772
8773static PyObject *_wrap_wxMimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
8774 PyObject * _resultobj;
8775 bool _result;
8776 wxString * _arg0;
8777 wxString * _arg1;
8778 PyObject * _obj0 = 0;
8779 PyObject * _obj1 = 0;
8780 char *_kwnames[] = { "mimeType","wildcard", NULL };
8781
8782 self = self;
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_IsOfType",_kwnames,&_obj0,&_obj1))
8784 return NULL;
8785{
8786#if PYTHON_API_VERSION >= 1009
8787 char* tmpPtr; int tmpSize;
8788 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
8789 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8790 return NULL;
8791 }
8792 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
8793 return NULL;
8794 _arg0 = new wxString(tmpPtr, tmpSize);
8795#else
8796 if (!PyString_Check(_obj0)) {
8797 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8798 return NULL;
8799 }
8800 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
8801#endif
8802}
8803{
8804#if PYTHON_API_VERSION >= 1009
8805 char* tmpPtr; int tmpSize;
8806 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8807 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8808 return NULL;
8809 }
8810 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8811 return NULL;
8812 _arg1 = new wxString(tmpPtr, tmpSize);
8813#else
8814 if (!PyString_Check(_obj1)) {
8815 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8816 return NULL;
8817 }
8818 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8819#endif
8820}
8821{
8822 wxPy_BEGIN_ALLOW_THREADS;
8823 _result = (bool )wxMimeTypesManager::IsOfType(*_arg0,*_arg1);
8824
8825 wxPy_END_ALLOW_THREADS;
8826} _resultobj = Py_BuildValue("i",_result);
8827{
8828 if (_obj0)
8829 delete _arg0;
8830}
8831{
8832 if (_obj1)
8833 delete _arg1;
8834}
8835 return _resultobj;
8836}
8837
8838#define new_wxMimeTypesManager() (new wxMimeTypesManager())
8839static PyObject *_wrap_new_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject * _resultobj;
8841 wxMimeTypesManager * _result;
8842 char *_kwnames[] = { NULL };
8843 char _ptemp[128];
8844
8845 self = self;
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMimeTypesManager",_kwnames))
8847 return NULL;
8848{
8849 wxPy_BEGIN_ALLOW_THREADS;
8850 _result = (wxMimeTypesManager *)new_wxMimeTypesManager();
8851
8852 wxPy_END_ALLOW_THREADS;
8853} if (_result) {
8854 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMimeTypesManager_p");
8855 _resultobj = Py_BuildValue("s",_ptemp);
8856 } else {
8857 Py_INCREF(Py_None);
8858 _resultobj = Py_None;
8859 }
8860 return _resultobj;
8861}
8862
8863#define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8864static PyObject *_wrap_wxMimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
8865 PyObject * _resultobj;
8866 wxMimeTypesManager * _arg0;
8867 int _arg1 = (int ) (wxMAILCAP_STANDARD);
8868 wxString * _arg2 = (wxString *) &wxEmptyString;
8869 PyObject * _argo0 = 0;
8870 PyObject * _obj2 = 0;
8871 char *_kwnames[] = { "self","mailcapStyle","extraDir", NULL };
8872
8873 self = self;
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxMimeTypesManager_Initialize",_kwnames,&_argo0,&_arg1,&_obj2))
8875 return NULL;
8876 if (_argo0) {
8877 if (_argo0 == Py_None) { _arg0 = NULL; }
8878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
8879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8880 return NULL;
8881 }
8882 }
8883 if (_obj2)
8884{
8885#if PYTHON_API_VERSION >= 1009
8886 char* tmpPtr; int tmpSize;
8887 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8888 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8889 return NULL;
8890 }
8891 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8892 return NULL;
8893 _arg2 = new wxString(tmpPtr, tmpSize);
8894#else
8895 if (!PyString_Check(_obj2)) {
8896 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8897 return NULL;
8898 }
8899 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8900#endif
8901}
8902{
8903 wxPy_BEGIN_ALLOW_THREADS;
8904 wxMimeTypesManager_Initialize(_arg0,_arg1,*_arg2);
8905
8906 wxPy_END_ALLOW_THREADS;
8907} Py_INCREF(Py_None);
8908 _resultobj = Py_None;
8909{
8910 if (_obj2)
8911 delete _arg2;
8912}
8913 return _resultobj;
8914}
8915
8916#define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8917static PyObject *_wrap_wxMimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject * _resultobj;
8919 wxMimeTypesManager * _arg0;
8920 PyObject * _argo0 = 0;
8921 char *_kwnames[] = { "self", NULL };
8922
8923 self = self;
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_ClearData",_kwnames,&_argo0))
8925 return NULL;
8926 if (_argo0) {
8927 if (_argo0 == Py_None) { _arg0 = NULL; }
8928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
8929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8930 return NULL;
8931 }
8932 }
8933{
8934 wxPy_BEGIN_ALLOW_THREADS;
8935 wxMimeTypesManager_ClearData(_arg0);
8936
8937 wxPy_END_ALLOW_THREADS;
8938} Py_INCREF(Py_None);
8939 _resultobj = Py_None;
8940 return _resultobj;
8941}
8942
8943#define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8944static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8945 PyObject * _resultobj;
8946 wxFileType * _result;
8947 wxMimeTypesManager * _arg0;
8948 wxString * _arg1;
8949 PyObject * _argo0 = 0;
8950 PyObject * _obj1 = 0;
8951 char *_kwnames[] = { "self","ext", NULL };
8952 char _ptemp[128];
8953
8954 self = self;
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames,&_argo0,&_obj1))
8956 return NULL;
8957 if (_argo0) {
8958 if (_argo0 == Py_None) { _arg0 = NULL; }
8959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
8960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
8961 return NULL;
8962 }
8963 }
8964{
8965#if PYTHON_API_VERSION >= 1009
8966 char* tmpPtr; int tmpSize;
8967 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8968 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8969 return NULL;
8970 }
8971 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8972 return NULL;
8973 _arg1 = new wxString(tmpPtr, tmpSize);
8974#else
8975 if (!PyString_Check(_obj1)) {
8976 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8977 return NULL;
8978 }
8979 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8980#endif
8981}
8982{
8983 wxPy_BEGIN_ALLOW_THREADS;
8984 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromExtension(_arg0,*_arg1);
8985
8986 wxPy_END_ALLOW_THREADS;
8987} if (_result) {
8988 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
8989 _resultobj = Py_BuildValue("s",_ptemp);
8990 } else {
8991 Py_INCREF(Py_None);
8992 _resultobj = Py_None;
8993 }
8994{
8995 if (_obj1)
8996 delete _arg1;
8997}
8998 return _resultobj;
8999}
9000
9001#define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9002static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject * _resultobj;
9004 wxFileType * _result;
9005 wxMimeTypesManager * _arg0;
9006 wxString * _arg1;
9007 PyObject * _argo0 = 0;
9008 PyObject * _obj1 = 0;
9009 char *_kwnames[] = { "self","mimeType", NULL };
9010 char _ptemp[128];
9011
9012 self = self;
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames,&_argo0,&_obj1))
9014 return NULL;
9015 if (_argo0) {
9016 if (_argo0 == Py_None) { _arg0 = NULL; }
9017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9019 return NULL;
9020 }
9021 }
9022{
9023#if PYTHON_API_VERSION >= 1009
9024 char* tmpPtr; int tmpSize;
9025 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9026 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9027 return NULL;
9028 }
9029 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9030 return NULL;
9031 _arg1 = new wxString(tmpPtr, tmpSize);
9032#else
9033 if (!PyString_Check(_obj1)) {
9034 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9035 return NULL;
9036 }
9037 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9038#endif
9039}
9040{
9041 wxPy_BEGIN_ALLOW_THREADS;
9042 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0,*_arg1);
9043
9044 wxPy_END_ALLOW_THREADS;
9045} if (_result) {
9046 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9047 _resultobj = Py_BuildValue("s",_ptemp);
9048 } else {
9049 Py_INCREF(Py_None);
9050 _resultobj = Py_None;
9051 }
9052{
9053 if (_obj1)
9054 delete _arg1;
9055}
9056 return _resultobj;
9057}
9058
9059#define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9060static PyObject *_wrap_wxMimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
9061 PyObject * _resultobj;
9062 bool _result;
9063 wxMimeTypesManager * _arg0;
9064 wxString * _arg1;
9065 bool _arg2 = (bool ) FALSE;
9066 PyObject * _argo0 = 0;
9067 PyObject * _obj1 = 0;
9068 int tempbool2 = (int) FALSE;
9069 char *_kwnames[] = { "self","filename","fallback", NULL };
9070
9071 self = self;
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames,&_argo0,&_obj1,&tempbool2))
9073 return NULL;
9074 if (_argo0) {
9075 if (_argo0 == Py_None) { _arg0 = NULL; }
9076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9078 return NULL;
9079 }
9080 }
9081{
9082#if PYTHON_API_VERSION >= 1009
9083 char* tmpPtr; int tmpSize;
9084 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9085 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9086 return NULL;
9087 }
9088 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9089 return NULL;
9090 _arg1 = new wxString(tmpPtr, tmpSize);
9091#else
9092 if (!PyString_Check(_obj1)) {
9093 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9094 return NULL;
9095 }
9096 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9097#endif
9098}
9099 _arg2 = (bool ) tempbool2;
9100{
9101 wxPy_BEGIN_ALLOW_THREADS;
9102 _result = (bool )wxMimeTypesManager_ReadMailcap(_arg0,*_arg1,_arg2);
9103
9104 wxPy_END_ALLOW_THREADS;
9105} _resultobj = Py_BuildValue("i",_result);
9106{
9107 if (_obj1)
9108 delete _arg1;
9109}
9110 return _resultobj;
9111}
9112
9113#define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9114static PyObject *_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9115 PyObject * _resultobj;
9116 bool _result;
9117 wxMimeTypesManager * _arg0;
9118 wxString * _arg1;
9119 PyObject * _argo0 = 0;
9120 PyObject * _obj1 = 0;
9121 char *_kwnames[] = { "self","filename", NULL };
9122
9123 self = self;
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames,&_argo0,&_obj1))
9125 return NULL;
9126 if (_argo0) {
9127 if (_argo0 == Py_None) { _arg0 = NULL; }
9128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9130 return NULL;
9131 }
9132 }
9133{
9134#if PYTHON_API_VERSION >= 1009
9135 char* tmpPtr; int tmpSize;
9136 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9137 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9138 return NULL;
9139 }
9140 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9141 return NULL;
9142 _arg1 = new wxString(tmpPtr, tmpSize);
9143#else
9144 if (!PyString_Check(_obj1)) {
9145 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9146 return NULL;
9147 }
9148 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9149#endif
9150}
9151{
9152 wxPy_BEGIN_ALLOW_THREADS;
9153 _result = (bool )wxMimeTypesManager_ReadMimeTypes(_arg0,*_arg1);
9154
9155 wxPy_END_ALLOW_THREADS;
9156} _resultobj = Py_BuildValue("i",_result);
9157{
9158 if (_obj1)
9159 delete _arg1;
9160}
9161 return _resultobj;
9162}
9163
9164static PyObject * wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self) {
9165 wxArrayString arr;
9166 self->EnumAllFileTypes(arr);
9167 return wxArrayString2PyList_helper(arr);
9168 }
9169static PyObject *_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9170 PyObject * _resultobj;
9171 PyObject * _result;
9172 wxMimeTypesManager * _arg0;
9173 PyObject * _argo0 = 0;
9174 char *_kwnames[] = { "self", NULL };
9175
9176 self = self;
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames,&_argo0))
9178 return NULL;
9179 if (_argo0) {
9180 if (_argo0 == Py_None) { _arg0 = NULL; }
9181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9183 return NULL;
9184 }
9185 }
9186{
9187 wxPy_BEGIN_ALLOW_THREADS;
9188 _result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(_arg0);
9189
9190 wxPy_END_ALLOW_THREADS;
9191}{
9192 _resultobj = _result;
9193}
9194 return _resultobj;
9195}
9196
9197#define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9198static PyObject *_wrap_wxMimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject * _resultobj;
9200 wxMimeTypesManager * _arg0;
9201 wxFileTypeInfo * _arg1;
9202 PyObject * _argo0 = 0;
9203 PyObject * _argo1 = 0;
9204 char *_kwnames[] = { "self","ft", NULL };
9205
9206 self = self;
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_AddFallback",_kwnames,&_argo0,&_argo1))
9208 return NULL;
9209 if (_argo0) {
9210 if (_argo0 == Py_None) { _arg0 = NULL; }
9211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9213 return NULL;
9214 }
9215 }
9216 if (_argo1) {
9217 if (_argo1 == Py_None) { _arg1 = NULL; }
9218 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9220 return NULL;
9221 }
9222 }
9223{
9224 wxPy_BEGIN_ALLOW_THREADS;
9225 wxMimeTypesManager_AddFallback(_arg0,*_arg1);
9226
9227 wxPy_END_ALLOW_THREADS;
9228} Py_INCREF(Py_None);
9229 _resultobj = Py_None;
9230 return _resultobj;
9231}
9232
9233#define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9234static PyObject *_wrap_wxMimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject * _resultobj;
9236 wxFileType * _result;
9237 wxMimeTypesManager * _arg0;
9238 wxFileTypeInfo * _arg1;
9239 PyObject * _argo0 = 0;
9240 PyObject * _argo1 = 0;
9241 char *_kwnames[] = { "self","ftInfo", NULL };
9242 char _ptemp[128];
9243
9244 self = self;
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Associate",_kwnames,&_argo0,&_argo1))
9246 return NULL;
9247 if (_argo0) {
9248 if (_argo0 == Py_None) { _arg0 = NULL; }
9249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9251 return NULL;
9252 }
9253 }
9254 if (_argo1) {
9255 if (_argo1 == Py_None) { _arg1 = NULL; }
9256 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9257 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9258 return NULL;
9259 }
9260 }
9261{
9262 wxPy_BEGIN_ALLOW_THREADS;
9263 _result = (wxFileType *)wxMimeTypesManager_Associate(_arg0,*_arg1);
9264
9265 wxPy_END_ALLOW_THREADS;
9266} if (_result) {
9267 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9268 _resultobj = Py_BuildValue("s",_ptemp);
9269 } else {
9270 Py_INCREF(Py_None);
9271 _resultobj = Py_None;
9272 }
9273 return _resultobj;
9274}
9275
9276#define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9277static PyObject *_wrap_wxMimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject * _resultobj;
9279 bool _result;
9280 wxMimeTypesManager * _arg0;
9281 wxFileType * _arg1;
9282 PyObject * _argo0 = 0;
9283 PyObject * _argo1 = 0;
9284 char *_kwnames[] = { "self","ft", NULL };
9285
9286 self = self;
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Unassociate",_kwnames,&_argo0,&_argo1))
9288 return NULL;
9289 if (_argo0) {
9290 if (_argo0 == Py_None) { _arg0 = NULL; }
9291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9293 return NULL;
9294 }
9295 }
9296 if (_argo1) {
9297 if (_argo1 == Py_None) { _arg1 = NULL; }
9298 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType_p")) {
9299 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9300 return NULL;
9301 }
9302 }
9303{
9304 wxPy_BEGIN_ALLOW_THREADS;
9305 _result = (bool )wxMimeTypesManager_Unassociate(_arg0,_arg1);
9306
9307 wxPy_END_ALLOW_THREADS;
9308} _resultobj = Py_BuildValue("i",_result);
9309 return _resultobj;
9310}
9311
9312#define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9313static PyObject *_wrap_delete_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject * _resultobj;
9315 wxMimeTypesManager * _arg0;
9316 PyObject * _argo0 = 0;
9317 char *_kwnames[] = { "self", NULL };
9318
9319 self = self;
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMimeTypesManager",_kwnames,&_argo0))
9321 return NULL;
9322 if (_argo0) {
9323 if (_argo0 == Py_None) { _arg0 = NULL; }
9324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9326 return NULL;
9327 }
9328 }
9329{
9330 wxPy_BEGIN_ALLOW_THREADS;
9331 delete_wxMimeTypesManager(_arg0);
9332
9333 wxPy_END_ALLOW_THREADS;
9334} Py_INCREF(Py_None);
9335 _resultobj = Py_None;
9336 return _resultobj;
9337}
9338
93283355
RD
9339static void *SwigwxFileHistoryTowxObject(void *ptr) {
9340 wxFileHistory *src;
9341 wxObject *dest;
9342 src = (wxFileHistory *) ptr;
9343 dest = (wxObject *) src;
9344 return (void *) dest;
9345}
9346
9347#define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9348static PyObject *_wrap_new_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject * _resultobj;
9350 wxFileHistory * _result;
9351 int _arg0 = (int ) 9;
9352 char *_kwnames[] = { "maxFiles", NULL };
9353 char _ptemp[128];
9354
9355 self = self;
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxFileHistory",_kwnames,&_arg0))
9357 return NULL;
9358{
9359 wxPy_BEGIN_ALLOW_THREADS;
9360 _result = (wxFileHistory *)new_wxFileHistory(_arg0);
9361
9362 wxPy_END_ALLOW_THREADS;
9363} if (_result) {
9364 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileHistory_p");
9365 _resultobj = Py_BuildValue("s",_ptemp);
9366 } else {
9367 Py_INCREF(Py_None);
9368 _resultobj = Py_None;
9369 }
9370 return _resultobj;
9371}
9372
9373#define delete_wxFileHistory(_swigobj) (delete _swigobj)
9374static PyObject *_wrap_delete_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject * _resultobj;
9376 wxFileHistory * _arg0;
9377 PyObject * _argo0 = 0;
9378 char *_kwnames[] = { "self", NULL };
9379
9380 self = self;
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileHistory",_kwnames,&_argo0))
9382 return NULL;
9383 if (_argo0) {
9384 if (_argo0 == Py_None) { _arg0 = NULL; }
9385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9387 return NULL;
9388 }
9389 }
9390{
9391 wxPy_BEGIN_ALLOW_THREADS;
9392 delete_wxFileHistory(_arg0);
9393
9394 wxPy_END_ALLOW_THREADS;
9395} Py_INCREF(Py_None);
9396 _resultobj = Py_None;
9397 return _resultobj;
9398}
9399
9400#define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9401static PyObject *_wrap_wxFileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject * _resultobj;
9403 wxFileHistory * _arg0;
9404 wxString * _arg1;
9405 PyObject * _argo0 = 0;
9406 PyObject * _obj1 = 0;
9407 char *_kwnames[] = { "self","file", NULL };
9408
9409 self = self;
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFileToHistory",_kwnames,&_argo0,&_obj1))
9411 return NULL;
9412 if (_argo0) {
9413 if (_argo0 == Py_None) { _arg0 = NULL; }
9414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9416 return NULL;
9417 }
9418 }
9419{
9420#if PYTHON_API_VERSION >= 1009
9421 char* tmpPtr; int tmpSize;
9422 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9423 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9424 return NULL;
9425 }
9426 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9427 return NULL;
9428 _arg1 = new wxString(tmpPtr, tmpSize);
9429#else
9430 if (!PyString_Check(_obj1)) {
9431 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9432 return NULL;
9433 }
9434 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9435#endif
9436}
9437{
9438 wxPy_BEGIN_ALLOW_THREADS;
9439 wxFileHistory_AddFileToHistory(_arg0,*_arg1);
9440
9441 wxPy_END_ALLOW_THREADS;
9442} Py_INCREF(Py_None);
9443 _resultobj = Py_None;
9444{
9445 if (_obj1)
9446 delete _arg1;
9447}
9448 return _resultobj;
9449}
9450
9451#define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9452static PyObject *_wrap_wxFileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9453 PyObject * _resultobj;
9454 wxFileHistory * _arg0;
9455 int _arg1;
9456 PyObject * _argo0 = 0;
9457 char *_kwnames[] = { "self","i", NULL };
9458
9459 self = self;
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames,&_argo0,&_arg1))
9461 return NULL;
9462 if (_argo0) {
9463 if (_argo0 == Py_None) { _arg0 = NULL; }
9464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9466 return NULL;
9467 }
9468 }
9469{
9470 wxPy_BEGIN_ALLOW_THREADS;
9471 wxFileHistory_RemoveFileFromHistory(_arg0,_arg1);
9472
9473 wxPy_END_ALLOW_THREADS;
9474} Py_INCREF(Py_None);
9475 _resultobj = Py_None;
9476 return _resultobj;
9477}
9478
9479#define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9480static PyObject *_wrap_wxFileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject * _resultobj;
9482 int _result;
9483 wxFileHistory * _arg0;
9484 PyObject * _argo0 = 0;
9485 char *_kwnames[] = { "self", NULL };
9486
9487 self = self;
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetMaxFiles",_kwnames,&_argo0))
9489 return NULL;
9490 if (_argo0) {
9491 if (_argo0 == Py_None) { _arg0 = NULL; }
9492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9494 return NULL;
9495 }
9496 }
9497{
9498 wxPy_BEGIN_ALLOW_THREADS;
9499 _result = (int )wxFileHistory_GetMaxFiles(_arg0);
9500
9501 wxPy_END_ALLOW_THREADS;
9502} _resultobj = Py_BuildValue("i",_result);
9503 return _resultobj;
9504}
9505
9506#define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9507static PyObject *_wrap_wxFileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject * _resultobj;
9509 wxFileHistory * _arg0;
9510 wxMenu * _arg1;
9511 PyObject * _argo0 = 0;
9512 PyObject * _argo1 = 0;
9513 char *_kwnames[] = { "self","menu", NULL };
9514
9515 self = self;
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_UseMenu",_kwnames,&_argo0,&_argo1))
9517 return NULL;
9518 if (_argo0) {
9519 if (_argo0 == Py_None) { _arg0 = NULL; }
9520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9522 return NULL;
9523 }
9524 }
9525 if (_argo1) {
9526 if (_argo1 == Py_None) { _arg1 = NULL; }
9527 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9528 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9529 return NULL;
9530 }
9531 }
9532{
9533 wxPy_BEGIN_ALLOW_THREADS;
9534 wxFileHistory_UseMenu(_arg0,_arg1);
9535
9536 wxPy_END_ALLOW_THREADS;
9537} Py_INCREF(Py_None);
9538 _resultobj = Py_None;
9539 return _resultobj;
9540}
9541
9542#define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9543static PyObject *_wrap_wxFileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject * _resultobj;
9545 wxFileHistory * _arg0;
9546 wxMenu * _arg1;
9547 PyObject * _argo0 = 0;
9548 PyObject * _argo1 = 0;
9549 char *_kwnames[] = { "self","menu", NULL };
9550
9551 self = self;
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_RemoveMenu",_kwnames,&_argo0,&_argo1))
9553 return NULL;
9554 if (_argo0) {
9555 if (_argo0 == Py_None) { _arg0 = NULL; }
9556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9558 return NULL;
9559 }
9560 }
9561 if (_argo1) {
9562 if (_argo1 == Py_None) { _arg1 = NULL; }
9563 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9564 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9565 return NULL;
9566 }
9567 }
9568{
9569 wxPy_BEGIN_ALLOW_THREADS;
9570 wxFileHistory_RemoveMenu(_arg0,_arg1);
9571
9572 wxPy_END_ALLOW_THREADS;
9573} Py_INCREF(Py_None);
9574 _resultobj = Py_None;
9575 return _resultobj;
9576}
9577
9578#define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9579static PyObject *_wrap_wxFileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject * _resultobj;
9581 wxFileHistory * _arg0;
9582 wxConfigBase * _arg1;
9583 PyObject * _argo0 = 0;
9584 PyObject * _argo1 = 0;
9585 char *_kwnames[] = { "self","config", NULL };
9586
9587 self = self;
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Load",_kwnames,&_argo0,&_argo1))
9589 return NULL;
9590 if (_argo0) {
9591 if (_argo0 == Py_None) { _arg0 = NULL; }
9592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9594 return NULL;
9595 }
9596 }
9597 if (_argo1) {
9598 if (_argo1 == Py_None) { _arg1 = NULL; }
9599 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
9600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9601 return NULL;
9602 }
9603 }
9604{
9605 wxPy_BEGIN_ALLOW_THREADS;
9606 wxFileHistory_Load(_arg0,*_arg1);
9607
9608 wxPy_END_ALLOW_THREADS;
9609} Py_INCREF(Py_None);
9610 _resultobj = Py_None;
9611 return _resultobj;
9612}
9613
9614#define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9615static PyObject *_wrap_wxFileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
9616 PyObject * _resultobj;
9617 wxFileHistory * _arg0;
9618 wxConfigBase * _arg1;
9619 PyObject * _argo0 = 0;
9620 PyObject * _argo1 = 0;
9621 char *_kwnames[] = { "self","config", NULL };
9622
9623 self = self;
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Save",_kwnames,&_argo0,&_argo1))
9625 return NULL;
9626 if (_argo0) {
9627 if (_argo0 == Py_None) { _arg0 = NULL; }
9628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9630 return NULL;
9631 }
9632 }
9633 if (_argo1) {
9634 if (_argo1 == Py_None) { _arg1 = NULL; }
9635 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
9636 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9637 return NULL;
9638 }
9639 }
9640{
9641 wxPy_BEGIN_ALLOW_THREADS;
9642 wxFileHistory_Save(_arg0,*_arg1);
9643
9644 wxPy_END_ALLOW_THREADS;
9645} Py_INCREF(Py_None);
9646 _resultobj = Py_None;
9647 return _resultobj;
9648}
9649
9650#define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9651static PyObject *_wrap_wxFileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9652 PyObject * _resultobj;
9653 wxFileHistory * _arg0;
9654 PyObject * _argo0 = 0;
9655 char *_kwnames[] = { "self", NULL };
9656
9657 self = self;
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_AddFilesToMenu",_kwnames,&_argo0))
9659 return NULL;
9660 if (_argo0) {
9661 if (_argo0 == Py_None) { _arg0 = NULL; }
9662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9664 return NULL;
9665 }
9666 }
9667{
9668 wxPy_BEGIN_ALLOW_THREADS;
9669 wxFileHistory_AddFilesToMenu(_arg0);
9670
9671 wxPy_END_ALLOW_THREADS;
9672} Py_INCREF(Py_None);
9673 _resultobj = Py_None;
9674 return _resultobj;
9675}
9676
9677#define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9678static PyObject *_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject * _resultobj;
9680 wxFileHistory * _arg0;
9681 wxMenu * _arg1;
9682 PyObject * _argo0 = 0;
9683 PyObject * _argo1 = 0;
9684 char *_kwnames[] = { "self","menu", NULL };
9685
9686 self = self;
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames,&_argo0,&_argo1))
9688 return NULL;
9689 if (_argo0) {
9690 if (_argo0 == Py_None) { _arg0 = NULL; }
9691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9693 return NULL;
9694 }
9695 }
9696 if (_argo1) {
9697 if (_argo1 == Py_None) { _arg1 = NULL; }
9698 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9699 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9700 return NULL;
9701 }
9702 }
9703{
9704 wxPy_BEGIN_ALLOW_THREADS;
9705 wxFileHistory_AddFilesToSingleMenu(_arg0,_arg1);
9706
9707 wxPy_END_ALLOW_THREADS;
9708} Py_INCREF(Py_None);
9709 _resultobj = Py_None;
9710 return _resultobj;
9711}
9712
9713#define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9714static PyObject *_wrap_wxFileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject * _resultobj;
9716 wxString * _result;
9717 wxFileHistory * _arg0;
9718 int _arg1;
9719 PyObject * _argo0 = 0;
9720 char *_kwnames[] = { "self","i", NULL };
9721
9722 self = self;
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_GetHistoryFile",_kwnames,&_argo0,&_arg1))
9724 return NULL;
9725 if (_argo0) {
9726 if (_argo0 == Py_None) { _arg0 = NULL; }
9727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9729 return NULL;
9730 }
9731 }
9732{
9733 wxPy_BEGIN_ALLOW_THREADS;
9734 _result = new wxString (wxFileHistory_GetHistoryFile(_arg0,_arg1));
9735
9736 wxPy_END_ALLOW_THREADS;
9737}{
9738 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9739}
9740{
9741 delete _result;
9742}
9743 return _resultobj;
9744}
9745
9746#define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9747static PyObject *_wrap_wxFileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9748 PyObject * _resultobj;
9749 int _result;
9750 wxFileHistory * _arg0;
9751 PyObject * _argo0 = 0;
9752 char *_kwnames[] = { "self", NULL };
9753
9754 self = self;
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetCount",_kwnames,&_argo0))
9756 return NULL;
9757 if (_argo0) {
9758 if (_argo0 == Py_None) { _arg0 = NULL; }
9759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9761 return NULL;
9762 }
9763 }
9764{
9765 wxPy_BEGIN_ALLOW_THREADS;
9766 _result = (int )wxFileHistory_GetCount(_arg0);
9767
9768 wxPy_END_ALLOW_THREADS;
9769} _resultobj = Py_BuildValue("i",_result);
9770 return _resultobj;
9771}
9772
9773#define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9774static PyObject *_wrap_wxFileHistory_GetNoHistoryFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject * _resultobj;
9776 int _result;
9777 wxFileHistory * _arg0;
9778 PyObject * _argo0 = 0;
9779 char *_kwnames[] = { "self", NULL };
9780
9781 self = self;
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetNoHistoryFiles",_kwnames,&_argo0))
9783 return NULL;
9784 if (_argo0) {
9785 if (_argo0 == Py_None) { _arg0 = NULL; }
9786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9788 return NULL;
9789 }
9790 }
9791{
9792 wxPy_BEGIN_ALLOW_THREADS;
9793 _result = (int )wxFileHistory_GetNoHistoryFiles(_arg0);
9794
9795 wxPy_END_ALLOW_THREADS;
9796} _resultobj = Py_BuildValue("i",_result);
9797 return _resultobj;
9798}
9799
d24a34bb 9800static PyMethodDef misc2cMethods[] = {
93283355
RD
9801 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction) _wrap_wxFileHistory_GetNoHistoryFiles, METH_VARARGS | METH_KEYWORDS },
9802 { "wxFileHistory_GetCount", (PyCFunction) _wrap_wxFileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
9803 { "wxFileHistory_GetHistoryFile", (PyCFunction) _wrap_wxFileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
9804 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToSingleMenu, METH_VARARGS | METH_KEYWORDS },
9805 { "wxFileHistory_AddFilesToMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
9806 { "wxFileHistory_Save", (PyCFunction) _wrap_wxFileHistory_Save, METH_VARARGS | METH_KEYWORDS },
9807 { "wxFileHistory_Load", (PyCFunction) _wrap_wxFileHistory_Load, METH_VARARGS | METH_KEYWORDS },
9808 { "wxFileHistory_RemoveMenu", (PyCFunction) _wrap_wxFileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
9809 { "wxFileHistory_UseMenu", (PyCFunction) _wrap_wxFileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
9810 { "wxFileHistory_GetMaxFiles", (PyCFunction) _wrap_wxFileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
9811 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_wxFileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
9812 { "wxFileHistory_AddFileToHistory", (PyCFunction) _wrap_wxFileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
9813 { "delete_wxFileHistory", (PyCFunction) _wrap_delete_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
9814 { "new_wxFileHistory", (PyCFunction) _wrap_new_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
5c0282d5
RD
9815 { "delete_wxMimeTypesManager", (PyCFunction) _wrap_delete_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
9816 { "wxMimeTypesManager_Unassociate", (PyCFunction) _wrap_wxMimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
9817 { "wxMimeTypesManager_Associate", (PyCFunction) _wrap_wxMimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
9818 { "wxMimeTypesManager_AddFallback", (PyCFunction) _wrap_wxMimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
9819 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_wxMimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
9820 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_wxMimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
9821 { "wxMimeTypesManager_ReadMailcap", (PyCFunction) _wrap_wxMimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
9822 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
9823 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
9824 { "wxMimeTypesManager_ClearData", (PyCFunction) _wrap_wxMimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
9825 { "wxMimeTypesManager_Initialize", (PyCFunction) _wrap_wxMimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
9826 { "new_wxMimeTypesManager", (PyCFunction) _wrap_new_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
9827 { "wxMimeTypesManager_IsOfType", (PyCFunction) _wrap_wxMimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
9828 { "delete_wxFileType", (PyCFunction) _wrap_delete_wxFileType, METH_VARARGS | METH_KEYWORDS },
9829 { "wxFileType_ExpandCommand", (PyCFunction) _wrap_wxFileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
9830 { "wxFileType_Unassociate", (PyCFunction) _wrap_wxFileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
9831 { "wxFileType_SetDefaultIcon", (PyCFunction) _wrap_wxFileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
9832 { "wxFileType_SetCommand", (PyCFunction) _wrap_wxFileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
9833 { "wxFileType_GetAllCommands", (PyCFunction) _wrap_wxFileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
9834 { "wxFileType_GetPrintCommand", (PyCFunction) _wrap_wxFileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
9835 { "wxFileType_GetOpenCommand", (PyCFunction) _wrap_wxFileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
9836 { "wxFileType_GetDescription", (PyCFunction) _wrap_wxFileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
9837 { "wxFileType_GetIconInfo", (PyCFunction) _wrap_wxFileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
9838 { "wxFileType_GetIcon", (PyCFunction) _wrap_wxFileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
9839 { "wxFileType_GetExtensions", (PyCFunction) _wrap_wxFileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
9840 { "wxFileType_GetMimeTypes", (PyCFunction) _wrap_wxFileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
9841 { "wxFileType_GetMimeType", (PyCFunction) _wrap_wxFileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
9842 { "new_wxFileType", (PyCFunction) _wrap_new_wxFileType, METH_VARARGS | METH_KEYWORDS },
9843 { "wxFileTypeInfo_GetIconIndex", (PyCFunction) _wrap_wxFileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
9844 { "wxFileTypeInfo_GetIconFile", (PyCFunction) _wrap_wxFileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
9845 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
9846 { "wxFileTypeInfo_GetExtensions", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
9847 { "wxFileTypeInfo_GetDescription", (PyCFunction) _wrap_wxFileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
9848 { "wxFileTypeInfo_GetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
9849 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
9850 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
9851 { "wxFileTypeInfo_GetMimeType", (PyCFunction) _wrap_wxFileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
9852 { "wxFileTypeInfo_SetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
9853 { "wxFileTypeInfo_SetIcon", (PyCFunction) _wrap_wxFileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
9854 { "wxFileTypeInfo_IsValid", (PyCFunction) _wrap_wxFileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
9855 { "new_wxNullFileTypeInfo", (PyCFunction) _wrap_new_wxNullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
9856 { "new_wxFileTypeInfoSequence", (PyCFunction) _wrap_new_wxFileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
9857 { "new_wxFileTypeInfo", (PyCFunction) _wrap_new_wxFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
4dfaa61e
RD
9858 { "wxWave_Play", (PyCFunction) _wrap_wxWave_Play, METH_VARARGS | METH_KEYWORDS },
9859 { "wxWave_IsOk", (PyCFunction) _wrap_wxWave_IsOk, METH_VARARGS | METH_KEYWORDS },
9860 { "delete_wxWave", (PyCFunction) _wrap_delete_wxWave, METH_VARARGS | METH_KEYWORDS },
9861 { "new_wxWave", (PyCFunction) _wrap_new_wxWave, METH_VARARGS | METH_KEYWORDS },
9862 { "wxJoystick_ReleaseCapture", (PyCFunction) _wrap_wxJoystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
9863 { "wxJoystick_SetCapture", (PyCFunction) _wrap_wxJoystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
9864 { "wxJoystick_HasPOVCTS", (PyCFunction) _wrap_wxJoystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
9865 { "wxJoystick_HasPOV4Dir", (PyCFunction) _wrap_wxJoystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
9866 { "wxJoystick_HasPOV", (PyCFunction) _wrap_wxJoystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
9867 { "wxJoystick_HasV", (PyCFunction) _wrap_wxJoystick_HasV, METH_VARARGS | METH_KEYWORDS },
9868 { "wxJoystick_HasU", (PyCFunction) _wrap_wxJoystick_HasU, METH_VARARGS | METH_KEYWORDS },
9869 { "wxJoystick_HasZ", (PyCFunction) _wrap_wxJoystick_HasZ, METH_VARARGS | METH_KEYWORDS },
9870 { "wxJoystick_HasRudder", (PyCFunction) _wrap_wxJoystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
9871 { "wxJoystick_GetVMax", (PyCFunction) _wrap_wxJoystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
9872 { "wxJoystick_GetVMin", (PyCFunction) _wrap_wxJoystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
9873 { "wxJoystick_GetUMax", (PyCFunction) _wrap_wxJoystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
9874 { "wxJoystick_GetUMin", (PyCFunction) _wrap_wxJoystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
9875 { "wxJoystick_GetRudderMax", (PyCFunction) _wrap_wxJoystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
9876 { "wxJoystick_GetRudderMin", (PyCFunction) _wrap_wxJoystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
9877 { "wxJoystick_GetPollingMax", (PyCFunction) _wrap_wxJoystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
9878 { "wxJoystick_GetPollingMin", (PyCFunction) _wrap_wxJoystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
9879 { "wxJoystick_GetMaxAxes", (PyCFunction) _wrap_wxJoystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
9880 { "wxJoystick_GetMaxButtons", (PyCFunction) _wrap_wxJoystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
9881 { "wxJoystick_GetNumberAxes", (PyCFunction) _wrap_wxJoystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
9882 { "wxJoystick_GetNumberButtons", (PyCFunction) _wrap_wxJoystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
9883 { "wxJoystick_GetZMax", (PyCFunction) _wrap_wxJoystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
9884 { "wxJoystick_GetYMax", (PyCFunction) _wrap_wxJoystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
9885 { "wxJoystick_GetXMax", (PyCFunction) _wrap_wxJoystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
9886 { "wxJoystick_GetZMin", (PyCFunction) _wrap_wxJoystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
9887 { "wxJoystick_GetYMin", (PyCFunction) _wrap_wxJoystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
9888 { "wxJoystick_GetXMin", (PyCFunction) _wrap_wxJoystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
9889 { "wxJoystick_GetProductName", (PyCFunction) _wrap_wxJoystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
9890 { "wxJoystick_GetProductId", (PyCFunction) _wrap_wxJoystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
9891 { "wxJoystick_GetManufacturerId", (PyCFunction) _wrap_wxJoystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
9892 { "wxJoystick_GetNumberJoysticks", (PyCFunction) _wrap_wxJoystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
9893 { "wxJoystick_IsOk", (PyCFunction) _wrap_wxJoystick_IsOk, METH_VARARGS | METH_KEYWORDS },
9894 { "wxJoystick_SetMovementThreshold", (PyCFunction) _wrap_wxJoystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
9895 { "wxJoystick_GetMovementThreshold", (PyCFunction) _wrap_wxJoystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
9896 { "wxJoystick_GetVPosition", (PyCFunction) _wrap_wxJoystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
9897 { "wxJoystick_GetUPosition", (PyCFunction) _wrap_wxJoystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
9898 { "wxJoystick_GetRudderPosition", (PyCFunction) _wrap_wxJoystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
9899 { "wxJoystick_GetPOVCTSPosition", (PyCFunction) _wrap_wxJoystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
9900 { "wxJoystick_GetPOVPosition", (PyCFunction) _wrap_wxJoystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
9901 { "wxJoystick_GetButtonState", (PyCFunction) _wrap_wxJoystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
9902 { "wxJoystick_GetZPosition", (PyCFunction) _wrap_wxJoystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
9903 { "wxJoystick_GetPosition", (PyCFunction) _wrap_wxJoystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
25d73e0f 9904 { "delete_wxJoystick", (PyCFunction) _wrap_delete_wxJoystick, METH_VARARGS | METH_KEYWORDS },
4dfaa61e 9905 { "new_wxJoystick", (PyCFunction) _wrap_new_wxJoystick, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
9906 { "wxProcess_CloseOutput", (PyCFunction) _wrap_wxProcess_CloseOutput, METH_VARARGS | METH_KEYWORDS },
9907 { "wxProcess_GetOutputStream", (PyCFunction) _wrap_wxProcess_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
9908 { "wxProcess_GetErrorStream", (PyCFunction) _wrap_wxProcess_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
9909 { "wxProcess_GetInputStream", (PyCFunction) _wrap_wxProcess_GetInputStream, METH_VARARGS | METH_KEYWORDS },
9910 { "wxProcess_Detach", (PyCFunction) _wrap_wxProcess_Detach, METH_VARARGS | METH_KEYWORDS },
9911 { "wxProcess_IsRedirected", (PyCFunction) _wrap_wxProcess_IsRedirected, METH_VARARGS | METH_KEYWORDS },
9912 { "wxProcess_Redirect", (PyCFunction) _wrap_wxProcess_Redirect, METH_VARARGS | METH_KEYWORDS },
9913 { "wxProcess_base_OnTerminate", (PyCFunction) _wrap_wxProcess_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
0220cbc1 9914 { "wxProcess__setCallbackInfo", (PyCFunction) _wrap_wxProcess__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
9915 { "wxProcess_Destroy", (PyCFunction) _wrap_wxProcess_Destroy, METH_VARARGS | METH_KEYWORDS },
9916 { "new_wxProcess", (PyCFunction) _wrap_new_wxProcess, METH_VARARGS | METH_KEYWORDS },
9917 { "wxProcessEvent_m_exitcode_get", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
9918 { "wxProcessEvent_m_exitcode_set", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
9919 { "wxProcessEvent_m_pid_get", (PyCFunction) _wrap_wxProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
9920 { "wxProcessEvent_m_pid_set", (PyCFunction) _wrap_wxProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
9921 { "wxProcessEvent_GetExitCode", (PyCFunction) _wrap_wxProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
9922 { "wxProcessEvent_GetPid", (PyCFunction) _wrap_wxProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
9923 { "new_wxProcessEvent", (PyCFunction) _wrap_new_wxProcessEvent, METH_VARARGS | METH_KEYWORDS },
0220cbc1
RD
9924 { "wxPyLog_Destroy", (PyCFunction) _wrap_wxPyLog_Destroy, METH_VARARGS | METH_KEYWORDS },
9925 { "wxPyLog__setCallbackInfo", (PyCFunction) _wrap_wxPyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
9926 { "new_wxPyLog", (PyCFunction) _wrap_new_wxPyLog, METH_VARARGS | METH_KEYWORDS },
9927 { "wxLogChain_GetOldLog", (PyCFunction) _wrap_wxLogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
9928 { "wxLogChain_IsPassingMessages", (PyCFunction) _wrap_wxLogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
9929 { "wxLogChain_PassMessages", (PyCFunction) _wrap_wxLogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
9930 { "wxLogChain_SetLog", (PyCFunction) _wrap_wxLogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
9931 { "new_wxLogChain", (PyCFunction) _wrap_new_wxLogChain, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9932 { "delete_wxLogNull", (PyCFunction) _wrap_delete_wxLogNull, METH_VARARGS | METH_KEYWORDS },
9933 { "new_wxLogNull", (PyCFunction) _wrap_new_wxLogNull, METH_VARARGS | METH_KEYWORDS },
9934 { "wxLogWindow_PassMessages", (PyCFunction) _wrap_wxLogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
9935 { "wxLogWindow_IsPassingMessages", (PyCFunction) _wrap_wxLogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
9936 { "wxLogWindow_GetOldLog", (PyCFunction) _wrap_wxLogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
9937 { "wxLogWindow_GetFrame", (PyCFunction) _wrap_wxLogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
9938 { "wxLogWindow_Show", (PyCFunction) _wrap_wxLogWindow_Show, METH_VARARGS | METH_KEYWORDS },
9939 { "new_wxLogWindow", (PyCFunction) _wrap_new_wxLogWindow, METH_VARARGS | METH_KEYWORDS },
9940 { "new_wxLogGui", (PyCFunction) _wrap_new_wxLogGui, METH_VARARGS | METH_KEYWORDS },
9941 { "new_wxLogTextCtrl", (PyCFunction) _wrap_new_wxLogTextCtrl, METH_VARARGS | METH_KEYWORDS },
9942 { "new_wxLogStderr", (PyCFunction) _wrap_new_wxLogStderr, METH_VARARGS | METH_KEYWORDS },
0220cbc1 9943 { "wxLog_TimeStamp", (PyCFunction) _wrap_wxLog_TimeStamp, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9944 { "wxLog_IsAllowedTraceMask", (PyCFunction) _wrap_wxLog_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
9945 { "wxLog_GetTraceMask", (PyCFunction) _wrap_wxLog_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
9946 { "wxLog_GetVerbose", (PyCFunction) _wrap_wxLog_GetVerbose, METH_VARARGS | METH_KEYWORDS },
0220cbc1
RD
9947 { "wxLog_GetTimestamp", (PyCFunction) _wrap_wxLog_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
9948 { "wxLog_SetTimestamp", (PyCFunction) _wrap_wxLog_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
9949 { "wxLog_ClearTraceMasks", (PyCFunction) _wrap_wxLog_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9950 { "wxLog_RemoveTraceMask", (PyCFunction) _wrap_wxLog_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
9951 { "wxLog_AddTraceMask", (PyCFunction) _wrap_wxLog_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
9952 { "wxLog_SetTraceMask", (PyCFunction) _wrap_wxLog_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
9953 { "wxLog_DontCreateOnDemand", (PyCFunction) _wrap_wxLog_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
9954 { "wxLog_SetVerbose", (PyCFunction) _wrap_wxLog_SetVerbose, METH_VARARGS | METH_KEYWORDS },
9955 { "wxLog_Resume", (PyCFunction) _wrap_wxLog_Resume, METH_VARARGS | METH_KEYWORDS },
9956 { "wxLog_Suspend", (PyCFunction) _wrap_wxLog_Suspend, METH_VARARGS | METH_KEYWORDS },
9957 { "wxLog_SetActiveTarget", (PyCFunction) _wrap_wxLog_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
9958 { "wxLog_GetActiveTarget", (PyCFunction) _wrap_wxLog_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
9959 { "wxLog_FlushActive", (PyCFunction) _wrap_wxLog_FlushActive, METH_VARARGS | METH_KEYWORDS },
9960 { "wxLog_HasPendingMessages", (PyCFunction) _wrap_wxLog_HasPendingMessages, METH_VARARGS | METH_KEYWORDS },
9961 { "wxLog_Flush", (PyCFunction) _wrap_wxLog_Flush, METH_VARARGS | METH_KEYWORDS },
9962 { "wxLog_OnLog", (PyCFunction) _wrap_wxLog_OnLog, METH_VARARGS | METH_KEYWORDS },
9963 { "wxLog_EnableLogging", (PyCFunction) _wrap_wxLog_EnableLogging, METH_VARARGS | METH_KEYWORDS },
9964 { "wxLog_IsEnabled", (PyCFunction) _wrap_wxLog_IsEnabled, METH_VARARGS | METH_KEYWORDS },
9965 { "new_wxLog", (PyCFunction) _wrap_new_wxLog, METH_VARARGS | METH_KEYWORDS },
5c0282d5
RD
9966 { "wxStopWatch_Time", (PyCFunction) _wrap_wxStopWatch_Time, METH_VARARGS | METH_KEYWORDS },
9967 { "wxStopWatch_Resume", (PyCFunction) _wrap_wxStopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
9968 { "wxStopWatch_Pause", (PyCFunction) _wrap_wxStopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
9969 { "wxStopWatch_Start", (PyCFunction) _wrap_wxStopWatch_Start, METH_VARARGS | METH_KEYWORDS },
9970 { "new_wxStopWatch", (PyCFunction) _wrap_new_wxStopWatch, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9971 { "wxPyTimer_Stop", (PyCFunction) _wrap_wxPyTimer_Stop, METH_VARARGS | METH_KEYWORDS },
9972 { "wxPyTimer_Start", (PyCFunction) _wrap_wxPyTimer_Start, METH_VARARGS | METH_KEYWORDS },
9973 { "wxPyTimer_SetOwner", (PyCFunction) _wrap_wxPyTimer_SetOwner, METH_VARARGS | METH_KEYWORDS },
9974 { "wxPyTimer_IsRunning", (PyCFunction) _wrap_wxPyTimer_IsRunning, METH_VARARGS | METH_KEYWORDS },
9975 { "wxPyTimer_IsOneShot", (PyCFunction) _wrap_wxPyTimer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
9976 { "wxPyTimer_GetInterval", (PyCFunction) _wrap_wxPyTimer_GetInterval, METH_VARARGS | METH_KEYWORDS },
9977 { "delete_wxPyTimer", (PyCFunction) _wrap_delete_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
9978 { "new_wxPyTimer", (PyCFunction) _wrap_new_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
9979 { "wxDragImage_RedrawImage", (PyCFunction) _wrap_wxDragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
9980 { "wxDragImage_GetImageRect", (PyCFunction) _wrap_wxDragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
9981 { "wxDragImage_Hide", (PyCFunction) _wrap_wxDragImage_Hide, METH_VARARGS | METH_KEYWORDS },
9982 { "wxDragImage_Show", (PyCFunction) _wrap_wxDragImage_Show, METH_VARARGS | METH_KEYWORDS },
9983 { "wxDragImage_Move", (PyCFunction) _wrap_wxDragImage_Move, METH_VARARGS | METH_KEYWORDS },
9984 { "wxDragImage_EndDrag", (PyCFunction) _wrap_wxDragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
9985 { "wxDragImage_BeginDrag2", (PyCFunction) _wrap_wxDragImage_BeginDrag2, METH_VARARGS | METH_KEYWORDS },
9986 { "wxDragImage_BeginDrag", (PyCFunction) _wrap_wxDragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
4dfaa61e 9987 { "wxDragImage_SetBackingBitmap", (PyCFunction) _wrap_wxDragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 9988 { "delete_wxDragImage", (PyCFunction) _wrap_delete_wxDragImage, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
9989 { "new_wxDragListItem", (PyCFunction) _wrap_new_wxDragListItem, METH_VARARGS | METH_KEYWORDS },
9990 { "new_wxDragTreeItem", (PyCFunction) _wrap_new_wxDragTreeItem, METH_VARARGS | METH_KEYWORDS },
9991 { "new_wxDragString", (PyCFunction) _wrap_new_wxDragString, METH_VARARGS | METH_KEYWORDS },
9992 { "new_wxDragIcon", (PyCFunction) _wrap_new_wxDragIcon, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
9993 { "new_wxDragImage", (PyCFunction) _wrap_new_wxDragImage, METH_VARARGS | METH_KEYWORDS },
9994 { "new_wxPyTipProvider", (PyCFunction) _wrap_new_wxPyTipProvider, METH_VARARGS | METH_KEYWORDS },
9995 { "wxTipProvider_GetCurrentTip", (PyCFunction) _wrap_wxTipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
9996 { "wxTipProvider_GetTip", (PyCFunction) _wrap_wxTipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
9997 { "delete_wxTipProvider", (PyCFunction) _wrap_delete_wxTipProvider, METH_VARARGS | METH_KEYWORDS },
4662be59
RD
9998 { "delete_wxMutexGuiLocker", (PyCFunction) _wrap_delete_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
9999 { "new_wxMutexGuiLocker", (PyCFunction) _wrap_new_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
10000 { "delete_wxWindowDisabler", (PyCFunction) _wrap_delete_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
10001 { "new_wxWindowDisabler", (PyCFunction) _wrap_new_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
4120ef2b
RD
10002 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
10003 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
10004 { "wxFontEnumerator_GetFacenames", (PyCFunction) _wrap_wxFontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS },
10005 { "wxFontEnumerator_GetEncodings", (PyCFunction) _wrap_wxFontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS },
10006 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_wxFontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS },
10007 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_wxFontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS },
0220cbc1 10008 { "wxFontEnumerator__setCallbackInfo", (PyCFunction) _wrap_wxFontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
4120ef2b
RD
10009 { "delete_wxFontEnumerator", (PyCFunction) _wrap_delete_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
10010 { "new_wxFontEnumerator", (PyCFunction) _wrap_new_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
8f17924e
RD
10011 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
10012 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
e02c03a4
RD
10013 { "wxCaret_SetSize", (PyCFunction) _wrap_wxCaret_SetSize, METH_VARARGS | METH_KEYWORDS },
10014 { "wxCaret_SetSizeWH", (PyCFunction) _wrap_wxCaret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
8f17924e
RD
10015 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
10016 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
10017 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
10018 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
10019 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
10020 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
10021 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
10022 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
10023 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
10024 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
10025 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
9a08cd12
RD
10026 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
10027 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
10028 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
10029 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
10030 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
10031 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
4dfaa61e 10032 { "wxWaveData", (PyCFunction) _wrap_wxWaveData, METH_VARARGS | METH_KEYWORDS },
c368d904 10033 { "wxExecute", (PyCFunction) _wrap_wxExecute, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10034 { "wxLogSysError", (PyCFunction) _wrap_wxLogSysError, METH_VARARGS | METH_KEYWORDS },
10035 { "wxLogStatusFrame", (PyCFunction) _wrap_wxLogStatusFrame, METH_VARARGS | METH_KEYWORDS },
10036 { "wxLogStatus", (PyCFunction) _wrap_wxLogStatus, METH_VARARGS | METH_KEYWORDS },
10037 { "wxLogVerbose", (PyCFunction) _wrap_wxLogVerbose, METH_VARARGS | METH_KEYWORDS },
10038 { "wxLogInfo", (PyCFunction) _wrap_wxLogInfo, METH_VARARGS | METH_KEYWORDS },
10039 { "wxLogMessage", (PyCFunction) _wrap_wxLogMessage, METH_VARARGS | METH_KEYWORDS },
10040 { "wxLogWarning", (PyCFunction) _wrap_wxLogWarning, METH_VARARGS | METH_KEYWORDS },
10041 { "wxLogError", (PyCFunction) _wrap_wxLogError, METH_VARARGS | METH_KEYWORDS },
10042 { "wxLogFatalError", (PyCFunction) _wrap_wxLogFatalError, METH_VARARGS | METH_KEYWORDS },
10043 { "wxSysErrorMsg", (PyCFunction) _wrap_wxSysErrorMsg, METH_VARARGS | METH_KEYWORDS },
10044 { "wxSysErrorCode", (PyCFunction) _wrap_wxSysErrorCode, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
10045 { "wxCreateFileTipProvider", (PyCFunction) _wrap_wxCreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
10046 { "wxShowTip", (PyCFunction) _wrap_wxShowTip, METH_VARARGS | METH_KEYWORDS },
4662be59
RD
10047 { "wxThread_IsMain", (PyCFunction) _wrap_wxThread_IsMain, METH_VARARGS | METH_KEYWORDS },
10048 { "wxMutexGuiLeave", (PyCFunction) _wrap_wxMutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
10049 { "wxMutexGuiEnter", (PyCFunction) _wrap_wxMutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
d29aba2f 10050 { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS },
4120ef2b 10051 { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS },
4662be59 10052 { "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
8f17924e
RD
10053 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
10054 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
10055 { "wxSystemSettings_GetSystemMetric", (PyCFunction) _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS | METH_KEYWORDS },
10056 { "wxSystemSettings_GetSystemFont", (PyCFunction) _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS | METH_KEYWORDS },
10057 { "wxSystemSettings_GetSystemColour", (PyCFunction) _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS | METH_KEYWORDS },
10058 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
10059 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
10060 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
10061 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
10062 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
10063 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
10064 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
10065 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
10066 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
4dfaa61e
RD
10067 { "wxFindWindowAtPoint", (PyCFunction) _wrap_wxFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
10068 { "wxGenericFindWindowAtPoint", (PyCFunction) _wrap_wxGenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
10069 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
10070 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
10071 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
10072 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
bc29c5e0 10073 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
9e689c06
RD
10074 { "wxGetClientDisplayRect", (PyCFunction) _wrap_wxGetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
10075 { "wxClientDisplayRect", (PyCFunction) _wrap_wxClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
9c4165ad
RD
10076 { "wxGetDisplaySizeMM", (PyCFunction) _wrap_wxGetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
10077 { "wxDisplaySizeMM", (PyCFunction) _wrap_wxDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
b68dc582
RD
10078 { "wxGetDisplaySize", (PyCFunction) _wrap_wxGetDisplaySize, METH_VARARGS | METH_KEYWORDS },
10079 { "wxDisplaySize", (PyCFunction) _wrap_wxDisplaySize, METH_VARARGS | METH_KEYWORDS },
10080 { "wxGetDisplayDepth", (PyCFunction) _wrap_wxGetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
10081 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
10082 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
10083 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
10084 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
10085 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
10086 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
1b62f00d 10087 { "wxGetPasswordFromUser", (PyCFunction) _wrap_wxGetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
10088 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
10089 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
d24a34bb
RD
10090 { NULL, NULL }
10091};
2d091820
RD
10092#ifdef __cplusplus
10093}
10094#endif
10095/*
10096 * This table is used by the pointer type-checker
10097 */
10098static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
c368d904 10099 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent},
2d091820 10100 { "_signed_long","_long",0},
4120ef2b 10101 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
10102 { "_wxPrintQuality","_int",0},
10103 { "_wxPrintQuality","_signed_int",0},
10104 { "_wxPrintQuality","_unsigned_int",0},
10105 { "_wxPrintQuality","_wxWindowID",0},
10106 { "_wxPrintQuality","_uint",0},
10107 { "_wxPrintQuality","_EBool",0},
10108 { "_wxPrintQuality","_size_t",0},
c368d904 10109 { "_wxPrintQuality","_time_t",0},
0220cbc1 10110 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog},
0220cbc1 10111 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog},
f6bcfd97 10112 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog},
f6bcfd97 10113 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog},
f6bcfd97 10114 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog},
f6bcfd97 10115 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog},
2d091820 10116 { "_byte","_unsigned_char",0},
2d091820
RD
10117 { "_long","_unsigned_long",0},
10118 { "_long","_signed_long",0},
4120ef2b 10119 { "_size_t","_wxCoord",0},
2d091820 10120 { "_size_t","_wxPrintQuality",0},
c368d904 10121 { "_size_t","_time_t",0},
2d091820
RD
10122 { "_size_t","_unsigned_int",0},
10123 { "_size_t","_int",0},
10124 { "_size_t","_wxWindowID",0},
10125 { "_size_t","_uint",0},
4120ef2b 10126 { "_uint","_wxCoord",0},
2d091820 10127 { "_uint","_wxPrintQuality",0},
c368d904 10128 { "_uint","_time_t",0},
2d091820
RD
10129 { "_uint","_size_t",0},
10130 { "_uint","_unsigned_int",0},
10131 { "_uint","_int",0},
10132 { "_uint","_wxWindowID",0},
f6bcfd97 10133 { "_wxChar","_char",0},
f6bcfd97 10134 { "_char","_wxChar",0},
059a841c 10135 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 10136 { "_EBool","_wxCoord",0},
2d091820
RD
10137 { "_EBool","_wxPrintQuality",0},
10138 { "_EBool","_signed_int",0},
10139 { "_EBool","_int",0},
10140 { "_EBool","_wxWindowID",0},
2d091820 10141 { "_unsigned_long","_long",0},
059a841c 10142 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4120ef2b 10143 { "_signed_int","_wxCoord",0},
2d091820
RD
10144 { "_signed_int","_wxPrintQuality",0},
10145 { "_signed_int","_EBool",0},
10146 { "_signed_int","_wxWindowID",0},
10147 { "_signed_int","_int",0},
93283355 10148 { "_WXTYPE","_wxDateTime_t",0},
2d091820
RD
10149 { "_WXTYPE","_short",0},
10150 { "_WXTYPE","_signed_short",0},
10151 { "_WXTYPE","_unsigned_short",0},
f6bcfd97 10152 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider},
93283355 10153 { "_unsigned_short","_wxDateTime_t",0},
2d091820
RD
10154 { "_unsigned_short","_WXTYPE",0},
10155 { "_unsigned_short","_short",0},
93283355 10156 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject},
4dfaa61e 10157 { "_wxObject","_wxWave",SwigwxWaveTowxObject},
4dfaa61e 10158 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject},
9df61a29 10159 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject},
9df61a29 10160 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject},
9df61a29 10161 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject},
9df61a29 10162 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject},
9df61a29 10163 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject},
2d091820
RD
10164 { "_signed_short","_WXTYPE",0},
10165 { "_signed_short","_short",0},
2d091820 10166 { "_unsigned_char","_byte",0},
4120ef2b 10167 { "_unsigned_int","_wxCoord",0},
2d091820 10168 { "_unsigned_int","_wxPrintQuality",0},
c368d904 10169 { "_unsigned_int","_time_t",0},
2d091820
RD
10170 { "_unsigned_int","_size_t",0},
10171 { "_unsigned_int","_uint",0},
10172 { "_unsigned_int","_wxWindowID",0},
10173 { "_unsigned_int","_int",0},
93283355 10174 { "_short","_wxDateTime_t",0},
2d091820
RD
10175 { "_short","_WXTYPE",0},
10176 { "_short","_unsigned_short",0},
10177 { "_short","_signed_short",0},
4120ef2b 10178 { "_wxWindowID","_wxCoord",0},
2d091820 10179 { "_wxWindowID","_wxPrintQuality",0},
c368d904 10180 { "_wxWindowID","_time_t",0},
2d091820
RD
10181 { "_wxWindowID","_size_t",0},
10182 { "_wxWindowID","_EBool",0},
10183 { "_wxWindowID","_uint",0},
10184 { "_wxWindowID","_int",0},
10185 { "_wxWindowID","_signed_int",0},
10186 { "_wxWindowID","_unsigned_int",0},
4120ef2b 10187 { "_int","_wxCoord",0},
2d091820 10188 { "_int","_wxPrintQuality",0},
c368d904 10189 { "_int","_time_t",0},
2d091820
RD
10190 { "_int","_size_t",0},
10191 { "_int","_EBool",0},
10192 { "_int","_uint",0},
10193 { "_int","_wxWindowID",0},
10194 { "_int","_unsigned_int",0},
10195 { "_int","_signed_int",0},
93283355
RD
10196 { "_wxDateTime_t","_unsigned_short",0},
10197 { "_wxDateTime_t","_short",0},
10198 { "_wxDateTime_t","_WXTYPE",0},
c368d904
RD
10199 { "_time_t","_wxCoord",0},
10200 { "_time_t","_wxPrintQuality",0},
10201 { "_time_t","_unsigned_int",0},
10202 { "_time_t","_int",0},
10203 { "_time_t","_wxWindowID",0},
10204 { "_time_t","_uint",0},
10205 { "_time_t","_size_t",0},
4120ef2b
RD
10206 { "_wxCoord","_int",0},
10207 { "_wxCoord","_signed_int",0},
10208 { "_wxCoord","_unsigned_int",0},
10209 { "_wxCoord","_wxWindowID",0},
10210 { "_wxCoord","_uint",0},
10211 { "_wxCoord","_EBool",0},
10212 { "_wxCoord","_size_t",0},
c368d904 10213 { "_wxCoord","_time_t",0},
4120ef2b 10214 { "_wxCoord","_wxPrintQuality",0},
c368d904 10215 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler},
2d091820
RD
10216{0,0,0}};
10217
d24a34bb
RD
10218static PyObject *SWIG_globals;
10219#ifdef __cplusplus
10220extern "C"
10221#endif
2d091820 10222SWIGEXPORT(void) initmisc2c() {
d24a34bb
RD
10223 PyObject *m, *d;
10224 SWIG_globals = SWIG_newvarlink();
10225 m = Py_InitModule("misc2c", misc2cMethods);
10226 d = PyModule_GetDict(m);
bc29c5e0
RD
10227 PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH));
10228 PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH));
10229 PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH));
10230 PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH));
10231 PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH));
10232 PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH));
10233 PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH));
10234 PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN));
10235 PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN));
10236 PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN));
10237 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
10238 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
10239 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
10240 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
10241 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
10242 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
10243 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
10244 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
10245 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
10246 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
10247 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
10248 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
10249 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
10250 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
10251 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
10252 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
10253 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
10254 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
10255 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
10256 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
10257 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
10258 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
10259 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
10260 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
10261 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
10262 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
10263 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
10264 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
10265 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
10266 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
10267 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
10268 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
10269 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
10270 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
10271 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
10272 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
10273 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
10274 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
10275 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
10276 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
10277 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
10278 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
10279 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
10280 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
10281 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
10282 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
10283 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
10284 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
10285 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
10286 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
10287 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
10288 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
10289 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
10290 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
10291 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
10292 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
10293 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
10294 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
10295 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
10296 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
10297 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
10298 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
10299 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
10300 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
10301 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
10302 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
10303 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
10304 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
10305 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
10306 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
10307 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
10308 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
10309 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
10310 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
10311 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
10312 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
f6bcfd97
BP
10313 PyDict_SetItemString(d,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError));
10314 PyDict_SetItemString(d,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error));
10315 PyDict_SetItemString(d,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning));
10316 PyDict_SetItemString(d,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message));
10317 PyDict_SetItemString(d,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info));
10318 PyDict_SetItemString(d,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status));
10319 PyDict_SetItemString(d,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug));
10320 PyDict_SetItemString(d,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace));
10321 PyDict_SetItemString(d,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress));
10322 PyDict_SetItemString(d,"wxLOG_User", PyInt_FromLong((long) wxLOG_User));
9c4165ad 10323 PyDict_SetItemString(d,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS));
5c0282d5
RD
10324 PyDict_SetItemString(d,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD));
10325 PyDict_SetItemString(d,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE));
10326 PyDict_SetItemString(d,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE));
10327 PyDict_SetItemString(d,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME));
10328 PyDict_SetItemString(d,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL));
10329 PyDict_SetItemString(d,"cvar", SWIG_globals);
10330 SWIG_addvarlink(SWIG_globals,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get, _wrap_wxTheMimeTypesManager_set);
9df61a29
RD
10331
10332 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10333 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10334 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
2d091820
RD
10335{
10336 int i;
10337 for (i = 0; _swig_mapping[i].n1; i++)
10338 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
10339}
d24a34bb 10340}