]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/misc2.cpp
In GetPath(), don't append separator if there's already one at the end
[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 ) wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxDD_NEW_DIR_BUTTON;
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_wxExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject * _resultobj;
2329 long _result;
2330 wxString * _arg0;
2331 int _arg1 = (int ) (wxEXEC_ASYNC);
2332 wxPyProcess * _arg2 = (wxPyProcess *) NULL;
2333 PyObject * _obj0 = 0;
2334 PyObject * _argo2 = 0;
2335 char *_kwnames[] = { "command","flags","process", NULL };
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxExecute",_kwnames,&_obj0,&_arg1,&_argo2))
2339 return NULL;
2340 {
2341 _arg0 = wxString_in_helper(_obj0);
2342 if (_arg0 == NULL)
2343 return NULL;
2344 }
2345 if (_argo2) {
2346 if (_argo2 == Py_None) { _arg2 = NULL; }
2347 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyProcess_p")) {
2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2349 return NULL;
2350 }
2351 }
2352 {
2353 PyThreadState* __tstate = wxPyBeginAllowThreads();
2354 _result = (long )wxExecute(*_arg0,_arg1,_arg2);
2355
2356 wxPyEndAllowThreads(__tstate);
2357 if (PyErr_Occurred()) return NULL;
2358 } _resultobj = Py_BuildValue("l",_result);
2359 {
2360 if (_obj0)
2361 delete _arg0;
2362 }
2363 return _resultobj;
2364 }
2365
2366 static PyObject *_wrap_wxWaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
2367 PyObject * _resultobj;
2368 wxWave * _result;
2369 wxString * _arg0;
2370 PyObject * _obj0 = 0;
2371 char *_kwnames[] = { "data", NULL };
2372 char _ptemp[128];
2373
2374 self = self;
2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWaveData",_kwnames,&_obj0))
2376 return NULL;
2377 {
2378 _arg0 = wxString_in_helper(_obj0);
2379 if (_arg0 == NULL)
2380 return NULL;
2381 }
2382 {
2383 PyThreadState* __tstate = wxPyBeginAllowThreads();
2384 _result = (wxWave *)wxWaveData(*_arg0);
2385
2386 wxPyEndAllowThreads(__tstate);
2387 if (PyErr_Occurred()) return NULL;
2388 } if (_result) {
2389 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
2390 _resultobj = Py_BuildValue("s",_ptemp);
2391 } else {
2392 Py_INCREF(Py_None);
2393 _resultobj = Py_None;
2394 }
2395 {
2396 if (_obj0)
2397 delete _arg0;
2398 }
2399 return _resultobj;
2400 }
2401
2402 static int _wrap_wxTheMimeTypesManager_set(PyObject *val) {
2403
2404 PyErr_SetString(PyExc_TypeError,"Variable wxTheMimeTypesManager is read-only.");
2405 return 1;
2406 }
2407
2408 static PyObject *_wrap_wxTheMimeTypesManager_get() {
2409 PyObject * pyobj;
2410 char ptemp[128];
2411
2412 SWIG_MakePtr(ptemp, (char *) wxTheMimeTypesManager,"_wxMimeTypesManager_p");
2413 pyobj = PyString_FromString(ptemp);
2414 return pyobj;
2415 }
2416
2417 static PyObject *_wrap_wxSystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2418 PyObject * _resultobj;
2419 wxColour * _result;
2420 wxSystemColour _arg0;
2421 char *_kwnames[] = { "index", NULL };
2422 char _ptemp[128];
2423
2424 self = self;
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetColour",_kwnames,&_arg0))
2426 return NULL;
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 _result = new wxColour (wxSystemSettings::GetColour(_arg0));
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) return NULL;
2433 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2434 _resultobj = Py_BuildValue("s",_ptemp);
2435 return _resultobj;
2436 }
2437
2438 static PyObject *_wrap_wxSystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject * _resultobj;
2440 wxFont * _result;
2441 wxSystemFont _arg0;
2442 char *_kwnames[] = { "index", NULL };
2443 char _ptemp[128];
2444
2445 self = self;
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetFont",_kwnames,&_arg0))
2447 return NULL;
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 _result = new wxFont (wxSystemSettings::GetFont(_arg0));
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) return NULL;
2454 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
2455 _resultobj = Py_BuildValue("s",_ptemp);
2456 return _resultobj;
2457 }
2458
2459 static PyObject *_wrap_wxSystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
2460 PyObject * _resultobj;
2461 int _result;
2462 wxSystemMetric _arg0;
2463 char *_kwnames[] = { "index", NULL };
2464
2465 self = self;
2466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetMetric",_kwnames,&_arg0))
2467 return NULL;
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 _result = (int )wxSystemSettings::GetMetric(_arg0);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) return NULL;
2474 } _resultobj = Py_BuildValue("i",_result);
2475 return _resultobj;
2476 }
2477
2478 static PyObject *_wrap_wxSystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject * _resultobj;
2480 bool _result;
2481 wxSystemFeature _arg0;
2482 char *_kwnames[] = { "index", NULL };
2483
2484 self = self;
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_HasFeature",_kwnames,&_arg0))
2486 return NULL;
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 _result = (bool )wxSystemSettings::HasFeature(_arg0);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) return NULL;
2493 } _resultobj = Py_BuildValue("i",_result);
2494 return _resultobj;
2495 }
2496
2497 static void *SwigwxToolTipTowxObject(void *ptr) {
2498 wxToolTip *src;
2499 wxObject *dest;
2500 src = (wxToolTip *) ptr;
2501 dest = (wxObject *) src;
2502 return (void *) dest;
2503 }
2504
2505 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2506 static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject * _resultobj;
2508 wxToolTip * _result;
2509 wxString * _arg0;
2510 PyObject * _obj0 = 0;
2511 char *_kwnames[] = { "tip", NULL };
2512 char _ptemp[128];
2513
2514 self = self;
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
2516 return NULL;
2517 {
2518 _arg0 = wxString_in_helper(_obj0);
2519 if (_arg0 == NULL)
2520 return NULL;
2521 }
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 _result = (wxToolTip *)new_wxToolTip(*_arg0);
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) return NULL;
2528 } if (_result) {
2529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
2530 _resultobj = Py_BuildValue("s",_ptemp);
2531 } else {
2532 Py_INCREF(Py_None);
2533 _resultobj = Py_None;
2534 }
2535 {
2536 if (_obj0)
2537 delete _arg0;
2538 }
2539 return _resultobj;
2540 }
2541
2542 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2543 static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2544 PyObject * _resultobj;
2545 wxToolTip * _arg0;
2546 wxString * _arg1;
2547 PyObject * _argo0 = 0;
2548 PyObject * _obj1 = 0;
2549 char *_kwnames[] = { "self","tip", NULL };
2550
2551 self = self;
2552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
2553 return NULL;
2554 if (_argo0) {
2555 if (_argo0 == Py_None) { _arg0 = NULL; }
2556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2558 return NULL;
2559 }
2560 }
2561 {
2562 _arg1 = wxString_in_helper(_obj1);
2563 if (_arg1 == NULL)
2564 return NULL;
2565 }
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 wxToolTip_SetTip(_arg0,*_arg1);
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) return NULL;
2572 } Py_INCREF(Py_None);
2573 _resultobj = Py_None;
2574 {
2575 if (_obj1)
2576 delete _arg1;
2577 }
2578 return _resultobj;
2579 }
2580
2581 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2582 static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
2583 PyObject * _resultobj;
2584 wxString * _result;
2585 wxToolTip * _arg0;
2586 PyObject * _argo0 = 0;
2587 char *_kwnames[] = { "self", NULL };
2588
2589 self = self;
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
2591 return NULL;
2592 if (_argo0) {
2593 if (_argo0 == Py_None) { _arg0 = NULL; }
2594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2596 return NULL;
2597 }
2598 }
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 _result = new wxString (wxToolTip_GetTip(_arg0));
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) return NULL;
2605 }{
2606 #if wxUSE_UNICODE
2607 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2608 #else
2609 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2610 #endif
2611 }
2612 {
2613 delete _result;
2614 }
2615 return _resultobj;
2616 }
2617
2618 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2619 static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2620 PyObject * _resultobj;
2621 wxWindow * _result;
2622 wxToolTip * _arg0;
2623 PyObject * _argo0 = 0;
2624 char *_kwnames[] = { "self", NULL };
2625
2626 self = self;
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
2628 return NULL;
2629 if (_argo0) {
2630 if (_argo0 == Py_None) { _arg0 = NULL; }
2631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
2632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2633 return NULL;
2634 }
2635 }
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) return NULL;
2642 }{ _resultobj = wxPyMake_wxObject(_result); }
2643 return _resultobj;
2644 }
2645
2646 static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
2647 PyObject * _resultobj;
2648 bool _arg0;
2649 int tempbool0;
2650 char *_kwnames[] = { "flag", NULL };
2651
2652 self = self;
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
2654 return NULL;
2655 _arg0 = (bool ) tempbool0;
2656 {
2657 PyThreadState* __tstate = wxPyBeginAllowThreads();
2658 wxToolTip::Enable(_arg0);
2659
2660 wxPyEndAllowThreads(__tstate);
2661 if (PyErr_Occurred()) return NULL;
2662 } Py_INCREF(Py_None);
2663 _resultobj = Py_None;
2664 return _resultobj;
2665 }
2666
2667 static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject * _resultobj;
2669 long _arg0;
2670 char *_kwnames[] = { "milliseconds", NULL };
2671
2672 self = self;
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
2674 return NULL;
2675 {
2676 PyThreadState* __tstate = wxPyBeginAllowThreads();
2677 wxToolTip::SetDelay(_arg0);
2678
2679 wxPyEndAllowThreads(__tstate);
2680 if (PyErr_Occurred()) return NULL;
2681 } Py_INCREF(Py_None);
2682 _resultobj = Py_None;
2683 return _resultobj;
2684 }
2685
2686 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2687 static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject * _resultobj;
2689 wxCaret * _result;
2690 wxWindow * _arg0;
2691 wxSize * _arg1;
2692 PyObject * _argo0 = 0;
2693 wxSize temp;
2694 PyObject * _obj1 = 0;
2695 char *_kwnames[] = { "window","size", NULL };
2696 char _ptemp[128];
2697
2698 self = self;
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1))
2700 return NULL;
2701 if (_argo0) {
2702 if (_argo0 == Py_None) { _arg0 = NULL; }
2703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2705 return NULL;
2706 }
2707 }
2708 {
2709 _arg1 = &temp;
2710 if (! wxSize_helper(_obj1, &_arg1))
2711 return NULL;
2712 }
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 _result = (wxCaret *)new_wxCaret(_arg0,*_arg1);
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) return NULL;
2719 } if (_result) {
2720 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
2721 _resultobj = Py_BuildValue("s",_ptemp);
2722 } else {
2723 Py_INCREF(Py_None);
2724 _resultobj = Py_None;
2725 }
2726 return _resultobj;
2727 }
2728
2729 #define delete_wxCaret(_swigobj) (delete _swigobj)
2730 static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject * _resultobj;
2732 wxCaret * _arg0;
2733 PyObject * _argo0 = 0;
2734 char *_kwnames[] = { "self", NULL };
2735
2736 self = self;
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0))
2738 return NULL;
2739 if (_argo0) {
2740 if (_argo0 == Py_None) { _arg0 = NULL; }
2741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2743 return NULL;
2744 }
2745 }
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 delete_wxCaret(_arg0);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) return NULL;
2752 } Py_INCREF(Py_None);
2753 _resultobj = Py_None;
2754 return _resultobj;
2755 }
2756
2757 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2758 static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject * _resultobj;
2760 bool _result;
2761 wxCaret * _arg0;
2762 PyObject * _argo0 = 0;
2763 char *_kwnames[] = { "self", NULL };
2764
2765 self = self;
2766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0))
2767 return NULL;
2768 if (_argo0) {
2769 if (_argo0 == Py_None) { _arg0 = NULL; }
2770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2772 return NULL;
2773 }
2774 }
2775 {
2776 PyThreadState* __tstate = wxPyBeginAllowThreads();
2777 _result = (bool )wxCaret_IsOk(_arg0);
2778
2779 wxPyEndAllowThreads(__tstate);
2780 if (PyErr_Occurred()) return NULL;
2781 } _resultobj = Py_BuildValue("i",_result);
2782 return _resultobj;
2783 }
2784
2785 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2786 static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject * _resultobj;
2788 bool _result;
2789 wxCaret * _arg0;
2790 PyObject * _argo0 = 0;
2791 char *_kwnames[] = { "self", NULL };
2792
2793 self = self;
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0))
2795 return NULL;
2796 if (_argo0) {
2797 if (_argo0 == Py_None) { _arg0 = NULL; }
2798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2800 return NULL;
2801 }
2802 }
2803 {
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 _result = (bool )wxCaret_IsVisible(_arg0);
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) return NULL;
2809 } _resultobj = Py_BuildValue("i",_result);
2810 return _resultobj;
2811 }
2812
2813 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2814 static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject * _resultobj;
2816 wxCaret * _arg0;
2817 int * _arg1;
2818 int temp;
2819 int * _arg2;
2820 int temp0;
2821 PyObject * _argo0 = 0;
2822 char *_kwnames[] = { "self", NULL };
2823
2824 self = self;
2825 {
2826 _arg1 = &temp;
2827 }
2828 {
2829 _arg2 = &temp0;
2830 }
2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0))
2832 return NULL;
2833 if (_argo0) {
2834 if (_argo0 == Py_None) { _arg0 = NULL; }
2835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2837 return NULL;
2838 }
2839 }
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 wxCaret_GetPositionTuple(_arg0,_arg1,_arg2);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) return NULL;
2846 } Py_INCREF(Py_None);
2847 _resultobj = Py_None;
2848 {
2849 PyObject *o;
2850 o = PyInt_FromLong((long) (*_arg1));
2851 _resultobj = t_output_helper(_resultobj, o);
2852 }
2853 {
2854 PyObject *o;
2855 o = PyInt_FromLong((long) (*_arg2));
2856 _resultobj = t_output_helper(_resultobj, o);
2857 }
2858 return _resultobj;
2859 }
2860
2861 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2862 static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject * _resultobj;
2864 wxPoint * _result;
2865 wxCaret * _arg0;
2866 PyObject * _argo0 = 0;
2867 char *_kwnames[] = { "self", NULL };
2868 char _ptemp[128];
2869
2870 self = self;
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_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_GetPosition. Expected _wxCaret_p.");
2877 return NULL;
2878 }
2879 }
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 _result = new wxPoint (wxCaret_GetPosition(_arg0));
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) return NULL;
2886 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2887 _resultobj = Py_BuildValue("s",_ptemp);
2888 return _resultobj;
2889 }
2890
2891 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2892 static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2893 PyObject * _resultobj;
2894 wxCaret * _arg0;
2895 int * _arg1;
2896 int temp;
2897 int * _arg2;
2898 int temp0;
2899 PyObject * _argo0 = 0;
2900 char *_kwnames[] = { "self", NULL };
2901
2902 self = self;
2903 {
2904 _arg1 = &temp;
2905 }
2906 {
2907 _arg2 = &temp0;
2908 }
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0))
2910 return NULL;
2911 if (_argo0) {
2912 if (_argo0 == Py_None) { _arg0 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2915 return NULL;
2916 }
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 wxCaret_GetSizeTuple(_arg0,_arg1,_arg2);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) return NULL;
2924 } Py_INCREF(Py_None);
2925 _resultobj = Py_None;
2926 {
2927 PyObject *o;
2928 o = PyInt_FromLong((long) (*_arg1));
2929 _resultobj = t_output_helper(_resultobj, o);
2930 }
2931 {
2932 PyObject *o;
2933 o = PyInt_FromLong((long) (*_arg2));
2934 _resultobj = t_output_helper(_resultobj, o);
2935 }
2936 return _resultobj;
2937 }
2938
2939 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2940 static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject * _resultobj;
2942 wxSize * _result;
2943 wxCaret * _arg0;
2944 PyObject * _argo0 = 0;
2945 char *_kwnames[] = { "self", NULL };
2946 char _ptemp[128];
2947
2948 self = self;
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0))
2950 return NULL;
2951 if (_argo0) {
2952 if (_argo0 == Py_None) { _arg0 = NULL; }
2953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2955 return NULL;
2956 }
2957 }
2958 {
2959 PyThreadState* __tstate = wxPyBeginAllowThreads();
2960 _result = new wxSize (wxCaret_GetSize(_arg0));
2961
2962 wxPyEndAllowThreads(__tstate);
2963 if (PyErr_Occurred()) return NULL;
2964 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2965 _resultobj = Py_BuildValue("s",_ptemp);
2966 return _resultobj;
2967 }
2968
2969 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2970 static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject * _resultobj;
2972 wxWindow * _result;
2973 wxCaret * _arg0;
2974 PyObject * _argo0 = 0;
2975 char *_kwnames[] = { "self", NULL };
2976
2977 self = self;
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0))
2979 return NULL;
2980 if (_argo0) {
2981 if (_argo0 == Py_None) { _arg0 = NULL; }
2982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
2983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2984 return NULL;
2985 }
2986 }
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 _result = (wxWindow *)wxCaret_GetWindow(_arg0);
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) return NULL;
2993 }{ _resultobj = wxPyMake_wxObject(_result); }
2994 return _resultobj;
2995 }
2996
2997 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2998 static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2999 PyObject * _resultobj;
3000 wxCaret * _arg0;
3001 int _arg1;
3002 int _arg2;
3003 PyObject * _argo0 = 0;
3004 char *_kwnames[] = { "self","x","y", NULL };
3005
3006 self = self;
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
3008 return NULL;
3009 if (_argo0) {
3010 if (_argo0 == Py_None) { _arg0 = NULL; }
3011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3013 return NULL;
3014 }
3015 }
3016 {
3017 PyThreadState* __tstate = wxPyBeginAllowThreads();
3018 wxCaret_MoveXY(_arg0,_arg1,_arg2);
3019
3020 wxPyEndAllowThreads(__tstate);
3021 if (PyErr_Occurred()) return NULL;
3022 } Py_INCREF(Py_None);
3023 _resultobj = Py_None;
3024 return _resultobj;
3025 }
3026
3027 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3028 static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
3029 PyObject * _resultobj;
3030 wxCaret * _arg0;
3031 wxPoint * _arg1;
3032 PyObject * _argo0 = 0;
3033 wxPoint temp;
3034 PyObject * _obj1 = 0;
3035 char *_kwnames[] = { "self","pt", NULL };
3036
3037 self = self;
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1))
3039 return NULL;
3040 if (_argo0) {
3041 if (_argo0 == Py_None) { _arg0 = NULL; }
3042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3044 return NULL;
3045 }
3046 }
3047 {
3048 _arg1 = &temp;
3049 if (! wxPoint_helper(_obj1, &_arg1))
3050 return NULL;
3051 }
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 wxCaret_Move(_arg0,*_arg1);
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) return NULL;
3058 } Py_INCREF(Py_None);
3059 _resultobj = Py_None;
3060 return _resultobj;
3061 }
3062
3063 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3064 static PyObject *_wrap_wxCaret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject * _resultobj;
3066 wxCaret * _arg0;
3067 int _arg1;
3068 int _arg2;
3069 PyObject * _argo0 = 0;
3070 char *_kwnames[] = { "self","width","height", NULL };
3071
3072 self = self;
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_SetSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
3074 return NULL;
3075 if (_argo0) {
3076 if (_argo0 == Py_None) { _arg0 = NULL; }
3077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3079 return NULL;
3080 }
3081 }
3082 {
3083 PyThreadState* __tstate = wxPyBeginAllowThreads();
3084 wxCaret_SetSizeWH(_arg0,_arg1,_arg2);
3085
3086 wxPyEndAllowThreads(__tstate);
3087 if (PyErr_Occurred()) return NULL;
3088 } Py_INCREF(Py_None);
3089 _resultobj = Py_None;
3090 return _resultobj;
3091 }
3092
3093 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3094 static PyObject *_wrap_wxCaret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject * _resultobj;
3096 wxCaret * _arg0;
3097 wxSize * _arg1;
3098 PyObject * _argo0 = 0;
3099 wxSize temp;
3100 PyObject * _obj1 = 0;
3101 char *_kwnames[] = { "self","size", NULL };
3102
3103 self = self;
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_SetSize",_kwnames,&_argo0,&_obj1))
3105 return NULL;
3106 if (_argo0) {
3107 if (_argo0 == Py_None) { _arg0 = NULL; }
3108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3110 return NULL;
3111 }
3112 }
3113 {
3114 _arg1 = &temp;
3115 if (! wxSize_helper(_obj1, &_arg1))
3116 return NULL;
3117 }
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 wxCaret_SetSize(_arg0,*_arg1);
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) return NULL;
3124 } Py_INCREF(Py_None);
3125 _resultobj = Py_None;
3126 return _resultobj;
3127 }
3128
3129 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3130 static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject * _resultobj;
3132 wxCaret * _arg0;
3133 int _arg1 = (int ) TRUE;
3134 PyObject * _argo0 = 0;
3135 char *_kwnames[] = { "self","show", NULL };
3136
3137 self = self;
3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
3139 return NULL;
3140 if (_argo0) {
3141 if (_argo0 == Py_None) { _arg0 = NULL; }
3142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3144 return NULL;
3145 }
3146 }
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 wxCaret_Show(_arg0,_arg1);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) return NULL;
3153 } Py_INCREF(Py_None);
3154 _resultobj = Py_None;
3155 return _resultobj;
3156 }
3157
3158 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3159 static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject * _resultobj;
3161 wxCaret * _arg0;
3162 PyObject * _argo0 = 0;
3163 char *_kwnames[] = { "self", NULL };
3164
3165 self = self;
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
3167 return NULL;
3168 if (_argo0) {
3169 if (_argo0 == Py_None) { _arg0 = NULL; }
3170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
3171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3172 return NULL;
3173 }
3174 }
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 wxCaret_Hide(_arg0);
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) return NULL;
3181 } Py_INCREF(Py_None);
3182 _resultobj = Py_None;
3183 return _resultobj;
3184 }
3185
3186 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3187 static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3188 PyObject * _resultobj;
3189 wxBusyCursor * _result;
3190 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
3191 PyObject * _argo0 = 0;
3192 char *_kwnames[] = { "cursor", NULL };
3193 char _ptemp[128];
3194
3195 self = self;
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0))
3197 return NULL;
3198 if (_argo0) {
3199 if (_argo0 == Py_None) { _arg0 = NULL; }
3200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3202 return NULL;
3203 }
3204 }
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 _result = (wxBusyCursor *)new_wxBusyCursor(_arg0);
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) return NULL;
3211 } if (_result) {
3212 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p");
3213 _resultobj = Py_BuildValue("s",_ptemp);
3214 } else {
3215 Py_INCREF(Py_None);
3216 _resultobj = Py_None;
3217 }
3218 return _resultobj;
3219 }
3220
3221 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3222 static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3223 PyObject * _resultobj;
3224 wxBusyCursor * _arg0;
3225 PyObject * _argo0 = 0;
3226 char *_kwnames[] = { "self", NULL };
3227
3228 self = self;
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0))
3230 return NULL;
3231 if (_argo0) {
3232 if (_argo0 == Py_None) { _arg0 = NULL; }
3233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) {
3234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3235 return NULL;
3236 }
3237 }
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 delete_wxBusyCursor(_arg0);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) return NULL;
3244 } Py_INCREF(Py_None);
3245 _resultobj = Py_None;
3246 return _resultobj;
3247 }
3248
3249 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3250 static PyObject *_wrap_new_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject * _resultobj;
3252 wxWindowDisabler * _result;
3253 wxWindow * _arg0 = (wxWindow *) NULL;
3254 PyObject * _argo0 = 0;
3255 char *_kwnames[] = { "winToSkip", NULL };
3256 char _ptemp[128];
3257
3258 self = self;
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDisabler",_kwnames,&_argo0))
3260 return NULL;
3261 if (_argo0) {
3262 if (_argo0 == Py_None) { _arg0 = NULL; }
3263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3265 return NULL;
3266 }
3267 }
3268 {
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
3270 _result = (wxWindowDisabler *)new_wxWindowDisabler(_arg0);
3271
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) return NULL;
3274 } if (_result) {
3275 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDisabler_p");
3276 _resultobj = Py_BuildValue("s",_ptemp);
3277 } else {
3278 Py_INCREF(Py_None);
3279 _resultobj = Py_None;
3280 }
3281 return _resultobj;
3282 }
3283
3284 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3285 static PyObject *_wrap_delete_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject * _resultobj;
3287 wxWindowDisabler * _arg0;
3288 PyObject * _argo0 = 0;
3289 char *_kwnames[] = { "self", NULL };
3290
3291 self = self;
3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWindowDisabler",_kwnames,&_argo0))
3293 return NULL;
3294 if (_argo0) {
3295 if (_argo0 == Py_None) { _arg0 = NULL; }
3296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDisabler_p")) {
3297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3298 return NULL;
3299 }
3300 }
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 delete_wxWindowDisabler(_arg0);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) return NULL;
3307 } Py_INCREF(Py_None);
3308 _resultobj = Py_None;
3309 return _resultobj;
3310 }
3311
3312 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3313 static PyObject *_wrap_new_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject * _resultobj;
3315 wxMutexGuiLocker * _result;
3316 char *_kwnames[] = { NULL };
3317 char _ptemp[128];
3318
3319 self = self;
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMutexGuiLocker",_kwnames))
3321 return NULL;
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 _result = (wxMutexGuiLocker *)new_wxMutexGuiLocker();
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) return NULL;
3328 } if (_result) {
3329 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMutexGuiLocker_p");
3330 _resultobj = Py_BuildValue("s",_ptemp);
3331 } else {
3332 Py_INCREF(Py_None);
3333 _resultobj = Py_None;
3334 }
3335 return _resultobj;
3336 }
3337
3338 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3339 static PyObject *_wrap_delete_wxMutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3340 PyObject * _resultobj;
3341 wxMutexGuiLocker * _arg0;
3342 PyObject * _argo0 = 0;
3343 char *_kwnames[] = { "self", NULL };
3344
3345 self = self;
3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMutexGuiLocker",_kwnames,&_argo0))
3347 return NULL;
3348 if (_argo0) {
3349 if (_argo0 == Py_None) { _arg0 = NULL; }
3350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMutexGuiLocker_p")) {
3351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3352 return NULL;
3353 }
3354 }
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 delete_wxMutexGuiLocker(_arg0);
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) return NULL;
3361 } Py_INCREF(Py_None);
3362 _resultobj = Py_None;
3363 return _resultobj;
3364 }
3365
3366 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3367 static PyObject *_wrap_delete_wxTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3368 PyObject * _resultobj;
3369 wxTipProvider * _arg0;
3370 PyObject * _argo0 = 0;
3371 char *_kwnames[] = { "self", NULL };
3372
3373 self = self;
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTipProvider",_kwnames,&_argo0))
3375 return NULL;
3376 if (_argo0) {
3377 if (_argo0 == Py_None) { _arg0 = NULL; }
3378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3380 return NULL;
3381 }
3382 }
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 delete_wxTipProvider(_arg0);
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) return NULL;
3389 } Py_INCREF(Py_None);
3390 _resultobj = Py_None;
3391 return _resultobj;
3392 }
3393
3394 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3395 static PyObject *_wrap_wxTipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject * _resultobj;
3397 wxString * _result;
3398 wxTipProvider * _arg0;
3399 PyObject * _argo0 = 0;
3400 char *_kwnames[] = { "self", NULL };
3401
3402 self = self;
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetTip",_kwnames,&_argo0))
3404 return NULL;
3405 if (_argo0) {
3406 if (_argo0 == Py_None) { _arg0 = NULL; }
3407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3409 return NULL;
3410 }
3411 }
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 _result = new wxString (wxTipProvider_GetTip(_arg0));
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) return NULL;
3418 }{
3419 #if wxUSE_UNICODE
3420 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3421 #else
3422 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3423 #endif
3424 }
3425 {
3426 delete _result;
3427 }
3428 return _resultobj;
3429 }
3430
3431 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3432 static PyObject *_wrap_wxTipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject * _resultobj;
3434 size_t _result;
3435 wxTipProvider * _arg0;
3436 PyObject * _argo0 = 0;
3437 char *_kwnames[] = { "self", NULL };
3438
3439 self = self;
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetCurrentTip",_kwnames,&_argo0))
3441 return NULL;
3442 if (_argo0) {
3443 if (_argo0 == Py_None) { _arg0 = NULL; }
3444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) {
3445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3446 return NULL;
3447 }
3448 }
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 _result = (size_t )wxTipProvider_GetCurrentTip(_arg0);
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) return NULL;
3455 } _resultobj = Py_BuildValue("i",_result);
3456 return _resultobj;
3457 }
3458
3459 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr) {
3460 wxPyTipProvider *src;
3461 wxTipProvider *dest;
3462 src = (wxPyTipProvider *) ptr;
3463 dest = (wxTipProvider *) src;
3464 return (void *) dest;
3465 }
3466
3467 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3468 static PyObject *_wrap_new_wxPyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject * _resultobj;
3470 wxPyTipProvider * _result;
3471 size_t _arg0;
3472 char *_kwnames[] = { "currentTip", NULL };
3473 char _ptemp[128];
3474
3475 self = self;
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxPyTipProvider",_kwnames,&_arg0))
3477 return NULL;
3478 {
3479 PyThreadState* __tstate = wxPyBeginAllowThreads();
3480 _result = (wxPyTipProvider *)new_wxPyTipProvider(_arg0);
3481
3482 wxPyEndAllowThreads(__tstate);
3483 if (PyErr_Occurred()) return NULL;
3484 } if (_result) {
3485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTipProvider_p");
3486 _resultobj = Py_BuildValue("s",_ptemp);
3487 } else {
3488 Py_INCREF(Py_None);
3489 _resultobj = Py_None;
3490 }
3491 return _resultobj;
3492 }
3493
3494 static void *SwigwxGenericDragImageTowxObject(void *ptr) {
3495 wxGenericDragImage *src;
3496 wxObject *dest;
3497 src = (wxGenericDragImage *) ptr;
3498 dest = (wxObject *) src;
3499 return (void *) dest;
3500 }
3501
3502 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3503 static PyObject *_wrap_new_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject * _resultobj;
3505 wxGenericDragImage * _result;
3506 wxBitmap * _arg0;
3507 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3508 PyObject * _argo0 = 0;
3509 PyObject * _argo1 = 0;
3510 char *_kwnames[] = { "image","cursor", NULL };
3511 char _ptemp[128];
3512
3513 self = self;
3514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragImage",_kwnames,&_argo0,&_argo1))
3515 return NULL;
3516 if (_argo0) {
3517 if (_argo0 == Py_None) { _arg0 = NULL; }
3518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
3519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3520 return NULL;
3521 }
3522 }
3523 if (_argo1) {
3524 if (_argo1 == Py_None) { _arg1 = NULL; }
3525 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3526 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3527 return NULL;
3528 }
3529 }
3530 {
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 _result = (wxGenericDragImage *)new_wxDragImage(*_arg0,*_arg1);
3533
3534 wxPyEndAllowThreads(__tstate);
3535 if (PyErr_Occurred()) return NULL;
3536 } if (_result) {
3537 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3538 _resultobj = Py_BuildValue("s",_ptemp);
3539 } else {
3540 Py_INCREF(Py_None);
3541 _resultobj = Py_None;
3542 }
3543 return _resultobj;
3544 }
3545
3546 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3547 static PyObject *_wrap_new_wxDragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3548 PyObject * _resultobj;
3549 wxGenericDragImage * _result;
3550 wxIcon * _arg0;
3551 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3552 PyObject * _argo0 = 0;
3553 PyObject * _argo1 = 0;
3554 char *_kwnames[] = { "image","cursor", NULL };
3555 char _ptemp[128];
3556
3557 self = self;
3558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragIcon",_kwnames,&_argo0,&_argo1))
3559 return NULL;
3560 if (_argo0) {
3561 if (_argo0 == Py_None) { _arg0 = NULL; }
3562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
3563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3564 return NULL;
3565 }
3566 }
3567 if (_argo1) {
3568 if (_argo1 == Py_None) { _arg1 = NULL; }
3569 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3570 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3571 return NULL;
3572 }
3573 }
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 _result = (wxGenericDragImage *)new_wxDragIcon(*_arg0,*_arg1);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) return NULL;
3580 } if (_result) {
3581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3582 _resultobj = Py_BuildValue("s",_ptemp);
3583 } else {
3584 Py_INCREF(Py_None);
3585 _resultobj = Py_None;
3586 }
3587 return _resultobj;
3588 }
3589
3590 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3591 static PyObject *_wrap_new_wxDragString(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject * _resultobj;
3593 wxGenericDragImage * _result;
3594 wxString * _arg0;
3595 wxCursor * _arg1 = (wxCursor *) &wxNullCursor;
3596 PyObject * _obj0 = 0;
3597 PyObject * _argo1 = 0;
3598 char *_kwnames[] = { "str","cursor", NULL };
3599 char _ptemp[128];
3600
3601 self = self;
3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxDragString",_kwnames,&_obj0,&_argo1))
3603 return NULL;
3604 {
3605 _arg0 = wxString_in_helper(_obj0);
3606 if (_arg0 == NULL)
3607 return NULL;
3608 }
3609 if (_argo1) {
3610 if (_argo1 == Py_None) { _arg1 = NULL; }
3611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
3612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3613 return NULL;
3614 }
3615 }
3616 {
3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
3618 _result = (wxGenericDragImage *)new_wxDragString(*_arg0,*_arg1);
3619
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) return NULL;
3622 } if (_result) {
3623 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3624 _resultobj = Py_BuildValue("s",_ptemp);
3625 } else {
3626 Py_INCREF(Py_None);
3627 _resultobj = Py_None;
3628 }
3629 {
3630 if (_obj0)
3631 delete _arg0;
3632 }
3633 return _resultobj;
3634 }
3635
3636 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3637 static PyObject *_wrap_new_wxDragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3638 PyObject * _resultobj;
3639 wxGenericDragImage * _result;
3640 wxTreeCtrl * _arg0;
3641 wxTreeItemId * _arg1;
3642 PyObject * _argo0 = 0;
3643 PyObject * _argo1 = 0;
3644 char *_kwnames[] = { "treeCtrl","id", NULL };
3645 char _ptemp[128];
3646
3647 self = self;
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxDragTreeItem",_kwnames,&_argo0,&_argo1))
3649 return NULL;
3650 if (_argo0) {
3651 if (_argo0 == Py_None) { _arg0 = NULL; }
3652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3654 return NULL;
3655 }
3656 }
3657 if (_argo1) {
3658 if (_argo1 == Py_None) { _arg1 = NULL; }
3659 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
3660 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3661 return NULL;
3662 }
3663 }
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 _result = (wxGenericDragImage *)new_wxDragTreeItem(*_arg0,*_arg1);
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) return NULL;
3670 } if (_result) {
3671 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3672 _resultobj = Py_BuildValue("s",_ptemp);
3673 } else {
3674 Py_INCREF(Py_None);
3675 _resultobj = Py_None;
3676 }
3677 return _resultobj;
3678 }
3679
3680 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3681 static PyObject *_wrap_new_wxDragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject * _resultobj;
3683 wxGenericDragImage * _result;
3684 wxListCtrl * _arg0;
3685 long _arg1;
3686 PyObject * _argo0 = 0;
3687 char *_kwnames[] = { "listCtrl","id", NULL };
3688 char _ptemp[128];
3689
3690 self = self;
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:new_wxDragListItem",_kwnames,&_argo0,&_arg1))
3692 return NULL;
3693 if (_argo0) {
3694 if (_argo0 == Py_None) { _arg0 = NULL; }
3695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) {
3696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3697 return NULL;
3698 }
3699 }
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 _result = (wxGenericDragImage *)new_wxDragListItem(*_arg0,_arg1);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) return NULL;
3706 } if (_result) {
3707 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p");
3708 _resultobj = Py_BuildValue("s",_ptemp);
3709 } else {
3710 Py_INCREF(Py_None);
3711 _resultobj = Py_None;
3712 }
3713 return _resultobj;
3714 }
3715
3716 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3717 static PyObject *_wrap_delete_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3718 PyObject * _resultobj;
3719 wxGenericDragImage * _arg0;
3720 PyObject * _argo0 = 0;
3721 char *_kwnames[] = { "self", NULL };
3722
3723 self = self;
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDragImage",_kwnames,&_argo0))
3725 return NULL;
3726 if (_argo0) {
3727 if (_argo0 == Py_None) { _arg0 = NULL; }
3728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3730 return NULL;
3731 }
3732 }
3733 {
3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
3735 delete_wxGenericDragImage(_arg0);
3736
3737 wxPyEndAllowThreads(__tstate);
3738 if (PyErr_Occurred()) return NULL;
3739 } Py_INCREF(Py_None);
3740 _resultobj = Py_None;
3741 return _resultobj;
3742 }
3743
3744 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3745 static PyObject *_wrap_wxDragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject * _resultobj;
3747 wxGenericDragImage * _arg0;
3748 wxBitmap * _arg1;
3749 PyObject * _argo0 = 0;
3750 PyObject * _argo1 = 0;
3751 char *_kwnames[] = { "self","bitmap", NULL };
3752
3753 self = self;
3754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_SetBackingBitmap",_kwnames,&_argo0,&_argo1))
3755 return NULL;
3756 if (_argo0) {
3757 if (_argo0 == Py_None) { _arg0 = NULL; }
3758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3760 return NULL;
3761 }
3762 }
3763 if (_argo1) {
3764 if (_argo1 == Py_None) { _arg1 = NULL; }
3765 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
3766 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3767 return NULL;
3768 }
3769 }
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 wxDragImage_SetBackingBitmap(_arg0,_arg1);
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) return NULL;
3776 } Py_INCREF(Py_None);
3777 _resultobj = Py_None;
3778 return _resultobj;
3779 }
3780
3781 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3782 static PyObject *_wrap_wxDragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
3783 PyObject * _resultobj;
3784 bool _result;
3785 wxGenericDragImage * _arg0;
3786 wxPoint * _arg1;
3787 wxWindow * _arg2;
3788 bool _arg3 = (bool ) FALSE;
3789 wxRect * _arg4 = (wxRect *) NULL;
3790 PyObject * _argo0 = 0;
3791 wxPoint temp;
3792 PyObject * _obj1 = 0;
3793 PyObject * _argo2 = 0;
3794 int tempbool3 = (int) FALSE;
3795 wxRect temp0;
3796 PyObject * _obj4 = 0;
3797 char *_kwnames[] = { "self","hotspot","window","fullScreen","rect", NULL };
3798
3799 self = self;
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iO:wxDragImage_BeginDrag",_kwnames,&_argo0,&_obj1,&_argo2,&tempbool3,&_obj4))
3801 return NULL;
3802 if (_argo0) {
3803 if (_argo0 == Py_None) { _arg0 = NULL; }
3804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3806 return NULL;
3807 }
3808 }
3809 {
3810 _arg1 = &temp;
3811 if (! wxPoint_helper(_obj1, &_arg1))
3812 return NULL;
3813 }
3814 if (_argo2) {
3815 if (_argo2 == Py_None) { _arg2 = NULL; }
3816 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3817 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3818 return NULL;
3819 }
3820 }
3821 _arg3 = (bool ) tempbool3;
3822 if (_obj4)
3823 {
3824 _arg4 = &temp0;
3825 if (! wxRect_helper(_obj4, &_arg4))
3826 return NULL;
3827 }
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 _result = (bool )wxDragImage_BeginDrag(_arg0,*_arg1,_arg2,_arg3,_arg4);
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) return NULL;
3834 } _resultobj = Py_BuildValue("i",_result);
3835 return _resultobj;
3836 }
3837
3838 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3839 static PyObject *_wrap_wxDragImage_BeginDrag2(PyObject *self, PyObject *args, PyObject *kwargs) {
3840 PyObject * _resultobj;
3841 bool _result;
3842 wxGenericDragImage * _arg0;
3843 wxPoint * _arg1;
3844 wxWindow * _arg2;
3845 wxWindow * _arg3;
3846 PyObject * _argo0 = 0;
3847 wxPoint temp;
3848 PyObject * _obj1 = 0;
3849 PyObject * _argo2 = 0;
3850 PyObject * _argo3 = 0;
3851 char *_kwnames[] = { "self","hotspot","window","fullScreenRect", NULL };
3852
3853 self = self;
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDragImage_BeginDrag2",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
3855 return NULL;
3856 if (_argo0) {
3857 if (_argo0 == Py_None) { _arg0 = NULL; }
3858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3860 return NULL;
3861 }
3862 }
3863 {
3864 _arg1 = &temp;
3865 if (! wxPoint_helper(_obj1, &_arg1))
3866 return NULL;
3867 }
3868 if (_argo2) {
3869 if (_argo2 == Py_None) { _arg2 = NULL; }
3870 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
3871 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3872 return NULL;
3873 }
3874 }
3875 if (_argo3) {
3876 if (_argo3 == Py_None) { _arg3 = NULL; }
3877 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
3878 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3879 return NULL;
3880 }
3881 }
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 _result = (bool )wxDragImage_BeginDrag2(_arg0,*_arg1,_arg2,_arg3);
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) return NULL;
3888 } _resultobj = Py_BuildValue("i",_result);
3889 return _resultobj;
3890 }
3891
3892 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3893 static PyObject *_wrap_wxDragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject * _resultobj;
3895 bool _result;
3896 wxGenericDragImage * _arg0;
3897 PyObject * _argo0 = 0;
3898 char *_kwnames[] = { "self", NULL };
3899
3900 self = self;
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_EndDrag",_kwnames,&_argo0))
3902 return NULL;
3903 if (_argo0) {
3904 if (_argo0 == Py_None) { _arg0 = NULL; }
3905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3907 return NULL;
3908 }
3909 }
3910 {
3911 PyThreadState* __tstate = wxPyBeginAllowThreads();
3912 _result = (bool )wxDragImage_EndDrag(_arg0);
3913
3914 wxPyEndAllowThreads(__tstate);
3915 if (PyErr_Occurred()) return NULL;
3916 } _resultobj = Py_BuildValue("i",_result);
3917 return _resultobj;
3918 }
3919
3920 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3921 static PyObject *_wrap_wxDragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
3922 PyObject * _resultobj;
3923 bool _result;
3924 wxGenericDragImage * _arg0;
3925 wxPoint * _arg1;
3926 PyObject * _argo0 = 0;
3927 wxPoint temp;
3928 PyObject * _obj1 = 0;
3929 char *_kwnames[] = { "self","pt", NULL };
3930
3931 self = self;
3932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_Move",_kwnames,&_argo0,&_obj1))
3933 return NULL;
3934 if (_argo0) {
3935 if (_argo0 == Py_None) { _arg0 = NULL; }
3936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3938 return NULL;
3939 }
3940 }
3941 {
3942 _arg1 = &temp;
3943 if (! wxPoint_helper(_obj1, &_arg1))
3944 return NULL;
3945 }
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 _result = (bool )wxDragImage_Move(_arg0,*_arg1);
3949
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) return NULL;
3952 } _resultobj = Py_BuildValue("i",_result);
3953 return _resultobj;
3954 }
3955
3956 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3957 static PyObject *_wrap_wxDragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
3958 PyObject * _resultobj;
3959 bool _result;
3960 wxGenericDragImage * _arg0;
3961 PyObject * _argo0 = 0;
3962 char *_kwnames[] = { "self", NULL };
3963
3964 self = self;
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Show",_kwnames,&_argo0))
3966 return NULL;
3967 if (_argo0) {
3968 if (_argo0 == Py_None) { _arg0 = NULL; }
3969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3971 return NULL;
3972 }
3973 }
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 _result = (bool )wxDragImage_Show(_arg0);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) return NULL;
3980 } _resultobj = Py_BuildValue("i",_result);
3981 return _resultobj;
3982 }
3983
3984 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3985 static PyObject *_wrap_wxDragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject * _resultobj;
3987 bool _result;
3988 wxGenericDragImage * _arg0;
3989 PyObject * _argo0 = 0;
3990 char *_kwnames[] = { "self", NULL };
3991
3992 self = self;
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Hide",_kwnames,&_argo0))
3994 return NULL;
3995 if (_argo0) {
3996 if (_argo0 == Py_None) { _arg0 = NULL; }
3997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
3998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3999 return NULL;
4000 }
4001 }
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 _result = (bool )wxDragImage_Hide(_arg0);
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) return NULL;
4008 } _resultobj = Py_BuildValue("i",_result);
4009 return _resultobj;
4010 }
4011
4012 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4013 static PyObject *_wrap_wxDragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4014 PyObject * _resultobj;
4015 wxRect * _result;
4016 wxGenericDragImage * _arg0;
4017 wxPoint * _arg1;
4018 PyObject * _argo0 = 0;
4019 wxPoint temp;
4020 PyObject * _obj1 = 0;
4021 char *_kwnames[] = { "self","pos", NULL };
4022 char _ptemp[128];
4023
4024 self = self;
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_GetImageRect",_kwnames,&_argo0,&_obj1))
4026 return NULL;
4027 if (_argo0) {
4028 if (_argo0 == Py_None) { _arg0 = NULL; }
4029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4031 return NULL;
4032 }
4033 }
4034 {
4035 _arg1 = &temp;
4036 if (! wxPoint_helper(_obj1, &_arg1))
4037 return NULL;
4038 }
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 _result = new wxRect (wxDragImage_GetImageRect(_arg0,*_arg1));
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) return NULL;
4045 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
4046 _resultobj = Py_BuildValue("s",_ptemp);
4047 return _resultobj;
4048 }
4049
4050 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4051 static PyObject *_wrap_wxDragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject * _resultobj;
4053 bool _result;
4054 wxGenericDragImage * _arg0;
4055 wxPoint * _arg1;
4056 wxPoint * _arg2;
4057 bool _arg3;
4058 bool _arg4;
4059 PyObject * _argo0 = 0;
4060 wxPoint temp;
4061 PyObject * _obj1 = 0;
4062 wxPoint temp0;
4063 PyObject * _obj2 = 0;
4064 int tempbool3;
4065 int tempbool4;
4066 char *_kwnames[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL };
4067
4068 self = self;
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOii:wxDragImage_RedrawImage",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3,&tempbool4))
4070 return NULL;
4071 if (_argo0) {
4072 if (_argo0 == Py_None) { _arg0 = NULL; }
4073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) {
4074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4075 return NULL;
4076 }
4077 }
4078 {
4079 _arg1 = &temp;
4080 if (! wxPoint_helper(_obj1, &_arg1))
4081 return NULL;
4082 }
4083 {
4084 _arg2 = &temp0;
4085 if (! wxPoint_helper(_obj2, &_arg2))
4086 return NULL;
4087 }
4088 _arg3 = (bool ) tempbool3;
4089 _arg4 = (bool ) tempbool4;
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 _result = (bool )wxDragImage_RedrawImage(_arg0,*_arg1,*_arg2,_arg3,_arg4);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) return NULL;
4096 } _resultobj = Py_BuildValue("i",_result);
4097 return _resultobj;
4098 }
4099
4100 static void *SwigwxPyTimerTowxObject(void *ptr) {
4101 wxPyTimer *src;
4102 wxObject *dest;
4103 src = (wxPyTimer *) ptr;
4104 dest = (wxObject *) src;
4105 return (void *) dest;
4106 }
4107
4108 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4109 static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4110 PyObject * _resultobj;
4111 wxPyTimer * _result;
4112 PyObject * _arg0;
4113 PyObject * _obj0 = 0;
4114 char *_kwnames[] = { "notify", NULL };
4115 char _ptemp[128];
4116
4117 self = self;
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPyTimer",_kwnames,&_obj0))
4119 return NULL;
4120 {
4121 _arg0 = _obj0;
4122 }
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) return NULL;
4129 } if (_result) {
4130 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
4131 _resultobj = Py_BuildValue("s",_ptemp);
4132 } else {
4133 Py_INCREF(Py_None);
4134 _resultobj = Py_None;
4135 }
4136 return _resultobj;
4137 }
4138
4139 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4140 static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
4141 PyObject * _resultobj;
4142 wxPyTimer * _arg0;
4143 PyObject * _argo0 = 0;
4144 char *_kwnames[] = { "self", NULL };
4145
4146 self = self;
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyTimer",_kwnames,&_argo0))
4148 return NULL;
4149 if (_argo0) {
4150 if (_argo0 == Py_None) { _arg0 = NULL; }
4151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4153 return NULL;
4154 }
4155 }
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 delete_wxPyTimer(_arg0);
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) return NULL;
4162 } Py_INCREF(Py_None);
4163 _resultobj = Py_None;
4164 return _resultobj;
4165 }
4166
4167 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4168 static PyObject *_wrap_wxPyTimer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
4169 PyObject * _resultobj;
4170 int _result;
4171 wxPyTimer * _arg0;
4172 PyObject * _argo0 = 0;
4173 char *_kwnames[] = { "self", NULL };
4174
4175 self = self;
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_GetInterval",_kwnames,&_argo0))
4177 return NULL;
4178 if (_argo0) {
4179 if (_argo0 == Py_None) { _arg0 = NULL; }
4180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4182 return NULL;
4183 }
4184 }
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 _result = (int )wxPyTimer_GetInterval(_arg0);
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) return NULL;
4191 } _resultobj = Py_BuildValue("i",_result);
4192 return _resultobj;
4193 }
4194
4195 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4196 static PyObject *_wrap_wxPyTimer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject * _resultobj;
4198 bool _result;
4199 wxPyTimer * _arg0;
4200 PyObject * _argo0 = 0;
4201 char *_kwnames[] = { "self", NULL };
4202
4203 self = self;
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsOneShot",_kwnames,&_argo0))
4205 return NULL;
4206 if (_argo0) {
4207 if (_argo0 == Py_None) { _arg0 = NULL; }
4208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4210 return NULL;
4211 }
4212 }
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 _result = (bool )wxPyTimer_IsOneShot(_arg0);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) return NULL;
4219 } _resultobj = Py_BuildValue("i",_result);
4220 return _resultobj;
4221 }
4222
4223 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4224 static PyObject *_wrap_wxPyTimer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject * _resultobj;
4226 bool _result;
4227 wxPyTimer * _arg0;
4228 PyObject * _argo0 = 0;
4229 char *_kwnames[] = { "self", NULL };
4230
4231 self = self;
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsRunning",_kwnames,&_argo0))
4233 return NULL;
4234 if (_argo0) {
4235 if (_argo0 == Py_None) { _arg0 = NULL; }
4236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4238 return NULL;
4239 }
4240 }
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 _result = (bool )wxPyTimer_IsRunning(_arg0);
4244
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) return NULL;
4247 } _resultobj = Py_BuildValue("i",_result);
4248 return _resultobj;
4249 }
4250
4251 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4252 static PyObject *_wrap_wxPyTimer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject * _resultobj;
4254 wxPyTimer * _arg0;
4255 wxEvtHandler * _arg1;
4256 int _arg2 = (int ) -1;
4257 PyObject * _argo0 = 0;
4258 PyObject * _argo1 = 0;
4259 char *_kwnames[] = { "self","owner","id", NULL };
4260
4261 self = self;
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTimer_SetOwner",_kwnames,&_argo0,&_argo1,&_arg2))
4263 return NULL;
4264 if (_argo0) {
4265 if (_argo0 == Py_None) { _arg0 = NULL; }
4266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4268 return NULL;
4269 }
4270 }
4271 if (_argo1) {
4272 if (_argo1 == Py_None) { _arg1 = NULL; }
4273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) {
4274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4275 return NULL;
4276 }
4277 }
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 wxPyTimer_SetOwner(_arg0,_arg1,_arg2);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) return NULL;
4284 } Py_INCREF(Py_None);
4285 _resultobj = Py_None;
4286 return _resultobj;
4287 }
4288
4289 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4290 static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4291 PyObject * _resultobj;
4292 wxPyTimer * _arg0;
4293 int _arg1 = (int ) -1;
4294 int _arg2 = (int ) FALSE;
4295 PyObject * _argo0 = 0;
4296 char *_kwnames[] = { "self","milliseconds","oneShot", NULL };
4297
4298 self = self;
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyTimer_Start",_kwnames,&_argo0,&_arg1,&_arg2))
4300 return NULL;
4301 if (_argo0) {
4302 if (_argo0 == Py_None) { _arg0 = NULL; }
4303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4305 return NULL;
4306 }
4307 }
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 wxPyTimer_Start(_arg0,_arg1,_arg2);
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) return NULL;
4314 } Py_INCREF(Py_None);
4315 _resultobj = Py_None;
4316 return _resultobj;
4317 }
4318
4319 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4320 static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject * _resultobj;
4322 wxPyTimer * _arg0;
4323 PyObject * _argo0 = 0;
4324 char *_kwnames[] = { "self", NULL };
4325
4326 self = self;
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_Stop",_kwnames,&_argo0))
4328 return NULL;
4329 if (_argo0) {
4330 if (_argo0 == Py_None) { _arg0 = NULL; }
4331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4333 return NULL;
4334 }
4335 }
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 wxPyTimer_Stop(_arg0);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) return NULL;
4342 } Py_INCREF(Py_None);
4343 _resultobj = Py_None;
4344 return _resultobj;
4345 }
4346
4347 #define new_wxStopWatch() (new wxStopWatch())
4348 static PyObject *_wrap_new_wxStopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject * _resultobj;
4350 wxStopWatch * _result;
4351 char *_kwnames[] = { NULL };
4352 char _ptemp[128];
4353
4354 self = self;
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxStopWatch",_kwnames))
4356 return NULL;
4357 {
4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4359 _result = (wxStopWatch *)new_wxStopWatch();
4360
4361 wxPyEndAllowThreads(__tstate);
4362 if (PyErr_Occurred()) return NULL;
4363 } if (_result) {
4364 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStopWatch_p");
4365 _resultobj = Py_BuildValue("s",_ptemp);
4366 } else {
4367 Py_INCREF(Py_None);
4368 _resultobj = Py_None;
4369 }
4370 return _resultobj;
4371 }
4372
4373 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4374 static PyObject *_wrap_delete_wxStopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4375 PyObject * _resultobj;
4376 wxStopWatch * _arg0;
4377 PyObject * _argo0 = 0;
4378 char *_kwnames[] = { "self", NULL };
4379
4380 self = self;
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStopWatch",_kwnames,&_argo0))
4382 return NULL;
4383 if (_argo0) {
4384 if (_argo0 == Py_None) { _arg0 = NULL; }
4385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4387 return NULL;
4388 }
4389 }
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 delete_wxStopWatch(_arg0);
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) return NULL;
4396 } Py_INCREF(Py_None);
4397 _resultobj = Py_None;
4398 return _resultobj;
4399 }
4400
4401 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4402 static PyObject *_wrap_wxStopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject * _resultobj;
4404 wxStopWatch * _arg0;
4405 long _arg1 = (long ) 0;
4406 PyObject * _argo0 = 0;
4407 char *_kwnames[] = { "self","t", NULL };
4408
4409 self = self;
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:wxStopWatch_Start",_kwnames,&_argo0,&_arg1))
4411 return NULL;
4412 if (_argo0) {
4413 if (_argo0 == Py_None) { _arg0 = NULL; }
4414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4416 return NULL;
4417 }
4418 }
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 wxStopWatch_Start(_arg0,_arg1);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) return NULL;
4425 } Py_INCREF(Py_None);
4426 _resultobj = Py_None;
4427 return _resultobj;
4428 }
4429
4430 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4431 static PyObject *_wrap_wxStopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject * _resultobj;
4433 wxStopWatch * _arg0;
4434 PyObject * _argo0 = 0;
4435 char *_kwnames[] = { "self", NULL };
4436
4437 self = self;
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Pause",_kwnames,&_argo0))
4439 return NULL;
4440 if (_argo0) {
4441 if (_argo0 == Py_None) { _arg0 = NULL; }
4442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4444 return NULL;
4445 }
4446 }
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 wxStopWatch_Pause(_arg0);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) return NULL;
4453 } Py_INCREF(Py_None);
4454 _resultobj = Py_None;
4455 return _resultobj;
4456 }
4457
4458 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4459 static PyObject *_wrap_wxStopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject * _resultobj;
4461 wxStopWatch * _arg0;
4462 PyObject * _argo0 = 0;
4463 char *_kwnames[] = { "self", NULL };
4464
4465 self = self;
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Resume",_kwnames,&_argo0))
4467 return NULL;
4468 if (_argo0) {
4469 if (_argo0 == Py_None) { _arg0 = NULL; }
4470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4472 return NULL;
4473 }
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 wxStopWatch_Resume(_arg0);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) return NULL;
4481 } Py_INCREF(Py_None);
4482 _resultobj = Py_None;
4483 return _resultobj;
4484 }
4485
4486 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4487 static PyObject *_wrap_wxStopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject * _resultobj;
4489 long _result;
4490 wxStopWatch * _arg0;
4491 PyObject * _argo0 = 0;
4492 char *_kwnames[] = { "self", NULL };
4493
4494 self = self;
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStopWatch_Time",_kwnames,&_argo0))
4496 return NULL;
4497 if (_argo0) {
4498 if (_argo0 == Py_None) { _arg0 = NULL; }
4499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStopWatch_p")) {
4500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4501 return NULL;
4502 }
4503 }
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 _result = (long )wxStopWatch_Time(_arg0);
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) return NULL;
4510 } _resultobj = Py_BuildValue("l",_result);
4511 return _resultobj;
4512 }
4513
4514 #define new_wxLog() (new wxLog())
4515 static PyObject *_wrap_new_wxLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4516 PyObject * _resultobj;
4517 wxLog * _result;
4518 char *_kwnames[] = { NULL };
4519 char _ptemp[128];
4520
4521 self = self;
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLog",_kwnames))
4523 return NULL;
4524 {
4525 PyThreadState* __tstate = wxPyBeginAllowThreads();
4526 _result = (wxLog *)new_wxLog();
4527
4528 wxPyEndAllowThreads(__tstate);
4529 if (PyErr_Occurred()) return NULL;
4530 } if (_result) {
4531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4532 _resultobj = Py_BuildValue("s",_ptemp);
4533 } else {
4534 Py_INCREF(Py_None);
4535 _resultobj = Py_None;
4536 }
4537 return _resultobj;
4538 }
4539
4540 static PyObject *_wrap_wxLog_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
4541 PyObject * _resultobj;
4542 bool _result;
4543 char *_kwnames[] = { NULL };
4544
4545 self = self;
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_IsEnabled",_kwnames))
4547 return NULL;
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 _result = (bool )wxLog::IsEnabled();
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) return NULL;
4554 } _resultobj = Py_BuildValue("i",_result);
4555 return _resultobj;
4556 }
4557
4558 static PyObject *_wrap_wxLog_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject * _resultobj;
4560 bool _result;
4561 bool _arg0 = (bool ) TRUE;
4562 int tempbool0 = (int) TRUE;
4563 char *_kwnames[] = { "doIt", NULL };
4564
4565 self = self;
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxLog_EnableLogging",_kwnames,&tempbool0))
4567 return NULL;
4568 _arg0 = (bool ) tempbool0;
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4571 _result = (bool )wxLog::EnableLogging(_arg0);
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) return NULL;
4575 } _resultobj = Py_BuildValue("i",_result);
4576 return _resultobj;
4577 }
4578
4579 static PyObject *_wrap_wxLog_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject * _resultobj;
4581 wxLogLevel * _arg0;
4582 wxString * _arg1;
4583 int _arg2 = (int ) 0;
4584 PyObject * _argo0 = 0;
4585 PyObject * _obj1 = 0;
4586 char *_kwnames[] = { "level","szString","t", NULL };
4587
4588 self = self;
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxLog_OnLog",_kwnames,&_argo0,&_obj1,&_arg2))
4590 return NULL;
4591 if (_argo0) {
4592 if (_argo0 == Py_None) { _arg0 = NULL; }
4593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogLevel_p")) {
4594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4595 return NULL;
4596 }
4597 }
4598 {
4599 _arg1 = wxString_in_helper(_obj1);
4600 if (_arg1 == NULL)
4601 return NULL;
4602 }
4603 {
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 wxLog::OnLog(*_arg0,*_arg1,_arg2);
4606
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) return NULL;
4609 } Py_INCREF(Py_None);
4610 _resultobj = Py_None;
4611 {
4612 if (_obj1)
4613 delete _arg1;
4614 }
4615 return _resultobj;
4616 }
4617
4618 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4619 static PyObject *_wrap_wxLog_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject * _resultobj;
4621 wxLog * _arg0;
4622 PyObject * _argo0 = 0;
4623 char *_kwnames[] = { "self", NULL };
4624
4625 self = self;
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_Flush",_kwnames,&_argo0))
4627 return NULL;
4628 if (_argo0) {
4629 if (_argo0 == Py_None) { _arg0 = NULL; }
4630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4632 return NULL;
4633 }
4634 }
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 wxLog_Flush(_arg0);
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) return NULL;
4641 } Py_INCREF(Py_None);
4642 _resultobj = Py_None;
4643 return _resultobj;
4644 }
4645
4646 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4647 static PyObject *_wrap_wxLog_HasPendingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject * _resultobj;
4649 bool _result;
4650 wxLog * _arg0;
4651 PyObject * _argo0 = 0;
4652 char *_kwnames[] = { "self", NULL };
4653
4654 self = self;
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_HasPendingMessages",_kwnames,&_argo0))
4656 return NULL;
4657 if (_argo0) {
4658 if (_argo0 == Py_None) { _arg0 = NULL; }
4659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4661 return NULL;
4662 }
4663 }
4664 {
4665 PyThreadState* __tstate = wxPyBeginAllowThreads();
4666 _result = (bool )wxLog_HasPendingMessages(_arg0);
4667
4668 wxPyEndAllowThreads(__tstate);
4669 if (PyErr_Occurred()) return NULL;
4670 } _resultobj = Py_BuildValue("i",_result);
4671 return _resultobj;
4672 }
4673
4674 static PyObject *_wrap_wxLog_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject * _resultobj;
4676 char *_kwnames[] = { NULL };
4677
4678 self = self;
4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_FlushActive",_kwnames))
4680 return NULL;
4681 {
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 wxLog::FlushActive();
4684
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) return NULL;
4687 } Py_INCREF(Py_None);
4688 _resultobj = Py_None;
4689 return _resultobj;
4690 }
4691
4692 static PyObject *_wrap_wxLog_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject * _resultobj;
4694 wxLog * _result;
4695 char *_kwnames[] = { NULL };
4696 char _ptemp[128];
4697
4698 self = self;
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetActiveTarget",_kwnames))
4700 return NULL;
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 _result = (wxLog *)wxLog::GetActiveTarget();
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) return NULL;
4707 } if (_result) {
4708 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4709 _resultobj = Py_BuildValue("s",_ptemp);
4710 } else {
4711 Py_INCREF(Py_None);
4712 _resultobj = Py_None;
4713 }
4714 return _resultobj;
4715 }
4716
4717 static PyObject *_wrap_wxLog_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4718 PyObject * _resultobj;
4719 wxLog * _result;
4720 wxLog * _arg0;
4721 PyObject * _argo0 = 0;
4722 char *_kwnames[] = { "pLogger", NULL };
4723 char _ptemp[128];
4724
4725 self = self;
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetActiveTarget",_kwnames,&_argo0))
4727 return NULL;
4728 if (_argo0) {
4729 if (_argo0 == Py_None) { _arg0 = NULL; }
4730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4732 return NULL;
4733 }
4734 }
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 _result = (wxLog *)wxLog::SetActiveTarget(_arg0);
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) return NULL;
4741 } if (_result) {
4742 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4743 _resultobj = Py_BuildValue("s",_ptemp);
4744 } else {
4745 Py_INCREF(Py_None);
4746 _resultobj = Py_None;
4747 }
4748 return _resultobj;
4749 }
4750
4751 static PyObject *_wrap_wxLog_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
4752 PyObject * _resultobj;
4753 char *_kwnames[] = { NULL };
4754
4755 self = self;
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Suspend",_kwnames))
4757 return NULL;
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 wxLog::Suspend();
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_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject * _resultobj;
4771 char *_kwnames[] = { NULL };
4772
4773 self = self;
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Resume",_kwnames))
4775 return NULL;
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 wxLog::Resume();
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) return NULL;
4782 } Py_INCREF(Py_None);
4783 _resultobj = Py_None;
4784 return _resultobj;
4785 }
4786
4787 static PyObject *_wrap_wxLog_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4788 PyObject * _resultobj;
4789 bool _arg0 = (bool ) TRUE;
4790 int tempbool0 = (int) TRUE;
4791 char *_kwnames[] = { "bVerbose", NULL };
4792
4793 self = self;
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxLog_SetVerbose",_kwnames,&tempbool0))
4795 return NULL;
4796 _arg0 = (bool ) tempbool0;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 wxLog::SetVerbose(_arg0);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) return NULL;
4803 } Py_INCREF(Py_None);
4804 _resultobj = Py_None;
4805 return _resultobj;
4806 }
4807
4808 static PyObject *_wrap_wxLog_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject * _resultobj;
4810 char *_kwnames[] = { NULL };
4811
4812 self = self;
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_DontCreateOnDemand",_kwnames))
4814 return NULL;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 wxLog::DontCreateOnDemand();
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) return NULL;
4821 } Py_INCREF(Py_None);
4822 _resultobj = Py_None;
4823 return _resultobj;
4824 }
4825
4826 static PyObject *_wrap_wxLog_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4827 PyObject * _resultobj;
4828 wxTraceMask * _arg0;
4829 PyObject * _argo0 = 0;
4830 char *_kwnames[] = { "ulMask", NULL };
4831
4832 self = self;
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetTraceMask",_kwnames,&_argo0))
4834 return NULL;
4835 if (_argo0) {
4836 if (_argo0 == Py_None) { _arg0 = NULL; }
4837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTraceMask_p")) {
4838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4839 return NULL;
4840 }
4841 }
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 wxLog::SetTraceMask(*_arg0);
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) return NULL;
4848 } Py_INCREF(Py_None);
4849 _resultobj = Py_None;
4850 return _resultobj;
4851 }
4852
4853 static PyObject *_wrap_wxLog_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject * _resultobj;
4855 wxString * _arg0;
4856 PyObject * _obj0 = 0;
4857 char *_kwnames[] = { "str", NULL };
4858
4859 self = self;
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_AddTraceMask",_kwnames,&_obj0))
4861 return NULL;
4862 {
4863 _arg0 = wxString_in_helper(_obj0);
4864 if (_arg0 == NULL)
4865 return NULL;
4866 }
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 wxLog::AddTraceMask(*_arg0);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) return NULL;
4873 } Py_INCREF(Py_None);
4874 _resultobj = Py_None;
4875 {
4876 if (_obj0)
4877 delete _arg0;
4878 }
4879 return _resultobj;
4880 }
4881
4882 static PyObject *_wrap_wxLog_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4883 PyObject * _resultobj;
4884 wxString * _arg0;
4885 PyObject * _obj0 = 0;
4886 char *_kwnames[] = { "str", NULL };
4887
4888 self = self;
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_RemoveTraceMask",_kwnames,&_obj0))
4890 return NULL;
4891 {
4892 _arg0 = wxString_in_helper(_obj0);
4893 if (_arg0 == NULL)
4894 return NULL;
4895 }
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 wxLog::RemoveTraceMask(*_arg0);
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) return NULL;
4902 } Py_INCREF(Py_None);
4903 _resultobj = Py_None;
4904 {
4905 if (_obj0)
4906 delete _arg0;
4907 }
4908 return _resultobj;
4909 }
4910
4911 static PyObject *_wrap_wxLog_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject * _resultobj;
4913 char *_kwnames[] = { NULL };
4914
4915 self = self;
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_ClearTraceMasks",_kwnames))
4917 return NULL;
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 wxLog::ClearTraceMasks();
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) return NULL;
4924 } Py_INCREF(Py_None);
4925 _resultobj = Py_None;
4926 return _resultobj;
4927 }
4928
4929 static PyObject *_wrap_wxLog_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject * _resultobj;
4931 wxString * _arg0;
4932 PyObject * _obj0 = 0;
4933 char *_kwnames[] = { "ts", NULL };
4934
4935 self = self;
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetTimestamp",_kwnames,&_obj0))
4937 return NULL;
4938 {
4939 _arg0 = wxString_in_helper(_obj0);
4940 if (_arg0 == NULL)
4941 return NULL;
4942 }
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 wxLog::SetTimestamp(*_arg0);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) return NULL;
4949 } Py_INCREF(Py_None);
4950 _resultobj = Py_None;
4951 {
4952 if (_obj0)
4953 delete _arg0;
4954 }
4955 return _resultobj;
4956 }
4957
4958 static PyObject *_wrap_wxLog_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject * _resultobj;
4960 wxString * _result;
4961 char *_kwnames[] = { NULL };
4962
4963 self = self;
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTimestamp",_kwnames))
4965 return NULL;
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 const wxString & _result_ref = wxLog::GetTimestamp();
4969 _result = (wxString *) &_result_ref;
4970
4971 wxPyEndAllowThreads(__tstate);
4972 if (PyErr_Occurred()) return NULL;
4973 }{
4974 #if wxUSE_UNICODE
4975 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4976 #else
4977 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4978 #endif
4979 }
4980 return _resultobj;
4981 }
4982
4983 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4984 static PyObject *_wrap_wxLog_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject * _resultobj;
4986 bool _result;
4987 wxLog * _arg0;
4988 PyObject * _argo0 = 0;
4989 char *_kwnames[] = { "self", NULL };
4990
4991 self = self;
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_GetVerbose",_kwnames,&_argo0))
4993 return NULL;
4994 if (_argo0) {
4995 if (_argo0 == Py_None) { _arg0 = NULL; }
4996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4998 return NULL;
4999 }
5000 }
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 _result = (bool )wxLog_GetVerbose(_arg0);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) return NULL;
5007 } _resultobj = Py_BuildValue("i",_result);
5008 return _resultobj;
5009 }
5010
5011 static PyObject *_wrap_wxLog_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
5012 PyObject * _resultobj;
5013 wxTraceMask * _result;
5014 char *_kwnames[] = { NULL };
5015 char _ptemp[128];
5016
5017 self = self;
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTraceMask",_kwnames))
5019 return NULL;
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 _result = new wxTraceMask (wxLog::GetTraceMask());
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) return NULL;
5026 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTraceMask_p");
5027 _resultobj = Py_BuildValue("s",_ptemp);
5028 return _resultobj;
5029 }
5030
5031 static PyObject *_wrap_wxLog_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
5032 PyObject * _resultobj;
5033 bool _result;
5034 wxString * _arg0;
5035 PyObject * _obj0 = 0;
5036 char *_kwnames[] = { "mask", NULL };
5037
5038 self = self;
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_IsAllowedTraceMask",_kwnames,&_obj0))
5040 return NULL;
5041 {
5042 _arg0 = wxString_in_helper(_obj0);
5043 if (_arg0 == NULL)
5044 return NULL;
5045 }
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 _result = (bool )wxLog::IsAllowedTraceMask(*_arg0);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) return NULL;
5052 } _resultobj = Py_BuildValue("i",_result);
5053 {
5054 if (_obj0)
5055 delete _arg0;
5056 }
5057 return _resultobj;
5058 }
5059
5060 static wxString wxLog_TimeStamp(wxLog *self) {
5061 wxString msg;
5062 wxLog::TimeStamp(&msg);
5063 return msg;
5064 }
5065 static PyObject *_wrap_wxLog_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
5066 PyObject * _resultobj;
5067 wxString * _result;
5068 wxLog * _arg0;
5069 PyObject * _argo0 = 0;
5070 char *_kwnames[] = { "self", NULL };
5071
5072 self = self;
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_TimeStamp",_kwnames,&_argo0))
5074 return NULL;
5075 if (_argo0) {
5076 if (_argo0 == Py_None) { _arg0 = NULL; }
5077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5079 return NULL;
5080 }
5081 }
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 _result = new wxString (wxLog_TimeStamp(_arg0));
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) return NULL;
5088 }{
5089 #if wxUSE_UNICODE
5090 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5091 #else
5092 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5093 #endif
5094 }
5095 {
5096 delete _result;
5097 }
5098 return _resultobj;
5099 }
5100
5101 static void *SwigwxLogStderrTowxLog(void *ptr) {
5102 wxLogStderr *src;
5103 wxLog *dest;
5104 src = (wxLogStderr *) ptr;
5105 dest = (wxLog *) src;
5106 return (void *) dest;
5107 }
5108
5109 #define new_wxLogStderr() (new wxLogStderr())
5110 static PyObject *_wrap_new_wxLogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject * _resultobj;
5112 wxLogStderr * _result;
5113 char *_kwnames[] = { NULL };
5114 char _ptemp[128];
5115
5116 self = self;
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogStderr",_kwnames))
5118 return NULL;
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 _result = (wxLogStderr *)new_wxLogStderr();
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) return NULL;
5125 } if (_result) {
5126 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogStderr_p");
5127 _resultobj = Py_BuildValue("s",_ptemp);
5128 } else {
5129 Py_INCREF(Py_None);
5130 _resultobj = Py_None;
5131 }
5132 return _resultobj;
5133 }
5134
5135 static void *SwigwxLogTextCtrlTowxLog(void *ptr) {
5136 wxLogTextCtrl *src;
5137 wxLog *dest;
5138 src = (wxLogTextCtrl *) ptr;
5139 dest = (wxLog *) src;
5140 return (void *) dest;
5141 }
5142
5143 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5144 static PyObject *_wrap_new_wxLogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
5145 PyObject * _resultobj;
5146 wxLogTextCtrl * _result;
5147 wxTextCtrl * _arg0;
5148 PyObject * _argo0 = 0;
5149 char *_kwnames[] = { "pTextCtrl", NULL };
5150 char _ptemp[128];
5151
5152 self = self;
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogTextCtrl",_kwnames,&_argo0))
5154 return NULL;
5155 if (_argo0) {
5156 if (_argo0 == Py_None) { _arg0 = NULL; }
5157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5159 return NULL;
5160 }
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 _result = (wxLogTextCtrl *)new_wxLogTextCtrl(_arg0);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) return NULL;
5168 } if (_result) {
5169 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogTextCtrl_p");
5170 _resultobj = Py_BuildValue("s",_ptemp);
5171 } else {
5172 Py_INCREF(Py_None);
5173 _resultobj = Py_None;
5174 }
5175 return _resultobj;
5176 }
5177
5178 static void *SwigwxLogGuiTowxLog(void *ptr) {
5179 wxLogGui *src;
5180 wxLog *dest;
5181 src = (wxLogGui *) ptr;
5182 dest = (wxLog *) src;
5183 return (void *) dest;
5184 }
5185
5186 #define new_wxLogGui() (new wxLogGui())
5187 static PyObject *_wrap_new_wxLogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject * _resultobj;
5189 wxLogGui * _result;
5190 char *_kwnames[] = { NULL };
5191 char _ptemp[128];
5192
5193 self = self;
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogGui",_kwnames))
5195 return NULL;
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 _result = (wxLogGui *)new_wxLogGui();
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) return NULL;
5202 } if (_result) {
5203 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogGui_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 *SwigwxLogWindowTowxLog(void *ptr) {
5213 wxLogWindow *src;
5214 wxLog *dest;
5215 src = (wxLogWindow *) ptr;
5216 dest = (wxLog *) src;
5217 return (void *) dest;
5218 }
5219
5220 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5221 static PyObject *_wrap_new_wxLogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject * _resultobj;
5223 wxLogWindow * _result;
5224 wxFrame * _arg0;
5225 wxString * _arg1;
5226 bool _arg2 = (bool ) TRUE;
5227 bool _arg3 = (bool ) TRUE;
5228 PyObject * _argo0 = 0;
5229 PyObject * _obj1 = 0;
5230 int tempbool2 = (int) TRUE;
5231 int tempbool3 = (int) TRUE;
5232 char *_kwnames[] = { "pParent","szTitle","bShow","bPassToOld", NULL };
5233 char _ptemp[128];
5234
5235 self = self;
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:new_wxLogWindow",_kwnames,&_argo0,&_obj1,&tempbool2,&tempbool3))
5237 return NULL;
5238 if (_argo0) {
5239 if (_argo0 == Py_None) { _arg0 = NULL; }
5240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
5241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5242 return NULL;
5243 }
5244 }
5245 {
5246 _arg1 = wxString_in_helper(_obj1);
5247 if (_arg1 == NULL)
5248 return NULL;
5249 }
5250 _arg2 = (bool ) tempbool2;
5251 _arg3 = (bool ) tempbool3;
5252 {
5253 PyThreadState* __tstate = wxPyBeginAllowThreads();
5254 _result = (wxLogWindow *)new_wxLogWindow(_arg0,*_arg1,_arg2,_arg3);
5255
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) return NULL;
5258 } if (_result) {
5259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogWindow_p");
5260 _resultobj = Py_BuildValue("s",_ptemp);
5261 } else {
5262 Py_INCREF(Py_None);
5263 _resultobj = Py_None;
5264 }
5265 {
5266 if (_obj1)
5267 delete _arg1;
5268 }
5269 return _resultobj;
5270 }
5271
5272 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5273 static PyObject *_wrap_wxLogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject * _resultobj;
5275 wxLogWindow * _arg0;
5276 bool _arg1 = (bool ) TRUE;
5277 PyObject * _argo0 = 0;
5278 int tempbool1 = (int) TRUE;
5279 char *_kwnames[] = { "self","bShow", NULL };
5280
5281 self = self;
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLogWindow_Show",_kwnames,&_argo0,&tempbool1))
5283 return NULL;
5284 if (_argo0) {
5285 if (_argo0 == Py_None) { _arg0 = NULL; }
5286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5288 return NULL;
5289 }
5290 }
5291 _arg1 = (bool ) tempbool1;
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 wxLogWindow_Show(_arg0,_arg1);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) return NULL;
5298 } Py_INCREF(Py_None);
5299 _resultobj = Py_None;
5300 return _resultobj;
5301 }
5302
5303 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5304 static PyObject *_wrap_wxLogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5305 PyObject * _resultobj;
5306 wxFrame * _result;
5307 wxLogWindow * _arg0;
5308 PyObject * _argo0 = 0;
5309 char *_kwnames[] = { "self", NULL };
5310
5311 self = self;
5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetFrame",_kwnames,&_argo0))
5313 return NULL;
5314 if (_argo0) {
5315 if (_argo0 == Py_None) { _arg0 = NULL; }
5316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5318 return NULL;
5319 }
5320 }
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 _result = (wxFrame *)wxLogWindow_GetFrame(_arg0);
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) return NULL;
5327 }{ _resultobj = wxPyMake_wxObject(_result); }
5328 return _resultobj;
5329 }
5330
5331 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5332 static PyObject *_wrap_wxLogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject * _resultobj;
5334 wxLog * _result;
5335 wxLogWindow * _arg0;
5336 PyObject * _argo0 = 0;
5337 char *_kwnames[] = { "self", NULL };
5338 char _ptemp[128];
5339
5340 self = self;
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetOldLog",_kwnames,&_argo0))
5342 return NULL;
5343 if (_argo0) {
5344 if (_argo0 == Py_None) { _arg0 = NULL; }
5345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5347 return NULL;
5348 }
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 _result = (wxLog *)wxLogWindow_GetOldLog(_arg0);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) return NULL;
5356 } if (_result) {
5357 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5358 _resultobj = Py_BuildValue("s",_ptemp);
5359 } else {
5360 Py_INCREF(Py_None);
5361 _resultobj = Py_None;
5362 }
5363 return _resultobj;
5364 }
5365
5366 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5367 static PyObject *_wrap_wxLogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject * _resultobj;
5369 bool _result;
5370 wxLogWindow * _arg0;
5371 PyObject * _argo0 = 0;
5372 char *_kwnames[] = { "self", NULL };
5373
5374 self = self;
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_IsPassingMessages",_kwnames,&_argo0))
5376 return NULL;
5377 if (_argo0) {
5378 if (_argo0 == Py_None) { _arg0 = NULL; }
5379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5381 return NULL;
5382 }
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 _result = (bool )wxLogWindow_IsPassingMessages(_arg0);
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) return NULL;
5390 } _resultobj = Py_BuildValue("i",_result);
5391 return _resultobj;
5392 }
5393
5394 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5395 static PyObject *_wrap_wxLogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject * _resultobj;
5397 wxLogWindow * _arg0;
5398 bool _arg1;
5399 PyObject * _argo0 = 0;
5400 int tempbool1;
5401 char *_kwnames[] = { "self","bDoPass", NULL };
5402
5403 self = self;
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogWindow_PassMessages",_kwnames,&_argo0,&tempbool1))
5405 return NULL;
5406 if (_argo0) {
5407 if (_argo0 == Py_None) { _arg0 = NULL; }
5408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5410 return NULL;
5411 }
5412 }
5413 _arg1 = (bool ) tempbool1;
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 wxLogWindow_PassMessages(_arg0,_arg1);
5417
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) return NULL;
5420 } Py_INCREF(Py_None);
5421 _resultobj = Py_None;
5422 return _resultobj;
5423 }
5424
5425 static void *SwigwxLogChainTowxLog(void *ptr) {
5426 wxLogChain *src;
5427 wxLog *dest;
5428 src = (wxLogChain *) ptr;
5429 dest = (wxLog *) src;
5430 return (void *) dest;
5431 }
5432
5433 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5434 static PyObject *_wrap_new_wxLogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
5435 PyObject * _resultobj;
5436 wxLogChain * _result;
5437 wxLog * _arg0;
5438 PyObject * _argo0 = 0;
5439 char *_kwnames[] = { "logger", NULL };
5440 char _ptemp[128];
5441
5442 self = self;
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogChain",_kwnames,&_argo0))
5444 return NULL;
5445 if (_argo0) {
5446 if (_argo0 == Py_None) { _arg0 = NULL; }
5447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5449 return NULL;
5450 }
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 _result = (wxLogChain *)new_wxLogChain(_arg0);
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) return NULL;
5458 } if (_result) {
5459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogChain_p");
5460 _resultobj = Py_BuildValue("s",_ptemp);
5461 } else {
5462 Py_INCREF(Py_None);
5463 _resultobj = Py_None;
5464 }
5465 return _resultobj;
5466 }
5467
5468 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5469 static PyObject *_wrap_wxLogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject * _resultobj;
5471 wxLogChain * _arg0;
5472 wxLog * _arg1;
5473 PyObject * _argo0 = 0;
5474 PyObject * _argo1 = 0;
5475 char *_kwnames[] = { "self","logger", NULL };
5476
5477 self = self;
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxLogChain_SetLog",_kwnames,&_argo0,&_argo1))
5479 return NULL;
5480 if (_argo0) {
5481 if (_argo0 == Py_None) { _arg0 = NULL; }
5482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5484 return NULL;
5485 }
5486 }
5487 if (_argo1) {
5488 if (_argo1 == Py_None) { _arg1 = NULL; }
5489 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLog_p")) {
5490 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5491 return NULL;
5492 }
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 wxLogChain_SetLog(_arg0,_arg1);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) return NULL;
5500 } Py_INCREF(Py_None);
5501 _resultobj = Py_None;
5502 return _resultobj;
5503 }
5504
5505 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5506 static PyObject *_wrap_wxLogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject * _resultobj;
5508 wxLogChain * _arg0;
5509 bool _arg1;
5510 PyObject * _argo0 = 0;
5511 int tempbool1;
5512 char *_kwnames[] = { "self","bDoPass", NULL };
5513
5514 self = self;
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogChain_PassMessages",_kwnames,&_argo0,&tempbool1))
5516 return NULL;
5517 if (_argo0) {
5518 if (_argo0 == Py_None) { _arg0 = NULL; }
5519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5521 return NULL;
5522 }
5523 }
5524 _arg1 = (bool ) tempbool1;
5525 {
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 wxLogChain_PassMessages(_arg0,_arg1);
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) return NULL;
5531 } Py_INCREF(Py_None);
5532 _resultobj = Py_None;
5533 return _resultobj;
5534 }
5535
5536 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5537 static PyObject *_wrap_wxLogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5538 PyObject * _resultobj;
5539 bool _result;
5540 wxLogChain * _arg0;
5541 PyObject * _argo0 = 0;
5542 char *_kwnames[] = { "self", NULL };
5543
5544 self = self;
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_IsPassingMessages",_kwnames,&_argo0))
5546 return NULL;
5547 if (_argo0) {
5548 if (_argo0 == Py_None) { _arg0 = NULL; }
5549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5551 return NULL;
5552 }
5553 }
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 _result = (bool )wxLogChain_IsPassingMessages(_arg0);
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) return NULL;
5560 } _resultobj = Py_BuildValue("i",_result);
5561 return _resultobj;
5562 }
5563
5564 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5565 static PyObject *_wrap_wxLogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5566 PyObject * _resultobj;
5567 wxLog * _result;
5568 wxLogChain * _arg0;
5569 PyObject * _argo0 = 0;
5570 char *_kwnames[] = { "self", NULL };
5571 char _ptemp[128];
5572
5573 self = self;
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_GetOldLog",_kwnames,&_argo0))
5575 return NULL;
5576 if (_argo0) {
5577 if (_argo0 == Py_None) { _arg0 = NULL; }
5578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5580 return NULL;
5581 }
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 _result = (wxLog *)wxLogChain_GetOldLog(_arg0);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) return NULL;
5589 } if (_result) {
5590 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5591 _resultobj = Py_BuildValue("s",_ptemp);
5592 } else {
5593 Py_INCREF(Py_None);
5594 _resultobj = Py_None;
5595 }
5596 return _resultobj;
5597 }
5598
5599 #define new_wxLogNull() (new wxLogNull())
5600 static PyObject *_wrap_new_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject * _resultobj;
5602 wxLogNull * _result;
5603 char *_kwnames[] = { NULL };
5604 char _ptemp[128];
5605
5606 self = self;
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogNull",_kwnames))
5608 return NULL;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 _result = (wxLogNull *)new_wxLogNull();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) return NULL;
5615 } if (_result) {
5616 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogNull_p");
5617 _resultobj = Py_BuildValue("s",_ptemp);
5618 } else {
5619 Py_INCREF(Py_None);
5620 _resultobj = Py_None;
5621 }
5622 return _resultobj;
5623 }
5624
5625 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5626 static PyObject *_wrap_delete_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject * _resultobj;
5628 wxLogNull * _arg0;
5629 PyObject * _argo0 = 0;
5630 char *_kwnames[] = { "self", NULL };
5631
5632 self = self;
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLogNull",_kwnames,&_argo0))
5634 return NULL;
5635 if (_argo0) {
5636 if (_argo0 == Py_None) { _arg0 = NULL; }
5637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogNull_p")) {
5638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5639 return NULL;
5640 }
5641 }
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 delete_wxLogNull(_arg0);
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) return NULL;
5648 } Py_INCREF(Py_None);
5649 _resultobj = Py_None;
5650 return _resultobj;
5651 }
5652
5653 static void *SwigwxPyLogTowxLog(void *ptr) {
5654 wxPyLog *src;
5655 wxLog *dest;
5656 src = (wxPyLog *) ptr;
5657 dest = (wxLog *) src;
5658 return (void *) dest;
5659 }
5660
5661 #define new_wxPyLog() (new wxPyLog())
5662 static PyObject *_wrap_new_wxPyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject * _resultobj;
5664 wxPyLog * _result;
5665 char *_kwnames[] = { NULL };
5666 char _ptemp[128];
5667
5668 self = self;
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLog",_kwnames))
5670 return NULL;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 _result = (wxPyLog *)new_wxPyLog();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) return NULL;
5677 } if (_result) {
5678 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLog_p");
5679 _resultobj = Py_BuildValue("s",_ptemp);
5680 } else {
5681 Py_INCREF(Py_None);
5682 _resultobj = Py_None;
5683 }
5684 return _resultobj;
5685 }
5686
5687 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5688 static PyObject *_wrap_wxPyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5689 PyObject * _resultobj;
5690 wxPyLog * _arg0;
5691 PyObject * _arg1;
5692 PyObject * _arg2;
5693 PyObject * _argo0 = 0;
5694 PyObject * _obj1 = 0;
5695 PyObject * _obj2 = 0;
5696 char *_kwnames[] = { "self","self","_class", NULL };
5697
5698 self = self;
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLog__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5700 return NULL;
5701 if (_argo0) {
5702 if (_argo0 == Py_None) { _arg0 = NULL; }
5703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5705 return NULL;
5706 }
5707 }
5708 {
5709 _arg1 = _obj1;
5710 }
5711 {
5712 _arg2 = _obj2;
5713 }
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 wxPyLog__setCallbackInfo(_arg0,_arg1,_arg2);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) return NULL;
5720 } Py_INCREF(Py_None);
5721 _resultobj = Py_None;
5722 return _resultobj;
5723 }
5724
5725 static void wxPyLog_Destroy(wxPyLog *self) { delete self; }
5726 static PyObject *_wrap_wxPyLog_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5727 PyObject * _resultobj;
5728 wxPyLog * _arg0;
5729 PyObject * _argo0 = 0;
5730 char *_kwnames[] = { "self", NULL };
5731
5732 self = self;
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLog_Destroy",_kwnames,&_argo0))
5734 return NULL;
5735 if (_argo0) {
5736 if (_argo0 == Py_None) { _arg0 = NULL; }
5737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5739 return NULL;
5740 }
5741 }
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 wxPyLog_Destroy(_arg0);
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) return NULL;
5748 } Py_INCREF(Py_None);
5749 _resultobj = Py_None;
5750 return _resultobj;
5751 }
5752
5753 static void *SwigwxProcessEventTowxEvent(void *ptr) {
5754 wxProcessEvent *src;
5755 wxEvent *dest;
5756 src = (wxProcessEvent *) ptr;
5757 dest = (wxEvent *) src;
5758 return (void *) dest;
5759 }
5760
5761 static void *SwigwxProcessEventTowxObject(void *ptr) {
5762 wxProcessEvent *src;
5763 wxObject *dest;
5764 src = (wxProcessEvent *) ptr;
5765 dest = (wxObject *) src;
5766 return (void *) dest;
5767 }
5768
5769 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5770 static PyObject *_wrap_new_wxProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject * _resultobj;
5772 wxProcessEvent * _result;
5773 int _arg0 = (int ) 0;
5774 int _arg1 = (int ) 0;
5775 int _arg2 = (int ) 0;
5776 char *_kwnames[] = { "id","pid","exitcode", NULL };
5777 char _ptemp[128];
5778
5779 self = self;
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxProcessEvent",_kwnames,&_arg0,&_arg1,&_arg2))
5781 return NULL;
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 _result = (wxProcessEvent *)new_wxProcessEvent(_arg0,_arg1,_arg2);
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) return NULL;
5788 } if (_result) {
5789 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProcessEvent_p");
5790 _resultobj = Py_BuildValue("s",_ptemp);
5791 } else {
5792 Py_INCREF(Py_None);
5793 _resultobj = Py_None;
5794 }
5795 return _resultobj;
5796 }
5797
5798 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5799 static PyObject *_wrap_wxProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject * _resultobj;
5801 int _result;
5802 wxProcessEvent * _arg0;
5803 PyObject * _argo0 = 0;
5804 char *_kwnames[] = { "self", NULL };
5805
5806 self = self;
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetPid",_kwnames,&_argo0))
5808 return NULL;
5809 if (_argo0) {
5810 if (_argo0 == Py_None) { _arg0 = NULL; }
5811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5813 return NULL;
5814 }
5815 }
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 _result = (int )wxProcessEvent_GetPid(_arg0);
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) return NULL;
5822 } _resultobj = Py_BuildValue("i",_result);
5823 return _resultobj;
5824 }
5825
5826 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5827 static PyObject *_wrap_wxProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject * _resultobj;
5829 int _result;
5830 wxProcessEvent * _arg0;
5831 PyObject * _argo0 = 0;
5832 char *_kwnames[] = { "self", NULL };
5833
5834 self = self;
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetExitCode",_kwnames,&_argo0))
5836 return NULL;
5837 if (_argo0) {
5838 if (_argo0 == Py_None) { _arg0 = NULL; }
5839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5841 return NULL;
5842 }
5843 }
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 _result = (int )wxProcessEvent_GetExitCode(_arg0);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) return NULL;
5850 } _resultobj = Py_BuildValue("i",_result);
5851 return _resultobj;
5852 }
5853
5854 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5855 static PyObject *_wrap_wxProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5856 PyObject * _resultobj;
5857 int _result;
5858 wxProcessEvent * _arg0;
5859 int _arg1;
5860 PyObject * _argo0 = 0;
5861 char *_kwnames[] = { "self","m_pid", NULL };
5862
5863 self = self;
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_pid_set",_kwnames,&_argo0,&_arg1))
5865 return NULL;
5866 if (_argo0) {
5867 if (_argo0 == Py_None) { _arg0 = NULL; }
5868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5870 return NULL;
5871 }
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 _result = (int )wxProcessEvent_m_pid_set(_arg0,_arg1);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) return NULL;
5879 } _resultobj = Py_BuildValue("i",_result);
5880 return _resultobj;
5881 }
5882
5883 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5884 static PyObject *_wrap_wxProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject * _resultobj;
5886 int _result;
5887 wxProcessEvent * _arg0;
5888 PyObject * _argo0 = 0;
5889 char *_kwnames[] = { "self", NULL };
5890
5891 self = self;
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_pid_get",_kwnames,&_argo0))
5893 return NULL;
5894 if (_argo0) {
5895 if (_argo0 == Py_None) { _arg0 = NULL; }
5896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5898 return NULL;
5899 }
5900 }
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 _result = (int )wxProcessEvent_m_pid_get(_arg0);
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) return NULL;
5907 } _resultobj = Py_BuildValue("i",_result);
5908 return _resultobj;
5909 }
5910
5911 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5912 static PyObject *_wrap_wxProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject * _resultobj;
5914 int _result;
5915 wxProcessEvent * _arg0;
5916 int _arg1;
5917 PyObject * _argo0 = 0;
5918 char *_kwnames[] = { "self","m_exitcode", NULL };
5919
5920 self = self;
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_exitcode_set",_kwnames,&_argo0,&_arg1))
5922 return NULL;
5923 if (_argo0) {
5924 if (_argo0 == Py_None) { _arg0 = NULL; }
5925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5927 return NULL;
5928 }
5929 }
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 _result = (int )wxProcessEvent_m_exitcode_set(_arg0,_arg1);
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) return NULL;
5936 } _resultobj = Py_BuildValue("i",_result);
5937 return _resultobj;
5938 }
5939
5940 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5941 static PyObject *_wrap_wxProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5942 PyObject * _resultobj;
5943 int _result;
5944 wxProcessEvent * _arg0;
5945 PyObject * _argo0 = 0;
5946 char *_kwnames[] = { "self", NULL };
5947
5948 self = self;
5949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_exitcode_get",_kwnames,&_argo0))
5950 return NULL;
5951 if (_argo0) {
5952 if (_argo0 == Py_None) { _arg0 = NULL; }
5953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5955 return NULL;
5956 }
5957 }
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 _result = (int )wxProcessEvent_m_exitcode_get(_arg0);
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) return NULL;
5964 } _resultobj = Py_BuildValue("i",_result);
5965 return _resultobj;
5966 }
5967
5968 static void *SwigwxPyProcessTowxEvtHandler(void *ptr) {
5969 wxPyProcess *src;
5970 wxEvtHandler *dest;
5971 src = (wxPyProcess *) ptr;
5972 dest = (wxEvtHandler *) src;
5973 return (void *) dest;
5974 }
5975
5976 static void *SwigwxPyProcessTowxObject(void *ptr) {
5977 wxPyProcess *src;
5978 wxObject *dest;
5979 src = (wxPyProcess *) ptr;
5980 dest = (wxObject *) src;
5981 return (void *) dest;
5982 }
5983
5984 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5985 static PyObject *_wrap_new_wxProcess(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject * _resultobj;
5987 wxPyProcess * _result;
5988 wxEvtHandler * _arg0 = (wxEvtHandler *) NULL;
5989 int _arg1 = (int ) -1;
5990 PyObject * _argo0 = 0;
5991 char *_kwnames[] = { "parent","id", NULL };
5992 char _ptemp[128];
5993
5994 self = self;
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxProcess",_kwnames,&_argo0,&_arg1))
5996 return NULL;
5997 if (_argo0) {
5998 if (_argo0 == Py_None) { _arg0 = NULL; }
5999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
6000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6001 return NULL;
6002 }
6003 }
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 _result = (wxPyProcess *)new_wxProcess(_arg0,_arg1);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) return NULL;
6010 } if (_result) {
6011 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyProcess_p");
6012 _resultobj = Py_BuildValue("s",_ptemp);
6013 } else {
6014 Py_INCREF(Py_None);
6015 _resultobj = Py_None;
6016 }
6017 return _resultobj;
6018 }
6019
6020 static void wxPyProcess_Destroy(wxPyProcess *self) { delete self; }
6021 static PyObject *_wrap_wxProcess_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject * _resultobj;
6023 wxPyProcess * _arg0;
6024 PyObject * _argo0 = 0;
6025 char *_kwnames[] = { "self", NULL };
6026
6027 self = self;
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Destroy",_kwnames,&_argo0))
6029 return NULL;
6030 if (_argo0) {
6031 if (_argo0 == Py_None) { _arg0 = NULL; }
6032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6034 return NULL;
6035 }
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 wxPyProcess_Destroy(_arg0);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) return NULL;
6043 } Py_INCREF(Py_None);
6044 _resultobj = Py_None;
6045 return _resultobj;
6046 }
6047
6048 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6049 static PyObject *_wrap_wxProcess__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject * _resultobj;
6051 wxPyProcess * _arg0;
6052 PyObject * _arg1;
6053 PyObject * _arg2;
6054 PyObject * _argo0 = 0;
6055 PyObject * _obj1 = 0;
6056 PyObject * _obj2 = 0;
6057 char *_kwnames[] = { "self","self","_class", NULL };
6058
6059 self = self;
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxProcess__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
6061 return NULL;
6062 if (_argo0) {
6063 if (_argo0 == Py_None) { _arg0 = NULL; }
6064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6066 return NULL;
6067 }
6068 }
6069 {
6070 _arg1 = _obj1;
6071 }
6072 {
6073 _arg2 = _obj2;
6074 }
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 wxProcess__setCallbackInfo(_arg0,_arg1,_arg2);
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) return NULL;
6081 } Py_INCREF(Py_None);
6082 _resultobj = Py_None;
6083 return _resultobj;
6084 }
6085
6086 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6087 static PyObject *_wrap_wxProcess_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject * _resultobj;
6089 wxPyProcess * _arg0;
6090 int _arg1;
6091 int _arg2;
6092 PyObject * _argo0 = 0;
6093 char *_kwnames[] = { "self","pid","status", NULL };
6094
6095 self = self;
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxProcess_base_OnTerminate",_kwnames,&_argo0,&_arg1,&_arg2))
6097 return NULL;
6098 if (_argo0) {
6099 if (_argo0 == Py_None) { _arg0 = NULL; }
6100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6102 return NULL;
6103 }
6104 }
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 wxProcess_base_OnTerminate(_arg0,_arg1,_arg2);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) return NULL;
6111 } Py_INCREF(Py_None);
6112 _resultobj = Py_None;
6113 return _resultobj;
6114 }
6115
6116 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6117 static PyObject *_wrap_wxProcess_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject * _resultobj;
6119 wxPyProcess * _arg0;
6120 PyObject * _argo0 = 0;
6121 char *_kwnames[] = { "self", NULL };
6122
6123 self = self;
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Redirect",_kwnames,&_argo0))
6125 return NULL;
6126 if (_argo0) {
6127 if (_argo0 == Py_None) { _arg0 = NULL; }
6128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6130 return NULL;
6131 }
6132 }
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 wxProcess_Redirect(_arg0);
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) return NULL;
6139 } Py_INCREF(Py_None);
6140 _resultobj = Py_None;
6141 return _resultobj;
6142 }
6143
6144 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6145 static PyObject *_wrap_wxProcess_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject * _resultobj;
6147 bool _result;
6148 wxPyProcess * _arg0;
6149 PyObject * _argo0 = 0;
6150 char *_kwnames[] = { "self", NULL };
6151
6152 self = self;
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_IsRedirected",_kwnames,&_argo0))
6154 return NULL;
6155 if (_argo0) {
6156 if (_argo0 == Py_None) { _arg0 = NULL; }
6157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6159 return NULL;
6160 }
6161 }
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 _result = (bool )wxProcess_IsRedirected(_arg0);
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) return NULL;
6168 } _resultobj = Py_BuildValue("i",_result);
6169 return _resultobj;
6170 }
6171
6172 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6173 static PyObject *_wrap_wxProcess_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject * _resultobj;
6175 wxPyProcess * _arg0;
6176 PyObject * _argo0 = 0;
6177 char *_kwnames[] = { "self", NULL };
6178
6179 self = self;
6180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Detach",_kwnames,&_argo0))
6181 return NULL;
6182 if (_argo0) {
6183 if (_argo0 == Py_None) { _arg0 = NULL; }
6184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6186 return NULL;
6187 }
6188 }
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 wxProcess_Detach(_arg0);
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) return NULL;
6195 } Py_INCREF(Py_None);
6196 _resultobj = Py_None;
6197 return _resultobj;
6198 }
6199
6200 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6201 static PyObject *_wrap_wxProcess_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject * _resultobj;
6203 wxInputStream * _result;
6204 wxPyProcess * _arg0;
6205 PyObject * _argo0 = 0;
6206 char *_kwnames[] = { "self", NULL };
6207
6208 self = self;
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetInputStream",_kwnames,&_argo0))
6210 return NULL;
6211 if (_argo0) {
6212 if (_argo0 == Py_None) { _arg0 = NULL; }
6213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6215 return NULL;
6216 }
6217 }
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 _result = (wxInputStream *)wxProcess_GetInputStream(_arg0);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) return NULL;
6224 }{
6225 wxPyInputStream * _ptr = NULL;
6226
6227 if (_result) {
6228 _ptr = new wxPyInputStream(_result);
6229 }
6230 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
6231 }
6232 return _resultobj;
6233 }
6234
6235 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6236 static PyObject *_wrap_wxProcess_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6237 PyObject * _resultobj;
6238 wxInputStream * _result;
6239 wxPyProcess * _arg0;
6240 PyObject * _argo0 = 0;
6241 char *_kwnames[] = { "self", NULL };
6242
6243 self = self;
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetErrorStream",_kwnames,&_argo0))
6245 return NULL;
6246 if (_argo0) {
6247 if (_argo0 == Py_None) { _arg0 = NULL; }
6248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6250 return NULL;
6251 }
6252 }
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 _result = (wxInputStream *)wxProcess_GetErrorStream(_arg0);
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) return NULL;
6259 }{
6260 wxPyInputStream * _ptr = NULL;
6261
6262 if (_result) {
6263 _ptr = new wxPyInputStream(_result);
6264 }
6265 _resultobj = wxPyConstructObject(_ptr, "wxInputStream", TRUE);
6266 }
6267 return _resultobj;
6268 }
6269
6270 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6271 static PyObject *_wrap_wxProcess_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject * _resultobj;
6273 wxOutputStream * _result;
6274 wxPyProcess * _arg0;
6275 PyObject * _argo0 = 0;
6276 char *_kwnames[] = { "self", NULL };
6277 char _ptemp[128];
6278
6279 self = self;
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetOutputStream",_kwnames,&_argo0))
6281 return NULL;
6282 if (_argo0) {
6283 if (_argo0 == Py_None) { _arg0 = NULL; }
6284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6286 return NULL;
6287 }
6288 }
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 _result = (wxOutputStream *)wxProcess_GetOutputStream(_arg0);
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) return NULL;
6295 } if (_result) {
6296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOutputStream_p");
6297 _resultobj = Py_BuildValue("s",_ptemp);
6298 } else {
6299 Py_INCREF(Py_None);
6300 _resultobj = Py_None;
6301 }
6302 return _resultobj;
6303 }
6304
6305 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6306 static PyObject *_wrap_wxProcess_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
6307 PyObject * _resultobj;
6308 wxPyProcess * _arg0;
6309 PyObject * _argo0 = 0;
6310 char *_kwnames[] = { "self", NULL };
6311
6312 self = self;
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_CloseOutput",_kwnames,&_argo0))
6314 return NULL;
6315 if (_argo0) {
6316 if (_argo0 == Py_None) { _arg0 = NULL; }
6317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6319 return NULL;
6320 }
6321 }
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 wxProcess_CloseOutput(_arg0);
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) return NULL;
6328 } Py_INCREF(Py_None);
6329 _resultobj = Py_None;
6330 return _resultobj;
6331 }
6332
6333 static void *SwigwxJoystickTowxObject(void *ptr) {
6334 wxJoystick *src;
6335 wxObject *dest;
6336 src = (wxJoystick *) ptr;
6337 dest = (wxObject *) src;
6338 return (void *) dest;
6339 }
6340
6341 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6342 static PyObject *_wrap_new_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6343 PyObject * _resultobj;
6344 wxJoystick * _result;
6345 int _arg0 = (int ) wxJOYSTICK1;
6346 char *_kwnames[] = { "joystick", NULL };
6347 char _ptemp[128];
6348
6349 self = self;
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxJoystick",_kwnames,&_arg0))
6351 return NULL;
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 _result = (wxJoystick *)new_wxJoystick(_arg0);
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) return NULL;
6358 } if (_result) {
6359 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystick_p");
6360 _resultobj = Py_BuildValue("s",_ptemp);
6361 } else {
6362 Py_INCREF(Py_None);
6363 _resultobj = Py_None;
6364 }
6365 return _resultobj;
6366 }
6367
6368 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6369 static PyObject *_wrap_delete_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject * _resultobj;
6371 wxJoystick * _arg0;
6372 PyObject * _argo0 = 0;
6373 char *_kwnames[] = { "self", NULL };
6374
6375 self = self;
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxJoystick",_kwnames,&_argo0))
6377 return NULL;
6378 if (_argo0) {
6379 if (_argo0 == Py_None) { _arg0 = NULL; }
6380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6382 return NULL;
6383 }
6384 }
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 delete_wxJoystick(_arg0);
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) return NULL;
6391 } Py_INCREF(Py_None);
6392 _resultobj = Py_None;
6393 return _resultobj;
6394 }
6395
6396 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6397 static PyObject *_wrap_wxJoystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject * _resultobj;
6399 wxPoint * _result;
6400 wxJoystick * _arg0;
6401 PyObject * _argo0 = 0;
6402 char *_kwnames[] = { "self", NULL };
6403 char _ptemp[128];
6404
6405 self = self;
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPosition",_kwnames,&_argo0))
6407 return NULL;
6408 if (_argo0) {
6409 if (_argo0 == Py_None) { _arg0 = NULL; }
6410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6412 return NULL;
6413 }
6414 }
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 _result = new wxPoint (wxJoystick_GetPosition(_arg0));
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) return NULL;
6421 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6422 _resultobj = Py_BuildValue("s",_ptemp);
6423 return _resultobj;
6424 }
6425
6426 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6427 static PyObject *_wrap_wxJoystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject * _resultobj;
6429 int _result;
6430 wxJoystick * _arg0;
6431 PyObject * _argo0 = 0;
6432 char *_kwnames[] = { "self", NULL };
6433
6434 self = self;
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZPosition",_kwnames,&_argo0))
6436 return NULL;
6437 if (_argo0) {
6438 if (_argo0 == Py_None) { _arg0 = NULL; }
6439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6441 return NULL;
6442 }
6443 }
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 _result = (int )wxJoystick_GetZPosition(_arg0);
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) return NULL;
6450 } _resultobj = Py_BuildValue("i",_result);
6451 return _resultobj;
6452 }
6453
6454 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6455 static PyObject *_wrap_wxJoystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
6456 PyObject * _resultobj;
6457 int _result;
6458 wxJoystick * _arg0;
6459 PyObject * _argo0 = 0;
6460 char *_kwnames[] = { "self", NULL };
6461
6462 self = self;
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetButtonState",_kwnames,&_argo0))
6464 return NULL;
6465 if (_argo0) {
6466 if (_argo0 == Py_None) { _arg0 = NULL; }
6467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6469 return NULL;
6470 }
6471 }
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 _result = (int )wxJoystick_GetButtonState(_arg0);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) return NULL;
6478 } _resultobj = Py_BuildValue("i",_result);
6479 return _resultobj;
6480 }
6481
6482 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6483 static PyObject *_wrap_wxJoystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject * _resultobj;
6485 int _result;
6486 wxJoystick * _arg0;
6487 PyObject * _argo0 = 0;
6488 char *_kwnames[] = { "self", NULL };
6489
6490 self = self;
6491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVPosition",_kwnames,&_argo0))
6492 return NULL;
6493 if (_argo0) {
6494 if (_argo0 == Py_None) { _arg0 = NULL; }
6495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6497 return NULL;
6498 }
6499 }
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 _result = (int )wxJoystick_GetPOVPosition(_arg0);
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) return NULL;
6506 } _resultobj = Py_BuildValue("i",_result);
6507 return _resultobj;
6508 }
6509
6510 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6511 static PyObject *_wrap_wxJoystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject * _resultobj;
6513 int _result;
6514 wxJoystick * _arg0;
6515 PyObject * _argo0 = 0;
6516 char *_kwnames[] = { "self", NULL };
6517
6518 self = self;
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPOVCTSPosition",_kwnames,&_argo0))
6520 return NULL;
6521 if (_argo0) {
6522 if (_argo0 == Py_None) { _arg0 = NULL; }
6523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6525 return NULL;
6526 }
6527 }
6528 {
6529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6530 _result = (int )wxJoystick_GetPOVCTSPosition(_arg0);
6531
6532 wxPyEndAllowThreads(__tstate);
6533 if (PyErr_Occurred()) return NULL;
6534 } _resultobj = Py_BuildValue("i",_result);
6535 return _resultobj;
6536 }
6537
6538 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6539 static PyObject *_wrap_wxJoystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject * _resultobj;
6541 int _result;
6542 wxJoystick * _arg0;
6543 PyObject * _argo0 = 0;
6544 char *_kwnames[] = { "self", NULL };
6545
6546 self = self;
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderPosition",_kwnames,&_argo0))
6548 return NULL;
6549 if (_argo0) {
6550 if (_argo0 == Py_None) { _arg0 = NULL; }
6551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6553 return NULL;
6554 }
6555 }
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 _result = (int )wxJoystick_GetRudderPosition(_arg0);
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) return NULL;
6562 } _resultobj = Py_BuildValue("i",_result);
6563 return _resultobj;
6564 }
6565
6566 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6567 static PyObject *_wrap_wxJoystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6568 PyObject * _resultobj;
6569 int _result;
6570 wxJoystick * _arg0;
6571 PyObject * _argo0 = 0;
6572 char *_kwnames[] = { "self", NULL };
6573
6574 self = self;
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUPosition",_kwnames,&_argo0))
6576 return NULL;
6577 if (_argo0) {
6578 if (_argo0 == Py_None) { _arg0 = NULL; }
6579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6581 return NULL;
6582 }
6583 }
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 _result = (int )wxJoystick_GetUPosition(_arg0);
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) return NULL;
6590 } _resultobj = Py_BuildValue("i",_result);
6591 return _resultobj;
6592 }
6593
6594 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6595 static PyObject *_wrap_wxJoystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject * _resultobj;
6597 int _result;
6598 wxJoystick * _arg0;
6599 PyObject * _argo0 = 0;
6600 char *_kwnames[] = { "self", NULL };
6601
6602 self = self;
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVPosition",_kwnames,&_argo0))
6604 return NULL;
6605 if (_argo0) {
6606 if (_argo0 == Py_None) { _arg0 = NULL; }
6607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6609 return NULL;
6610 }
6611 }
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 _result = (int )wxJoystick_GetVPosition(_arg0);
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) return NULL;
6618 } _resultobj = Py_BuildValue("i",_result);
6619 return _resultobj;
6620 }
6621
6622 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6623 static PyObject *_wrap_wxJoystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6624 PyObject * _resultobj;
6625 int _result;
6626 wxJoystick * _arg0;
6627 PyObject * _argo0 = 0;
6628 char *_kwnames[] = { "self", NULL };
6629
6630 self = self;
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMovementThreshold",_kwnames,&_argo0))
6632 return NULL;
6633 if (_argo0) {
6634 if (_argo0 == Py_None) { _arg0 = NULL; }
6635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6637 return NULL;
6638 }
6639 }
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 _result = (int )wxJoystick_GetMovementThreshold(_arg0);
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) return NULL;
6646 } _resultobj = Py_BuildValue("i",_result);
6647 return _resultobj;
6648 }
6649
6650 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6651 static PyObject *_wrap_wxJoystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject * _resultobj;
6653 wxJoystick * _arg0;
6654 int _arg1;
6655 PyObject * _argo0 = 0;
6656 char *_kwnames[] = { "self","threshold", NULL };
6657
6658 self = self;
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystick_SetMovementThreshold",_kwnames,&_argo0,&_arg1))
6660 return NULL;
6661 if (_argo0) {
6662 if (_argo0 == Py_None) { _arg0 = NULL; }
6663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6665 return NULL;
6666 }
6667 }
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 wxJoystick_SetMovementThreshold(_arg0,_arg1);
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) return NULL;
6674 } Py_INCREF(Py_None);
6675 _resultobj = Py_None;
6676 return _resultobj;
6677 }
6678
6679 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6680 static PyObject *_wrap_wxJoystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject * _resultobj;
6682 bool _result;
6683 wxJoystick * _arg0;
6684 PyObject * _argo0 = 0;
6685 char *_kwnames[] = { "self", NULL };
6686
6687 self = self;
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_IsOk",_kwnames,&_argo0))
6689 return NULL;
6690 if (_argo0) {
6691 if (_argo0 == Py_None) { _arg0 = NULL; }
6692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6694 return NULL;
6695 }
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 _result = (bool )wxJoystick_IsOk(_arg0);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) return NULL;
6703 } _resultobj = Py_BuildValue("i",_result);
6704 return _resultobj;
6705 }
6706
6707 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6708 static PyObject *_wrap_wxJoystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject * _resultobj;
6710 int _result;
6711 wxJoystick * _arg0;
6712 PyObject * _argo0 = 0;
6713 char *_kwnames[] = { "self", NULL };
6714
6715 self = self;
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberJoysticks",_kwnames,&_argo0))
6717 return NULL;
6718 if (_argo0) {
6719 if (_argo0 == Py_None) { _arg0 = NULL; }
6720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6722 return NULL;
6723 }
6724 }
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 _result = (int )wxJoystick_GetNumberJoysticks(_arg0);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) return NULL;
6731 } _resultobj = Py_BuildValue("i",_result);
6732 return _resultobj;
6733 }
6734
6735 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6736 static PyObject *_wrap_wxJoystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
6737 PyObject * _resultobj;
6738 int _result;
6739 wxJoystick * _arg0;
6740 PyObject * _argo0 = 0;
6741 char *_kwnames[] = { "self", NULL };
6742
6743 self = self;
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetManufacturerId",_kwnames,&_argo0))
6745 return NULL;
6746 if (_argo0) {
6747 if (_argo0 == Py_None) { _arg0 = NULL; }
6748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6750 return NULL;
6751 }
6752 }
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 _result = (int )wxJoystick_GetManufacturerId(_arg0);
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) return NULL;
6759 } _resultobj = Py_BuildValue("i",_result);
6760 return _resultobj;
6761 }
6762
6763 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6764 static PyObject *_wrap_wxJoystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject * _resultobj;
6766 int _result;
6767 wxJoystick * _arg0;
6768 PyObject * _argo0 = 0;
6769 char *_kwnames[] = { "self", NULL };
6770
6771 self = self;
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductId",_kwnames,&_argo0))
6773 return NULL;
6774 if (_argo0) {
6775 if (_argo0 == Py_None) { _arg0 = NULL; }
6776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6778 return NULL;
6779 }
6780 }
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 _result = (int )wxJoystick_GetProductId(_arg0);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) return NULL;
6787 } _resultobj = Py_BuildValue("i",_result);
6788 return _resultobj;
6789 }
6790
6791 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6792 static PyObject *_wrap_wxJoystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject * _resultobj;
6794 wxString * _result;
6795 wxJoystick * _arg0;
6796 PyObject * _argo0 = 0;
6797 char *_kwnames[] = { "self", NULL };
6798
6799 self = self;
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetProductName",_kwnames,&_argo0))
6801 return NULL;
6802 if (_argo0) {
6803 if (_argo0 == Py_None) { _arg0 = NULL; }
6804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6806 return NULL;
6807 }
6808 }
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 _result = new wxString (wxJoystick_GetProductName(_arg0));
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) return NULL;
6815 }{
6816 #if wxUSE_UNICODE
6817 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6818 #else
6819 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6820 #endif
6821 }
6822 {
6823 delete _result;
6824 }
6825 return _resultobj;
6826 }
6827
6828 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6829 static PyObject *_wrap_wxJoystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject * _resultobj;
6831 int _result;
6832 wxJoystick * _arg0;
6833 PyObject * _argo0 = 0;
6834 char *_kwnames[] = { "self", NULL };
6835
6836 self = self;
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMin",_kwnames,&_argo0))
6838 return NULL;
6839 if (_argo0) {
6840 if (_argo0 == Py_None) { _arg0 = NULL; }
6841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6843 return NULL;
6844 }
6845 }
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 _result = (int )wxJoystick_GetXMin(_arg0);
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) return NULL;
6852 } _resultobj = Py_BuildValue("i",_result);
6853 return _resultobj;
6854 }
6855
6856 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6857 static PyObject *_wrap_wxJoystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject * _resultobj;
6859 int _result;
6860 wxJoystick * _arg0;
6861 PyObject * _argo0 = 0;
6862 char *_kwnames[] = { "self", NULL };
6863
6864 self = self;
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMin",_kwnames,&_argo0))
6866 return NULL;
6867 if (_argo0) {
6868 if (_argo0 == Py_None) { _arg0 = NULL; }
6869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6871 return NULL;
6872 }
6873 }
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 _result = (int )wxJoystick_GetYMin(_arg0);
6877
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) return NULL;
6880 } _resultobj = Py_BuildValue("i",_result);
6881 return _resultobj;
6882 }
6883
6884 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6885 static PyObject *_wrap_wxJoystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject * _resultobj;
6887 int _result;
6888 wxJoystick * _arg0;
6889 PyObject * _argo0 = 0;
6890 char *_kwnames[] = { "self", NULL };
6891
6892 self = self;
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMin",_kwnames,&_argo0))
6894 return NULL;
6895 if (_argo0) {
6896 if (_argo0 == Py_None) { _arg0 = NULL; }
6897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6899 return NULL;
6900 }
6901 }
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 _result = (int )wxJoystick_GetZMin(_arg0);
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) return NULL;
6908 } _resultobj = Py_BuildValue("i",_result);
6909 return _resultobj;
6910 }
6911
6912 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6913 static PyObject *_wrap_wxJoystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject * _resultobj;
6915 int _result;
6916 wxJoystick * _arg0;
6917 PyObject * _argo0 = 0;
6918 char *_kwnames[] = { "self", NULL };
6919
6920 self = self;
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMax",_kwnames,&_argo0))
6922 return NULL;
6923 if (_argo0) {
6924 if (_argo0 == Py_None) { _arg0 = NULL; }
6925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6927 return NULL;
6928 }
6929 }
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 _result = (int )wxJoystick_GetXMax(_arg0);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) return NULL;
6936 } _resultobj = Py_BuildValue("i",_result);
6937 return _resultobj;
6938 }
6939
6940 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6941 static PyObject *_wrap_wxJoystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject * _resultobj;
6943 int _result;
6944 wxJoystick * _arg0;
6945 PyObject * _argo0 = 0;
6946 char *_kwnames[] = { "self", NULL };
6947
6948 self = self;
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetYMax",_kwnames,&_argo0))
6950 return NULL;
6951 if (_argo0) {
6952 if (_argo0 == Py_None) { _arg0 = NULL; }
6953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6955 return NULL;
6956 }
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 _result = (int )wxJoystick_GetYMax(_arg0);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) return NULL;
6964 } _resultobj = Py_BuildValue("i",_result);
6965 return _resultobj;
6966 }
6967
6968 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6969 static PyObject *_wrap_wxJoystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject * _resultobj;
6971 int _result;
6972 wxJoystick * _arg0;
6973 PyObject * _argo0 = 0;
6974 char *_kwnames[] = { "self", NULL };
6975
6976 self = self;
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZMax",_kwnames,&_argo0))
6978 return NULL;
6979 if (_argo0) {
6980 if (_argo0 == Py_None) { _arg0 = NULL; }
6981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6983 return NULL;
6984 }
6985 }
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 _result = (int )wxJoystick_GetZMax(_arg0);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) return NULL;
6992 } _resultobj = Py_BuildValue("i",_result);
6993 return _resultobj;
6994 }
6995
6996 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6997 static PyObject *_wrap_wxJoystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject * _resultobj;
6999 int _result;
7000 wxJoystick * _arg0;
7001 PyObject * _argo0 = 0;
7002 char *_kwnames[] = { "self", NULL };
7003
7004 self = self;
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberButtons",_kwnames,&_argo0))
7006 return NULL;
7007 if (_argo0) {
7008 if (_argo0 == Py_None) { _arg0 = NULL; }
7009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7011 return NULL;
7012 }
7013 }
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 _result = (int )wxJoystick_GetNumberButtons(_arg0);
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) return NULL;
7020 } _resultobj = Py_BuildValue("i",_result);
7021 return _resultobj;
7022 }
7023
7024 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7025 static PyObject *_wrap_wxJoystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject * _resultobj;
7027 int _result;
7028 wxJoystick * _arg0;
7029 PyObject * _argo0 = 0;
7030 char *_kwnames[] = { "self", NULL };
7031
7032 self = self;
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetNumberAxes",_kwnames,&_argo0))
7034 return NULL;
7035 if (_argo0) {
7036 if (_argo0 == Py_None) { _arg0 = NULL; }
7037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7039 return NULL;
7040 }
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 _result = (int )wxJoystick_GetNumberAxes(_arg0);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) return NULL;
7048 } _resultobj = Py_BuildValue("i",_result);
7049 return _resultobj;
7050 }
7051
7052 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7053 static PyObject *_wrap_wxJoystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
7054 PyObject * _resultobj;
7055 int _result;
7056 wxJoystick * _arg0;
7057 PyObject * _argo0 = 0;
7058 char *_kwnames[] = { "self", NULL };
7059
7060 self = self;
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxButtons",_kwnames,&_argo0))
7062 return NULL;
7063 if (_argo0) {
7064 if (_argo0 == Py_None) { _arg0 = NULL; }
7065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7067 return NULL;
7068 }
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 _result = (int )wxJoystick_GetMaxButtons(_arg0);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) return NULL;
7076 } _resultobj = Py_BuildValue("i",_result);
7077 return _resultobj;
7078 }
7079
7080 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7081 static PyObject *_wrap_wxJoystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
7082 PyObject * _resultobj;
7083 int _result;
7084 wxJoystick * _arg0;
7085 PyObject * _argo0 = 0;
7086 char *_kwnames[] = { "self", NULL };
7087
7088 self = self;
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetMaxAxes",_kwnames,&_argo0))
7090 return NULL;
7091 if (_argo0) {
7092 if (_argo0 == Py_None) { _arg0 = NULL; }
7093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7095 return NULL;
7096 }
7097 }
7098 {
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 _result = (int )wxJoystick_GetMaxAxes(_arg0);
7101
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) return NULL;
7104 } _resultobj = Py_BuildValue("i",_result);
7105 return _resultobj;
7106 }
7107
7108 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7109 static PyObject *_wrap_wxJoystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject * _resultobj;
7111 int _result;
7112 wxJoystick * _arg0;
7113 PyObject * _argo0 = 0;
7114 char *_kwnames[] = { "self", NULL };
7115
7116 self = self;
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMin",_kwnames,&_argo0))
7118 return NULL;
7119 if (_argo0) {
7120 if (_argo0 == Py_None) { _arg0 = NULL; }
7121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7123 return NULL;
7124 }
7125 }
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 _result = (int )wxJoystick_GetPollingMin(_arg0);
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) return NULL;
7132 } _resultobj = Py_BuildValue("i",_result);
7133 return _resultobj;
7134 }
7135
7136 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7137 static PyObject *_wrap_wxJoystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject * _resultobj;
7139 int _result;
7140 wxJoystick * _arg0;
7141 PyObject * _argo0 = 0;
7142 char *_kwnames[] = { "self", NULL };
7143
7144 self = self;
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPollingMax",_kwnames,&_argo0))
7146 return NULL;
7147 if (_argo0) {
7148 if (_argo0 == Py_None) { _arg0 = NULL; }
7149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7151 return NULL;
7152 }
7153 }
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 _result = (int )wxJoystick_GetPollingMax(_arg0);
7157
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) return NULL;
7160 } _resultobj = Py_BuildValue("i",_result);
7161 return _resultobj;
7162 }
7163
7164 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7165 static PyObject *_wrap_wxJoystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject * _resultobj;
7167 int _result;
7168 wxJoystick * _arg0;
7169 PyObject * _argo0 = 0;
7170 char *_kwnames[] = { "self", NULL };
7171
7172 self = self;
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMin",_kwnames,&_argo0))
7174 return NULL;
7175 if (_argo0) {
7176 if (_argo0 == Py_None) { _arg0 = NULL; }
7177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7179 return NULL;
7180 }
7181 }
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 _result = (int )wxJoystick_GetRudderMin(_arg0);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) return NULL;
7188 } _resultobj = Py_BuildValue("i",_result);
7189 return _resultobj;
7190 }
7191
7192 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7193 static PyObject *_wrap_wxJoystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject * _resultobj;
7195 int _result;
7196 wxJoystick * _arg0;
7197 PyObject * _argo0 = 0;
7198 char *_kwnames[] = { "self", NULL };
7199
7200 self = self;
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetRudderMax",_kwnames,&_argo0))
7202 return NULL;
7203 if (_argo0) {
7204 if (_argo0 == Py_None) { _arg0 = NULL; }
7205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7207 return NULL;
7208 }
7209 }
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 _result = (int )wxJoystick_GetRudderMax(_arg0);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) return NULL;
7216 } _resultobj = Py_BuildValue("i",_result);
7217 return _resultobj;
7218 }
7219
7220 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7221 static PyObject *_wrap_wxJoystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject * _resultobj;
7223 int _result;
7224 wxJoystick * _arg0;
7225 PyObject * _argo0 = 0;
7226 char *_kwnames[] = { "self", NULL };
7227
7228 self = self;
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMin",_kwnames,&_argo0))
7230 return NULL;
7231 if (_argo0) {
7232 if (_argo0 == Py_None) { _arg0 = NULL; }
7233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7235 return NULL;
7236 }
7237 }
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 _result = (int )wxJoystick_GetUMin(_arg0);
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) return NULL;
7244 } _resultobj = Py_BuildValue("i",_result);
7245 return _resultobj;
7246 }
7247
7248 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7249 static PyObject *_wrap_wxJoystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7250 PyObject * _resultobj;
7251 int _result;
7252 wxJoystick * _arg0;
7253 PyObject * _argo0 = 0;
7254 char *_kwnames[] = { "self", NULL };
7255
7256 self = self;
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetUMax",_kwnames,&_argo0))
7258 return NULL;
7259 if (_argo0) {
7260 if (_argo0 == Py_None) { _arg0 = NULL; }
7261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7263 return NULL;
7264 }
7265 }
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 _result = (int )wxJoystick_GetUMax(_arg0);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) return NULL;
7272 } _resultobj = Py_BuildValue("i",_result);
7273 return _resultobj;
7274 }
7275
7276 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7277 static PyObject *_wrap_wxJoystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject * _resultobj;
7279 int _result;
7280 wxJoystick * _arg0;
7281 PyObject * _argo0 = 0;
7282 char *_kwnames[] = { "self", NULL };
7283
7284 self = self;
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMin",_kwnames,&_argo0))
7286 return NULL;
7287 if (_argo0) {
7288 if (_argo0 == Py_None) { _arg0 = NULL; }
7289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7291 return NULL;
7292 }
7293 }
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 _result = (int )wxJoystick_GetVMin(_arg0);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) return NULL;
7300 } _resultobj = Py_BuildValue("i",_result);
7301 return _resultobj;
7302 }
7303
7304 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7305 static PyObject *_wrap_wxJoystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject * _resultobj;
7307 int _result;
7308 wxJoystick * _arg0;
7309 PyObject * _argo0 = 0;
7310 char *_kwnames[] = { "self", NULL };
7311
7312 self = self;
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetVMax",_kwnames,&_argo0))
7314 return NULL;
7315 if (_argo0) {
7316 if (_argo0 == Py_None) { _arg0 = NULL; }
7317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7319 return NULL;
7320 }
7321 }
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 _result = (int )wxJoystick_GetVMax(_arg0);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) return NULL;
7328 } _resultobj = Py_BuildValue("i",_result);
7329 return _resultobj;
7330 }
7331
7332 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7333 static PyObject *_wrap_wxJoystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject * _resultobj;
7335 bool _result;
7336 wxJoystick * _arg0;
7337 PyObject * _argo0 = 0;
7338 char *_kwnames[] = { "self", NULL };
7339
7340 self = self;
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasRudder",_kwnames,&_argo0))
7342 return NULL;
7343 if (_argo0) {
7344 if (_argo0 == Py_None) { _arg0 = NULL; }
7345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7347 return NULL;
7348 }
7349 }
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 _result = (bool )wxJoystick_HasRudder(_arg0);
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) return NULL;
7356 } _resultobj = Py_BuildValue("i",_result);
7357 return _resultobj;
7358 }
7359
7360 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7361 static PyObject *_wrap_wxJoystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject * _resultobj;
7363 bool _result;
7364 wxJoystick * _arg0;
7365 PyObject * _argo0 = 0;
7366 char *_kwnames[] = { "self", NULL };
7367
7368 self = self;
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasZ",_kwnames,&_argo0))
7370 return NULL;
7371 if (_argo0) {
7372 if (_argo0 == Py_None) { _arg0 = NULL; }
7373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7375 return NULL;
7376 }
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 _result = (bool )wxJoystick_HasZ(_arg0);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) return NULL;
7384 } _resultobj = Py_BuildValue("i",_result);
7385 return _resultobj;
7386 }
7387
7388 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7389 static PyObject *_wrap_wxJoystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject * _resultobj;
7391 bool _result;
7392 wxJoystick * _arg0;
7393 PyObject * _argo0 = 0;
7394 char *_kwnames[] = { "self", NULL };
7395
7396 self = self;
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasU",_kwnames,&_argo0))
7398 return NULL;
7399 if (_argo0) {
7400 if (_argo0 == Py_None) { _arg0 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7403 return NULL;
7404 }
7405 }
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 _result = (bool )wxJoystick_HasU(_arg0);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) return NULL;
7412 } _resultobj = Py_BuildValue("i",_result);
7413 return _resultobj;
7414 }
7415
7416 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7417 static PyObject *_wrap_wxJoystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject * _resultobj;
7419 bool _result;
7420 wxJoystick * _arg0;
7421 PyObject * _argo0 = 0;
7422 char *_kwnames[] = { "self", NULL };
7423
7424 self = self;
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasV",_kwnames,&_argo0))
7426 return NULL;
7427 if (_argo0) {
7428 if (_argo0 == Py_None) { _arg0 = NULL; }
7429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7431 return NULL;
7432 }
7433 }
7434 {
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 _result = (bool )wxJoystick_HasV(_arg0);
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) return NULL;
7440 } _resultobj = Py_BuildValue("i",_result);
7441 return _resultobj;
7442 }
7443
7444 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7445 static PyObject *_wrap_wxJoystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject * _resultobj;
7447 bool _result;
7448 wxJoystick * _arg0;
7449 PyObject * _argo0 = 0;
7450 char *_kwnames[] = { "self", NULL };
7451
7452 self = self;
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV",_kwnames,&_argo0))
7454 return NULL;
7455 if (_argo0) {
7456 if (_argo0 == Py_None) { _arg0 = NULL; }
7457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7459 return NULL;
7460 }
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 _result = (bool )wxJoystick_HasPOV(_arg0);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) return NULL;
7468 } _resultobj = Py_BuildValue("i",_result);
7469 return _resultobj;
7470 }
7471
7472 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7473 static PyObject *_wrap_wxJoystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
7474 PyObject * _resultobj;
7475 bool _result;
7476 wxJoystick * _arg0;
7477 PyObject * _argo0 = 0;
7478 char *_kwnames[] = { "self", NULL };
7479
7480 self = self;
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOV4Dir",_kwnames,&_argo0))
7482 return NULL;
7483 if (_argo0) {
7484 if (_argo0 == Py_None) { _arg0 = NULL; }
7485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7487 return NULL;
7488 }
7489 }
7490 {
7491 PyThreadState* __tstate = wxPyBeginAllowThreads();
7492 _result = (bool )wxJoystick_HasPOV4Dir(_arg0);
7493
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) return NULL;
7496 } _resultobj = Py_BuildValue("i",_result);
7497 return _resultobj;
7498 }
7499
7500 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7501 static PyObject *_wrap_wxJoystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject * _resultobj;
7503 bool _result;
7504 wxJoystick * _arg0;
7505 PyObject * _argo0 = 0;
7506 char *_kwnames[] = { "self", NULL };
7507
7508 self = self;
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_HasPOVCTS",_kwnames,&_argo0))
7510 return NULL;
7511 if (_argo0) {
7512 if (_argo0 == Py_None) { _arg0 = NULL; }
7513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7515 return NULL;
7516 }
7517 }
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 _result = (bool )wxJoystick_HasPOVCTS(_arg0);
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) return NULL;
7524 } _resultobj = Py_BuildValue("i",_result);
7525 return _resultobj;
7526 }
7527
7528 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7529 static PyObject *_wrap_wxJoystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject * _resultobj;
7531 bool _result;
7532 wxJoystick * _arg0;
7533 wxWindow * _arg1;
7534 int _arg2 = (int ) 0;
7535 PyObject * _argo0 = 0;
7536 PyObject * _argo1 = 0;
7537 char *_kwnames[] = { "self","win","pollingFreq", NULL };
7538
7539 self = self;
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxJoystick_SetCapture",_kwnames,&_argo0,&_argo1,&_arg2))
7541 return NULL;
7542 if (_argo0) {
7543 if (_argo0 == Py_None) { _arg0 = NULL; }
7544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7546 return NULL;
7547 }
7548 }
7549 if (_argo1) {
7550 if (_argo1 == Py_None) { _arg1 = NULL; }
7551 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7552 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7553 return NULL;
7554 }
7555 }
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 _result = (bool )wxJoystick_SetCapture(_arg0,_arg1,_arg2);
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) return NULL;
7562 } _resultobj = Py_BuildValue("i",_result);
7563 return _resultobj;
7564 }
7565
7566 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7567 static PyObject *_wrap_wxJoystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject * _resultobj;
7569 bool _result;
7570 wxJoystick * _arg0;
7571 PyObject * _argo0 = 0;
7572 char *_kwnames[] = { "self", NULL };
7573
7574 self = self;
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_ReleaseCapture",_kwnames,&_argo0))
7576 return NULL;
7577 if (_argo0) {
7578 if (_argo0 == Py_None) { _arg0 = NULL; }
7579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7581 return NULL;
7582 }
7583 }
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 _result = (bool )wxJoystick_ReleaseCapture(_arg0);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) return NULL;
7590 } _resultobj = Py_BuildValue("i",_result);
7591 return _resultobj;
7592 }
7593
7594 static void *SwigwxWaveTowxObject(void *ptr) {
7595 wxWave *src;
7596 wxObject *dest;
7597 src = (wxWave *) ptr;
7598 dest = (wxObject *) src;
7599 return (void *) dest;
7600 }
7601
7602 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7603 static PyObject *_wrap_new_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject * _resultobj;
7605 wxWave * _result;
7606 wxString * _arg0;
7607 bool _arg1 = (bool ) FALSE;
7608 PyObject * _obj0 = 0;
7609 int tempbool1 = (int) FALSE;
7610 char *_kwnames[] = { "fileName","isResource", NULL };
7611 char _ptemp[128];
7612
7613 self = self;
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxWave",_kwnames,&_obj0,&tempbool1))
7615 return NULL;
7616 {
7617 _arg0 = wxString_in_helper(_obj0);
7618 if (_arg0 == NULL)
7619 return NULL;
7620 }
7621 _arg1 = (bool ) tempbool1;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 _result = (wxWave *)new_wxWave(*_arg0,_arg1);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) return NULL;
7628 } if (_result) {
7629 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
7630 _resultobj = Py_BuildValue("s",_ptemp);
7631 } else {
7632 Py_INCREF(Py_None);
7633 _resultobj = Py_None;
7634 }
7635 {
7636 if (_obj0)
7637 delete _arg0;
7638 }
7639 return _resultobj;
7640 }
7641
7642 #define delete_wxWave(_swigobj) (delete _swigobj)
7643 static PyObject *_wrap_delete_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject * _resultobj;
7645 wxWave * _arg0;
7646 PyObject * _argo0 = 0;
7647 char *_kwnames[] = { "self", NULL };
7648
7649 self = self;
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWave",_kwnames,&_argo0))
7651 return NULL;
7652 if (_argo0) {
7653 if (_argo0 == Py_None) { _arg0 = NULL; }
7654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7656 return NULL;
7657 }
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 delete_wxWave(_arg0);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) return NULL;
7665 } Py_INCREF(Py_None);
7666 _resultobj = Py_None;
7667 return _resultobj;
7668 }
7669
7670 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7671 static PyObject *_wrap_wxWave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
7672 PyObject * _resultobj;
7673 bool _result;
7674 wxWave * _arg0;
7675 PyObject * _argo0 = 0;
7676 char *_kwnames[] = { "self", NULL };
7677
7678 self = self;
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWave_IsOk",_kwnames,&_argo0))
7680 return NULL;
7681 if (_argo0) {
7682 if (_argo0 == Py_None) { _arg0 = NULL; }
7683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7685 return NULL;
7686 }
7687 }
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 _result = (bool )wxWave_IsOk(_arg0);
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) return NULL;
7694 } _resultobj = Py_BuildValue("i",_result);
7695 return _resultobj;
7696 }
7697
7698 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7699 static PyObject *_wrap_wxWave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
7700 PyObject * _resultobj;
7701 bool _result;
7702 wxWave * _arg0;
7703 bool _arg1 = (bool ) TRUE;
7704 bool _arg2 = (bool ) FALSE;
7705 PyObject * _argo0 = 0;
7706 int tempbool1 = (int) TRUE;
7707 int tempbool2 = (int) FALSE;
7708 char *_kwnames[] = { "self","async","looped", NULL };
7709
7710 self = self;
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxWave_Play",_kwnames,&_argo0,&tempbool1,&tempbool2))
7712 return NULL;
7713 if (_argo0) {
7714 if (_argo0 == Py_None) { _arg0 = NULL; }
7715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7717 return NULL;
7718 }
7719 }
7720 _arg1 = (bool ) tempbool1;
7721 _arg2 = (bool ) tempbool2;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 _result = (bool )wxWave_Play(_arg0,_arg1,_arg2);
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) return NULL;
7728 } _resultobj = Py_BuildValue("i",_result);
7729 return _resultobj;
7730 }
7731
7732 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7733 static PyObject *_wrap_new_wxFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject * _resultobj;
7735 wxFileTypeInfo * _result;
7736 char * _arg0;
7737 char * _arg1;
7738 char * _arg2;
7739 char * _arg3;
7740 char *_kwnames[] = { "mimeType","openCmd","printCmd","desc", NULL };
7741 char _ptemp[128];
7742
7743 self = self;
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ssss:new_wxFileTypeInfo",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
7745 return NULL;
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 _result = (wxFileTypeInfo *)new_wxFileTypeInfo(_arg0,_arg1,_arg2,_arg3);
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) return NULL;
7752 } if (_result) {
7753 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7754 _resultobj = Py_BuildValue("s",_ptemp);
7755 } else {
7756 Py_INCREF(Py_None);
7757 _resultobj = Py_None;
7758 }
7759 return _resultobj;
7760 }
7761
7762 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7763 static PyObject *_wrap_new_wxFileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
7764 PyObject * _resultobj;
7765 wxFileTypeInfo * _result;
7766 wxArrayString * _arg0;
7767 PyObject * _obj0 = 0;
7768 char *_kwnames[] = { "sArray", NULL };
7769 char _ptemp[128];
7770
7771 self = self;
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileTypeInfoSequence",_kwnames,&_obj0))
7773 return NULL;
7774 {
7775 if (! PySequence_Check(_obj0)) {
7776 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7777 return NULL;
7778 }
7779 _arg0 = new wxArrayString;
7780 int i, len=PySequence_Length(_obj0);
7781 for (i=0; i<len; i++) {
7782 PyObject* item = PySequence_GetItem(_obj0, i);
7783 #if wxUSE_UNICODE
7784 PyObject* str = PyObject_Unicode(item);
7785 _arg0->Add(PyUnicode_AsUnicode(str));
7786 #else
7787 PyObject* str = PyObject_Str(item);
7788 _arg0->Add(PyString_AsString(str));
7789 #endif
7790 Py_DECREF(item);
7791 Py_DECREF(str);
7792 }
7793 }
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 _result = (wxFileTypeInfo *)new_wxFileTypeInfoSequence(*_arg0);
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) return NULL;
7800 } if (_result) {
7801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7802 _resultobj = Py_BuildValue("s",_ptemp);
7803 } else {
7804 Py_INCREF(Py_None);
7805 _resultobj = Py_None;
7806 }
7807 {
7808 if (_obj0)
7809 delete _arg0;
7810 }
7811 return _resultobj;
7812 }
7813
7814 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7815 static PyObject *_wrap_new_wxNullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject * _resultobj;
7817 wxFileTypeInfo * _result;
7818 char *_kwnames[] = { NULL };
7819 char _ptemp[128];
7820
7821 self = self;
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNullFileTypeInfo",_kwnames))
7823 return NULL;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 _result = (wxFileTypeInfo *)new_wxNullFileTypeInfo();
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) return NULL;
7830 } if (_result) {
7831 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7832 _resultobj = Py_BuildValue("s",_ptemp);
7833 } else {
7834 Py_INCREF(Py_None);
7835 _resultobj = Py_None;
7836 }
7837 return _resultobj;
7838 }
7839
7840 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7841 static PyObject *_wrap_wxFileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
7842 PyObject * _resultobj;
7843 bool _result;
7844 wxFileTypeInfo * _arg0;
7845 PyObject * _argo0 = 0;
7846 char *_kwnames[] = { "self", NULL };
7847
7848 self = self;
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_IsValid",_kwnames,&_argo0))
7850 return NULL;
7851 if (_argo0) {
7852 if (_argo0 == Py_None) { _arg0 = NULL; }
7853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7855 return NULL;
7856 }
7857 }
7858 {
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 _result = (bool )wxFileTypeInfo_IsValid(_arg0);
7861
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) return NULL;
7864 } _resultobj = Py_BuildValue("i",_result);
7865 return _resultobj;
7866 }
7867
7868 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7869 static PyObject *_wrap_wxFileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject * _resultobj;
7871 wxFileTypeInfo * _arg0;
7872 wxString * _arg1;
7873 int _arg2 = (int ) 0;
7874 PyObject * _argo0 = 0;
7875 PyObject * _obj1 = 0;
7876 char *_kwnames[] = { "self","iconFile","iconIndex", NULL };
7877
7878 self = self;
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFileTypeInfo_SetIcon",_kwnames,&_argo0,&_obj1,&_arg2))
7880 return NULL;
7881 if (_argo0) {
7882 if (_argo0 == Py_None) { _arg0 = NULL; }
7883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7885 return NULL;
7886 }
7887 }
7888 {
7889 _arg1 = wxString_in_helper(_obj1);
7890 if (_arg1 == NULL)
7891 return NULL;
7892 }
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 wxFileTypeInfo_SetIcon(_arg0,*_arg1,_arg2);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) return NULL;
7899 } Py_INCREF(Py_None);
7900 _resultobj = Py_None;
7901 {
7902 if (_obj1)
7903 delete _arg1;
7904 }
7905 return _resultobj;
7906 }
7907
7908 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7909 static PyObject *_wrap_wxFileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject * _resultobj;
7911 wxFileTypeInfo * _arg0;
7912 wxString * _arg1;
7913 PyObject * _argo0 = 0;
7914 PyObject * _obj1 = 0;
7915 char *_kwnames[] = { "self","shortDesc", NULL };
7916
7917 self = self;
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileTypeInfo_SetShortDesc",_kwnames,&_argo0,&_obj1))
7919 return NULL;
7920 if (_argo0) {
7921 if (_argo0 == Py_None) { _arg0 = NULL; }
7922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7924 return NULL;
7925 }
7926 }
7927 {
7928 _arg1 = wxString_in_helper(_obj1);
7929 if (_arg1 == NULL)
7930 return NULL;
7931 }
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 wxFileTypeInfo_SetShortDesc(_arg0,*_arg1);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) return NULL;
7938 } Py_INCREF(Py_None);
7939 _resultobj = Py_None;
7940 {
7941 if (_obj1)
7942 delete _arg1;
7943 }
7944 return _resultobj;
7945 }
7946
7947 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7948 static PyObject *_wrap_wxFileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7949 PyObject * _resultobj;
7950 wxString * _result;
7951 wxFileTypeInfo * _arg0;
7952 PyObject * _argo0 = 0;
7953 char *_kwnames[] = { "self", NULL };
7954
7955 self = self;
7956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetMimeType",_kwnames,&_argo0))
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_GetMimeType. Expected _wxFileTypeInfo_p.");
7962 return NULL;
7963 }
7964 }
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 const wxString & _result_ref = wxFileTypeInfo_GetMimeType(_arg0);
7968 _result = (wxString *) &_result_ref;
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) return NULL;
7972 }{
7973 #if wxUSE_UNICODE
7974 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
7975 #else
7976 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7977 #endif
7978 }
7979 return _resultobj;
7980 }
7981
7982 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7983 static PyObject *_wrap_wxFileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
7984 PyObject * _resultobj;
7985 wxString * _result;
7986 wxFileTypeInfo * _arg0;
7987 PyObject * _argo0 = 0;
7988 char *_kwnames[] = { "self", NULL };
7989
7990 self = self;
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetOpenCommand",_kwnames,&_argo0))
7992 return NULL;
7993 if (_argo0) {
7994 if (_argo0 == Py_None) { _arg0 = NULL; }
7995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
7996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7997 return NULL;
7998 }
7999 }
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 const wxString & _result_ref = wxFileTypeInfo_GetOpenCommand(_arg0);
8003 _result = (wxString *) &_result_ref;
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) return NULL;
8007 }{
8008 #if wxUSE_UNICODE
8009 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8010 #else
8011 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8012 #endif
8013 }
8014 return _resultobj;
8015 }
8016
8017 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8018 static PyObject *_wrap_wxFileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject * _resultobj;
8020 wxString * _result;
8021 wxFileTypeInfo * _arg0;
8022 PyObject * _argo0 = 0;
8023 char *_kwnames[] = { "self", NULL };
8024
8025 self = self;
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetPrintCommand",_kwnames,&_argo0))
8027 return NULL;
8028 if (_argo0) {
8029 if (_argo0 == Py_None) { _arg0 = NULL; }
8030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8032 return NULL;
8033 }
8034 }
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 const wxString & _result_ref = wxFileTypeInfo_GetPrintCommand(_arg0);
8038 _result = (wxString *) &_result_ref;
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) return NULL;
8042 }{
8043 #if wxUSE_UNICODE
8044 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8045 #else
8046 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8047 #endif
8048 }
8049 return _resultobj;
8050 }
8051
8052 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8053 static PyObject *_wrap_wxFileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject * _resultobj;
8055 wxString * _result;
8056 wxFileTypeInfo * _arg0;
8057 PyObject * _argo0 = 0;
8058 char *_kwnames[] = { "self", NULL };
8059
8060 self = self;
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetShortDesc",_kwnames,&_argo0))
8062 return NULL;
8063 if (_argo0) {
8064 if (_argo0 == Py_None) { _arg0 = NULL; }
8065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8067 return NULL;
8068 }
8069 }
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 const wxString & _result_ref = wxFileTypeInfo_GetShortDesc(_arg0);
8073 _result = (wxString *) &_result_ref;
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) return NULL;
8077 }{
8078 #if wxUSE_UNICODE
8079 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8080 #else
8081 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8082 #endif
8083 }
8084 return _resultobj;
8085 }
8086
8087 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8088 static PyObject *_wrap_wxFileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject * _resultobj;
8090 wxString * _result;
8091 wxFileTypeInfo * _arg0;
8092 PyObject * _argo0 = 0;
8093 char *_kwnames[] = { "self", NULL };
8094
8095 self = self;
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetDescription",_kwnames,&_argo0))
8097 return NULL;
8098 if (_argo0) {
8099 if (_argo0 == Py_None) { _arg0 = NULL; }
8100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8102 return NULL;
8103 }
8104 }
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 const wxString & _result_ref = wxFileTypeInfo_GetDescription(_arg0);
8108 _result = (wxString *) &_result_ref;
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) return NULL;
8112 }{
8113 #if wxUSE_UNICODE
8114 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8115 #else
8116 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8117 #endif
8118 }
8119 return _resultobj;
8120 }
8121
8122 static PyObject * wxFileTypeInfo_GetExtensions(wxFileTypeInfo *self) {
8123 wxArrayString& arr = (wxArrayString&)self->GetExtensions();
8124 return wxArrayString2PyList_helper(arr);
8125 }
8126 static PyObject *_wrap_wxFileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject * _resultobj;
8128 PyObject * _result;
8129 wxFileTypeInfo * _arg0;
8130 PyObject * _argo0 = 0;
8131 char *_kwnames[] = { "self", NULL };
8132
8133 self = self;
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensions",_kwnames,&_argo0))
8135 return NULL;
8136 if (_argo0) {
8137 if (_argo0 == Py_None) { _arg0 = NULL; }
8138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8140 return NULL;
8141 }
8142 }
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 _result = (PyObject *)wxFileTypeInfo_GetExtensions(_arg0);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) return NULL;
8149 }{
8150 _resultobj = _result;
8151 }
8152 return _resultobj;
8153 }
8154
8155 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8156 static PyObject *_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8157 PyObject * _resultobj;
8158 int _result;
8159 wxFileTypeInfo * _arg0;
8160 PyObject * _argo0 = 0;
8161 char *_kwnames[] = { "self", NULL };
8162
8163 self = self;
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames,&_argo0))
8165 return NULL;
8166 if (_argo0) {
8167 if (_argo0 == Py_None) { _arg0 = NULL; }
8168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8170 return NULL;
8171 }
8172 }
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 _result = (int )wxFileTypeInfo_GetExtensionsCount(_arg0);
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) return NULL;
8179 } _resultobj = Py_BuildValue("i",_result);
8180 return _resultobj;
8181 }
8182
8183 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8184 static PyObject *_wrap_wxFileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8185 PyObject * _resultobj;
8186 wxString * _result;
8187 wxFileTypeInfo * _arg0;
8188 PyObject * _argo0 = 0;
8189 char *_kwnames[] = { "self", NULL };
8190
8191 self = self;
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetIconFile",_kwnames,&_argo0))
8193 return NULL;
8194 if (_argo0) {
8195 if (_argo0 == Py_None) { _arg0 = NULL; }
8196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8198 return NULL;
8199 }
8200 }
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 const wxString & _result_ref = wxFileTypeInfo_GetIconFile(_arg0);
8204 _result = (wxString *) &_result_ref;
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) return NULL;
8208 }{
8209 #if wxUSE_UNICODE
8210 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8211 #else
8212 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8213 #endif
8214 }
8215 return _resultobj;
8216 }
8217
8218 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8219 static PyObject *_wrap_wxFileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8220 PyObject * _resultobj;
8221 int _result;
8222 wxFileTypeInfo * _arg0;
8223 PyObject * _argo0 = 0;
8224 char *_kwnames[] = { "self", NULL };
8225
8226 self = self;
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetIconIndex",_kwnames,&_argo0))
8228 return NULL;
8229 if (_argo0) {
8230 if (_argo0 == Py_None) { _arg0 = NULL; }
8231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8233 return NULL;
8234 }
8235 }
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 _result = (int )wxFileTypeInfo_GetIconIndex(_arg0);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) return NULL;
8242 } _resultobj = Py_BuildValue("i",_result);
8243 return _resultobj;
8244 }
8245
8246 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8247 static PyObject *_wrap_new_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject * _resultobj;
8249 wxFileType * _result;
8250 wxFileTypeInfo * _arg0;
8251 PyObject * _argo0 = 0;
8252 char *_kwnames[] = { "ftInfo", NULL };
8253 char _ptemp[128];
8254
8255 self = self;
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileType",_kwnames,&_argo0))
8257 return NULL;
8258 if (_argo0) {
8259 if (_argo0 == Py_None) { _arg0 = NULL; }
8260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8262 return NULL;
8263 }
8264 }
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 _result = (wxFileType *)new_wxFileType(*_arg0);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) return NULL;
8271 } if (_result) {
8272 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
8273 _resultobj = Py_BuildValue("s",_ptemp);
8274 } else {
8275 Py_INCREF(Py_None);
8276 _resultobj = Py_None;
8277 }
8278 return _resultobj;
8279 }
8280
8281 static PyObject * wxFileType_GetMimeType(wxFileType *self) {
8282 wxString str;
8283 if (self->GetMimeType(&str)) {
8284 #if wxUSE_UNICODE
8285 return PyUnicode_FromUnicode(str.c_str(), str.Len());
8286 #else
8287 return PyString_FromStringAndSize(str.c_str(), str.Len());
8288 #endif
8289 }
8290 else
8291 RETURN_NONE();
8292 }
8293 static PyObject *_wrap_wxFileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject * _resultobj;
8295 PyObject * _result;
8296 wxFileType * _arg0;
8297 PyObject * _argo0 = 0;
8298 char *_kwnames[] = { "self", NULL };
8299
8300 self = self;
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeType",_kwnames,&_argo0))
8302 return NULL;
8303 if (_argo0) {
8304 if (_argo0 == Py_None) { _arg0 = NULL; }
8305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8307 return NULL;
8308 }
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 _result = (PyObject *)wxFileType_GetMimeType(_arg0);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) return NULL;
8316 }{
8317 _resultobj = _result;
8318 }
8319 return _resultobj;
8320 }
8321
8322 static PyObject * wxFileType_GetMimeTypes(wxFileType *self) {
8323 wxArrayString arr;
8324 if (self->GetMimeTypes(arr))
8325 return wxArrayString2PyList_helper(arr);
8326 else
8327 RETURN_NONE();
8328 }
8329 static PyObject *_wrap_wxFileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject * _resultobj;
8331 PyObject * _result;
8332 wxFileType * _arg0;
8333 PyObject * _argo0 = 0;
8334 char *_kwnames[] = { "self", NULL };
8335
8336 self = self;
8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeTypes",_kwnames,&_argo0))
8338 return NULL;
8339 if (_argo0) {
8340 if (_argo0 == Py_None) { _arg0 = NULL; }
8341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8343 return NULL;
8344 }
8345 }
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 _result = (PyObject *)wxFileType_GetMimeTypes(_arg0);
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) return NULL;
8352 }{
8353 _resultobj = _result;
8354 }
8355 return _resultobj;
8356 }
8357
8358 static PyObject * wxFileType_GetExtensions(wxFileType *self) {
8359 wxArrayString arr;
8360 if (self->GetExtensions(arr))
8361 return wxArrayString2PyList_helper(arr);
8362 else
8363 RETURN_NONE();
8364 }
8365 static PyObject *_wrap_wxFileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8366 PyObject * _resultobj;
8367 PyObject * _result;
8368 wxFileType * _arg0;
8369 PyObject * _argo0 = 0;
8370 char *_kwnames[] = { "self", NULL };
8371
8372 self = self;
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetExtensions",_kwnames,&_argo0))
8374 return NULL;
8375 if (_argo0) {
8376 if (_argo0 == Py_None) { _arg0 = NULL; }
8377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8379 return NULL;
8380 }
8381 }
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 _result = (PyObject *)wxFileType_GetExtensions(_arg0);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) return NULL;
8388 }{
8389 _resultobj = _result;
8390 }
8391 return _resultobj;
8392 }
8393
8394 static wxIcon * wxFileType_GetIcon(wxFileType *self) {
8395 wxIcon icon;
8396 if (self->GetIcon(&icon))
8397 return new wxIcon(icon);
8398 else
8399 return NULL;
8400 }
8401 static PyObject *_wrap_wxFileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8402 PyObject * _resultobj;
8403 wxIcon * _result;
8404 wxFileType * _arg0;
8405 PyObject * _argo0 = 0;
8406 char *_kwnames[] = { "self", NULL };
8407 char _ptemp[128];
8408
8409 self = self;
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIcon",_kwnames,&_argo0))
8411 return NULL;
8412 if (_argo0) {
8413 if (_argo0 == Py_None) { _arg0 = NULL; }
8414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8416 return NULL;
8417 }
8418 }
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 _result = (wxIcon *)wxFileType_GetIcon(_arg0);
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) return NULL;
8425 } if (_result) {
8426 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
8427 _resultobj = Py_BuildValue("s",_ptemp);
8428 } else {
8429 Py_INCREF(Py_None);
8430 _resultobj = Py_None;
8431 }
8432 return _resultobj;
8433 }
8434
8435 static PyObject * wxFileType_GetIconInfo(wxFileType *self) {
8436 wxIcon icon;
8437 wxString iconFile;
8438 int iconIndex;
8439 if (self->GetIcon(&icon, &iconFile, &iconIndex)) {
8440 wxPyBeginBlockThreads();
8441 PyObject* tuple = PyTuple_New(3);
8442 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(icon),
8443 "wxIcon", TRUE));
8444 #if wxUSE_UNICODE
8445 PyTuple_SetItem(tuple, 1, PyUnicode_FromUnicode(iconFile.c_str(), iconFile.Len()));
8446 #else
8447 PyTuple_SetItem(tuple, 1, PyString_FromStringAndSize(iconFile.c_str(), iconFile.Len()));
8448 #endif
8449 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
8450 wxPyEndBlockThreads();
8451 return tuple;
8452 }
8453 else
8454 RETURN_NONE();
8455 }
8456 static PyObject *_wrap_wxFileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject * _resultobj;
8458 PyObject * _result;
8459 wxFileType * _arg0;
8460 PyObject * _argo0 = 0;
8461 char *_kwnames[] = { "self", NULL };
8462
8463 self = self;
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIconInfo",_kwnames,&_argo0))
8465 return NULL;
8466 if (_argo0) {
8467 if (_argo0 == Py_None) { _arg0 = NULL; }
8468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8470 return NULL;
8471 }
8472 }
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 _result = (PyObject *)wxFileType_GetIconInfo(_arg0);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) return NULL;
8479 }{
8480 _resultobj = _result;
8481 }
8482 return _resultobj;
8483 }
8484
8485 static PyObject * wxFileType_GetDescription(wxFileType *self) {
8486 wxString str;
8487 if (self->GetDescription(&str)) {
8488 #if wxUSE_UNICODE
8489 return PyUnicode_FromUnicode(str.c_str(), str.Len());
8490 #else
8491 return PyString_FromStringAndSize(str.c_str(), str.Len());
8492 #endif
8493 } else
8494 RETURN_NONE();
8495 }
8496 static PyObject *_wrap_wxFileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject * _resultobj;
8498 PyObject * _result;
8499 wxFileType * _arg0;
8500 PyObject * _argo0 = 0;
8501 char *_kwnames[] = { "self", NULL };
8502
8503 self = self;
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetDescription",_kwnames,&_argo0))
8505 return NULL;
8506 if (_argo0) {
8507 if (_argo0 == Py_None) { _arg0 = NULL; }
8508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8510 return NULL;
8511 }
8512 }
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 _result = (PyObject *)wxFileType_GetDescription(_arg0);
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) return NULL;
8519 }{
8520 _resultobj = _result;
8521 }
8522 return _resultobj;
8523 }
8524
8525 static PyObject * wxFileType_GetOpenCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8526 wxString str;
8527 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype))) {
8528 #if wxUSE_UNICODE
8529 return PyUnicode_FromUnicode(str.c_str(), str.Len());
8530 #else
8531 return PyString_FromStringAndSize(str.c_str(), str.Len());
8532 #endif
8533 } else
8534 RETURN_NONE();
8535 }
8536 static PyObject *_wrap_wxFileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject * _resultobj;
8538 PyObject * _result;
8539 wxFileType * _arg0;
8540 wxString * _arg1;
8541 wxString * _arg2 = (wxString *) &wxPyEmptyString;
8542 PyObject * _argo0 = 0;
8543 PyObject * _obj1 = 0;
8544 PyObject * _obj2 = 0;
8545 char *_kwnames[] = { "self","filename","mimetype", NULL };
8546
8547 self = self;
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetOpenCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8549 return NULL;
8550 if (_argo0) {
8551 if (_argo0 == Py_None) { _arg0 = NULL; }
8552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8554 return NULL;
8555 }
8556 }
8557 {
8558 _arg1 = wxString_in_helper(_obj1);
8559 if (_arg1 == NULL)
8560 return NULL;
8561 }
8562 if (_obj2)
8563 {
8564 _arg2 = wxString_in_helper(_obj2);
8565 if (_arg2 == NULL)
8566 return NULL;
8567 }
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 _result = (PyObject *)wxFileType_GetOpenCommand(_arg0,*_arg1,*_arg2);
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) return NULL;
8574 }{
8575 _resultobj = _result;
8576 }
8577 {
8578 if (_obj1)
8579 delete _arg1;
8580 }
8581 {
8582 if (_obj2)
8583 delete _arg2;
8584 }
8585 return _resultobj;
8586 }
8587
8588 static PyObject * wxFileType_GetPrintCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8589 wxString str;
8590 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype))) {
8591 #if wxUSE_UNICODE
8592 return PyUnicode_FromUnicode(str.c_str(), str.Len());
8593 #else
8594 return PyString_FromStringAndSize(str.c_str(), str.Len());
8595 #endif
8596 } else
8597 RETURN_NONE();
8598 }
8599 static PyObject *_wrap_wxFileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject * _resultobj;
8601 PyObject * _result;
8602 wxFileType * _arg0;
8603 wxString * _arg1;
8604 wxString * _arg2 = (wxString *) &wxPyEmptyString;
8605 PyObject * _argo0 = 0;
8606 PyObject * _obj1 = 0;
8607 PyObject * _obj2 = 0;
8608 char *_kwnames[] = { "self","filename","mimetype", NULL };
8609
8610 self = self;
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetPrintCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8612 return NULL;
8613 if (_argo0) {
8614 if (_argo0 == Py_None) { _arg0 = NULL; }
8615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8617 return NULL;
8618 }
8619 }
8620 {
8621 _arg1 = wxString_in_helper(_obj1);
8622 if (_arg1 == NULL)
8623 return NULL;
8624 }
8625 if (_obj2)
8626 {
8627 _arg2 = wxString_in_helper(_obj2);
8628 if (_arg2 == NULL)
8629 return NULL;
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 _result = (PyObject *)wxFileType_GetPrintCommand(_arg0,*_arg1,*_arg2);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) return NULL;
8637 }{
8638 _resultobj = _result;
8639 }
8640 {
8641 if (_obj1)
8642 delete _arg1;
8643 }
8644 {
8645 if (_obj2)
8646 delete _arg2;
8647 }
8648 return _resultobj;
8649 }
8650
8651 static PyObject * wxFileType_GetAllCommands(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8652 wxArrayString verbs;
8653 wxArrayString commands;
8654 if (self->GetAllCommands(&verbs, &commands,
8655 wxFileType::MessageParameters(filename, mimetype))) {
8656 wxPyBeginBlockThreads();
8657 PyObject* tuple = PyTuple_New(2);
8658 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
8659 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
8660 wxPyEndBlockThreads();
8661 return tuple;
8662 }
8663 else
8664 RETURN_NONE();
8665 }
8666 static PyObject *_wrap_wxFileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject * _resultobj;
8668 PyObject * _result;
8669 wxFileType * _arg0;
8670 wxString * _arg1;
8671 wxString * _arg2 = (wxString *) &wxPyEmptyString;
8672 PyObject * _argo0 = 0;
8673 PyObject * _obj1 = 0;
8674 PyObject * _obj2 = 0;
8675 char *_kwnames[] = { "self","filename","mimetype", NULL };
8676
8677 self = self;
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetAllCommands",_kwnames,&_argo0,&_obj1,&_obj2))
8679 return NULL;
8680 if (_argo0) {
8681 if (_argo0 == Py_None) { _arg0 = NULL; }
8682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8684 return NULL;
8685 }
8686 }
8687 {
8688 _arg1 = wxString_in_helper(_obj1);
8689 if (_arg1 == NULL)
8690 return NULL;
8691 }
8692 if (_obj2)
8693 {
8694 _arg2 = wxString_in_helper(_obj2);
8695 if (_arg2 == NULL)
8696 return NULL;
8697 }
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 _result = (PyObject *)wxFileType_GetAllCommands(_arg0,*_arg1,*_arg2);
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) return NULL;
8704 }{
8705 _resultobj = _result;
8706 }
8707 {
8708 if (_obj1)
8709 delete _arg1;
8710 }
8711 {
8712 if (_obj2)
8713 delete _arg2;
8714 }
8715 return _resultobj;
8716 }
8717
8718 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8719 static PyObject *_wrap_wxFileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8720 PyObject * _resultobj;
8721 bool _result;
8722 wxFileType * _arg0;
8723 wxString * _arg1;
8724 wxString * _arg2;
8725 bool _arg3 = (bool ) TRUE;
8726 PyObject * _argo0 = 0;
8727 PyObject * _obj1 = 0;
8728 PyObject * _obj2 = 0;
8729 int tempbool3 = (int) TRUE;
8730 char *_kwnames[] = { "self","cmd","verb","overwriteprompt", NULL };
8731
8732 self = self;
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxFileType_SetCommand",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
8734 return NULL;
8735 if (_argo0) {
8736 if (_argo0 == Py_None) { _arg0 = NULL; }
8737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8739 return NULL;
8740 }
8741 }
8742 {
8743 _arg1 = wxString_in_helper(_obj1);
8744 if (_arg1 == NULL)
8745 return NULL;
8746 }
8747 {
8748 _arg2 = wxString_in_helper(_obj2);
8749 if (_arg2 == NULL)
8750 return NULL;
8751 }
8752 _arg3 = (bool ) tempbool3;
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 _result = (bool )wxFileType_SetCommand(_arg0,*_arg1,*_arg2,_arg3);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) return NULL;
8759 } _resultobj = Py_BuildValue("i",_result);
8760 {
8761 if (_obj1)
8762 delete _arg1;
8763 }
8764 {
8765 if (_obj2)
8766 delete _arg2;
8767 }
8768 return _resultobj;
8769 }
8770
8771 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8772 static PyObject *_wrap_wxFileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8773 PyObject * _resultobj;
8774 bool _result;
8775 wxFileType * _arg0;
8776 wxString * _arg1 = (wxString *) &wxPyEmptyString;
8777 int _arg2 = (int ) 0;
8778 PyObject * _argo0 = 0;
8779 PyObject * _obj1 = 0;
8780 char *_kwnames[] = { "self","cmd","index", NULL };
8781
8782 self = self;
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|Oi:wxFileType_SetDefaultIcon",_kwnames,&_argo0,&_obj1,&_arg2))
8784 return NULL;
8785 if (_argo0) {
8786 if (_argo0 == Py_None) { _arg0 = NULL; }
8787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8789 return NULL;
8790 }
8791 }
8792 if (_obj1)
8793 {
8794 _arg1 = wxString_in_helper(_obj1);
8795 if (_arg1 == NULL)
8796 return NULL;
8797 }
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 _result = (bool )wxFileType_SetDefaultIcon(_arg0,*_arg1,_arg2);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) return NULL;
8804 } _resultobj = Py_BuildValue("i",_result);
8805 {
8806 if (_obj1)
8807 delete _arg1;
8808 }
8809 return _resultobj;
8810 }
8811
8812 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8813 static PyObject *_wrap_wxFileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
8814 PyObject * _resultobj;
8815 bool _result;
8816 wxFileType * _arg0;
8817 PyObject * _argo0 = 0;
8818 char *_kwnames[] = { "self", NULL };
8819
8820 self = self;
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_Unassociate",_kwnames,&_argo0))
8822 return NULL;
8823 if (_argo0) {
8824 if (_argo0 == Py_None) { _arg0 = NULL; }
8825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8827 return NULL;
8828 }
8829 }
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 _result = (bool )wxFileType_Unassociate(_arg0);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) return NULL;
8836 } _resultobj = Py_BuildValue("i",_result);
8837 return _resultobj;
8838 }
8839
8840 static PyObject *_wrap_wxFileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8841 PyObject * _resultobj;
8842 wxString * _result;
8843 wxString * _arg0;
8844 wxFileType::MessageParameters * _arg1;
8845 PyObject * _obj0 = 0;
8846 PyObject * _argo1 = 0;
8847 char *_kwnames[] = { "command","params", NULL };
8848
8849 self = self;
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileType_ExpandCommand",_kwnames,&_obj0,&_argo1))
8851 return NULL;
8852 {
8853 _arg0 = wxString_in_helper(_obj0);
8854 if (_arg0 == NULL)
8855 return NULL;
8856 }
8857 if (_argo1) {
8858 if (_argo1 == Py_None) { _arg1 = NULL; }
8859 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType::MessageParameters_p")) {
8860 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8861 return NULL;
8862 }
8863 }
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 _result = new wxString (wxFileType::ExpandCommand(*_arg0,*_arg1));
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) return NULL;
8870 }{
8871 #if wxUSE_UNICODE
8872 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
8873 #else
8874 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8875 #endif
8876 }
8877 {
8878 if (_obj0)
8879 delete _arg0;
8880 }
8881 {
8882 delete _result;
8883 }
8884 return _resultobj;
8885 }
8886
8887 #define delete_wxFileType(_swigobj) (delete _swigobj)
8888 static PyObject *_wrap_delete_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject * _resultobj;
8890 wxFileType * _arg0;
8891 PyObject * _argo0 = 0;
8892 char *_kwnames[] = { "self", NULL };
8893
8894 self = self;
8895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileType",_kwnames,&_argo0))
8896 return NULL;
8897 if (_argo0) {
8898 if (_argo0 == Py_None) { _arg0 = NULL; }
8899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8901 return NULL;
8902 }
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 delete_wxFileType(_arg0);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) return NULL;
8910 } Py_INCREF(Py_None);
8911 _resultobj = Py_None;
8912 return _resultobj;
8913 }
8914
8915 static PyObject *_wrap_wxMimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject * _resultobj;
8917 bool _result;
8918 wxString * _arg0;
8919 wxString * _arg1;
8920 PyObject * _obj0 = 0;
8921 PyObject * _obj1 = 0;
8922 char *_kwnames[] = { "mimeType","wildcard", NULL };
8923
8924 self = self;
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_IsOfType",_kwnames,&_obj0,&_obj1))
8926 return NULL;
8927 {
8928 _arg0 = wxString_in_helper(_obj0);
8929 if (_arg0 == NULL)
8930 return NULL;
8931 }
8932 {
8933 _arg1 = wxString_in_helper(_obj1);
8934 if (_arg1 == NULL)
8935 return NULL;
8936 }
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 _result = (bool )wxMimeTypesManager::IsOfType(*_arg0,*_arg1);
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) return NULL;
8943 } _resultobj = Py_BuildValue("i",_result);
8944 {
8945 if (_obj0)
8946 delete _arg0;
8947 }
8948 {
8949 if (_obj1)
8950 delete _arg1;
8951 }
8952 return _resultobj;
8953 }
8954
8955 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8956 static PyObject *_wrap_new_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject * _resultobj;
8958 wxMimeTypesManager * _result;
8959 char *_kwnames[] = { NULL };
8960 char _ptemp[128];
8961
8962 self = self;
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMimeTypesManager",_kwnames))
8964 return NULL;
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 _result = (wxMimeTypesManager *)new_wxMimeTypesManager();
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) return NULL;
8971 } if (_result) {
8972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMimeTypesManager_p");
8973 _resultobj = Py_BuildValue("s",_ptemp);
8974 } else {
8975 Py_INCREF(Py_None);
8976 _resultobj = Py_None;
8977 }
8978 return _resultobj;
8979 }
8980
8981 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8982 static PyObject *_wrap_wxMimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject * _resultobj;
8984 wxMimeTypesManager * _arg0;
8985 int _arg1 = (int ) (wxMAILCAP_STANDARD);
8986 wxString * _arg2 = (wxString *) &wxPyEmptyString;
8987 PyObject * _argo0 = 0;
8988 PyObject * _obj2 = 0;
8989 char *_kwnames[] = { "self","mailcapStyle","extraDir", NULL };
8990
8991 self = self;
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxMimeTypesManager_Initialize",_kwnames,&_argo0,&_arg1,&_obj2))
8993 return NULL;
8994 if (_argo0) {
8995 if (_argo0 == Py_None) { _arg0 = NULL; }
8996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
8997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8998 return NULL;
8999 }
9000 }
9001 if (_obj2)
9002 {
9003 _arg2 = wxString_in_helper(_obj2);
9004 if (_arg2 == NULL)
9005 return NULL;
9006 }
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 wxMimeTypesManager_Initialize(_arg0,_arg1,*_arg2);
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) return NULL;
9013 } Py_INCREF(Py_None);
9014 _resultobj = Py_None;
9015 {
9016 if (_obj2)
9017 delete _arg2;
9018 }
9019 return _resultobj;
9020 }
9021
9022 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9023 static PyObject *_wrap_wxMimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject * _resultobj;
9025 wxMimeTypesManager * _arg0;
9026 PyObject * _argo0 = 0;
9027 char *_kwnames[] = { "self", NULL };
9028
9029 self = self;
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_ClearData",_kwnames,&_argo0))
9031 return NULL;
9032 if (_argo0) {
9033 if (_argo0 == Py_None) { _arg0 = NULL; }
9034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9036 return NULL;
9037 }
9038 }
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 wxMimeTypesManager_ClearData(_arg0);
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) return NULL;
9045 } Py_INCREF(Py_None);
9046 _resultobj = Py_None;
9047 return _resultobj;
9048 }
9049
9050 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9051 static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject * _resultobj;
9053 wxFileType * _result;
9054 wxMimeTypesManager * _arg0;
9055 wxString * _arg1;
9056 PyObject * _argo0 = 0;
9057 PyObject * _obj1 = 0;
9058 char *_kwnames[] = { "self","ext", NULL };
9059 char _ptemp[128];
9060
9061 self = self;
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames,&_argo0,&_obj1))
9063 return NULL;
9064 if (_argo0) {
9065 if (_argo0 == Py_None) { _arg0 = NULL; }
9066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9068 return NULL;
9069 }
9070 }
9071 {
9072 _arg1 = wxString_in_helper(_obj1);
9073 if (_arg1 == NULL)
9074 return NULL;
9075 }
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromExtension(_arg0,*_arg1);
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) return NULL;
9082 } if (_result) {
9083 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9084 _resultobj = Py_BuildValue("s",_ptemp);
9085 } else {
9086 Py_INCREF(Py_None);
9087 _resultobj = Py_None;
9088 }
9089 {
9090 if (_obj1)
9091 delete _arg1;
9092 }
9093 return _resultobj;
9094 }
9095
9096 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9097 static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
9098 PyObject * _resultobj;
9099 wxFileType * _result;
9100 wxMimeTypesManager * _arg0;
9101 wxString * _arg1;
9102 PyObject * _argo0 = 0;
9103 PyObject * _obj1 = 0;
9104 char *_kwnames[] = { "self","mimeType", NULL };
9105 char _ptemp[128];
9106
9107 self = self;
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames,&_argo0,&_obj1))
9109 return NULL;
9110 if (_argo0) {
9111 if (_argo0 == Py_None) { _arg0 = NULL; }
9112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9114 return NULL;
9115 }
9116 }
9117 {
9118 _arg1 = wxString_in_helper(_obj1);
9119 if (_arg1 == NULL)
9120 return NULL;
9121 }
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0,*_arg1);
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) return NULL;
9128 } if (_result) {
9129 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9130 _resultobj = Py_BuildValue("s",_ptemp);
9131 } else {
9132 Py_INCREF(Py_None);
9133 _resultobj = Py_None;
9134 }
9135 {
9136 if (_obj1)
9137 delete _arg1;
9138 }
9139 return _resultobj;
9140 }
9141
9142 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9143 static PyObject *_wrap_wxMimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject * _resultobj;
9145 bool _result;
9146 wxMimeTypesManager * _arg0;
9147 wxString * _arg1;
9148 bool _arg2 = (bool ) FALSE;
9149 PyObject * _argo0 = 0;
9150 PyObject * _obj1 = 0;
9151 int tempbool2 = (int) FALSE;
9152 char *_kwnames[] = { "self","filename","fallback", NULL };
9153
9154 self = self;
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames,&_argo0,&_obj1,&tempbool2))
9156 return NULL;
9157 if (_argo0) {
9158 if (_argo0 == Py_None) { _arg0 = NULL; }
9159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9161 return NULL;
9162 }
9163 }
9164 {
9165 _arg1 = wxString_in_helper(_obj1);
9166 if (_arg1 == NULL)
9167 return NULL;
9168 }
9169 _arg2 = (bool ) tempbool2;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 _result = (bool )wxMimeTypesManager_ReadMailcap(_arg0,*_arg1,_arg2);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) return NULL;
9176 } _resultobj = Py_BuildValue("i",_result);
9177 {
9178 if (_obj1)
9179 delete _arg1;
9180 }
9181 return _resultobj;
9182 }
9183
9184 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9185 static PyObject *_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject * _resultobj;
9187 bool _result;
9188 wxMimeTypesManager * _arg0;
9189 wxString * _arg1;
9190 PyObject * _argo0 = 0;
9191 PyObject * _obj1 = 0;
9192 char *_kwnames[] = { "self","filename", NULL };
9193
9194 self = self;
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames,&_argo0,&_obj1))
9196 return NULL;
9197 if (_argo0) {
9198 if (_argo0 == Py_None) { _arg0 = NULL; }
9199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9201 return NULL;
9202 }
9203 }
9204 {
9205 _arg1 = wxString_in_helper(_obj1);
9206 if (_arg1 == NULL)
9207 return NULL;
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 _result = (bool )wxMimeTypesManager_ReadMimeTypes(_arg0,*_arg1);
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) return NULL;
9215 } _resultobj = Py_BuildValue("i",_result);
9216 {
9217 if (_obj1)
9218 delete _arg1;
9219 }
9220 return _resultobj;
9221 }
9222
9223 static PyObject * wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self) {
9224 wxArrayString arr;
9225 self->EnumAllFileTypes(arr);
9226 return wxArrayString2PyList_helper(arr);
9227 }
9228 static PyObject *_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9229 PyObject * _resultobj;
9230 PyObject * _result;
9231 wxMimeTypesManager * _arg0;
9232 PyObject * _argo0 = 0;
9233 char *_kwnames[] = { "self", NULL };
9234
9235 self = self;
9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames,&_argo0))
9237 return NULL;
9238 if (_argo0) {
9239 if (_argo0 == Py_None) { _arg0 = NULL; }
9240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9242 return NULL;
9243 }
9244 }
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 _result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(_arg0);
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) return NULL;
9251 }{
9252 _resultobj = _result;
9253 }
9254 return _resultobj;
9255 }
9256
9257 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9258 static PyObject *_wrap_wxMimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject * _resultobj;
9260 wxMimeTypesManager * _arg0;
9261 wxFileTypeInfo * _arg1;
9262 PyObject * _argo0 = 0;
9263 PyObject * _argo1 = 0;
9264 char *_kwnames[] = { "self","ft", NULL };
9265
9266 self = self;
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_AddFallback",_kwnames,&_argo0,&_argo1))
9268 return NULL;
9269 if (_argo0) {
9270 if (_argo0 == Py_None) { _arg0 = NULL; }
9271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9273 return NULL;
9274 }
9275 }
9276 if (_argo1) {
9277 if (_argo1 == Py_None) { _arg1 = NULL; }
9278 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9279 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9280 return NULL;
9281 }
9282 }
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 wxMimeTypesManager_AddFallback(_arg0,*_arg1);
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) return NULL;
9289 } Py_INCREF(Py_None);
9290 _resultobj = Py_None;
9291 return _resultobj;
9292 }
9293
9294 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9295 static PyObject *_wrap_wxMimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject * _resultobj;
9297 wxFileType * _result;
9298 wxMimeTypesManager * _arg0;
9299 wxFileTypeInfo * _arg1;
9300 PyObject * _argo0 = 0;
9301 PyObject * _argo1 = 0;
9302 char *_kwnames[] = { "self","ftInfo", NULL };
9303 char _ptemp[128];
9304
9305 self = self;
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Associate",_kwnames,&_argo0,&_argo1))
9307 return NULL;
9308 if (_argo0) {
9309 if (_argo0 == Py_None) { _arg0 = NULL; }
9310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9312 return NULL;
9313 }
9314 }
9315 if (_argo1) {
9316 if (_argo1 == Py_None) { _arg1 = NULL; }
9317 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9318 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9319 return NULL;
9320 }
9321 }
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 _result = (wxFileType *)wxMimeTypesManager_Associate(_arg0,*_arg1);
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) return NULL;
9328 } if (_result) {
9329 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9330 _resultobj = Py_BuildValue("s",_ptemp);
9331 } else {
9332 Py_INCREF(Py_None);
9333 _resultobj = Py_None;
9334 }
9335 return _resultobj;
9336 }
9337
9338 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9339 static PyObject *_wrap_wxMimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject * _resultobj;
9341 bool _result;
9342 wxMimeTypesManager * _arg0;
9343 wxFileType * _arg1;
9344 PyObject * _argo0 = 0;
9345 PyObject * _argo1 = 0;
9346 char *_kwnames[] = { "self","ft", NULL };
9347
9348 self = self;
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Unassociate",_kwnames,&_argo0,&_argo1))
9350 return NULL;
9351 if (_argo0) {
9352 if (_argo0 == Py_None) { _arg0 = NULL; }
9353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9355 return NULL;
9356 }
9357 }
9358 if (_argo1) {
9359 if (_argo1 == Py_None) { _arg1 = NULL; }
9360 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType_p")) {
9361 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9362 return NULL;
9363 }
9364 }
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 _result = (bool )wxMimeTypesManager_Unassociate(_arg0,_arg1);
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) return NULL;
9371 } _resultobj = Py_BuildValue("i",_result);
9372 return _resultobj;
9373 }
9374
9375 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9376 static PyObject *_wrap_delete_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
9377 PyObject * _resultobj;
9378 wxMimeTypesManager * _arg0;
9379 PyObject * _argo0 = 0;
9380 char *_kwnames[] = { "self", NULL };
9381
9382 self = self;
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMimeTypesManager",_kwnames,&_argo0))
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 delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9389 return NULL;
9390 }
9391 }
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 delete_wxMimeTypesManager(_arg0);
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) return NULL;
9398 } Py_INCREF(Py_None);
9399 _resultobj = Py_None;
9400 return _resultobj;
9401 }
9402
9403 static void *SwigwxFileHistoryTowxObject(void *ptr) {
9404 wxFileHistory *src;
9405 wxObject *dest;
9406 src = (wxFileHistory *) ptr;
9407 dest = (wxObject *) src;
9408 return (void *) dest;
9409 }
9410
9411 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9412 static PyObject *_wrap_new_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject * _resultobj;
9414 wxFileHistory * _result;
9415 int _arg0 = (int ) 9;
9416 char *_kwnames[] = { "maxFiles", NULL };
9417 char _ptemp[128];
9418
9419 self = self;
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxFileHistory",_kwnames,&_arg0))
9421 return NULL;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 _result = (wxFileHistory *)new_wxFileHistory(_arg0);
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) return NULL;
9428 } if (_result) {
9429 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileHistory_p");
9430 _resultobj = Py_BuildValue("s",_ptemp);
9431 } else {
9432 Py_INCREF(Py_None);
9433 _resultobj = Py_None;
9434 }
9435 return _resultobj;
9436 }
9437
9438 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9439 static PyObject *_wrap_delete_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject * _resultobj;
9441 wxFileHistory * _arg0;
9442 PyObject * _argo0 = 0;
9443 char *_kwnames[] = { "self", NULL };
9444
9445 self = self;
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileHistory",_kwnames,&_argo0))
9447 return NULL;
9448 if (_argo0) {
9449 if (_argo0 == Py_None) { _arg0 = NULL; }
9450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9452 return NULL;
9453 }
9454 }
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 delete_wxFileHistory(_arg0);
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) return NULL;
9461 } Py_INCREF(Py_None);
9462 _resultobj = Py_None;
9463 return _resultobj;
9464 }
9465
9466 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9467 static PyObject *_wrap_wxFileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject * _resultobj;
9469 wxFileHistory * _arg0;
9470 wxString * _arg1;
9471 PyObject * _argo0 = 0;
9472 PyObject * _obj1 = 0;
9473 char *_kwnames[] = { "self","file", NULL };
9474
9475 self = self;
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFileToHistory",_kwnames,&_argo0,&_obj1))
9477 return NULL;
9478 if (_argo0) {
9479 if (_argo0 == Py_None) { _arg0 = NULL; }
9480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9482 return NULL;
9483 }
9484 }
9485 {
9486 _arg1 = wxString_in_helper(_obj1);
9487 if (_arg1 == NULL)
9488 return NULL;
9489 }
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 wxFileHistory_AddFileToHistory(_arg0,*_arg1);
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) return NULL;
9496 } Py_INCREF(Py_None);
9497 _resultobj = Py_None;
9498 {
9499 if (_obj1)
9500 delete _arg1;
9501 }
9502 return _resultobj;
9503 }
9504
9505 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9506 static PyObject *_wrap_wxFileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject * _resultobj;
9508 wxFileHistory * _arg0;
9509 int _arg1;
9510 PyObject * _argo0 = 0;
9511 char *_kwnames[] = { "self","i", NULL };
9512
9513 self = self;
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames,&_argo0,&_arg1))
9515 return NULL;
9516 if (_argo0) {
9517 if (_argo0 == Py_None) { _arg0 = NULL; }
9518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9520 return NULL;
9521 }
9522 }
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 wxFileHistory_RemoveFileFromHistory(_arg0,_arg1);
9526
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) return NULL;
9529 } Py_INCREF(Py_None);
9530 _resultobj = Py_None;
9531 return _resultobj;
9532 }
9533
9534 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9535 static PyObject *_wrap_wxFileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject * _resultobj;
9537 int _result;
9538 wxFileHistory * _arg0;
9539 PyObject * _argo0 = 0;
9540 char *_kwnames[] = { "self", NULL };
9541
9542 self = self;
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetMaxFiles",_kwnames,&_argo0))
9544 return NULL;
9545 if (_argo0) {
9546 if (_argo0 == Py_None) { _arg0 = NULL; }
9547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9549 return NULL;
9550 }
9551 }
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 _result = (int )wxFileHistory_GetMaxFiles(_arg0);
9555
9556 wxPyEndAllowThreads(__tstate);
9557 if (PyErr_Occurred()) return NULL;
9558 } _resultobj = Py_BuildValue("i",_result);
9559 return _resultobj;
9560 }
9561
9562 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9563 static PyObject *_wrap_wxFileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9564 PyObject * _resultobj;
9565 wxFileHistory * _arg0;
9566 wxMenu * _arg1;
9567 PyObject * _argo0 = 0;
9568 PyObject * _argo1 = 0;
9569 char *_kwnames[] = { "self","menu", NULL };
9570
9571 self = self;
9572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_UseMenu",_kwnames,&_argo0,&_argo1))
9573 return NULL;
9574 if (_argo0) {
9575 if (_argo0 == Py_None) { _arg0 = NULL; }
9576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9578 return NULL;
9579 }
9580 }
9581 if (_argo1) {
9582 if (_argo1 == Py_None) { _arg1 = NULL; }
9583 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9584 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9585 return NULL;
9586 }
9587 }
9588 {
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 wxFileHistory_UseMenu(_arg0,_arg1);
9591
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) return NULL;
9594 } Py_INCREF(Py_None);
9595 _resultobj = Py_None;
9596 return _resultobj;
9597 }
9598
9599 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9600 static PyObject *_wrap_wxFileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject * _resultobj;
9602 wxFileHistory * _arg0;
9603 wxMenu * _arg1;
9604 PyObject * _argo0 = 0;
9605 PyObject * _argo1 = 0;
9606 char *_kwnames[] = { "self","menu", NULL };
9607
9608 self = self;
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_RemoveMenu",_kwnames,&_argo0,&_argo1))
9610 return NULL;
9611 if (_argo0) {
9612 if (_argo0 == Py_None) { _arg0 = NULL; }
9613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9615 return NULL;
9616 }
9617 }
9618 if (_argo1) {
9619 if (_argo1 == Py_None) { _arg1 = NULL; }
9620 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9621 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9622 return NULL;
9623 }
9624 }
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 wxFileHistory_RemoveMenu(_arg0,_arg1);
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) return NULL;
9631 } Py_INCREF(Py_None);
9632 _resultobj = Py_None;
9633 return _resultobj;
9634 }
9635
9636 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9637 static PyObject *_wrap_wxFileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject * _resultobj;
9639 wxFileHistory * _arg0;
9640 wxConfigBase * _arg1;
9641 PyObject * _argo0 = 0;
9642 PyObject * _argo1 = 0;
9643 char *_kwnames[] = { "self","config", NULL };
9644
9645 self = self;
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Load",_kwnames,&_argo0,&_argo1))
9647 return NULL;
9648 if (_argo0) {
9649 if (_argo0 == Py_None) { _arg0 = NULL; }
9650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9652 return NULL;
9653 }
9654 }
9655 if (_argo1) {
9656 if (_argo1 == Py_None) { _arg1 = NULL; }
9657 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
9658 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9659 return NULL;
9660 }
9661 }
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 wxFileHistory_Load(_arg0,*_arg1);
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) return NULL;
9668 } Py_INCREF(Py_None);
9669 _resultobj = Py_None;
9670 return _resultobj;
9671 }
9672
9673 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9674 static PyObject *_wrap_wxFileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
9675 PyObject * _resultobj;
9676 wxFileHistory * _arg0;
9677 wxConfigBase * _arg1;
9678 PyObject * _argo0 = 0;
9679 PyObject * _argo1 = 0;
9680 char *_kwnames[] = { "self","config", NULL };
9681
9682 self = self;
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Save",_kwnames,&_argo0,&_argo1))
9684 return NULL;
9685 if (_argo0) {
9686 if (_argo0 == Py_None) { _arg0 = NULL; }
9687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9689 return NULL;
9690 }
9691 }
9692 if (_argo1) {
9693 if (_argo1 == Py_None) { _arg1 = NULL; }
9694 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
9695 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9696 return NULL;
9697 }
9698 }
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 wxFileHistory_Save(_arg0,*_arg1);
9702
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) return NULL;
9705 } Py_INCREF(Py_None);
9706 _resultobj = Py_None;
9707 return _resultobj;
9708 }
9709
9710 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9711 static PyObject *_wrap_wxFileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject * _resultobj;
9713 wxFileHistory * _arg0;
9714 PyObject * _argo0 = 0;
9715 char *_kwnames[] = { "self", NULL };
9716
9717 self = self;
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_AddFilesToMenu",_kwnames,&_argo0))
9719 return NULL;
9720 if (_argo0) {
9721 if (_argo0 == Py_None) { _arg0 = NULL; }
9722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9724 return NULL;
9725 }
9726 }
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 wxFileHistory_AddFilesToMenu(_arg0);
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) return NULL;
9733 } Py_INCREF(Py_None);
9734 _resultobj = Py_None;
9735 return _resultobj;
9736 }
9737
9738 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9739 static PyObject *_wrap_wxFileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9740 PyObject * _resultobj;
9741 wxFileHistory * _arg0;
9742 wxMenu * _arg1;
9743 PyObject * _argo0 = 0;
9744 PyObject * _argo1 = 0;
9745 char *_kwnames[] = { "self","menu", NULL };
9746
9747 self = self;
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames,&_argo0,&_argo1))
9749 return NULL;
9750 if (_argo0) {
9751 if (_argo0 == Py_None) { _arg0 = NULL; }
9752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
9754 return NULL;
9755 }
9756 }
9757 if (_argo1) {
9758 if (_argo1 == Py_None) { _arg1 = NULL; }
9759 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
9760 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
9761 return NULL;
9762 }
9763 }
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 wxFileHistory_AddFilesToThisMenu(_arg0,_arg1);
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) return NULL;
9770 } Py_INCREF(Py_None);
9771 _resultobj = Py_None;
9772 return _resultobj;
9773 }
9774
9775 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9776 static PyObject *_wrap_wxFileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject * _resultobj;
9778 wxString * _result;
9779 wxFileHistory * _arg0;
9780 int _arg1;
9781 PyObject * _argo0 = 0;
9782 char *_kwnames[] = { "self","i", NULL };
9783
9784 self = self;
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_GetHistoryFile",_kwnames,&_argo0,&_arg1))
9786 return NULL;
9787 if (_argo0) {
9788 if (_argo0 == Py_None) { _arg0 = NULL; }
9789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9791 return NULL;
9792 }
9793 }
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 _result = new wxString (wxFileHistory_GetHistoryFile(_arg0,_arg1));
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) return NULL;
9800 }{
9801 #if wxUSE_UNICODE
9802 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9803 #else
9804 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9805 #endif
9806 }
9807 {
9808 delete _result;
9809 }
9810 return _resultobj;
9811 }
9812
9813 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9814 static PyObject *_wrap_wxFileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 int _result;
9817 wxFileHistory * _arg0;
9818 PyObject * _argo0 = 0;
9819 char *_kwnames[] = { "self", NULL };
9820
9821 self = self;
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetCount",_kwnames,&_argo0))
9823 return NULL;
9824 if (_argo0) {
9825 if (_argo0 == Py_None) { _arg0 = NULL; }
9826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9828 return NULL;
9829 }
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 _result = (int )wxFileHistory_GetCount(_arg0);
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) return NULL;
9837 } _resultobj = Py_BuildValue("i",_result);
9838 return _resultobj;
9839 }
9840
9841 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9842 static PyObject *_wrap_wxFileHistory_GetNoHistoryFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject * _resultobj;
9844 int _result;
9845 wxFileHistory * _arg0;
9846 PyObject * _argo0 = 0;
9847 char *_kwnames[] = { "self", NULL };
9848
9849 self = self;
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetNoHistoryFiles",_kwnames,&_argo0))
9851 return NULL;
9852 if (_argo0) {
9853 if (_argo0 == Py_None) { _arg0 = NULL; }
9854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9856 return NULL;
9857 }
9858 }
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 _result = (int )wxFileHistory_GetNoHistoryFiles(_arg0);
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) return NULL;
9865 } _resultobj = Py_BuildValue("i",_result);
9866 return _resultobj;
9867 }
9868
9869 static PyMethodDef misc2cMethods[] = {
9870 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction) _wrap_wxFileHistory_GetNoHistoryFiles, METH_VARARGS | METH_KEYWORDS },
9871 { "wxFileHistory_GetCount", (PyCFunction) _wrap_wxFileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
9872 { "wxFileHistory_GetHistoryFile", (PyCFunction) _wrap_wxFileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
9873 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
9874 { "wxFileHistory_AddFilesToMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
9875 { "wxFileHistory_Save", (PyCFunction) _wrap_wxFileHistory_Save, METH_VARARGS | METH_KEYWORDS },
9876 { "wxFileHistory_Load", (PyCFunction) _wrap_wxFileHistory_Load, METH_VARARGS | METH_KEYWORDS },
9877 { "wxFileHistory_RemoveMenu", (PyCFunction) _wrap_wxFileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
9878 { "wxFileHistory_UseMenu", (PyCFunction) _wrap_wxFileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
9879 { "wxFileHistory_GetMaxFiles", (PyCFunction) _wrap_wxFileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
9880 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_wxFileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
9881 { "wxFileHistory_AddFileToHistory", (PyCFunction) _wrap_wxFileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
9882 { "delete_wxFileHistory", (PyCFunction) _wrap_delete_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
9883 { "new_wxFileHistory", (PyCFunction) _wrap_new_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
9884 { "delete_wxMimeTypesManager", (PyCFunction) _wrap_delete_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
9885 { "wxMimeTypesManager_Unassociate", (PyCFunction) _wrap_wxMimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
9886 { "wxMimeTypesManager_Associate", (PyCFunction) _wrap_wxMimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
9887 { "wxMimeTypesManager_AddFallback", (PyCFunction) _wrap_wxMimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
9888 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_wxMimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
9889 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_wxMimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
9890 { "wxMimeTypesManager_ReadMailcap", (PyCFunction) _wrap_wxMimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
9891 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
9892 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
9893 { "wxMimeTypesManager_ClearData", (PyCFunction) _wrap_wxMimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
9894 { "wxMimeTypesManager_Initialize", (PyCFunction) _wrap_wxMimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
9895 { "new_wxMimeTypesManager", (PyCFunction) _wrap_new_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
9896 { "wxMimeTypesManager_IsOfType", (PyCFunction) _wrap_wxMimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
9897 { "delete_wxFileType", (PyCFunction) _wrap_delete_wxFileType, METH_VARARGS | METH_KEYWORDS },
9898 { "wxFileType_ExpandCommand", (PyCFunction) _wrap_wxFileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
9899 { "wxFileType_Unassociate", (PyCFunction) _wrap_wxFileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
9900 { "wxFileType_SetDefaultIcon", (PyCFunction) _wrap_wxFileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
9901 { "wxFileType_SetCommand", (PyCFunction) _wrap_wxFileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
9902 { "wxFileType_GetAllCommands", (PyCFunction) _wrap_wxFileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
9903 { "wxFileType_GetPrintCommand", (PyCFunction) _wrap_wxFileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
9904 { "wxFileType_GetOpenCommand", (PyCFunction) _wrap_wxFileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
9905 { "wxFileType_GetDescription", (PyCFunction) _wrap_wxFileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
9906 { "wxFileType_GetIconInfo", (PyCFunction) _wrap_wxFileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
9907 { "wxFileType_GetIcon", (PyCFunction) _wrap_wxFileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
9908 { "wxFileType_GetExtensions", (PyCFunction) _wrap_wxFileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
9909 { "wxFileType_GetMimeTypes", (PyCFunction) _wrap_wxFileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
9910 { "wxFileType_GetMimeType", (PyCFunction) _wrap_wxFileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
9911 { "new_wxFileType", (PyCFunction) _wrap_new_wxFileType, METH_VARARGS | METH_KEYWORDS },
9912 { "wxFileTypeInfo_GetIconIndex", (PyCFunction) _wrap_wxFileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
9913 { "wxFileTypeInfo_GetIconFile", (PyCFunction) _wrap_wxFileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
9914 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
9915 { "wxFileTypeInfo_GetExtensions", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
9916 { "wxFileTypeInfo_GetDescription", (PyCFunction) _wrap_wxFileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
9917 { "wxFileTypeInfo_GetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
9918 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
9919 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
9920 { "wxFileTypeInfo_GetMimeType", (PyCFunction) _wrap_wxFileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
9921 { "wxFileTypeInfo_SetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
9922 { "wxFileTypeInfo_SetIcon", (PyCFunction) _wrap_wxFileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
9923 { "wxFileTypeInfo_IsValid", (PyCFunction) _wrap_wxFileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
9924 { "new_wxNullFileTypeInfo", (PyCFunction) _wrap_new_wxNullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
9925 { "new_wxFileTypeInfoSequence", (PyCFunction) _wrap_new_wxFileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
9926 { "new_wxFileTypeInfo", (PyCFunction) _wrap_new_wxFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
9927 { "wxWave_Play", (PyCFunction) _wrap_wxWave_Play, METH_VARARGS | METH_KEYWORDS },
9928 { "wxWave_IsOk", (PyCFunction) _wrap_wxWave_IsOk, METH_VARARGS | METH_KEYWORDS },
9929 { "delete_wxWave", (PyCFunction) _wrap_delete_wxWave, METH_VARARGS | METH_KEYWORDS },
9930 { "new_wxWave", (PyCFunction) _wrap_new_wxWave, METH_VARARGS | METH_KEYWORDS },
9931 { "wxJoystick_ReleaseCapture", (PyCFunction) _wrap_wxJoystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
9932 { "wxJoystick_SetCapture", (PyCFunction) _wrap_wxJoystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
9933 { "wxJoystick_HasPOVCTS", (PyCFunction) _wrap_wxJoystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
9934 { "wxJoystick_HasPOV4Dir", (PyCFunction) _wrap_wxJoystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
9935 { "wxJoystick_HasPOV", (PyCFunction) _wrap_wxJoystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
9936 { "wxJoystick_HasV", (PyCFunction) _wrap_wxJoystick_HasV, METH_VARARGS | METH_KEYWORDS },
9937 { "wxJoystick_HasU", (PyCFunction) _wrap_wxJoystick_HasU, METH_VARARGS | METH_KEYWORDS },
9938 { "wxJoystick_HasZ", (PyCFunction) _wrap_wxJoystick_HasZ, METH_VARARGS | METH_KEYWORDS },
9939 { "wxJoystick_HasRudder", (PyCFunction) _wrap_wxJoystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
9940 { "wxJoystick_GetVMax", (PyCFunction) _wrap_wxJoystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
9941 { "wxJoystick_GetVMin", (PyCFunction) _wrap_wxJoystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
9942 { "wxJoystick_GetUMax", (PyCFunction) _wrap_wxJoystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
9943 { "wxJoystick_GetUMin", (PyCFunction) _wrap_wxJoystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
9944 { "wxJoystick_GetRudderMax", (PyCFunction) _wrap_wxJoystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
9945 { "wxJoystick_GetRudderMin", (PyCFunction) _wrap_wxJoystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
9946 { "wxJoystick_GetPollingMax", (PyCFunction) _wrap_wxJoystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
9947 { "wxJoystick_GetPollingMin", (PyCFunction) _wrap_wxJoystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
9948 { "wxJoystick_GetMaxAxes", (PyCFunction) _wrap_wxJoystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
9949 { "wxJoystick_GetMaxButtons", (PyCFunction) _wrap_wxJoystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
9950 { "wxJoystick_GetNumberAxes", (PyCFunction) _wrap_wxJoystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
9951 { "wxJoystick_GetNumberButtons", (PyCFunction) _wrap_wxJoystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
9952 { "wxJoystick_GetZMax", (PyCFunction) _wrap_wxJoystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
9953 { "wxJoystick_GetYMax", (PyCFunction) _wrap_wxJoystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
9954 { "wxJoystick_GetXMax", (PyCFunction) _wrap_wxJoystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
9955 { "wxJoystick_GetZMin", (PyCFunction) _wrap_wxJoystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
9956 { "wxJoystick_GetYMin", (PyCFunction) _wrap_wxJoystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
9957 { "wxJoystick_GetXMin", (PyCFunction) _wrap_wxJoystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
9958 { "wxJoystick_GetProductName", (PyCFunction) _wrap_wxJoystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
9959 { "wxJoystick_GetProductId", (PyCFunction) _wrap_wxJoystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
9960 { "wxJoystick_GetManufacturerId", (PyCFunction) _wrap_wxJoystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
9961 { "wxJoystick_GetNumberJoysticks", (PyCFunction) _wrap_wxJoystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
9962 { "wxJoystick_IsOk", (PyCFunction) _wrap_wxJoystick_IsOk, METH_VARARGS | METH_KEYWORDS },
9963 { "wxJoystick_SetMovementThreshold", (PyCFunction) _wrap_wxJoystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
9964 { "wxJoystick_GetMovementThreshold", (PyCFunction) _wrap_wxJoystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
9965 { "wxJoystick_GetVPosition", (PyCFunction) _wrap_wxJoystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
9966 { "wxJoystick_GetUPosition", (PyCFunction) _wrap_wxJoystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
9967 { "wxJoystick_GetRudderPosition", (PyCFunction) _wrap_wxJoystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
9968 { "wxJoystick_GetPOVCTSPosition", (PyCFunction) _wrap_wxJoystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
9969 { "wxJoystick_GetPOVPosition", (PyCFunction) _wrap_wxJoystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
9970 { "wxJoystick_GetButtonState", (PyCFunction) _wrap_wxJoystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
9971 { "wxJoystick_GetZPosition", (PyCFunction) _wrap_wxJoystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
9972 { "wxJoystick_GetPosition", (PyCFunction) _wrap_wxJoystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
9973 { "delete_wxJoystick", (PyCFunction) _wrap_delete_wxJoystick, METH_VARARGS | METH_KEYWORDS },
9974 { "new_wxJoystick", (PyCFunction) _wrap_new_wxJoystick, METH_VARARGS | METH_KEYWORDS },
9975 { "wxProcess_CloseOutput", (PyCFunction) _wrap_wxProcess_CloseOutput, METH_VARARGS | METH_KEYWORDS },
9976 { "wxProcess_GetOutputStream", (PyCFunction) _wrap_wxProcess_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
9977 { "wxProcess_GetErrorStream", (PyCFunction) _wrap_wxProcess_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
9978 { "wxProcess_GetInputStream", (PyCFunction) _wrap_wxProcess_GetInputStream, METH_VARARGS | METH_KEYWORDS },
9979 { "wxProcess_Detach", (PyCFunction) _wrap_wxProcess_Detach, METH_VARARGS | METH_KEYWORDS },
9980 { "wxProcess_IsRedirected", (PyCFunction) _wrap_wxProcess_IsRedirected, METH_VARARGS | METH_KEYWORDS },
9981 { "wxProcess_Redirect", (PyCFunction) _wrap_wxProcess_Redirect, METH_VARARGS | METH_KEYWORDS },
9982 { "wxProcess_base_OnTerminate", (PyCFunction) _wrap_wxProcess_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
9983 { "wxProcess__setCallbackInfo", (PyCFunction) _wrap_wxProcess__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
9984 { "wxProcess_Destroy", (PyCFunction) _wrap_wxProcess_Destroy, METH_VARARGS | METH_KEYWORDS },
9985 { "new_wxProcess", (PyCFunction) _wrap_new_wxProcess, METH_VARARGS | METH_KEYWORDS },
9986 { "wxProcessEvent_m_exitcode_get", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
9987 { "wxProcessEvent_m_exitcode_set", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
9988 { "wxProcessEvent_m_pid_get", (PyCFunction) _wrap_wxProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
9989 { "wxProcessEvent_m_pid_set", (PyCFunction) _wrap_wxProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
9990 { "wxProcessEvent_GetExitCode", (PyCFunction) _wrap_wxProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
9991 { "wxProcessEvent_GetPid", (PyCFunction) _wrap_wxProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
9992 { "new_wxProcessEvent", (PyCFunction) _wrap_new_wxProcessEvent, METH_VARARGS | METH_KEYWORDS },
9993 { "wxPyLog_Destroy", (PyCFunction) _wrap_wxPyLog_Destroy, METH_VARARGS | METH_KEYWORDS },
9994 { "wxPyLog__setCallbackInfo", (PyCFunction) _wrap_wxPyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
9995 { "new_wxPyLog", (PyCFunction) _wrap_new_wxPyLog, METH_VARARGS | METH_KEYWORDS },
9996 { "delete_wxLogNull", (PyCFunction) _wrap_delete_wxLogNull, METH_VARARGS | METH_KEYWORDS },
9997 { "new_wxLogNull", (PyCFunction) _wrap_new_wxLogNull, METH_VARARGS | METH_KEYWORDS },
9998 { "wxLogChain_GetOldLog", (PyCFunction) _wrap_wxLogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
9999 { "wxLogChain_IsPassingMessages", (PyCFunction) _wrap_wxLogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
10000 { "wxLogChain_PassMessages", (PyCFunction) _wrap_wxLogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
10001 { "wxLogChain_SetLog", (PyCFunction) _wrap_wxLogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
10002 { "new_wxLogChain", (PyCFunction) _wrap_new_wxLogChain, METH_VARARGS | METH_KEYWORDS },
10003 { "wxLogWindow_PassMessages", (PyCFunction) _wrap_wxLogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
10004 { "wxLogWindow_IsPassingMessages", (PyCFunction) _wrap_wxLogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
10005 { "wxLogWindow_GetOldLog", (PyCFunction) _wrap_wxLogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
10006 { "wxLogWindow_GetFrame", (PyCFunction) _wrap_wxLogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
10007 { "wxLogWindow_Show", (PyCFunction) _wrap_wxLogWindow_Show, METH_VARARGS | METH_KEYWORDS },
10008 { "new_wxLogWindow", (PyCFunction) _wrap_new_wxLogWindow, METH_VARARGS | METH_KEYWORDS },
10009 { "new_wxLogGui", (PyCFunction) _wrap_new_wxLogGui, METH_VARARGS | METH_KEYWORDS },
10010 { "new_wxLogTextCtrl", (PyCFunction) _wrap_new_wxLogTextCtrl, METH_VARARGS | METH_KEYWORDS },
10011 { "new_wxLogStderr", (PyCFunction) _wrap_new_wxLogStderr, METH_VARARGS | METH_KEYWORDS },
10012 { "wxLog_TimeStamp", (PyCFunction) _wrap_wxLog_TimeStamp, METH_VARARGS | METH_KEYWORDS },
10013 { "wxLog_IsAllowedTraceMask", (PyCFunction) _wrap_wxLog_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
10014 { "wxLog_GetTraceMask", (PyCFunction) _wrap_wxLog_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
10015 { "wxLog_GetVerbose", (PyCFunction) _wrap_wxLog_GetVerbose, METH_VARARGS | METH_KEYWORDS },
10016 { "wxLog_GetTimestamp", (PyCFunction) _wrap_wxLog_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
10017 { "wxLog_SetTimestamp", (PyCFunction) _wrap_wxLog_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
10018 { "wxLog_ClearTraceMasks", (PyCFunction) _wrap_wxLog_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
10019 { "wxLog_RemoveTraceMask", (PyCFunction) _wrap_wxLog_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
10020 { "wxLog_AddTraceMask", (PyCFunction) _wrap_wxLog_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
10021 { "wxLog_SetTraceMask", (PyCFunction) _wrap_wxLog_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
10022 { "wxLog_DontCreateOnDemand", (PyCFunction) _wrap_wxLog_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
10023 { "wxLog_SetVerbose", (PyCFunction) _wrap_wxLog_SetVerbose, METH_VARARGS | METH_KEYWORDS },
10024 { "wxLog_Resume", (PyCFunction) _wrap_wxLog_Resume, METH_VARARGS | METH_KEYWORDS },
10025 { "wxLog_Suspend", (PyCFunction) _wrap_wxLog_Suspend, METH_VARARGS | METH_KEYWORDS },
10026 { "wxLog_SetActiveTarget", (PyCFunction) _wrap_wxLog_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
10027 { "wxLog_GetActiveTarget", (PyCFunction) _wrap_wxLog_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
10028 { "wxLog_FlushActive", (PyCFunction) _wrap_wxLog_FlushActive, METH_VARARGS | METH_KEYWORDS },
10029 { "wxLog_HasPendingMessages", (PyCFunction) _wrap_wxLog_HasPendingMessages, METH_VARARGS | METH_KEYWORDS },
10030 { "wxLog_Flush", (PyCFunction) _wrap_wxLog_Flush, METH_VARARGS | METH_KEYWORDS },
10031 { "wxLog_OnLog", (PyCFunction) _wrap_wxLog_OnLog, METH_VARARGS | METH_KEYWORDS },
10032 { "wxLog_EnableLogging", (PyCFunction) _wrap_wxLog_EnableLogging, METH_VARARGS | METH_KEYWORDS },
10033 { "wxLog_IsEnabled", (PyCFunction) _wrap_wxLog_IsEnabled, METH_VARARGS | METH_KEYWORDS },
10034 { "new_wxLog", (PyCFunction) _wrap_new_wxLog, METH_VARARGS | METH_KEYWORDS },
10035 { "wxStopWatch_Time", (PyCFunction) _wrap_wxStopWatch_Time, METH_VARARGS | METH_KEYWORDS },
10036 { "wxStopWatch_Resume", (PyCFunction) _wrap_wxStopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
10037 { "wxStopWatch_Pause", (PyCFunction) _wrap_wxStopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
10038 { "wxStopWatch_Start", (PyCFunction) _wrap_wxStopWatch_Start, METH_VARARGS | METH_KEYWORDS },
10039 { "delete_wxStopWatch", (PyCFunction) _wrap_delete_wxStopWatch, METH_VARARGS | METH_KEYWORDS },
10040 { "new_wxStopWatch", (PyCFunction) _wrap_new_wxStopWatch, METH_VARARGS | METH_KEYWORDS },
10041 { "wxPyTimer_Stop", (PyCFunction) _wrap_wxPyTimer_Stop, METH_VARARGS | METH_KEYWORDS },
10042 { "wxPyTimer_Start", (PyCFunction) _wrap_wxPyTimer_Start, METH_VARARGS | METH_KEYWORDS },
10043 { "wxPyTimer_SetOwner", (PyCFunction) _wrap_wxPyTimer_SetOwner, METH_VARARGS | METH_KEYWORDS },
10044 { "wxPyTimer_IsRunning", (PyCFunction) _wrap_wxPyTimer_IsRunning, METH_VARARGS | METH_KEYWORDS },
10045 { "wxPyTimer_IsOneShot", (PyCFunction) _wrap_wxPyTimer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
10046 { "wxPyTimer_GetInterval", (PyCFunction) _wrap_wxPyTimer_GetInterval, METH_VARARGS | METH_KEYWORDS },
10047 { "delete_wxPyTimer", (PyCFunction) _wrap_delete_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
10048 { "new_wxPyTimer", (PyCFunction) _wrap_new_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
10049 { "wxDragImage_RedrawImage", (PyCFunction) _wrap_wxDragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
10050 { "wxDragImage_GetImageRect", (PyCFunction) _wrap_wxDragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
10051 { "wxDragImage_Hide", (PyCFunction) _wrap_wxDragImage_Hide, METH_VARARGS | METH_KEYWORDS },
10052 { "wxDragImage_Show", (PyCFunction) _wrap_wxDragImage_Show, METH_VARARGS | METH_KEYWORDS },
10053 { "wxDragImage_Move", (PyCFunction) _wrap_wxDragImage_Move, METH_VARARGS | METH_KEYWORDS },
10054 { "wxDragImage_EndDrag", (PyCFunction) _wrap_wxDragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
10055 { "wxDragImage_BeginDrag2", (PyCFunction) _wrap_wxDragImage_BeginDrag2, METH_VARARGS | METH_KEYWORDS },
10056 { "wxDragImage_BeginDrag", (PyCFunction) _wrap_wxDragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
10057 { "wxDragImage_SetBackingBitmap", (PyCFunction) _wrap_wxDragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
10058 { "delete_wxDragImage", (PyCFunction) _wrap_delete_wxDragImage, METH_VARARGS | METH_KEYWORDS },
10059 { "new_wxDragListItem", (PyCFunction) _wrap_new_wxDragListItem, METH_VARARGS | METH_KEYWORDS },
10060 { "new_wxDragTreeItem", (PyCFunction) _wrap_new_wxDragTreeItem, METH_VARARGS | METH_KEYWORDS },
10061 { "new_wxDragString", (PyCFunction) _wrap_new_wxDragString, METH_VARARGS | METH_KEYWORDS },
10062 { "new_wxDragIcon", (PyCFunction) _wrap_new_wxDragIcon, METH_VARARGS | METH_KEYWORDS },
10063 { "new_wxDragImage", (PyCFunction) _wrap_new_wxDragImage, METH_VARARGS | METH_KEYWORDS },
10064 { "new_wxPyTipProvider", (PyCFunction) _wrap_new_wxPyTipProvider, METH_VARARGS | METH_KEYWORDS },
10065 { "wxTipProvider_GetCurrentTip", (PyCFunction) _wrap_wxTipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
10066 { "wxTipProvider_GetTip", (PyCFunction) _wrap_wxTipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
10067 { "delete_wxTipProvider", (PyCFunction) _wrap_delete_wxTipProvider, METH_VARARGS | METH_KEYWORDS },
10068 { "delete_wxMutexGuiLocker", (PyCFunction) _wrap_delete_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
10069 { "new_wxMutexGuiLocker", (PyCFunction) _wrap_new_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
10070 { "delete_wxWindowDisabler", (PyCFunction) _wrap_delete_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
10071 { "new_wxWindowDisabler", (PyCFunction) _wrap_new_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
10072 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
10073 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
10074 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
10075 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
10076 { "wxCaret_SetSize", (PyCFunction) _wrap_wxCaret_SetSize, METH_VARARGS | METH_KEYWORDS },
10077 { "wxCaret_SetSizeWH", (PyCFunction) _wrap_wxCaret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
10078 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
10079 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
10080 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
10081 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
10082 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
10083 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
10084 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
10085 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
10086 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
10087 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
10088 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
10089 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
10090 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
10091 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
10092 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
10093 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
10094 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
10095 { "wxSystemSettings_HasFeature", (PyCFunction) _wrap_wxSystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
10096 { "wxSystemSettings_GetMetric", (PyCFunction) _wrap_wxSystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
10097 { "wxSystemSettings_GetFont", (PyCFunction) _wrap_wxSystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
10098 { "wxSystemSettings_GetColour", (PyCFunction) _wrap_wxSystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
10099 { "wxWaveData", (PyCFunction) _wrap_wxWaveData, METH_VARARGS | METH_KEYWORDS },
10100 { "wxExecute", (PyCFunction) _wrap_wxExecute, METH_VARARGS | METH_KEYWORDS },
10101 { "wxLogSysError", (PyCFunction) _wrap_wxLogSysError, METH_VARARGS | METH_KEYWORDS },
10102 { "wxLogStatusFrame", (PyCFunction) _wrap_wxLogStatusFrame, METH_VARARGS | METH_KEYWORDS },
10103 { "wxLogStatus", (PyCFunction) _wrap_wxLogStatus, METH_VARARGS | METH_KEYWORDS },
10104 { "wxLogVerbose", (PyCFunction) _wrap_wxLogVerbose, METH_VARARGS | METH_KEYWORDS },
10105 { "wxLogInfo", (PyCFunction) _wrap_wxLogInfo, METH_VARARGS | METH_KEYWORDS },
10106 { "wxLogMessage", (PyCFunction) _wrap_wxLogMessage, METH_VARARGS | METH_KEYWORDS },
10107 { "wxLogWarning", (PyCFunction) _wrap_wxLogWarning, METH_VARARGS | METH_KEYWORDS },
10108 { "wxLogError", (PyCFunction) _wrap_wxLogError, METH_VARARGS | METH_KEYWORDS },
10109 { "wxLogFatalError", (PyCFunction) _wrap_wxLogFatalError, METH_VARARGS | METH_KEYWORDS },
10110 { "wxSysErrorMsg", (PyCFunction) _wrap_wxSysErrorMsg, METH_VARARGS | METH_KEYWORDS },
10111 { "wxSysErrorCode", (PyCFunction) _wrap_wxSysErrorCode, METH_VARARGS | METH_KEYWORDS },
10112 { "wxCreateFileTipProvider", (PyCFunction) _wrap_wxCreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
10113 { "wxShowTip", (PyCFunction) _wrap_wxShowTip, METH_VARARGS | METH_KEYWORDS },
10114 { "wxThread_IsMain", (PyCFunction) _wrap_wxThread_IsMain, METH_VARARGS | METH_KEYWORDS },
10115 { "wxMutexGuiLeave", (PyCFunction) _wrap_wxMutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
10116 { "wxMutexGuiEnter", (PyCFunction) _wrap_wxMutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
10117 { "wxWakeUpMainThread", (PyCFunction) _wrap_wxWakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
10118 { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS },
10119 { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS },
10120 { "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
10121 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
10122 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
10123 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
10124 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
10125 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
10126 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
10127 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
10128 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
10129 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
10130 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
10131 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
10132 { "wxGetTopLevelParent", (PyCFunction) _wrap_wxGetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
10133 { "wxFlushEvents", (PyCFunction) _wrap_wxFlushEvents, METH_VARARGS | METH_KEYWORDS },
10134 { "wxCheckForInterrupt", (PyCFunction) _wrap_wxCheckForInterrupt, METH_VARARGS | METH_KEYWORDS },
10135 { "wxFindWindowAtPoint", (PyCFunction) _wrap_wxFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
10136 { "wxGenericFindWindowAtPoint", (PyCFunction) _wrap_wxGenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
10137 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
10138 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
10139 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
10140 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
10141 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
10142 { "wxGetClientDisplayRect", (PyCFunction) _wrap_wxGetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
10143 { "wxClientDisplayRect", (PyCFunction) _wrap_wxClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
10144 { "wxGetDisplaySizeMM", (PyCFunction) _wrap_wxGetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
10145 { "wxDisplaySizeMM", (PyCFunction) _wrap_wxDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
10146 { "wxGetDisplaySize", (PyCFunction) _wrap_wxGetDisplaySize, METH_VARARGS | METH_KEYWORDS },
10147 { "wxDisplaySize", (PyCFunction) _wrap_wxDisplaySize, METH_VARARGS | METH_KEYWORDS },
10148 { "wxGetDisplayDepth", (PyCFunction) _wrap_wxGetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
10149 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
10150 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
10151 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
10152 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
10153 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
10154 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
10155 { "wxGetPasswordFromUser", (PyCFunction) _wrap_wxGetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
10156 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
10157 { "wxDirSelector", (PyCFunction) _wrap_wxDirSelector, METH_VARARGS | METH_KEYWORDS },
10158 { "wxSaveFileSelector", (PyCFunction) _wrap_wxSaveFileSelector, METH_VARARGS | METH_KEYWORDS },
10159 { "wxLoadFileSelector", (PyCFunction) _wrap_wxLoadFileSelector, METH_VARARGS | METH_KEYWORDS },
10160 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
10161 { NULL, NULL }
10162 };
10163 #ifdef __cplusplus
10164 }
10165 #endif
10166 /*
10167 * This table is used by the pointer type-checker
10168 */
10169 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
10170 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent},
10171 { "_signed_long","_long",0},
10172 { "_wxPrintQuality","_wxCoord",0},
10173 { "_wxPrintQuality","_int",0},
10174 { "_wxPrintQuality","_signed_int",0},
10175 { "_wxPrintQuality","_unsigned_int",0},
10176 { "_wxPrintQuality","_wxWindowID",0},
10177 { "_wxPrintQuality","_uint",0},
10178 { "_wxPrintQuality","_EBool",0},
10179 { "_wxPrintQuality","_size_t",0},
10180 { "_wxPrintQuality","_time_t",0},
10181 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog},
10182 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog},
10183 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog},
10184 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog},
10185 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog},
10186 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog},
10187 { "_byte","_unsigned_char",0},
10188 { "_long","_unsigned_long",0},
10189 { "_long","_signed_long",0},
10190 { "_size_t","_wxCoord",0},
10191 { "_size_t","_wxPrintQuality",0},
10192 { "_size_t","_time_t",0},
10193 { "_size_t","_unsigned_int",0},
10194 { "_size_t","_int",0},
10195 { "_size_t","_wxWindowID",0},
10196 { "_size_t","_uint",0},
10197 { "_uint","_wxCoord",0},
10198 { "_uint","_wxPrintQuality",0},
10199 { "_uint","_time_t",0},
10200 { "_uint","_size_t",0},
10201 { "_uint","_unsigned_int",0},
10202 { "_uint","_int",0},
10203 { "_uint","_wxWindowID",0},
10204 { "_wxChar","_char",0},
10205 { "_char","_wxChar",0},
10206 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10207 { "_EBool","_wxCoord",0},
10208 { "_EBool","_wxPrintQuality",0},
10209 { "_EBool","_signed_int",0},
10210 { "_EBool","_int",0},
10211 { "_EBool","_wxWindowID",0},
10212 { "_unsigned_long","_long",0},
10213 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10214 { "_signed_int","_wxCoord",0},
10215 { "_signed_int","_wxPrintQuality",0},
10216 { "_signed_int","_EBool",0},
10217 { "_signed_int","_wxWindowID",0},
10218 { "_signed_int","_int",0},
10219 { "_WXTYPE","_wxDateTime_t",0},
10220 { "_WXTYPE","_short",0},
10221 { "_WXTYPE","_signed_short",0},
10222 { "_WXTYPE","_unsigned_short",0},
10223 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider},
10224 { "_unsigned_short","_wxDateTime_t",0},
10225 { "_unsigned_short","_WXTYPE",0},
10226 { "_unsigned_short","_short",0},
10227 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject},
10228 { "_wxObject","_wxWave",SwigwxWaveTowxObject},
10229 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject},
10230 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject},
10231 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject},
10232 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject},
10233 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject},
10234 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject},
10235 { "_signed_short","_WXTYPE",0},
10236 { "_signed_short","_short",0},
10237 { "_unsigned_char","_byte",0},
10238 { "_unsigned_int","_wxCoord",0},
10239 { "_unsigned_int","_wxPrintQuality",0},
10240 { "_unsigned_int","_time_t",0},
10241 { "_unsigned_int","_size_t",0},
10242 { "_unsigned_int","_uint",0},
10243 { "_unsigned_int","_wxWindowID",0},
10244 { "_unsigned_int","_int",0},
10245 { "_short","_wxDateTime_t",0},
10246 { "_short","_WXTYPE",0},
10247 { "_short","_unsigned_short",0},
10248 { "_short","_signed_short",0},
10249 { "_wxWindowID","_wxCoord",0},
10250 { "_wxWindowID","_wxPrintQuality",0},
10251 { "_wxWindowID","_time_t",0},
10252 { "_wxWindowID","_size_t",0},
10253 { "_wxWindowID","_EBool",0},
10254 { "_wxWindowID","_uint",0},
10255 { "_wxWindowID","_int",0},
10256 { "_wxWindowID","_signed_int",0},
10257 { "_wxWindowID","_unsigned_int",0},
10258 { "_int","_wxCoord",0},
10259 { "_int","_wxPrintQuality",0},
10260 { "_int","_time_t",0},
10261 { "_int","_size_t",0},
10262 { "_int","_EBool",0},
10263 { "_int","_uint",0},
10264 { "_int","_wxWindowID",0},
10265 { "_int","_unsigned_int",0},
10266 { "_int","_signed_int",0},
10267 { "_wxDateTime_t","_unsigned_short",0},
10268 { "_wxDateTime_t","_short",0},
10269 { "_wxDateTime_t","_WXTYPE",0},
10270 { "_time_t","_wxCoord",0},
10271 { "_time_t","_wxPrintQuality",0},
10272 { "_time_t","_unsigned_int",0},
10273 { "_time_t","_int",0},
10274 { "_time_t","_wxWindowID",0},
10275 { "_time_t","_uint",0},
10276 { "_time_t","_size_t",0},
10277 { "_wxCoord","_int",0},
10278 { "_wxCoord","_signed_int",0},
10279 { "_wxCoord","_unsigned_int",0},
10280 { "_wxCoord","_wxWindowID",0},
10281 { "_wxCoord","_uint",0},
10282 { "_wxCoord","_EBool",0},
10283 { "_wxCoord","_size_t",0},
10284 { "_wxCoord","_time_t",0},
10285 { "_wxCoord","_wxPrintQuality",0},
10286 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler},
10287 {0,0,0}};
10288
10289 static PyObject *SWIG_globals;
10290 #ifdef __cplusplus
10291 extern "C"
10292 #endif
10293 SWIGEXPORT(void) initmisc2c() {
10294 PyObject *m, *d;
10295 SWIG_globals = SWIG_newvarlink();
10296 m = Py_InitModule("misc2c", misc2cMethods);
10297 d = PyModule_GetDict(m);
10298 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
10299 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
10300 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
10301 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
10302 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
10303 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
10304 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
10305 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
10306 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
10307 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
10308 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
10309 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
10310 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
10311 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
10312 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
10313 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
10314 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
10315 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
10316 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
10317 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
10318 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
10319 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
10320 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
10321 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
10322 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
10323 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
10324 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
10325 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
10326 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
10327 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
10328 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
10329 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
10330 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
10331 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
10332 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
10333 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
10334 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
10335 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
10336 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
10337 PyDict_SetItemString(d,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX));
10338 PyDict_SetItemString(d,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT));
10339 PyDict_SetItemString(d,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION));
10340 PyDict_SetItemString(d,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
10341 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT));
10342 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR));
10343 PyDict_SetItemString(d,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX));
10344 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
10345 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
10346 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
10347 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
10348 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
10349 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
10350 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
10351 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
10352 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
10353 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
10354 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
10355 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
10356 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
10357 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
10358 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
10359 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
10360 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
10361 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
10362 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
10363 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
10364 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
10365 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
10366 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
10367 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
10368 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
10369 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
10370 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
10371 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
10372 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
10373 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
10374 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
10375 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
10376 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
10377 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
10378 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
10379 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
10380 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
10381 PyDict_SetItemString(d,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS));
10382 PyDict_SetItemString(d,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME));
10383 PyDict_SetItemString(d,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError));
10384 PyDict_SetItemString(d,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error));
10385 PyDict_SetItemString(d,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning));
10386 PyDict_SetItemString(d,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message));
10387 PyDict_SetItemString(d,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info));
10388 PyDict_SetItemString(d,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status));
10389 PyDict_SetItemString(d,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug));
10390 PyDict_SetItemString(d,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace));
10391 PyDict_SetItemString(d,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress));
10392 PyDict_SetItemString(d,"wxLOG_User", PyInt_FromLong((long) wxLOG_User));
10393 PyDict_SetItemString(d,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS));
10394 PyDict_SetItemString(d,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC));
10395 PyDict_SetItemString(d,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC));
10396 PyDict_SetItemString(d,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE));
10397 PyDict_SetItemString(d,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER));
10398 PyDict_SetItemString(d,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD));
10399 PyDict_SetItemString(d,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE));
10400 PyDict_SetItemString(d,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE));
10401 PyDict_SetItemString(d,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME));
10402 PyDict_SetItemString(d,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL));
10403 PyDict_SetItemString(d,"cvar", SWIG_globals);
10404 SWIG_addvarlink(SWIG_globals,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get, _wrap_wxTheMimeTypesManager_set);
10405
10406 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10407 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10408 {
10409 int i;
10410 for (i = 0; _swig_mapping[i].n1; i++)
10411 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
10412 }
10413 }