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