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