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