]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc2.cpp
wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
[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 bool _result;
4279 wxPyTimer * _arg0;
4280 int _arg1 = (int ) -1;
4281 int _arg2 = (int ) FALSE;
4282 PyObject * _argo0 = 0;
4283 char *_kwnames[] = { "self","milliseconds","oneShot", NULL };
4284
4285 self = self;
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyTimer_Start",_kwnames,&_argo0,&_arg1,&_arg2))
4287 return NULL;
4288 if (_argo0) {
4289 if (_argo0 == Py_None) { _arg0 = NULL; }
4290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
4291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4292 return NULL;
4293 }
4294 }
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 _result = (bool )wxPyTimer_Start(_arg0,_arg1,_arg2);
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) return NULL;
4301 } _resultobj = Py_BuildValue("i",_result);
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 static PyObject *_wrap_wxLog_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject * _resultobj;
4626 char *_kwnames[] = { NULL };
4627
4628 self = self;
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_FlushActive",_kwnames))
4630 return NULL;
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 wxLog::FlushActive();
4634
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) return NULL;
4637 } Py_INCREF(Py_None);
4638 _resultobj = Py_None;
4639 return _resultobj;
4640 }
4641
4642 static PyObject *_wrap_wxLog_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject * _resultobj;
4644 wxLog * _result;
4645 char *_kwnames[] = { NULL };
4646 char _ptemp[128];
4647
4648 self = self;
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetActiveTarget",_kwnames))
4650 return NULL;
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 _result = (wxLog *)wxLog::GetActiveTarget();
4654
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) return NULL;
4657 } if (_result) {
4658 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4659 _resultobj = Py_BuildValue("s",_ptemp);
4660 } else {
4661 Py_INCREF(Py_None);
4662 _resultobj = Py_None;
4663 }
4664 return _resultobj;
4665 }
4666
4667 static PyObject *_wrap_wxLog_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject * _resultobj;
4669 wxLog * _result;
4670 wxLog * _arg0;
4671 PyObject * _argo0 = 0;
4672 char *_kwnames[] = { "pLogger", NULL };
4673 char _ptemp[128];
4674
4675 self = self;
4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetActiveTarget",_kwnames,&_argo0))
4677 return NULL;
4678 if (_argo0) {
4679 if (_argo0 == Py_None) { _arg0 = NULL; }
4680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4682 return NULL;
4683 }
4684 }
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 _result = (wxLog *)wxLog::SetActiveTarget(_arg0);
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) return NULL;
4691 } if (_result) {
4692 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
4693 _resultobj = Py_BuildValue("s",_ptemp);
4694 } else {
4695 Py_INCREF(Py_None);
4696 _resultobj = Py_None;
4697 }
4698 return _resultobj;
4699 }
4700
4701 static PyObject *_wrap_wxLog_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject * _resultobj;
4703 char *_kwnames[] = { NULL };
4704
4705 self = self;
4706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Suspend",_kwnames))
4707 return NULL;
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 wxLog::Suspend();
4711
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) return NULL;
4714 } Py_INCREF(Py_None);
4715 _resultobj = Py_None;
4716 return _resultobj;
4717 }
4718
4719 static PyObject *_wrap_wxLog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject * _resultobj;
4721 char *_kwnames[] = { NULL };
4722
4723 self = self;
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Resume",_kwnames))
4725 return NULL;
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 wxLog::Resume();
4729
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) return NULL;
4732 } Py_INCREF(Py_None);
4733 _resultobj = Py_None;
4734 return _resultobj;
4735 }
4736
4737 static PyObject *_wrap_wxLog_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject * _resultobj;
4739 bool _arg0 = (bool ) TRUE;
4740 int tempbool0 = (int) TRUE;
4741 char *_kwnames[] = { "bVerbose", NULL };
4742
4743 self = self;
4744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxLog_SetVerbose",_kwnames,&tempbool0))
4745 return NULL;
4746 _arg0 = (bool ) tempbool0;
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 wxLog::SetVerbose(_arg0);
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) return NULL;
4753 } Py_INCREF(Py_None);
4754 _resultobj = Py_None;
4755 return _resultobj;
4756 }
4757
4758 static PyObject *_wrap_wxLog_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
4759 PyObject * _resultobj;
4760 char *_kwnames[] = { NULL };
4761
4762 self = self;
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_DontCreateOnDemand",_kwnames))
4764 return NULL;
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 wxLog::DontCreateOnDemand();
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) return NULL;
4771 } Py_INCREF(Py_None);
4772 _resultobj = Py_None;
4773 return _resultobj;
4774 }
4775
4776 static PyObject *_wrap_wxLog_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4777 PyObject * _resultobj;
4778 long _arg0;
4779 char *_kwnames[] = { "ulMask", NULL };
4780
4781 self = self;
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxLog_SetTraceMask",_kwnames,&_arg0))
4783 return NULL;
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 wxLog::SetTraceMask(_arg0);
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) return NULL;
4790 } Py_INCREF(Py_None);
4791 _resultobj = Py_None;
4792 return _resultobj;
4793 }
4794
4795 static PyObject *_wrap_wxLog_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject * _resultobj;
4797 wxString * _arg0;
4798 PyObject * _obj0 = 0;
4799 char *_kwnames[] = { "str", NULL };
4800
4801 self = self;
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_AddTraceMask",_kwnames,&_obj0))
4803 return NULL;
4804 {
4805 _arg0 = wxString_in_helper(_obj0);
4806 if (_arg0 == NULL)
4807 return NULL;
4808 }
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 wxLog::AddTraceMask(*_arg0);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) return NULL;
4815 } Py_INCREF(Py_None);
4816 _resultobj = Py_None;
4817 {
4818 if (_obj0)
4819 delete _arg0;
4820 }
4821 return _resultobj;
4822 }
4823
4824 static PyObject *_wrap_wxLog_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject * _resultobj;
4826 wxString * _arg0;
4827 PyObject * _obj0 = 0;
4828 char *_kwnames[] = { "str", NULL };
4829
4830 self = self;
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_RemoveTraceMask",_kwnames,&_obj0))
4832 return NULL;
4833 {
4834 _arg0 = wxString_in_helper(_obj0);
4835 if (_arg0 == NULL)
4836 return NULL;
4837 }
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 wxLog::RemoveTraceMask(*_arg0);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) return NULL;
4844 } Py_INCREF(Py_None);
4845 _resultobj = Py_None;
4846 {
4847 if (_obj0)
4848 delete _arg0;
4849 }
4850 return _resultobj;
4851 }
4852
4853 static PyObject *_wrap_wxLog_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject * _resultobj;
4855 char *_kwnames[] = { NULL };
4856
4857 self = self;
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_ClearTraceMasks",_kwnames))
4859 return NULL;
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 wxLog::ClearTraceMasks();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) return NULL;
4866 } Py_INCREF(Py_None);
4867 _resultobj = Py_None;
4868 return _resultobj;
4869 }
4870
4871 static PyObject *_wrap_wxLog_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
4872 PyObject * _resultobj;
4873 wxArrayString * _result;
4874 char *_kwnames[] = { NULL };
4875 char _ptemp[128];
4876
4877 self = self;
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTraceMasks",_kwnames))
4879 return NULL;
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 const wxArrayString & _result_ref = wxLog::GetTraceMasks();
4883 _result = (wxArrayString *) &_result_ref;
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) return NULL;
4887 } if (_result) {
4888 SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrayString_p");
4889 _resultobj = Py_BuildValue("s",_ptemp);
4890 } else {
4891 Py_INCREF(Py_None);
4892 _resultobj = Py_None;
4893 }
4894 return _resultobj;
4895 }
4896
4897 static PyObject *_wrap_wxLog_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4898 PyObject * _resultobj;
4899 wxString * _arg0;
4900 PyObject * _obj0 = 0;
4901 char *_kwnames[] = { "ts", NULL };
4902
4903 self = self;
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetTimestamp",_kwnames,&_obj0))
4905 return NULL;
4906 {
4907 _arg0 = wxString_in_helper(_obj0);
4908 if (_arg0 == NULL)
4909 return NULL;
4910 }
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 wxLog::SetTimestamp(*_arg0);
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) return NULL;
4917 } Py_INCREF(Py_None);
4918 _resultobj = Py_None;
4919 {
4920 if (_obj0)
4921 delete _arg0;
4922 }
4923 return _resultobj;
4924 }
4925
4926 static PyObject *_wrap_wxLog_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject * _resultobj;
4928 wxString * _result;
4929 char *_kwnames[] = { NULL };
4930
4931 self = self;
4932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTimestamp",_kwnames))
4933 return NULL;
4934 {
4935 PyThreadState* __tstate = wxPyBeginAllowThreads();
4936 const wxString & _result_ref = wxLog::GetTimestamp();
4937 _result = (wxString *) &_result_ref;
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) return NULL;
4941 }{
4942 #if wxUSE_UNICODE
4943 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
4944 #else
4945 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4946 #endif
4947 }
4948 return _resultobj;
4949 }
4950
4951 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4952 static PyObject *_wrap_wxLog_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject * _resultobj;
4954 bool _result;
4955 wxLog * _arg0;
4956 PyObject * _argo0 = 0;
4957 char *_kwnames[] = { "self", NULL };
4958
4959 self = self;
4960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_GetVerbose",_kwnames,&_argo0))
4961 return NULL;
4962 if (_argo0) {
4963 if (_argo0 == Py_None) { _arg0 = NULL; }
4964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
4965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4966 return NULL;
4967 }
4968 }
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 _result = (bool )wxLog_GetVerbose(_arg0);
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) return NULL;
4975 } _resultobj = Py_BuildValue("i",_result);
4976 return _resultobj;
4977 }
4978
4979 static PyObject *_wrap_wxLog_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4980 PyObject * _resultobj;
4981 unsigned long _result;
4982 char *_kwnames[] = { NULL };
4983
4984 self = self;
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTraceMask",_kwnames))
4986 return NULL;
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 _result = (unsigned long )wxLog::GetTraceMask();
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) return NULL;
4993 } _resultobj = Py_BuildValue("l",_result);
4994 return _resultobj;
4995 }
4996
4997 static PyObject *_wrap_wxLog_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject * _resultobj;
4999 bool _result;
5000 wxString * _arg0;
5001 PyObject * _obj0 = 0;
5002 char *_kwnames[] = { "mask", NULL };
5003
5004 self = self;
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_IsAllowedTraceMask",_kwnames,&_obj0))
5006 return NULL;
5007 {
5008 _arg0 = wxString_in_helper(_obj0);
5009 if (_arg0 == NULL)
5010 return NULL;
5011 }
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 _result = (bool )wxLog::IsAllowedTraceMask(*_arg0);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) return NULL;
5018 } _resultobj = Py_BuildValue("i",_result);
5019 {
5020 if (_obj0)
5021 delete _arg0;
5022 }
5023 return _resultobj;
5024 }
5025
5026 static PyObject *_wrap_wxLog_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject * _resultobj;
5028 unsigned long _arg0;
5029 char *_kwnames[] = { "logLevel", NULL };
5030
5031 self = self;
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxLog_SetLogLevel",_kwnames,&_arg0))
5033 return NULL;
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 wxLog::SetLogLevel(_arg0);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) return NULL;
5040 } Py_INCREF(Py_None);
5041 _resultobj = Py_None;
5042 return _resultobj;
5043 }
5044
5045 static PyObject *_wrap_wxLog_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
5046 PyObject * _resultobj;
5047 unsigned long _result;
5048 char *_kwnames[] = { NULL };
5049
5050 self = self;
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetLogLevel",_kwnames))
5052 return NULL;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 _result = (unsigned long )wxLog::GetLogLevel();
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) return NULL;
5059 } _resultobj = Py_BuildValue("l",_result);
5060 return _resultobj;
5061 }
5062
5063 static wxString wxLog_TimeStamp(wxLog *self) {
5064 wxString msg;
5065 wxLog::TimeStamp(&msg);
5066 return msg;
5067 }
5068 static PyObject *_wrap_wxLog_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject * _resultobj;
5070 wxString * _result;
5071 wxLog * _arg0;
5072 PyObject * _argo0 = 0;
5073 char *_kwnames[] = { "self", NULL };
5074
5075 self = self;
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_TimeStamp",_kwnames,&_argo0))
5077 return NULL;
5078 if (_argo0) {
5079 if (_argo0 == Py_None) { _arg0 = NULL; }
5080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5082 return NULL;
5083 }
5084 }
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 _result = new wxString (wxLog_TimeStamp(_arg0));
5088
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) return NULL;
5091 }{
5092 #if wxUSE_UNICODE
5093 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5094 #else
5095 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5096 #endif
5097 }
5098 {
5099 delete _result;
5100 }
5101 return _resultobj;
5102 }
5103
5104 static void *SwigwxLogStderrTowxLog(void *ptr) {
5105 wxLogStderr *src;
5106 wxLog *dest;
5107 src = (wxLogStderr *) ptr;
5108 dest = (wxLog *) src;
5109 return (void *) dest;
5110 }
5111
5112 #define new_wxLogStderr() (new wxLogStderr())
5113 static PyObject *_wrap_new_wxLogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
5114 PyObject * _resultobj;
5115 wxLogStderr * _result;
5116 char *_kwnames[] = { NULL };
5117 char _ptemp[128];
5118
5119 self = self;
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogStderr",_kwnames))
5121 return NULL;
5122 {
5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
5124 _result = (wxLogStderr *)new_wxLogStderr();
5125
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) return NULL;
5128 } if (_result) {
5129 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogStderr_p");
5130 _resultobj = Py_BuildValue("s",_ptemp);
5131 } else {
5132 Py_INCREF(Py_None);
5133 _resultobj = Py_None;
5134 }
5135 return _resultobj;
5136 }
5137
5138 static void *SwigwxLogTextCtrlTowxLog(void *ptr) {
5139 wxLogTextCtrl *src;
5140 wxLog *dest;
5141 src = (wxLogTextCtrl *) ptr;
5142 dest = (wxLog *) src;
5143 return (void *) dest;
5144 }
5145
5146 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5147 static PyObject *_wrap_new_wxLogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject * _resultobj;
5149 wxLogTextCtrl * _result;
5150 wxTextCtrl * _arg0;
5151 PyObject * _argo0 = 0;
5152 char *_kwnames[] = { "pTextCtrl", NULL };
5153 char _ptemp[128];
5154
5155 self = self;
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogTextCtrl",_kwnames,&_argo0))
5157 return NULL;
5158 if (_argo0) {
5159 if (_argo0 == Py_None) { _arg0 = NULL; }
5160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5162 return NULL;
5163 }
5164 }
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 _result = (wxLogTextCtrl *)new_wxLogTextCtrl(_arg0);
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) return NULL;
5171 } if (_result) {
5172 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogTextCtrl_p");
5173 _resultobj = Py_BuildValue("s",_ptemp);
5174 } else {
5175 Py_INCREF(Py_None);
5176 _resultobj = Py_None;
5177 }
5178 return _resultobj;
5179 }
5180
5181 static void *SwigwxLogGuiTowxLog(void *ptr) {
5182 wxLogGui *src;
5183 wxLog *dest;
5184 src = (wxLogGui *) ptr;
5185 dest = (wxLog *) src;
5186 return (void *) dest;
5187 }
5188
5189 #define new_wxLogGui() (new wxLogGui())
5190 static PyObject *_wrap_new_wxLogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject * _resultobj;
5192 wxLogGui * _result;
5193 char *_kwnames[] = { NULL };
5194 char _ptemp[128];
5195
5196 self = self;
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogGui",_kwnames))
5198 return NULL;
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 _result = (wxLogGui *)new_wxLogGui();
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) return NULL;
5205 } if (_result) {
5206 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogGui_p");
5207 _resultobj = Py_BuildValue("s",_ptemp);
5208 } else {
5209 Py_INCREF(Py_None);
5210 _resultobj = Py_None;
5211 }
5212 return _resultobj;
5213 }
5214
5215 static void *SwigwxLogWindowTowxLog(void *ptr) {
5216 wxLogWindow *src;
5217 wxLog *dest;
5218 src = (wxLogWindow *) ptr;
5219 dest = (wxLog *) src;
5220 return (void *) dest;
5221 }
5222
5223 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5224 static PyObject *_wrap_new_wxLogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject * _resultobj;
5226 wxLogWindow * _result;
5227 wxFrame * _arg0;
5228 wxString * _arg1;
5229 bool _arg2 = (bool ) TRUE;
5230 bool _arg3 = (bool ) TRUE;
5231 PyObject * _argo0 = 0;
5232 PyObject * _obj1 = 0;
5233 int tempbool2 = (int) TRUE;
5234 int tempbool3 = (int) TRUE;
5235 char *_kwnames[] = { "pParent","szTitle","bShow","bPassToOld", NULL };
5236 char _ptemp[128];
5237
5238 self = self;
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:new_wxLogWindow",_kwnames,&_argo0,&_obj1,&tempbool2,&tempbool3))
5240 return NULL;
5241 if (_argo0) {
5242 if (_argo0 == Py_None) { _arg0 = NULL; }
5243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
5244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5245 return NULL;
5246 }
5247 }
5248 {
5249 _arg1 = wxString_in_helper(_obj1);
5250 if (_arg1 == NULL)
5251 return NULL;
5252 }
5253 _arg2 = (bool ) tempbool2;
5254 _arg3 = (bool ) tempbool3;
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 _result = (wxLogWindow *)new_wxLogWindow(_arg0,*_arg1,_arg2,_arg3);
5258
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) return NULL;
5261 } if (_result) {
5262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogWindow_p");
5263 _resultobj = Py_BuildValue("s",_ptemp);
5264 } else {
5265 Py_INCREF(Py_None);
5266 _resultobj = Py_None;
5267 }
5268 {
5269 if (_obj1)
5270 delete _arg1;
5271 }
5272 return _resultobj;
5273 }
5274
5275 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5276 static PyObject *_wrap_wxLogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject * _resultobj;
5278 wxLogWindow * _arg0;
5279 bool _arg1 = (bool ) TRUE;
5280 PyObject * _argo0 = 0;
5281 int tempbool1 = (int) TRUE;
5282 char *_kwnames[] = { "self","bShow", NULL };
5283
5284 self = self;
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLogWindow_Show",_kwnames,&_argo0,&tempbool1))
5286 return NULL;
5287 if (_argo0) {
5288 if (_argo0 == Py_None) { _arg0 = NULL; }
5289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5291 return NULL;
5292 }
5293 }
5294 _arg1 = (bool ) tempbool1;
5295 {
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 wxLogWindow_Show(_arg0,_arg1);
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) return NULL;
5301 } Py_INCREF(Py_None);
5302 _resultobj = Py_None;
5303 return _resultobj;
5304 }
5305
5306 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5307 static PyObject *_wrap_wxLogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject * _resultobj;
5309 wxFrame * _result;
5310 wxLogWindow * _arg0;
5311 PyObject * _argo0 = 0;
5312 char *_kwnames[] = { "self", NULL };
5313
5314 self = self;
5315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetFrame",_kwnames,&_argo0))
5316 return NULL;
5317 if (_argo0) {
5318 if (_argo0 == Py_None) { _arg0 = NULL; }
5319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5321 return NULL;
5322 }
5323 }
5324 {
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 _result = (wxFrame *)wxLogWindow_GetFrame(_arg0);
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) return NULL;
5330 }{ _resultobj = wxPyMake_wxObject(_result); }
5331 return _resultobj;
5332 }
5333
5334 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5335 static PyObject *_wrap_wxLogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject * _resultobj;
5337 wxLog * _result;
5338 wxLogWindow * _arg0;
5339 PyObject * _argo0 = 0;
5340 char *_kwnames[] = { "self", NULL };
5341 char _ptemp[128];
5342
5343 self = self;
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetOldLog",_kwnames,&_argo0))
5345 return NULL;
5346 if (_argo0) {
5347 if (_argo0 == Py_None) { _arg0 = NULL; }
5348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5350 return NULL;
5351 }
5352 }
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 _result = (wxLog *)wxLogWindow_GetOldLog(_arg0);
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) return NULL;
5359 } if (_result) {
5360 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5361 _resultobj = Py_BuildValue("s",_ptemp);
5362 } else {
5363 Py_INCREF(Py_None);
5364 _resultobj = Py_None;
5365 }
5366 return _resultobj;
5367 }
5368
5369 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5370 static PyObject *_wrap_wxLogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5371 PyObject * _resultobj;
5372 bool _result;
5373 wxLogWindow * _arg0;
5374 PyObject * _argo0 = 0;
5375 char *_kwnames[] = { "self", NULL };
5376
5377 self = self;
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_IsPassingMessages",_kwnames,&_argo0))
5379 return NULL;
5380 if (_argo0) {
5381 if (_argo0 == Py_None) { _arg0 = NULL; }
5382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5384 return NULL;
5385 }
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 _result = (bool )wxLogWindow_IsPassingMessages(_arg0);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) return NULL;
5393 } _resultobj = Py_BuildValue("i",_result);
5394 return _resultobj;
5395 }
5396
5397 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5398 static PyObject *_wrap_wxLogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5399 PyObject * _resultobj;
5400 wxLogWindow * _arg0;
5401 bool _arg1;
5402 PyObject * _argo0 = 0;
5403 int tempbool1;
5404 char *_kwnames[] = { "self","bDoPass", NULL };
5405
5406 self = self;
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogWindow_PassMessages",_kwnames,&_argo0,&tempbool1))
5408 return NULL;
5409 if (_argo0) {
5410 if (_argo0 == Py_None) { _arg0 = NULL; }
5411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) {
5412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5413 return NULL;
5414 }
5415 }
5416 _arg1 = (bool ) tempbool1;
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 wxLogWindow_PassMessages(_arg0,_arg1);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) return NULL;
5423 } Py_INCREF(Py_None);
5424 _resultobj = Py_None;
5425 return _resultobj;
5426 }
5427
5428 static void *SwigwxLogChainTowxLog(void *ptr) {
5429 wxLogChain *src;
5430 wxLog *dest;
5431 src = (wxLogChain *) ptr;
5432 dest = (wxLog *) src;
5433 return (void *) dest;
5434 }
5435
5436 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5437 static PyObject *_wrap_new_wxLogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
5438 PyObject * _resultobj;
5439 wxLogChain * _result;
5440 wxLog * _arg0;
5441 PyObject * _argo0 = 0;
5442 char *_kwnames[] = { "logger", NULL };
5443 char _ptemp[128];
5444
5445 self = self;
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogChain",_kwnames,&_argo0))
5447 return NULL;
5448 if (_argo0) {
5449 if (_argo0 == Py_None) { _arg0 = NULL; }
5450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) {
5451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5452 return NULL;
5453 }
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 _result = (wxLogChain *)new_wxLogChain(_arg0);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) return NULL;
5461 } if (_result) {
5462 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogChain_p");
5463 _resultobj = Py_BuildValue("s",_ptemp);
5464 } else {
5465 Py_INCREF(Py_None);
5466 _resultobj = Py_None;
5467 }
5468 return _resultobj;
5469 }
5470
5471 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5472 static PyObject *_wrap_wxLogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5473 PyObject * _resultobj;
5474 wxLogChain * _arg0;
5475 wxLog * _arg1;
5476 PyObject * _argo0 = 0;
5477 PyObject * _argo1 = 0;
5478 char *_kwnames[] = { "self","logger", NULL };
5479
5480 self = self;
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxLogChain_SetLog",_kwnames,&_argo0,&_argo1))
5482 return NULL;
5483 if (_argo0) {
5484 if (_argo0 == Py_None) { _arg0 = NULL; }
5485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5487 return NULL;
5488 }
5489 }
5490 if (_argo1) {
5491 if (_argo1 == Py_None) { _arg1 = NULL; }
5492 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxLog_p")) {
5493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5494 return NULL;
5495 }
5496 }
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 wxLogChain_SetLog(_arg0,_arg1);
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) return NULL;
5503 } Py_INCREF(Py_None);
5504 _resultobj = Py_None;
5505 return _resultobj;
5506 }
5507
5508 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5509 static PyObject *_wrap_wxLogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5510 PyObject * _resultobj;
5511 wxLogChain * _arg0;
5512 bool _arg1;
5513 PyObject * _argo0 = 0;
5514 int tempbool1;
5515 char *_kwnames[] = { "self","bDoPass", NULL };
5516
5517 self = self;
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogChain_PassMessages",_kwnames,&_argo0,&tempbool1))
5519 return NULL;
5520 if (_argo0) {
5521 if (_argo0 == Py_None) { _arg0 = NULL; }
5522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5524 return NULL;
5525 }
5526 }
5527 _arg1 = (bool ) tempbool1;
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 wxLogChain_PassMessages(_arg0,_arg1);
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) return NULL;
5534 } Py_INCREF(Py_None);
5535 _resultobj = Py_None;
5536 return _resultobj;
5537 }
5538
5539 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5540 static PyObject *_wrap_wxLogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject * _resultobj;
5542 bool _result;
5543 wxLogChain * _arg0;
5544 PyObject * _argo0 = 0;
5545 char *_kwnames[] = { "self", NULL };
5546
5547 self = self;
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_IsPassingMessages",_kwnames,&_argo0))
5549 return NULL;
5550 if (_argo0) {
5551 if (_argo0 == Py_None) { _arg0 = NULL; }
5552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5554 return NULL;
5555 }
5556 }
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 _result = (bool )wxLogChain_IsPassingMessages(_arg0);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) return NULL;
5563 } _resultobj = Py_BuildValue("i",_result);
5564 return _resultobj;
5565 }
5566
5567 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5568 static PyObject *_wrap_wxLogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject * _resultobj;
5570 wxLog * _result;
5571 wxLogChain * _arg0;
5572 PyObject * _argo0 = 0;
5573 char *_kwnames[] = { "self", NULL };
5574 char _ptemp[128];
5575
5576 self = self;
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogChain_GetOldLog",_kwnames,&_argo0))
5578 return NULL;
5579 if (_argo0) {
5580 if (_argo0 == Py_None) { _arg0 = NULL; }
5581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogChain_p")) {
5582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5583 return NULL;
5584 }
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 _result = (wxLog *)wxLogChain_GetOldLog(_arg0);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) return NULL;
5592 } if (_result) {
5593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p");
5594 _resultobj = Py_BuildValue("s",_ptemp);
5595 } else {
5596 Py_INCREF(Py_None);
5597 _resultobj = Py_None;
5598 }
5599 return _resultobj;
5600 }
5601
5602 #define new_wxLogNull() (new wxLogNull())
5603 static PyObject *_wrap_new_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject * _resultobj;
5605 wxLogNull * _result;
5606 char *_kwnames[] = { NULL };
5607 char _ptemp[128];
5608
5609 self = self;
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogNull",_kwnames))
5611 return NULL;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 _result = (wxLogNull *)new_wxLogNull();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) return NULL;
5618 } if (_result) {
5619 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogNull_p");
5620 _resultobj = Py_BuildValue("s",_ptemp);
5621 } else {
5622 Py_INCREF(Py_None);
5623 _resultobj = Py_None;
5624 }
5625 return _resultobj;
5626 }
5627
5628 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5629 static PyObject *_wrap_delete_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject * _resultobj;
5631 wxLogNull * _arg0;
5632 PyObject * _argo0 = 0;
5633 char *_kwnames[] = { "self", NULL };
5634
5635 self = self;
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLogNull",_kwnames,&_argo0))
5637 return NULL;
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogNull_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5642 return NULL;
5643 }
5644 }
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 delete_wxLogNull(_arg0);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) return NULL;
5651 } Py_INCREF(Py_None);
5652 _resultobj = Py_None;
5653 return _resultobj;
5654 }
5655
5656 static void *SwigwxPyLogTowxLog(void *ptr) {
5657 wxPyLog *src;
5658 wxLog *dest;
5659 src = (wxPyLog *) ptr;
5660 dest = (wxLog *) src;
5661 return (void *) dest;
5662 }
5663
5664 #define new_wxPyLog() (new wxPyLog())
5665 static PyObject *_wrap_new_wxPyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
5666 PyObject * _resultobj;
5667 wxPyLog * _result;
5668 char *_kwnames[] = { NULL };
5669 char _ptemp[128];
5670
5671 self = self;
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLog",_kwnames))
5673 return NULL;
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 _result = (wxPyLog *)new_wxPyLog();
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) return NULL;
5680 } if (_result) {
5681 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLog_p");
5682 _resultobj = Py_BuildValue("s",_ptemp);
5683 } else {
5684 Py_INCREF(Py_None);
5685 _resultobj = Py_None;
5686 }
5687 return _resultobj;
5688 }
5689
5690 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5691 static PyObject *_wrap_wxPyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject * _resultobj;
5693 wxPyLog * _arg0;
5694 PyObject * _arg1;
5695 PyObject * _arg2;
5696 PyObject * _argo0 = 0;
5697 PyObject * _obj1 = 0;
5698 PyObject * _obj2 = 0;
5699 char *_kwnames[] = { "self","self","_class", NULL };
5700
5701 self = self;
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLog__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5703 return NULL;
5704 if (_argo0) {
5705 if (_argo0 == Py_None) { _arg0 = NULL; }
5706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5708 return NULL;
5709 }
5710 }
5711 {
5712 _arg1 = _obj1;
5713 }
5714 {
5715 _arg2 = _obj2;
5716 }
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 wxPyLog__setCallbackInfo(_arg0,_arg1,_arg2);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) return NULL;
5723 } Py_INCREF(Py_None);
5724 _resultobj = Py_None;
5725 return _resultobj;
5726 }
5727
5728 static void wxPyLog_Destroy(wxPyLog *self) { delete self; }
5729 static PyObject *_wrap_wxPyLog_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5730 PyObject * _resultobj;
5731 wxPyLog * _arg0;
5732 PyObject * _argo0 = 0;
5733 char *_kwnames[] = { "self", NULL };
5734
5735 self = self;
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLog_Destroy",_kwnames,&_argo0))
5737 return NULL;
5738 if (_argo0) {
5739 if (_argo0 == Py_None) { _arg0 = NULL; }
5740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLog_p")) {
5741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5742 return NULL;
5743 }
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 wxPyLog_Destroy(_arg0);
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 *SwigwxProcessEventTowxEvent(void *ptr) {
5757 wxProcessEvent *src;
5758 wxEvent *dest;
5759 src = (wxProcessEvent *) ptr;
5760 dest = (wxEvent *) src;
5761 return (void *) dest;
5762 }
5763
5764 static void *SwigwxProcessEventTowxObject(void *ptr) {
5765 wxProcessEvent *src;
5766 wxObject *dest;
5767 src = (wxProcessEvent *) ptr;
5768 dest = (wxObject *) src;
5769 return (void *) dest;
5770 }
5771
5772 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5773 static PyObject *_wrap_new_wxProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject * _resultobj;
5775 wxProcessEvent * _result;
5776 int _arg0 = (int ) 0;
5777 int _arg1 = (int ) 0;
5778 int _arg2 = (int ) 0;
5779 char *_kwnames[] = { "id","pid","exitcode", NULL };
5780 char _ptemp[128];
5781
5782 self = self;
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxProcessEvent",_kwnames,&_arg0,&_arg1,&_arg2))
5784 return NULL;
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 _result = (wxProcessEvent *)new_wxProcessEvent(_arg0,_arg1,_arg2);
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) return NULL;
5791 } if (_result) {
5792 SWIG_MakePtr(_ptemp, (char *) _result,"_wxProcessEvent_p");
5793 _resultobj = Py_BuildValue("s",_ptemp);
5794 } else {
5795 Py_INCREF(Py_None);
5796 _resultobj = Py_None;
5797 }
5798 return _resultobj;
5799 }
5800
5801 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5802 static PyObject *_wrap_wxProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject * _resultobj;
5804 int _result;
5805 wxProcessEvent * _arg0;
5806 PyObject * _argo0 = 0;
5807 char *_kwnames[] = { "self", NULL };
5808
5809 self = self;
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetPid",_kwnames,&_argo0))
5811 return NULL;
5812 if (_argo0) {
5813 if (_argo0 == Py_None) { _arg0 = NULL; }
5814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5816 return NULL;
5817 }
5818 }
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 _result = (int )wxProcessEvent_GetPid(_arg0);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) return NULL;
5825 } _resultobj = Py_BuildValue("i",_result);
5826 return _resultobj;
5827 }
5828
5829 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5830 static PyObject *_wrap_wxProcessEvent_GetExitCode(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_GetExitCode",_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_GetExitCode. Expected _wxProcessEvent_p.");
5844 return NULL;
5845 }
5846 }
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 _result = (int )wxProcessEvent_GetExitCode(_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_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5858 static PyObject *_wrap_wxProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject * _resultobj;
5860 int _result;
5861 wxProcessEvent * _arg0;
5862 int _arg1;
5863 PyObject * _argo0 = 0;
5864 char *_kwnames[] = { "self","m_pid", NULL };
5865
5866 self = self;
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_pid_set",_kwnames,&_argo0,&_arg1))
5868 return NULL;
5869 if (_argo0) {
5870 if (_argo0 == Py_None) { _arg0 = NULL; }
5871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5873 return NULL;
5874 }
5875 }
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 _result = (int )wxProcessEvent_m_pid_set(_arg0,_arg1);
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) return NULL;
5882 } _resultobj = Py_BuildValue("i",_result);
5883 return _resultobj;
5884 }
5885
5886 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5887 static PyObject *_wrap_wxProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject * _resultobj;
5889 int _result;
5890 wxProcessEvent * _arg0;
5891 PyObject * _argo0 = 0;
5892 char *_kwnames[] = { "self", NULL };
5893
5894 self = self;
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_pid_get",_kwnames,&_argo0))
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_get. Expected _wxProcessEvent_p.");
5901 return NULL;
5902 }
5903 }
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 _result = (int )wxProcessEvent_m_pid_get(_arg0);
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_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5915 static PyObject *_wrap_wxProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5916 PyObject * _resultobj;
5917 int _result;
5918 wxProcessEvent * _arg0;
5919 int _arg1;
5920 PyObject * _argo0 = 0;
5921 char *_kwnames[] = { "self","m_exitcode", NULL };
5922
5923 self = self;
5924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_exitcode_set",_kwnames,&_argo0,&_arg1))
5925 return NULL;
5926 if (_argo0) {
5927 if (_argo0 == Py_None) { _arg0 = NULL; }
5928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) {
5929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5930 return NULL;
5931 }
5932 }
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 _result = (int )wxProcessEvent_m_exitcode_set(_arg0,_arg1);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) return NULL;
5939 } _resultobj = Py_BuildValue("i",_result);
5940 return _resultobj;
5941 }
5942
5943 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5944 static PyObject *_wrap_wxProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5945 PyObject * _resultobj;
5946 int _result;
5947 wxProcessEvent * _arg0;
5948 PyObject * _argo0 = 0;
5949 char *_kwnames[] = { "self", NULL };
5950
5951 self = self;
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_exitcode_get",_kwnames,&_argo0))
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_get. Expected _wxProcessEvent_p.");
5958 return NULL;
5959 }
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 _result = (int )wxProcessEvent_m_exitcode_get(_arg0);
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) return NULL;
5967 } _resultobj = Py_BuildValue("i",_result);
5968 return _resultobj;
5969 }
5970
5971 static void *SwigwxPyProcessTowxEvtHandler(void *ptr) {
5972 wxPyProcess *src;
5973 wxEvtHandler *dest;
5974 src = (wxPyProcess *) ptr;
5975 dest = (wxEvtHandler *) src;
5976 return (void *) dest;
5977 }
5978
5979 static void *SwigwxPyProcessTowxObject(void *ptr) {
5980 wxPyProcess *src;
5981 wxObject *dest;
5982 src = (wxPyProcess *) ptr;
5983 dest = (wxObject *) src;
5984 return (void *) dest;
5985 }
5986
5987 static PyObject *_wrap_wxProcess_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
5988 PyObject * _resultobj;
5989 wxKillError _result;
5990 int _arg0;
5991 wxSignal _arg1 = (wxSignal ) (wxSIGTERM);
5992 char *_kwnames[] = { "pid","sig", NULL };
5993
5994 self = self;
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i|i:wxProcess_Kill",_kwnames,&_arg0,&_arg1))
5996 return NULL;
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 _result = (wxKillError )wxPyProcess::Kill(_arg0,_arg1);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) return NULL;
6003 } _resultobj = Py_BuildValue("i",_result);
6004 return _resultobj;
6005 }
6006
6007 static PyObject *_wrap_wxProcess_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject * _resultobj;
6009 bool _result;
6010 int _arg0;
6011 char *_kwnames[] = { "pid", NULL };
6012
6013 self = self;
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxProcess_Exists",_kwnames,&_arg0))
6015 return NULL;
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 _result = (bool )wxPyProcess::Exists(_arg0);
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) return NULL;
6022 } _resultobj = Py_BuildValue("i",_result);
6023 return _resultobj;
6024 }
6025
6026 static PyObject *_wrap_wxProcess_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
6027 PyObject * _resultobj;
6028 wxPyProcess * _result;
6029 wxString * _arg0;
6030 int _arg1 = (int ) wxEXEC_ASYNC;
6031 PyObject * _obj0 = 0;
6032 char *_kwnames[] = { "cmd","flags", NULL };
6033 char _ptemp[128];
6034
6035 self = self;
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxProcess_Open",_kwnames,&_obj0,&_arg1))
6037 return NULL;
6038 {
6039 _arg0 = wxString_in_helper(_obj0);
6040 if (_arg0 == NULL)
6041 return NULL;
6042 }
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 _result = (wxPyProcess *)wxPyProcess::Open(*_arg0,_arg1);
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) return NULL;
6049 } if (_result) {
6050 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyProcess_p");
6051 _resultobj = Py_BuildValue("s",_ptemp);
6052 } else {
6053 Py_INCREF(Py_None);
6054 _resultobj = Py_None;
6055 }
6056 {
6057 if (_obj0)
6058 delete _arg0;
6059 }
6060 return _resultobj;
6061 }
6062
6063 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6064 static PyObject *_wrap_new_wxProcess(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject * _resultobj;
6066 wxPyProcess * _result;
6067 wxEvtHandler * _arg0 = (wxEvtHandler *) NULL;
6068 int _arg1 = (int ) -1;
6069 PyObject * _argo0 = 0;
6070 char *_kwnames[] = { "parent","id", NULL };
6071 char _ptemp[128];
6072
6073 self = self;
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxProcess",_kwnames,&_argo0,&_arg1))
6075 return NULL;
6076 if (_argo0) {
6077 if (_argo0 == Py_None) { _arg0 = NULL; }
6078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
6079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6080 return NULL;
6081 }
6082 }
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 _result = (wxPyProcess *)new_wxProcess(_arg0,_arg1);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) return NULL;
6089 } if (_result) {
6090 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyProcess_p");
6091 _resultobj = Py_BuildValue("s",_ptemp);
6092 } else {
6093 Py_INCREF(Py_None);
6094 _resultobj = Py_None;
6095 }
6096 return _resultobj;
6097 }
6098
6099 static void wxPyProcess_Destroy(wxPyProcess *self) { delete self; }
6100 static PyObject *_wrap_wxProcess_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject * _resultobj;
6102 wxPyProcess * _arg0;
6103 PyObject * _argo0 = 0;
6104 char *_kwnames[] = { "self", NULL };
6105
6106 self = self;
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Destroy",_kwnames,&_argo0))
6108 return NULL;
6109 if (_argo0) {
6110 if (_argo0 == Py_None) { _arg0 = NULL; }
6111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6113 return NULL;
6114 }
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 wxPyProcess_Destroy(_arg0);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) return NULL;
6122 } Py_INCREF(Py_None);
6123 _resultobj = Py_None;
6124 return _resultobj;
6125 }
6126
6127 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6128 static PyObject *_wrap_wxProcess__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject * _resultobj;
6130 wxPyProcess * _arg0;
6131 PyObject * _arg1;
6132 PyObject * _arg2;
6133 PyObject * _argo0 = 0;
6134 PyObject * _obj1 = 0;
6135 PyObject * _obj2 = 0;
6136 char *_kwnames[] = { "self","self","_class", NULL };
6137
6138 self = self;
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxProcess__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
6140 return NULL;
6141 if (_argo0) {
6142 if (_argo0 == Py_None) { _arg0 = NULL; }
6143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6145 return NULL;
6146 }
6147 }
6148 {
6149 _arg1 = _obj1;
6150 }
6151 {
6152 _arg2 = _obj2;
6153 }
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 wxProcess__setCallbackInfo(_arg0,_arg1,_arg2);
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) return NULL;
6160 } Py_INCREF(Py_None);
6161 _resultobj = Py_None;
6162 return _resultobj;
6163 }
6164
6165 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6166 static PyObject *_wrap_wxProcess_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
6167 PyObject * _resultobj;
6168 wxPyProcess * _arg0;
6169 int _arg1;
6170 int _arg2;
6171 PyObject * _argo0 = 0;
6172 char *_kwnames[] = { "self","pid","status", NULL };
6173
6174 self = self;
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxProcess_base_OnTerminate",_kwnames,&_argo0,&_arg1,&_arg2))
6176 return NULL;
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6181 return NULL;
6182 }
6183 }
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 wxProcess_base_OnTerminate(_arg0,_arg1,_arg2);
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) return NULL;
6190 } Py_INCREF(Py_None);
6191 _resultobj = Py_None;
6192 return _resultobj;
6193 }
6194
6195 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6196 static PyObject *_wrap_wxProcess_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
6197 PyObject * _resultobj;
6198 wxPyProcess * _arg0;
6199 PyObject * _argo0 = 0;
6200 char *_kwnames[] = { "self", NULL };
6201
6202 self = self;
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Redirect",_kwnames,&_argo0))
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_Redirect. Expected _wxPyProcess_p.");
6209 return NULL;
6210 }
6211 }
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 wxProcess_Redirect(_arg0);
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_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6224 static PyObject *_wrap_wxProcess_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject * _resultobj;
6226 bool _result;
6227 wxPyProcess * _arg0;
6228 PyObject * _argo0 = 0;
6229 char *_kwnames[] = { "self", NULL };
6230
6231 self = self;
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_IsRedirected",_kwnames,&_argo0))
6233 return NULL;
6234 if (_argo0) {
6235 if (_argo0 == Py_None) { _arg0 = NULL; }
6236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6238 return NULL;
6239 }
6240 }
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 _result = (bool )wxProcess_IsRedirected(_arg0);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) return NULL;
6247 } _resultobj = Py_BuildValue("i",_result);
6248 return _resultobj;
6249 }
6250
6251 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6252 static PyObject *_wrap_wxProcess_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject * _resultobj;
6254 wxPyProcess * _arg0;
6255 PyObject * _argo0 = 0;
6256 char *_kwnames[] = { "self", NULL };
6257
6258 self = self;
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Detach",_kwnames,&_argo0))
6260 return NULL;
6261 if (_argo0) {
6262 if (_argo0 == Py_None) { _arg0 = NULL; }
6263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6265 return NULL;
6266 }
6267 }
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 wxProcess_Detach(_arg0);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) return NULL;
6274 } Py_INCREF(Py_None);
6275 _resultobj = Py_None;
6276 return _resultobj;
6277 }
6278
6279 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6280 static PyObject *_wrap_wxProcess_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject * _resultobj;
6282 wxInputStream * _result;
6283 wxPyProcess * _arg0;
6284 PyObject * _argo0 = 0;
6285 char *_kwnames[] = { "self", NULL };
6286
6287 self = self;
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetInputStream",_kwnames,&_argo0))
6289 return NULL;
6290 if (_argo0) {
6291 if (_argo0 == Py_None) { _arg0 = NULL; }
6292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6294 return NULL;
6295 }
6296 }
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 _result = (wxInputStream *)wxProcess_GetInputStream(_arg0);
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) return NULL;
6303 }{
6304 wxPyInputStream * _ptr = NULL;
6305
6306 if (_result) {
6307 _ptr = new wxPyInputStream(_result);
6308 }
6309 _resultobj = wxPyConstructObject(_ptr, wxT("wxInputStream"), TRUE);
6310 }
6311 return _resultobj;
6312 }
6313
6314 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6315 static PyObject *_wrap_wxProcess_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject * _resultobj;
6317 wxInputStream * _result;
6318 wxPyProcess * _arg0;
6319 PyObject * _argo0 = 0;
6320 char *_kwnames[] = { "self", NULL };
6321
6322 self = self;
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetErrorStream",_kwnames,&_argo0))
6324 return NULL;
6325 if (_argo0) {
6326 if (_argo0 == Py_None) { _arg0 = NULL; }
6327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6329 return NULL;
6330 }
6331 }
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 _result = (wxInputStream *)wxProcess_GetErrorStream(_arg0);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) return NULL;
6338 }{
6339 wxPyInputStream * _ptr = NULL;
6340
6341 if (_result) {
6342 _ptr = new wxPyInputStream(_result);
6343 }
6344 _resultobj = wxPyConstructObject(_ptr, wxT("wxInputStream"), TRUE);
6345 }
6346 return _resultobj;
6347 }
6348
6349 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6350 static PyObject *_wrap_wxProcess_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6351 PyObject * _resultobj;
6352 wxOutputStream * _result;
6353 wxPyProcess * _arg0;
6354 PyObject * _argo0 = 0;
6355 char *_kwnames[] = { "self", NULL };
6356 char _ptemp[128];
6357
6358 self = self;
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetOutputStream",_kwnames,&_argo0))
6360 return NULL;
6361 if (_argo0) {
6362 if (_argo0 == Py_None) { _arg0 = NULL; }
6363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6365 return NULL;
6366 }
6367 }
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 _result = (wxOutputStream *)wxProcess_GetOutputStream(_arg0);
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) return NULL;
6374 } if (_result) {
6375 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOutputStream_p");
6376 _resultobj = Py_BuildValue("s",_ptemp);
6377 } else {
6378 Py_INCREF(Py_None);
6379 _resultobj = Py_None;
6380 }
6381 return _resultobj;
6382 }
6383
6384 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6385 static PyObject *_wrap_wxProcess_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject * _resultobj;
6387 wxPyProcess * _arg0;
6388 PyObject * _argo0 = 0;
6389 char *_kwnames[] = { "self", NULL };
6390
6391 self = self;
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_CloseOutput",_kwnames,&_argo0))
6393 return NULL;
6394 if (_argo0) {
6395 if (_argo0 == Py_None) { _arg0 = NULL; }
6396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6398 return NULL;
6399 }
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 wxProcess_CloseOutput(_arg0);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) return NULL;
6407 } Py_INCREF(Py_None);
6408 _resultobj = Py_None;
6409 return _resultobj;
6410 }
6411
6412 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6413 static PyObject *_wrap_wxProcess_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject * _resultobj;
6415 bool _result;
6416 wxPyProcess * _arg0;
6417 PyObject * _argo0 = 0;
6418 char *_kwnames[] = { "self", NULL };
6419
6420 self = self;
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_IsInputOpened",_kwnames,&_argo0))
6422 return NULL;
6423 if (_argo0) {
6424 if (_argo0 == Py_None) { _arg0 = NULL; }
6425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) {
6426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6427 return NULL;
6428 }
6429 }
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 _result = (bool )wxProcess_IsInputOpened(_arg0);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) return NULL;
6436 } _resultobj = Py_BuildValue("i",_result);
6437 return _resultobj;
6438 }
6439
6440 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6441 static PyObject *_wrap_wxProcess_IsInputAvailable(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_IsInputAvailable",_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_IsInputAvailable. Expected _wxPyProcess_p.");
6455 return NULL;
6456 }
6457 }
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 _result = (bool )wxProcess_IsInputAvailable(_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_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6469 static PyObject *_wrap_wxProcess_IsErrorAvailable(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_IsErrorAvailable",_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_IsErrorAvailable. Expected _wxPyProcess_p.");
6483 return NULL;
6484 }
6485 }
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 _result = (bool )wxProcess_IsErrorAvailable(_arg0);
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) return NULL;
6492 } _resultobj = Py_BuildValue("i",_result);
6493 return _resultobj;
6494 }
6495
6496 static void *SwigwxJoystickTowxObject(void *ptr) {
6497 wxJoystick *src;
6498 wxObject *dest;
6499 src = (wxJoystick *) ptr;
6500 dest = (wxObject *) src;
6501 return (void *) dest;
6502 }
6503
6504 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6505 static PyObject *_wrap_new_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject * _resultobj;
6507 wxJoystick * _result;
6508 int _arg0 = (int ) (wxJOYSTICK1);
6509 char *_kwnames[] = { "joystick", NULL };
6510 char _ptemp[128];
6511
6512 self = self;
6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxJoystick",_kwnames,&_arg0))
6514 return NULL;
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 _result = (wxJoystick *)new_wxJoystick(_arg0);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) return NULL;
6521 } if (_result) {
6522 SWIG_MakePtr(_ptemp, (char *) _result,"_wxJoystick_p");
6523 _resultobj = Py_BuildValue("s",_ptemp);
6524 } else {
6525 Py_INCREF(Py_None);
6526 _resultobj = Py_None;
6527 }
6528 return _resultobj;
6529 }
6530
6531 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6532 static PyObject *_wrap_delete_wxJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject * _resultobj;
6534 wxJoystick * _arg0;
6535 PyObject * _argo0 = 0;
6536 char *_kwnames[] = { "self", NULL };
6537
6538 self = self;
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxJoystick",_kwnames,&_argo0))
6540 return NULL;
6541 if (_argo0) {
6542 if (_argo0 == Py_None) { _arg0 = NULL; }
6543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6545 return NULL;
6546 }
6547 }
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 delete_wxJoystick(_arg0);
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) return NULL;
6554 } Py_INCREF(Py_None);
6555 _resultobj = Py_None;
6556 return _resultobj;
6557 }
6558
6559 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6560 static PyObject *_wrap_wxJoystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject * _resultobj;
6562 wxPoint * _result;
6563 wxJoystick * _arg0;
6564 PyObject * _argo0 = 0;
6565 char *_kwnames[] = { "self", NULL };
6566 char _ptemp[128];
6567
6568 self = self;
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetPosition",_kwnames,&_argo0))
6570 return NULL;
6571 if (_argo0) {
6572 if (_argo0 == Py_None) { _arg0 = NULL; }
6573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6575 return NULL;
6576 }
6577 }
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 _result = new wxPoint (wxJoystick_GetPosition(_arg0));
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) return NULL;
6584 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
6585 _resultobj = Py_BuildValue("s",_ptemp);
6586 return _resultobj;
6587 }
6588
6589 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6590 static PyObject *_wrap_wxJoystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject * _resultobj;
6592 int _result;
6593 wxJoystick * _arg0;
6594 PyObject * _argo0 = 0;
6595 char *_kwnames[] = { "self", NULL };
6596
6597 self = self;
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetZPosition",_kwnames,&_argo0))
6599 return NULL;
6600 if (_argo0) {
6601 if (_argo0 == Py_None) { _arg0 = NULL; }
6602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6604 return NULL;
6605 }
6606 }
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 _result = (int )wxJoystick_GetZPosition(_arg0);
6610
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) return NULL;
6613 } _resultobj = Py_BuildValue("i",_result);
6614 return _resultobj;
6615 }
6616
6617 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6618 static PyObject *_wrap_wxJoystick_GetButtonState(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_GetButtonState",_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_GetButtonState. Expected _wxJoystick_p.");
6632 return NULL;
6633 }
6634 }
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 _result = (int )wxJoystick_GetButtonState(_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_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6646 static PyObject *_wrap_wxJoystick_GetPOVPosition(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_GetPOVPosition",_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_GetPOVPosition. Expected _wxJoystick_p.");
6660 return NULL;
6661 }
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 _result = (int )wxJoystick_GetPOVPosition(_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_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6674 static PyObject *_wrap_wxJoystick_GetPOVCTSPosition(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_GetPOVCTSPosition",_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_GetPOVCTSPosition. Expected _wxJoystick_p.");
6688 return NULL;
6689 }
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 _result = (int )wxJoystick_GetPOVCTSPosition(_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_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6702 static PyObject *_wrap_wxJoystick_GetRudderPosition(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_GetRudderPosition",_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_GetRudderPosition. Expected _wxJoystick_p.");
6716 return NULL;
6717 }
6718 }
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 _result = (int )wxJoystick_GetRudderPosition(_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_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6730 static PyObject *_wrap_wxJoystick_GetUPosition(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_GetUPosition",_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_GetUPosition. Expected _wxJoystick_p.");
6744 return NULL;
6745 }
6746 }
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 _result = (int )wxJoystick_GetUPosition(_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_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6758 static PyObject *_wrap_wxJoystick_GetVPosition(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_GetVPosition",_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_GetVPosition. Expected _wxJoystick_p.");
6772 return NULL;
6773 }
6774 }
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 _result = (int )wxJoystick_GetVPosition(_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_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6786 static PyObject *_wrap_wxJoystick_GetMovementThreshold(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_GetMovementThreshold",_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_GetMovementThreshold. Expected _wxJoystick_p.");
6800 return NULL;
6801 }
6802 }
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 _result = (int )wxJoystick_GetMovementThreshold(_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_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6814 static PyObject *_wrap_wxJoystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject * _resultobj;
6816 wxJoystick * _arg0;
6817 int _arg1;
6818 PyObject * _argo0 = 0;
6819 char *_kwnames[] = { "self","threshold", NULL };
6820
6821 self = self;
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxJoystick_SetMovementThreshold",_kwnames,&_argo0,&_arg1))
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_SetMovementThreshold. Expected _wxJoystick_p.");
6828 return NULL;
6829 }
6830 }
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 wxJoystick_SetMovementThreshold(_arg0,_arg1);
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) return NULL;
6837 } Py_INCREF(Py_None);
6838 _resultobj = Py_None;
6839 return _resultobj;
6840 }
6841
6842 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6843 static PyObject *_wrap_wxJoystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject * _resultobj;
6845 bool _result;
6846 wxJoystick * _arg0;
6847 PyObject * _argo0 = 0;
6848 char *_kwnames[] = { "self", NULL };
6849
6850 self = self;
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_IsOk",_kwnames,&_argo0))
6852 return NULL;
6853 if (_argo0) {
6854 if (_argo0 == Py_None) { _arg0 = NULL; }
6855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
6856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6857 return NULL;
6858 }
6859 }
6860 {
6861 PyThreadState* __tstate = wxPyBeginAllowThreads();
6862 _result = (bool )wxJoystick_IsOk(_arg0);
6863
6864 wxPyEndAllowThreads(__tstate);
6865 if (PyErr_Occurred()) return NULL;
6866 } _resultobj = Py_BuildValue("i",_result);
6867 return _resultobj;
6868 }
6869
6870 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6871 static PyObject *_wrap_wxJoystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
6872 PyObject * _resultobj;
6873 int _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_GetNumberJoysticks",_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_GetNumberJoysticks. Expected _wxJoystick_p.");
6885 return NULL;
6886 }
6887 }
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 _result = (int )wxJoystick_GetNumberJoysticks(_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_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6899 static PyObject *_wrap_wxJoystick_GetManufacturerId(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_GetManufacturerId",_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_GetManufacturerId. Expected _wxJoystick_p.");
6913 return NULL;
6914 }
6915 }
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 _result = (int )wxJoystick_GetManufacturerId(_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_GetProductId(_swigobj) (_swigobj->GetProductId())
6927 static PyObject *_wrap_wxJoystick_GetProductId(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_GetProductId",_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_GetProductId. Expected _wxJoystick_p.");
6941 return NULL;
6942 }
6943 }
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 _result = (int )wxJoystick_GetProductId(_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_GetProductName(_swigobj) (_swigobj->GetProductName())
6955 static PyObject *_wrap_wxJoystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject * _resultobj;
6957 wxString * _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_GetProductName",_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_GetProductName. Expected _wxJoystick_p.");
6969 return NULL;
6970 }
6971 }
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 _result = new wxString (wxJoystick_GetProductName(_arg0));
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) return NULL;
6978 }{
6979 #if wxUSE_UNICODE
6980 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6981 #else
6982 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6983 #endif
6984 }
6985 {
6986 delete _result;
6987 }
6988 return _resultobj;
6989 }
6990
6991 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6992 static PyObject *_wrap_wxJoystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6993 PyObject * _resultobj;
6994 int _result;
6995 wxJoystick * _arg0;
6996 PyObject * _argo0 = 0;
6997 char *_kwnames[] = { "self", NULL };
6998
6999 self = self;
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_GetXMin",_kwnames,&_argo0))
7001 return NULL;
7002 if (_argo0) {
7003 if (_argo0 == Py_None) { _arg0 = NULL; }
7004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7006 return NULL;
7007 }
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 _result = (int )wxJoystick_GetXMin(_arg0);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) return NULL;
7015 } _resultobj = Py_BuildValue("i",_result);
7016 return _resultobj;
7017 }
7018
7019 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7020 static PyObject *_wrap_wxJoystick_GetYMin(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_GetYMin",_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_GetYMin. Expected _wxJoystick_p.");
7034 return NULL;
7035 }
7036 }
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 _result = (int )wxJoystick_GetYMin(_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_GetZMin(_swigobj) (_swigobj->GetZMin())
7048 static PyObject *_wrap_wxJoystick_GetZMin(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_GetZMin",_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_GetZMin. Expected _wxJoystick_p.");
7062 return NULL;
7063 }
7064 }
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 _result = (int )wxJoystick_GetZMin(_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_GetXMax(_swigobj) (_swigobj->GetXMax())
7076 static PyObject *_wrap_wxJoystick_GetXMax(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_GetXMax",_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_GetXMax. Expected _wxJoystick_p.");
7090 return NULL;
7091 }
7092 }
7093 {
7094 PyThreadState* __tstate = wxPyBeginAllowThreads();
7095 _result = (int )wxJoystick_GetXMax(_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_GetYMax(_swigobj) (_swigobj->GetYMax())
7104 static PyObject *_wrap_wxJoystick_GetYMax(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_GetYMax",_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_GetYMax. Expected _wxJoystick_p.");
7118 return NULL;
7119 }
7120 }
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 _result = (int )wxJoystick_GetYMax(_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_GetZMax(_swigobj) (_swigobj->GetZMax())
7132 static PyObject *_wrap_wxJoystick_GetZMax(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_GetZMax",_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_GetZMax. Expected _wxJoystick_p.");
7146 return NULL;
7147 }
7148 }
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 _result = (int )wxJoystick_GetZMax(_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_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7160 static PyObject *_wrap_wxJoystick_GetNumberButtons(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_GetNumberButtons",_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_GetNumberButtons. Expected _wxJoystick_p.");
7174 return NULL;
7175 }
7176 }
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 _result = (int )wxJoystick_GetNumberButtons(_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_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7188 static PyObject *_wrap_wxJoystick_GetNumberAxes(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_GetNumberAxes",_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_GetNumberAxes. Expected _wxJoystick_p.");
7202 return NULL;
7203 }
7204 }
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 _result = (int )wxJoystick_GetNumberAxes(_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_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7216 static PyObject *_wrap_wxJoystick_GetMaxButtons(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_GetMaxButtons",_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_GetMaxButtons. Expected _wxJoystick_p.");
7230 return NULL;
7231 }
7232 }
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 _result = (int )wxJoystick_GetMaxButtons(_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_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7244 static PyObject *_wrap_wxJoystick_GetMaxAxes(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_GetMaxAxes",_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_GetMaxAxes. Expected _wxJoystick_p.");
7258 return NULL;
7259 }
7260 }
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 _result = (int )wxJoystick_GetMaxAxes(_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_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7272 static PyObject *_wrap_wxJoystick_GetPollingMin(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_GetPollingMin",_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_GetPollingMin. Expected _wxJoystick_p.");
7286 return NULL;
7287 }
7288 }
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 _result = (int )wxJoystick_GetPollingMin(_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_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7300 static PyObject *_wrap_wxJoystick_GetPollingMax(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_GetPollingMax",_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_GetPollingMax. Expected _wxJoystick_p.");
7314 return NULL;
7315 }
7316 }
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 _result = (int )wxJoystick_GetPollingMax(_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_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7328 static PyObject *_wrap_wxJoystick_GetRudderMin(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_GetRudderMin",_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_GetRudderMin. Expected _wxJoystick_p.");
7342 return NULL;
7343 }
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 _result = (int )wxJoystick_GetRudderMin(_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_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7356 static PyObject *_wrap_wxJoystick_GetRudderMax(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_GetRudderMax",_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_GetRudderMax. Expected _wxJoystick_p.");
7370 return NULL;
7371 }
7372 }
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 _result = (int )wxJoystick_GetRudderMax(_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_GetUMin(_swigobj) (_swigobj->GetUMin())
7384 static PyObject *_wrap_wxJoystick_GetUMin(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_GetUMin",_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_GetUMin. Expected _wxJoystick_p.");
7398 return NULL;
7399 }
7400 }
7401 {
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 _result = (int )wxJoystick_GetUMin(_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_GetUMax(_swigobj) (_swigobj->GetUMax())
7412 static PyObject *_wrap_wxJoystick_GetUMax(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_GetUMax",_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_GetUMax. Expected _wxJoystick_p.");
7426 return NULL;
7427 }
7428 }
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 _result = (int )wxJoystick_GetUMax(_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_GetVMin(_swigobj) (_swigobj->GetVMin())
7440 static PyObject *_wrap_wxJoystick_GetVMin(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_GetVMin",_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_GetVMin. Expected _wxJoystick_p.");
7454 return NULL;
7455 }
7456 }
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 _result = (int )wxJoystick_GetVMin(_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_GetVMax(_swigobj) (_swigobj->GetVMax())
7468 static PyObject *_wrap_wxJoystick_GetVMax(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_GetVMax",_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_GetVMax. Expected _wxJoystick_p.");
7482 return NULL;
7483 }
7484 }
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 _result = (int )wxJoystick_GetVMax(_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_HasRudder(_swigobj) (_swigobj->HasRudder())
7496 static PyObject *_wrap_wxJoystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject * _resultobj;
7498 bool _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_HasRudder",_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_HasRudder. Expected _wxJoystick_p.");
7510 return NULL;
7511 }
7512 }
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 _result = (bool )wxJoystick_HasRudder(_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_HasZ(_swigobj) (_swigobj->HasZ())
7524 static PyObject *_wrap_wxJoystick_HasZ(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_HasZ",_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_HasZ. Expected _wxJoystick_p.");
7538 return NULL;
7539 }
7540 }
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 _result = (bool )wxJoystick_HasZ(_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_HasU(_swigobj) (_swigobj->HasU())
7552 static PyObject *_wrap_wxJoystick_HasU(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_HasU",_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_HasU. Expected _wxJoystick_p.");
7566 return NULL;
7567 }
7568 }
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 _result = (bool )wxJoystick_HasU(_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_HasV(_swigobj) (_swigobj->HasV())
7580 static PyObject *_wrap_wxJoystick_HasV(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_HasV",_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_HasV. Expected _wxJoystick_p.");
7594 return NULL;
7595 }
7596 }
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 _result = (bool )wxJoystick_HasV(_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_HasPOV(_swigobj) (_swigobj->HasPOV())
7608 static PyObject *_wrap_wxJoystick_HasPOV(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_HasPOV",_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_HasPOV. Expected _wxJoystick_p.");
7622 return NULL;
7623 }
7624 }
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 _result = (bool )wxJoystick_HasPOV(_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_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7636 static PyObject *_wrap_wxJoystick_HasPOV4Dir(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_HasPOV4Dir",_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_HasPOV4Dir. Expected _wxJoystick_p.");
7650 return NULL;
7651 }
7652 }
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 _result = (bool )wxJoystick_HasPOV4Dir(_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_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7664 static PyObject *_wrap_wxJoystick_HasPOVCTS(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_HasPOVCTS",_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_HasPOVCTS. Expected _wxJoystick_p.");
7678 return NULL;
7679 }
7680 }
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 _result = (bool )wxJoystick_HasPOVCTS(_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_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7692 static PyObject *_wrap_wxJoystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7693 PyObject * _resultobj;
7694 bool _result;
7695 wxJoystick * _arg0;
7696 wxWindow * _arg1;
7697 int _arg2 = (int ) 0;
7698 PyObject * _argo0 = 0;
7699 PyObject * _argo1 = 0;
7700 char *_kwnames[] = { "self","win","pollingFreq", NULL };
7701
7702 self = self;
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxJoystick_SetCapture",_kwnames,&_argo0,&_argo1,&_arg2))
7704 return NULL;
7705 if (_argo0) {
7706 if (_argo0 == Py_None) { _arg0 = NULL; }
7707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7709 return NULL;
7710 }
7711 }
7712 if (_argo1) {
7713 if (_argo1 == Py_None) { _arg1 = NULL; }
7714 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7715 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7716 return NULL;
7717 }
7718 }
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 _result = (bool )wxJoystick_SetCapture(_arg0,_arg1,_arg2);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) return NULL;
7725 } _resultobj = Py_BuildValue("i",_result);
7726 return _resultobj;
7727 }
7728
7729 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7730 static PyObject *_wrap_wxJoystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject * _resultobj;
7732 bool _result;
7733 wxJoystick * _arg0;
7734 PyObject * _argo0 = 0;
7735 char *_kwnames[] = { "self", NULL };
7736
7737 self = self;
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxJoystick_ReleaseCapture",_kwnames,&_argo0))
7739 return NULL;
7740 if (_argo0) {
7741 if (_argo0 == Py_None) { _arg0 = NULL; }
7742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxJoystick_p")) {
7743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7744 return NULL;
7745 }
7746 }
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 _result = (bool )wxJoystick_ReleaseCapture(_arg0);
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) return NULL;
7753 } _resultobj = Py_BuildValue("i",_result);
7754 return _resultobj;
7755 }
7756
7757 static void *SwigwxWaveTowxObject(void *ptr) {
7758 wxWave *src;
7759 wxObject *dest;
7760 src = (wxWave *) ptr;
7761 dest = (wxObject *) src;
7762 return (void *) dest;
7763 }
7764
7765 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7766 static PyObject *_wrap_new_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject * _resultobj;
7768 wxWave * _result;
7769 wxString * _arg0;
7770 bool _arg1 = (bool ) FALSE;
7771 PyObject * _obj0 = 0;
7772 int tempbool1 = (int) FALSE;
7773 char *_kwnames[] = { "fileName","isResource", NULL };
7774 char _ptemp[128];
7775
7776 self = self;
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxWave",_kwnames,&_obj0,&tempbool1))
7778 return NULL;
7779 {
7780 _arg0 = wxString_in_helper(_obj0);
7781 if (_arg0 == NULL)
7782 return NULL;
7783 }
7784 _arg1 = (bool ) tempbool1;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 _result = (wxWave *)new_wxWave(*_arg0,_arg1);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) return NULL;
7791 } if (_result) {
7792 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWave_p");
7793 _resultobj = Py_BuildValue("s",_ptemp);
7794 } else {
7795 Py_INCREF(Py_None);
7796 _resultobj = Py_None;
7797 }
7798 {
7799 if (_obj0)
7800 delete _arg0;
7801 }
7802 return _resultobj;
7803 }
7804
7805 #define delete_wxWave(_swigobj) (delete _swigobj)
7806 static PyObject *_wrap_delete_wxWave(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject * _resultobj;
7808 wxWave * _arg0;
7809 PyObject * _argo0 = 0;
7810 char *_kwnames[] = { "self", NULL };
7811
7812 self = self;
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWave",_kwnames,&_argo0))
7814 return NULL;
7815 if (_argo0) {
7816 if (_argo0 == Py_None) { _arg0 = NULL; }
7817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7819 return NULL;
7820 }
7821 }
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 delete_wxWave(_arg0);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) return NULL;
7828 } Py_INCREF(Py_None);
7829 _resultobj = Py_None;
7830 return _resultobj;
7831 }
7832
7833 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7834 static PyObject *_wrap_wxWave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject * _resultobj;
7836 bool _result;
7837 wxWave * _arg0;
7838 PyObject * _argo0 = 0;
7839 char *_kwnames[] = { "self", NULL };
7840
7841 self = self;
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWave_IsOk",_kwnames,&_argo0))
7843 return NULL;
7844 if (_argo0) {
7845 if (_argo0 == Py_None) { _arg0 = NULL; }
7846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7848 return NULL;
7849 }
7850 }
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 _result = (bool )wxWave_IsOk(_arg0);
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) return NULL;
7857 } _resultobj = Py_BuildValue("i",_result);
7858 return _resultobj;
7859 }
7860
7861 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7862 static PyObject *_wrap_wxWave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
7863 PyObject * _resultobj;
7864 bool _result;
7865 wxWave * _arg0;
7866 bool _arg1 = (bool ) TRUE;
7867 bool _arg2 = (bool ) FALSE;
7868 PyObject * _argo0 = 0;
7869 int tempbool1 = (int) TRUE;
7870 int tempbool2 = (int) FALSE;
7871 char *_kwnames[] = { "self","async","looped", NULL };
7872
7873 self = self;
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxWave_Play",_kwnames,&_argo0,&tempbool1,&tempbool2))
7875 return NULL;
7876 if (_argo0) {
7877 if (_argo0 == Py_None) { _arg0 = NULL; }
7878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWave_p")) {
7879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7880 return NULL;
7881 }
7882 }
7883 _arg1 = (bool ) tempbool1;
7884 _arg2 = (bool ) tempbool2;
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 _result = (bool )wxWave_Play(_arg0,_arg1,_arg2);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) return NULL;
7891 } _resultobj = Py_BuildValue("i",_result);
7892 return _resultobj;
7893 }
7894
7895 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7896 static PyObject *_wrap_new_wxFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7897 PyObject * _resultobj;
7898 wxFileTypeInfo * _result;
7899 wxString * _arg0;
7900 wxString * _arg1;
7901 wxString * _arg2;
7902 wxString * _arg3;
7903 PyObject * _obj0 = 0;
7904 PyObject * _obj1 = 0;
7905 PyObject * _obj2 = 0;
7906 PyObject * _obj3 = 0;
7907 char *_kwnames[] = { "mimeType","openCmd","printCmd","desc", NULL };
7908 char _ptemp[128];
7909
7910 self = self;
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:new_wxFileTypeInfo",_kwnames,&_obj0,&_obj1,&_obj2,&_obj3))
7912 return NULL;
7913 {
7914 _arg0 = wxString_in_helper(_obj0);
7915 if (_arg0 == NULL)
7916 return NULL;
7917 }
7918 {
7919 _arg1 = wxString_in_helper(_obj1);
7920 if (_arg1 == NULL)
7921 return NULL;
7922 }
7923 {
7924 _arg2 = wxString_in_helper(_obj2);
7925 if (_arg2 == NULL)
7926 return NULL;
7927 }
7928 {
7929 _arg3 = wxString_in_helper(_obj3);
7930 if (_arg3 == NULL)
7931 return NULL;
7932 }
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 _result = (wxFileTypeInfo *)new_wxFileTypeInfo(*_arg0,*_arg1,*_arg2,*_arg3);
7936
7937 wxPyEndAllowThreads(__tstate);
7938 if (PyErr_Occurred()) return NULL;
7939 } if (_result) {
7940 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
7941 _resultobj = Py_BuildValue("s",_ptemp);
7942 } else {
7943 Py_INCREF(Py_None);
7944 _resultobj = Py_None;
7945 }
7946 {
7947 if (_obj0)
7948 delete _arg0;
7949 }
7950 {
7951 if (_obj1)
7952 delete _arg1;
7953 }
7954 {
7955 if (_obj2)
7956 delete _arg2;
7957 }
7958 {
7959 if (_obj3)
7960 delete _arg3;
7961 }
7962 return _resultobj;
7963 }
7964
7965 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7966 static PyObject *_wrap_new_wxFileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
7967 PyObject * _resultobj;
7968 wxFileTypeInfo * _result;
7969 wxArrayString * _arg0;
7970 PyObject * _obj0 = 0;
7971 char *_kwnames[] = { "sArray", NULL };
7972 char _ptemp[128];
7973
7974 self = self;
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileTypeInfoSequence",_kwnames,&_obj0))
7976 return NULL;
7977 {
7978 if (! PySequence_Check(_obj0)) {
7979 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7980 return NULL;
7981 }
7982 _arg0 = new wxArrayString;
7983 int i, len=PySequence_Length(_obj0);
7984 for (i=0; i<len; i++) {
7985 PyObject* item = PySequence_GetItem(_obj0, i);
7986 #if wxUSE_UNICODE
7987 PyObject* str = PyObject_Unicode(item);
7988 #else
7989 PyObject* str = PyObject_Str(item);
7990 #endif
7991 _arg0->Add(Py2wxString(str));
7992 Py_DECREF(item);
7993 Py_DECREF(str);
7994 }
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 _result = (wxFileTypeInfo *)new_wxFileTypeInfoSequence(*_arg0);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) return NULL;
8002 } if (_result) {
8003 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
8004 _resultobj = Py_BuildValue("s",_ptemp);
8005 } else {
8006 Py_INCREF(Py_None);
8007 _resultobj = Py_None;
8008 }
8009 {
8010 if (_obj0)
8011 delete _arg0;
8012 }
8013 return _resultobj;
8014 }
8015
8016 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8017 static PyObject *_wrap_new_wxNullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject * _resultobj;
8019 wxFileTypeInfo * _result;
8020 char *_kwnames[] = { NULL };
8021 char _ptemp[128];
8022
8023 self = self;
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNullFileTypeInfo",_kwnames))
8025 return NULL;
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 _result = (wxFileTypeInfo *)new_wxNullFileTypeInfo();
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) return NULL;
8032 } if (_result) {
8033 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileTypeInfo_p");
8034 _resultobj = Py_BuildValue("s",_ptemp);
8035 } else {
8036 Py_INCREF(Py_None);
8037 _resultobj = Py_None;
8038 }
8039 return _resultobj;
8040 }
8041
8042 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8043 static PyObject *_wrap_wxFileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject * _resultobj;
8045 bool _result;
8046 wxFileTypeInfo * _arg0;
8047 PyObject * _argo0 = 0;
8048 char *_kwnames[] = { "self", NULL };
8049
8050 self = self;
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_IsValid",_kwnames,&_argo0))
8052 return NULL;
8053 if (_argo0) {
8054 if (_argo0 == Py_None) { _arg0 = NULL; }
8055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8057 return NULL;
8058 }
8059 }
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 _result = (bool )wxFileTypeInfo_IsValid(_arg0);
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) return NULL;
8066 } _resultobj = Py_BuildValue("i",_result);
8067 return _resultobj;
8068 }
8069
8070 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8071 static PyObject *_wrap_wxFileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8072 PyObject * _resultobj;
8073 wxFileTypeInfo * _arg0;
8074 wxString * _arg1;
8075 int _arg2 = (int ) 0;
8076 PyObject * _argo0 = 0;
8077 PyObject * _obj1 = 0;
8078 char *_kwnames[] = { "self","iconFile","iconIndex", NULL };
8079
8080 self = self;
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFileTypeInfo_SetIcon",_kwnames,&_argo0,&_obj1,&_arg2))
8082 return NULL;
8083 if (_argo0) {
8084 if (_argo0 == Py_None) { _arg0 = NULL; }
8085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8087 return NULL;
8088 }
8089 }
8090 {
8091 _arg1 = wxString_in_helper(_obj1);
8092 if (_arg1 == NULL)
8093 return NULL;
8094 }
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 wxFileTypeInfo_SetIcon(_arg0,*_arg1,_arg2);
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) return NULL;
8101 } Py_INCREF(Py_None);
8102 _resultobj = Py_None;
8103 {
8104 if (_obj1)
8105 delete _arg1;
8106 }
8107 return _resultobj;
8108 }
8109
8110 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8111 static PyObject *_wrap_wxFileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8112 PyObject * _resultobj;
8113 wxFileTypeInfo * _arg0;
8114 wxString * _arg1;
8115 PyObject * _argo0 = 0;
8116 PyObject * _obj1 = 0;
8117 char *_kwnames[] = { "self","shortDesc", NULL };
8118
8119 self = self;
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileTypeInfo_SetShortDesc",_kwnames,&_argo0,&_obj1))
8121 return NULL;
8122 if (_argo0) {
8123 if (_argo0 == Py_None) { _arg0 = NULL; }
8124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8126 return NULL;
8127 }
8128 }
8129 {
8130 _arg1 = wxString_in_helper(_obj1);
8131 if (_arg1 == NULL)
8132 return NULL;
8133 }
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 wxFileTypeInfo_SetShortDesc(_arg0,*_arg1);
8137
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) return NULL;
8140 } Py_INCREF(Py_None);
8141 _resultobj = Py_None;
8142 {
8143 if (_obj1)
8144 delete _arg1;
8145 }
8146 return _resultobj;
8147 }
8148
8149 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8150 static PyObject *_wrap_wxFileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject * _resultobj;
8152 wxString * _result;
8153 wxFileTypeInfo * _arg0;
8154 PyObject * _argo0 = 0;
8155 char *_kwnames[] = { "self", NULL };
8156
8157 self = self;
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetMimeType",_kwnames,&_argo0))
8159 return NULL;
8160 if (_argo0) {
8161 if (_argo0 == Py_None) { _arg0 = NULL; }
8162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8164 return NULL;
8165 }
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 const wxString & _result_ref = wxFileTypeInfo_GetMimeType(_arg0);
8170 _result = (wxString *) &_result_ref;
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) return NULL;
8174 }{
8175 #if wxUSE_UNICODE
8176 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
8177 #else
8178 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8179 #endif
8180 }
8181 return _resultobj;
8182 }
8183
8184 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8185 static PyObject *_wrap_wxFileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject * _resultobj;
8187 wxString * _result;
8188 wxFileTypeInfo * _arg0;
8189 PyObject * _argo0 = 0;
8190 char *_kwnames[] = { "self", NULL };
8191
8192 self = self;
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetOpenCommand",_kwnames,&_argo0))
8194 return NULL;
8195 if (_argo0) {
8196 if (_argo0 == Py_None) { _arg0 = NULL; }
8197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8199 return NULL;
8200 }
8201 }
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 const wxString & _result_ref = wxFileTypeInfo_GetOpenCommand(_arg0);
8205 _result = (wxString *) &_result_ref;
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) return NULL;
8209 }{
8210 #if wxUSE_UNICODE
8211 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
8212 #else
8213 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8214 #endif
8215 }
8216 return _resultobj;
8217 }
8218
8219 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8220 static PyObject *_wrap_wxFileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8221 PyObject * _resultobj;
8222 wxString * _result;
8223 wxFileTypeInfo * _arg0;
8224 PyObject * _argo0 = 0;
8225 char *_kwnames[] = { "self", NULL };
8226
8227 self = self;
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetPrintCommand",_kwnames,&_argo0))
8229 return NULL;
8230 if (_argo0) {
8231 if (_argo0 == Py_None) { _arg0 = NULL; }
8232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8234 return NULL;
8235 }
8236 }
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 const wxString & _result_ref = wxFileTypeInfo_GetPrintCommand(_arg0);
8240 _result = (wxString *) &_result_ref;
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) return NULL;
8244 }{
8245 #if wxUSE_UNICODE
8246 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
8247 #else
8248 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8249 #endif
8250 }
8251 return _resultobj;
8252 }
8253
8254 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8255 static PyObject *_wrap_wxFileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8256 PyObject * _resultobj;
8257 wxString * _result;
8258 wxFileTypeInfo * _arg0;
8259 PyObject * _argo0 = 0;
8260 char *_kwnames[] = { "self", NULL };
8261
8262 self = self;
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetShortDesc",_kwnames,&_argo0))
8264 return NULL;
8265 if (_argo0) {
8266 if (_argo0 == Py_None) { _arg0 = NULL; }
8267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8269 return NULL;
8270 }
8271 }
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 const wxString & _result_ref = wxFileTypeInfo_GetShortDesc(_arg0);
8275 _result = (wxString *) &_result_ref;
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) return NULL;
8279 }{
8280 #if wxUSE_UNICODE
8281 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
8282 #else
8283 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8284 #endif
8285 }
8286 return _resultobj;
8287 }
8288
8289 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8290 static PyObject *_wrap_wxFileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject * _resultobj;
8292 wxString * _result;
8293 wxFileTypeInfo * _arg0;
8294 PyObject * _argo0 = 0;
8295 char *_kwnames[] = { "self", NULL };
8296
8297 self = self;
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetDescription",_kwnames,&_argo0))
8299 return NULL;
8300 if (_argo0) {
8301 if (_argo0 == Py_None) { _arg0 = NULL; }
8302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8304 return NULL;
8305 }
8306 }
8307 {
8308 PyThreadState* __tstate = wxPyBeginAllowThreads();
8309 const wxString & _result_ref = wxFileTypeInfo_GetDescription(_arg0);
8310 _result = (wxString *) &_result_ref;
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) return NULL;
8314 }{
8315 #if wxUSE_UNICODE
8316 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
8317 #else
8318 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8319 #endif
8320 }
8321 return _resultobj;
8322 }
8323
8324 static PyObject * wxFileTypeInfo_GetExtensions(wxFileTypeInfo *self) {
8325 wxArrayString& arr = (wxArrayString&)self->GetExtensions();
8326 return wxArrayString2PyList_helper(arr);
8327 }
8328 static PyObject *_wrap_wxFileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8329 PyObject * _resultobj;
8330 PyObject * _result;
8331 wxFileTypeInfo * _arg0;
8332 PyObject * _argo0 = 0;
8333 char *_kwnames[] = { "self", NULL };
8334
8335 self = self;
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensions",_kwnames,&_argo0))
8337 return NULL;
8338 if (_argo0) {
8339 if (_argo0 == Py_None) { _arg0 = NULL; }
8340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8342 return NULL;
8343 }
8344 }
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 _result = (PyObject *)wxFileTypeInfo_GetExtensions(_arg0);
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) return NULL;
8351 }{
8352 _resultobj = _result;
8353 }
8354 return _resultobj;
8355 }
8356
8357 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8358 static PyObject *_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject * _resultobj;
8360 int _result;
8361 wxFileTypeInfo * _arg0;
8362 PyObject * _argo0 = 0;
8363 char *_kwnames[] = { "self", NULL };
8364
8365 self = self;
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames,&_argo0))
8367 return NULL;
8368 if (_argo0) {
8369 if (_argo0 == Py_None) { _arg0 = NULL; }
8370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8372 return NULL;
8373 }
8374 }
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 _result = (int )wxFileTypeInfo_GetExtensionsCount(_arg0);
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) return NULL;
8381 } _resultobj = Py_BuildValue("i",_result);
8382 return _resultobj;
8383 }
8384
8385 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8386 static PyObject *_wrap_wxFileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8387 PyObject * _resultobj;
8388 wxString * _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_GetIconFile",_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_GetIconFile. Expected _wxFileTypeInfo_p.");
8400 return NULL;
8401 }
8402 }
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 const wxString & _result_ref = wxFileTypeInfo_GetIconFile(_arg0);
8406 _result = (wxString *) &_result_ref;
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) return NULL;
8410 }{
8411 #if wxUSE_UNICODE
8412 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
8413 #else
8414 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8415 #endif
8416 }
8417 return _resultobj;
8418 }
8419
8420 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8421 static PyObject *_wrap_wxFileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject * _resultobj;
8423 int _result;
8424 wxFileTypeInfo * _arg0;
8425 PyObject * _argo0 = 0;
8426 char *_kwnames[] = { "self", NULL };
8427
8428 self = self;
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileTypeInfo_GetIconIndex",_kwnames,&_argo0))
8430 return NULL;
8431 if (_argo0) {
8432 if (_argo0 == Py_None) { _arg0 = NULL; }
8433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8435 return NULL;
8436 }
8437 }
8438 {
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 _result = (int )wxFileTypeInfo_GetIconIndex(_arg0);
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) return NULL;
8444 } _resultobj = Py_BuildValue("i",_result);
8445 return _resultobj;
8446 }
8447
8448 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8449 static PyObject *_wrap_new_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
8450 PyObject * _resultobj;
8451 wxFileType * _result;
8452 wxFileTypeInfo * _arg0;
8453 PyObject * _argo0 = 0;
8454 char *_kwnames[] = { "ftInfo", NULL };
8455 char _ptemp[128];
8456
8457 self = self;
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFileType",_kwnames,&_argo0))
8459 return NULL;
8460 if (_argo0) {
8461 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileTypeInfo_p")) {
8462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8463 return NULL;
8464 }
8465 }
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 _result = (wxFileType *)new_wxFileType(*_arg0);
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) return NULL;
8472 } if (_result) {
8473 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
8474 _resultobj = Py_BuildValue("s",_ptemp);
8475 } else {
8476 Py_INCREF(Py_None);
8477 _resultobj = Py_None;
8478 }
8479 return _resultobj;
8480 }
8481
8482 static PyObject * wxFileType_GetMimeType(wxFileType *self) {
8483 wxString str;
8484 if (self->GetMimeType(&str)) {
8485 #if wxUSE_UNICODE
8486 return PyUnicode_FromWideChar(str.c_str(), str.Len());
8487 #else
8488 return PyString_FromStringAndSize(str.c_str(), str.Len());
8489 #endif
8490 }
8491 else
8492 RETURN_NONE();
8493 }
8494 static PyObject *_wrap_wxFileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8495 PyObject * _resultobj;
8496 PyObject * _result;
8497 wxFileType * _arg0;
8498 PyObject * _argo0 = 0;
8499 char *_kwnames[] = { "self", NULL };
8500
8501 self = self;
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeType",_kwnames,&_argo0))
8503 return NULL;
8504 if (_argo0) {
8505 if (_argo0 == Py_None) { _arg0 = NULL; }
8506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8508 return NULL;
8509 }
8510 }
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 _result = (PyObject *)wxFileType_GetMimeType(_arg0);
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) return NULL;
8517 }{
8518 _resultobj = _result;
8519 }
8520 return _resultobj;
8521 }
8522
8523 static PyObject * wxFileType_GetMimeTypes(wxFileType *self) {
8524 wxArrayString arr;
8525 if (self->GetMimeTypes(arr))
8526 return wxArrayString2PyList_helper(arr);
8527 else
8528 RETURN_NONE();
8529 }
8530 static PyObject *_wrap_wxFileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject * _resultobj;
8532 PyObject * _result;
8533 wxFileType * _arg0;
8534 PyObject * _argo0 = 0;
8535 char *_kwnames[] = { "self", NULL };
8536
8537 self = self;
8538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetMimeTypes",_kwnames,&_argo0))
8539 return NULL;
8540 if (_argo0) {
8541 if (_argo0 == Py_None) { _arg0 = NULL; }
8542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8544 return NULL;
8545 }
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 _result = (PyObject *)wxFileType_GetMimeTypes(_arg0);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) return NULL;
8553 }{
8554 _resultobj = _result;
8555 }
8556 return _resultobj;
8557 }
8558
8559 static PyObject * wxFileType_GetExtensions(wxFileType *self) {
8560 wxArrayString arr;
8561 if (self->GetExtensions(arr))
8562 return wxArrayString2PyList_helper(arr);
8563 else
8564 RETURN_NONE();
8565 }
8566 static PyObject *_wrap_wxFileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
8567 PyObject * _resultobj;
8568 PyObject * _result;
8569 wxFileType * _arg0;
8570 PyObject * _argo0 = 0;
8571 char *_kwnames[] = { "self", NULL };
8572
8573 self = self;
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetExtensions",_kwnames,&_argo0))
8575 return NULL;
8576 if (_argo0) {
8577 if (_argo0 == Py_None) { _arg0 = NULL; }
8578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8580 return NULL;
8581 }
8582 }
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 _result = (PyObject *)wxFileType_GetExtensions(_arg0);
8586
8587 wxPyEndAllowThreads(__tstate);
8588 if (PyErr_Occurred()) return NULL;
8589 }{
8590 _resultobj = _result;
8591 }
8592 return _resultobj;
8593 }
8594
8595 static wxIcon * wxFileType_GetIcon(wxFileType *self) {
8596 wxIcon icon;
8597 if (self->GetIcon(&icon))
8598 return new wxIcon(icon);
8599 else
8600 return NULL;
8601 }
8602 static PyObject *_wrap_wxFileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject * _resultobj;
8604 wxIcon * _result;
8605 wxFileType * _arg0;
8606 PyObject * _argo0 = 0;
8607 char *_kwnames[] = { "self", NULL };
8608 char _ptemp[128];
8609
8610 self = self;
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIcon",_kwnames,&_argo0))
8612 return NULL;
8613 if (_argo0) {
8614 if (_argo0 == Py_None) { _arg0 = NULL; }
8615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8617 return NULL;
8618 }
8619 }
8620 {
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 _result = (wxIcon *)wxFileType_GetIcon(_arg0);
8623
8624 wxPyEndAllowThreads(__tstate);
8625 if (PyErr_Occurred()) return NULL;
8626 } if (_result) {
8627 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
8628 _resultobj = Py_BuildValue("s",_ptemp);
8629 } else {
8630 Py_INCREF(Py_None);
8631 _resultobj = Py_None;
8632 }
8633 return _resultobj;
8634 }
8635
8636 static PyObject * wxFileType_GetIconInfo(wxFileType *self) {
8637 wxIcon icon;
8638 wxString iconFile;
8639 int iconIndex;
8640 if (self->GetIcon(&icon, &iconFile, &iconIndex)) {
8641 wxPyBeginBlockThreads();
8642 PyObject* tuple = PyTuple_New(3);
8643 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(icon),
8644 wxT("wxIcon"), TRUE));
8645 #if wxUSE_UNICODE
8646 PyTuple_SetItem(tuple, 1, PyUnicode_FromWideChar(iconFile.c_str(), iconFile.Len()));
8647 #else
8648 PyTuple_SetItem(tuple, 1, PyString_FromStringAndSize(iconFile.c_str(), iconFile.Len()));
8649 #endif
8650 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
8651 wxPyEndBlockThreads();
8652 return tuple;
8653 }
8654 else
8655 RETURN_NONE();
8656 }
8657 static PyObject *_wrap_wxFileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject * _resultobj;
8659 PyObject * _result;
8660 wxFileType * _arg0;
8661 PyObject * _argo0 = 0;
8662 char *_kwnames[] = { "self", NULL };
8663
8664 self = self;
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetIconInfo",_kwnames,&_argo0))
8666 return NULL;
8667 if (_argo0) {
8668 if (_argo0 == Py_None) { _arg0 = NULL; }
8669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8671 return NULL;
8672 }
8673 }
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 _result = (PyObject *)wxFileType_GetIconInfo(_arg0);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) return NULL;
8680 }{
8681 _resultobj = _result;
8682 }
8683 return _resultobj;
8684 }
8685
8686 static PyObject * wxFileType_GetDescription(wxFileType *self) {
8687 wxString str;
8688 if (self->GetDescription(&str)) {
8689 #if wxUSE_UNICODE
8690 return PyUnicode_FromWideChar(str.c_str(), str.Len());
8691 #else
8692 return PyString_FromStringAndSize(str.c_str(), str.Len());
8693 #endif
8694 } else
8695 RETURN_NONE();
8696 }
8697 static PyObject *_wrap_wxFileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
8698 PyObject * _resultobj;
8699 PyObject * _result;
8700 wxFileType * _arg0;
8701 PyObject * _argo0 = 0;
8702 char *_kwnames[] = { "self", NULL };
8703
8704 self = self;
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_GetDescription",_kwnames,&_argo0))
8706 return NULL;
8707 if (_argo0) {
8708 if (_argo0 == Py_None) { _arg0 = NULL; }
8709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8711 return NULL;
8712 }
8713 }
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 _result = (PyObject *)wxFileType_GetDescription(_arg0);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) return NULL;
8720 }{
8721 _resultobj = _result;
8722 }
8723 return _resultobj;
8724 }
8725
8726 static PyObject * wxFileType_GetOpenCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8727 wxString str;
8728 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype))) {
8729 #if wxUSE_UNICODE
8730 return PyUnicode_FromWideChar(str.c_str(), str.Len());
8731 #else
8732 return PyString_FromStringAndSize(str.c_str(), str.Len());
8733 #endif
8734 } else
8735 RETURN_NONE();
8736 }
8737 static PyObject *_wrap_wxFileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject * _resultobj;
8739 PyObject * _result;
8740 wxFileType * _arg0;
8741 wxString * _arg1;
8742 wxString * _arg2 = (wxString *) &wxPyEmptyString;
8743 PyObject * _argo0 = 0;
8744 PyObject * _obj1 = 0;
8745 PyObject * _obj2 = 0;
8746 char *_kwnames[] = { "self","filename","mimetype", NULL };
8747
8748 self = self;
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetOpenCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8750 return NULL;
8751 if (_argo0) {
8752 if (_argo0 == Py_None) { _arg0 = NULL; }
8753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8755 return NULL;
8756 }
8757 }
8758 {
8759 _arg1 = wxString_in_helper(_obj1);
8760 if (_arg1 == NULL)
8761 return NULL;
8762 }
8763 if (_obj2)
8764 {
8765 _arg2 = wxString_in_helper(_obj2);
8766 if (_arg2 == NULL)
8767 return NULL;
8768 }
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 _result = (PyObject *)wxFileType_GetOpenCommand(_arg0,*_arg1,*_arg2);
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) return NULL;
8775 }{
8776 _resultobj = _result;
8777 }
8778 {
8779 if (_obj1)
8780 delete _arg1;
8781 }
8782 {
8783 if (_obj2)
8784 delete _arg2;
8785 }
8786 return _resultobj;
8787 }
8788
8789 static PyObject * wxFileType_GetPrintCommand(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8790 wxString str;
8791 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype))) {
8792 #if wxUSE_UNICODE
8793 return PyUnicode_FromWideChar(str.c_str(), str.Len());
8794 #else
8795 return PyString_FromStringAndSize(str.c_str(), str.Len());
8796 #endif
8797 } else
8798 RETURN_NONE();
8799 }
8800 static PyObject *_wrap_wxFileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8801 PyObject * _resultobj;
8802 PyObject * _result;
8803 wxFileType * _arg0;
8804 wxString * _arg1;
8805 wxString * _arg2 = (wxString *) &wxPyEmptyString;
8806 PyObject * _argo0 = 0;
8807 PyObject * _obj1 = 0;
8808 PyObject * _obj2 = 0;
8809 char *_kwnames[] = { "self","filename","mimetype", NULL };
8810
8811 self = self;
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetPrintCommand",_kwnames,&_argo0,&_obj1,&_obj2))
8813 return NULL;
8814 if (_argo0) {
8815 if (_argo0 == Py_None) { _arg0 = NULL; }
8816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8818 return NULL;
8819 }
8820 }
8821 {
8822 _arg1 = wxString_in_helper(_obj1);
8823 if (_arg1 == NULL)
8824 return NULL;
8825 }
8826 if (_obj2)
8827 {
8828 _arg2 = wxString_in_helper(_obj2);
8829 if (_arg2 == NULL)
8830 return NULL;
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 _result = (PyObject *)wxFileType_GetPrintCommand(_arg0,*_arg1,*_arg2);
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) return NULL;
8838 }{
8839 _resultobj = _result;
8840 }
8841 {
8842 if (_obj1)
8843 delete _arg1;
8844 }
8845 {
8846 if (_obj2)
8847 delete _arg2;
8848 }
8849 return _resultobj;
8850 }
8851
8852 static PyObject * wxFileType_GetAllCommands(wxFileType *self,const wxString & filename,const wxString & mimetype) {
8853 wxArrayString verbs;
8854 wxArrayString commands;
8855 if (self->GetAllCommands(&verbs, &commands,
8856 wxFileType::MessageParameters(filename, mimetype))) {
8857 wxPyBeginBlockThreads();
8858 PyObject* tuple = PyTuple_New(2);
8859 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
8860 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
8861 wxPyEndBlockThreads();
8862 return tuple;
8863 }
8864 else
8865 RETURN_NONE();
8866 }
8867 static PyObject *_wrap_wxFileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
8868 PyObject * _resultobj;
8869 PyObject * _result;
8870 wxFileType * _arg0;
8871 wxString * _arg1;
8872 wxString * _arg2 = (wxString *) &wxPyEmptyString;
8873 PyObject * _argo0 = 0;
8874 PyObject * _obj1 = 0;
8875 PyObject * _obj2 = 0;
8876 char *_kwnames[] = { "self","filename","mimetype", NULL };
8877
8878 self = self;
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxFileType_GetAllCommands",_kwnames,&_argo0,&_obj1,&_obj2))
8880 return NULL;
8881 if (_argo0) {
8882 if (_argo0 == Py_None) { _arg0 = NULL; }
8883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8885 return NULL;
8886 }
8887 }
8888 {
8889 _arg1 = wxString_in_helper(_obj1);
8890 if (_arg1 == NULL)
8891 return NULL;
8892 }
8893 if (_obj2)
8894 {
8895 _arg2 = wxString_in_helper(_obj2);
8896 if (_arg2 == NULL)
8897 return NULL;
8898 }
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 _result = (PyObject *)wxFileType_GetAllCommands(_arg0,*_arg1,*_arg2);
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) return NULL;
8905 }{
8906 _resultobj = _result;
8907 }
8908 {
8909 if (_obj1)
8910 delete _arg1;
8911 }
8912 {
8913 if (_obj2)
8914 delete _arg2;
8915 }
8916 return _resultobj;
8917 }
8918
8919 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8920 static PyObject *_wrap_wxFileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject * _resultobj;
8922 bool _result;
8923 wxFileType * _arg0;
8924 wxString * _arg1;
8925 wxString * _arg2;
8926 bool _arg3 = (bool ) TRUE;
8927 PyObject * _argo0 = 0;
8928 PyObject * _obj1 = 0;
8929 PyObject * _obj2 = 0;
8930 int tempbool3 = (int) TRUE;
8931 char *_kwnames[] = { "self","cmd","verb","overwriteprompt", NULL };
8932
8933 self = self;
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxFileType_SetCommand",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
8935 return NULL;
8936 if (_argo0) {
8937 if (_argo0 == Py_None) { _arg0 = NULL; }
8938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8940 return NULL;
8941 }
8942 }
8943 {
8944 _arg1 = wxString_in_helper(_obj1);
8945 if (_arg1 == NULL)
8946 return NULL;
8947 }
8948 {
8949 _arg2 = wxString_in_helper(_obj2);
8950 if (_arg2 == NULL)
8951 return NULL;
8952 }
8953 _arg3 = (bool ) tempbool3;
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 _result = (bool )wxFileType_SetCommand(_arg0,*_arg1,*_arg2,_arg3);
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) return NULL;
8960 } _resultobj = Py_BuildValue("i",_result);
8961 {
8962 if (_obj1)
8963 delete _arg1;
8964 }
8965 {
8966 if (_obj2)
8967 delete _arg2;
8968 }
8969 return _resultobj;
8970 }
8971
8972 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8973 static PyObject *_wrap_wxFileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject * _resultobj;
8975 bool _result;
8976 wxFileType * _arg0;
8977 wxString * _arg1 = (wxString *) &wxPyEmptyString;
8978 int _arg2 = (int ) 0;
8979 PyObject * _argo0 = 0;
8980 PyObject * _obj1 = 0;
8981 char *_kwnames[] = { "self","cmd","index", NULL };
8982
8983 self = self;
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|Oi:wxFileType_SetDefaultIcon",_kwnames,&_argo0,&_obj1,&_arg2))
8985 return NULL;
8986 if (_argo0) {
8987 if (_argo0 == Py_None) { _arg0 = NULL; }
8988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
8989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8990 return NULL;
8991 }
8992 }
8993 if (_obj1)
8994 {
8995 _arg1 = wxString_in_helper(_obj1);
8996 if (_arg1 == NULL)
8997 return NULL;
8998 }
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 _result = (bool )wxFileType_SetDefaultIcon(_arg0,*_arg1,_arg2);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) return NULL;
9005 } _resultobj = Py_BuildValue("i",_result);
9006 {
9007 if (_obj1)
9008 delete _arg1;
9009 }
9010 return _resultobj;
9011 }
9012
9013 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9014 static PyObject *_wrap_wxFileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
9015 PyObject * _resultobj;
9016 bool _result;
9017 wxFileType * _arg0;
9018 PyObject * _argo0 = 0;
9019 char *_kwnames[] = { "self", NULL };
9020
9021 self = self;
9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileType_Unassociate",_kwnames,&_argo0))
9023 return NULL;
9024 if (_argo0) {
9025 if (_argo0 == Py_None) { _arg0 = NULL; }
9026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
9027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9028 return NULL;
9029 }
9030 }
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 _result = (bool )wxFileType_Unassociate(_arg0);
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) return NULL;
9037 } _resultobj = Py_BuildValue("i",_result);
9038 return _resultobj;
9039 }
9040
9041 static PyObject *_wrap_wxFileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
9042 PyObject * _resultobj;
9043 wxString * _result;
9044 wxString * _arg0;
9045 wxFileType::MessageParameters * _arg1;
9046 PyObject * _obj0 = 0;
9047 PyObject * _argo1 = 0;
9048 char *_kwnames[] = { "command","params", NULL };
9049
9050 self = self;
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileType_ExpandCommand",_kwnames,&_obj0,&_argo1))
9052 return NULL;
9053 {
9054 _arg0 = wxString_in_helper(_obj0);
9055 if (_arg0 == NULL)
9056 return NULL;
9057 }
9058 if (_argo1) {
9059 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType::MessageParameters_p")) {
9060 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9061 return NULL;
9062 }
9063 }
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 _result = new wxString (wxFileType::ExpandCommand(*_arg0,*_arg1));
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) return NULL;
9070 }{
9071 #if wxUSE_UNICODE
9072 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9073 #else
9074 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9075 #endif
9076 }
9077 {
9078 if (_obj0)
9079 delete _arg0;
9080 }
9081 {
9082 delete _result;
9083 }
9084 return _resultobj;
9085 }
9086
9087 #define delete_wxFileType(_swigobj) (delete _swigobj)
9088 static PyObject *_wrap_delete_wxFileType(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject * _resultobj;
9090 wxFileType * _arg0;
9091 PyObject * _argo0 = 0;
9092 char *_kwnames[] = { "self", NULL };
9093
9094 self = self;
9095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileType",_kwnames,&_argo0))
9096 return NULL;
9097 if (_argo0) {
9098 if (_argo0 == Py_None) { _arg0 = NULL; }
9099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileType_p")) {
9100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9101 return NULL;
9102 }
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 delete_wxFileType(_arg0);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) return NULL;
9110 } Py_INCREF(Py_None);
9111 _resultobj = Py_None;
9112 return _resultobj;
9113 }
9114
9115 static PyObject *_wrap_wxMimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
9116 PyObject * _resultobj;
9117 bool _result;
9118 wxString * _arg0;
9119 wxString * _arg1;
9120 PyObject * _obj0 = 0;
9121 PyObject * _obj1 = 0;
9122 char *_kwnames[] = { "mimeType","wildcard", NULL };
9123
9124 self = self;
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_IsOfType",_kwnames,&_obj0,&_obj1))
9126 return NULL;
9127 {
9128 _arg0 = wxString_in_helper(_obj0);
9129 if (_arg0 == NULL)
9130 return NULL;
9131 }
9132 {
9133 _arg1 = wxString_in_helper(_obj1);
9134 if (_arg1 == NULL)
9135 return NULL;
9136 }
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 _result = (bool )wxMimeTypesManager::IsOfType(*_arg0,*_arg1);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) return NULL;
9143 } _resultobj = Py_BuildValue("i",_result);
9144 {
9145 if (_obj0)
9146 delete _arg0;
9147 }
9148 {
9149 if (_obj1)
9150 delete _arg1;
9151 }
9152 return _resultobj;
9153 }
9154
9155 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9156 static PyObject *_wrap_new_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
9157 PyObject * _resultobj;
9158 wxMimeTypesManager * _result;
9159 char *_kwnames[] = { NULL };
9160 char _ptemp[128];
9161
9162 self = self;
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMimeTypesManager",_kwnames))
9164 return NULL;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 _result = (wxMimeTypesManager *)new_wxMimeTypesManager();
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) return NULL;
9171 } if (_result) {
9172 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMimeTypesManager_p");
9173 _resultobj = Py_BuildValue("s",_ptemp);
9174 } else {
9175 Py_INCREF(Py_None);
9176 _resultobj = Py_None;
9177 }
9178 return _resultobj;
9179 }
9180
9181 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9182 static PyObject *_wrap_wxMimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
9183 PyObject * _resultobj;
9184 wxMimeTypesManager * _arg0;
9185 int _arg1 = (int ) (wxMAILCAP_ALL);
9186 wxString * _arg2 = (wxString *) &wxPyEmptyString;
9187 PyObject * _argo0 = 0;
9188 PyObject * _obj2 = 0;
9189 char *_kwnames[] = { "self","mailcapStyle","extraDir", NULL };
9190
9191 self = self;
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxMimeTypesManager_Initialize",_kwnames,&_argo0,&_arg1,&_obj2))
9193 return NULL;
9194 if (_argo0) {
9195 if (_argo0 == Py_None) { _arg0 = NULL; }
9196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9198 return NULL;
9199 }
9200 }
9201 if (_obj2)
9202 {
9203 _arg2 = wxString_in_helper(_obj2);
9204 if (_arg2 == NULL)
9205 return NULL;
9206 }
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 wxMimeTypesManager_Initialize(_arg0,_arg1,*_arg2);
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) return NULL;
9213 } Py_INCREF(Py_None);
9214 _resultobj = Py_None;
9215 {
9216 if (_obj2)
9217 delete _arg2;
9218 }
9219 return _resultobj;
9220 }
9221
9222 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9223 static PyObject *_wrap_wxMimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject * _resultobj;
9225 wxMimeTypesManager * _arg0;
9226 PyObject * _argo0 = 0;
9227 char *_kwnames[] = { "self", NULL };
9228
9229 self = self;
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_ClearData",_kwnames,&_argo0))
9231 return NULL;
9232 if (_argo0) {
9233 if (_argo0 == Py_None) { _arg0 = NULL; }
9234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9236 return NULL;
9237 }
9238 }
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 wxMimeTypesManager_ClearData(_arg0);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) return NULL;
9245 } Py_INCREF(Py_None);
9246 _resultobj = Py_None;
9247 return _resultobj;
9248 }
9249
9250 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9251 static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject * _resultobj;
9253 wxFileType * _result;
9254 wxMimeTypesManager * _arg0;
9255 wxString * _arg1;
9256 PyObject * _argo0 = 0;
9257 PyObject * _obj1 = 0;
9258 char *_kwnames[] = { "self","ext", NULL };
9259 char _ptemp[128];
9260
9261 self = self;
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames,&_argo0,&_obj1))
9263 return NULL;
9264 if (_argo0) {
9265 if (_argo0 == Py_None) { _arg0 = NULL; }
9266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9268 return NULL;
9269 }
9270 }
9271 {
9272 _arg1 = wxString_in_helper(_obj1);
9273 if (_arg1 == NULL)
9274 return NULL;
9275 }
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromExtension(_arg0,*_arg1);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) return NULL;
9282 } if (_result) {
9283 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9284 _resultobj = Py_BuildValue("s",_ptemp);
9285 } else {
9286 Py_INCREF(Py_None);
9287 _resultobj = Py_None;
9288 }
9289 {
9290 if (_obj1)
9291 delete _arg1;
9292 }
9293 return _resultobj;
9294 }
9295
9296 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9297 static PyObject *_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject * _resultobj;
9299 wxFileType * _result;
9300 wxMimeTypesManager * _arg0;
9301 wxString * _arg1;
9302 PyObject * _argo0 = 0;
9303 PyObject * _obj1 = 0;
9304 char *_kwnames[] = { "self","mimeType", NULL };
9305 char _ptemp[128];
9306
9307 self = self;
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames,&_argo0,&_obj1))
9309 return NULL;
9310 if (_argo0) {
9311 if (_argo0 == Py_None) { _arg0 = NULL; }
9312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9314 return NULL;
9315 }
9316 }
9317 {
9318 _arg1 = wxString_in_helper(_obj1);
9319 if (_arg1 == NULL)
9320 return NULL;
9321 }
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 _result = (wxFileType *)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0,*_arg1);
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) return NULL;
9328 } if (_result) {
9329 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9330 _resultobj = Py_BuildValue("s",_ptemp);
9331 } else {
9332 Py_INCREF(Py_None);
9333 _resultobj = Py_None;
9334 }
9335 {
9336 if (_obj1)
9337 delete _arg1;
9338 }
9339 return _resultobj;
9340 }
9341
9342 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9343 static PyObject *_wrap_wxMimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject * _resultobj;
9345 bool _result;
9346 wxMimeTypesManager * _arg0;
9347 wxString * _arg1;
9348 bool _arg2 = (bool ) FALSE;
9349 PyObject * _argo0 = 0;
9350 PyObject * _obj1 = 0;
9351 int tempbool2 = (int) FALSE;
9352 char *_kwnames[] = { "self","filename","fallback", NULL };
9353
9354 self = self;
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames,&_argo0,&_obj1,&tempbool2))
9356 return NULL;
9357 if (_argo0) {
9358 if (_argo0 == Py_None) { _arg0 = NULL; }
9359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9361 return NULL;
9362 }
9363 }
9364 {
9365 _arg1 = wxString_in_helper(_obj1);
9366 if (_arg1 == NULL)
9367 return NULL;
9368 }
9369 _arg2 = (bool ) tempbool2;
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 _result = (bool )wxMimeTypesManager_ReadMailcap(_arg0,*_arg1,_arg2);
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) return NULL;
9376 } _resultobj = Py_BuildValue("i",_result);
9377 {
9378 if (_obj1)
9379 delete _arg1;
9380 }
9381 return _resultobj;
9382 }
9383
9384 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9385 static PyObject *_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9386 PyObject * _resultobj;
9387 bool _result;
9388 wxMimeTypesManager * _arg0;
9389 wxString * _arg1;
9390 PyObject * _argo0 = 0;
9391 PyObject * _obj1 = 0;
9392 char *_kwnames[] = { "self","filename", NULL };
9393
9394 self = self;
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames,&_argo0,&_obj1))
9396 return NULL;
9397 if (_argo0) {
9398 if (_argo0 == Py_None) { _arg0 = NULL; }
9399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9401 return NULL;
9402 }
9403 }
9404 {
9405 _arg1 = wxString_in_helper(_obj1);
9406 if (_arg1 == NULL)
9407 return NULL;
9408 }
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 _result = (bool )wxMimeTypesManager_ReadMimeTypes(_arg0,*_arg1);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) return NULL;
9415 } _resultobj = Py_BuildValue("i",_result);
9416 {
9417 if (_obj1)
9418 delete _arg1;
9419 }
9420 return _resultobj;
9421 }
9422
9423 static PyObject * wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self) {
9424 wxArrayString arr;
9425 self->EnumAllFileTypes(arr);
9426 return wxArrayString2PyList_helper(arr);
9427 }
9428 static PyObject *_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
9429 PyObject * _resultobj;
9430 PyObject * _result;
9431 wxMimeTypesManager * _arg0;
9432 PyObject * _argo0 = 0;
9433 char *_kwnames[] = { "self", NULL };
9434
9435 self = self;
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames,&_argo0))
9437 return NULL;
9438 if (_argo0) {
9439 if (_argo0 == Py_None) { _arg0 = NULL; }
9440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9442 return NULL;
9443 }
9444 }
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 _result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(_arg0);
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) return NULL;
9451 }{
9452 _resultobj = _result;
9453 }
9454 return _resultobj;
9455 }
9456
9457 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9458 static PyObject *_wrap_wxMimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
9459 PyObject * _resultobj;
9460 wxMimeTypesManager * _arg0;
9461 wxFileTypeInfo * _arg1;
9462 PyObject * _argo0 = 0;
9463 PyObject * _argo1 = 0;
9464 char *_kwnames[] = { "self","ft", NULL };
9465
9466 self = self;
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_AddFallback",_kwnames,&_argo0,&_argo1))
9468 return NULL;
9469 if (_argo0) {
9470 if (_argo0 == Py_None) { _arg0 = NULL; }
9471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9473 return NULL;
9474 }
9475 }
9476 if (_argo1) {
9477 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9478 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9479 return NULL;
9480 }
9481 }
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 wxMimeTypesManager_AddFallback(_arg0,*_arg1);
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) return NULL;
9488 } Py_INCREF(Py_None);
9489 _resultobj = Py_None;
9490 return _resultobj;
9491 }
9492
9493 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9494 static PyObject *_wrap_wxMimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject * _resultobj;
9496 wxFileType * _result;
9497 wxMimeTypesManager * _arg0;
9498 wxFileTypeInfo * _arg1;
9499 PyObject * _argo0 = 0;
9500 PyObject * _argo1 = 0;
9501 char *_kwnames[] = { "self","ftInfo", NULL };
9502 char _ptemp[128];
9503
9504 self = self;
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Associate",_kwnames,&_argo0,&_argo1))
9506 return NULL;
9507 if (_argo0) {
9508 if (_argo0 == Py_None) { _arg0 = NULL; }
9509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9511 return NULL;
9512 }
9513 }
9514 if (_argo1) {
9515 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileTypeInfo_p")) {
9516 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9517 return NULL;
9518 }
9519 }
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 _result = (wxFileType *)wxMimeTypesManager_Associate(_arg0,*_arg1);
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) return NULL;
9526 } if (_result) {
9527 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileType_p");
9528 _resultobj = Py_BuildValue("s",_ptemp);
9529 } else {
9530 Py_INCREF(Py_None);
9531 _resultobj = Py_None;
9532 }
9533 return _resultobj;
9534 }
9535
9536 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9537 static PyObject *_wrap_wxMimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
9538 PyObject * _resultobj;
9539 bool _result;
9540 wxMimeTypesManager * _arg0;
9541 wxFileType * _arg1;
9542 PyObject * _argo0 = 0;
9543 PyObject * _argo1 = 0;
9544 char *_kwnames[] = { "self","ft", NULL };
9545
9546 self = self;
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMimeTypesManager_Unassociate",_kwnames,&_argo0,&_argo1))
9548 return NULL;
9549 if (_argo0) {
9550 if (_argo0 == Py_None) { _arg0 = NULL; }
9551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9553 return NULL;
9554 }
9555 }
9556 if (_argo1) {
9557 if (_argo1 == Py_None) { _arg1 = NULL; }
9558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileType_p")) {
9559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9560 return NULL;
9561 }
9562 }
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 _result = (bool )wxMimeTypesManager_Unassociate(_arg0,_arg1);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) return NULL;
9569 } _resultobj = Py_BuildValue("i",_result);
9570 return _resultobj;
9571 }
9572
9573 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9574 static PyObject *_wrap_delete_wxMimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
9575 PyObject * _resultobj;
9576 wxMimeTypesManager * _arg0;
9577 PyObject * _argo0 = 0;
9578 char *_kwnames[] = { "self", NULL };
9579
9580 self = self;
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMimeTypesManager",_kwnames,&_argo0))
9582 return NULL;
9583 if (_argo0) {
9584 if (_argo0 == Py_None) { _arg0 = NULL; }
9585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMimeTypesManager_p")) {
9586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9587 return NULL;
9588 }
9589 }
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 delete_wxMimeTypesManager(_arg0);
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) return NULL;
9596 } Py_INCREF(Py_None);
9597 _resultobj = Py_None;
9598 return _resultobj;
9599 }
9600
9601 static void *SwigwxPyArtProviderTowxObject(void *ptr) {
9602 wxPyArtProvider *src;
9603 wxObject *dest;
9604 src = (wxPyArtProvider *) ptr;
9605 dest = (wxObject *) src;
9606 return (void *) dest;
9607 }
9608
9609 #define new_wxArtProvider() (new wxPyArtProvider())
9610 static PyObject *_wrap_new_wxArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject * _resultobj;
9612 wxPyArtProvider * _result;
9613 char *_kwnames[] = { NULL };
9614 char _ptemp[128];
9615
9616 self = self;
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxArtProvider",_kwnames))
9618 return NULL;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 _result = (wxPyArtProvider *)new_wxArtProvider();
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) return NULL;
9625 } if (_result) {
9626 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyArtProvider_p");
9627 _resultobj = Py_BuildValue("s",_ptemp);
9628 } else {
9629 Py_INCREF(Py_None);
9630 _resultobj = Py_None;
9631 }
9632 return _resultobj;
9633 }
9634
9635 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9636 static PyObject *_wrap_wxArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject * _resultobj;
9638 wxPyArtProvider * _arg0;
9639 PyObject * _arg1;
9640 PyObject * _arg2;
9641 PyObject * _argo0 = 0;
9642 PyObject * _obj1 = 0;
9643 PyObject * _obj2 = 0;
9644 char *_kwnames[] = { "self","self","_class", NULL };
9645
9646 self = self;
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxArtProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9648 return NULL;
9649 if (_argo0) {
9650 if (_argo0 == Py_None) { _arg0 = NULL; }
9651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyArtProvider_p")) {
9652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9653 return NULL;
9654 }
9655 }
9656 {
9657 _arg1 = _obj1;
9658 }
9659 {
9660 _arg2 = _obj2;
9661 }
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 wxArtProvider__setCallbackInfo(_arg0,_arg1,_arg2);
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) return NULL;
9668 } Py_INCREF(Py_None);
9669 _resultobj = Py_None;
9670 return _resultobj;
9671 }
9672
9673 static PyObject *_wrap_wxArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
9674 PyObject * _resultobj;
9675 wxPyArtProvider * _arg0;
9676 PyObject * _argo0 = 0;
9677 char *_kwnames[] = { "provider", NULL };
9678
9679 self = self;
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArtProvider_PushProvider",_kwnames,&_argo0))
9681 return NULL;
9682 if (_argo0) {
9683 if (_argo0 == Py_None) { _arg0 = NULL; }
9684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyArtProvider_p")) {
9685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9686 return NULL;
9687 }
9688 }
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 wxPyArtProvider::PushProvider(_arg0);
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) return NULL;
9695 } Py_INCREF(Py_None);
9696 _resultobj = Py_None;
9697 return _resultobj;
9698 }
9699
9700 static PyObject *_wrap_wxArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
9701 PyObject * _resultobj;
9702 bool _result;
9703 char *_kwnames[] = { NULL };
9704
9705 self = self;
9706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxArtProvider_PopProvider",_kwnames))
9707 return NULL;
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 _result = (bool )wxPyArtProvider::PopProvider();
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) return NULL;
9714 } _resultobj = Py_BuildValue("i",_result);
9715 return _resultobj;
9716 }
9717
9718 static PyObject *_wrap_wxArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
9719 PyObject * _resultobj;
9720 bool _result;
9721 wxPyArtProvider * _arg0;
9722 PyObject * _argo0 = 0;
9723 char *_kwnames[] = { "provider", NULL };
9724
9725 self = self;
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArtProvider_RemoveProvider",_kwnames,&_argo0))
9727 return NULL;
9728 if (_argo0) {
9729 if (_argo0 == Py_None) { _arg0 = NULL; }
9730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyArtProvider_p")) {
9731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9732 return NULL;
9733 }
9734 }
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 _result = (bool )wxPyArtProvider::RemoveProvider(_arg0);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) return NULL;
9741 } _resultobj = Py_BuildValue("i",_result);
9742 return _resultobj;
9743 }
9744
9745 static PyObject *_wrap_wxArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject * _resultobj;
9747 wxBitmap * _result;
9748 wxString * _arg0;
9749 wxString * _arg1 = (wxString *) &wxPyART_OTHER;
9750 wxSize * _arg2 = (wxSize *) &wxDefaultSize;
9751 PyObject * _obj0 = 0;
9752 PyObject * _obj1 = 0;
9753 wxSize temp;
9754 PyObject * _obj2 = 0;
9755 char *_kwnames[] = { "id","client","size", NULL };
9756 char _ptemp[128];
9757
9758 self = self;
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OO:wxArtProvider_GetBitmap",_kwnames,&_obj0,&_obj1,&_obj2))
9760 return NULL;
9761 {
9762 _arg0 = wxString_in_helper(_obj0);
9763 if (_arg0 == NULL)
9764 return NULL;
9765 }
9766 if (_obj1)
9767 {
9768 _arg1 = wxString_in_helper(_obj1);
9769 if (_arg1 == NULL)
9770 return NULL;
9771 }
9772 if (_obj2)
9773 {
9774 _arg2 = &temp;
9775 if (! wxSize_helper(_obj2, &_arg2))
9776 return NULL;
9777 }
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 _result = new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0,*_arg1,*_arg2));
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) return NULL;
9784 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
9785 _resultobj = Py_BuildValue("s",_ptemp);
9786 {
9787 if (_obj0)
9788 delete _arg0;
9789 }
9790 {
9791 if (_obj1)
9792 delete _arg1;
9793 }
9794 return _resultobj;
9795 }
9796
9797 static PyObject *_wrap_wxArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject * _resultobj;
9799 wxIcon * _result;
9800 wxString * _arg0;
9801 wxString * _arg1 = (wxString *) &wxPyART_OTHER;
9802 wxSize * _arg2 = (wxSize *) &wxDefaultSize;
9803 PyObject * _obj0 = 0;
9804 PyObject * _obj1 = 0;
9805 wxSize temp;
9806 PyObject * _obj2 = 0;
9807 char *_kwnames[] = { "id","client","size", NULL };
9808 char _ptemp[128];
9809
9810 self = self;
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OO:wxArtProvider_GetIcon",_kwnames,&_obj0,&_obj1,&_obj2))
9812 return NULL;
9813 {
9814 _arg0 = wxString_in_helper(_obj0);
9815 if (_arg0 == NULL)
9816 return NULL;
9817 }
9818 if (_obj1)
9819 {
9820 _arg1 = wxString_in_helper(_obj1);
9821 if (_arg1 == NULL)
9822 return NULL;
9823 }
9824 if (_obj2)
9825 {
9826 _arg2 = &temp;
9827 if (! wxSize_helper(_obj2, &_arg2))
9828 return NULL;
9829 }
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 _result = new wxIcon (wxPyArtProvider::GetIcon(*_arg0,*_arg1,*_arg2));
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) return NULL;
9836 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
9837 _resultobj = Py_BuildValue("s",_ptemp);
9838 {
9839 if (_obj0)
9840 delete _arg0;
9841 }
9842 {
9843 if (_obj1)
9844 delete _arg1;
9845 }
9846 return _resultobj;
9847 }
9848
9849 static void *SwigwxFileHistoryTowxObject(void *ptr) {
9850 wxFileHistory *src;
9851 wxObject *dest;
9852 src = (wxFileHistory *) ptr;
9853 dest = (wxObject *) src;
9854 return (void *) dest;
9855 }
9856
9857 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9858 static PyObject *_wrap_new_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9859 PyObject * _resultobj;
9860 wxFileHistory * _result;
9861 int _arg0 = (int ) 9;
9862 char *_kwnames[] = { "maxFiles", NULL };
9863 char _ptemp[128];
9864
9865 self = self;
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxFileHistory",_kwnames,&_arg0))
9867 return NULL;
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 _result = (wxFileHistory *)new_wxFileHistory(_arg0);
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) return NULL;
9874 } if (_result) {
9875 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileHistory_p");
9876 _resultobj = Py_BuildValue("s",_ptemp);
9877 } else {
9878 Py_INCREF(Py_None);
9879 _resultobj = Py_None;
9880 }
9881 return _resultobj;
9882 }
9883
9884 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9885 static PyObject *_wrap_delete_wxFileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject * _resultobj;
9887 wxFileHistory * _arg0;
9888 PyObject * _argo0 = 0;
9889 char *_kwnames[] = { "self", NULL };
9890
9891 self = self;
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFileHistory",_kwnames,&_argo0))
9893 return NULL;
9894 if (_argo0) {
9895 if (_argo0 == Py_None) { _arg0 = NULL; }
9896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9898 return NULL;
9899 }
9900 }
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 delete_wxFileHistory(_arg0);
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) return NULL;
9907 } Py_INCREF(Py_None);
9908 _resultobj = Py_None;
9909 return _resultobj;
9910 }
9911
9912 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9913 static PyObject *_wrap_wxFileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9914 PyObject * _resultobj;
9915 wxFileHistory * _arg0;
9916 wxString * _arg1;
9917 PyObject * _argo0 = 0;
9918 PyObject * _obj1 = 0;
9919 char *_kwnames[] = { "self","file", NULL };
9920
9921 self = self;
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFileToHistory",_kwnames,&_argo0,&_obj1))
9923 return NULL;
9924 if (_argo0) {
9925 if (_argo0 == Py_None) { _arg0 = NULL; }
9926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9928 return NULL;
9929 }
9930 }
9931 {
9932 _arg1 = wxString_in_helper(_obj1);
9933 if (_arg1 == NULL)
9934 return NULL;
9935 }
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 wxFileHistory_AddFileToHistory(_arg0,*_arg1);
9939
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) return NULL;
9942 } Py_INCREF(Py_None);
9943 _resultobj = Py_None;
9944 {
9945 if (_obj1)
9946 delete _arg1;
9947 }
9948 return _resultobj;
9949 }
9950
9951 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9952 static PyObject *_wrap_wxFileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject * _resultobj;
9954 wxFileHistory * _arg0;
9955 int _arg1;
9956 PyObject * _argo0 = 0;
9957 char *_kwnames[] = { "self","i", NULL };
9958
9959 self = self;
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames,&_argo0,&_arg1))
9961 return NULL;
9962 if (_argo0) {
9963 if (_argo0 == Py_None) { _arg0 = NULL; }
9964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9966 return NULL;
9967 }
9968 }
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 wxFileHistory_RemoveFileFromHistory(_arg0,_arg1);
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) return NULL;
9975 } Py_INCREF(Py_None);
9976 _resultobj = Py_None;
9977 return _resultobj;
9978 }
9979
9980 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9981 static PyObject *_wrap_wxFileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject * _resultobj;
9983 int _result;
9984 wxFileHistory * _arg0;
9985 PyObject * _argo0 = 0;
9986 char *_kwnames[] = { "self", NULL };
9987
9988 self = self;
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetMaxFiles",_kwnames,&_argo0))
9990 return NULL;
9991 if (_argo0) {
9992 if (_argo0 == Py_None) { _arg0 = NULL; }
9993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
9994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9995 return NULL;
9996 }
9997 }
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 _result = (int )wxFileHistory_GetMaxFiles(_arg0);
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) return NULL;
10004 } _resultobj = Py_BuildValue("i",_result);
10005 return _resultobj;
10006 }
10007
10008 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10009 static PyObject *_wrap_wxFileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10010 PyObject * _resultobj;
10011 wxFileHistory * _arg0;
10012 wxMenu * _arg1;
10013 PyObject * _argo0 = 0;
10014 PyObject * _argo1 = 0;
10015 char *_kwnames[] = { "self","menu", NULL };
10016
10017 self = self;
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_UseMenu",_kwnames,&_argo0,&_argo1))
10019 return NULL;
10020 if (_argo0) {
10021 if (_argo0 == Py_None) { _arg0 = NULL; }
10022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10024 return NULL;
10025 }
10026 }
10027 if (_argo1) {
10028 if (_argo1 == Py_None) { _arg1 = NULL; }
10029 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10030 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10031 return NULL;
10032 }
10033 }
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 wxFileHistory_UseMenu(_arg0,_arg1);
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) return NULL;
10040 } Py_INCREF(Py_None);
10041 _resultobj = Py_None;
10042 return _resultobj;
10043 }
10044
10045 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10046 static PyObject *_wrap_wxFileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10047 PyObject * _resultobj;
10048 wxFileHistory * _arg0;
10049 wxMenu * _arg1;
10050 PyObject * _argo0 = 0;
10051 PyObject * _argo1 = 0;
10052 char *_kwnames[] = { "self","menu", NULL };
10053
10054 self = self;
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_RemoveMenu",_kwnames,&_argo0,&_argo1))
10056 return NULL;
10057 if (_argo0) {
10058 if (_argo0 == Py_None) { _arg0 = NULL; }
10059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10061 return NULL;
10062 }
10063 }
10064 if (_argo1) {
10065 if (_argo1 == Py_None) { _arg1 = NULL; }
10066 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10067 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10068 return NULL;
10069 }
10070 }
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 wxFileHistory_RemoveMenu(_arg0,_arg1);
10074
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) return NULL;
10077 } Py_INCREF(Py_None);
10078 _resultobj = Py_None;
10079 return _resultobj;
10080 }
10081
10082 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10083 static PyObject *_wrap_wxFileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject * _resultobj;
10085 wxFileHistory * _arg0;
10086 wxConfigBase * _arg1;
10087 PyObject * _argo0 = 0;
10088 PyObject * _argo1 = 0;
10089 char *_kwnames[] = { "self","config", NULL };
10090
10091 self = self;
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Load",_kwnames,&_argo0,&_argo1))
10093 return NULL;
10094 if (_argo0) {
10095 if (_argo0 == Py_None) { _arg0 = NULL; }
10096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10098 return NULL;
10099 }
10100 }
10101 if (_argo1) {
10102 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
10103 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10104 return NULL;
10105 }
10106 }
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 wxFileHistory_Load(_arg0,*_arg1);
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) return NULL;
10113 } Py_INCREF(Py_None);
10114 _resultobj = Py_None;
10115 return _resultobj;
10116 }
10117
10118 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10119 static PyObject *_wrap_wxFileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
10120 PyObject * _resultobj;
10121 wxFileHistory * _arg0;
10122 wxConfigBase * _arg1;
10123 PyObject * _argo0 = 0;
10124 PyObject * _argo1 = 0;
10125 char *_kwnames[] = { "self","config", NULL };
10126
10127 self = self;
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_Save",_kwnames,&_argo0,&_argo1))
10129 return NULL;
10130 if (_argo0) {
10131 if (_argo0 == Py_None) { _arg0 = NULL; }
10132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10134 return NULL;
10135 }
10136 }
10137 if (_argo1) {
10138 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
10139 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10140 return NULL;
10141 }
10142 }
10143 {
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 wxFileHistory_Save(_arg0,*_arg1);
10146
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) return NULL;
10149 } Py_INCREF(Py_None);
10150 _resultobj = Py_None;
10151 return _resultobj;
10152 }
10153
10154 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10155 static PyObject *_wrap_wxFileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10156 PyObject * _resultobj;
10157 wxFileHistory * _arg0;
10158 PyObject * _argo0 = 0;
10159 char *_kwnames[] = { "self", NULL };
10160
10161 self = self;
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_AddFilesToMenu",_kwnames,&_argo0))
10163 return NULL;
10164 if (_argo0) {
10165 if (_argo0 == Py_None) { _arg0 = NULL; }
10166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10168 return NULL;
10169 }
10170 }
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 wxFileHistory_AddFilesToMenu(_arg0);
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_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10183 static PyObject *_wrap_wxFileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject * _resultobj;
10185 wxFileHistory * _arg0;
10186 wxMenu * _arg1;
10187 PyObject * _argo0 = 0;
10188 PyObject * _argo1 = 0;
10189 char *_kwnames[] = { "self","menu", NULL };
10190
10191 self = self;
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames,&_argo0,&_argo1))
10193 return NULL;
10194 if (_argo0) {
10195 if (_argo0 == Py_None) { _arg0 = NULL; }
10196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10198 return NULL;
10199 }
10200 }
10201 if (_argo1) {
10202 if (_argo1 == Py_None) { _arg1 = NULL; }
10203 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
10204 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10205 return NULL;
10206 }
10207 }
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 wxFileHistory_AddFilesToThisMenu(_arg0,_arg1);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) return NULL;
10214 } Py_INCREF(Py_None);
10215 _resultobj = Py_None;
10216 return _resultobj;
10217 }
10218
10219 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10220 static PyObject *_wrap_wxFileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject * _resultobj;
10222 wxString * _result;
10223 wxFileHistory * _arg0;
10224 int _arg1;
10225 PyObject * _argo0 = 0;
10226 char *_kwnames[] = { "self","i", NULL };
10227
10228 self = self;
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFileHistory_GetHistoryFile",_kwnames,&_argo0,&_arg1))
10230 return NULL;
10231 if (_argo0) {
10232 if (_argo0 == Py_None) { _arg0 = NULL; }
10233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10235 return NULL;
10236 }
10237 }
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 _result = new wxString (wxFileHistory_GetHistoryFile(_arg0,_arg1));
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) return NULL;
10244 }{
10245 #if wxUSE_UNICODE
10246 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10247 #else
10248 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10249 #endif
10250 }
10251 {
10252 delete _result;
10253 }
10254 return _resultobj;
10255 }
10256
10257 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10258 static PyObject *_wrap_wxFileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10259 PyObject * _resultobj;
10260 int _result;
10261 wxFileHistory * _arg0;
10262 PyObject * _argo0 = 0;
10263 char *_kwnames[] = { "self", NULL };
10264
10265 self = self;
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFileHistory_GetCount",_kwnames,&_argo0))
10267 return NULL;
10268 if (_argo0) {
10269 if (_argo0 == Py_None) { _arg0 = NULL; }
10270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFileHistory_p")) {
10271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10272 return NULL;
10273 }
10274 }
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 _result = (int )wxFileHistory_GetCount(_arg0);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) return NULL;
10281 } _resultobj = Py_BuildValue("i",_result);
10282 return _resultobj;
10283 }
10284
10285 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10286 static PyObject *_wrap_wxFileHistory_GetNoHistoryFiles(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_GetNoHistoryFiles",_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_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10300 return NULL;
10301 }
10302 }
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 _result = (int )wxFileHistory_GetNoHistoryFiles(_arg0);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) return NULL;
10309 } _resultobj = Py_BuildValue("i",_result);
10310 return _resultobj;
10311 }
10312
10313 static void *SwigwxEffectsTowxObject(void *ptr) {
10314 wxEffects *src;
10315 wxObject *dest;
10316 src = (wxEffects *) ptr;
10317 dest = (wxObject *) src;
10318 return (void *) dest;
10319 }
10320
10321 #define new_wxEffects() (new wxEffects())
10322 static PyObject *_wrap_new_wxEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject * _resultobj;
10324 wxEffects * _result;
10325 char *_kwnames[] = { NULL };
10326 char _ptemp[128];
10327
10328 self = self;
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxEffects",_kwnames))
10330 return NULL;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 _result = (wxEffects *)new_wxEffects();
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) return NULL;
10337 } if (_result) {
10338 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEffects_p");
10339 _resultobj = Py_BuildValue("s",_ptemp);
10340 } else {
10341 Py_INCREF(Py_None);
10342 _resultobj = Py_None;
10343 }
10344 return _resultobj;
10345 }
10346
10347 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10348 static PyObject *_wrap_wxEffects_GetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10349 PyObject * _resultobj;
10350 wxColour * _result;
10351 wxEffects * _arg0;
10352 PyObject * _argo0 = 0;
10353 char *_kwnames[] = { "self", NULL };
10354 char _ptemp[128];
10355
10356 self = self;
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEffects_GetHighlightColour",_kwnames,&_argo0))
10358 return NULL;
10359 if (_argo0) {
10360 if (_argo0 == Py_None) { _arg0 = NULL; }
10361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10363 return NULL;
10364 }
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 _result = new wxColour (wxEffects_GetHighlightColour(_arg0));
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) return NULL;
10372 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10373 _resultobj = Py_BuildValue("s",_ptemp);
10374 return _resultobj;
10375 }
10376
10377 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10378 static PyObject *_wrap_wxEffects_GetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
10379 PyObject * _resultobj;
10380 wxColour * _result;
10381 wxEffects * _arg0;
10382 PyObject * _argo0 = 0;
10383 char *_kwnames[] = { "self", NULL };
10384 char _ptemp[128];
10385
10386 self = self;
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEffects_GetLightShadow",_kwnames,&_argo0))
10388 return NULL;
10389 if (_argo0) {
10390 if (_argo0 == Py_None) { _arg0 = NULL; }
10391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10393 return NULL;
10394 }
10395 }
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 _result = new wxColour (wxEffects_GetLightShadow(_arg0));
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) return NULL;
10402 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10403 _resultobj = Py_BuildValue("s",_ptemp);
10404 return _resultobj;
10405 }
10406
10407 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10408 static PyObject *_wrap_wxEffects_GetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject * _resultobj;
10410 wxColour * _result;
10411 wxEffects * _arg0;
10412 PyObject * _argo0 = 0;
10413 char *_kwnames[] = { "self", NULL };
10414 char _ptemp[128];
10415
10416 self = self;
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEffects_GetFaceColour",_kwnames,&_argo0))
10418 return NULL;
10419 if (_argo0) {
10420 if (_argo0 == Py_None) { _arg0 = NULL; }
10421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10423 return NULL;
10424 }
10425 }
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 _result = new wxColour (wxEffects_GetFaceColour(_arg0));
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) return NULL;
10432 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10433 _resultobj = Py_BuildValue("s",_ptemp);
10434 return _resultobj;
10435 }
10436
10437 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10438 static PyObject *_wrap_wxEffects_GetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject * _resultobj;
10440 wxColour * _result;
10441 wxEffects * _arg0;
10442 PyObject * _argo0 = 0;
10443 char *_kwnames[] = { "self", NULL };
10444 char _ptemp[128];
10445
10446 self = self;
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEffects_GetMediumShadow",_kwnames,&_argo0))
10448 return NULL;
10449 if (_argo0) {
10450 if (_argo0 == Py_None) { _arg0 = NULL; }
10451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10453 return NULL;
10454 }
10455 }
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 _result = new wxColour (wxEffects_GetMediumShadow(_arg0));
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) return NULL;
10462 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10463 _resultobj = Py_BuildValue("s",_ptemp);
10464 return _resultobj;
10465 }
10466
10467 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10468 static PyObject *_wrap_wxEffects_GetDarkShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
10469 PyObject * _resultobj;
10470 wxColour * _result;
10471 wxEffects * _arg0;
10472 PyObject * _argo0 = 0;
10473 char *_kwnames[] = { "self", NULL };
10474 char _ptemp[128];
10475
10476 self = self;
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEffects_GetDarkShadow",_kwnames,&_argo0))
10478 return NULL;
10479 if (_argo0) {
10480 if (_argo0 == Py_None) { _arg0 = NULL; }
10481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10483 return NULL;
10484 }
10485 }
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 _result = new wxColour (wxEffects_GetDarkShadow(_arg0));
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) return NULL;
10492 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10493 _resultobj = Py_BuildValue("s",_ptemp);
10494 return _resultobj;
10495 }
10496
10497 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10498 static PyObject *_wrap_wxEffects_SetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10499 PyObject * _resultobj;
10500 wxEffects * _arg0;
10501 wxColour * _arg1;
10502 PyObject * _argo0 = 0;
10503 wxColour temp;
10504 PyObject * _obj1 = 0;
10505 char *_kwnames[] = { "self","c", NULL };
10506
10507 self = self;
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEffects_SetHighlightColour",_kwnames,&_argo0,&_obj1))
10509 return NULL;
10510 if (_argo0) {
10511 if (_argo0 == Py_None) { _arg0 = NULL; }
10512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10514 return NULL;
10515 }
10516 }
10517 {
10518 _arg1 = &temp;
10519 if (! wxColour_helper(_obj1, &_arg1))
10520 return NULL;
10521 }
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 wxEffects_SetHighlightColour(_arg0,*_arg1);
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) return NULL;
10528 } Py_INCREF(Py_None);
10529 _resultobj = Py_None;
10530 return _resultobj;
10531 }
10532
10533 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10534 static PyObject *_wrap_wxEffects_SetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject * _resultobj;
10536 wxEffects * _arg0;
10537 wxColour * _arg1;
10538 PyObject * _argo0 = 0;
10539 wxColour temp;
10540 PyObject * _obj1 = 0;
10541 char *_kwnames[] = { "self","c", NULL };
10542
10543 self = self;
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEffects_SetLightShadow",_kwnames,&_argo0,&_obj1))
10545 return NULL;
10546 if (_argo0) {
10547 if (_argo0 == Py_None) { _arg0 = NULL; }
10548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10550 return NULL;
10551 }
10552 }
10553 {
10554 _arg1 = &temp;
10555 if (! wxColour_helper(_obj1, &_arg1))
10556 return NULL;
10557 }
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 wxEffects_SetLightShadow(_arg0,*_arg1);
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) return NULL;
10564 } Py_INCREF(Py_None);
10565 _resultobj = Py_None;
10566 return _resultobj;
10567 }
10568
10569 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10570 static PyObject *_wrap_wxEffects_SetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject * _resultobj;
10572 wxEffects * _arg0;
10573 wxColour * _arg1;
10574 PyObject * _argo0 = 0;
10575 wxColour temp;
10576 PyObject * _obj1 = 0;
10577 char *_kwnames[] = { "self","c", NULL };
10578
10579 self = self;
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEffects_SetFaceColour",_kwnames,&_argo0,&_obj1))
10581 return NULL;
10582 if (_argo0) {
10583 if (_argo0 == Py_None) { _arg0 = NULL; }
10584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10586 return NULL;
10587 }
10588 }
10589 {
10590 _arg1 = &temp;
10591 if (! wxColour_helper(_obj1, &_arg1))
10592 return NULL;
10593 }
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 wxEffects_SetFaceColour(_arg0,*_arg1);
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) return NULL;
10600 } Py_INCREF(Py_None);
10601 _resultobj = Py_None;
10602 return _resultobj;
10603 }
10604
10605 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10606 static PyObject *_wrap_wxEffects_SetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
10607 PyObject * _resultobj;
10608 wxEffects * _arg0;
10609 wxColour * _arg1;
10610 PyObject * _argo0 = 0;
10611 wxColour temp;
10612 PyObject * _obj1 = 0;
10613 char *_kwnames[] = { "self","c", NULL };
10614
10615 self = self;
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEffects_SetMediumShadow",_kwnames,&_argo0,&_obj1))
10617 return NULL;
10618 if (_argo0) {
10619 if (_argo0 == Py_None) { _arg0 = NULL; }
10620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10622 return NULL;
10623 }
10624 }
10625 {
10626 _arg1 = &temp;
10627 if (! wxColour_helper(_obj1, &_arg1))
10628 return NULL;
10629 }
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 wxEffects_SetMediumShadow(_arg0,*_arg1);
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) return NULL;
10636 } Py_INCREF(Py_None);
10637 _resultobj = Py_None;
10638 return _resultobj;
10639 }
10640
10641 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10642 static PyObject *_wrap_wxEffects_SetDarkShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject * _resultobj;
10644 wxEffects * _arg0;
10645 wxColour * _arg1;
10646 PyObject * _argo0 = 0;
10647 wxColour temp;
10648 PyObject * _obj1 = 0;
10649 char *_kwnames[] = { "self","c", NULL };
10650
10651 self = self;
10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEffects_SetDarkShadow",_kwnames,&_argo0,&_obj1))
10653 return NULL;
10654 if (_argo0) {
10655 if (_argo0 == Py_None) { _arg0 = NULL; }
10656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10658 return NULL;
10659 }
10660 }
10661 {
10662 _arg1 = &temp;
10663 if (! wxColour_helper(_obj1, &_arg1))
10664 return NULL;
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 wxEffects_SetDarkShadow(_arg0,*_arg1);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) return NULL;
10672 } Py_INCREF(Py_None);
10673 _resultobj = Py_None;
10674 return _resultobj;
10675 }
10676
10677 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10678 static PyObject *_wrap_wxEffects_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
10679 PyObject * _resultobj;
10680 wxEffects * _arg0;
10681 wxColour * _arg1;
10682 wxColour * _arg2;
10683 wxColour * _arg3;
10684 wxColour * _arg4;
10685 wxColour * _arg5;
10686 PyObject * _argo0 = 0;
10687 wxColour temp;
10688 PyObject * _obj1 = 0;
10689 wxColour temp0;
10690 PyObject * _obj2 = 0;
10691 wxColour temp1;
10692 PyObject * _obj3 = 0;
10693 wxColour temp2;
10694 PyObject * _obj4 = 0;
10695 wxColour temp3;
10696 PyObject * _obj5 = 0;
10697 char *_kwnames[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL };
10698
10699 self = self;
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOO:wxEffects_Set",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3,&_obj4,&_obj5))
10701 return NULL;
10702 if (_argo0) {
10703 if (_argo0 == Py_None) { _arg0 = NULL; }
10704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10706 return NULL;
10707 }
10708 }
10709 {
10710 _arg1 = &temp;
10711 if (! wxColour_helper(_obj1, &_arg1))
10712 return NULL;
10713 }
10714 {
10715 _arg2 = &temp0;
10716 if (! wxColour_helper(_obj2, &_arg2))
10717 return NULL;
10718 }
10719 {
10720 _arg3 = &temp1;
10721 if (! wxColour_helper(_obj3, &_arg3))
10722 return NULL;
10723 }
10724 {
10725 _arg4 = &temp2;
10726 if (! wxColour_helper(_obj4, &_arg4))
10727 return NULL;
10728 }
10729 {
10730 _arg5 = &temp3;
10731 if (! wxColour_helper(_obj5, &_arg5))
10732 return NULL;
10733 }
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 wxEffects_Set(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,*_arg5);
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) return NULL;
10740 } Py_INCREF(Py_None);
10741 _resultobj = Py_None;
10742 return _resultobj;
10743 }
10744
10745 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10746 static PyObject *_wrap_wxEffects_DrawSunkenEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject * _resultobj;
10748 wxEffects * _arg0;
10749 wxDC * _arg1;
10750 wxRect * _arg2;
10751 int _arg3 = (int ) 1;
10752 PyObject * _argo0 = 0;
10753 PyObject * _argo1 = 0;
10754 wxRect temp;
10755 PyObject * _obj2 = 0;
10756 char *_kwnames[] = { "self","dc","rect","borderSize", NULL };
10757
10758 self = self;
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3))
10760 return NULL;
10761 if (_argo0) {
10762 if (_argo0 == Py_None) { _arg0 = NULL; }
10763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10765 return NULL;
10766 }
10767 }
10768 if (_argo1) {
10769 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10770 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10771 return NULL;
10772 }
10773 }
10774 {
10775 _arg2 = &temp;
10776 if (! wxRect_helper(_obj2, &_arg2))
10777 return NULL;
10778 }
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 wxEffects_DrawSunkenEdge(_arg0,*_arg1,*_arg2,_arg3);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) return NULL;
10785 } Py_INCREF(Py_None);
10786 _resultobj = Py_None;
10787 return _resultobj;
10788 }
10789
10790 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10791 static PyObject *_wrap_wxEffects_TileBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject * _resultobj;
10793 bool _result;
10794 wxEffects * _arg0;
10795 wxRect * _arg1;
10796 wxDC * _arg2;
10797 wxBitmap * _arg3;
10798 PyObject * _argo0 = 0;
10799 wxRect temp;
10800 PyObject * _obj1 = 0;
10801 PyObject * _argo2 = 0;
10802 PyObject * _argo3 = 0;
10803 char *_kwnames[] = { "self","rect","dc","bitmap", NULL };
10804
10805 self = self;
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxEffects_TileBitmap",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
10807 return NULL;
10808 if (_argo0) {
10809 if (_argo0 == Py_None) { _arg0 = NULL; }
10810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEffects_p")) {
10811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10812 return NULL;
10813 }
10814 }
10815 {
10816 _arg1 = &temp;
10817 if (! wxRect_helper(_obj1, &_arg1))
10818 return NULL;
10819 }
10820 if (_argo2) {
10821 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
10822 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
10823 return NULL;
10824 }
10825 }
10826 if (_argo3) {
10827 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
10828 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
10829 return NULL;
10830 }
10831 }
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 _result = (bool )wxEffects_TileBitmap(_arg0,*_arg1,*_arg2,*_arg3);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) return NULL;
10838 } _resultobj = Py_BuildValue("i",_result);
10839 return _resultobj;
10840 }
10841
10842 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
10843 static PyObject *_wrap_new_wxSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject * _resultobj;
10845 wxSingleInstanceChecker * _result;
10846 wxString * _arg0;
10847 wxString * _arg1 = (wxString *) &wxPyEmptyString;
10848 PyObject * _obj0 = 0;
10849 PyObject * _obj1 = 0;
10850 char *_kwnames[] = { "name","path", NULL };
10851 char _ptemp[128];
10852
10853 self = self;
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxSingleInstanceChecker",_kwnames,&_obj0,&_obj1))
10855 return NULL;
10856 {
10857 _arg0 = wxString_in_helper(_obj0);
10858 if (_arg0 == NULL)
10859 return NULL;
10860 }
10861 if (_obj1)
10862 {
10863 _arg1 = wxString_in_helper(_obj1);
10864 if (_arg1 == NULL)
10865 return NULL;
10866 }
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 _result = (wxSingleInstanceChecker *)new_wxSingleInstanceChecker(*_arg0,*_arg1);
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) return NULL;
10873 } if (_result) {
10874 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleInstanceChecker_p");
10875 _resultobj = Py_BuildValue("s",_ptemp);
10876 } else {
10877 Py_INCREF(Py_None);
10878 _resultobj = Py_None;
10879 }
10880 {
10881 if (_obj0)
10882 delete _arg0;
10883 }
10884 {
10885 if (_obj1)
10886 delete _arg1;
10887 }
10888 return _resultobj;
10889 }
10890
10891 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
10892 static PyObject *_wrap_new_wxPreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
10893 PyObject * _resultobj;
10894 wxSingleInstanceChecker * _result;
10895 char *_kwnames[] = { NULL };
10896 char _ptemp[128];
10897
10898 self = self;
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSingleInstanceChecker",_kwnames))
10900 return NULL;
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 _result = (wxSingleInstanceChecker *)new_wxPreSingleInstanceChecker();
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) return NULL;
10907 } if (_result) {
10908 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSingleInstanceChecker_p");
10909 _resultobj = Py_BuildValue("s",_ptemp);
10910 } else {
10911 Py_INCREF(Py_None);
10912 _resultobj = Py_None;
10913 }
10914 return _resultobj;
10915 }
10916
10917 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
10918 static PyObject *_wrap_delete_wxSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
10919 PyObject * _resultobj;
10920 wxSingleInstanceChecker * _arg0;
10921 PyObject * _argo0 = 0;
10922 char *_kwnames[] = { "self", NULL };
10923
10924 self = self;
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxSingleInstanceChecker",_kwnames,&_argo0))
10926 return NULL;
10927 if (_argo0) {
10928 if (_argo0 == Py_None) { _arg0 = NULL; }
10929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleInstanceChecker_p")) {
10930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
10931 return NULL;
10932 }
10933 }
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 delete_wxSingleInstanceChecker(_arg0);
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) return NULL;
10940 } Py_INCREF(Py_None);
10941 _resultobj = Py_None;
10942 return _resultobj;
10943 }
10944
10945 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
10946 static PyObject *_wrap_wxSingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject * _resultobj;
10948 bool _result;
10949 wxSingleInstanceChecker * _arg0;
10950 wxString * _arg1;
10951 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10952 PyObject * _argo0 = 0;
10953 PyObject * _obj1 = 0;
10954 PyObject * _obj2 = 0;
10955 char *_kwnames[] = { "self","name","path", NULL };
10956
10957 self = self;
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxSingleInstanceChecker_Create",_kwnames,&_argo0,&_obj1,&_obj2))
10959 return NULL;
10960 if (_argo0) {
10961 if (_argo0 == Py_None) { _arg0 = NULL; }
10962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleInstanceChecker_p")) {
10963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
10964 return NULL;
10965 }
10966 }
10967 {
10968 _arg1 = wxString_in_helper(_obj1);
10969 if (_arg1 == NULL)
10970 return NULL;
10971 }
10972 if (_obj2)
10973 {
10974 _arg2 = wxString_in_helper(_obj2);
10975 if (_arg2 == NULL)
10976 return NULL;
10977 }
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 _result = (bool )wxSingleInstanceChecker_Create(_arg0,*_arg1,*_arg2);
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) return NULL;
10984 } _resultobj = Py_BuildValue("i",_result);
10985 {
10986 if (_obj1)
10987 delete _arg1;
10988 }
10989 {
10990 if (_obj2)
10991 delete _arg2;
10992 }
10993 return _resultobj;
10994 }
10995
10996 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
10997 static PyObject *_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
10998 PyObject * _resultobj;
10999 bool _result;
11000 wxSingleInstanceChecker * _arg0;
11001 PyObject * _argo0 = 0;
11002 char *_kwnames[] = { "self", NULL };
11003
11004 self = self;
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames,&_argo0))
11006 return NULL;
11007 if (_argo0) {
11008 if (_argo0 == Py_None) { _arg0 = NULL; }
11009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSingleInstanceChecker_p")) {
11010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11011 return NULL;
11012 }
11013 }
11014 {
11015 PyThreadState* __tstate = wxPyBeginAllowThreads();
11016 _result = (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0);
11017
11018 wxPyEndAllowThreads(__tstate);
11019 if (PyErr_Occurred()) return NULL;
11020 } _resultobj = Py_BuildValue("i",_result);
11021 return _resultobj;
11022 }
11023
11024 static PyMethodDef misc2cMethods[] = {
11025 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_wxSingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
11026 { "wxSingleInstanceChecker_Create", (PyCFunction) _wrap_wxSingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
11027 { "delete_wxSingleInstanceChecker", (PyCFunction) _wrap_delete_wxSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
11028 { "new_wxPreSingleInstanceChecker", (PyCFunction) _wrap_new_wxPreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
11029 { "new_wxSingleInstanceChecker", (PyCFunction) _wrap_new_wxSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
11030 { "wxEffects_TileBitmap", (PyCFunction) _wrap_wxEffects_TileBitmap, METH_VARARGS | METH_KEYWORDS },
11031 { "wxEffects_DrawSunkenEdge", (PyCFunction) _wrap_wxEffects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS },
11032 { "wxEffects_Set", (PyCFunction) _wrap_wxEffects_Set, METH_VARARGS | METH_KEYWORDS },
11033 { "wxEffects_SetDarkShadow", (PyCFunction) _wrap_wxEffects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS },
11034 { "wxEffects_SetMediumShadow", (PyCFunction) _wrap_wxEffects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS },
11035 { "wxEffects_SetFaceColour", (PyCFunction) _wrap_wxEffects_SetFaceColour, METH_VARARGS | METH_KEYWORDS },
11036 { "wxEffects_SetLightShadow", (PyCFunction) _wrap_wxEffects_SetLightShadow, METH_VARARGS | METH_KEYWORDS },
11037 { "wxEffects_SetHighlightColour", (PyCFunction) _wrap_wxEffects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS },
11038 { "wxEffects_GetDarkShadow", (PyCFunction) _wrap_wxEffects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS },
11039 { "wxEffects_GetMediumShadow", (PyCFunction) _wrap_wxEffects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS },
11040 { "wxEffects_GetFaceColour", (PyCFunction) _wrap_wxEffects_GetFaceColour, METH_VARARGS | METH_KEYWORDS },
11041 { "wxEffects_GetLightShadow", (PyCFunction) _wrap_wxEffects_GetLightShadow, METH_VARARGS | METH_KEYWORDS },
11042 { "wxEffects_GetHighlightColour", (PyCFunction) _wrap_wxEffects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS },
11043 { "new_wxEffects", (PyCFunction) _wrap_new_wxEffects, METH_VARARGS | METH_KEYWORDS },
11044 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction) _wrap_wxFileHistory_GetNoHistoryFiles, METH_VARARGS | METH_KEYWORDS },
11045 { "wxFileHistory_GetCount", (PyCFunction) _wrap_wxFileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
11046 { "wxFileHistory_GetHistoryFile", (PyCFunction) _wrap_wxFileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
11047 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
11048 { "wxFileHistory_AddFilesToMenu", (PyCFunction) _wrap_wxFileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
11049 { "wxFileHistory_Save", (PyCFunction) _wrap_wxFileHistory_Save, METH_VARARGS | METH_KEYWORDS },
11050 { "wxFileHistory_Load", (PyCFunction) _wrap_wxFileHistory_Load, METH_VARARGS | METH_KEYWORDS },
11051 { "wxFileHistory_RemoveMenu", (PyCFunction) _wrap_wxFileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
11052 { "wxFileHistory_UseMenu", (PyCFunction) _wrap_wxFileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
11053 { "wxFileHistory_GetMaxFiles", (PyCFunction) _wrap_wxFileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
11054 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_wxFileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
11055 { "wxFileHistory_AddFileToHistory", (PyCFunction) _wrap_wxFileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
11056 { "delete_wxFileHistory", (PyCFunction) _wrap_delete_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
11057 { "new_wxFileHistory", (PyCFunction) _wrap_new_wxFileHistory, METH_VARARGS | METH_KEYWORDS },
11058 { "wxArtProvider_GetIcon", (PyCFunction) _wrap_wxArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
11059 { "wxArtProvider_GetBitmap", (PyCFunction) _wrap_wxArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11060 { "wxArtProvider_RemoveProvider", (PyCFunction) _wrap_wxArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
11061 { "wxArtProvider_PopProvider", (PyCFunction) _wrap_wxArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
11062 { "wxArtProvider_PushProvider", (PyCFunction) _wrap_wxArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
11063 { "wxArtProvider__setCallbackInfo", (PyCFunction) _wrap_wxArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
11064 { "new_wxArtProvider", (PyCFunction) _wrap_new_wxArtProvider, METH_VARARGS | METH_KEYWORDS },
11065 { "delete_wxMimeTypesManager", (PyCFunction) _wrap_delete_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
11066 { "wxMimeTypesManager_Unassociate", (PyCFunction) _wrap_wxMimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
11067 { "wxMimeTypesManager_Associate", (PyCFunction) _wrap_wxMimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
11068 { "wxMimeTypesManager_AddFallback", (PyCFunction) _wrap_wxMimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
11069 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_wxMimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
11070 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_wxMimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
11071 { "wxMimeTypesManager_ReadMailcap", (PyCFunction) _wrap_wxMimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
11072 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
11073 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_wxMimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
11074 { "wxMimeTypesManager_ClearData", (PyCFunction) _wrap_wxMimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
11075 { "wxMimeTypesManager_Initialize", (PyCFunction) _wrap_wxMimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
11076 { "new_wxMimeTypesManager", (PyCFunction) _wrap_new_wxMimeTypesManager, METH_VARARGS | METH_KEYWORDS },
11077 { "wxMimeTypesManager_IsOfType", (PyCFunction) _wrap_wxMimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
11078 { "delete_wxFileType", (PyCFunction) _wrap_delete_wxFileType, METH_VARARGS | METH_KEYWORDS },
11079 { "wxFileType_ExpandCommand", (PyCFunction) _wrap_wxFileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
11080 { "wxFileType_Unassociate", (PyCFunction) _wrap_wxFileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
11081 { "wxFileType_SetDefaultIcon", (PyCFunction) _wrap_wxFileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
11082 { "wxFileType_SetCommand", (PyCFunction) _wrap_wxFileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
11083 { "wxFileType_GetAllCommands", (PyCFunction) _wrap_wxFileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
11084 { "wxFileType_GetPrintCommand", (PyCFunction) _wrap_wxFileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
11085 { "wxFileType_GetOpenCommand", (PyCFunction) _wrap_wxFileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
11086 { "wxFileType_GetDescription", (PyCFunction) _wrap_wxFileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
11087 { "wxFileType_GetIconInfo", (PyCFunction) _wrap_wxFileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
11088 { "wxFileType_GetIcon", (PyCFunction) _wrap_wxFileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
11089 { "wxFileType_GetExtensions", (PyCFunction) _wrap_wxFileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
11090 { "wxFileType_GetMimeTypes", (PyCFunction) _wrap_wxFileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
11091 { "wxFileType_GetMimeType", (PyCFunction) _wrap_wxFileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
11092 { "new_wxFileType", (PyCFunction) _wrap_new_wxFileType, METH_VARARGS | METH_KEYWORDS },
11093 { "wxFileTypeInfo_GetIconIndex", (PyCFunction) _wrap_wxFileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
11094 { "wxFileTypeInfo_GetIconFile", (PyCFunction) _wrap_wxFileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
11095 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
11096 { "wxFileTypeInfo_GetExtensions", (PyCFunction) _wrap_wxFileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
11097 { "wxFileTypeInfo_GetDescription", (PyCFunction) _wrap_wxFileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
11098 { "wxFileTypeInfo_GetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
11099 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
11100 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_wxFileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
11101 { "wxFileTypeInfo_GetMimeType", (PyCFunction) _wrap_wxFileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
11102 { "wxFileTypeInfo_SetShortDesc", (PyCFunction) _wrap_wxFileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
11103 { "wxFileTypeInfo_SetIcon", (PyCFunction) _wrap_wxFileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
11104 { "wxFileTypeInfo_IsValid", (PyCFunction) _wrap_wxFileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
11105 { "new_wxNullFileTypeInfo", (PyCFunction) _wrap_new_wxNullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
11106 { "new_wxFileTypeInfoSequence", (PyCFunction) _wrap_new_wxFileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
11107 { "new_wxFileTypeInfo", (PyCFunction) _wrap_new_wxFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
11108 { "wxWave_Play", (PyCFunction) _wrap_wxWave_Play, METH_VARARGS | METH_KEYWORDS },
11109 { "wxWave_IsOk", (PyCFunction) _wrap_wxWave_IsOk, METH_VARARGS | METH_KEYWORDS },
11110 { "delete_wxWave", (PyCFunction) _wrap_delete_wxWave, METH_VARARGS | METH_KEYWORDS },
11111 { "new_wxWave", (PyCFunction) _wrap_new_wxWave, METH_VARARGS | METH_KEYWORDS },
11112 { "wxJoystick_ReleaseCapture", (PyCFunction) _wrap_wxJoystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
11113 { "wxJoystick_SetCapture", (PyCFunction) _wrap_wxJoystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
11114 { "wxJoystick_HasPOVCTS", (PyCFunction) _wrap_wxJoystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
11115 { "wxJoystick_HasPOV4Dir", (PyCFunction) _wrap_wxJoystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
11116 { "wxJoystick_HasPOV", (PyCFunction) _wrap_wxJoystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
11117 { "wxJoystick_HasV", (PyCFunction) _wrap_wxJoystick_HasV, METH_VARARGS | METH_KEYWORDS },
11118 { "wxJoystick_HasU", (PyCFunction) _wrap_wxJoystick_HasU, METH_VARARGS | METH_KEYWORDS },
11119 { "wxJoystick_HasZ", (PyCFunction) _wrap_wxJoystick_HasZ, METH_VARARGS | METH_KEYWORDS },
11120 { "wxJoystick_HasRudder", (PyCFunction) _wrap_wxJoystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
11121 { "wxJoystick_GetVMax", (PyCFunction) _wrap_wxJoystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
11122 { "wxJoystick_GetVMin", (PyCFunction) _wrap_wxJoystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
11123 { "wxJoystick_GetUMax", (PyCFunction) _wrap_wxJoystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
11124 { "wxJoystick_GetUMin", (PyCFunction) _wrap_wxJoystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
11125 { "wxJoystick_GetRudderMax", (PyCFunction) _wrap_wxJoystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
11126 { "wxJoystick_GetRudderMin", (PyCFunction) _wrap_wxJoystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
11127 { "wxJoystick_GetPollingMax", (PyCFunction) _wrap_wxJoystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
11128 { "wxJoystick_GetPollingMin", (PyCFunction) _wrap_wxJoystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
11129 { "wxJoystick_GetMaxAxes", (PyCFunction) _wrap_wxJoystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
11130 { "wxJoystick_GetMaxButtons", (PyCFunction) _wrap_wxJoystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
11131 { "wxJoystick_GetNumberAxes", (PyCFunction) _wrap_wxJoystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
11132 { "wxJoystick_GetNumberButtons", (PyCFunction) _wrap_wxJoystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
11133 { "wxJoystick_GetZMax", (PyCFunction) _wrap_wxJoystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
11134 { "wxJoystick_GetYMax", (PyCFunction) _wrap_wxJoystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
11135 { "wxJoystick_GetXMax", (PyCFunction) _wrap_wxJoystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
11136 { "wxJoystick_GetZMin", (PyCFunction) _wrap_wxJoystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
11137 { "wxJoystick_GetYMin", (PyCFunction) _wrap_wxJoystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
11138 { "wxJoystick_GetXMin", (PyCFunction) _wrap_wxJoystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
11139 { "wxJoystick_GetProductName", (PyCFunction) _wrap_wxJoystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
11140 { "wxJoystick_GetProductId", (PyCFunction) _wrap_wxJoystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
11141 { "wxJoystick_GetManufacturerId", (PyCFunction) _wrap_wxJoystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
11142 { "wxJoystick_GetNumberJoysticks", (PyCFunction) _wrap_wxJoystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
11143 { "wxJoystick_IsOk", (PyCFunction) _wrap_wxJoystick_IsOk, METH_VARARGS | METH_KEYWORDS },
11144 { "wxJoystick_SetMovementThreshold", (PyCFunction) _wrap_wxJoystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
11145 { "wxJoystick_GetMovementThreshold", (PyCFunction) _wrap_wxJoystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
11146 { "wxJoystick_GetVPosition", (PyCFunction) _wrap_wxJoystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
11147 { "wxJoystick_GetUPosition", (PyCFunction) _wrap_wxJoystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
11148 { "wxJoystick_GetRudderPosition", (PyCFunction) _wrap_wxJoystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
11149 { "wxJoystick_GetPOVCTSPosition", (PyCFunction) _wrap_wxJoystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
11150 { "wxJoystick_GetPOVPosition", (PyCFunction) _wrap_wxJoystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
11151 { "wxJoystick_GetButtonState", (PyCFunction) _wrap_wxJoystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
11152 { "wxJoystick_GetZPosition", (PyCFunction) _wrap_wxJoystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
11153 { "wxJoystick_GetPosition", (PyCFunction) _wrap_wxJoystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
11154 { "delete_wxJoystick", (PyCFunction) _wrap_delete_wxJoystick, METH_VARARGS | METH_KEYWORDS },
11155 { "new_wxJoystick", (PyCFunction) _wrap_new_wxJoystick, METH_VARARGS | METH_KEYWORDS },
11156 { "wxProcess_IsErrorAvailable", (PyCFunction) _wrap_wxProcess_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
11157 { "wxProcess_IsInputAvailable", (PyCFunction) _wrap_wxProcess_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
11158 { "wxProcess_IsInputOpened", (PyCFunction) _wrap_wxProcess_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
11159 { "wxProcess_CloseOutput", (PyCFunction) _wrap_wxProcess_CloseOutput, METH_VARARGS | METH_KEYWORDS },
11160 { "wxProcess_GetOutputStream", (PyCFunction) _wrap_wxProcess_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
11161 { "wxProcess_GetErrorStream", (PyCFunction) _wrap_wxProcess_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
11162 { "wxProcess_GetInputStream", (PyCFunction) _wrap_wxProcess_GetInputStream, METH_VARARGS | METH_KEYWORDS },
11163 { "wxProcess_Detach", (PyCFunction) _wrap_wxProcess_Detach, METH_VARARGS | METH_KEYWORDS },
11164 { "wxProcess_IsRedirected", (PyCFunction) _wrap_wxProcess_IsRedirected, METH_VARARGS | METH_KEYWORDS },
11165 { "wxProcess_Redirect", (PyCFunction) _wrap_wxProcess_Redirect, METH_VARARGS | METH_KEYWORDS },
11166 { "wxProcess_base_OnTerminate", (PyCFunction) _wrap_wxProcess_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
11167 { "wxProcess__setCallbackInfo", (PyCFunction) _wrap_wxProcess__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
11168 { "wxProcess_Destroy", (PyCFunction) _wrap_wxProcess_Destroy, METH_VARARGS | METH_KEYWORDS },
11169 { "new_wxProcess", (PyCFunction) _wrap_new_wxProcess, METH_VARARGS | METH_KEYWORDS },
11170 { "wxProcess_Open", (PyCFunction) _wrap_wxProcess_Open, METH_VARARGS | METH_KEYWORDS },
11171 { "wxProcess_Exists", (PyCFunction) _wrap_wxProcess_Exists, METH_VARARGS | METH_KEYWORDS },
11172 { "wxProcess_Kill", (PyCFunction) _wrap_wxProcess_Kill, METH_VARARGS | METH_KEYWORDS },
11173 { "wxProcessEvent_m_exitcode_get", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
11174 { "wxProcessEvent_m_exitcode_set", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
11175 { "wxProcessEvent_m_pid_get", (PyCFunction) _wrap_wxProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
11176 { "wxProcessEvent_m_pid_set", (PyCFunction) _wrap_wxProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
11177 { "wxProcessEvent_GetExitCode", (PyCFunction) _wrap_wxProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
11178 { "wxProcessEvent_GetPid", (PyCFunction) _wrap_wxProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
11179 { "new_wxProcessEvent", (PyCFunction) _wrap_new_wxProcessEvent, METH_VARARGS | METH_KEYWORDS },
11180 { "wxPyLog_Destroy", (PyCFunction) _wrap_wxPyLog_Destroy, METH_VARARGS | METH_KEYWORDS },
11181 { "wxPyLog__setCallbackInfo", (PyCFunction) _wrap_wxPyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
11182 { "new_wxPyLog", (PyCFunction) _wrap_new_wxPyLog, METH_VARARGS | METH_KEYWORDS },
11183 { "delete_wxLogNull", (PyCFunction) _wrap_delete_wxLogNull, METH_VARARGS | METH_KEYWORDS },
11184 { "new_wxLogNull", (PyCFunction) _wrap_new_wxLogNull, METH_VARARGS | METH_KEYWORDS },
11185 { "wxLogChain_GetOldLog", (PyCFunction) _wrap_wxLogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
11186 { "wxLogChain_IsPassingMessages", (PyCFunction) _wrap_wxLogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
11187 { "wxLogChain_PassMessages", (PyCFunction) _wrap_wxLogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
11188 { "wxLogChain_SetLog", (PyCFunction) _wrap_wxLogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
11189 { "new_wxLogChain", (PyCFunction) _wrap_new_wxLogChain, METH_VARARGS | METH_KEYWORDS },
11190 { "wxLogWindow_PassMessages", (PyCFunction) _wrap_wxLogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
11191 { "wxLogWindow_IsPassingMessages", (PyCFunction) _wrap_wxLogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
11192 { "wxLogWindow_GetOldLog", (PyCFunction) _wrap_wxLogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
11193 { "wxLogWindow_GetFrame", (PyCFunction) _wrap_wxLogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
11194 { "wxLogWindow_Show", (PyCFunction) _wrap_wxLogWindow_Show, METH_VARARGS | METH_KEYWORDS },
11195 { "new_wxLogWindow", (PyCFunction) _wrap_new_wxLogWindow, METH_VARARGS | METH_KEYWORDS },
11196 { "new_wxLogGui", (PyCFunction) _wrap_new_wxLogGui, METH_VARARGS | METH_KEYWORDS },
11197 { "new_wxLogTextCtrl", (PyCFunction) _wrap_new_wxLogTextCtrl, METH_VARARGS | METH_KEYWORDS },
11198 { "new_wxLogStderr", (PyCFunction) _wrap_new_wxLogStderr, METH_VARARGS | METH_KEYWORDS },
11199 { "wxLog_TimeStamp", (PyCFunction) _wrap_wxLog_TimeStamp, METH_VARARGS | METH_KEYWORDS },
11200 { "wxLog_GetLogLevel", (PyCFunction) _wrap_wxLog_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
11201 { "wxLog_SetLogLevel", (PyCFunction) _wrap_wxLog_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
11202 { "wxLog_IsAllowedTraceMask", (PyCFunction) _wrap_wxLog_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
11203 { "wxLog_GetTraceMask", (PyCFunction) _wrap_wxLog_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
11204 { "wxLog_GetVerbose", (PyCFunction) _wrap_wxLog_GetVerbose, METH_VARARGS | METH_KEYWORDS },
11205 { "wxLog_GetTimestamp", (PyCFunction) _wrap_wxLog_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
11206 { "wxLog_SetTimestamp", (PyCFunction) _wrap_wxLog_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
11207 { "wxLog_GetTraceMasks", (PyCFunction) _wrap_wxLog_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
11208 { "wxLog_ClearTraceMasks", (PyCFunction) _wrap_wxLog_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
11209 { "wxLog_RemoveTraceMask", (PyCFunction) _wrap_wxLog_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
11210 { "wxLog_AddTraceMask", (PyCFunction) _wrap_wxLog_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
11211 { "wxLog_SetTraceMask", (PyCFunction) _wrap_wxLog_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
11212 { "wxLog_DontCreateOnDemand", (PyCFunction) _wrap_wxLog_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
11213 { "wxLog_SetVerbose", (PyCFunction) _wrap_wxLog_SetVerbose, METH_VARARGS | METH_KEYWORDS },
11214 { "wxLog_Resume", (PyCFunction) _wrap_wxLog_Resume, METH_VARARGS | METH_KEYWORDS },
11215 { "wxLog_Suspend", (PyCFunction) _wrap_wxLog_Suspend, METH_VARARGS | METH_KEYWORDS },
11216 { "wxLog_SetActiveTarget", (PyCFunction) _wrap_wxLog_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
11217 { "wxLog_GetActiveTarget", (PyCFunction) _wrap_wxLog_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
11218 { "wxLog_FlushActive", (PyCFunction) _wrap_wxLog_FlushActive, METH_VARARGS | METH_KEYWORDS },
11219 { "wxLog_Flush", (PyCFunction) _wrap_wxLog_Flush, METH_VARARGS | METH_KEYWORDS },
11220 { "wxLog_OnLog", (PyCFunction) _wrap_wxLog_OnLog, METH_VARARGS | METH_KEYWORDS },
11221 { "wxLog_EnableLogging", (PyCFunction) _wrap_wxLog_EnableLogging, METH_VARARGS | METH_KEYWORDS },
11222 { "wxLog_IsEnabled", (PyCFunction) _wrap_wxLog_IsEnabled, METH_VARARGS | METH_KEYWORDS },
11223 { "new_wxLog", (PyCFunction) _wrap_new_wxLog, METH_VARARGS | METH_KEYWORDS },
11224 { "wxStopWatch_Time", (PyCFunction) _wrap_wxStopWatch_Time, METH_VARARGS | METH_KEYWORDS },
11225 { "wxStopWatch_Resume", (PyCFunction) _wrap_wxStopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
11226 { "wxStopWatch_Pause", (PyCFunction) _wrap_wxStopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
11227 { "wxStopWatch_Start", (PyCFunction) _wrap_wxStopWatch_Start, METH_VARARGS | METH_KEYWORDS },
11228 { "delete_wxStopWatch", (PyCFunction) _wrap_delete_wxStopWatch, METH_VARARGS | METH_KEYWORDS },
11229 { "new_wxStopWatch", (PyCFunction) _wrap_new_wxStopWatch, METH_VARARGS | METH_KEYWORDS },
11230 { "wxPyTimer_Stop", (PyCFunction) _wrap_wxPyTimer_Stop, METH_VARARGS | METH_KEYWORDS },
11231 { "wxPyTimer_Start", (PyCFunction) _wrap_wxPyTimer_Start, METH_VARARGS | METH_KEYWORDS },
11232 { "wxPyTimer_SetOwner", (PyCFunction) _wrap_wxPyTimer_SetOwner, METH_VARARGS | METH_KEYWORDS },
11233 { "wxPyTimer_IsRunning", (PyCFunction) _wrap_wxPyTimer_IsRunning, METH_VARARGS | METH_KEYWORDS },
11234 { "wxPyTimer_IsOneShot", (PyCFunction) _wrap_wxPyTimer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
11235 { "wxPyTimer_GetInterval", (PyCFunction) _wrap_wxPyTimer_GetInterval, METH_VARARGS | METH_KEYWORDS },
11236 { "delete_wxPyTimer", (PyCFunction) _wrap_delete_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
11237 { "new_wxPyTimer", (PyCFunction) _wrap_new_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
11238 { "wxDragImage_RedrawImage", (PyCFunction) _wrap_wxDragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
11239 { "wxDragImage_GetImageRect", (PyCFunction) _wrap_wxDragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
11240 { "wxDragImage_Hide", (PyCFunction) _wrap_wxDragImage_Hide, METH_VARARGS | METH_KEYWORDS },
11241 { "wxDragImage_Show", (PyCFunction) _wrap_wxDragImage_Show, METH_VARARGS | METH_KEYWORDS },
11242 { "wxDragImage_Move", (PyCFunction) _wrap_wxDragImage_Move, METH_VARARGS | METH_KEYWORDS },
11243 { "wxDragImage_EndDrag", (PyCFunction) _wrap_wxDragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
11244 { "wxDragImage_BeginDragBounded", (PyCFunction) _wrap_wxDragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
11245 { "wxDragImage_BeginDrag", (PyCFunction) _wrap_wxDragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
11246 { "wxDragImage_SetBackingBitmap", (PyCFunction) _wrap_wxDragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
11247 { "delete_wxDragImage", (PyCFunction) _wrap_delete_wxDragImage, METH_VARARGS | METH_KEYWORDS },
11248 { "new_wxDragListItem", (PyCFunction) _wrap_new_wxDragListItem, METH_VARARGS | METH_KEYWORDS },
11249 { "new_wxDragTreeItem", (PyCFunction) _wrap_new_wxDragTreeItem, METH_VARARGS | METH_KEYWORDS },
11250 { "new_wxDragString", (PyCFunction) _wrap_new_wxDragString, METH_VARARGS | METH_KEYWORDS },
11251 { "new_wxDragIcon", (PyCFunction) _wrap_new_wxDragIcon, METH_VARARGS | METH_KEYWORDS },
11252 { "new_wxDragImage", (PyCFunction) _wrap_new_wxDragImage, METH_VARARGS | METH_KEYWORDS },
11253 { "wxPyTipProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
11254 { "new_wxPyTipProvider", (PyCFunction) _wrap_new_wxPyTipProvider, METH_VARARGS | METH_KEYWORDS },
11255 { "wxTipProvider_PreprocessTip", (PyCFunction) _wrap_wxTipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
11256 { "wxTipProvider_GetCurrentTip", (PyCFunction) _wrap_wxTipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
11257 { "wxTipProvider_GetTip", (PyCFunction) _wrap_wxTipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
11258 { "delete_wxTipProvider", (PyCFunction) _wrap_delete_wxTipProvider, METH_VARARGS | METH_KEYWORDS },
11259 { "delete_wxMutexGuiLocker", (PyCFunction) _wrap_delete_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
11260 { "new_wxMutexGuiLocker", (PyCFunction) _wrap_new_wxMutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
11261 { "delete_wxWindowDisabler", (PyCFunction) _wrap_delete_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
11262 { "new_wxWindowDisabler", (PyCFunction) _wrap_new_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS },
11263 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
11264 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
11265 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
11266 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
11267 { "wxCaret_SetSize", (PyCFunction) _wrap_wxCaret_SetSize, METH_VARARGS | METH_KEYWORDS },
11268 { "wxCaret_SetSizeWH", (PyCFunction) _wrap_wxCaret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
11269 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
11270 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
11271 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
11272 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
11273 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11274 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
11275 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
11276 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
11277 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
11278 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
11279 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
11280 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
11281 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
11282 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
11283 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
11284 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
11285 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
11286 { "wxSystemSettings_SetScreenType", (PyCFunction) _wrap_wxSystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
11287 { "wxSystemSettings_GetScreenType", (PyCFunction) _wrap_wxSystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
11288 { "wxSystemSettings_HasFeature", (PyCFunction) _wrap_wxSystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
11289 { "wxSystemSettings_GetMetric", (PyCFunction) _wrap_wxSystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
11290 { "wxSystemSettings_GetFont", (PyCFunction) _wrap_wxSystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
11291 { "wxSystemSettings_GetColour", (PyCFunction) _wrap_wxSystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
11292 { "wxWaveData", (PyCFunction) _wrap_wxWaveData, METH_VARARGS | METH_KEYWORDS },
11293 { "wxExecute", (PyCFunction) _wrap_wxExecute, METH_VARARGS | METH_KEYWORDS },
11294 { "wxSafeShowMessage", (PyCFunction) _wrap_wxSafeShowMessage, METH_VARARGS | METH_KEYWORDS },
11295 { "wxLogGeneric", (PyCFunction) _wrap_wxLogGeneric, METH_VARARGS | METH_KEYWORDS },
11296 { "wxLogTraceMask", (PyCFunction) _wrap_wxLogTraceMask, METH_VARARGS | METH_KEYWORDS },
11297 { "wxLogTrace", (PyCFunction) _wrap_wxLogTrace, METH_VARARGS | METH_KEYWORDS },
11298 { "wxLogSysError", (PyCFunction) _wrap_wxLogSysError, METH_VARARGS | METH_KEYWORDS },
11299 { "wxLogStatusFrame", (PyCFunction) _wrap_wxLogStatusFrame, METH_VARARGS | METH_KEYWORDS },
11300 { "wxLogStatus", (PyCFunction) _wrap_wxLogStatus, METH_VARARGS | METH_KEYWORDS },
11301 { "wxLogVerbose", (PyCFunction) _wrap_wxLogVerbose, METH_VARARGS | METH_KEYWORDS },
11302 { "wxLogDebug", (PyCFunction) _wrap_wxLogDebug, METH_VARARGS | METH_KEYWORDS },
11303 { "wxLogInfo", (PyCFunction) _wrap_wxLogInfo, METH_VARARGS | METH_KEYWORDS },
11304 { "wxLogMessage", (PyCFunction) _wrap_wxLogMessage, METH_VARARGS | METH_KEYWORDS },
11305 { "wxLogWarning", (PyCFunction) _wrap_wxLogWarning, METH_VARARGS | METH_KEYWORDS },
11306 { "wxLogError", (PyCFunction) _wrap_wxLogError, METH_VARARGS | METH_KEYWORDS },
11307 { "wxLogFatalError", (PyCFunction) _wrap_wxLogFatalError, METH_VARARGS | METH_KEYWORDS },
11308 { "wxSysErrorMsg", (PyCFunction) _wrap_wxSysErrorMsg, METH_VARARGS | METH_KEYWORDS },
11309 { "wxSysErrorCode", (PyCFunction) _wrap_wxSysErrorCode, METH_VARARGS | METH_KEYWORDS },
11310 { "wxCreateFileTipProvider", (PyCFunction) _wrap_wxCreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
11311 { "wxShowTip", (PyCFunction) _wrap_wxShowTip, METH_VARARGS | METH_KEYWORDS },
11312 { "wxThread_IsMain", (PyCFunction) _wrap_wxThread_IsMain, METH_VARARGS | METH_KEYWORDS },
11313 { "wxMutexGuiLeave", (PyCFunction) _wrap_wxMutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
11314 { "wxMutexGuiEnter", (PyCFunction) _wrap_wxMutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
11315 { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS },
11316 { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS },
11317 { "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
11318 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
11319 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
11320 { "wxGetTopLevelParent", (PyCFunction) _wrap_wxGetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
11321 { "wxFindWindowAtPoint", (PyCFunction) _wrap_wxFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
11322 { "wxGenericFindWindowAtPoint", (PyCFunction) _wrap_wxGenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
11323 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
11324 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
11325 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
11326 { "wxGetClientDisplayRect", (PyCFunction) _wrap_wxGetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
11327 { "wxClientDisplayRect", (PyCFunction) _wrap_wxClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
11328 { "wxGetDisplaySizeMM", (PyCFunction) _wrap_wxGetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
11329 { "wxDisplaySizeMM", (PyCFunction) _wrap_wxDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
11330 { "wxGetDisplaySize", (PyCFunction) _wrap_wxGetDisplaySize, METH_VARARGS | METH_KEYWORDS },
11331 { "wxDisplaySize", (PyCFunction) _wrap_wxDisplaySize, METH_VARARGS | METH_KEYWORDS },
11332 { "wxGetDisplayDepth", (PyCFunction) _wrap_wxGetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
11333 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
11334 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
11335 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
11336 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
11337 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
11338 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
11339 { "wxGetPasswordFromUser", (PyCFunction) _wrap_wxGetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
11340 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
11341 { "wxDirSelector", (PyCFunction) _wrap_wxDirSelector, METH_VARARGS | METH_KEYWORDS },
11342 { "wxSaveFileSelector", (PyCFunction) _wrap_wxSaveFileSelector, METH_VARARGS | METH_KEYWORDS },
11343 { "wxLoadFileSelector", (PyCFunction) _wrap_wxLoadFileSelector, METH_VARARGS | METH_KEYWORDS },
11344 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
11345 { NULL, NULL }
11346 };
11347 #ifdef __cplusplus
11348 }
11349 #endif
11350 /*
11351 * This table is used by the pointer type-checker
11352 */
11353 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
11354 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent},
11355 { "_signed_long","_long",0},
11356 { "_wxPrintQuality","_wxCoord",0},
11357 { "_wxPrintQuality","_int",0},
11358 { "_wxPrintQuality","_signed_int",0},
11359 { "_wxPrintQuality","_unsigned_int",0},
11360 { "_wxPrintQuality","_wxWindowID",0},
11361 { "_wxPrintQuality","_uint",0},
11362 { "_wxPrintQuality","_EBool",0},
11363 { "_wxPrintQuality","_size_t",0},
11364 { "_wxPrintQuality","_time_t",0},
11365 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog},
11366 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog},
11367 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog},
11368 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog},
11369 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog},
11370 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog},
11371 { "_byte","_unsigned_char",0},
11372 { "_long","_unsigned_long",0},
11373 { "_long","_signed_long",0},
11374 { "_size_t","_wxCoord",0},
11375 { "_size_t","_wxPrintQuality",0},
11376 { "_size_t","_time_t",0},
11377 { "_size_t","_unsigned_int",0},
11378 { "_size_t","_int",0},
11379 { "_size_t","_wxWindowID",0},
11380 { "_size_t","_uint",0},
11381 { "_uint","_wxCoord",0},
11382 { "_uint","_wxPrintQuality",0},
11383 { "_uint","_time_t",0},
11384 { "_uint","_size_t",0},
11385 { "_uint","_unsigned_int",0},
11386 { "_uint","_int",0},
11387 { "_uint","_wxWindowID",0},
11388 { "_wxChar","_char",0},
11389 { "_char","_wxChar",0},
11390 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11391 { "_EBool","_wxCoord",0},
11392 { "_EBool","_wxPrintQuality",0},
11393 { "_EBool","_signed_int",0},
11394 { "_EBool","_int",0},
11395 { "_EBool","_wxWindowID",0},
11396 { "_unsigned_long","_long",0},
11397 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11398 { "_signed_int","_wxCoord",0},
11399 { "_signed_int","_wxPrintQuality",0},
11400 { "_signed_int","_EBool",0},
11401 { "_signed_int","_wxWindowID",0},
11402 { "_signed_int","_int",0},
11403 { "_WXTYPE","_wxDateTime_t",0},
11404 { "_WXTYPE","_short",0},
11405 { "_WXTYPE","_signed_short",0},
11406 { "_WXTYPE","_unsigned_short",0},
11407 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider},
11408 { "_unsigned_short","_wxDateTime_t",0},
11409 { "_unsigned_short","_WXTYPE",0},
11410 { "_unsigned_short","_short",0},
11411 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject},
11412 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject},
11413 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject},
11414 { "_wxObject","_wxWave",SwigwxWaveTowxObject},
11415 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject},
11416 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject},
11417 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject},
11418 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject},
11419 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject},
11420 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject},
11421 { "_signed_short","_WXTYPE",0},
11422 { "_signed_short","_short",0},
11423 { "_unsigned_char","_byte",0},
11424 { "_unsigned_int","_wxCoord",0},
11425 { "_unsigned_int","_wxPrintQuality",0},
11426 { "_unsigned_int","_time_t",0},
11427 { "_unsigned_int","_size_t",0},
11428 { "_unsigned_int","_uint",0},
11429 { "_unsigned_int","_wxWindowID",0},
11430 { "_unsigned_int","_int",0},
11431 { "_short","_wxDateTime_t",0},
11432 { "_short","_WXTYPE",0},
11433 { "_short","_unsigned_short",0},
11434 { "_short","_signed_short",0},
11435 { "_wxWindowID","_wxCoord",0},
11436 { "_wxWindowID","_wxPrintQuality",0},
11437 { "_wxWindowID","_time_t",0},
11438 { "_wxWindowID","_size_t",0},
11439 { "_wxWindowID","_EBool",0},
11440 { "_wxWindowID","_uint",0},
11441 { "_wxWindowID","_int",0},
11442 { "_wxWindowID","_signed_int",0},
11443 { "_wxWindowID","_unsigned_int",0},
11444 { "_int","_wxCoord",0},
11445 { "_int","_wxPrintQuality",0},
11446 { "_int","_time_t",0},
11447 { "_int","_size_t",0},
11448 { "_int","_EBool",0},
11449 { "_int","_uint",0},
11450 { "_int","_wxWindowID",0},
11451 { "_int","_unsigned_int",0},
11452 { "_int","_signed_int",0},
11453 { "_wxDateTime_t","_unsigned_short",0},
11454 { "_wxDateTime_t","_short",0},
11455 { "_wxDateTime_t","_WXTYPE",0},
11456 { "_time_t","_wxCoord",0},
11457 { "_time_t","_wxPrintQuality",0},
11458 { "_time_t","_unsigned_int",0},
11459 { "_time_t","_int",0},
11460 { "_time_t","_wxWindowID",0},
11461 { "_time_t","_uint",0},
11462 { "_time_t","_size_t",0},
11463 { "_wxCoord","_int",0},
11464 { "_wxCoord","_signed_int",0},
11465 { "_wxCoord","_unsigned_int",0},
11466 { "_wxCoord","_wxWindowID",0},
11467 { "_wxCoord","_uint",0},
11468 { "_wxCoord","_EBool",0},
11469 { "_wxCoord","_size_t",0},
11470 { "_wxCoord","_time_t",0},
11471 { "_wxCoord","_wxPrintQuality",0},
11472 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler},
11473 {0,0,0}};
11474
11475 static PyObject *SWIG_globals;
11476 #ifdef __cplusplus
11477 extern "C"
11478 #endif
11479 SWIGEXPORT(void) initmisc2c() {
11480 PyObject *m, *d;
11481 SWIG_globals = SWIG_newvarlink();
11482 m = Py_InitModule("misc2c", misc2cMethods);
11483 d = PyModule_GetDict(m);
11484 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
11485 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
11486 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
11487 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
11488 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
11489 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
11490 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
11491 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
11492 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
11493 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
11494 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
11495 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
11496 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
11497 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
11498 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
11499 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
11500 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
11501 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
11502 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
11503 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
11504 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
11505 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
11506 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
11507 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
11508 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
11509 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
11510 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
11511 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
11512 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
11513 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
11514 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
11515 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
11516 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
11517 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
11518 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
11519 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
11520 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
11521 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
11522 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
11523 PyDict_SetItemString(d,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX));
11524 PyDict_SetItemString(d,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT));
11525 PyDict_SetItemString(d,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION));
11526 PyDict_SetItemString(d,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
11527 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT));
11528 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR));
11529 PyDict_SetItemString(d,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX));
11530 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
11531 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
11532 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
11533 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
11534 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
11535 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
11536 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
11537 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
11538 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
11539 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
11540 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
11541 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
11542 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
11543 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
11544 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
11545 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
11546 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
11547 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
11548 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
11549 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
11550 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
11551 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
11552 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
11553 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
11554 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
11555 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
11556 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
11557 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
11558 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
11559 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
11560 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
11561 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
11562 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
11563 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
11564 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
11565 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
11566 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
11567 PyDict_SetItemString(d,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS));
11568 PyDict_SetItemString(d,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME));
11569 PyDict_SetItemString(d,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE));
11570 PyDict_SetItemString(d,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY));
11571 PyDict_SetItemString(d,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA));
11572 PyDict_SetItemString(d,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL));
11573 PyDict_SetItemString(d,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP));
11574 PyDict_SetItemString(d,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError));
11575 PyDict_SetItemString(d,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error));
11576 PyDict_SetItemString(d,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning));
11577 PyDict_SetItemString(d,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message));
11578 PyDict_SetItemString(d,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info));
11579 PyDict_SetItemString(d,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status));
11580 PyDict_SetItemString(d,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug));
11581 PyDict_SetItemString(d,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace));
11582 PyDict_SetItemString(d,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress));
11583 PyDict_SetItemString(d,"wxLOG_User", PyInt_FromLong((long) wxLOG_User));
11584 PyDict_SetItemString(d,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11585 PyDict_SetItemString(d,"wxTRACE_Messages", PyString_FromString("messages"));
11586 PyDict_SetItemString(d,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11587 PyDict_SetItemString(d,"wxTRACE_RefCount", PyString_FromString("refcount"));
11588 PyDict_SetItemString(d,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc));
11589 PyDict_SetItemString(d,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages));
11590 PyDict_SetItemString(d,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc));
11591 PyDict_SetItemString(d,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount));
11592 PyDict_SetItemString(d,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK));
11593 PyDict_SetItemString(d,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL));
11594 PyDict_SetItemString(d,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED));
11595 PyDict_SetItemString(d,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS));
11596 PyDict_SetItemString(d,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR));
11597 PyDict_SetItemString(d,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE));
11598 PyDict_SetItemString(d,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP));
11599 PyDict_SetItemString(d,"wxSIGINT", PyInt_FromLong((long) wxSIGINT));
11600 PyDict_SetItemString(d,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT));
11601 PyDict_SetItemString(d,"wxSIGILL", PyInt_FromLong((long) wxSIGILL));
11602 PyDict_SetItemString(d,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP));
11603 PyDict_SetItemString(d,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT));
11604 PyDict_SetItemString(d,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT));
11605 PyDict_SetItemString(d,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT));
11606 PyDict_SetItemString(d,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE));
11607 PyDict_SetItemString(d,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL));
11608 PyDict_SetItemString(d,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS));
11609 PyDict_SetItemString(d,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV));
11610 PyDict_SetItemString(d,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS));
11611 PyDict_SetItemString(d,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE));
11612 PyDict_SetItemString(d,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM));
11613 PyDict_SetItemString(d,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM));
11614 PyDict_SetItemString(d,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS));
11615 PyDict_SetItemString(d,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC));
11616 PyDict_SetItemString(d,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC));
11617 PyDict_SetItemString(d,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE));
11618 PyDict_SetItemString(d,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER));
11619 PyDict_SetItemString(d,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1));
11620 PyDict_SetItemString(d,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2));
11621 PyDict_SetItemString(d,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY));
11622 PyDict_SetItemString(d,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1));
11623 PyDict_SetItemString(d,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2));
11624 PyDict_SetItemString(d,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3));
11625 PyDict_SetItemString(d,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4));
11626 PyDict_SetItemString(d,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD));
11627 PyDict_SetItemString(d,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE));
11628 PyDict_SetItemString(d,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE));
11629 PyDict_SetItemString(d,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME));
11630 PyDict_SetItemString(d,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL));
11631 PyDict_SetItemString(d,"cvar", SWIG_globals);
11632 SWIG_addvarlink(SWIG_globals,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get, _wrap_wxTheMimeTypesManager_set);
11633
11634 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11635 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11636 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11637
11638 {
11639 int i;
11640 for (i = 0; _swig_mapping[i].n1; i++)
11641 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11642 }
11643 }