2 * FILE : src/mac/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_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
* _resultobj
;
1430 char *_kwnames
[] = { "name","value", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } _resultobj
= Py_BuildValue("i",_result
);
1445 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1447 char *_kwnames
[] = { NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } Py_INCREF(Py_None
);
1459 _resultobj
= Py_None
;
1463 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1467 char *_kwnames
[] = { "resource", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1480 _resultobj
= Py_BuildValue("s",_ptemp
);
1484 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1488 char *_kwnames
[] = { "resource", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxMenuBar
* _result
;
1509 char *_kwnames
[] = { "resource", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) return NULL
;
1520 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1524 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1528 char *_kwnames
[] = { "name", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (int )wxResourceGetIdentifier(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } _resultobj
= Py_BuildValue("i",_result
);
1543 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1547 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1548 PyObject
* _argo1
= 0;
1549 char *_kwnames
[] = { "resource","table", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } _resultobj
= Py_BuildValue("i",_result
);
1571 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1575 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1576 PyObject
* _argo1
= 0;
1577 char *_kwnames
[] = { "filename","table", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1595 } _resultobj
= Py_BuildValue("i",_result
);
1599 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1603 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1604 PyObject
* _argo1
= 0;
1605 char *_kwnames
[] = { "resource","table", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } _resultobj
= Py_BuildValue("i",_result
);
1627 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1630 char *_kwnames
[] = { NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 _result
= (int )wxCaret_GetBlinkTime();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) return NULL
;
1641 } _resultobj
= Py_BuildValue("i",_result
);
1645 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1648 char *_kwnames
[] = { "milliseconds", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 wxCaret_SetBlinkTime(_arg0
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) return NULL
;
1659 } Py_INCREF(Py_None
);
1660 _resultobj
= Py_None
;
1664 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1667 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1668 PyObject
* _argo0
= 0;
1669 char *_kwnames
[] = { "win", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 _result
= (bool )wxSafeYield(_arg0
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) return NULL
;
1687 } _resultobj
= Py_BuildValue("i",_result
);
1691 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1693 wxEvtHandler
* _arg0
;
1695 PyObject
* _argo0
= 0;
1696 PyObject
* _argo1
= 0;
1697 char *_kwnames
[] = { "dest","event", NULL
};
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 wxPostEvent(_arg0
,*_arg1
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) return NULL
;
1722 } Py_INCREF(Py_None
);
1723 _resultobj
= Py_None
;
1727 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1729 char *_kwnames
[] = { NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) return NULL
;
1740 } Py_INCREF(Py_None
);
1741 _resultobj
= Py_None
;
1745 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1747 char *_kwnames
[] = { NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1765 char *_kwnames
[] = { NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) return NULL
;
1776 } Py_INCREF(Py_None
);
1777 _resultobj
= Py_None
;
1781 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1784 char *_kwnames
[] = { NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 _result
= (bool )wxThread_IsMain();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) return NULL
;
1795 } _resultobj
= Py_BuildValue("i",_result
);
1799 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1803 wxTipProvider
* _arg1
;
1804 bool _arg2
= (bool ) TRUE
;
1805 PyObject
* _argo0
= 0;
1806 PyObject
* _argo1
= 0;
1807 int tempbool2
= (int) TRUE
;
1808 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1827 _arg2
= (bool ) tempbool2
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1840 wxTipProvider
* _result
;
1843 PyObject
* _obj0
= 0;
1844 char *_kwnames
[] = { "filename","currentTip", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1851 #if PYTHON_API_VERSION >= 1009
1852 char* tmpPtr
; int tmpSize
;
1853 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1857 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1859 _arg0
= new wxString(tmpPtr
, tmpSize
);
1861 if (!PyString_Check(_obj0
)) {
1862 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1865 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) return NULL
;
1875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1876 _resultobj
= Py_BuildValue("s",_ptemp
);
1879 _resultobj
= Py_None
;
1888 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 unsigned long _result
;
1891 char *_kwnames
[] = { NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 _result
= (unsigned long )wxSysErrorCode();
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) return NULL
;
1902 } _resultobj
= Py_BuildValue("l",_result
);
1906 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 unsigned long _arg0
= (unsigned long ) 0;
1910 char *_kwnames
[] = { "nErrCode", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= (char *)wxSysErrorMsg(_arg0
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1921 } _resultobj
= Py_BuildValue("s", _result
);
1925 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1928 char *_kwnames
[] = { "szFormat", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 wxLogFatalError(_arg0
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) return NULL
;
1939 } Py_INCREF(Py_None
);
1940 _resultobj
= Py_None
;
1944 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1947 char *_kwnames
[] = { "szFormat", NULL
};
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) return NULL
;
1958 } Py_INCREF(Py_None
);
1959 _resultobj
= Py_None
;
1963 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1966 char *_kwnames
[] = { "szFormat", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 wxLogWarning(_arg0
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 } Py_INCREF(Py_None
);
1978 _resultobj
= Py_None
;
1982 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1985 char *_kwnames
[] = { "szFormat", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxLogMessage(_arg0
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
* _resultobj
;
2004 char *_kwnames
[] = { "szFormat", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2023 char *_kwnames
[] = { "szFormat", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 wxLogVerbose(_arg0
);
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) return NULL
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2039 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2042 char *_kwnames
[] = { "szFormat", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) return NULL
;
2053 } Py_INCREF(Py_None
);
2054 _resultobj
= Py_None
;
2058 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 wxLogStatus(_arg0
,_arg1
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) return NULL
;
2081 } Py_INCREF(Py_None
);
2082 _resultobj
= Py_None
;
2086 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2089 char *_kwnames
[] = { "szFormat", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 wxLogSysError(_arg0
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2105 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2109 int _arg1
= (int ) FALSE
;
2110 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2111 PyObject
* _obj0
= 0;
2112 PyObject
* _argo2
= 0;
2113 char *_kwnames
[] = { "command","sync","process", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2119 #if PYTHON_API_VERSION >= 1009
2120 char* tmpPtr
; int tmpSize
;
2121 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2122 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2125 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2127 _arg0
= new wxString(tmpPtr
, tmpSize
);
2129 if (!PyString_Check(_obj0
)) {
2130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2133 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2137 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2149 } _resultobj
= Py_BuildValue("l",_result
);
2157 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2161 PyObject
* _obj0
= 0;
2162 char *_kwnames
[] = { "data", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2169 #if PYTHON_API_VERSION >= 1009
2170 char* tmpPtr
; int tmpSize
;
2171 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2175 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2177 _arg0
= new wxString(tmpPtr
, tmpSize
);
2179 if (!PyString_Check(_obj0
)) {
2180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2183 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 _result
= (wxWave
*)wxWaveData(*_arg0
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) return NULL
;
2193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2194 _resultobj
= Py_BuildValue("s",_ptemp
);
2197 _resultobj
= Py_None
;
2206 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2208 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2212 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2216 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2217 pyobj
= PyString_FromString(ptemp
);
2221 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2224 wxSystemColour _arg0
;
2225 char *_kwnames
[] = { "index", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) return NULL
;
2237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2238 _resultobj
= Py_BuildValue("s",_ptemp
);
2242 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2246 char *_kwnames
[] = { "index", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2259 _resultobj
= Py_BuildValue("s",_ptemp
);
2263 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2266 wxSystemMetric _arg0
;
2267 char *_kwnames
[] = { "index", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } _resultobj
= Py_BuildValue("i",_result
);
2282 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2285 wxSystemFeature _arg0
;
2286 char *_kwnames
[] = { "index", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) return NULL
;
2297 } _resultobj
= Py_BuildValue("i",_result
);
2301 static void *SwigwxToolTipTowxObject(void *ptr
) {
2304 src
= (wxToolTip
*) ptr
;
2305 dest
= (wxObject
*) src
;
2306 return (void *) dest
;
2309 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2310 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2312 wxToolTip
* _result
;
2314 PyObject
* _obj0
= 0;
2315 char *_kwnames
[] = { "tip", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2322 #if PYTHON_API_VERSION >= 1009
2323 char* tmpPtr
; int tmpSize
;
2324 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2328 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2330 _arg0
= new wxString(tmpPtr
, tmpSize
);
2332 if (!PyString_Check(_obj0
)) {
2333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2336 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2347 _resultobj
= Py_BuildValue("s",_ptemp
);
2350 _resultobj
= Py_None
;
2359 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2360 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2364 PyObject
* _argo0
= 0;
2365 PyObject
* _obj1
= 0;
2366 char *_kwnames
[] = { "self","tip", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2379 #if PYTHON_API_VERSION >= 1009
2380 char* tmpPtr
; int tmpSize
;
2381 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2385 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2387 _arg1
= new wxString(tmpPtr
, tmpSize
);
2389 if (!PyString_Check(_obj1
)) {
2390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2393 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 wxToolTip_SetTip(_arg0
,*_arg1
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) return NULL
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2411 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2412 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2416 PyObject
* _argo0
= 0;
2417 char *_kwnames
[] = { "self", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2436 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2444 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2445 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) return NULL
;
2468 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2472 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 char *_kwnames
[] = { "flag", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2481 _arg0
= (bool ) tempbool0
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxToolTip::Enable(_arg0
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) return NULL
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2496 char *_kwnames
[] = { "milliseconds", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 wxToolTip::SetDelay(_arg0
);
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) return NULL
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2513 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2520 PyObject
* _obj1
= 0;
2521 char *_kwnames
[] = { "window","size", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2536 if (! wxSize_helper(_obj1
, &_arg1
))
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2547 _resultobj
= Py_BuildValue("s",_ptemp
);
2550 _resultobj
= Py_None
;
2555 #define delete_wxCaret(_swigobj) (delete _swigobj)
2556 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2559 PyObject
* _argo0
= 0;
2560 char *_kwnames
[] = { "self", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 delete_wxCaret(_arg0
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2584 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 _result
= (bool )wxCaret_IsOk(_arg0
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) return NULL
;
2607 } _resultobj
= Py_BuildValue("i",_result
);
2611 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2612 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 _result
= (bool )wxCaret_IsVisible(_arg0
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2635 } _resultobj
= Py_BuildValue("i",_result
);
2639 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2640 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2647 PyObject
* _argo0
= 0;
2648 char *_kwnames
[] = { "self", NULL
};
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) return NULL
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2676 o
= PyInt_FromLong((long) (*_arg1
));
2677 _resultobj
= t_output_helper(_resultobj
, o
);
2681 o
= PyInt_FromLong((long) (*_arg2
));
2682 _resultobj
= t_output_helper(_resultobj
, o
);
2687 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2688 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2713 _resultobj
= Py_BuildValue("s",_ptemp
);
2717 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2718 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2725 PyObject
* _argo0
= 0;
2726 char *_kwnames
[] = { "self", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) return NULL
;
2750 } Py_INCREF(Py_None
);
2751 _resultobj
= Py_None
;
2754 o
= PyInt_FromLong((long) (*_arg1
));
2755 _resultobj
= t_output_helper(_resultobj
, o
);
2759 o
= PyInt_FromLong((long) (*_arg2
));
2760 _resultobj
= t_output_helper(_resultobj
, o
);
2765 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2766 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) return NULL
;
2790 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2791 _resultobj
= Py_BuildValue("s",_ptemp
);
2795 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2796 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2823 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2824 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self","x","y", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2848 } Py_INCREF(Py_None
);
2849 _resultobj
= Py_None
;
2853 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2854 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2858 PyObject
* _argo0
= 0;
2860 PyObject
* _obj1
= 0;
2861 char *_kwnames
[] = { "self","pt", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2875 if (! wxPoint_helper(_obj1
, &_arg1
))
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 wxCaret_Move(_arg0
,*_arg1
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2884 } Py_INCREF(Py_None
);
2885 _resultobj
= Py_None
;
2889 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2890 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self","width","height", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) return NULL
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2920 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2924 PyObject
* _argo0
= 0;
2926 PyObject
* _obj1
= 0;
2927 char *_kwnames
[] = { "self","size", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2941 if (! wxSize_helper(_obj1
, &_arg1
))
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 wxCaret_SetSize(_arg0
,*_arg1
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) return NULL
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2956 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2959 int _arg1
= (int ) TRUE
;
2960 PyObject
* _argo0
= 0;
2961 char *_kwnames
[] = { "self","show", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 wxCaret_Show(_arg0
,_arg1
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) return NULL
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2985 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2988 PyObject
* _argo0
= 0;
2989 char *_kwnames
[] = { "self", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 wxCaret_Hide(_arg0
);
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) return NULL
;
3007 } Py_INCREF(Py_None
);
3008 _resultobj
= Py_None
;
3012 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3013 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3015 wxPyFontEnumerator
* _result
;
3016 char *_kwnames
[] = { NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) return NULL
;
3029 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3030 _resultobj
= Py_BuildValue("s",_ptemp
);
3033 _resultobj
= Py_None
;
3038 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3039 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3041 wxPyFontEnumerator
* _arg0
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 delete_wxPyFontEnumerator(_arg0
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) return NULL
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3067 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3069 wxPyFontEnumerator
* _arg0
;
3073 PyObject
* _argo0
= 0;
3074 PyObject
* _obj1
= 0;
3075 PyObject
* _obj2
= 0;
3077 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3095 _arg3
= (bool ) tempbool3
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3108 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3111 wxPyFontEnumerator
* _arg0
;
3112 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3113 bool _arg2
= (bool ) FALSE
;
3114 PyObject
* _argo0
= 0;
3115 int tempbool2
= (int) FALSE
;
3116 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3128 _arg2
= (bool ) tempbool2
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } _resultobj
= Py_BuildValue("i",_result
);
3139 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3140 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3143 wxPyFontEnumerator
* _arg0
;
3144 char * _arg1
= (char *) "";
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "self","facename", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) return NULL
;
3164 } _resultobj
= Py_BuildValue("i",_result
);
3168 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3169 wxArrayString
* arr
= self
->GetEncodings();
3170 return wxArrayString2PyList_helper(*arr
);
3172 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3175 wxPyFontEnumerator
* _arg0
;
3176 PyObject
* _argo0
= 0;
3177 char *_kwnames
[] = { "self", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) return NULL
;
3196 _resultobj
= _result
;
3201 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3202 wxArrayString
* arr
= self
->GetFacenames();
3203 return wxArrayString2PyList_helper(*arr
);
3205 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3208 wxPyFontEnumerator
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3229 _resultobj
= _result
;
3234 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3235 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxBusyCursor
* _result
;
3238 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "cursor", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3261 _resultobj
= Py_BuildValue("s",_ptemp
);
3264 _resultobj
= Py_None
;
3269 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3270 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3272 wxBusyCursor
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 delete_wxBusyCursor(_arg0
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) return NULL
;
3292 } Py_INCREF(Py_None
);
3293 _resultobj
= Py_None
;
3297 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3298 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3300 wxWindowDisabler
* _result
;
3301 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "winToSkip", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) return NULL
;
3323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3324 _resultobj
= Py_BuildValue("s",_ptemp
);
3327 _resultobj
= Py_None
;
3332 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3333 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3335 wxWindowDisabler
* _arg0
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 delete_wxWindowDisabler(_arg0
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3361 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxMutexGuiLocker
* _result
;
3364 char *_kwnames
[] = { NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) return NULL
;
3377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3378 _resultobj
= Py_BuildValue("s",_ptemp
);
3381 _resultobj
= Py_None
;
3386 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3387 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3389 wxMutexGuiLocker
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 char *_kwnames
[] = { "self", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 delete_wxMutexGuiLocker(_arg0
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) return NULL
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3415 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3417 wxTipProvider
* _arg0
;
3418 PyObject
* _argo0
= 0;
3419 char *_kwnames
[] = { "self", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 delete_wxTipProvider(_arg0
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) return NULL
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3443 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3446 wxTipProvider
* _arg0
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3467 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3475 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3476 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3479 wxTipProvider
* _arg0
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) return NULL
;
3499 } _resultobj
= Py_BuildValue("i",_result
);
3503 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3504 wxPyTipProvider
*src
;
3505 wxTipProvider
*dest
;
3506 src
= (wxPyTipProvider
*) ptr
;
3507 dest
= (wxTipProvider
*) src
;
3508 return (void *) dest
;
3511 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3512 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3514 wxPyTipProvider
* _result
;
3516 char *_kwnames
[] = { "currentTip", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3533 _resultobj
= Py_None
;
3538 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3539 wxGenericDragImage
*src
;
3541 src
= (wxGenericDragImage
*) ptr
;
3542 dest
= (wxObject
*) src
;
3543 return (void *) dest
;
3546 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3547 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3549 wxGenericDragImage
* _result
;
3551 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3552 PyObject
* _argo0
= 0;
3553 PyObject
* _argo1
= 0;
3554 char *_kwnames
[] = { "image","cursor", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) return NULL
;
3581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3582 _resultobj
= Py_BuildValue("s",_ptemp
);
3585 _resultobj
= Py_None
;
3590 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3591 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3593 wxGenericDragImage
* _result
;
3595 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3596 PyObject
* _argo0
= 0;
3597 PyObject
* _argo1
= 0;
3598 char *_kwnames
[] = { "image","cursor", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) return NULL
;
3625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3626 _resultobj
= Py_BuildValue("s",_ptemp
);
3629 _resultobj
= Py_None
;
3634 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3635 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
* _resultobj
;
3637 wxGenericDragImage
* _result
;
3639 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3640 PyObject
* _obj0
= 0;
3641 PyObject
* _argo1
= 0;
3642 char *_kwnames
[] = { "str","cursor", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3649 #if PYTHON_API_VERSION >= 1009
3650 char* tmpPtr
; int tmpSize
;
3651 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3655 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3657 _arg0
= new wxString(tmpPtr
, tmpSize
);
3659 if (!PyString_Check(_obj0
)) {
3660 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3663 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) return NULL
;
3680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3681 _resultobj
= Py_BuildValue("s",_ptemp
);
3684 _resultobj
= Py_None
;
3693 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3694 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3696 wxGenericDragImage
* _result
;
3698 wxTreeItemId
* _arg1
;
3699 PyObject
* _argo0
= 0;
3700 PyObject
* _argo1
= 0;
3701 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3729 _resultobj
= Py_BuildValue("s",_ptemp
);
3732 _resultobj
= Py_None
;
3737 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3738 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3740 wxGenericDragImage
* _result
;
3743 PyObject
* _argo0
= 0;
3744 char *_kwnames
[] = { "listCtrl","id", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) return NULL
;
3764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3765 _resultobj
= Py_BuildValue("s",_ptemp
);
3768 _resultobj
= Py_None
;
3773 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3774 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3776 wxGenericDragImage
* _arg0
;
3777 PyObject
* _argo0
= 0;
3778 char *_kwnames
[] = { "self", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 delete_wxGenericDragImage(_arg0
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) return NULL
;
3796 } Py_INCREF(Py_None
);
3797 _resultobj
= Py_None
;
3801 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3802 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3804 wxGenericDragImage
* _arg0
;
3806 PyObject
* _argo0
= 0;
3807 PyObject
* _argo1
= 0;
3808 char *_kwnames
[] = { "self","bitmap", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) return NULL
;
3833 } Py_INCREF(Py_None
);
3834 _resultobj
= Py_None
;
3838 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3839 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3842 wxGenericDragImage
* _arg0
;
3845 bool _arg3
= (bool ) FALSE
;
3846 wxRect
* _arg4
= (wxRect
*) NULL
;
3847 PyObject
* _argo0
= 0;
3849 PyObject
* _obj1
= 0;
3850 PyObject
* _argo2
= 0;
3851 int tempbool3
= (int) FALSE
;
3853 PyObject
* _obj4
= 0;
3854 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3868 if (! wxPoint_helper(_obj1
, &_arg1
))
3872 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3878 _arg3
= (bool ) tempbool3
;
3882 if (! wxRect_helper(_obj4
, &_arg4
))
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) return NULL
;
3891 } _resultobj
= Py_BuildValue("i",_result
);
3895 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3896 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3899 wxGenericDragImage
* _arg0
;
3903 PyObject
* _argo0
= 0;
3905 PyObject
* _obj1
= 0;
3906 PyObject
* _argo2
= 0;
3907 PyObject
* _argo3
= 0;
3908 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3922 if (! wxPoint_helper(_obj1
, &_arg1
))
3926 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3933 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) return NULL
;
3945 } _resultobj
= Py_BuildValue("i",_result
);
3949 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3950 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3953 wxGenericDragImage
* _arg0
;
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) return NULL
;
3973 } _resultobj
= Py_BuildValue("i",_result
);
3977 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3978 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3981 wxGenericDragImage
* _arg0
;
3983 PyObject
* _argo0
= 0;
3985 PyObject
* _obj1
= 0;
3986 char *_kwnames
[] = { "self","pt", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4000 if (! wxPoint_helper(_obj1
, &_arg1
))
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) return NULL
;
4009 } _resultobj
= Py_BuildValue("i",_result
);
4013 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4014 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
* _resultobj
;
4017 wxGenericDragImage
* _arg0
;
4018 PyObject
* _argo0
= 0;
4019 char *_kwnames
[] = { "self", NULL
};
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 _result
= (bool )wxDragImage_Show(_arg0
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) return NULL
;
4037 } _resultobj
= Py_BuildValue("i",_result
);
4041 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4042 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4045 wxGenericDragImage
* _arg0
;
4046 PyObject
* _argo0
= 0;
4047 char *_kwnames
[] = { "self", NULL
};
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 _result
= (bool )wxDragImage_Hide(_arg0
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) return NULL
;
4065 } _resultobj
= Py_BuildValue("i",_result
);
4069 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4070 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4073 wxGenericDragImage
* _arg0
;
4075 PyObject
* _argo0
= 0;
4077 PyObject
* _obj1
= 0;
4078 char *_kwnames
[] = { "self","pos", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4093 if (! wxPoint_helper(_obj1
, &_arg1
))
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) return NULL
;
4102 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4103 _resultobj
= Py_BuildValue("s",_ptemp
);
4107 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4108 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4111 wxGenericDragImage
* _arg0
;
4116 PyObject
* _argo0
= 0;
4118 PyObject
* _obj1
= 0;
4120 PyObject
* _obj2
= 0;
4123 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4137 if (! wxPoint_helper(_obj1
, &_arg1
))
4142 if (! wxPoint_helper(_obj2
, &_arg2
))
4145 _arg3
= (bool ) tempbool3
;
4146 _arg4
= (bool ) tempbool4
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } _resultobj
= Py_BuildValue("i",_result
);
4157 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4160 src
= (wxPyTimer
*) ptr
;
4161 dest
= (wxObject
*) src
;
4162 return (void *) dest
;
4165 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4166 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4168 wxPyTimer
* _result
;
4170 PyObject
* _obj0
= 0;
4171 char *_kwnames
[] = { "notify", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) return NULL
;
4187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4188 _resultobj
= Py_BuildValue("s",_ptemp
);
4191 _resultobj
= Py_None
;
4196 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4197 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4200 PyObject
* _argo0
= 0;
4201 char *_kwnames
[] = { "self", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 delete_wxPyTimer(_arg0
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) return NULL
;
4219 } Py_INCREF(Py_None
);
4220 _resultobj
= Py_None
;
4224 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4225 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4248 } _resultobj
= Py_BuildValue("i",_result
);
4252 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4253 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4257 PyObject
* _argo0
= 0;
4258 char *_kwnames
[] = { "self", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) return NULL
;
4276 } _resultobj
= Py_BuildValue("i",_result
);
4280 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4281 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4285 PyObject
* _argo0
= 0;
4286 char *_kwnames
[] = { "self", NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) return NULL
;
4304 } _resultobj
= Py_BuildValue("i",_result
);
4308 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4309 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4312 wxEvtHandler
* _arg1
;
4313 int _arg2
= (int ) -1;
4314 PyObject
* _argo0
= 0;
4315 PyObject
* _argo1
= 0;
4316 char *_kwnames
[] = { "self","owner","id", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) return NULL
;
4341 } Py_INCREF(Py_None
);
4342 _resultobj
= Py_None
;
4346 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4347 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4350 int _arg1
= (int ) -1;
4351 int _arg2
= (int ) FALSE
;
4352 PyObject
* _argo0
= 0;
4353 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) return NULL
;
4371 } Py_INCREF(Py_None
);
4372 _resultobj
= Py_None
;
4376 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4377 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxPyTimer_Stop(_arg0
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) return NULL
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 #define new_wxStopWatch() (new wxStopWatch())
4405 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4407 wxStopWatch
* _result
;
4408 char *_kwnames
[] = { NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 _result
= (wxStopWatch
*)new_wxStopWatch();
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) return NULL
;
4421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4422 _resultobj
= Py_BuildValue("s",_ptemp
);
4425 _resultobj
= Py_None
;
4430 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4431 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4433 wxStopWatch
* _arg0
;
4434 PyObject
* _argo0
= 0;
4435 char *_kwnames
[] = { "self", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 delete_wxStopWatch(_arg0
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4458 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4459 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4461 wxStopWatch
* _arg0
;
4462 long _arg1
= (long ) 0;
4463 PyObject
* _argo0
= 0;
4464 char *_kwnames
[] = { "self","t", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxStopWatch_Start(_arg0
,_arg1
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) return NULL
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4487 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4488 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4490 wxStopWatch
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxStopWatch_Pause(_arg0
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4515 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4516 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4518 wxStopWatch
* _arg0
;
4519 PyObject
* _argo0
= 0;
4520 char *_kwnames
[] = { "self", NULL
};
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 wxStopWatch_Resume(_arg0
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) return NULL
;
4538 } Py_INCREF(Py_None
);
4539 _resultobj
= Py_None
;
4543 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4544 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 wxStopWatch
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 char *_kwnames
[] = { "self", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 _result
= (long )wxStopWatch_Time(_arg0
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) return NULL
;
4567 } _resultobj
= Py_BuildValue("l",_result
);
4571 #define new_wxLog() (new wxLog())
4572 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4575 char *_kwnames
[] = { NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 _result
= (wxLog
*)new_wxLog();
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4589 _resultobj
= Py_BuildValue("s",_ptemp
);
4592 _resultobj
= Py_None
;
4597 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4600 char *_kwnames
[] = { NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 _result
= (bool )wxLog::IsEnabled();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) return NULL
;
4611 } _resultobj
= Py_BuildValue("i",_result
);
4615 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4618 bool _arg0
= (bool ) TRUE
;
4619 int tempbool0
= (int) TRUE
;
4620 char *_kwnames
[] = { "doIt", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4625 _arg0
= (bool ) tempbool0
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 _result
= (bool )wxLog::EnableLogging(_arg0
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) return NULL
;
4632 } _resultobj
= Py_BuildValue("i",_result
);
4636 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4640 int _arg2
= (int ) 0;
4641 PyObject
* _argo0
= 0;
4642 char *_kwnames
[] = { "level","szString","t", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 } Py_INCREF(Py_None
);
4661 _resultobj
= Py_None
;
4665 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4666 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4669 PyObject
* _argo0
= 0;
4670 char *_kwnames
[] = { "self", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4694 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4698 PyObject
* _argo0
= 0;
4699 char *_kwnames
[] = { "self", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) return NULL
;
4717 } _resultobj
= Py_BuildValue("i",_result
);
4721 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4723 char *_kwnames
[] = { NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 wxLog::FlushActive();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) return NULL
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 char *_kwnames
[] = { NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 _result
= (wxLog
*)wxLog::GetActiveTarget();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) return NULL
;
4755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4756 _resultobj
= Py_BuildValue("s",_ptemp
);
4759 _resultobj
= Py_None
;
4764 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4768 PyObject
* _argo0
= 0;
4769 char *_kwnames
[] = { "pLogger", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) return NULL
;
4789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4790 _resultobj
= Py_BuildValue("s",_ptemp
);
4793 _resultobj
= Py_None
;
4798 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
* _resultobj
;
4800 char *_kwnames
[] = { NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) return NULL
;
4811 } Py_INCREF(Py_None
);
4812 _resultobj
= Py_None
;
4816 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4818 char *_kwnames
[] = { NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) return NULL
;
4829 } Py_INCREF(Py_None
);
4830 _resultobj
= Py_None
;
4834 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4835 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
* _resultobj
;
4838 bool _arg1
= (bool ) TRUE
;
4839 PyObject
* _argo0
= 0;
4840 int tempbool1
= (int) TRUE
;
4841 char *_kwnames
[] = { "self","bVerbose", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4853 _arg1
= (bool ) tempbool1
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 wxLog_SetVerbose(_arg0
,_arg1
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) return NULL
;
4860 } Py_INCREF(Py_None
);
4861 _resultobj
= Py_None
;
4865 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4867 char *_kwnames
[] = { NULL
};
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 wxLog::DontCreateOnDemand();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) return NULL
;
4878 } Py_INCREF(Py_None
);
4879 _resultobj
= Py_None
;
4883 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4885 wxTraceMask
* _arg0
;
4886 PyObject
* _argo0
= 0;
4887 char *_kwnames
[] = { "ulMask", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 wxLog::SetTraceMask(*_arg0
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) return NULL
;
4905 } Py_INCREF(Py_None
);
4906 _resultobj
= Py_None
;
4910 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
* _resultobj
;
4913 PyObject
* _obj0
= 0;
4914 char *_kwnames
[] = { "str", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4920 #if PYTHON_API_VERSION >= 1009
4921 char* tmpPtr
; int tmpSize
;
4922 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4923 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4926 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4928 _arg0
= new wxString(tmpPtr
, tmpSize
);
4930 if (!PyString_Check(_obj0
)) {
4931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4934 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 wxLog::AddTraceMask(*_arg0
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) return NULL
;
4943 } Py_INCREF(Py_None
);
4944 _resultobj
= Py_None
;
4952 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4955 PyObject
* _obj0
= 0;
4956 char *_kwnames
[] = { "str", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4962 #if PYTHON_API_VERSION >= 1009
4963 char* tmpPtr
; int tmpSize
;
4964 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4968 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4970 _arg0
= new wxString(tmpPtr
, tmpSize
);
4972 if (!PyString_Check(_obj0
)) {
4973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4976 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxLog::RemoveTraceMask(*_arg0
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) return NULL
;
4985 } Py_INCREF(Py_None
);
4986 _resultobj
= Py_None
;
4994 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4996 char *_kwnames
[] = { NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxLog::ClearTraceMasks();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) return NULL
;
5007 } Py_INCREF(Py_None
);
5008 _resultobj
= Py_None
;
5012 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5015 char *_kwnames
[] = { "ts", NULL
};
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 wxLog::SetTimestamp(_arg0
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5026 } Py_INCREF(Py_None
);
5027 _resultobj
= Py_None
;
5031 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5034 char *_kwnames
[] = { NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= (wxChar
*)wxLog::GetTimestamp();
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } _resultobj
= Py_BuildValue("s", _result
);
5049 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5050 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 _result
= (bool )wxLog_GetVerbose(_arg0
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5073 } _resultobj
= Py_BuildValue("i",_result
);
5077 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
* _resultobj
;
5079 wxTraceMask
* _result
;
5080 char *_kwnames
[] = { NULL
};
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 _result
= new wxTraceMask (wxLog::GetTraceMask());
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) return NULL
;
5092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5093 _resultobj
= Py_BuildValue("s",_ptemp
);
5097 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5101 char *_kwnames
[] = { "mask", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) return NULL
;
5112 } _resultobj
= Py_BuildValue("i",_result
);
5116 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5118 wxLog::TimeStamp(&msg
);
5121 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
* _resultobj
;
5125 PyObject
* _argo0
= 0;
5126 char *_kwnames
[] = { "self", NULL
};
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) return NULL
;
5145 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5153 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5156 src
= (wxLogStderr
*) ptr
;
5157 dest
= (wxLog
*) src
;
5158 return (void *) dest
;
5161 #define new_wxLogStderr() (new wxLogStderr())
5162 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
* _resultobj
;
5164 wxLogStderr
* _result
;
5165 char *_kwnames
[] = { NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 _result
= (wxLogStderr
*)new_wxLogStderr();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) return NULL
;
5178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5179 _resultobj
= Py_BuildValue("s",_ptemp
);
5182 _resultobj
= Py_None
;
5187 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5190 src
= (wxLogTextCtrl
*) ptr
;
5191 dest
= (wxLog
*) src
;
5192 return (void *) dest
;
5195 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5196 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5198 wxLogTextCtrl
* _result
;
5200 PyObject
* _argo0
= 0;
5201 char *_kwnames
[] = { "pTextCtrl", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) return NULL
;
5221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5222 _resultobj
= Py_BuildValue("s",_ptemp
);
5225 _resultobj
= Py_None
;
5230 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5233 src
= (wxLogGui
*) ptr
;
5234 dest
= (wxLog
*) src
;
5235 return (void *) dest
;
5238 #define new_wxLogGui() (new wxLogGui())
5239 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5242 char *_kwnames
[] = { NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 _result
= (wxLogGui
*)new_wxLogGui();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) return NULL
;
5255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5256 _resultobj
= Py_BuildValue("s",_ptemp
);
5259 _resultobj
= Py_None
;
5264 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5267 src
= (wxLogWindow
*) ptr
;
5268 dest
= (wxLog
*) src
;
5269 return (void *) dest
;
5272 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5273 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5275 wxLogWindow
* _result
;
5278 bool _arg2
= (bool ) TRUE
;
5279 bool _arg3
= (bool ) TRUE
;
5280 PyObject
* _argo0
= 0;
5281 int tempbool2
= (int) TRUE
;
5282 int tempbool3
= (int) TRUE
;
5283 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5296 _arg2
= (bool ) tempbool2
;
5297 _arg3
= (bool ) tempbool3
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) return NULL
;
5305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5306 _resultobj
= Py_BuildValue("s",_ptemp
);
5309 _resultobj
= Py_None
;
5314 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5315 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5317 wxLogWindow
* _arg0
;
5318 bool _arg1
= (bool ) TRUE
;
5319 PyObject
* _argo0
= 0;
5320 int tempbool1
= (int) TRUE
;
5321 char *_kwnames
[] = { "self","bShow", NULL
};
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5333 _arg1
= (bool ) tempbool1
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 wxLogWindow_Show(_arg0
,_arg1
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) return NULL
;
5340 } Py_INCREF(Py_None
);
5341 _resultobj
= Py_None
;
5345 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5346 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5349 wxLogWindow
* _arg0
;
5350 PyObject
* _argo0
= 0;
5351 char *_kwnames
[] = { "self", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) return NULL
;
5369 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5373 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5374 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5377 wxLogWindow
* _arg0
;
5378 PyObject
* _argo0
= 0;
5379 char *_kwnames
[] = { "self", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) return NULL
;
5399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5400 _resultobj
= Py_BuildValue("s",_ptemp
);
5403 _resultobj
= Py_None
;
5408 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5409 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(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_IsPassingMessages",_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_IsPassingMessages. Expected _wxLogWindow_p.");
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) return NULL
;
5432 } _resultobj
= Py_BuildValue("i",_result
);
5436 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5437 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5439 wxLogWindow
* _arg0
;
5441 PyObject
* _argo0
= 0;
5443 char *_kwnames
[] = { "self","bDoPass", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
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_PassMessages. Expected _wxLogWindow_p.");
5455 _arg1
= (bool ) tempbool1
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 wxLogWindow_PassMessages(_arg0
,_arg1
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) return NULL
;
5462 } Py_INCREF(Py_None
);
5463 _resultobj
= Py_None
;
5467 #define new_wxLogNull() (new wxLogNull())
5468 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5470 wxLogNull
* _result
;
5471 char *_kwnames
[] = { NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 _result
= (wxLogNull
*)new_wxLogNull();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) return NULL
;
5484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5485 _resultobj
= Py_BuildValue("s",_ptemp
);
5488 _resultobj
= Py_None
;
5493 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5494 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5497 PyObject
* _argo0
= 0;
5498 char *_kwnames
[] = { "self", NULL
};
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 delete_wxLogNull(_arg0
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) return NULL
;
5516 } Py_INCREF(Py_None
);
5517 _resultobj
= Py_None
;
5521 static void *SwigwxLogChainTowxLog(void *ptr
) {
5524 src
= (wxLogChain
*) ptr
;
5525 dest
= (wxLog
*) src
;
5526 return (void *) dest
;
5529 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5530 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5532 wxLogChain
* _result
;
5534 PyObject
* _argo0
= 0;
5535 char *_kwnames
[] = { "logger", NULL
};
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) return NULL
;
5555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5556 _resultobj
= Py_BuildValue("s",_ptemp
);
5559 _resultobj
= Py_None
;
5564 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5565 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
* _resultobj
;
5569 PyObject
* _argo0
= 0;
5570 PyObject
* _argo1
= 0;
5571 char *_kwnames
[] = { "self","logger", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxLogChain_SetLog(_arg0
,_arg1
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) return NULL
;
5596 } Py_INCREF(Py_None
);
5597 _resultobj
= Py_None
;
5601 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5602 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5606 PyObject
* _argo0
= 0;
5608 char *_kwnames
[] = { "self","bDoPass", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5620 _arg1
= (bool ) tempbool1
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 wxLogChain_PassMessages(_arg0
,_arg1
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) return NULL
;
5627 } Py_INCREF(Py_None
);
5628 _resultobj
= Py_None
;
5632 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5633 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
* _resultobj
;
5637 PyObject
* _argo0
= 0;
5638 char *_kwnames
[] = { "self", NULL
};
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) return NULL
;
5656 } _resultobj
= Py_BuildValue("i",_result
);
5660 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5661 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
* _resultobj
;
5665 PyObject
* _argo0
= 0;
5666 char *_kwnames
[] = { "self", NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) return NULL
;
5686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5687 _resultobj
= Py_BuildValue("s",_ptemp
);
5690 _resultobj
= Py_None
;
5695 static void *SwigwxPyLogTowxLog(void *ptr
) {
5698 src
= (wxPyLog
*) ptr
;
5699 dest
= (wxLog
*) src
;
5700 return (void *) dest
;
5703 #define new_wxPyLog() (new wxPyLog())
5704 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
* _resultobj
;
5707 char *_kwnames
[] = { NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 _result
= (wxPyLog
*)new_wxPyLog();
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) return NULL
;
5720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5721 _resultobj
= Py_BuildValue("s",_ptemp
);
5724 _resultobj
= Py_None
;
5729 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5730 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
* _resultobj
;
5735 PyObject
* _argo0
= 0;
5736 PyObject
* _obj1
= 0;
5737 PyObject
* _obj2
= 0;
5738 char *_kwnames
[] = { "self","self","_class", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) return NULL
;
5762 } Py_INCREF(Py_None
);
5763 _resultobj
= Py_None
;
5767 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5768 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxPyLog_Destroy(_arg0
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) return NULL
;
5790 } Py_INCREF(Py_None
);
5791 _resultobj
= Py_None
;
5795 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5796 wxProcessEvent
*src
;
5798 src
= (wxProcessEvent
*) ptr
;
5799 dest
= (wxEvent
*) src
;
5800 return (void *) dest
;
5803 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5804 wxProcessEvent
*src
;
5806 src
= (wxProcessEvent
*) ptr
;
5807 dest
= (wxObject
*) src
;
5808 return (void *) dest
;
5811 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5812 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
* _resultobj
;
5814 wxProcessEvent
* _result
;
5815 int _arg0
= (int ) 0;
5816 int _arg1
= (int ) 0;
5817 int _arg2
= (int ) 0;
5818 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) return NULL
;
5831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5832 _resultobj
= Py_BuildValue("s",_ptemp
);
5835 _resultobj
= Py_None
;
5840 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5841 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5844 wxProcessEvent
* _arg0
;
5845 PyObject
* _argo0
= 0;
5846 char *_kwnames
[] = { "self", NULL
};
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) return NULL
;
5864 } _resultobj
= Py_BuildValue("i",_result
);
5868 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5869 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5872 wxProcessEvent
* _arg0
;
5873 PyObject
* _argo0
= 0;
5874 char *_kwnames
[] = { "self", NULL
};
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) return NULL
;
5892 } _resultobj
= Py_BuildValue("i",_result
);
5896 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5897 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5900 wxProcessEvent
* _arg0
;
5902 PyObject
* _argo0
= 0;
5903 char *_kwnames
[] = { "self","m_pid", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) return NULL
;
5921 } _resultobj
= Py_BuildValue("i",_result
);
5925 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5926 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5929 wxProcessEvent
* _arg0
;
5930 PyObject
* _argo0
= 0;
5931 char *_kwnames
[] = { "self", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) return NULL
;
5949 } _resultobj
= Py_BuildValue("i",_result
);
5953 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5954 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5957 wxProcessEvent
* _arg0
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) return NULL
;
5978 } _resultobj
= Py_BuildValue("i",_result
);
5982 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5983 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5986 wxProcessEvent
* _arg0
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) return NULL
;
6006 } _resultobj
= Py_BuildValue("i",_result
);
6010 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6013 src
= (wxPyProcess
*) ptr
;
6014 dest
= (wxEvtHandler
*) src
;
6015 return (void *) dest
;
6018 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6021 src
= (wxPyProcess
*) ptr
;
6022 dest
= (wxObject
*) src
;
6023 return (void *) dest
;
6026 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6027 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
* _resultobj
;
6029 wxPyProcess
* _result
;
6030 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6031 int _arg1
= (int ) -1;
6032 PyObject
* _argo0
= 0;
6033 char *_kwnames
[] = { "parent","id", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) return NULL
;
6053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6054 _resultobj
= Py_BuildValue("s",_ptemp
);
6057 _resultobj
= Py_None
;
6062 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6063 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6065 wxPyProcess
* _arg0
;
6066 PyObject
* _argo0
= 0;
6067 char *_kwnames
[] = { "self", NULL
};
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 wxPyProcess_Destroy(_arg0
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) return NULL
;
6085 } Py_INCREF(Py_None
);
6086 _resultobj
= Py_None
;
6090 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6091 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxPyProcess
* _arg0
;
6096 PyObject
* _argo0
= 0;
6097 PyObject
* _obj1
= 0;
6098 PyObject
* _obj2
= 0;
6099 char *_kwnames
[] = { "self","self","_class", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) return NULL
;
6123 } Py_INCREF(Py_None
);
6124 _resultobj
= Py_None
;
6128 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6129 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6131 wxPyProcess
* _arg0
;
6134 PyObject
* _argo0
= 0;
6135 char *_kwnames
[] = { "self","pid","status", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) return NULL
;
6153 } Py_INCREF(Py_None
);
6154 _resultobj
= Py_None
;
6158 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6159 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxPyProcess
* _arg0
;
6162 PyObject
* _argo0
= 0;
6163 char *_kwnames
[] = { "self", NULL
};
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 wxProcess_Redirect(_arg0
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) return NULL
;
6181 } Py_INCREF(Py_None
);
6182 _resultobj
= Py_None
;
6186 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6187 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
* _resultobj
;
6190 wxPyProcess
* _arg0
;
6191 PyObject
* _argo0
= 0;
6192 char *_kwnames
[] = { "self", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) return NULL
;
6210 } _resultobj
= Py_BuildValue("i",_result
);
6214 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6215 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
* _resultobj
;
6217 wxPyProcess
* _arg0
;
6218 PyObject
* _argo0
= 0;
6219 char *_kwnames
[] = { "self", NULL
};
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 wxProcess_Detach(_arg0
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) return NULL
;
6237 } Py_INCREF(Py_None
);
6238 _resultobj
= Py_None
;
6242 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6243 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
* _resultobj
;
6245 wxInputStream
* _result
;
6246 wxPyProcess
* _arg0
;
6247 PyObject
* _argo0
= 0;
6248 char *_kwnames
[] = { "self", NULL
};
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) return NULL
;
6267 wxPyInputStream
* _ptr
= NULL
;
6270 _ptr
= new wxPyInputStream(_result
);
6272 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6277 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6278 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
* _resultobj
;
6280 wxInputStream
* _result
;
6281 wxPyProcess
* _arg0
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6302 wxPyInputStream
* _ptr
= NULL
;
6305 _ptr
= new wxPyInputStream(_result
);
6307 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6312 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6313 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxOutputStream
* _result
;
6316 wxPyProcess
* _arg0
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) return NULL
;
6338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6339 _resultobj
= Py_BuildValue("s",_ptemp
);
6342 _resultobj
= Py_None
;
6347 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6348 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6350 wxPyProcess
* _arg0
;
6351 PyObject
* _argo0
= 0;
6352 char *_kwnames
[] = { "self", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 wxProcess_CloseOutput(_arg0
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) return NULL
;
6370 } Py_INCREF(Py_None
);
6371 _resultobj
= Py_None
;
6375 static void *SwigwxJoystickTowxObject(void *ptr
) {
6378 src
= (wxJoystick
*) ptr
;
6379 dest
= (wxObject
*) src
;
6380 return (void *) dest
;
6383 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6384 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6386 wxJoystick
* _result
;
6387 int _arg0
= (int ) wxJOYSTICK1
;
6388 char *_kwnames
[] = { "joystick", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) return NULL
;
6401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6402 _resultobj
= Py_BuildValue("s",_ptemp
);
6405 _resultobj
= Py_None
;
6410 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6411 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 delete_wxJoystick(_arg0
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) return NULL
;
6433 } Py_INCREF(Py_None
);
6434 _resultobj
= Py_None
;
6438 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6439 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
* _resultobj
;
6443 PyObject
* _argo0
= 0;
6444 char *_kwnames
[] = { "self", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6464 _resultobj
= Py_BuildValue("s",_ptemp
);
6468 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6469 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6473 PyObject
* _argo0
= 0;
6474 char *_kwnames
[] = { "self", NULL
};
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) return NULL
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6497 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6501 PyObject
* _argo0
= 0;
6502 char *_kwnames
[] = { "self", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) return NULL
;
6520 } _resultobj
= Py_BuildValue("i",_result
);
6524 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6525 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6529 PyObject
* _argo0
= 0;
6530 char *_kwnames
[] = { "self", NULL
};
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) return NULL
;
6548 } _resultobj
= Py_BuildValue("i",_result
);
6552 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6553 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6557 PyObject
* _argo0
= 0;
6558 char *_kwnames
[] = { "self", NULL
};
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) return NULL
;
6576 } _resultobj
= Py_BuildValue("i",_result
);
6580 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6581 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
* _resultobj
;
6585 PyObject
* _argo0
= 0;
6586 char *_kwnames
[] = { "self", NULL
};
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) return NULL
;
6604 } _resultobj
= Py_BuildValue("i",_result
);
6608 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6609 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
* _resultobj
;
6613 PyObject
* _argo0
= 0;
6614 char *_kwnames
[] = { "self", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) return NULL
;
6632 } _resultobj
= Py_BuildValue("i",_result
);
6636 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6637 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6641 PyObject
* _argo0
= 0;
6642 char *_kwnames
[] = { "self", NULL
};
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) return NULL
;
6660 } _resultobj
= Py_BuildValue("i",_result
);
6664 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6665 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
* _resultobj
;
6669 PyObject
* _argo0
= 0;
6670 char *_kwnames
[] = { "self", NULL
};
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) return NULL
;
6688 } _resultobj
= Py_BuildValue("i",_result
);
6692 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6693 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
* _resultobj
;
6697 PyObject
* _argo0
= 0;
6698 char *_kwnames
[] = { "self","threshold", NULL
};
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) return NULL
;
6716 } Py_INCREF(Py_None
);
6717 _resultobj
= Py_None
;
6721 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6722 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6726 PyObject
* _argo0
= 0;
6727 char *_kwnames
[] = { "self", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 _result
= (bool )wxJoystick_IsOk(_arg0
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) return NULL
;
6745 } _resultobj
= Py_BuildValue("i",_result
);
6749 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6750 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6754 PyObject
* _argo0
= 0;
6755 char *_kwnames
[] = { "self", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) return NULL
;
6773 } _resultobj
= Py_BuildValue("i",_result
);
6777 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6778 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6782 PyObject
* _argo0
= 0;
6783 char *_kwnames
[] = { "self", NULL
};
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) return NULL
;
6801 } _resultobj
= Py_BuildValue("i",_result
);
6805 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6806 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
* _resultobj
;
6810 PyObject
* _argo0
= 0;
6811 char *_kwnames
[] = { "self", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 _result
= (int )wxJoystick_GetProductId(_arg0
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) return NULL
;
6829 } _resultobj
= Py_BuildValue("i",_result
);
6833 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6834 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6858 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6866 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6867 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
* _resultobj
;
6871 PyObject
* _argo0
= 0;
6872 char *_kwnames
[] = { "self", NULL
};
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 _result
= (int )wxJoystick_GetXMin(_arg0
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) return NULL
;
6890 } _resultobj
= Py_BuildValue("i",_result
);
6894 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6895 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
* _resultobj
;
6899 PyObject
* _argo0
= 0;
6900 char *_kwnames
[] = { "self", NULL
};
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 _result
= (int )wxJoystick_GetYMin(_arg0
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) return NULL
;
6918 } _resultobj
= Py_BuildValue("i",_result
);
6922 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6923 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6927 PyObject
* _argo0
= 0;
6928 char *_kwnames
[] = { "self", NULL
};
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 _result
= (int )wxJoystick_GetZMin(_arg0
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) return NULL
;
6946 } _resultobj
= Py_BuildValue("i",_result
);
6950 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6951 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
* _resultobj
;
6955 PyObject
* _argo0
= 0;
6956 char *_kwnames
[] = { "self", NULL
};
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 _result
= (int )wxJoystick_GetXMax(_arg0
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) return NULL
;
6974 } _resultobj
= Py_BuildValue("i",_result
);
6978 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6979 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6983 PyObject
* _argo0
= 0;
6984 char *_kwnames
[] = { "self", NULL
};
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 _result
= (int )wxJoystick_GetYMax(_arg0
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) return NULL
;
7002 } _resultobj
= Py_BuildValue("i",_result
);
7006 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7007 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7011 PyObject
* _argo0
= 0;
7012 char *_kwnames
[] = { "self", NULL
};
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 _result
= (int )wxJoystick_GetZMax(_arg0
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) return NULL
;
7030 } _resultobj
= Py_BuildValue("i",_result
);
7034 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7035 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) return NULL
;
7058 } _resultobj
= Py_BuildValue("i",_result
);
7062 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7063 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
* _resultobj
;
7067 PyObject
* _argo0
= 0;
7068 char *_kwnames
[] = { "self", NULL
};
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) return NULL
;
7086 } _resultobj
= Py_BuildValue("i",_result
);
7090 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7091 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7095 PyObject
* _argo0
= 0;
7096 char *_kwnames
[] = { "self", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) return NULL
;
7114 } _resultobj
= Py_BuildValue("i",_result
);
7118 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7119 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
* _resultobj
;
7123 PyObject
* _argo0
= 0;
7124 char *_kwnames
[] = { "self", NULL
};
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) return NULL
;
7142 } _resultobj
= Py_BuildValue("i",_result
);
7146 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7147 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7151 PyObject
* _argo0
= 0;
7152 char *_kwnames
[] = { "self", NULL
};
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) return NULL
;
7170 } _resultobj
= Py_BuildValue("i",_result
);
7174 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7175 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
* _resultobj
;
7179 PyObject
* _argo0
= 0;
7180 char *_kwnames
[] = { "self", NULL
};
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) return NULL
;
7198 } _resultobj
= Py_BuildValue("i",_result
);
7202 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7203 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7226 } _resultobj
= Py_BuildValue("i",_result
);
7230 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7231 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
* _resultobj
;
7235 PyObject
* _argo0
= 0;
7236 char *_kwnames
[] = { "self", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } _resultobj
= Py_BuildValue("i",_result
);
7258 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7259 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7263 PyObject
* _argo0
= 0;
7264 char *_kwnames
[] = { "self", NULL
};
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 _result
= (int )wxJoystick_GetUMin(_arg0
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) return NULL
;
7282 } _resultobj
= Py_BuildValue("i",_result
);
7286 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7287 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7291 PyObject
* _argo0
= 0;
7292 char *_kwnames
[] = { "self", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 _result
= (int )wxJoystick_GetUMax(_arg0
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) return NULL
;
7310 } _resultobj
= Py_BuildValue("i",_result
);
7314 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7315 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 _result
= (int )wxJoystick_GetVMin(_arg0
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7338 } _resultobj
= Py_BuildValue("i",_result
);
7342 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7343 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
* _resultobj
;
7347 PyObject
* _argo0
= 0;
7348 char *_kwnames
[] = { "self", NULL
};
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 _result
= (int )wxJoystick_GetVMax(_arg0
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) return NULL
;
7366 } _resultobj
= Py_BuildValue("i",_result
);
7370 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7371 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
* _resultobj
;
7375 PyObject
* _argo0
= 0;
7376 char *_kwnames
[] = { "self", NULL
};
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) return NULL
;
7394 } _resultobj
= Py_BuildValue("i",_result
);
7398 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7399 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
* _resultobj
;
7403 PyObject
* _argo0
= 0;
7404 char *_kwnames
[] = { "self", NULL
};
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 _result
= (bool )wxJoystick_HasZ(_arg0
);
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) return NULL
;
7422 } _resultobj
= Py_BuildValue("i",_result
);
7426 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7427 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
* _resultobj
;
7431 PyObject
* _argo0
= 0;
7432 char *_kwnames
[] = { "self", NULL
};
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 _result
= (bool )wxJoystick_HasU(_arg0
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) return NULL
;
7450 } _resultobj
= Py_BuildValue("i",_result
);
7454 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7455 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
* _resultobj
;
7459 PyObject
* _argo0
= 0;
7460 char *_kwnames
[] = { "self", NULL
};
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 _result
= (bool )wxJoystick_HasV(_arg0
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) return NULL
;
7478 } _resultobj
= Py_BuildValue("i",_result
);
7482 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7483 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7487 PyObject
* _argo0
= 0;
7488 char *_kwnames
[] = { "self", NULL
};
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) return NULL
;
7506 } _resultobj
= Py_BuildValue("i",_result
);
7510 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7511 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) return NULL
;
7534 } _resultobj
= Py_BuildValue("i",_result
);
7538 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7539 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7543 PyObject
* _argo0
= 0;
7544 char *_kwnames
[] = { "self", NULL
};
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) return NULL
;
7562 } _resultobj
= Py_BuildValue("i",_result
);
7566 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7567 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
* _resultobj
;
7572 int _arg2
= (int ) 0;
7573 PyObject
* _argo0
= 0;
7574 PyObject
* _argo1
= 0;
7575 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) return NULL
;
7600 } _resultobj
= Py_BuildValue("i",_result
);
7604 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7605 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
* _resultobj
;
7609 PyObject
* _argo0
= 0;
7610 char *_kwnames
[] = { "self", NULL
};
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) return NULL
;
7628 } _resultobj
= Py_BuildValue("i",_result
);
7632 static void *SwigwxWaveTowxObject(void *ptr
) {
7635 src
= (wxWave
*) ptr
;
7636 dest
= (wxObject
*) src
;
7637 return (void *) dest
;
7640 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7641 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7645 bool _arg1
= (bool ) FALSE
;
7646 PyObject
* _obj0
= 0;
7647 int tempbool1
= (int) FALSE
;
7648 char *_kwnames
[] = { "fileName","isResource", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7655 #if PYTHON_API_VERSION >= 1009
7656 char* tmpPtr
; int tmpSize
;
7657 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7658 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7661 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7663 _arg0
= new wxString(tmpPtr
, tmpSize
);
7665 if (!PyString_Check(_obj0
)) {
7666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7669 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7672 _arg1
= (bool ) tempbool1
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) return NULL
;
7680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7681 _resultobj
= Py_BuildValue("s",_ptemp
);
7684 _resultobj
= Py_None
;
7693 #define delete_wxWave(_swigobj) (delete _swigobj)
7694 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
* _resultobj
;
7697 PyObject
* _argo0
= 0;
7698 char *_kwnames
[] = { "self", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 delete_wxWave(_arg0
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) return NULL
;
7716 } Py_INCREF(Py_None
);
7717 _resultobj
= Py_None
;
7721 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7722 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
* _resultobj
;
7726 PyObject
* _argo0
= 0;
7727 char *_kwnames
[] = { "self", NULL
};
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 _result
= (bool )wxWave_IsOk(_arg0
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) return NULL
;
7745 } _resultobj
= Py_BuildValue("i",_result
);
7749 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7750 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7754 bool _arg1
= (bool ) TRUE
;
7755 bool _arg2
= (bool ) FALSE
;
7756 PyObject
* _argo0
= 0;
7757 int tempbool1
= (int) TRUE
;
7758 int tempbool2
= (int) FALSE
;
7759 char *_kwnames
[] = { "self","async","looped", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7771 _arg1
= (bool ) tempbool1
;
7772 _arg2
= (bool ) tempbool2
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) return NULL
;
7779 } _resultobj
= Py_BuildValue("i",_result
);
7783 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7784 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
* _resultobj
;
7786 wxFileTypeInfo
* _result
;
7791 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) return NULL
;
7804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7805 _resultobj
= Py_BuildValue("s",_ptemp
);
7808 _resultobj
= Py_None
;
7813 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7814 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
* _resultobj
;
7816 wxFileTypeInfo
* _result
;
7817 wxArrayString
* _arg0
;
7818 PyObject
* _obj0
= 0;
7819 char *_kwnames
[] = { "sArray", NULL
};
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7826 if (! PySequence_Check(_obj0
)) {
7827 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7830 _arg0
= new wxArrayString
;
7831 int i
, len
=PySequence_Length(_obj0
);
7832 for (i
=0; i
<len
; i
++) {
7833 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7834 PyObject
* str
= PyObject_Str(item
);
7835 _arg0
->Add(PyString_AsString(str
));
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) return NULL
;
7847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7848 _resultobj
= Py_BuildValue("s",_ptemp
);
7851 _resultobj
= Py_None
;
7860 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7861 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
* _resultobj
;
7863 wxFileTypeInfo
* _result
;
7864 char *_kwnames
[] = { NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) return NULL
;
7877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7878 _resultobj
= Py_BuildValue("s",_ptemp
);
7881 _resultobj
= Py_None
;
7886 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7887 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
* _resultobj
;
7890 wxFileTypeInfo
* _arg0
;
7891 PyObject
* _argo0
= 0;
7892 char *_kwnames
[] = { "self", NULL
};
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) return NULL
;
7910 } _resultobj
= Py_BuildValue("i",_result
);
7914 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7915 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
* _resultobj
;
7917 wxFileTypeInfo
* _arg0
;
7919 int _arg2
= (int ) 0;
7920 PyObject
* _argo0
= 0;
7921 PyObject
* _obj1
= 0;
7922 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7935 #if PYTHON_API_VERSION >= 1009
7936 char* tmpPtr
; int tmpSize
;
7937 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7938 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7941 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7943 _arg1
= new wxString(tmpPtr
, tmpSize
);
7945 if (!PyString_Check(_obj1
)) {
7946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7949 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) return NULL
;
7958 } Py_INCREF(Py_None
);
7959 _resultobj
= Py_None
;
7967 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7968 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
* _resultobj
;
7970 wxFileTypeInfo
* _arg0
;
7972 PyObject
* _argo0
= 0;
7973 PyObject
* _obj1
= 0;
7974 char *_kwnames
[] = { "self","shortDesc", NULL
};
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7987 #if PYTHON_API_VERSION >= 1009
7988 char* tmpPtr
; int tmpSize
;
7989 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7993 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7995 _arg1
= new wxString(tmpPtr
, tmpSize
);
7997 if (!PyString_Check(_obj1
)) {
7998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8001 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) return NULL
;
8010 } Py_INCREF(Py_None
);
8011 _resultobj
= Py_None
;
8019 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8020 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
* _resultobj
;
8023 wxFileTypeInfo
* _arg0
;
8024 PyObject
* _argo0
= 0;
8025 char *_kwnames
[] = { "self", NULL
};
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8040 _result
= (wxString
*) &_result_ref
;
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) return NULL
;
8045 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8050 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8051 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
* _resultobj
;
8054 wxFileTypeInfo
* _arg0
;
8055 PyObject
* _argo0
= 0;
8056 char *_kwnames
[] = { "self", NULL
};
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8071 _result
= (wxString
*) &_result_ref
;
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) return NULL
;
8076 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8081 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8082 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8085 wxFileTypeInfo
* _arg0
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "self", NULL
};
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8102 _result
= (wxString
*) &_result_ref
;
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) return NULL
;
8107 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8112 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8113 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
* _resultobj
;
8116 wxFileTypeInfo
* _arg0
;
8117 PyObject
* _argo0
= 0;
8118 char *_kwnames
[] = { "self", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8133 _result
= (wxString
*) &_result_ref
;
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) return NULL
;
8138 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8143 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8144 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
* _resultobj
;
8147 wxFileTypeInfo
* _arg0
;
8148 PyObject
* _argo0
= 0;
8149 char *_kwnames
[] = { "self", NULL
};
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8164 _result
= (wxString
*) &_result_ref
;
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) return NULL
;
8169 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8174 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8175 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8176 return wxArrayString2PyList_helper(arr
);
8178 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8181 wxFileTypeInfo
* _arg0
;
8182 PyObject
* _argo0
= 0;
8183 char *_kwnames
[] = { "self", NULL
};
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) return NULL
;
8202 _resultobj
= _result
;
8207 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8208 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8211 wxFileTypeInfo
* _arg0
;
8212 PyObject
* _argo0
= 0;
8213 char *_kwnames
[] = { "self", NULL
};
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8231 } _resultobj
= Py_BuildValue("i",_result
);
8235 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8236 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
* _resultobj
;
8239 wxFileTypeInfo
* _arg0
;
8240 PyObject
* _argo0
= 0;
8241 char *_kwnames
[] = { "self", NULL
};
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8256 _result
= (wxString
*) &_result_ref
;
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) return NULL
;
8261 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8266 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8267 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8270 wxFileTypeInfo
* _arg0
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) return NULL
;
8290 } _resultobj
= Py_BuildValue("i",_result
);
8294 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8295 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
* _resultobj
;
8297 wxFileType
* _result
;
8298 wxFileTypeInfo
* _arg0
;
8299 PyObject
* _argo0
= 0;
8300 char *_kwnames
[] = { "ftInfo", NULL
};
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) return NULL
;
8320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8321 _resultobj
= Py_BuildValue("s",_ptemp
);
8324 _resultobj
= Py_None
;
8329 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8331 if (self
->GetMimeType(&str
))
8332 return PyString_FromString(str
.c_str());
8336 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
* _resultobj
;
8340 PyObject
* _argo0
= 0;
8341 char *_kwnames
[] = { "self", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) return NULL
;
8360 _resultobj
= _result
;
8365 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8367 if (self
->GetMimeTypes(arr
))
8368 return wxArrayString2PyList_helper(arr
);
8372 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
* _resultobj
;
8376 PyObject
* _argo0
= 0;
8377 char *_kwnames
[] = { "self", NULL
};
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) return NULL
;
8396 _resultobj
= _result
;
8401 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8403 if (self
->GetExtensions(arr
))
8404 return wxArrayString2PyList_helper(arr
);
8408 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
* _resultobj
;
8412 PyObject
* _argo0
= 0;
8413 char *_kwnames
[] = { "self", NULL
};
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) return NULL
;
8432 _resultobj
= _result
;
8437 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8439 if (self
->GetIcon(&icon
))
8440 return new wxIcon(icon
);
8444 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
* _resultobj
;
8448 PyObject
* _argo0
= 0;
8449 char *_kwnames
[] = { "self", NULL
};
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) return NULL
;
8469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8470 _resultobj
= Py_BuildValue("s",_ptemp
);
8473 _resultobj
= Py_None
;
8478 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8482 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8483 wxPyBeginBlockThreads();
8484 PyObject
* tuple
= PyTuple_New(3);
8485 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8487 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8488 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8489 wxPyEndBlockThreads();
8495 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
* _resultobj
;
8499 PyObject
* _argo0
= 0;
8500 char *_kwnames
[] = { "self", NULL
};
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) return NULL
;
8519 _resultobj
= _result
;
8524 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8526 if (self
->GetDescription(&str
))
8527 return PyString_FromString(str
.c_str());
8531 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
* _resultobj
;
8535 PyObject
* _argo0
= 0;
8536 char *_kwnames
[] = { "self", NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) return NULL
;
8555 _resultobj
= _result
;
8560 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8562 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8563 return PyString_FromString(str
.c_str());
8567 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
* _resultobj
;
8572 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8573 PyObject
* _argo0
= 0;
8574 PyObject
* _obj1
= 0;
8575 PyObject
* _obj2
= 0;
8576 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8589 #if PYTHON_API_VERSION >= 1009
8590 char* tmpPtr
; int tmpSize
;
8591 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8595 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8597 _arg1
= new wxString(tmpPtr
, tmpSize
);
8599 if (!PyString_Check(_obj1
)) {
8600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8603 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8608 #if PYTHON_API_VERSION >= 1009
8609 char* tmpPtr
; int tmpSize
;
8610 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8614 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8616 _arg2
= new wxString(tmpPtr
, tmpSize
);
8618 if (!PyString_Check(_obj2
)) {
8619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8622 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) return NULL
;
8632 _resultobj
= _result
;
8645 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8647 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8648 return PyString_FromString(str
.c_str());
8652 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
* _resultobj
;
8657 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8658 PyObject
* _argo0
= 0;
8659 PyObject
* _obj1
= 0;
8660 PyObject
* _obj2
= 0;
8661 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8674 #if PYTHON_API_VERSION >= 1009
8675 char* tmpPtr
; int tmpSize
;
8676 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8680 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8682 _arg1
= new wxString(tmpPtr
, tmpSize
);
8684 if (!PyString_Check(_obj1
)) {
8685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8688 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8693 #if PYTHON_API_VERSION >= 1009
8694 char* tmpPtr
; int tmpSize
;
8695 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8699 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8701 _arg2
= new wxString(tmpPtr
, tmpSize
);
8703 if (!PyString_Check(_obj2
)) {
8704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8707 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) return NULL
;
8717 _resultobj
= _result
;
8730 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8731 wxArrayString verbs
;
8732 wxArrayString commands
;
8733 if (self
->GetAllCommands(&verbs
, &commands
,
8734 wxFileType::MessageParameters(filename
, mimetype
))) {
8735 wxPyBeginBlockThreads();
8736 PyObject
* tuple
= PyTuple_New(2);
8737 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8738 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8739 wxPyEndBlockThreads();
8745 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
* _resultobj
;
8750 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8751 PyObject
* _argo0
= 0;
8752 PyObject
* _obj1
= 0;
8753 PyObject
* _obj2
= 0;
8754 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8767 #if PYTHON_API_VERSION >= 1009
8768 char* tmpPtr
; int tmpSize
;
8769 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8770 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8773 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8775 _arg1
= new wxString(tmpPtr
, tmpSize
);
8777 if (!PyString_Check(_obj1
)) {
8778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8781 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8786 #if PYTHON_API_VERSION >= 1009
8787 char* tmpPtr
; int tmpSize
;
8788 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8792 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8794 _arg2
= new wxString(tmpPtr
, tmpSize
);
8796 if (!PyString_Check(_obj2
)) {
8797 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8800 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) return NULL
;
8810 _resultobj
= _result
;
8823 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8824 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
* _resultobj
;
8830 bool _arg3
= (bool ) TRUE
;
8831 PyObject
* _argo0
= 0;
8832 PyObject
* _obj1
= 0;
8833 PyObject
* _obj2
= 0;
8834 int tempbool3
= (int) TRUE
;
8835 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8848 #if PYTHON_API_VERSION >= 1009
8849 char* tmpPtr
; int tmpSize
;
8850 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8854 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8856 _arg1
= new wxString(tmpPtr
, tmpSize
);
8858 if (!PyString_Check(_obj1
)) {
8859 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8862 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8866 #if PYTHON_API_VERSION >= 1009
8867 char* tmpPtr
; int tmpSize
;
8868 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8872 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8874 _arg2
= new wxString(tmpPtr
, tmpSize
);
8876 if (!PyString_Check(_obj2
)) {
8877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8880 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8883 _arg3
= (bool ) tempbool3
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) return NULL
;
8890 } _resultobj
= Py_BuildValue("i",_result
);
8902 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8903 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
* _resultobj
;
8907 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8908 int _arg2
= (int ) 0;
8909 PyObject
* _argo0
= 0;
8910 PyObject
* _obj1
= 0;
8911 char *_kwnames
[] = { "self","cmd","index", NULL
};
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8925 #if PYTHON_API_VERSION >= 1009
8926 char* tmpPtr
; int tmpSize
;
8927 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8931 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8933 _arg1
= new wxString(tmpPtr
, tmpSize
);
8935 if (!PyString_Check(_obj1
)) {
8936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8939 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) return NULL
;
8948 } _resultobj
= Py_BuildValue("i",_result
);
8956 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8957 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
* _resultobj
;
8961 PyObject
* _argo0
= 0;
8962 char *_kwnames
[] = { "self", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 _result
= (bool )wxFileType_Unassociate(_arg0
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) return NULL
;
8980 } _resultobj
= Py_BuildValue("i",_result
);
8984 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
* _resultobj
;
8988 wxFileType::MessageParameters
* _arg1
;
8989 PyObject
* _obj0
= 0;
8990 PyObject
* _argo1
= 0;
8991 char *_kwnames
[] = { "command","params", NULL
};
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8997 #if PYTHON_API_VERSION >= 1009
8998 char* tmpPtr
; int tmpSize
;
8999 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9003 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9005 _arg0
= new wxString(tmpPtr
, tmpSize
);
9007 if (!PyString_Check(_obj0
)) {
9008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9011 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) return NULL
;
9028 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9040 #define delete_wxFileType(_swigobj) (delete _swigobj)
9041 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9045 char *_kwnames
[] = { "self", NULL
};
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 delete_wxFileType(_arg0
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) return NULL
;
9063 } Py_INCREF(Py_None
);
9064 _resultobj
= Py_None
;
9068 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
* _resultobj
;
9073 PyObject
* _obj0
= 0;
9074 PyObject
* _obj1
= 0;
9075 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9081 #if PYTHON_API_VERSION >= 1009
9082 char* tmpPtr
; int tmpSize
;
9083 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9084 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9087 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9089 _arg0
= new wxString(tmpPtr
, tmpSize
);
9091 if (!PyString_Check(_obj0
)) {
9092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9095 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9099 #if PYTHON_API_VERSION >= 1009
9100 char* tmpPtr
; int tmpSize
;
9101 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9105 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9107 _arg1
= new wxString(tmpPtr
, tmpSize
);
9109 if (!PyString_Check(_obj1
)) {
9110 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9113 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) return NULL
;
9122 } _resultobj
= Py_BuildValue("i",_result
);
9134 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9135 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
* _resultobj
;
9137 wxMimeTypesManager
* _result
;
9138 char *_kwnames
[] = { NULL
};
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) return NULL
;
9151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9152 _resultobj
= Py_BuildValue("s",_ptemp
);
9155 _resultobj
= Py_None
;
9160 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9161 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
* _resultobj
;
9163 wxMimeTypesManager
* _arg0
;
9164 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9165 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9166 PyObject
* _argo0
= 0;
9167 PyObject
* _obj2
= 0;
9168 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9182 #if PYTHON_API_VERSION >= 1009
9183 char* tmpPtr
; int tmpSize
;
9184 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9188 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9190 _arg2
= new wxString(tmpPtr
, tmpSize
);
9192 if (!PyString_Check(_obj2
)) {
9193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9196 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) return NULL
;
9205 } Py_INCREF(Py_None
);
9206 _resultobj
= Py_None
;
9214 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9215 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9217 wxMimeTypesManager
* _arg0
;
9218 PyObject
* _argo0
= 0;
9219 char *_kwnames
[] = { "self", NULL
};
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 wxMimeTypesManager_ClearData(_arg0
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) return NULL
;
9237 } Py_INCREF(Py_None
);
9238 _resultobj
= Py_None
;
9242 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9243 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
* _resultobj
;
9245 wxFileType
* _result
;
9246 wxMimeTypesManager
* _arg0
;
9248 PyObject
* _argo0
= 0;
9249 PyObject
* _obj1
= 0;
9250 char *_kwnames
[] = { "self","ext", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9264 #if PYTHON_API_VERSION >= 1009
9265 char* tmpPtr
; int tmpSize
;
9266 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9270 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9272 _arg1
= new wxString(tmpPtr
, tmpSize
);
9274 if (!PyString_Check(_obj1
)) {
9275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9278 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) return NULL
;
9288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9289 _resultobj
= Py_BuildValue("s",_ptemp
);
9292 _resultobj
= Py_None
;
9301 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9302 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
* _resultobj
;
9304 wxFileType
* _result
;
9305 wxMimeTypesManager
* _arg0
;
9307 PyObject
* _argo0
= 0;
9308 PyObject
* _obj1
= 0;
9309 char *_kwnames
[] = { "self","mimeType", NULL
};
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9323 #if PYTHON_API_VERSION >= 1009
9324 char* tmpPtr
; int tmpSize
;
9325 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9329 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9331 _arg1
= new wxString(tmpPtr
, tmpSize
);
9333 if (!PyString_Check(_obj1
)) {
9334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9337 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) return NULL
;
9347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9348 _resultobj
= Py_BuildValue("s",_ptemp
);
9351 _resultobj
= Py_None
;
9360 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9361 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
* _resultobj
;
9364 wxMimeTypesManager
* _arg0
;
9366 bool _arg2
= (bool ) FALSE
;
9367 PyObject
* _argo0
= 0;
9368 PyObject
* _obj1
= 0;
9369 int tempbool2
= (int) FALSE
;
9370 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9383 #if PYTHON_API_VERSION >= 1009
9384 char* tmpPtr
; int tmpSize
;
9385 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9389 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9391 _arg1
= new wxString(tmpPtr
, tmpSize
);
9393 if (!PyString_Check(_obj1
)) {
9394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9397 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9400 _arg2
= (bool ) tempbool2
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) return NULL
;
9407 } _resultobj
= Py_BuildValue("i",_result
);
9415 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9416 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
* _resultobj
;
9419 wxMimeTypesManager
* _arg0
;
9421 PyObject
* _argo0
= 0;
9422 PyObject
* _obj1
= 0;
9423 char *_kwnames
[] = { "self","filename", NULL
};
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9436 #if PYTHON_API_VERSION >= 1009
9437 char* tmpPtr
; int tmpSize
;
9438 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9439 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9442 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9444 _arg1
= new wxString(tmpPtr
, tmpSize
);
9446 if (!PyString_Check(_obj1
)) {
9447 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9450 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) return NULL
;
9459 } _resultobj
= Py_BuildValue("i",_result
);
9467 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9469 self
->EnumAllFileTypes(arr
);
9470 return wxArrayString2PyList_helper(arr
);
9472 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9475 wxMimeTypesManager
* _arg0
;
9476 PyObject
* _argo0
= 0;
9477 char *_kwnames
[] = { "self", NULL
};
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) return NULL
;
9496 _resultobj
= _result
;
9501 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9502 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
* _resultobj
;
9504 wxMimeTypesManager
* _arg0
;
9505 wxFileTypeInfo
* _arg1
;
9506 PyObject
* _argo0
= 0;
9507 PyObject
* _argo1
= 0;
9508 char *_kwnames
[] = { "self","ft", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) return NULL
;
9533 } Py_INCREF(Py_None
);
9534 _resultobj
= Py_None
;
9538 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9539 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
* _resultobj
;
9541 wxFileType
* _result
;
9542 wxMimeTypesManager
* _arg0
;
9543 wxFileTypeInfo
* _arg1
;
9544 PyObject
* _argo0
= 0;
9545 PyObject
* _argo1
= 0;
9546 char *_kwnames
[] = { "self","ftInfo", NULL
};
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9560 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9561 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) return NULL
;
9573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9574 _resultobj
= Py_BuildValue("s",_ptemp
);
9577 _resultobj
= Py_None
;
9582 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9583 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
* _resultobj
;
9586 wxMimeTypesManager
* _arg0
;
9588 PyObject
* _argo0
= 0;
9589 PyObject
* _argo1
= 0;
9590 char *_kwnames
[] = { "self","ft", NULL
};
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) return NULL
;
9615 } _resultobj
= Py_BuildValue("i",_result
);
9619 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9620 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
* _resultobj
;
9622 wxMimeTypesManager
* _arg0
;
9623 PyObject
* _argo0
= 0;
9624 char *_kwnames
[] = { "self", NULL
};
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 delete_wxMimeTypesManager(_arg0
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) return NULL
;
9642 } Py_INCREF(Py_None
);
9643 _resultobj
= Py_None
;
9647 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9650 src
= (wxFileHistory
*) ptr
;
9651 dest
= (wxObject
*) src
;
9652 return (void *) dest
;
9655 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9656 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9658 wxFileHistory
* _result
;
9659 int _arg0
= (int ) 9;
9660 char *_kwnames
[] = { "maxFiles", NULL
};
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) return NULL
;
9673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9674 _resultobj
= Py_BuildValue("s",_ptemp
);
9677 _resultobj
= Py_None
;
9682 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9683 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
* _resultobj
;
9685 wxFileHistory
* _arg0
;
9686 PyObject
* _argo0
= 0;
9687 char *_kwnames
[] = { "self", NULL
};
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 delete_wxFileHistory(_arg0
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) return NULL
;
9705 } Py_INCREF(Py_None
);
9706 _resultobj
= Py_None
;
9710 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9711 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
* _resultobj
;
9713 wxFileHistory
* _arg0
;
9715 PyObject
* _argo0
= 0;
9716 PyObject
* _obj1
= 0;
9717 char *_kwnames
[] = { "self","file", NULL
};
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9730 #if PYTHON_API_VERSION >= 1009
9731 char* tmpPtr
; int tmpSize
;
9732 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9733 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9736 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9738 _arg1
= new wxString(tmpPtr
, tmpSize
);
9740 if (!PyString_Check(_obj1
)) {
9741 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9744 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) return NULL
;
9753 } Py_INCREF(Py_None
);
9754 _resultobj
= Py_None
;
9762 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9763 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
* _resultobj
;
9765 wxFileHistory
* _arg0
;
9767 PyObject
* _argo0
= 0;
9768 char *_kwnames
[] = { "self","i", NULL
};
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) return NULL
;
9786 } Py_INCREF(Py_None
);
9787 _resultobj
= Py_None
;
9791 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9792 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
* _resultobj
;
9795 wxFileHistory
* _arg0
;
9796 PyObject
* _argo0
= 0;
9797 char *_kwnames
[] = { "self", NULL
};
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) return NULL
;
9815 } _resultobj
= Py_BuildValue("i",_result
);
9819 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9820 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
* _resultobj
;
9822 wxFileHistory
* _arg0
;
9824 PyObject
* _argo0
= 0;
9825 PyObject
* _argo1
= 0;
9826 char *_kwnames
[] = { "self","menu", NULL
};
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 wxFileHistory_UseMenu(_arg0
,_arg1
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) return NULL
;
9851 } Py_INCREF(Py_None
);
9852 _resultobj
= Py_None
;
9856 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9857 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
* _resultobj
;
9859 wxFileHistory
* _arg0
;
9861 PyObject
* _argo0
= 0;
9862 PyObject
* _argo1
= 0;
9863 char *_kwnames
[] = { "self","menu", NULL
};
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) return NULL
;
9888 } Py_INCREF(Py_None
);
9889 _resultobj
= Py_None
;
9893 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9894 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
* _resultobj
;
9896 wxFileHistory
* _arg0
;
9897 wxConfigBase
* _arg1
;
9898 PyObject
* _argo0
= 0;
9899 PyObject
* _argo1
= 0;
9900 char *_kwnames
[] = { "self","config", NULL
};
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9913 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9914 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 wxFileHistory_Load(_arg0
,*_arg1
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) return NULL
;
9925 } Py_INCREF(Py_None
);
9926 _resultobj
= Py_None
;
9930 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9931 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
* _resultobj
;
9933 wxFileHistory
* _arg0
;
9934 wxConfigBase
* _arg1
;
9935 PyObject
* _argo0
= 0;
9936 PyObject
* _argo1
= 0;
9937 char *_kwnames
[] = { "self","config", NULL
};
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9950 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9951 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 wxFileHistory_Save(_arg0
,*_arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) return NULL
;
9962 } Py_INCREF(Py_None
);
9963 _resultobj
= Py_None
;
9967 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9968 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
* _resultobj
;
9970 wxFileHistory
* _arg0
;
9971 PyObject
* _argo0
= 0;
9972 char *_kwnames
[] = { "self", NULL
};
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 wxFileHistory_AddFilesToMenu(_arg0
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) return NULL
;
9990 } Py_INCREF(Py_None
);
9991 _resultobj
= Py_None
;
9995 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9996 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
* _resultobj
;
9998 wxFileHistory
* _arg0
;
10000 PyObject
* _argo0
= 0;
10001 PyObject
* _argo1
= 0;
10002 char *_kwnames
[] = { "self","menu", NULL
};
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
10008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) return NULL
;
10027 } Py_INCREF(Py_None
);
10028 _resultobj
= Py_None
;
10032 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10033 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
* _resultobj
;
10035 wxString
* _result
;
10036 wxFileHistory
* _arg0
;
10038 PyObject
* _argo0
= 0;
10039 char *_kwnames
[] = { "self","i", NULL
};
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) return NULL
;
10058 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10066 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10067 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
* _resultobj
;
10070 wxFileHistory
* _arg0
;
10071 PyObject
* _argo0
= 0;
10072 char *_kwnames
[] = { "self", NULL
};
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 _result
= (int )wxFileHistory_GetCount(_arg0
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) return NULL
;
10090 } _resultobj
= Py_BuildValue("i",_result
);
10094 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10095 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
* _resultobj
;
10098 wxFileHistory
* _arg0
;
10099 PyObject
* _argo0
= 0;
10100 char *_kwnames
[] = { "self", NULL
};
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) return NULL
;
10118 } _resultobj
= Py_BuildValue("i",_result
);
10122 static PyMethodDef misc2cMethods
[] = {
10123 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10420 * This table is used by the pointer type-checker
10422 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10423 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10424 { "_signed_long","_long",0},
10425 { "_wxPrintQuality","_wxCoord",0},
10426 { "_wxPrintQuality","_int",0},
10427 { "_wxPrintQuality","_signed_int",0},
10428 { "_wxPrintQuality","_unsigned_int",0},
10429 { "_wxPrintQuality","_wxWindowID",0},
10430 { "_wxPrintQuality","_uint",0},
10431 { "_wxPrintQuality","_EBool",0},
10432 { "_wxPrintQuality","_size_t",0},
10433 { "_wxPrintQuality","_time_t",0},
10434 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10435 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10436 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10437 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10438 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10439 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10440 { "_byte","_unsigned_char",0},
10441 { "_long","_unsigned_long",0},
10442 { "_long","_signed_long",0},
10443 { "_size_t","_wxCoord",0},
10444 { "_size_t","_wxPrintQuality",0},
10445 { "_size_t","_time_t",0},
10446 { "_size_t","_unsigned_int",0},
10447 { "_size_t","_int",0},
10448 { "_size_t","_wxWindowID",0},
10449 { "_size_t","_uint",0},
10450 { "_uint","_wxCoord",0},
10451 { "_uint","_wxPrintQuality",0},
10452 { "_uint","_time_t",0},
10453 { "_uint","_size_t",0},
10454 { "_uint","_unsigned_int",0},
10455 { "_uint","_int",0},
10456 { "_uint","_wxWindowID",0},
10457 { "_wxChar","_char",0},
10458 { "_char","_wxChar",0},
10459 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10460 { "_EBool","_wxCoord",0},
10461 { "_EBool","_wxPrintQuality",0},
10462 { "_EBool","_signed_int",0},
10463 { "_EBool","_int",0},
10464 { "_EBool","_wxWindowID",0},
10465 { "_unsigned_long","_long",0},
10466 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10467 { "_signed_int","_wxCoord",0},
10468 { "_signed_int","_wxPrintQuality",0},
10469 { "_signed_int","_EBool",0},
10470 { "_signed_int","_wxWindowID",0},
10471 { "_signed_int","_int",0},
10472 { "_WXTYPE","_wxDateTime_t",0},
10473 { "_WXTYPE","_short",0},
10474 { "_WXTYPE","_signed_short",0},
10475 { "_WXTYPE","_unsigned_short",0},
10476 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10477 { "_unsigned_short","_wxDateTime_t",0},
10478 { "_unsigned_short","_WXTYPE",0},
10479 { "_unsigned_short","_short",0},
10480 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10481 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10482 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10483 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10484 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10485 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10486 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10487 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10488 { "_signed_short","_WXTYPE",0},
10489 { "_signed_short","_short",0},
10490 { "_unsigned_char","_byte",0},
10491 { "_unsigned_int","_wxCoord",0},
10492 { "_unsigned_int","_wxPrintQuality",0},
10493 { "_unsigned_int","_time_t",0},
10494 { "_unsigned_int","_size_t",0},
10495 { "_unsigned_int","_uint",0},
10496 { "_unsigned_int","_wxWindowID",0},
10497 { "_unsigned_int","_int",0},
10498 { "_short","_wxDateTime_t",0},
10499 { "_short","_WXTYPE",0},
10500 { "_short","_unsigned_short",0},
10501 { "_short","_signed_short",0},
10502 { "_wxWindowID","_wxCoord",0},
10503 { "_wxWindowID","_wxPrintQuality",0},
10504 { "_wxWindowID","_time_t",0},
10505 { "_wxWindowID","_size_t",0},
10506 { "_wxWindowID","_EBool",0},
10507 { "_wxWindowID","_uint",0},
10508 { "_wxWindowID","_int",0},
10509 { "_wxWindowID","_signed_int",0},
10510 { "_wxWindowID","_unsigned_int",0},
10511 { "_int","_wxCoord",0},
10512 { "_int","_wxPrintQuality",0},
10513 { "_int","_time_t",0},
10514 { "_int","_size_t",0},
10515 { "_int","_EBool",0},
10516 { "_int","_uint",0},
10517 { "_int","_wxWindowID",0},
10518 { "_int","_unsigned_int",0},
10519 { "_int","_signed_int",0},
10520 { "_wxDateTime_t","_unsigned_short",0},
10521 { "_wxDateTime_t","_short",0},
10522 { "_wxDateTime_t","_WXTYPE",0},
10523 { "_time_t","_wxCoord",0},
10524 { "_time_t","_wxPrintQuality",0},
10525 { "_time_t","_unsigned_int",0},
10526 { "_time_t","_int",0},
10527 { "_time_t","_wxWindowID",0},
10528 { "_time_t","_uint",0},
10529 { "_time_t","_size_t",0},
10530 { "_wxCoord","_int",0},
10531 { "_wxCoord","_signed_int",0},
10532 { "_wxCoord","_unsigned_int",0},
10533 { "_wxCoord","_wxWindowID",0},
10534 { "_wxCoord","_uint",0},
10535 { "_wxCoord","_EBool",0},
10536 { "_wxCoord","_size_t",0},
10537 { "_wxCoord","_time_t",0},
10538 { "_wxCoord","_wxPrintQuality",0},
10539 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10542 static PyObject
*SWIG_globals
;
10546 SWIGEXPORT(void) initmisc2c() {
10548 SWIG_globals
= SWIG_newvarlink();
10549 m
= Py_InitModule("misc2c", misc2cMethods
);
10550 d
= PyModule_GetDict(m
);
10551 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10552 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10553 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10554 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10555 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10556 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10557 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10558 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10559 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10560 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10561 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10562 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10563 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10564 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10565 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10566 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10567 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10568 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10569 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10570 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10571 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10572 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10573 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10574 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10575 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10576 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10577 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10578 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10579 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10580 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10581 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10582 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10583 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10584 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10585 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10586 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10587 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10588 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10589 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10590 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10591 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10592 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10593 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10594 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10595 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10596 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10597 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10598 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10599 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10600 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10601 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10602 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10603 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10604 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10605 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10606 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10607 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10608 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10609 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10610 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10611 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10612 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10613 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10614 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10615 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10616 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10617 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10618 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10619 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10620 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10621 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10622 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10623 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10624 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10625 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10626 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10627 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10628 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10629 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10630 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10631 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10632 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10633 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10634 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10635 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10636 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10637 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10638 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10639 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10640 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10641 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10642 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10643 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10644 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10645 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10646 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10647 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10648 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10649 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10650 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10651 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10652 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10653 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10655 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10656 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10657 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10660 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10661 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);