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