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