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