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