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