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