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