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