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