2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include "pyistream.h"
60 #include <wx/resource.h>
61 #include <wx/tooltip.h>
63 #include <wx/fontenum.h>
64 #include <wx/tipdlg.h>
65 #include <wx/process.h>
67 #if wxUSE_JOYSTICK || defined(__WXMSW__)
68 #include <wx/joystick.h>
71 #if wxUSE_WAVE || defined(__WXMSW__)
75 #include <wx/mimetype.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 #if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg
= "String or Unicode type required";
107 static char* wxStringErrorMsg
= "String type required";
110 int wxCaret_GetBlinkTime() {
111 return wxCaret::GetBlinkTime();
114 void wxCaret_SetBlinkTime(int milliseconds
) {
115 wxCaret::SetBlinkTime(milliseconds
);
118 class wxPyFontEnumerator
: public wxFontEnumerator
{
120 wxPyFontEnumerator() {}
121 ~wxPyFontEnumerator() {}
123 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
124 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
129 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
130 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
133 bool wxThread_IsMain() {
134 #ifdef WXP_WITH_THREAD
135 return wxThread::IsMain();
141 class wxPyTipProvider
: public wxTipProvider
{
143 wxPyTipProvider(size_t currentTip
)
144 : wxTipProvider(currentTip
) {}
146 DEC_PYCALLBACK_STRING__pure(GetTip
);
151 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
154 #include <wx/generic/dragimgg.h>
156 // A Log class that can be derived from in wxPython
157 class wxPyLog
: public wxLog
{
159 wxPyLog() : wxLog() {}
161 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
163 wxPyBeginBlockThreads();
164 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
165 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
166 wxPyEndBlockThreads();
168 wxLog::DoLog(level
, szString
, t
);
171 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
173 wxPyBeginBlockThreads();
174 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
175 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
176 wxPyEndBlockThreads();
178 wxLog::DoLogString(szString
, t
);
183 // C++ version of wxProcess derived class
185 class wxPyProcess
: public wxProcess
{
187 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
188 : wxProcess(parent
, id
)
191 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
196 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
199 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
200 // A C++ stub class for wxJoystick for platforms that don't have it.
201 class wxJoystick
: public wxObject
{
203 wxJoystick(int joystick
= wxJOYSTICK1
) {
204 wxPyBeginBlockThreads();
205 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
206 wxPyEndBlockThreads();
208 wxPoint
GetPosition() { return wxPoint(-1,-1); }
209 int GetZPosition() { return -1; }
210 int GetButtonState() { return -1; }
211 int GetPOVPosition() { return -1; }
212 int GetPOVCTSPosition() { return -1; }
213 int GetRudderPosition() { return -1; }
214 int GetUPosition() { return -1; }
215 int GetVPosition() { return -1; }
216 int GetMovementThreshold() { return -1; }
217 void SetMovementThreshold(int threshold
) {}
219 bool IsOk(void) { return FALSE
; }
220 int GetNumberJoysticks() { return -1; }
221 int GetManufacturerId() { return -1; }
222 int GetProductId() { return -1; }
223 wxString
GetProductName() { return ""; }
224 int GetXMin() { return -1; }
225 int GetYMin() { return -1; }
226 int GetZMin() { return -1; }
227 int GetXMax() { return -1; }
228 int GetYMax() { return -1; }
229 int GetZMax() { return -1; }
230 int GetNumberButtons() { return -1; }
231 int GetNumberAxes() { return -1; }
232 int GetMaxButtons() { return -1; }
233 int GetMaxAxes() { return -1; }
234 int GetPollingMin() { return -1; }
235 int GetPollingMax() { return -1; }
236 int GetRudderMin() { return -1; }
237 int GetRudderMax() { return -1; }
238 int GetUMin() { return -1; }
239 int GetUMax() { return -1; }
240 int GetVMin() { return -1; }
241 int GetVMax() { return -1; }
243 bool HasRudder() { return FALSE
; }
244 bool HasZ() { return FALSE
; }
245 bool HasU() { return FALSE
; }
246 bool HasV() { return FALSE
; }
247 bool HasPOV() { return FALSE
; }
248 bool HasPOV4Dir() { return FALSE
; }
249 bool HasPOVCTS() { return FALSE
; }
251 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
252 bool ReleaseCapture() { return FALSE
; }
257 // A C++ stub class for wxWave for platforms that don't have it.
258 class wxWave
: public wxObject
261 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
262 wxPyBeginBlockThreads();
263 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
264 wxPyEndBlockThreads();
266 wxWave(int size
, const wxByte
* data
) {
267 wxPyBeginBlockThreads();
268 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
269 wxPyEndBlockThreads();
274 bool IsOk() const { return FALSE
; }
275 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
279 // Implementations of some alternate "constructors"
280 wxWave
* wxWaveData(const wxString
& data
) {
281 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
285 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
289 #include <wx/docview.h>
293 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
297 char * _arg1
= (char *) NULL
;
298 char * _arg2
= (char *) NULL
;
299 char * _arg3
= (char *) NULL
;
300 char * _arg4
= (char *) "*.*";
301 int _arg5
= (int ) 0;
302 wxWindow
* _arg6
= (wxWindow
*) NULL
;
303 int _arg7
= (int ) -1;
304 int _arg8
= (int ) -1;
305 PyObject
* _argo6
= 0;
306 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
312 if (_argo6
== Py_None
) { _arg6
= NULL
; }
313 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
320 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
322 wxPyEndAllowThreads(__tstate
);
323 if (PyErr_Occurred()) return NULL
;
325 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
333 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
337 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
338 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
339 wxWindow
* _arg3
= (wxWindow
*) NULL
;
340 int _arg4
= (int ) -1;
341 int _arg5
= (int ) -1;
342 bool _arg6
= (bool ) TRUE
;
343 PyObject
* _obj0
= 0;
344 PyObject
* _obj1
= 0;
345 PyObject
* _obj2
= 0;
346 PyObject
* _argo3
= 0;
347 int tempbool6
= (int) TRUE
;
348 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
354 #if PYTHON_API_VERSION >= 1009
355 char* tmpPtr
; int tmpSize
;
356 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
360 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
362 _arg0
= new wxString(tmpPtr
, tmpSize
);
364 if (!PyString_Check(_obj0
)) {
365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
368 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
373 #if PYTHON_API_VERSION >= 1009
374 char* tmpPtr
; int tmpSize
;
375 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
376 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
379 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
381 _arg1
= new wxString(tmpPtr
, tmpSize
);
383 if (!PyString_Check(_obj1
)) {
384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
387 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
392 #if PYTHON_API_VERSION >= 1009
393 char* tmpPtr
; int tmpSize
;
394 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
398 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
400 _arg2
= new wxString(tmpPtr
, tmpSize
);
402 if (!PyString_Check(_obj2
)) {
403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
406 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
410 if (_argo3
== Py_None
) { _arg3
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
416 _arg6
= (bool ) tempbool6
;
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
424 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
444 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
448 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
449 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
450 wxWindow
* _arg3
= (wxWindow
*) NULL
;
451 PyObject
* _obj0
= 0;
452 PyObject
* _obj1
= 0;
453 PyObject
* _obj2
= 0;
454 PyObject
* _argo3
= 0;
455 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
461 #if PYTHON_API_VERSION >= 1009
462 char* tmpPtr
; int tmpSize
;
463 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
467 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
469 _arg0
= new wxString(tmpPtr
, tmpSize
);
471 if (!PyString_Check(_obj0
)) {
472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
475 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
480 #if PYTHON_API_VERSION >= 1009
481 char* tmpPtr
; int tmpSize
;
482 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
483 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
486 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
488 _arg1
= new wxString(tmpPtr
, tmpSize
);
490 if (!PyString_Check(_obj1
)) {
491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
494 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
499 #if PYTHON_API_VERSION >= 1009
500 char* tmpPtr
; int tmpSize
;
501 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
505 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
507 _arg2
= new wxString(tmpPtr
, tmpSize
);
509 if (!PyString_Check(_obj2
)) {
510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
513 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
517 if (_argo3
== Py_None
) { _arg3
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
530 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
550 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
557 wxWindow
* _arg4
= (wxWindow
*) NULL
;
558 int _arg5
= (int ) -1;
559 int _arg6
= (int ) -1;
560 bool _arg7
= (bool ) TRUE
;
561 int _arg8
= (int ) 150;
562 int _arg9
= (int ) 200;
563 PyObject
* _obj0
= 0;
564 PyObject
* _obj1
= 0;
565 PyObject
* _obj3
= 0;
566 PyObject
* _argo4
= 0;
567 int tempbool7
= (int) TRUE
;
568 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
574 #if PYTHON_API_VERSION >= 1009
575 char* tmpPtr
; int tmpSize
;
576 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
580 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
582 _arg0
= new wxString(tmpPtr
, tmpSize
);
584 if (!PyString_Check(_obj0
)) {
585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
588 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
592 #if PYTHON_API_VERSION >= 1009
593 char* tmpPtr
; int tmpSize
;
594 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
598 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
600 _arg1
= new wxString(tmpPtr
, tmpSize
);
602 if (!PyString_Check(_obj1
)) {
603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
606 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
611 _arg3
= wxString_LIST_helper(_obj3
);
617 if (_argo4
== Py_None
) { _arg4
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
623 _arg7
= (bool ) tempbool7
;
626 _arg2
= PyList_Size(_obj3
);
633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
634 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
636 wxPyEndAllowThreads(__tstate
);
637 if (PyErr_Occurred()) return NULL
;
639 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
658 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
665 wxWindow
* _arg4
= (wxWindow
*) NULL
;
666 int _arg5
= (int ) -1;
667 int _arg6
= (int ) -1;
668 bool _arg7
= (bool ) TRUE
;
669 int _arg8
= (int ) 150;
670 int _arg9
= (int ) 200;
671 PyObject
* _obj0
= 0;
672 PyObject
* _obj1
= 0;
673 PyObject
* _obj3
= 0;
674 PyObject
* _argo4
= 0;
675 int tempbool7
= (int) TRUE
;
676 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
682 #if PYTHON_API_VERSION >= 1009
683 char* tmpPtr
; int tmpSize
;
684 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
688 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
690 _arg0
= new wxString(tmpPtr
, tmpSize
);
692 if (!PyString_Check(_obj0
)) {
693 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
696 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
700 #if PYTHON_API_VERSION >= 1009
701 char* tmpPtr
; int tmpSize
;
702 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
706 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
708 _arg1
= new wxString(tmpPtr
, tmpSize
);
710 if (!PyString_Check(_obj1
)) {
711 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
714 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
719 _arg3
= wxString_LIST_helper(_obj3
);
725 if (_argo4
== Py_None
) { _arg4
= NULL
; }
726 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
731 _arg7
= (bool ) tempbool7
;
734 _arg2
= PyList_Size(_obj3
);
741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
742 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
744 wxPyEndAllowThreads(__tstate
);
745 if (PyErr_Occurred()) return NULL
;
746 } _resultobj
= Py_BuildValue("i",_result
);
761 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
765 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
766 int _arg2
= (int ) wxOK
|wxCENTRE
;
767 wxWindow
* _arg3
= (wxWindow
*) NULL
;
768 int _arg4
= (int ) -1;
769 int _arg5
= (int ) -1;
770 PyObject
* _obj0
= 0;
771 PyObject
* _obj1
= 0;
772 PyObject
* _argo3
= 0;
773 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
779 #if PYTHON_API_VERSION >= 1009
780 char* tmpPtr
; int tmpSize
;
781 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
785 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
787 _arg0
= new wxString(tmpPtr
, tmpSize
);
789 if (!PyString_Check(_obj0
)) {
790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
793 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
798 #if PYTHON_API_VERSION >= 1009
799 char* tmpPtr
; int tmpSize
;
800 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
801 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
804 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
806 _arg1
= new wxString(tmpPtr
, tmpSize
);
808 if (!PyString_Check(_obj1
)) {
809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
812 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
816 if (_argo3
== Py_None
) { _arg3
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
826 wxPyEndAllowThreads(__tstate
);
827 if (PyErr_Occurred()) return NULL
;
828 } _resultobj
= Py_BuildValue("i",_result
);
840 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
847 long _arg4
= (long ) 0;
848 long _arg5
= (long ) 100;
849 wxWindow
* _arg6
= (wxWindow
*) NULL
;
850 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
851 PyObject
* _obj0
= 0;
852 PyObject
* _obj1
= 0;
853 PyObject
* _obj2
= 0;
854 PyObject
* _argo6
= 0;
856 PyObject
* _obj7
= 0;
857 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
863 #if PYTHON_API_VERSION >= 1009
864 char* tmpPtr
; int tmpSize
;
865 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
866 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
869 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
871 _arg0
= new wxString(tmpPtr
, tmpSize
);
873 if (!PyString_Check(_obj0
)) {
874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
877 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
881 #if PYTHON_API_VERSION >= 1009
882 char* tmpPtr
; int tmpSize
;
883 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
887 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
889 _arg1
= new wxString(tmpPtr
, tmpSize
);
891 if (!PyString_Check(_obj1
)) {
892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
895 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
899 #if PYTHON_API_VERSION >= 1009
900 char* tmpPtr
; int tmpSize
;
901 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
905 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
907 _arg2
= new wxString(tmpPtr
, tmpSize
);
909 if (!PyString_Check(_obj2
)) {
910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
913 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
917 if (_argo6
== Py_None
) { _arg6
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
926 if (! wxPoint_helper(_obj7
, &_arg7
))
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
931 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) return NULL
;
935 } _resultobj
= Py_BuildValue("l",_result
);
951 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
954 char *_kwnames
[] = { NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
961 _result
= (bool )wxColourDisplay();
963 wxPyEndAllowThreads(__tstate
);
964 if (PyErr_Occurred()) return NULL
;
965 } _resultobj
= Py_BuildValue("i",_result
);
969 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
972 char *_kwnames
[] = { NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 _result
= (int )wxDisplayDepth();
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) return NULL
;
983 } _resultobj
= Py_BuildValue("i",_result
);
987 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
990 char *_kwnames
[] = { NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 _result
= (int )wxGetDisplayDepth();
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) return NULL
;
1001 } _resultobj
= Py_BuildValue("i",_result
);
1005 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1011 char *_kwnames
[] = { NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 wxDisplaySize(_arg0
,_arg1
);
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) return NULL
;
1028 } Py_INCREF(Py_None
);
1029 _resultobj
= Py_None
;
1032 o
= PyInt_FromLong((long) (*_arg0
));
1033 _resultobj
= t_output_helper(_resultobj
, o
);
1037 o
= PyInt_FromLong((long) (*_arg1
));
1038 _resultobj
= t_output_helper(_resultobj
, o
);
1043 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
* _resultobj
;
1046 char *_kwnames
[] = { NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 _result
= new wxSize (wxGetDisplaySize());
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1059 _resultobj
= Py_BuildValue("s",_ptemp
);
1063 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1069 char *_kwnames
[] = { NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1082 wxDisplaySizeMM(_arg0
,_arg1
);
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) return NULL
;
1086 } Py_INCREF(Py_None
);
1087 _resultobj
= Py_None
;
1090 o
= PyInt_FromLong((long) (*_arg0
));
1091 _resultobj
= t_output_helper(_resultobj
, o
);
1095 o
= PyInt_FromLong((long) (*_arg1
));
1096 _resultobj
= t_output_helper(_resultobj
, o
);
1101 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1104 char *_kwnames
[] = { NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 _result
= new wxSize (wxGetDisplaySizeMM());
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1116 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1117 _resultobj
= Py_BuildValue("s",_ptemp
);
1121 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1131 char *_kwnames
[] = { NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1152 wxPyEndAllowThreads(__tstate
);
1153 if (PyErr_Occurred()) return NULL
;
1154 } Py_INCREF(Py_None
);
1155 _resultobj
= Py_None
;
1158 o
= PyInt_FromLong((long) (*_arg0
));
1159 _resultobj
= t_output_helper(_resultobj
, o
);
1163 o
= PyInt_FromLong((long) (*_arg1
));
1164 _resultobj
= t_output_helper(_resultobj
, o
);
1168 o
= PyInt_FromLong((long) (*_arg2
));
1169 _resultobj
= t_output_helper(_resultobj
, o
);
1173 o
= PyInt_FromLong((long) (*_arg3
));
1174 _resultobj
= t_output_helper(_resultobj
, o
);
1179 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1182 char *_kwnames
[] = { NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 _result
= new wxRect (wxGetClientDisplayRect());
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) return NULL
;
1194 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1195 _resultobj
= Py_BuildValue("s",_ptemp
);
1199 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "cursor", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxSetCursor(*_arg0
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1230 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1231 PyObject
* _obj0
= 0;
1232 PyObject
* _argo1
= 0;
1233 char *_kwnames
[] = { "label","parent", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1239 #if PYTHON_API_VERSION >= 1009
1240 char* tmpPtr
; int tmpSize
;
1241 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1245 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1247 _arg0
= new wxString(tmpPtr
, tmpSize
);
1249 if (!PyString_Check(_obj0
)) {
1250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1253 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) return NULL
;
1269 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1277 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1281 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1282 PyObject
* _obj0
= 0;
1283 PyObject
* _argo1
= 0;
1284 char *_kwnames
[] = { "name","parent", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1290 #if PYTHON_API_VERSION >= 1009
1291 char* tmpPtr
; int tmpSize
;
1292 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1296 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1298 _arg0
= new wxString(tmpPtr
, tmpSize
);
1300 if (!PyString_Check(_obj0
)) {
1301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1304 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) return NULL
;
1320 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1328 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1330 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "cursor", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 wxBeginBusyCursor(_arg0
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1350 } Py_INCREF(Py_None
);
1351 _resultobj
= Py_None
;
1355 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 char *_kwnames
[] = { NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 _result
= (wxWindow
*)wxGetActiveWindow();
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) return NULL
;
1369 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1373 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1378 PyObject
* _obj0
= 0;
1379 char *_kwnames
[] = { "pt", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1386 if (! wxPoint_helper(_obj0
, &_arg0
))
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1399 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1404 PyObject
* _obj0
= 0;
1405 char *_kwnames
[] = { "pt", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1412 if (! wxPoint_helper(_obj0
, &_arg0
))
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) return NULL
;
1421 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1425 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
* _resultobj
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "wnd", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 _result
= (bool )wxCheckForInterrupt(_arg0
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) return NULL
;
1448 } _resultobj
= Py_BuildValue("i",_result
);
1452 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 char *_kwnames
[] = { NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } Py_INCREF(Py_None
);
1466 _resultobj
= Py_None
;
1470 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1475 char *_kwnames
[] = { "name","value", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 } _resultobj
= Py_BuildValue("i",_result
);
1490 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1492 char *_kwnames
[] = { NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1503 } Py_INCREF(Py_None
);
1504 _resultobj
= Py_None
;
1508 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1512 char *_kwnames
[] = { "resource", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) return NULL
;
1524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1529 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1533 char *_kwnames
[] = { "resource", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) return NULL
;
1545 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1546 _resultobj
= Py_BuildValue("s",_ptemp
);
1550 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1552 wxMenuBar
* _result
;
1554 char *_kwnames
[] = { "resource", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1569 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1573 char *_kwnames
[] = { "name", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (int )wxResourceGetIdentifier(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1592 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1593 PyObject
* _argo1
= 0;
1594 char *_kwnames
[] = { "resource","table", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1612 } _resultobj
= Py_BuildValue("i",_result
);
1616 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1621 PyObject
* _argo1
= 0;
1622 char *_kwnames
[] = { "filename","table", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) return NULL
;
1640 } _resultobj
= Py_BuildValue("i",_result
);
1644 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1648 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1649 PyObject
* _argo1
= 0;
1650 char *_kwnames
[] = { "resource","table", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) return NULL
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1675 char *_kwnames
[] = { NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 _result
= (int )wxCaret_GetBlinkTime();
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) return NULL
;
1686 } _resultobj
= Py_BuildValue("i",_result
);
1690 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1693 char *_kwnames
[] = { "milliseconds", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 wxCaret_SetBlinkTime(_arg0
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) return NULL
;
1704 } Py_INCREF(Py_None
);
1705 _resultobj
= Py_None
;
1709 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1712 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "win", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (bool )wxSafeYield(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxEvtHandler
* _arg0
;
1740 PyObject
* _argo0
= 0;
1741 PyObject
* _argo1
= 0;
1742 char *_kwnames
[] = { "dest","event", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 wxPostEvent(_arg0
,*_arg1
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } Py_INCREF(Py_None
);
1768 _resultobj
= Py_None
;
1772 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
* _resultobj
;
1774 char *_kwnames
[] = { NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) return NULL
;
1785 } Py_INCREF(Py_None
);
1786 _resultobj
= Py_None
;
1790 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1792 char *_kwnames
[] = { NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 wxWakeUpMainThread();
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } Py_INCREF(Py_None
);
1804 _resultobj
= Py_None
;
1808 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1810 char *_kwnames
[] = { NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) return NULL
;
1821 } Py_INCREF(Py_None
);
1822 _resultobj
= Py_None
;
1826 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1828 char *_kwnames
[] = { NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1839 } Py_INCREF(Py_None
);
1840 _resultobj
= Py_None
;
1844 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1847 char *_kwnames
[] = { NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 _result
= (bool )wxThread_IsMain();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) return NULL
;
1858 } _resultobj
= Py_BuildValue("i",_result
);
1862 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1866 wxTipProvider
* _arg1
;
1867 bool _arg2
= (bool ) TRUE
;
1868 PyObject
* _argo0
= 0;
1869 PyObject
* _argo1
= 0;
1870 int tempbool2
= (int) TRUE
;
1871 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1890 _arg2
= (bool ) tempbool2
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1897 } _resultobj
= Py_BuildValue("i",_result
);
1901 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1903 wxTipProvider
* _result
;
1906 PyObject
* _obj0
= 0;
1907 char *_kwnames
[] = { "filename","currentTip", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1914 #if PYTHON_API_VERSION >= 1009
1915 char* tmpPtr
; int tmpSize
;
1916 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1917 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1920 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1922 _arg0
= new wxString(tmpPtr
, tmpSize
);
1924 if (!PyString_Check(_obj0
)) {
1925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1928 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) return NULL
;
1938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1939 _resultobj
= Py_BuildValue("s",_ptemp
);
1942 _resultobj
= Py_None
;
1951 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1953 unsigned long _result
;
1954 char *_kwnames
[] = { NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 _result
= (unsigned long )wxSysErrorCode();
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) return NULL
;
1965 } _resultobj
= Py_BuildValue("l",_result
);
1969 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1972 unsigned long _arg0
= (unsigned long ) 0;
1973 char *_kwnames
[] = { "nErrCode", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 _result
= (char *)wxSysErrorMsg(_arg0
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) return NULL
;
1984 } _resultobj
= Py_BuildValue("s", _result
);
1988 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1991 char *_kwnames
[] = { "szFormat", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 wxLogFatalError(_arg0
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) return NULL
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2010 char *_kwnames
[] = { "szFormat", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2026 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2029 char *_kwnames
[] = { "szFormat", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 wxLogWarning(_arg0
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2040 } Py_INCREF(Py_None
);
2041 _resultobj
= Py_None
;
2045 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 char *_kwnames
[] = { "szFormat", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 wxLogMessage(_arg0
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) return NULL
;
2059 } Py_INCREF(Py_None
);
2060 _resultobj
= Py_None
;
2064 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2067 char *_kwnames
[] = { "szFormat", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2083 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2086 char *_kwnames
[] = { "szFormat", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 wxLogVerbose(_arg0
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) return NULL
;
2097 } Py_INCREF(Py_None
);
2098 _resultobj
= Py_None
;
2102 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 char *_kwnames
[] = { "szFormat", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) return NULL
;
2116 } Py_INCREF(Py_None
);
2117 _resultobj
= Py_None
;
2121 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 wxLogStatus(_arg0
,_arg1
);
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) return NULL
;
2144 } Py_INCREF(Py_None
);
2145 _resultobj
= Py_None
;
2149 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2152 char *_kwnames
[] = { "szFormat", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 wxLogSysError(_arg0
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2163 } Py_INCREF(Py_None
);
2164 _resultobj
= Py_None
;
2168 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2172 int _arg1
= (int ) FALSE
;
2173 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2174 PyObject
* _obj0
= 0;
2175 PyObject
* _argo2
= 0;
2176 char *_kwnames
[] = { "command","sync","process", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2182 #if PYTHON_API_VERSION >= 1009
2183 char* tmpPtr
; int tmpSize
;
2184 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2188 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2190 _arg0
= new wxString(tmpPtr
, tmpSize
);
2192 if (!PyString_Check(_obj0
)) {
2193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2196 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2200 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } _resultobj
= Py_BuildValue("l",_result
);
2220 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _obj0
= 0;
2225 char *_kwnames
[] = { "data", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2232 #if PYTHON_API_VERSION >= 1009
2233 char* tmpPtr
; int tmpSize
;
2234 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2238 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2240 _arg0
= new wxString(tmpPtr
, tmpSize
);
2242 if (!PyString_Check(_obj0
)) {
2243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2246 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 _result
= (wxWave
*)wxWaveData(*_arg0
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2257 _resultobj
= Py_BuildValue("s",_ptemp
);
2260 _resultobj
= Py_None
;
2269 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2271 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2275 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2279 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2280 pyobj
= PyString_FromString(ptemp
);
2284 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 wxSystemColour _arg0
;
2288 char *_kwnames
[] = { "index", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2300 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2301 _resultobj
= Py_BuildValue("s",_ptemp
);
2305 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2309 char *_kwnames
[] = { "index", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) return NULL
;
2321 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2322 _resultobj
= Py_BuildValue("s",_ptemp
);
2326 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2329 wxSystemMetric _arg0
;
2330 char *_kwnames
[] = { "index", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) return NULL
;
2341 } _resultobj
= Py_BuildValue("i",_result
);
2345 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2348 wxSystemFeature _arg0
;
2349 char *_kwnames
[] = { "index", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) return NULL
;
2360 } _resultobj
= Py_BuildValue("i",_result
);
2364 static void *SwigwxToolTipTowxObject(void *ptr
) {
2367 src
= (wxToolTip
*) ptr
;
2368 dest
= (wxObject
*) src
;
2369 return (void *) dest
;
2372 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2373 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
* _resultobj
;
2375 wxToolTip
* _result
;
2377 PyObject
* _obj0
= 0;
2378 char *_kwnames
[] = { "tip", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2385 #if PYTHON_API_VERSION >= 1009
2386 char* tmpPtr
; int tmpSize
;
2387 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2391 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2393 _arg0
= new wxString(tmpPtr
, tmpSize
);
2395 if (!PyString_Check(_obj0
)) {
2396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2399 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) return NULL
;
2409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2410 _resultobj
= Py_BuildValue("s",_ptemp
);
2413 _resultobj
= Py_None
;
2422 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2423 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2427 PyObject
* _argo0
= 0;
2428 PyObject
* _obj1
= 0;
2429 char *_kwnames
[] = { "self","tip", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2442 #if PYTHON_API_VERSION >= 1009
2443 char* tmpPtr
; int tmpSize
;
2444 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2448 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2450 _arg1
= new wxString(tmpPtr
, tmpSize
);
2452 if (!PyString_Check(_obj1
)) {
2453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2456 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 wxToolTip_SetTip(_arg0
,*_arg1
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2474 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2475 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2499 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2507 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2508 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2512 PyObject
* _argo0
= 0;
2513 char *_kwnames
[] = { "self", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) return NULL
;
2531 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2535 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2539 char *_kwnames
[] = { "flag", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2544 _arg0
= (bool ) tempbool0
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 wxToolTip::Enable(_arg0
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) return NULL
;
2551 } Py_INCREF(Py_None
);
2552 _resultobj
= Py_None
;
2556 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2559 char *_kwnames
[] = { "milliseconds", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 wxToolTip::SetDelay(_arg0
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) return NULL
;
2570 } Py_INCREF(Py_None
);
2571 _resultobj
= Py_None
;
2575 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2576 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2581 PyObject
* _argo0
= 0;
2583 PyObject
* _obj1
= 0;
2584 char *_kwnames
[] = { "window","size", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2599 if (! wxSize_helper(_obj1
, &_arg1
))
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2610 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 _resultobj
= Py_None
;
2618 #define delete_wxCaret(_swigobj) (delete _swigobj)
2619 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 delete_wxCaret(_arg0
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } Py_INCREF(Py_None
);
2642 _resultobj
= Py_None
;
2646 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2647 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
* _resultobj
;
2651 PyObject
* _argo0
= 0;
2652 char *_kwnames
[] = { "self", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 _result
= (bool )wxCaret_IsOk(_arg0
);
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) return NULL
;
2670 } _resultobj
= Py_BuildValue("i",_result
);
2674 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2675 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2679 PyObject
* _argo0
= 0;
2680 char *_kwnames
[] = { "self", NULL
};
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 _result
= (bool )wxCaret_IsVisible(_arg0
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) return NULL
;
2698 } _resultobj
= Py_BuildValue("i",_result
);
2702 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2703 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2710 PyObject
* _argo0
= 0;
2711 char *_kwnames
[] = { "self", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) return NULL
;
2735 } Py_INCREF(Py_None
);
2736 _resultobj
= Py_None
;
2739 o
= PyInt_FromLong((long) (*_arg1
));
2740 _resultobj
= t_output_helper(_resultobj
, o
);
2744 o
= PyInt_FromLong((long) (*_arg2
));
2745 _resultobj
= t_output_helper(_resultobj
, o
);
2750 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2751 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) return NULL
;
2775 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2780 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2781 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2813 } Py_INCREF(Py_None
);
2814 _resultobj
= Py_None
;
2817 o
= PyInt_FromLong((long) (*_arg1
));
2818 _resultobj
= t_output_helper(_resultobj
, o
);
2822 o
= PyInt_FromLong((long) (*_arg2
));
2823 _resultobj
= t_output_helper(_resultobj
, o
);
2828 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2829 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
* _resultobj
;
2833 PyObject
* _argo0
= 0;
2834 char *_kwnames
[] = { "self", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2854 _resultobj
= Py_BuildValue("s",_ptemp
);
2858 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2859 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) return NULL
;
2882 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2886 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2887 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self","x","y", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } Py_INCREF(Py_None
);
2912 _resultobj
= Py_None
;
2916 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2917 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2923 PyObject
* _obj1
= 0;
2924 char *_kwnames
[] = { "self","pt", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2938 if (! wxPoint_helper(_obj1
, &_arg1
))
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 wxCaret_Move(_arg0
,*_arg1
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) return NULL
;
2947 } Py_INCREF(Py_None
);
2948 _resultobj
= Py_None
;
2952 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2953 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2958 PyObject
* _argo0
= 0;
2959 char *_kwnames
[] = { "self","width","height", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) return NULL
;
2977 } Py_INCREF(Py_None
);
2978 _resultobj
= Py_None
;
2982 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2983 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2987 PyObject
* _argo0
= 0;
2989 PyObject
* _obj1
= 0;
2990 char *_kwnames
[] = { "self","size", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3004 if (! wxSize_helper(_obj1
, &_arg1
))
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 wxCaret_SetSize(_arg0
,*_arg1
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) return NULL
;
3013 } Py_INCREF(Py_None
);
3014 _resultobj
= Py_None
;
3018 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3019 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3022 int _arg1
= (int ) TRUE
;
3023 PyObject
* _argo0
= 0;
3024 char *_kwnames
[] = { "self","show", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 wxCaret_Show(_arg0
,_arg1
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) return NULL
;
3042 } Py_INCREF(Py_None
);
3043 _resultobj
= Py_None
;
3047 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3048 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 wxCaret_Hide(_arg0
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3070 } Py_INCREF(Py_None
);
3071 _resultobj
= Py_None
;
3075 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3076 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3078 wxPyFontEnumerator
* _result
;
3079 char *_kwnames
[] = { NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) return NULL
;
3092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3093 _resultobj
= Py_BuildValue("s",_ptemp
);
3096 _resultobj
= Py_None
;
3101 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3102 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3104 wxPyFontEnumerator
* _arg0
;
3105 PyObject
* _argo0
= 0;
3106 char *_kwnames
[] = { "self", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 delete_wxPyFontEnumerator(_arg0
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) return NULL
;
3124 } Py_INCREF(Py_None
);
3125 _resultobj
= Py_None
;
3129 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3130 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3132 wxPyFontEnumerator
* _arg0
;
3136 PyObject
* _argo0
= 0;
3137 PyObject
* _obj1
= 0;
3138 PyObject
* _obj2
= 0;
3140 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3158 _arg3
= (bool ) tempbool3
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3171 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3174 wxPyFontEnumerator
* _arg0
;
3175 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3176 bool _arg2
= (bool ) FALSE
;
3177 PyObject
* _argo0
= 0;
3178 int tempbool2
= (int) FALSE
;
3179 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3191 _arg2
= (bool ) tempbool2
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) return NULL
;
3198 } _resultobj
= Py_BuildValue("i",_result
);
3202 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3203 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3206 wxPyFontEnumerator
* _arg0
;
3207 char * _arg1
= (char *) "";
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self","facename", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) return NULL
;
3227 } _resultobj
= Py_BuildValue("i",_result
);
3231 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3232 wxArrayString
* arr
= self
->GetEncodings();
3233 return wxArrayString2PyList_helper(*arr
);
3235 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3238 wxPyFontEnumerator
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3259 _resultobj
= _result
;
3264 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3265 wxArrayString
* arr
= self
->GetFacenames();
3266 return wxArrayString2PyList_helper(*arr
);
3268 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
* _resultobj
;
3271 wxPyFontEnumerator
* _arg0
;
3272 PyObject
* _argo0
= 0;
3273 char *_kwnames
[] = { "self", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) return NULL
;
3292 _resultobj
= _result
;
3297 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3298 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3300 wxBusyCursor
* _result
;
3301 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "cursor", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) return NULL
;
3323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3324 _resultobj
= Py_BuildValue("s",_ptemp
);
3327 _resultobj
= Py_None
;
3332 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3333 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3335 wxBusyCursor
* _arg0
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 delete_wxBusyCursor(_arg0
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3361 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxWindowDisabler
* _result
;
3364 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3365 PyObject
* _argo0
= 0;
3366 char *_kwnames
[] = { "winToSkip", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3387 _resultobj
= Py_BuildValue("s",_ptemp
);
3390 _resultobj
= Py_None
;
3395 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3396 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3398 wxWindowDisabler
* _arg0
;
3399 PyObject
* _argo0
= 0;
3400 char *_kwnames
[] = { "self", NULL
};
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 delete_wxWindowDisabler(_arg0
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) return NULL
;
3418 } Py_INCREF(Py_None
);
3419 _resultobj
= Py_None
;
3423 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3424 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3426 wxMutexGuiLocker
* _result
;
3427 char *_kwnames
[] = { NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3441 _resultobj
= Py_BuildValue("s",_ptemp
);
3444 _resultobj
= Py_None
;
3449 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3450 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxMutexGuiLocker
* _arg0
;
3453 PyObject
* _argo0
= 0;
3454 char *_kwnames
[] = { "self", NULL
};
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 delete_wxMutexGuiLocker(_arg0
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) return NULL
;
3472 } Py_INCREF(Py_None
);
3473 _resultobj
= Py_None
;
3477 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3478 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
* _resultobj
;
3480 wxTipProvider
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 delete_wxTipProvider(_arg0
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) return NULL
;
3500 } Py_INCREF(Py_None
);
3501 _resultobj
= Py_None
;
3505 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3506 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3509 wxTipProvider
* _arg0
;
3510 PyObject
* _argo0
= 0;
3511 char *_kwnames
[] = { "self", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) return NULL
;
3530 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3538 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3539 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3542 wxTipProvider
* _arg0
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3567 wxPyTipProvider
*src
;
3568 wxTipProvider
*dest
;
3569 src
= (wxPyTipProvider
*) ptr
;
3570 dest
= (wxTipProvider
*) src
;
3571 return (void *) dest
;
3574 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3575 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
* _resultobj
;
3577 wxPyTipProvider
* _result
;
3579 char *_kwnames
[] = { "currentTip", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3593 _resultobj
= Py_BuildValue("s",_ptemp
);
3596 _resultobj
= Py_None
;
3601 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3602 wxGenericDragImage
*src
;
3604 src
= (wxGenericDragImage
*) ptr
;
3605 dest
= (wxObject
*) src
;
3606 return (void *) dest
;
3609 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3610 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3612 wxGenericDragImage
* _result
;
3614 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3615 PyObject
* _argo0
= 0;
3616 PyObject
* _argo1
= 0;
3617 char *_kwnames
[] = { "image","cursor", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3645 _resultobj
= Py_BuildValue("s",_ptemp
);
3648 _resultobj
= Py_None
;
3653 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3654 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3656 wxGenericDragImage
* _result
;
3658 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3659 PyObject
* _argo0
= 0;
3660 PyObject
* _argo1
= 0;
3661 char *_kwnames
[] = { "image","cursor", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3689 _resultobj
= Py_BuildValue("s",_ptemp
);
3692 _resultobj
= Py_None
;
3697 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3698 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3700 wxGenericDragImage
* _result
;
3702 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3703 PyObject
* _obj0
= 0;
3704 PyObject
* _argo1
= 0;
3705 char *_kwnames
[] = { "str","cursor", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3712 #if PYTHON_API_VERSION >= 1009
3713 char* tmpPtr
; int tmpSize
;
3714 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3718 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3720 _arg0
= new wxString(tmpPtr
, tmpSize
);
3722 if (!PyString_Check(_obj0
)) {
3723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3726 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) return NULL
;
3743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3744 _resultobj
= Py_BuildValue("s",_ptemp
);
3747 _resultobj
= Py_None
;
3756 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3757 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3759 wxGenericDragImage
* _result
;
3761 wxTreeItemId
* _arg1
;
3762 PyObject
* _argo0
= 0;
3763 PyObject
* _argo1
= 0;
3764 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) return NULL
;
3791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3792 _resultobj
= Py_BuildValue("s",_ptemp
);
3795 _resultobj
= Py_None
;
3800 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3801 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3803 wxGenericDragImage
* _result
;
3806 PyObject
* _argo0
= 0;
3807 char *_kwnames
[] = { "listCtrl","id", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3828 _resultobj
= Py_BuildValue("s",_ptemp
);
3831 _resultobj
= Py_None
;
3836 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3837 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3839 wxGenericDragImage
* _arg0
;
3840 PyObject
* _argo0
= 0;
3841 char *_kwnames
[] = { "self", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 delete_wxGenericDragImage(_arg0
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) return NULL
;
3859 } Py_INCREF(Py_None
);
3860 _resultobj
= Py_None
;
3864 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3865 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
* _resultobj
;
3867 wxGenericDragImage
* _arg0
;
3869 PyObject
* _argo0
= 0;
3870 PyObject
* _argo1
= 0;
3871 char *_kwnames
[] = { "self","bitmap", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) return NULL
;
3896 } Py_INCREF(Py_None
);
3897 _resultobj
= Py_None
;
3901 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3902 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3905 wxGenericDragImage
* _arg0
;
3908 bool _arg3
= (bool ) FALSE
;
3909 wxRect
* _arg4
= (wxRect
*) NULL
;
3910 PyObject
* _argo0
= 0;
3912 PyObject
* _obj1
= 0;
3913 PyObject
* _argo2
= 0;
3914 int tempbool3
= (int) FALSE
;
3916 PyObject
* _obj4
= 0;
3917 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3931 if (! wxPoint_helper(_obj1
, &_arg1
))
3935 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3941 _arg3
= (bool ) tempbool3
;
3945 if (! wxRect_helper(_obj4
, &_arg4
))
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) return NULL
;
3954 } _resultobj
= Py_BuildValue("i",_result
);
3958 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3959 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3962 wxGenericDragImage
* _arg0
;
3966 PyObject
* _argo0
= 0;
3968 PyObject
* _obj1
= 0;
3969 PyObject
* _argo2
= 0;
3970 PyObject
* _argo3
= 0;
3971 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3985 if (! wxPoint_helper(_obj1
, &_arg1
))
3989 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3996 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) return NULL
;
4008 } _resultobj
= Py_BuildValue("i",_result
);
4012 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4013 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4016 wxGenericDragImage
* _arg0
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) return NULL
;
4036 } _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4041 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4044 wxGenericDragImage
* _arg0
;
4046 PyObject
* _argo0
= 0;
4048 PyObject
* _obj1
= 0;
4049 char *_kwnames
[] = { "self","pt", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4063 if (! wxPoint_helper(_obj1
, &_arg1
))
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) return NULL
;
4072 } _resultobj
= Py_BuildValue("i",_result
);
4076 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4077 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4080 wxGenericDragImage
* _arg0
;
4081 PyObject
* _argo0
= 0;
4082 char *_kwnames
[] = { "self", NULL
};
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 _result
= (bool )wxDragImage_Show(_arg0
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) return NULL
;
4100 } _resultobj
= Py_BuildValue("i",_result
);
4104 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4105 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
* _resultobj
;
4108 wxGenericDragImage
* _arg0
;
4109 PyObject
* _argo0
= 0;
4110 char *_kwnames
[] = { "self", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 _result
= (bool )wxDragImage_Hide(_arg0
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) return NULL
;
4128 } _resultobj
= Py_BuildValue("i",_result
);
4132 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4133 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4136 wxGenericDragImage
* _arg0
;
4138 PyObject
* _argo0
= 0;
4140 PyObject
* _obj1
= 0;
4141 char *_kwnames
[] = { "self","pos", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4156 if (! wxPoint_helper(_obj1
, &_arg1
))
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) return NULL
;
4165 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4166 _resultobj
= Py_BuildValue("s",_ptemp
);
4170 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4171 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
* _resultobj
;
4174 wxGenericDragImage
* _arg0
;
4179 PyObject
* _argo0
= 0;
4181 PyObject
* _obj1
= 0;
4183 PyObject
* _obj2
= 0;
4186 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4200 if (! wxPoint_helper(_obj1
, &_arg1
))
4205 if (! wxPoint_helper(_obj2
, &_arg2
))
4208 _arg3
= (bool ) tempbool3
;
4209 _arg4
= (bool ) tempbool4
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) return NULL
;
4216 } _resultobj
= Py_BuildValue("i",_result
);
4220 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4223 src
= (wxPyTimer
*) ptr
;
4224 dest
= (wxObject
*) src
;
4225 return (void *) dest
;
4228 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4229 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4231 wxPyTimer
* _result
;
4233 PyObject
* _obj0
= 0;
4234 char *_kwnames
[] = { "notify", NULL
};
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) return NULL
;
4250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4251 _resultobj
= Py_BuildValue("s",_ptemp
);
4254 _resultobj
= Py_None
;
4259 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4260 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4263 PyObject
* _argo0
= 0;
4264 char *_kwnames
[] = { "self", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 delete_wxPyTimer(_arg0
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) return NULL
;
4282 } Py_INCREF(Py_None
);
4283 _resultobj
= Py_None
;
4287 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4288 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
* _resultobj
;
4292 PyObject
* _argo0
= 0;
4293 char *_kwnames
[] = { "self", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) return NULL
;
4311 } _resultobj
= Py_BuildValue("i",_result
);
4315 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4316 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4320 PyObject
* _argo0
= 0;
4321 char *_kwnames
[] = { "self", NULL
};
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) return NULL
;
4339 } _resultobj
= Py_BuildValue("i",_result
);
4343 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4344 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4348 PyObject
* _argo0
= 0;
4349 char *_kwnames
[] = { "self", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) return NULL
;
4367 } _resultobj
= Py_BuildValue("i",_result
);
4371 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4372 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4375 wxEvtHandler
* _arg1
;
4376 int _arg2
= (int ) -1;
4377 PyObject
* _argo0
= 0;
4378 PyObject
* _argo1
= 0;
4379 char *_kwnames
[] = { "self","owner","id", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) return NULL
;
4404 } Py_INCREF(Py_None
);
4405 _resultobj
= Py_None
;
4409 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4410 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 int _arg1
= (int ) -1;
4414 int _arg2
= (int ) FALSE
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) return NULL
;
4434 } Py_INCREF(Py_None
);
4435 _resultobj
= Py_None
;
4439 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4440 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 wxPyTimer_Stop(_arg0
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 } Py_INCREF(Py_None
);
4463 _resultobj
= Py_None
;
4467 #define new_wxStopWatch() (new wxStopWatch())
4468 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4470 wxStopWatch
* _result
;
4471 char *_kwnames
[] = { NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 _result
= (wxStopWatch
*)new_wxStopWatch();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) return NULL
;
4484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4485 _resultobj
= Py_BuildValue("s",_ptemp
);
4488 _resultobj
= Py_None
;
4493 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4494 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
* _resultobj
;
4496 wxStopWatch
* _arg0
;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 delete_wxStopWatch(_arg0
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4522 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4524 wxStopWatch
* _arg0
;
4525 long _arg1
= (long ) 0;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self","t", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxStopWatch_Start(_arg0
,_arg1
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) return NULL
;
4545 } Py_INCREF(Py_None
);
4546 _resultobj
= Py_None
;
4550 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4551 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4553 wxStopWatch
* _arg0
;
4554 PyObject
* _argo0
= 0;
4555 char *_kwnames
[] = { "self", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxStopWatch_Pause(_arg0
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) return NULL
;
4573 } Py_INCREF(Py_None
);
4574 _resultobj
= Py_None
;
4578 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4579 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4581 wxStopWatch
* _arg0
;
4582 PyObject
* _argo0
= 0;
4583 char *_kwnames
[] = { "self", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 wxStopWatch_Resume(_arg0
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) return NULL
;
4601 } Py_INCREF(Py_None
);
4602 _resultobj
= Py_None
;
4606 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4607 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4610 wxStopWatch
* _arg0
;
4611 PyObject
* _argo0
= 0;
4612 char *_kwnames
[] = { "self", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 _result
= (long )wxStopWatch_Time(_arg0
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) return NULL
;
4630 } _resultobj
= Py_BuildValue("l",_result
);
4634 #define new_wxLog() (new wxLog())
4635 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4638 char *_kwnames
[] = { NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 _result
= (wxLog
*)new_wxLog();
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) return NULL
;
4651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4652 _resultobj
= Py_BuildValue("s",_ptemp
);
4655 _resultobj
= Py_None
;
4660 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4663 char *_kwnames
[] = { NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 _result
= (bool )wxLog::IsEnabled();
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) return NULL
;
4674 } _resultobj
= Py_BuildValue("i",_result
);
4678 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
* _resultobj
;
4681 bool _arg0
= (bool ) TRUE
;
4682 int tempbool0
= (int) TRUE
;
4683 char *_kwnames
[] = { "doIt", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4688 _arg0
= (bool ) tempbool0
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 _result
= (bool )wxLog::EnableLogging(_arg0
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) return NULL
;
4695 } _resultobj
= Py_BuildValue("i",_result
);
4699 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
* _resultobj
;
4703 int _arg2
= (int ) 0;
4704 PyObject
* _argo0
= 0;
4705 char *_kwnames
[] = { "level","szString","t", NULL
};
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) return NULL
;
4723 } Py_INCREF(Py_None
);
4724 _resultobj
= Py_None
;
4728 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4729 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4732 PyObject
* _argo0
= 0;
4733 char *_kwnames
[] = { "self", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4751 } Py_INCREF(Py_None
);
4752 _resultobj
= Py_None
;
4756 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4757 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4761 PyObject
* _argo0
= 0;
4762 char *_kwnames
[] = { "self", NULL
};
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) return NULL
;
4780 } _resultobj
= Py_BuildValue("i",_result
);
4784 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4786 char *_kwnames
[] = { NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 wxLog::FlushActive();
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) return NULL
;
4797 } Py_INCREF(Py_None
);
4798 _resultobj
= Py_None
;
4802 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4805 char *_kwnames
[] = { NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 _result
= (wxLog
*)wxLog::GetActiveTarget();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) return NULL
;
4818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4819 _resultobj
= Py_BuildValue("s",_ptemp
);
4822 _resultobj
= Py_None
;
4827 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4831 PyObject
* _argo0
= 0;
4832 char *_kwnames
[] = { "pLogger", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) return NULL
;
4852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4853 _resultobj
= Py_BuildValue("s",_ptemp
);
4856 _resultobj
= Py_None
;
4861 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4863 char *_kwnames
[] = { NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) return NULL
;
4874 } Py_INCREF(Py_None
);
4875 _resultobj
= Py_None
;
4879 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
* _resultobj
;
4881 char *_kwnames
[] = { NULL
};
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) return NULL
;
4892 } Py_INCREF(Py_None
);
4893 _resultobj
= Py_None
;
4897 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4898 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4901 bool _arg1
= (bool ) TRUE
;
4902 PyObject
* _argo0
= 0;
4903 int tempbool1
= (int) TRUE
;
4904 char *_kwnames
[] = { "self","bVerbose", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4916 _arg1
= (bool ) tempbool1
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 wxLog_SetVerbose(_arg0
,_arg1
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) return NULL
;
4923 } Py_INCREF(Py_None
);
4924 _resultobj
= Py_None
;
4928 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4930 char *_kwnames
[] = { NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 wxLog::DontCreateOnDemand();
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) return NULL
;
4941 } Py_INCREF(Py_None
);
4942 _resultobj
= Py_None
;
4946 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 wxTraceMask
* _arg0
;
4949 PyObject
* _argo0
= 0;
4950 char *_kwnames
[] = { "ulMask", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 wxLog::SetTraceMask(*_arg0
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) return NULL
;
4968 } Py_INCREF(Py_None
);
4969 _resultobj
= Py_None
;
4973 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4976 PyObject
* _obj0
= 0;
4977 char *_kwnames
[] = { "str", NULL
};
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4983 #if PYTHON_API_VERSION >= 1009
4984 char* tmpPtr
; int tmpSize
;
4985 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4989 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4991 _arg0
= new wxString(tmpPtr
, tmpSize
);
4993 if (!PyString_Check(_obj0
)) {
4994 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4997 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 wxLog::AddTraceMask(*_arg0
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } Py_INCREF(Py_None
);
5007 _resultobj
= Py_None
;
5015 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5018 PyObject
* _obj0
= 0;
5019 char *_kwnames
[] = { "str", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5025 #if PYTHON_API_VERSION >= 1009
5026 char* tmpPtr
; int tmpSize
;
5027 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
5028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5031 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
5033 _arg0
= new wxString(tmpPtr
, tmpSize
);
5035 if (!PyString_Check(_obj0
)) {
5036 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5039 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 wxLog::RemoveTraceMask(*_arg0
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) return NULL
;
5048 } Py_INCREF(Py_None
);
5049 _resultobj
= Py_None
;
5057 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5059 char *_kwnames
[] = { NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 wxLog::ClearTraceMasks();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) return NULL
;
5070 } Py_INCREF(Py_None
);
5071 _resultobj
= Py_None
;
5075 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
* _resultobj
;
5078 char *_kwnames
[] = { "ts", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxLog::SetTimestamp(_arg0
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5097 char *_kwnames
[] = { NULL
};
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 _result
= (wxChar
*)wxLog::GetTimestamp();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) return NULL
;
5108 } _resultobj
= Py_BuildValue("s", _result
);
5112 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5113 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5117 PyObject
* _argo0
= 0;
5118 char *_kwnames
[] = { "self", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 _result
= (bool )wxLog_GetVerbose(_arg0
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) return NULL
;
5136 } _resultobj
= Py_BuildValue("i",_result
);
5140 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5142 wxTraceMask
* _result
;
5143 char *_kwnames
[] = { NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 _result
= new wxTraceMask (wxLog::GetTraceMask());
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) return NULL
;
5155 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5156 _resultobj
= Py_BuildValue("s",_ptemp
);
5160 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5164 char *_kwnames
[] = { "mask", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) return NULL
;
5175 } _resultobj
= Py_BuildValue("i",_result
);
5179 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5181 wxLog::TimeStamp(&msg
);
5184 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5188 PyObject
* _argo0
= 0;
5189 char *_kwnames
[] = { "self", NULL
};
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) return NULL
;
5208 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5216 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5219 src
= (wxLogStderr
*) ptr
;
5220 dest
= (wxLog
*) src
;
5221 return (void *) dest
;
5224 #define new_wxLogStderr() (new wxLogStderr())
5225 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
* _resultobj
;
5227 wxLogStderr
* _result
;
5228 char *_kwnames
[] = { NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 _result
= (wxLogStderr
*)new_wxLogStderr();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) return NULL
;
5241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5242 _resultobj
= Py_BuildValue("s",_ptemp
);
5245 _resultobj
= Py_None
;
5250 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5253 src
= (wxLogTextCtrl
*) ptr
;
5254 dest
= (wxLog
*) src
;
5255 return (void *) dest
;
5258 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5259 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5261 wxLogTextCtrl
* _result
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "pTextCtrl", NULL
};
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) return NULL
;
5284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5285 _resultobj
= Py_BuildValue("s",_ptemp
);
5288 _resultobj
= Py_None
;
5293 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5296 src
= (wxLogGui
*) ptr
;
5297 dest
= (wxLog
*) src
;
5298 return (void *) dest
;
5301 #define new_wxLogGui() (new wxLogGui())
5302 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5305 char *_kwnames
[] = { NULL
};
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 _result
= (wxLogGui
*)new_wxLogGui();
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) return NULL
;
5318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5319 _resultobj
= Py_BuildValue("s",_ptemp
);
5322 _resultobj
= Py_None
;
5327 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5330 src
= (wxLogWindow
*) ptr
;
5331 dest
= (wxLog
*) src
;
5332 return (void *) dest
;
5335 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5336 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5338 wxLogWindow
* _result
;
5341 bool _arg2
= (bool ) TRUE
;
5342 bool _arg3
= (bool ) TRUE
;
5343 PyObject
* _argo0
= 0;
5344 int tempbool2
= (int) TRUE
;
5345 int tempbool3
= (int) TRUE
;
5346 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5359 _arg2
= (bool ) tempbool2
;
5360 _arg3
= (bool ) tempbool3
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) return NULL
;
5368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5369 _resultobj
= Py_BuildValue("s",_ptemp
);
5372 _resultobj
= Py_None
;
5377 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5378 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
* _resultobj
;
5380 wxLogWindow
* _arg0
;
5381 bool _arg1
= (bool ) TRUE
;
5382 PyObject
* _argo0
= 0;
5383 int tempbool1
= (int) TRUE
;
5384 char *_kwnames
[] = { "self","bShow", NULL
};
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5396 _arg1
= (bool ) tempbool1
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 wxLogWindow_Show(_arg0
,_arg1
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) return NULL
;
5403 } Py_INCREF(Py_None
);
5404 _resultobj
= Py_None
;
5408 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5409 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5412 wxLogWindow
* _arg0
;
5413 PyObject
* _argo0
= 0;
5414 char *_kwnames
[] = { "self", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) return NULL
;
5432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5436 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5437 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5440 wxLogWindow
* _arg0
;
5441 PyObject
* _argo0
= 0;
5442 char *_kwnames
[] = { "self", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5463 _resultobj
= Py_BuildValue("s",_ptemp
);
5466 _resultobj
= Py_None
;
5471 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5472 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5475 wxLogWindow
* _arg0
;
5476 PyObject
* _argo0
= 0;
5477 char *_kwnames
[] = { "self", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) return NULL
;
5495 } _resultobj
= Py_BuildValue("i",_result
);
5499 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5500 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
* _resultobj
;
5502 wxLogWindow
* _arg0
;
5504 PyObject
* _argo0
= 0;
5506 char *_kwnames
[] = { "self","bDoPass", NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5518 _arg1
= (bool ) tempbool1
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 wxLogWindow_PassMessages(_arg0
,_arg1
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) return NULL
;
5525 } Py_INCREF(Py_None
);
5526 _resultobj
= Py_None
;
5530 #define new_wxLogNull() (new wxLogNull())
5531 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
* _resultobj
;
5533 wxLogNull
* _result
;
5534 char *_kwnames
[] = { NULL
};
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 _result
= (wxLogNull
*)new_wxLogNull();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) return NULL
;
5547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5548 _resultobj
= Py_BuildValue("s",_ptemp
);
5551 _resultobj
= Py_None
;
5556 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5557 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5560 PyObject
* _argo0
= 0;
5561 char *_kwnames
[] = { "self", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 delete_wxLogNull(_arg0
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) return NULL
;
5579 } Py_INCREF(Py_None
);
5580 _resultobj
= Py_None
;
5584 static void *SwigwxLogChainTowxLog(void *ptr
) {
5587 src
= (wxLogChain
*) ptr
;
5588 dest
= (wxLog
*) src
;
5589 return (void *) dest
;
5592 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5593 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
* _resultobj
;
5595 wxLogChain
* _result
;
5597 PyObject
* _argo0
= 0;
5598 char *_kwnames
[] = { "logger", NULL
};
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) return NULL
;
5618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5619 _resultobj
= Py_BuildValue("s",_ptemp
);
5622 _resultobj
= Py_None
;
5627 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5628 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
* _resultobj
;
5632 PyObject
* _argo0
= 0;
5633 PyObject
* _argo1
= 0;
5634 char *_kwnames
[] = { "self","logger", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 wxLogChain_SetLog(_arg0
,_arg1
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) return NULL
;
5659 } Py_INCREF(Py_None
);
5660 _resultobj
= Py_None
;
5664 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5665 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5669 PyObject
* _argo0
= 0;
5671 char *_kwnames
[] = { "self","bDoPass", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5683 _arg1
= (bool ) tempbool1
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 wxLogChain_PassMessages(_arg0
,_arg1
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) return NULL
;
5690 } Py_INCREF(Py_None
);
5691 _resultobj
= Py_None
;
5695 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5696 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5700 PyObject
* _argo0
= 0;
5701 char *_kwnames
[] = { "self", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) return NULL
;
5719 } _resultobj
= Py_BuildValue("i",_result
);
5723 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5724 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5728 PyObject
* _argo0
= 0;
5729 char *_kwnames
[] = { "self", NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) return NULL
;
5749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5750 _resultobj
= Py_BuildValue("s",_ptemp
);
5753 _resultobj
= Py_None
;
5758 static void *SwigwxPyLogTowxLog(void *ptr
) {
5761 src
= (wxPyLog
*) ptr
;
5762 dest
= (wxLog
*) src
;
5763 return (void *) dest
;
5766 #define new_wxPyLog() (new wxPyLog())
5767 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5770 char *_kwnames
[] = { NULL
};
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 _result
= (wxPyLog
*)new_wxPyLog();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5784 _resultobj
= Py_BuildValue("s",_ptemp
);
5787 _resultobj
= Py_None
;
5792 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5793 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
* _resultobj
;
5798 PyObject
* _argo0
= 0;
5799 PyObject
* _obj1
= 0;
5800 PyObject
* _obj2
= 0;
5801 char *_kwnames
[] = { "self","self","_class", NULL
};
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) return NULL
;
5825 } Py_INCREF(Py_None
);
5826 _resultobj
= Py_None
;
5830 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5831 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 wxPyLog_Destroy(_arg0
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) return NULL
;
5853 } Py_INCREF(Py_None
);
5854 _resultobj
= Py_None
;
5858 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5859 wxProcessEvent
*src
;
5861 src
= (wxProcessEvent
*) ptr
;
5862 dest
= (wxEvent
*) src
;
5863 return (void *) dest
;
5866 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5867 wxProcessEvent
*src
;
5869 src
= (wxProcessEvent
*) ptr
;
5870 dest
= (wxObject
*) src
;
5871 return (void *) dest
;
5874 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5875 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5877 wxProcessEvent
* _result
;
5878 int _arg0
= (int ) 0;
5879 int _arg1
= (int ) 0;
5880 int _arg2
= (int ) 0;
5881 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) return NULL
;
5894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5895 _resultobj
= Py_BuildValue("s",_ptemp
);
5898 _resultobj
= Py_None
;
5903 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5904 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5907 wxProcessEvent
* _arg0
;
5908 PyObject
* _argo0
= 0;
5909 char *_kwnames
[] = { "self", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) return NULL
;
5927 } _resultobj
= Py_BuildValue("i",_result
);
5931 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5932 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5935 wxProcessEvent
* _arg0
;
5936 PyObject
* _argo0
= 0;
5937 char *_kwnames
[] = { "self", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) return NULL
;
5955 } _resultobj
= Py_BuildValue("i",_result
);
5959 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5960 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
* _resultobj
;
5963 wxProcessEvent
* _arg0
;
5965 PyObject
* _argo0
= 0;
5966 char *_kwnames
[] = { "self","m_pid", NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) return NULL
;
5984 } _resultobj
= Py_BuildValue("i",_result
);
5988 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5989 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5992 wxProcessEvent
* _arg0
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) return NULL
;
6012 } _resultobj
= Py_BuildValue("i",_result
);
6016 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6017 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6020 wxProcessEvent
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) return NULL
;
6041 } _resultobj
= Py_BuildValue("i",_result
);
6045 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6046 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6049 wxProcessEvent
* _arg0
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) return NULL
;
6069 } _resultobj
= Py_BuildValue("i",_result
);
6073 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6076 src
= (wxPyProcess
*) ptr
;
6077 dest
= (wxEvtHandler
*) src
;
6078 return (void *) dest
;
6081 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6084 src
= (wxPyProcess
*) ptr
;
6085 dest
= (wxObject
*) src
;
6086 return (void *) dest
;
6089 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6090 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
* _resultobj
;
6092 wxPyProcess
* _result
;
6093 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6094 int _arg1
= (int ) -1;
6095 PyObject
* _argo0
= 0;
6096 char *_kwnames
[] = { "parent","id", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) return NULL
;
6116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6117 _resultobj
= Py_BuildValue("s",_ptemp
);
6120 _resultobj
= Py_None
;
6125 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6126 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6128 wxPyProcess
* _arg0
;
6129 PyObject
* _argo0
= 0;
6130 char *_kwnames
[] = { "self", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 wxPyProcess_Destroy(_arg0
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) return NULL
;
6148 } Py_INCREF(Py_None
);
6149 _resultobj
= Py_None
;
6153 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6154 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6156 wxPyProcess
* _arg0
;
6159 PyObject
* _argo0
= 0;
6160 PyObject
* _obj1
= 0;
6161 PyObject
* _obj2
= 0;
6162 char *_kwnames
[] = { "self","self","_class", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) return NULL
;
6186 } Py_INCREF(Py_None
);
6187 _resultobj
= Py_None
;
6191 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6192 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
* _resultobj
;
6194 wxPyProcess
* _arg0
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self","pid","status", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) return NULL
;
6216 } Py_INCREF(Py_None
);
6217 _resultobj
= Py_None
;
6221 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6222 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6224 wxPyProcess
* _arg0
;
6225 PyObject
* _argo0
= 0;
6226 char *_kwnames
[] = { "self", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 wxProcess_Redirect(_arg0
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) return NULL
;
6244 } Py_INCREF(Py_None
);
6245 _resultobj
= Py_None
;
6249 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6250 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
* _resultobj
;
6253 wxPyProcess
* _arg0
;
6254 PyObject
* _argo0
= 0;
6255 char *_kwnames
[] = { "self", NULL
};
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) return NULL
;
6273 } _resultobj
= Py_BuildValue("i",_result
);
6277 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6278 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
* _resultobj
;
6280 wxPyProcess
* _arg0
;
6281 PyObject
* _argo0
= 0;
6282 char *_kwnames
[] = { "self", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 wxProcess_Detach(_arg0
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6300 } Py_INCREF(Py_None
);
6301 _resultobj
= Py_None
;
6305 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6306 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6308 wxInputStream
* _result
;
6309 wxPyProcess
* _arg0
;
6310 PyObject
* _argo0
= 0;
6311 char *_kwnames
[] = { "self", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) return NULL
;
6330 wxPyInputStream
* _ptr
= NULL
;
6333 _ptr
= new wxPyInputStream(_result
);
6335 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6340 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6341 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
* _resultobj
;
6343 wxInputStream
* _result
;
6344 wxPyProcess
* _arg0
;
6345 PyObject
* _argo0
= 0;
6346 char *_kwnames
[] = { "self", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) return NULL
;
6365 wxPyInputStream
* _ptr
= NULL
;
6368 _ptr
= new wxPyInputStream(_result
);
6370 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6375 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6376 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
* _resultobj
;
6378 wxOutputStream
* _result
;
6379 wxPyProcess
* _arg0
;
6380 PyObject
* _argo0
= 0;
6381 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) return NULL
;
6401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6402 _resultobj
= Py_BuildValue("s",_ptemp
);
6405 _resultobj
= Py_None
;
6410 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6411 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6413 wxPyProcess
* _arg0
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 wxProcess_CloseOutput(_arg0
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) return NULL
;
6433 } Py_INCREF(Py_None
);
6434 _resultobj
= Py_None
;
6438 static void *SwigwxJoystickTowxObject(void *ptr
) {
6441 src
= (wxJoystick
*) ptr
;
6442 dest
= (wxObject
*) src
;
6443 return (void *) dest
;
6446 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6447 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
* _resultobj
;
6449 wxJoystick
* _result
;
6450 int _arg0
= (int ) wxJOYSTICK1
;
6451 char *_kwnames
[] = { "joystick", NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6465 _resultobj
= Py_BuildValue("s",_ptemp
);
6468 _resultobj
= Py_None
;
6473 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6474 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6477 PyObject
* _argo0
= 0;
6478 char *_kwnames
[] = { "self", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 delete_wxJoystick(_arg0
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) return NULL
;
6496 } Py_INCREF(Py_None
);
6497 _resultobj
= Py_None
;
6501 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6502 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) return NULL
;
6526 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6527 _resultobj
= Py_BuildValue("s",_ptemp
);
6531 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6532 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6536 PyObject
* _argo0
= 0;
6537 char *_kwnames
[] = { "self", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) return NULL
;
6555 } _resultobj
= Py_BuildValue("i",_result
);
6559 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6560 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6564 PyObject
* _argo0
= 0;
6565 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6583 } _resultobj
= Py_BuildValue("i",_result
);
6587 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6588 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } _resultobj
= Py_BuildValue("i",_result
);
6615 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6616 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6620 PyObject
* _argo0
= 0;
6621 char *_kwnames
[] = { "self", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) return NULL
;
6639 } _resultobj
= Py_BuildValue("i",_result
);
6643 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6644 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) return NULL
;
6667 } _resultobj
= Py_BuildValue("i",_result
);
6671 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6672 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) return NULL
;
6695 } _resultobj
= Py_BuildValue("i",_result
);
6699 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6700 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6704 PyObject
* _argo0
= 0;
6705 char *_kwnames
[] = { "self", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) return NULL
;
6723 } _resultobj
= Py_BuildValue("i",_result
);
6727 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6728 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } _resultobj
= Py_BuildValue("i",_result
);
6755 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6756 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self","threshold", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) return NULL
;
6779 } Py_INCREF(Py_None
);
6780 _resultobj
= Py_None
;
6784 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6785 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6789 PyObject
* _argo0
= 0;
6790 char *_kwnames
[] = { "self", NULL
};
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 _result
= (bool )wxJoystick_IsOk(_arg0
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) return NULL
;
6808 } _resultobj
= Py_BuildValue("i",_result
);
6812 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6813 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 char *_kwnames
[] = { "self", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6836 } _resultobj
= Py_BuildValue("i",_result
);
6840 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6841 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
* _resultobj
;
6845 PyObject
* _argo0
= 0;
6846 char *_kwnames
[] = { "self", NULL
};
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) return NULL
;
6864 } _resultobj
= Py_BuildValue("i",_result
);
6868 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6869 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 _result
= (int )wxJoystick_GetProductId(_arg0
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) return NULL
;
6892 } _resultobj
= Py_BuildValue("i",_result
);
6896 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6897 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6901 PyObject
* _argo0
= 0;
6902 char *_kwnames
[] = { "self", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) return NULL
;
6921 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6929 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6930 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6934 PyObject
* _argo0
= 0;
6935 char *_kwnames
[] = { "self", NULL
};
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 _result
= (int )wxJoystick_GetXMin(_arg0
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) return NULL
;
6953 } _resultobj
= Py_BuildValue("i",_result
);
6957 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6958 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6962 PyObject
* _argo0
= 0;
6963 char *_kwnames
[] = { "self", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 _result
= (int )wxJoystick_GetYMin(_arg0
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) return NULL
;
6981 } _resultobj
= Py_BuildValue("i",_result
);
6985 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6986 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
* _resultobj
;
6990 PyObject
* _argo0
= 0;
6991 char *_kwnames
[] = { "self", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 _result
= (int )wxJoystick_GetZMin(_arg0
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) return NULL
;
7009 } _resultobj
= Py_BuildValue("i",_result
);
7013 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7014 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7018 PyObject
* _argo0
= 0;
7019 char *_kwnames
[] = { "self", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 _result
= (int )wxJoystick_GetXMax(_arg0
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) return NULL
;
7037 } _resultobj
= Py_BuildValue("i",_result
);
7041 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7042 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7046 PyObject
* _argo0
= 0;
7047 char *_kwnames
[] = { "self", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 _result
= (int )wxJoystick_GetYMax(_arg0
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7065 } _resultobj
= Py_BuildValue("i",_result
);
7069 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7070 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7074 PyObject
* _argo0
= 0;
7075 char *_kwnames
[] = { "self", NULL
};
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 _result
= (int )wxJoystick_GetZMax(_arg0
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) return NULL
;
7093 } _resultobj
= Py_BuildValue("i",_result
);
7097 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7098 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
* _resultobj
;
7102 PyObject
* _argo0
= 0;
7103 char *_kwnames
[] = { "self", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) return NULL
;
7121 } _resultobj
= Py_BuildValue("i",_result
);
7125 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7126 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7130 PyObject
* _argo0
= 0;
7131 char *_kwnames
[] = { "self", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) return NULL
;
7149 } _resultobj
= Py_BuildValue("i",_result
);
7153 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7154 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } _resultobj
= Py_BuildValue("i",_result
);
7181 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7182 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) return NULL
;
7205 } _resultobj
= Py_BuildValue("i",_result
);
7209 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7210 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7214 PyObject
* _argo0
= 0;
7215 char *_kwnames
[] = { "self", NULL
};
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) return NULL
;
7233 } _resultobj
= Py_BuildValue("i",_result
);
7237 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7238 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7242 PyObject
* _argo0
= 0;
7243 char *_kwnames
[] = { "self", NULL
};
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) return NULL
;
7261 } _resultobj
= Py_BuildValue("i",_result
);
7265 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7266 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
* _resultobj
;
7270 PyObject
* _argo0
= 0;
7271 char *_kwnames
[] = { "self", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) return NULL
;
7289 } _resultobj
= Py_BuildValue("i",_result
);
7293 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7294 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
* _resultobj
;
7298 PyObject
* _argo0
= 0;
7299 char *_kwnames
[] = { "self", NULL
};
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) return NULL
;
7317 } _resultobj
= Py_BuildValue("i",_result
);
7321 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7322 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 _result
= (int )wxJoystick_GetUMin(_arg0
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) return NULL
;
7345 } _resultobj
= Py_BuildValue("i",_result
);
7349 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7350 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7354 PyObject
* _argo0
= 0;
7355 char *_kwnames
[] = { "self", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 _result
= (int )wxJoystick_GetUMax(_arg0
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) return NULL
;
7373 } _resultobj
= Py_BuildValue("i",_result
);
7377 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7378 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7382 PyObject
* _argo0
= 0;
7383 char *_kwnames
[] = { "self", NULL
};
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 _result
= (int )wxJoystick_GetVMin(_arg0
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) return NULL
;
7401 } _resultobj
= Py_BuildValue("i",_result
);
7405 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7406 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7410 PyObject
* _argo0
= 0;
7411 char *_kwnames
[] = { "self", NULL
};
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 _result
= (int )wxJoystick_GetVMax(_arg0
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7429 } _resultobj
= Py_BuildValue("i",_result
);
7433 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7434 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7438 PyObject
* _argo0
= 0;
7439 char *_kwnames
[] = { "self", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) return NULL
;
7457 } _resultobj
= Py_BuildValue("i",_result
);
7461 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7462 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
* _resultobj
;
7466 PyObject
* _argo0
= 0;
7467 char *_kwnames
[] = { "self", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 _result
= (bool )wxJoystick_HasZ(_arg0
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } _resultobj
= Py_BuildValue("i",_result
);
7489 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7490 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7494 PyObject
* _argo0
= 0;
7495 char *_kwnames
[] = { "self", NULL
};
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 _result
= (bool )wxJoystick_HasU(_arg0
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) return NULL
;
7513 } _resultobj
= Py_BuildValue("i",_result
);
7517 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7518 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 PyObject
* _argo0
= 0;
7523 char *_kwnames
[] = { "self", NULL
};
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 _result
= (bool )wxJoystick_HasV(_arg0
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) return NULL
;
7541 } _resultobj
= Py_BuildValue("i",_result
);
7545 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7546 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7551 char *_kwnames
[] = { "self", NULL
};
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) return NULL
;
7569 } _resultobj
= Py_BuildValue("i",_result
);
7573 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7574 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7578 PyObject
* _argo0
= 0;
7579 char *_kwnames
[] = { "self", NULL
};
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) return NULL
;
7597 } _resultobj
= Py_BuildValue("i",_result
);
7601 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7602 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
* _resultobj
;
7606 PyObject
* _argo0
= 0;
7607 char *_kwnames
[] = { "self", NULL
};
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) return NULL
;
7625 } _resultobj
= Py_BuildValue("i",_result
);
7629 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7630 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
* _resultobj
;
7635 int _arg2
= (int ) 0;
7636 PyObject
* _argo0
= 0;
7637 PyObject
* _argo1
= 0;
7638 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) return NULL
;
7663 } _resultobj
= Py_BuildValue("i",_result
);
7667 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7668 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
* _resultobj
;
7672 PyObject
* _argo0
= 0;
7673 char *_kwnames
[] = { "self", NULL
};
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) return NULL
;
7691 } _resultobj
= Py_BuildValue("i",_result
);
7695 static void *SwigwxWaveTowxObject(void *ptr
) {
7698 src
= (wxWave
*) ptr
;
7699 dest
= (wxObject
*) src
;
7700 return (void *) dest
;
7703 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7704 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
* _resultobj
;
7708 bool _arg1
= (bool ) FALSE
;
7709 PyObject
* _obj0
= 0;
7710 int tempbool1
= (int) FALSE
;
7711 char *_kwnames
[] = { "fileName","isResource", NULL
};
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7718 #if PYTHON_API_VERSION >= 1009
7719 char* tmpPtr
; int tmpSize
;
7720 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7724 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7726 _arg0
= new wxString(tmpPtr
, tmpSize
);
7728 if (!PyString_Check(_obj0
)) {
7729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7732 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7735 _arg1
= (bool ) tempbool1
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) return NULL
;
7743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7744 _resultobj
= Py_BuildValue("s",_ptemp
);
7747 _resultobj
= Py_None
;
7756 #define delete_wxWave(_swigobj) (delete _swigobj)
7757 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
* _resultobj
;
7760 PyObject
* _argo0
= 0;
7761 char *_kwnames
[] = { "self", NULL
};
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 delete_wxWave(_arg0
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) return NULL
;
7779 } Py_INCREF(Py_None
);
7780 _resultobj
= Py_None
;
7784 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7785 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
* _resultobj
;
7789 PyObject
* _argo0
= 0;
7790 char *_kwnames
[] = { "self", NULL
};
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 _result
= (bool )wxWave_IsOk(_arg0
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) return NULL
;
7808 } _resultobj
= Py_BuildValue("i",_result
);
7812 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7813 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7817 bool _arg1
= (bool ) TRUE
;
7818 bool _arg2
= (bool ) FALSE
;
7819 PyObject
* _argo0
= 0;
7820 int tempbool1
= (int) TRUE
;
7821 int tempbool2
= (int) FALSE
;
7822 char *_kwnames
[] = { "self","async","looped", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7834 _arg1
= (bool ) tempbool1
;
7835 _arg2
= (bool ) tempbool2
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) return NULL
;
7842 } _resultobj
= Py_BuildValue("i",_result
);
7846 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7847 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
* _resultobj
;
7849 wxFileTypeInfo
* _result
;
7854 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) return NULL
;
7867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7868 _resultobj
= Py_BuildValue("s",_ptemp
);
7871 _resultobj
= Py_None
;
7876 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7877 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
* _resultobj
;
7879 wxFileTypeInfo
* _result
;
7880 wxArrayString
* _arg0
;
7881 PyObject
* _obj0
= 0;
7882 char *_kwnames
[] = { "sArray", NULL
};
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7889 if (! PySequence_Check(_obj0
)) {
7890 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7893 _arg0
= new wxArrayString
;
7894 int i
, len
=PySequence_Length(_obj0
);
7895 for (i
=0; i
<len
; i
++) {
7896 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7897 PyObject
* str
= PyObject_Str(item
);
7898 _arg0
->Add(PyString_AsString(str
));
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) return NULL
;
7910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7911 _resultobj
= Py_BuildValue("s",_ptemp
);
7914 _resultobj
= Py_None
;
7923 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7924 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
* _resultobj
;
7926 wxFileTypeInfo
* _result
;
7927 char *_kwnames
[] = { NULL
};
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) return NULL
;
7940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7941 _resultobj
= Py_BuildValue("s",_ptemp
);
7944 _resultobj
= Py_None
;
7949 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7950 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
* _resultobj
;
7953 wxFileTypeInfo
* _arg0
;
7954 PyObject
* _argo0
= 0;
7955 char *_kwnames
[] = { "self", NULL
};
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) return NULL
;
7973 } _resultobj
= Py_BuildValue("i",_result
);
7977 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7978 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
* _resultobj
;
7980 wxFileTypeInfo
* _arg0
;
7982 int _arg2
= (int ) 0;
7983 PyObject
* _argo0
= 0;
7984 PyObject
* _obj1
= 0;
7985 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7998 #if PYTHON_API_VERSION >= 1009
7999 char* tmpPtr
; int tmpSize
;
8000 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8004 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8006 _arg1
= new wxString(tmpPtr
, tmpSize
);
8008 if (!PyString_Check(_obj1
)) {
8009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8012 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) return NULL
;
8021 } Py_INCREF(Py_None
);
8022 _resultobj
= Py_None
;
8030 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8031 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
* _resultobj
;
8033 wxFileTypeInfo
* _arg0
;
8035 PyObject
* _argo0
= 0;
8036 PyObject
* _obj1
= 0;
8037 char *_kwnames
[] = { "self","shortDesc", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8050 #if PYTHON_API_VERSION >= 1009
8051 char* tmpPtr
; int tmpSize
;
8052 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8053 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8056 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8058 _arg1
= new wxString(tmpPtr
, tmpSize
);
8060 if (!PyString_Check(_obj1
)) {
8061 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8064 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) return NULL
;
8073 } Py_INCREF(Py_None
);
8074 _resultobj
= Py_None
;
8082 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8083 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8086 wxFileTypeInfo
* _arg0
;
8087 PyObject
* _argo0
= 0;
8088 char *_kwnames
[] = { "self", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8103 _result
= (wxString
*) &_result_ref
;
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) return NULL
;
8108 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8113 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8114 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
* _resultobj
;
8117 wxFileTypeInfo
* _arg0
;
8118 PyObject
* _argo0
= 0;
8119 char *_kwnames
[] = { "self", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8134 _result
= (wxString
*) &_result_ref
;
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) return NULL
;
8139 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8144 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8145 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
* _resultobj
;
8148 wxFileTypeInfo
* _arg0
;
8149 PyObject
* _argo0
= 0;
8150 char *_kwnames
[] = { "self", NULL
};
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8165 _result
= (wxString
*) &_result_ref
;
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) return NULL
;
8170 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8175 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8176 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
* _resultobj
;
8179 wxFileTypeInfo
* _arg0
;
8180 PyObject
* _argo0
= 0;
8181 char *_kwnames
[] = { "self", NULL
};
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8196 _result
= (wxString
*) &_result_ref
;
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) return NULL
;
8201 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8206 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8207 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
* _resultobj
;
8210 wxFileTypeInfo
* _arg0
;
8211 PyObject
* _argo0
= 0;
8212 char *_kwnames
[] = { "self", NULL
};
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8227 _result
= (wxString
*) &_result_ref
;
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8232 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8237 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8238 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8239 return wxArrayString2PyList_helper(arr
);
8241 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8244 wxFileTypeInfo
* _arg0
;
8245 PyObject
* _argo0
= 0;
8246 char *_kwnames
[] = { "self", NULL
};
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) return NULL
;
8265 _resultobj
= _result
;
8270 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8271 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
* _resultobj
;
8274 wxFileTypeInfo
* _arg0
;
8275 PyObject
* _argo0
= 0;
8276 char *_kwnames
[] = { "self", NULL
};
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) return NULL
;
8294 } _resultobj
= Py_BuildValue("i",_result
);
8298 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8299 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
* _resultobj
;
8302 wxFileTypeInfo
* _arg0
;
8303 PyObject
* _argo0
= 0;
8304 char *_kwnames
[] = { "self", NULL
};
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8319 _result
= (wxString
*) &_result_ref
;
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) return NULL
;
8324 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8329 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8330 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
* _resultobj
;
8333 wxFileTypeInfo
* _arg0
;
8334 PyObject
* _argo0
= 0;
8335 char *_kwnames
[] = { "self", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) return NULL
;
8353 } _resultobj
= Py_BuildValue("i",_result
);
8357 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8358 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
* _resultobj
;
8360 wxFileType
* _result
;
8361 wxFileTypeInfo
* _arg0
;
8362 PyObject
* _argo0
= 0;
8363 char *_kwnames
[] = { "ftInfo", NULL
};
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) return NULL
;
8383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8384 _resultobj
= Py_BuildValue("s",_ptemp
);
8387 _resultobj
= Py_None
;
8392 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8394 if (self
->GetMimeType(&str
))
8395 return PyString_FromString(str
.c_str());
8399 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8403 PyObject
* _argo0
= 0;
8404 char *_kwnames
[] = { "self", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) return NULL
;
8423 _resultobj
= _result
;
8428 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8430 if (self
->GetMimeTypes(arr
))
8431 return wxArrayString2PyList_helper(arr
);
8435 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
* _resultobj
;
8439 PyObject
* _argo0
= 0;
8440 char *_kwnames
[] = { "self", NULL
};
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) return NULL
;
8459 _resultobj
= _result
;
8464 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8466 if (self
->GetExtensions(arr
))
8467 return wxArrayString2PyList_helper(arr
);
8471 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8475 PyObject
* _argo0
= 0;
8476 char *_kwnames
[] = { "self", NULL
};
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) return NULL
;
8495 _resultobj
= _result
;
8500 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8502 if (self
->GetIcon(&icon
))
8503 return new wxIcon(icon
);
8507 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
* _resultobj
;
8511 PyObject
* _argo0
= 0;
8512 char *_kwnames
[] = { "self", NULL
};
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) return NULL
;
8532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8533 _resultobj
= Py_BuildValue("s",_ptemp
);
8536 _resultobj
= Py_None
;
8541 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8545 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8546 wxPyBeginBlockThreads();
8547 PyObject
* tuple
= PyTuple_New(3);
8548 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8550 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8551 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8552 wxPyEndBlockThreads();
8558 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
* _resultobj
;
8562 PyObject
* _argo0
= 0;
8563 char *_kwnames
[] = { "self", NULL
};
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) return NULL
;
8582 _resultobj
= _result
;
8587 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8589 if (self
->GetDescription(&str
))
8590 return PyString_FromString(str
.c_str());
8594 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
* _resultobj
;
8598 PyObject
* _argo0
= 0;
8599 char *_kwnames
[] = { "self", NULL
};
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) return NULL
;
8618 _resultobj
= _result
;
8623 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8625 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8626 return PyString_FromString(str
.c_str());
8630 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8635 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8636 PyObject
* _argo0
= 0;
8637 PyObject
* _obj1
= 0;
8638 PyObject
* _obj2
= 0;
8639 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8652 #if PYTHON_API_VERSION >= 1009
8653 char* tmpPtr
; int tmpSize
;
8654 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8658 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8660 _arg1
= new wxString(tmpPtr
, tmpSize
);
8662 if (!PyString_Check(_obj1
)) {
8663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8666 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8671 #if PYTHON_API_VERSION >= 1009
8672 char* tmpPtr
; int tmpSize
;
8673 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8674 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8677 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8679 _arg2
= new wxString(tmpPtr
, tmpSize
);
8681 if (!PyString_Check(_obj2
)) {
8682 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8685 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) return NULL
;
8695 _resultobj
= _result
;
8708 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8710 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8711 return PyString_FromString(str
.c_str());
8715 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
* _resultobj
;
8720 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8721 PyObject
* _argo0
= 0;
8722 PyObject
* _obj1
= 0;
8723 PyObject
* _obj2
= 0;
8724 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8737 #if PYTHON_API_VERSION >= 1009
8738 char* tmpPtr
; int tmpSize
;
8739 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8740 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8743 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8745 _arg1
= new wxString(tmpPtr
, tmpSize
);
8747 if (!PyString_Check(_obj1
)) {
8748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8751 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8756 #if PYTHON_API_VERSION >= 1009
8757 char* tmpPtr
; int tmpSize
;
8758 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8759 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8762 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8764 _arg2
= new wxString(tmpPtr
, tmpSize
);
8766 if (!PyString_Check(_obj2
)) {
8767 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8770 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) return NULL
;
8780 _resultobj
= _result
;
8793 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8794 wxArrayString verbs
;
8795 wxArrayString commands
;
8796 if (self
->GetAllCommands(&verbs
, &commands
,
8797 wxFileType::MessageParameters(filename
, mimetype
))) {
8798 wxPyBeginBlockThreads();
8799 PyObject
* tuple
= PyTuple_New(2);
8800 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8801 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8802 wxPyEndBlockThreads();
8808 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
* _resultobj
;
8813 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8814 PyObject
* _argo0
= 0;
8815 PyObject
* _obj1
= 0;
8816 PyObject
* _obj2
= 0;
8817 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8830 #if PYTHON_API_VERSION >= 1009
8831 char* tmpPtr
; int tmpSize
;
8832 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8836 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8838 _arg1
= new wxString(tmpPtr
, tmpSize
);
8840 if (!PyString_Check(_obj1
)) {
8841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8844 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8849 #if PYTHON_API_VERSION >= 1009
8850 char* tmpPtr
; int tmpSize
;
8851 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8855 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8857 _arg2
= new wxString(tmpPtr
, tmpSize
);
8859 if (!PyString_Check(_obj2
)) {
8860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8863 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) return NULL
;
8873 _resultobj
= _result
;
8886 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8887 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
* _resultobj
;
8893 bool _arg3
= (bool ) TRUE
;
8894 PyObject
* _argo0
= 0;
8895 PyObject
* _obj1
= 0;
8896 PyObject
* _obj2
= 0;
8897 int tempbool3
= (int) TRUE
;
8898 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8911 #if PYTHON_API_VERSION >= 1009
8912 char* tmpPtr
; int tmpSize
;
8913 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8917 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8919 _arg1
= new wxString(tmpPtr
, tmpSize
);
8921 if (!PyString_Check(_obj1
)) {
8922 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8925 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8929 #if PYTHON_API_VERSION >= 1009
8930 char* tmpPtr
; int tmpSize
;
8931 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8935 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8937 _arg2
= new wxString(tmpPtr
, tmpSize
);
8939 if (!PyString_Check(_obj2
)) {
8940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8943 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8946 _arg3
= (bool ) tempbool3
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) return NULL
;
8953 } _resultobj
= Py_BuildValue("i",_result
);
8965 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8966 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
* _resultobj
;
8970 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8971 int _arg2
= (int ) 0;
8972 PyObject
* _argo0
= 0;
8973 PyObject
* _obj1
= 0;
8974 char *_kwnames
[] = { "self","cmd","index", NULL
};
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8988 #if PYTHON_API_VERSION >= 1009
8989 char* tmpPtr
; int tmpSize
;
8990 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8994 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8996 _arg1
= new wxString(tmpPtr
, tmpSize
);
8998 if (!PyString_Check(_obj1
)) {
8999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9002 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) return NULL
;
9011 } _resultobj
= Py_BuildValue("i",_result
);
9019 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9020 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
* _resultobj
;
9024 PyObject
* _argo0
= 0;
9025 char *_kwnames
[] = { "self", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 _result
= (bool )wxFileType_Unassociate(_arg0
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) return NULL
;
9043 } _resultobj
= Py_BuildValue("i",_result
);
9047 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
* _resultobj
;
9051 wxFileType::MessageParameters
* _arg1
;
9052 PyObject
* _obj0
= 0;
9053 PyObject
* _argo1
= 0;
9054 char *_kwnames
[] = { "command","params", NULL
};
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9060 #if PYTHON_API_VERSION >= 1009
9061 char* tmpPtr
; int tmpSize
;
9062 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9063 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9066 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9068 _arg0
= new wxString(tmpPtr
, tmpSize
);
9070 if (!PyString_Check(_obj0
)) {
9071 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9074 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) return NULL
;
9091 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9103 #define delete_wxFileType(_swigobj) (delete _swigobj)
9104 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
* _resultobj
;
9107 PyObject
* _argo0
= 0;
9108 char *_kwnames
[] = { "self", NULL
};
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 delete_wxFileType(_arg0
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) return NULL
;
9126 } Py_INCREF(Py_None
);
9127 _resultobj
= Py_None
;
9131 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
* _resultobj
;
9136 PyObject
* _obj0
= 0;
9137 PyObject
* _obj1
= 0;
9138 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9144 #if PYTHON_API_VERSION >= 1009
9145 char* tmpPtr
; int tmpSize
;
9146 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9150 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9152 _arg0
= new wxString(tmpPtr
, tmpSize
);
9154 if (!PyString_Check(_obj0
)) {
9155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9158 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9162 #if PYTHON_API_VERSION >= 1009
9163 char* tmpPtr
; int tmpSize
;
9164 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9168 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9170 _arg1
= new wxString(tmpPtr
, tmpSize
);
9172 if (!PyString_Check(_obj1
)) {
9173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9176 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) return NULL
;
9185 } _resultobj
= Py_BuildValue("i",_result
);
9197 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9198 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
* _resultobj
;
9200 wxMimeTypesManager
* _result
;
9201 char *_kwnames
[] = { NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) return NULL
;
9214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9215 _resultobj
= Py_BuildValue("s",_ptemp
);
9218 _resultobj
= Py_None
;
9223 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9224 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
* _resultobj
;
9226 wxMimeTypesManager
* _arg0
;
9227 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9228 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9229 PyObject
* _argo0
= 0;
9230 PyObject
* _obj2
= 0;
9231 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9245 #if PYTHON_API_VERSION >= 1009
9246 char* tmpPtr
; int tmpSize
;
9247 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9251 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9253 _arg2
= new wxString(tmpPtr
, tmpSize
);
9255 if (!PyString_Check(_obj2
)) {
9256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9259 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9268 } Py_INCREF(Py_None
);
9269 _resultobj
= Py_None
;
9277 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9278 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
* _resultobj
;
9280 wxMimeTypesManager
* _arg0
;
9281 PyObject
* _argo0
= 0;
9282 char *_kwnames
[] = { "self", NULL
};
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxMimeTypesManager_ClearData(_arg0
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) return NULL
;
9300 } Py_INCREF(Py_None
);
9301 _resultobj
= Py_None
;
9305 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9306 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
* _resultobj
;
9308 wxFileType
* _result
;
9309 wxMimeTypesManager
* _arg0
;
9311 PyObject
* _argo0
= 0;
9312 PyObject
* _obj1
= 0;
9313 char *_kwnames
[] = { "self","ext", NULL
};
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9327 #if PYTHON_API_VERSION >= 1009
9328 char* tmpPtr
; int tmpSize
;
9329 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9333 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9335 _arg1
= new wxString(tmpPtr
, tmpSize
);
9337 if (!PyString_Check(_obj1
)) {
9338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9341 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) return NULL
;
9351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9352 _resultobj
= Py_BuildValue("s",_ptemp
);
9355 _resultobj
= Py_None
;
9364 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9365 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
* _resultobj
;
9367 wxFileType
* _result
;
9368 wxMimeTypesManager
* _arg0
;
9370 PyObject
* _argo0
= 0;
9371 PyObject
* _obj1
= 0;
9372 char *_kwnames
[] = { "self","mimeType", NULL
};
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9386 #if PYTHON_API_VERSION >= 1009
9387 char* tmpPtr
; int tmpSize
;
9388 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9392 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9394 _arg1
= new wxString(tmpPtr
, tmpSize
);
9396 if (!PyString_Check(_obj1
)) {
9397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9400 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) return NULL
;
9410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9411 _resultobj
= Py_BuildValue("s",_ptemp
);
9414 _resultobj
= Py_None
;
9423 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9424 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
* _resultobj
;
9427 wxMimeTypesManager
* _arg0
;
9429 bool _arg2
= (bool ) FALSE
;
9430 PyObject
* _argo0
= 0;
9431 PyObject
* _obj1
= 0;
9432 int tempbool2
= (int) FALSE
;
9433 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9446 #if PYTHON_API_VERSION >= 1009
9447 char* tmpPtr
; int tmpSize
;
9448 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9452 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9454 _arg1
= new wxString(tmpPtr
, tmpSize
);
9456 if (!PyString_Check(_obj1
)) {
9457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9460 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9463 _arg2
= (bool ) tempbool2
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) return NULL
;
9470 } _resultobj
= Py_BuildValue("i",_result
);
9478 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9479 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
* _resultobj
;
9482 wxMimeTypesManager
* _arg0
;
9484 PyObject
* _argo0
= 0;
9485 PyObject
* _obj1
= 0;
9486 char *_kwnames
[] = { "self","filename", NULL
};
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9499 #if PYTHON_API_VERSION >= 1009
9500 char* tmpPtr
; int tmpSize
;
9501 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9505 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9507 _arg1
= new wxString(tmpPtr
, tmpSize
);
9509 if (!PyString_Check(_obj1
)) {
9510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9513 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) return NULL
;
9522 } _resultobj
= Py_BuildValue("i",_result
);
9530 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9532 self
->EnumAllFileTypes(arr
);
9533 return wxArrayString2PyList_helper(arr
);
9535 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
* _resultobj
;
9538 wxMimeTypesManager
* _arg0
;
9539 PyObject
* _argo0
= 0;
9540 char *_kwnames
[] = { "self", NULL
};
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) return NULL
;
9559 _resultobj
= _result
;
9564 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9565 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
* _resultobj
;
9567 wxMimeTypesManager
* _arg0
;
9568 wxFileTypeInfo
* _arg1
;
9569 PyObject
* _argo0
= 0;
9570 PyObject
* _argo1
= 0;
9571 char *_kwnames
[] = { "self","ft", NULL
};
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) return NULL
;
9596 } Py_INCREF(Py_None
);
9597 _resultobj
= Py_None
;
9601 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9602 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
* _resultobj
;
9604 wxFileType
* _result
;
9605 wxMimeTypesManager
* _arg0
;
9606 wxFileTypeInfo
* _arg1
;
9607 PyObject
* _argo0
= 0;
9608 PyObject
* _argo1
= 0;
9609 char *_kwnames
[] = { "self","ftInfo", NULL
};
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) return NULL
;
9636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9637 _resultobj
= Py_BuildValue("s",_ptemp
);
9640 _resultobj
= Py_None
;
9645 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9646 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
* _resultobj
;
9649 wxMimeTypesManager
* _arg0
;
9651 PyObject
* _argo0
= 0;
9652 PyObject
* _argo1
= 0;
9653 char *_kwnames
[] = { "self","ft", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) return NULL
;
9678 } _resultobj
= Py_BuildValue("i",_result
);
9682 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9683 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
* _resultobj
;
9685 wxMimeTypesManager
* _arg0
;
9686 PyObject
* _argo0
= 0;
9687 char *_kwnames
[] = { "self", NULL
};
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 delete_wxMimeTypesManager(_arg0
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) return NULL
;
9705 } Py_INCREF(Py_None
);
9706 _resultobj
= Py_None
;
9710 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9713 src
= (wxFileHistory
*) ptr
;
9714 dest
= (wxObject
*) src
;
9715 return (void *) dest
;
9718 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9719 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
* _resultobj
;
9721 wxFileHistory
* _result
;
9722 int _arg0
= (int ) 9;
9723 char *_kwnames
[] = { "maxFiles", NULL
};
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) return NULL
;
9736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9737 _resultobj
= Py_BuildValue("s",_ptemp
);
9740 _resultobj
= Py_None
;
9745 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9746 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
* _resultobj
;
9748 wxFileHistory
* _arg0
;
9749 PyObject
* _argo0
= 0;
9750 char *_kwnames
[] = { "self", NULL
};
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 delete_wxFileHistory(_arg0
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) return NULL
;
9768 } Py_INCREF(Py_None
);
9769 _resultobj
= Py_None
;
9773 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9774 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
* _resultobj
;
9776 wxFileHistory
* _arg0
;
9778 PyObject
* _argo0
= 0;
9779 PyObject
* _obj1
= 0;
9780 char *_kwnames
[] = { "self","file", NULL
};
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9793 #if PYTHON_API_VERSION >= 1009
9794 char* tmpPtr
; int tmpSize
;
9795 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9799 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9801 _arg1
= new wxString(tmpPtr
, tmpSize
);
9803 if (!PyString_Check(_obj1
)) {
9804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9807 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) return NULL
;
9816 } Py_INCREF(Py_None
);
9817 _resultobj
= Py_None
;
9825 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9826 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
* _resultobj
;
9828 wxFileHistory
* _arg0
;
9830 PyObject
* _argo0
= 0;
9831 char *_kwnames
[] = { "self","i", NULL
};
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) return NULL
;
9849 } Py_INCREF(Py_None
);
9850 _resultobj
= Py_None
;
9854 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9855 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
* _resultobj
;
9858 wxFileHistory
* _arg0
;
9859 PyObject
* _argo0
= 0;
9860 char *_kwnames
[] = { "self", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) return NULL
;
9878 } _resultobj
= Py_BuildValue("i",_result
);
9882 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9883 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
* _resultobj
;
9885 wxFileHistory
* _arg0
;
9887 PyObject
* _argo0
= 0;
9888 PyObject
* _argo1
= 0;
9889 char *_kwnames
[] = { "self","menu", NULL
};
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 wxFileHistory_UseMenu(_arg0
,_arg1
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) return NULL
;
9914 } Py_INCREF(Py_None
);
9915 _resultobj
= Py_None
;
9919 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9920 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
* _resultobj
;
9922 wxFileHistory
* _arg0
;
9924 PyObject
* _argo0
= 0;
9925 PyObject
* _argo1
= 0;
9926 char *_kwnames
[] = { "self","menu", NULL
};
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) return NULL
;
9951 } Py_INCREF(Py_None
);
9952 _resultobj
= Py_None
;
9956 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9957 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
* _resultobj
;
9959 wxFileHistory
* _arg0
;
9960 wxConfigBase
* _arg1
;
9961 PyObject
* _argo0
= 0;
9962 PyObject
* _argo1
= 0;
9963 char *_kwnames
[] = { "self","config", NULL
};
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 wxFileHistory_Load(_arg0
,*_arg1
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) return NULL
;
9988 } Py_INCREF(Py_None
);
9989 _resultobj
= Py_None
;
9993 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9994 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
* _resultobj
;
9996 wxFileHistory
* _arg0
;
9997 wxConfigBase
* _arg1
;
9998 PyObject
* _argo0
= 0;
9999 PyObject
* _argo1
= 0;
10000 char *_kwnames
[] = { "self","config", NULL
};
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 wxFileHistory_Save(_arg0
,*_arg1
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) return NULL
;
10025 } Py_INCREF(Py_None
);
10026 _resultobj
= Py_None
;
10030 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10031 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
* _resultobj
;
10033 wxFileHistory
* _arg0
;
10034 PyObject
* _argo0
= 0;
10035 char *_kwnames
[] = { "self", NULL
};
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 wxFileHistory_AddFilesToMenu(_arg0
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) return NULL
;
10053 } Py_INCREF(Py_None
);
10054 _resultobj
= Py_None
;
10058 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10059 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
* _resultobj
;
10061 wxFileHistory
* _arg0
;
10063 PyObject
* _argo0
= 0;
10064 PyObject
* _argo1
= 0;
10065 char *_kwnames
[] = { "self","menu", NULL
};
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
10071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) return NULL
;
10090 } Py_INCREF(Py_None
);
10091 _resultobj
= Py_None
;
10095 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10096 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
* _resultobj
;
10098 wxString
* _result
;
10099 wxFileHistory
* _arg0
;
10101 PyObject
* _argo0
= 0;
10102 char *_kwnames
[] = { "self","i", NULL
};
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) return NULL
;
10121 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10129 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10130 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
* _resultobj
;
10133 wxFileHistory
* _arg0
;
10134 PyObject
* _argo0
= 0;
10135 char *_kwnames
[] = { "self", NULL
};
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 _result
= (int )wxFileHistory_GetCount(_arg0
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) return NULL
;
10153 } _resultobj
= Py_BuildValue("i",_result
);
10157 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10158 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
* _resultobj
;
10161 wxFileHistory
* _arg0
;
10162 PyObject
* _argo0
= 0;
10163 char *_kwnames
[] = { "self", NULL
};
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) return NULL
;
10181 } _resultobj
= Py_BuildValue("i",_result
);
10185 static PyMethodDef misc2cMethods
[] = {
10186 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10450 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10451 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10452 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10453 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10454 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10455 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10456 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10457 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10458 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10459 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10460 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10461 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10462 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10463 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10464 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10465 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10466 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10467 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10468 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10469 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10470 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10471 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10472 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10473 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10474 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10475 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10476 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10477 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10478 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10479 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10486 * This table is used by the pointer type-checker
10488 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10489 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10490 { "_signed_long","_long",0},
10491 { "_wxPrintQuality","_wxCoord",0},
10492 { "_wxPrintQuality","_int",0},
10493 { "_wxPrintQuality","_signed_int",0},
10494 { "_wxPrintQuality","_unsigned_int",0},
10495 { "_wxPrintQuality","_wxWindowID",0},
10496 { "_wxPrintQuality","_uint",0},
10497 { "_wxPrintQuality","_EBool",0},
10498 { "_wxPrintQuality","_size_t",0},
10499 { "_wxPrintQuality","_time_t",0},
10500 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10501 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10502 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10503 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10504 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10505 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10506 { "_byte","_unsigned_char",0},
10507 { "_long","_unsigned_long",0},
10508 { "_long","_signed_long",0},
10509 { "_size_t","_wxCoord",0},
10510 { "_size_t","_wxPrintQuality",0},
10511 { "_size_t","_time_t",0},
10512 { "_size_t","_unsigned_int",0},
10513 { "_size_t","_int",0},
10514 { "_size_t","_wxWindowID",0},
10515 { "_size_t","_uint",0},
10516 { "_uint","_wxCoord",0},
10517 { "_uint","_wxPrintQuality",0},
10518 { "_uint","_time_t",0},
10519 { "_uint","_size_t",0},
10520 { "_uint","_unsigned_int",0},
10521 { "_uint","_int",0},
10522 { "_uint","_wxWindowID",0},
10523 { "_wxChar","_char",0},
10524 { "_char","_wxChar",0},
10525 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10526 { "_EBool","_wxCoord",0},
10527 { "_EBool","_wxPrintQuality",0},
10528 { "_EBool","_signed_int",0},
10529 { "_EBool","_int",0},
10530 { "_EBool","_wxWindowID",0},
10531 { "_unsigned_long","_long",0},
10532 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10533 { "_signed_int","_wxCoord",0},
10534 { "_signed_int","_wxPrintQuality",0},
10535 { "_signed_int","_EBool",0},
10536 { "_signed_int","_wxWindowID",0},
10537 { "_signed_int","_int",0},
10538 { "_WXTYPE","_wxDateTime_t",0},
10539 { "_WXTYPE","_short",0},
10540 { "_WXTYPE","_signed_short",0},
10541 { "_WXTYPE","_unsigned_short",0},
10542 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10543 { "_unsigned_short","_wxDateTime_t",0},
10544 { "_unsigned_short","_WXTYPE",0},
10545 { "_unsigned_short","_short",0},
10546 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10547 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10548 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10549 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10550 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10551 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10552 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10553 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10554 { "_signed_short","_WXTYPE",0},
10555 { "_signed_short","_short",0},
10556 { "_unsigned_char","_byte",0},
10557 { "_unsigned_int","_wxCoord",0},
10558 { "_unsigned_int","_wxPrintQuality",0},
10559 { "_unsigned_int","_time_t",0},
10560 { "_unsigned_int","_size_t",0},
10561 { "_unsigned_int","_uint",0},
10562 { "_unsigned_int","_wxWindowID",0},
10563 { "_unsigned_int","_int",0},
10564 { "_short","_wxDateTime_t",0},
10565 { "_short","_WXTYPE",0},
10566 { "_short","_unsigned_short",0},
10567 { "_short","_signed_short",0},
10568 { "_wxWindowID","_wxCoord",0},
10569 { "_wxWindowID","_wxPrintQuality",0},
10570 { "_wxWindowID","_time_t",0},
10571 { "_wxWindowID","_size_t",0},
10572 { "_wxWindowID","_EBool",0},
10573 { "_wxWindowID","_uint",0},
10574 { "_wxWindowID","_int",0},
10575 { "_wxWindowID","_signed_int",0},
10576 { "_wxWindowID","_unsigned_int",0},
10577 { "_int","_wxCoord",0},
10578 { "_int","_wxPrintQuality",0},
10579 { "_int","_time_t",0},
10580 { "_int","_size_t",0},
10581 { "_int","_EBool",0},
10582 { "_int","_uint",0},
10583 { "_int","_wxWindowID",0},
10584 { "_int","_unsigned_int",0},
10585 { "_int","_signed_int",0},
10586 { "_wxDateTime_t","_unsigned_short",0},
10587 { "_wxDateTime_t","_short",0},
10588 { "_wxDateTime_t","_WXTYPE",0},
10589 { "_time_t","_wxCoord",0},
10590 { "_time_t","_wxPrintQuality",0},
10591 { "_time_t","_unsigned_int",0},
10592 { "_time_t","_int",0},
10593 { "_time_t","_wxWindowID",0},
10594 { "_time_t","_uint",0},
10595 { "_time_t","_size_t",0},
10596 { "_wxCoord","_int",0},
10597 { "_wxCoord","_signed_int",0},
10598 { "_wxCoord","_unsigned_int",0},
10599 { "_wxCoord","_wxWindowID",0},
10600 { "_wxCoord","_uint",0},
10601 { "_wxCoord","_EBool",0},
10602 { "_wxCoord","_size_t",0},
10603 { "_wxCoord","_time_t",0},
10604 { "_wxCoord","_wxPrintQuality",0},
10605 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10608 static PyObject
*SWIG_globals
;
10612 SWIGEXPORT(void) initmisc2c() {
10614 SWIG_globals
= SWIG_newvarlink();
10615 m
= Py_InitModule("misc2c", misc2cMethods
);
10616 d
= PyModule_GetDict(m
);
10617 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10618 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10619 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10620 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10621 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10622 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10623 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10624 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10625 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10626 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10627 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10628 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10629 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10630 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10631 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10632 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10633 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10634 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10635 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10636 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10637 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10638 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10639 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10640 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10641 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10642 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10643 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10644 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10645 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10646 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10647 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10648 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10649 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10650 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10651 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10652 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10653 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10654 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10655 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10656 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10657 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10658 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10659 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10660 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10661 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10662 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10663 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10664 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10665 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10666 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10667 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10668 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10669 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10670 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10671 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10672 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10673 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10674 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10675 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10676 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10677 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10678 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10679 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10680 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10681 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10682 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10683 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10684 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10685 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10686 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10687 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10688 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10689 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10690 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10691 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10692 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10693 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10694 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10695 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10696 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10697 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10698 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10699 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10700 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10701 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10702 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10703 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10704 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10705 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10706 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10707 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10708 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10709 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10710 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10711 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10712 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10713 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10714 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10715 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10716 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10717 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10718 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10719 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10721 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10722 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10723 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10726 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10727 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);