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