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