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