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