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