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