2 * FILE : src/gtk/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 <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
74 #include <wx/mimetype.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg
= "String or Unicode type required";
106 static char* wxStringErrorMsg
= "String type required";
109 static wxString
wxPyEmptyStr("");
112 wxColour
wxSystemSettings_GetSystemColour(int index
) {
113 return wxSystemSettings::GetSystemColour(index
);
116 wxFont
wxSystemSettings_GetSystemFont(int index
) {
117 return wxSystemSettings::GetSystemFont(index
);
120 int wxSystemSettings_GetSystemMetric(int index
) {
121 return wxSystemSettings::GetSystemMetric(index
);
124 int wxCaret_GetBlinkTime() {
125 return wxCaret::GetBlinkTime();
128 void wxCaret_SetBlinkTime(int milliseconds
) {
129 wxCaret::SetBlinkTime(milliseconds
);
132 class wxPyFontEnumerator
: public wxFontEnumerator
{
134 wxPyFontEnumerator() {}
135 ~wxPyFontEnumerator() {}
137 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
138 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
143 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
144 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
147 bool wxThread_IsMain() {
148 #ifdef WXP_WITH_THREAD
149 return wxThread::IsMain();
155 class wxPyTipProvider
: public wxTipProvider
{
157 wxPyTipProvider(size_t currentTip
)
158 : wxTipProvider(currentTip
) {}
160 DEC_PYCALLBACK_STRING__pure(GetTip
);
165 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
168 #include <wx/generic/dragimgg.h>
170 // A Log class that can be derived from in wxPython
171 class wxPyLog
: public wxLog
{
173 wxPyLog() : wxLog() {}
175 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
177 wxPyBeginBlockThreads();
178 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
179 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
180 wxPyEndBlockThreads();
182 wxLog::DoLog(level
, szString
, t
);
185 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
187 wxPyBeginBlockThreads();
188 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
189 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
190 wxPyEndBlockThreads();
192 wxLog::DoLogString(szString
, t
);
197 // C++ version of wxProcess derived class
199 class wxPyProcess
: public wxProcess
{
201 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
202 : wxProcess(parent
, id
)
205 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
210 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
213 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
214 // A C++ stub class for wxJoystick for platforms that don't have it.
215 class wxJoystick
: public wxObject
{
217 wxJoystick(int joystick
= wxJOYSTICK1
) {
218 wxPyBeginBlockThreads();
219 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
220 wxPyEndBlockThreads();
222 wxPoint
GetPosition() { return wxPoint(-1,-1); }
223 int GetZPosition() { return -1; }
224 int GetButtonState() { return -1; }
225 int GetPOVPosition() { return -1; }
226 int GetPOVCTSPosition() { return -1; }
227 int GetRudderPosition() { return -1; }
228 int GetUPosition() { return -1; }
229 int GetVPosition() { return -1; }
230 int GetMovementThreshold() { return -1; }
231 void SetMovementThreshold(int threshold
) {}
233 bool IsOk(void) { return FALSE
; }
234 int GetNumberJoysticks() { return -1; }
235 int GetManufacturerId() { return -1; }
236 int GetProductId() { return -1; }
237 wxString
GetProductName() { return ""; }
238 int GetXMin() { return -1; }
239 int GetYMin() { return -1; }
240 int GetZMin() { return -1; }
241 int GetXMax() { return -1; }
242 int GetYMax() { return -1; }
243 int GetZMax() { return -1; }
244 int GetNumberButtons() { return -1; }
245 int GetNumberAxes() { return -1; }
246 int GetMaxButtons() { return -1; }
247 int GetMaxAxes() { return -1; }
248 int GetPollingMin() { return -1; }
249 int GetPollingMax() { return -1; }
250 int GetRudderMin() { return -1; }
251 int GetRudderMax() { return -1; }
252 int GetUMin() { return -1; }
253 int GetUMax() { return -1; }
254 int GetVMin() { return -1; }
255 int GetVMax() { return -1; }
257 bool HasRudder() { return FALSE
; }
258 bool HasZ() { return FALSE
; }
259 bool HasU() { return FALSE
; }
260 bool HasV() { return FALSE
; }
261 bool HasPOV() { return FALSE
; }
262 bool HasPOV4Dir() { return FALSE
; }
263 bool HasPOVCTS() { return FALSE
; }
265 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
266 bool ReleaseCapture() { return FALSE
; }
271 // A C++ stub class for wxWave for platforms that don't have it.
272 class wxWave
: public wxObject
275 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
276 wxPyBeginBlockThreads();
277 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
278 wxPyEndBlockThreads();
280 wxWave(int size
, const wxByte
* data
) {
281 wxPyBeginBlockThreads();
282 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
283 wxPyEndBlockThreads();
288 bool IsOk() const { return FALSE
; }
289 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
293 // Implementations of some alternate "constructors"
294 wxWave
* wxWaveData(const wxString
& data
) {
295 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
299 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
303 #include <wx/docview.h>
307 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
311 char * _arg1
= (char *) NULL
;
312 char * _arg2
= (char *) NULL
;
313 char * _arg3
= (char *) NULL
;
314 char * _arg4
= (char *) "*.*";
315 int _arg5
= (int ) 0;
316 wxWindow
* _arg6
= (wxWindow
*) NULL
;
317 int _arg7
= (int ) -1;
318 int _arg8
= (int ) -1;
319 PyObject
* _argo6
= 0;
320 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
326 if (_argo6
== Py_None
) { _arg6
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
334 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
336 wxPyEndAllowThreads(__tstate
);
337 if (PyErr_Occurred()) return NULL
;
339 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
347 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
352 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
353 wxWindow
* _arg3
= (wxWindow
*) NULL
;
354 int _arg4
= (int ) -1;
355 int _arg5
= (int ) -1;
356 bool _arg6
= (bool ) TRUE
;
357 PyObject
* _obj0
= 0;
358 PyObject
* _obj1
= 0;
359 PyObject
* _obj2
= 0;
360 PyObject
* _argo3
= 0;
361 int tempbool6
= (int) TRUE
;
362 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
368 #if PYTHON_API_VERSION >= 1009
369 char* tmpPtr
; int tmpSize
;
370 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
374 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
376 _arg0
= new wxString(tmpPtr
, tmpSize
);
378 if (!PyString_Check(_obj0
)) {
379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
382 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
387 #if PYTHON_API_VERSION >= 1009
388 char* tmpPtr
; int tmpSize
;
389 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
395 _arg1
= new wxString(tmpPtr
, tmpSize
);
397 if (!PyString_Check(_obj1
)) {
398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
401 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
406 #if PYTHON_API_VERSION >= 1009
407 char* tmpPtr
; int tmpSize
;
408 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
412 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
414 _arg2
= new wxString(tmpPtr
, tmpSize
);
416 if (!PyString_Check(_obj2
)) {
417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
420 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
424 if (_argo3
== Py_None
) { _arg3
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
430 _arg6
= (bool ) tempbool6
;
432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
433 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
435 wxPyEndAllowThreads(__tstate
);
436 if (PyErr_Occurred()) return NULL
;
438 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
458 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
462 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
463 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
464 wxWindow
* _arg3
= (wxWindow
*) NULL
;
465 PyObject
* _obj0
= 0;
466 PyObject
* _obj1
= 0;
467 PyObject
* _obj2
= 0;
468 PyObject
* _argo3
= 0;
469 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
475 #if PYTHON_API_VERSION >= 1009
476 char* tmpPtr
; int tmpSize
;
477 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
481 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
483 _arg0
= new wxString(tmpPtr
, tmpSize
);
485 if (!PyString_Check(_obj0
)) {
486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
489 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
494 #if PYTHON_API_VERSION >= 1009
495 char* tmpPtr
; int tmpSize
;
496 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
500 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
502 _arg1
= new wxString(tmpPtr
, tmpSize
);
504 if (!PyString_Check(_obj1
)) {
505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
508 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
513 #if PYTHON_API_VERSION >= 1009
514 char* tmpPtr
; int tmpSize
;
515 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
519 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
521 _arg2
= new wxString(tmpPtr
, tmpSize
);
523 if (!PyString_Check(_obj2
)) {
524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
527 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
531 if (_argo3
== Py_None
) { _arg3
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
544 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
564 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
571 wxWindow
* _arg4
= (wxWindow
*) NULL
;
572 int _arg5
= (int ) -1;
573 int _arg6
= (int ) -1;
574 bool _arg7
= (bool ) TRUE
;
575 int _arg8
= (int ) 150;
576 int _arg9
= (int ) 200;
577 PyObject
* _obj0
= 0;
578 PyObject
* _obj1
= 0;
579 PyObject
* _obj3
= 0;
580 PyObject
* _argo4
= 0;
581 int tempbool7
= (int) TRUE
;
582 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
588 #if PYTHON_API_VERSION >= 1009
589 char* tmpPtr
; int tmpSize
;
590 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
594 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
596 _arg0
= new wxString(tmpPtr
, tmpSize
);
598 if (!PyString_Check(_obj0
)) {
599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
602 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
606 #if PYTHON_API_VERSION >= 1009
607 char* tmpPtr
; int tmpSize
;
608 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
612 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
614 _arg1
= new wxString(tmpPtr
, tmpSize
);
616 if (!PyString_Check(_obj1
)) {
617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
620 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
625 _arg3
= wxString_LIST_helper(_obj3
);
631 if (_argo4
== Py_None
) { _arg4
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
637 _arg7
= (bool ) tempbool7
;
640 _arg2
= PyList_Size(_obj3
);
647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
648 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
650 wxPyEndAllowThreads(__tstate
);
651 if (PyErr_Occurred()) return NULL
;
653 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
672 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
679 wxWindow
* _arg4
= (wxWindow
*) NULL
;
680 int _arg5
= (int ) -1;
681 int _arg6
= (int ) -1;
682 bool _arg7
= (bool ) TRUE
;
683 int _arg8
= (int ) 150;
684 int _arg9
= (int ) 200;
685 PyObject
* _obj0
= 0;
686 PyObject
* _obj1
= 0;
687 PyObject
* _obj3
= 0;
688 PyObject
* _argo4
= 0;
689 int tempbool7
= (int) TRUE
;
690 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
696 #if PYTHON_API_VERSION >= 1009
697 char* tmpPtr
; int tmpSize
;
698 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
702 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
704 _arg0
= new wxString(tmpPtr
, tmpSize
);
706 if (!PyString_Check(_obj0
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
714 #if PYTHON_API_VERSION >= 1009
715 char* tmpPtr
; int tmpSize
;
716 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
720 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
722 _arg1
= new wxString(tmpPtr
, tmpSize
);
724 if (!PyString_Check(_obj1
)) {
725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
728 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
733 _arg3
= wxString_LIST_helper(_obj3
);
739 if (_argo4
== Py_None
) { _arg4
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
745 _arg7
= (bool ) tempbool7
;
748 _arg2
= PyList_Size(_obj3
);
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
760 } _resultobj
= Py_BuildValue("i",_result
);
775 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
779 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
780 int _arg2
= (int ) wxOK
|wxCENTRE
;
781 wxWindow
* _arg3
= (wxWindow
*) NULL
;
782 int _arg4
= (int ) -1;
783 int _arg5
= (int ) -1;
784 PyObject
* _obj0
= 0;
785 PyObject
* _obj1
= 0;
786 PyObject
* _argo3
= 0;
787 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
793 #if PYTHON_API_VERSION >= 1009
794 char* tmpPtr
; int tmpSize
;
795 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
799 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
801 _arg0
= new wxString(tmpPtr
, tmpSize
);
803 if (!PyString_Check(_obj0
)) {
804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
807 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
812 #if PYTHON_API_VERSION >= 1009
813 char* tmpPtr
; int tmpSize
;
814 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
818 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
820 _arg1
= new wxString(tmpPtr
, tmpSize
);
822 if (!PyString_Check(_obj1
)) {
823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
826 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
830 if (_argo3
== Py_None
) { _arg3
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
838 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
840 wxPyEndAllowThreads(__tstate
);
841 if (PyErr_Occurred()) return NULL
;
842 } _resultobj
= Py_BuildValue("i",_result
);
854 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
861 long _arg4
= (long ) 0;
862 long _arg5
= (long ) 100;
863 wxWindow
* _arg6
= (wxWindow
*) NULL
;
864 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
865 PyObject
* _obj0
= 0;
866 PyObject
* _obj1
= 0;
867 PyObject
* _obj2
= 0;
868 PyObject
* _argo6
= 0;
870 PyObject
* _obj7
= 0;
871 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
877 #if PYTHON_API_VERSION >= 1009
878 char* tmpPtr
; int tmpSize
;
879 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
880 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
883 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
885 _arg0
= new wxString(tmpPtr
, tmpSize
);
887 if (!PyString_Check(_obj0
)) {
888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
891 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
895 #if PYTHON_API_VERSION >= 1009
896 char* tmpPtr
; int tmpSize
;
897 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
898 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
901 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
903 _arg1
= new wxString(tmpPtr
, tmpSize
);
905 if (!PyString_Check(_obj1
)) {
906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
909 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
913 #if PYTHON_API_VERSION >= 1009
914 char* tmpPtr
; int tmpSize
;
915 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
919 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
921 _arg2
= new wxString(tmpPtr
, tmpSize
);
923 if (!PyString_Check(_obj2
)) {
924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
927 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
931 if (_argo6
== Py_None
) { _arg6
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
940 if (! wxPoint_helper(_obj7
, &_arg7
))
944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
945 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) return NULL
;
949 } _resultobj
= Py_BuildValue("l",_result
);
965 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
968 char *_kwnames
[] = { NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 _result
= (bool )wxColourDisplay();
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) return NULL
;
979 } _resultobj
= Py_BuildValue("i",_result
);
983 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
986 char *_kwnames
[] = { NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 _result
= (int )wxDisplayDepth();
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) return NULL
;
997 } _resultobj
= Py_BuildValue("i",_result
);
1001 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 char *_kwnames
[] = { NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 _result
= (int )wxGetDisplayDepth();
1013 wxPyEndAllowThreads(__tstate
);
1014 if (PyErr_Occurred()) return NULL
;
1015 } _resultobj
= Py_BuildValue("i",_result
);
1019 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1025 char *_kwnames
[] = { NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1038 wxDisplaySize(_arg0
,_arg1
);
1040 wxPyEndAllowThreads(__tstate
);
1041 if (PyErr_Occurred()) return NULL
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1046 o
= PyInt_FromLong((long) (*_arg0
));
1047 _resultobj
= t_output_helper(_resultobj
, o
);
1051 o
= PyInt_FromLong((long) (*_arg1
));
1052 _resultobj
= t_output_helper(_resultobj
, o
);
1057 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 char *_kwnames
[] = { NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 _result
= new wxSize (wxGetDisplaySize());
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) return NULL
;
1072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1073 _resultobj
= Py_BuildValue("s",_ptemp
);
1077 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1083 char *_kwnames
[] = { NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 wxDisplaySizeMM(_arg0
,_arg1
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) return NULL
;
1100 } Py_INCREF(Py_None
);
1101 _resultobj
= Py_None
;
1104 o
= PyInt_FromLong((long) (*_arg0
));
1105 _resultobj
= t_output_helper(_resultobj
, o
);
1109 o
= PyInt_FromLong((long) (*_arg1
));
1110 _resultobj
= t_output_helper(_resultobj
, o
);
1115 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 char *_kwnames
[] = { NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= new wxSize (wxGetDisplaySizeMM());
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1131 _resultobj
= Py_BuildValue("s",_ptemp
);
1135 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1145 char *_kwnames
[] = { NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } Py_INCREF(Py_None
);
1169 _resultobj
= Py_None
;
1172 o
= PyInt_FromLong((long) (*_arg0
));
1173 _resultobj
= t_output_helper(_resultobj
, o
);
1177 o
= PyInt_FromLong((long) (*_arg1
));
1178 _resultobj
= t_output_helper(_resultobj
, o
);
1182 o
= PyInt_FromLong((long) (*_arg2
));
1183 _resultobj
= t_output_helper(_resultobj
, o
);
1187 o
= PyInt_FromLong((long) (*_arg3
));
1188 _resultobj
= t_output_helper(_resultobj
, o
);
1193 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1196 char *_kwnames
[] = { NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 _result
= new wxRect (wxGetClientDisplayRect());
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) return NULL
;
1208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1209 _resultobj
= Py_BuildValue("s",_ptemp
);
1213 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "cursor", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 wxSetCursor(*_arg0
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } Py_INCREF(Py_None
);
1236 _resultobj
= Py_None
;
1240 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1244 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1245 PyObject
* _obj0
= 0;
1246 PyObject
* _argo1
= 0;
1247 char *_kwnames
[] = { "label","parent", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1253 #if PYTHON_API_VERSION >= 1009
1254 char* tmpPtr
; int tmpSize
;
1255 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1259 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1261 _arg0
= new wxString(tmpPtr
, tmpSize
);
1263 if (!PyString_Check(_obj0
)) {
1264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1267 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) return NULL
;
1283 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1291 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1295 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1296 PyObject
* _obj0
= 0;
1297 PyObject
* _argo1
= 0;
1298 char *_kwnames
[] = { "name","parent", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1304 #if PYTHON_API_VERSION >= 1009
1305 char* tmpPtr
; int tmpSize
;
1306 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1310 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1312 _arg0
= new wxString(tmpPtr
, tmpSize
);
1314 if (!PyString_Check(_obj0
)) {
1315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1318 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1342 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1344 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "cursor", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxBeginBusyCursor(_arg0
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1372 char *_kwnames
[] = { NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 _result
= (wxWindow
*)wxGetActiveWindow();
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) return NULL
;
1383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1387 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
* _resultobj
;
1392 PyObject
* _obj0
= 0;
1393 char *_kwnames
[] = { "pt", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1400 if (! wxPoint_helper(_obj0
, &_arg0
))
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1413 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1418 PyObject
* _obj0
= 0;
1419 char *_kwnames
[] = { "pt", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1426 if (! wxPoint_helper(_obj0
, &_arg0
))
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1439 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1444 char *_kwnames
[] = { "name","value", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1455 } _resultobj
= Py_BuildValue("i",_result
);
1459 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 char *_kwnames
[] = { NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) return NULL
;
1472 } Py_INCREF(Py_None
);
1473 _resultobj
= Py_None
;
1477 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1481 char *_kwnames
[] = { "resource", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1494 _resultobj
= Py_BuildValue("s",_ptemp
);
1498 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1502 char *_kwnames
[] = { "resource", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1515 _resultobj
= Py_BuildValue("s",_ptemp
);
1519 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1521 wxMenuBar
* _result
;
1523 char *_kwnames
[] = { "resource", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1530 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1532 wxPyEndAllowThreads(__tstate
);
1533 if (PyErr_Occurred()) return NULL
;
1534 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1538 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1542 char *_kwnames
[] = { "name", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 _result
= (int )wxResourceGetIdentifier(_arg0
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) return NULL
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1557 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1561 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1562 PyObject
* _argo1
= 0;
1563 char *_kwnames
[] = { "resource","table", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) return NULL
;
1581 } _resultobj
= Py_BuildValue("i",_result
);
1585 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1589 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1590 PyObject
* _argo1
= 0;
1591 char *_kwnames
[] = { "filename","table", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1609 } _resultobj
= Py_BuildValue("i",_result
);
1613 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1618 PyObject
* _argo1
= 0;
1619 char *_kwnames
[] = { "resource","table", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) return NULL
;
1637 } _resultobj
= Py_BuildValue("i",_result
);
1641 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1645 char *_kwnames
[] = { "index", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) return NULL
;
1657 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1658 _resultobj
= Py_BuildValue("s",_ptemp
);
1662 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1666 char *_kwnames
[] = { "index", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1679 _resultobj
= Py_BuildValue("s",_ptemp
);
1683 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1687 char *_kwnames
[] = { "index", NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1698 } _resultobj
= Py_BuildValue("i",_result
);
1702 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1705 char *_kwnames
[] = { NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 _result
= (int )wxCaret_GetBlinkTime();
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) return NULL
;
1716 } _resultobj
= Py_BuildValue("i",_result
);
1720 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1723 char *_kwnames
[] = { "milliseconds", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 wxCaret_SetBlinkTime(_arg0
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1739 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1742 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "win", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 _result
= (bool )wxSafeYield(_arg0
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) return NULL
;
1762 } _resultobj
= Py_BuildValue("i",_result
);
1766 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxEvtHandler
* _arg0
;
1770 PyObject
* _argo0
= 0;
1771 PyObject
* _argo1
= 0;
1772 char *_kwnames
[] = { "dest","event", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 wxPostEvent(_arg0
,*_arg1
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) return NULL
;
1797 } Py_INCREF(Py_None
);
1798 _resultobj
= Py_None
;
1802 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 char *_kwnames
[] = { NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) return NULL
;
1815 } Py_INCREF(Py_None
);
1816 _resultobj
= Py_None
;
1820 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 char *_kwnames
[] = { NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1833 } Py_INCREF(Py_None
);
1834 _resultobj
= Py_None
;
1838 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1840 char *_kwnames
[] = { NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) return NULL
;
1851 } Py_INCREF(Py_None
);
1852 _resultobj
= Py_None
;
1856 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1859 char *_kwnames
[] = { NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 _result
= (bool )wxThread_IsMain();
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) return NULL
;
1870 } _resultobj
= Py_BuildValue("i",_result
);
1874 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1878 wxTipProvider
* _arg1
;
1879 bool _arg2
= (bool ) TRUE
;
1880 PyObject
* _argo0
= 0;
1881 PyObject
* _argo1
= 0;
1882 int tempbool2
= (int) TRUE
;
1883 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1896 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1902 _arg2
= (bool ) tempbool2
;
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) return NULL
;
1909 } _resultobj
= Py_BuildValue("i",_result
);
1913 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1915 wxTipProvider
* _result
;
1918 PyObject
* _obj0
= 0;
1919 char *_kwnames
[] = { "filename","currentTip", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1926 #if PYTHON_API_VERSION >= 1009
1927 char* tmpPtr
; int tmpSize
;
1928 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1932 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1934 _arg0
= new wxString(tmpPtr
, tmpSize
);
1936 if (!PyString_Check(_obj0
)) {
1937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1940 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1951 _resultobj
= Py_BuildValue("s",_ptemp
);
1954 _resultobj
= Py_None
;
1963 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1965 unsigned long _result
;
1966 char *_kwnames
[] = { NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 _result
= (unsigned long )wxSysErrorCode();
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 } _resultobj
= Py_BuildValue("l",_result
);
1981 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 unsigned long _arg0
= (unsigned long ) 0;
1985 char *_kwnames
[] = { "nErrCode", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 _result
= (char *)wxSysErrorMsg(_arg0
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } _resultobj
= Py_BuildValue("s", _result
);
2000 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 char *_kwnames
[] = { "szFormat", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 wxLogFatalError(_arg0
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) return NULL
;
2014 } Py_INCREF(Py_None
);
2015 _resultobj
= Py_None
;
2019 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2022 char *_kwnames
[] = { "szFormat", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2041 char *_kwnames
[] = { "szFormat", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 wxLogWarning(_arg0
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) return NULL
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 char *_kwnames
[] = { "szFormat", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 wxLogMessage(_arg0
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) return NULL
;
2071 } Py_INCREF(Py_None
);
2072 _resultobj
= Py_None
;
2076 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2079 char *_kwnames
[] = { "szFormat", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) return NULL
;
2090 } Py_INCREF(Py_None
);
2091 _resultobj
= Py_None
;
2095 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2098 char *_kwnames
[] = { "szFormat", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 wxLogVerbose(_arg0
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) return NULL
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2117 char *_kwnames
[] = { "szFormat", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2128 } Py_INCREF(Py_None
);
2129 _resultobj
= Py_None
;
2133 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2137 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 wxLogStatus(_arg0
,_arg1
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2161 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2164 char *_kwnames
[] = { "szFormat", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 wxLogSysError(_arg0
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) return NULL
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2180 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2184 int _arg1
= (int ) FALSE
;
2185 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2186 PyObject
* _obj0
= 0;
2187 PyObject
* _argo2
= 0;
2188 char *_kwnames
[] = { "command","sync","process", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2194 #if PYTHON_API_VERSION >= 1009
2195 char* tmpPtr
; int tmpSize
;
2196 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2197 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2200 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2202 _arg0
= new wxString(tmpPtr
, tmpSize
);
2204 if (!PyString_Check(_obj0
)) {
2205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2208 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2212 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) return NULL
;
2224 } _resultobj
= Py_BuildValue("l",_result
);
2232 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2236 PyObject
* _obj0
= 0;
2237 char *_kwnames
[] = { "data", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2244 #if PYTHON_API_VERSION >= 1009
2245 char* tmpPtr
; int tmpSize
;
2246 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2250 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2252 _arg0
= new wxString(tmpPtr
, tmpSize
);
2254 if (!PyString_Check(_obj0
)) {
2255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2258 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 _result
= (wxWave
*)wxWaveData(*_arg0
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) return NULL
;
2268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2269 _resultobj
= Py_BuildValue("s",_ptemp
);
2272 _resultobj
= Py_None
;
2281 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2283 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2287 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2291 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2292 pyobj
= PyString_FromString(ptemp
);
2296 static void *SwigwxToolTipTowxObject(void *ptr
) {
2299 src
= (wxToolTip
*) ptr
;
2300 dest
= (wxObject
*) src
;
2301 return (void *) dest
;
2304 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2305 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2307 wxToolTip
* _result
;
2309 PyObject
* _obj0
= 0;
2310 char *_kwnames
[] = { "tip", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2317 #if PYTHON_API_VERSION >= 1009
2318 char* tmpPtr
; int tmpSize
;
2319 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2323 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2325 _arg0
= new wxString(tmpPtr
, tmpSize
);
2327 if (!PyString_Check(_obj0
)) {
2328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2331 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) return NULL
;
2341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2342 _resultobj
= Py_BuildValue("s",_ptemp
);
2345 _resultobj
= Py_None
;
2354 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2355 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2359 PyObject
* _argo0
= 0;
2360 PyObject
* _obj1
= 0;
2361 char *_kwnames
[] = { "self","tip", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2374 #if PYTHON_API_VERSION >= 1009
2375 char* tmpPtr
; int tmpSize
;
2376 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2380 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2382 _arg1
= new wxString(tmpPtr
, tmpSize
);
2384 if (!PyString_Check(_obj1
)) {
2385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2388 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 wxToolTip_SetTip(_arg0
,*_arg1
);
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) return NULL
;
2397 } Py_INCREF(Py_None
);
2398 _resultobj
= Py_None
;
2406 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2407 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2411 PyObject
* _argo0
= 0;
2412 char *_kwnames
[] = { "self", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) return NULL
;
2431 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2439 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2440 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2467 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2471 char *_kwnames
[] = { "flag", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2476 _arg0
= (bool ) tempbool0
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 wxToolTip::Enable(_arg0
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) return NULL
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2491 char *_kwnames
[] = { "milliseconds", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 wxToolTip::SetDelay(_arg0
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2507 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2508 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2513 PyObject
* _argo0
= 0;
2515 PyObject
* _obj1
= 0;
2516 char *_kwnames
[] = { "window","size", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2531 if (! wxSize_helper(_obj1
, &_arg1
))
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) return NULL
;
2541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2542 _resultobj
= Py_BuildValue("s",_ptemp
);
2545 _resultobj
= Py_None
;
2550 #define delete_wxCaret(_swigobj) (delete _swigobj)
2551 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2554 PyObject
* _argo0
= 0;
2555 char *_kwnames
[] = { "self", NULL
};
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 delete_wxCaret(_arg0
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) return NULL
;
2573 } Py_INCREF(Py_None
);
2574 _resultobj
= Py_None
;
2578 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2579 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2583 PyObject
* _argo0
= 0;
2584 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 _result
= (bool )wxCaret_IsOk(_arg0
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) return NULL
;
2602 } _resultobj
= Py_BuildValue("i",_result
);
2606 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2607 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2611 PyObject
* _argo0
= 0;
2612 char *_kwnames
[] = { "self", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 _result
= (bool )wxCaret_IsVisible(_arg0
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) return NULL
;
2630 } _resultobj
= Py_BuildValue("i",_result
);
2634 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2635 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2642 PyObject
* _argo0
= 0;
2643 char *_kwnames
[] = { "self", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2671 o
= PyInt_FromLong((long) (*_arg1
));
2672 _resultobj
= t_output_helper(_resultobj
, o
);
2676 o
= PyInt_FromLong((long) (*_arg2
));
2677 _resultobj
= t_output_helper(_resultobj
, o
);
2682 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2683 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
* _resultobj
;
2687 PyObject
* _argo0
= 0;
2688 char *_kwnames
[] = { "self", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) return NULL
;
2707 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2708 _resultobj
= Py_BuildValue("s",_ptemp
);
2712 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2713 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) return NULL
;
2745 } Py_INCREF(Py_None
);
2746 _resultobj
= Py_None
;
2749 o
= PyInt_FromLong((long) (*_arg1
));
2750 _resultobj
= t_output_helper(_resultobj
, o
);
2754 o
= PyInt_FromLong((long) (*_arg2
));
2755 _resultobj
= t_output_helper(_resultobj
, o
);
2760 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2761 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2765 PyObject
* _argo0
= 0;
2766 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2786 _resultobj
= Py_BuildValue("s",_ptemp
);
2790 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2791 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2795 PyObject
* _argo0
= 0;
2796 char *_kwnames
[] = { "self", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2818 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2819 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self","x","y", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) return NULL
;
2843 } Py_INCREF(Py_None
);
2844 _resultobj
= Py_None
;
2848 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2849 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2853 PyObject
* _argo0
= 0;
2855 PyObject
* _obj1
= 0;
2856 char *_kwnames
[] = { "self","pt", NULL
};
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2870 if (! wxPoint_helper(_obj1
, &_arg1
))
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 wxCaret_Move(_arg0
,*_arg1
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) return NULL
;
2879 } Py_INCREF(Py_None
);
2880 _resultobj
= Py_None
;
2884 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2885 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self","width","height", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) return NULL
;
2909 } Py_INCREF(Py_None
);
2910 _resultobj
= Py_None
;
2914 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2915 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2919 PyObject
* _argo0
= 0;
2921 PyObject
* _obj1
= 0;
2922 char *_kwnames
[] = { "self","size", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2936 if (! wxSize_helper(_obj1
, &_arg1
))
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 wxCaret_SetSize(_arg0
,*_arg1
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) return NULL
;
2945 } Py_INCREF(Py_None
);
2946 _resultobj
= Py_None
;
2950 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2951 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2954 int _arg1
= (int ) TRUE
;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self","show", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 wxCaret_Show(_arg0
,_arg1
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) return NULL
;
2974 } Py_INCREF(Py_None
);
2975 _resultobj
= Py_None
;
2979 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2980 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2983 PyObject
* _argo0
= 0;
2984 char *_kwnames
[] = { "self", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 wxCaret_Hide(_arg0
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3008 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3010 wxPyFontEnumerator
* _result
;
3011 char *_kwnames
[] = { NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) return NULL
;
3024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3025 _resultobj
= Py_BuildValue("s",_ptemp
);
3028 _resultobj
= Py_None
;
3033 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3034 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3036 wxPyFontEnumerator
* _arg0
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 delete_wxPyFontEnumerator(_arg0
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3061 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3062 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3064 wxPyFontEnumerator
* _arg0
;
3068 PyObject
* _argo0
= 0;
3069 PyObject
* _obj1
= 0;
3070 PyObject
* _obj2
= 0;
3072 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3090 _arg3
= (bool ) tempbool3
;
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) return NULL
;
3097 } Py_INCREF(Py_None
);
3098 _resultobj
= Py_None
;
3102 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3103 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3106 wxPyFontEnumerator
* _arg0
;
3107 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3108 bool _arg2
= (bool ) FALSE
;
3109 PyObject
* _argo0
= 0;
3110 int tempbool2
= (int) FALSE
;
3111 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3123 _arg2
= (bool ) tempbool2
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) return NULL
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3134 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3135 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3138 wxPyFontEnumerator
* _arg0
;
3139 char * _arg1
= (char *) "";
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self","facename", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) return NULL
;
3159 } _resultobj
= Py_BuildValue("i",_result
);
3163 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3164 wxArrayString
* arr
= self
->GetEncodings();
3165 return wxArrayString2PyList_helper(*arr
);
3167 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3170 wxPyFontEnumerator
* _arg0
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) return NULL
;
3191 _resultobj
= _result
;
3196 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3197 wxArrayString
* arr
= self
->GetFacenames();
3198 return wxArrayString2PyList_helper(*arr
);
3200 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3203 wxPyFontEnumerator
* _arg0
;
3204 PyObject
* _argo0
= 0;
3205 char *_kwnames
[] = { "self", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) return NULL
;
3224 _resultobj
= _result
;
3229 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3230 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3232 wxBusyCursor
* _result
;
3233 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "cursor", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) return NULL
;
3255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3256 _resultobj
= Py_BuildValue("s",_ptemp
);
3259 _resultobj
= Py_None
;
3264 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3265 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3267 wxBusyCursor
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 delete_wxBusyCursor(_arg0
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) return NULL
;
3287 } Py_INCREF(Py_None
);
3288 _resultobj
= Py_None
;
3292 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3293 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3295 wxWindowDisabler
* _result
;
3296 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "winToSkip", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) return NULL
;
3318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3319 _resultobj
= Py_BuildValue("s",_ptemp
);
3322 _resultobj
= Py_None
;
3327 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3328 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3330 wxWindowDisabler
* _arg0
;
3331 PyObject
* _argo0
= 0;
3332 char *_kwnames
[] = { "self", NULL
};
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 delete_wxWindowDisabler(_arg0
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) return NULL
;
3350 } Py_INCREF(Py_None
);
3351 _resultobj
= Py_None
;
3355 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3356 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3358 wxMutexGuiLocker
* _result
;
3359 char *_kwnames
[] = { NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3373 _resultobj
= Py_BuildValue("s",_ptemp
);
3376 _resultobj
= Py_None
;
3381 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3382 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3384 wxMutexGuiLocker
* _arg0
;
3385 PyObject
* _argo0
= 0;
3386 char *_kwnames
[] = { "self", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 delete_wxMutexGuiLocker(_arg0
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) return NULL
;
3404 } Py_INCREF(Py_None
);
3405 _resultobj
= Py_None
;
3409 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3410 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
* _resultobj
;
3412 wxTipProvider
* _arg0
;
3413 PyObject
* _argo0
= 0;
3414 char *_kwnames
[] = { "self", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 delete_wxTipProvider(_arg0
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) return NULL
;
3432 } Py_INCREF(Py_None
);
3433 _resultobj
= Py_None
;
3437 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3438 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3441 wxTipProvider
* _arg0
;
3442 PyObject
* _argo0
= 0;
3443 char *_kwnames
[] = { "self", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) return NULL
;
3462 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3470 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3471 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
* _resultobj
;
3474 wxTipProvider
* _arg0
;
3475 PyObject
* _argo0
= 0;
3476 char *_kwnames
[] = { "self", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) return NULL
;
3494 } _resultobj
= Py_BuildValue("i",_result
);
3498 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3499 wxPyTipProvider
*src
;
3500 wxTipProvider
*dest
;
3501 src
= (wxPyTipProvider
*) ptr
;
3502 dest
= (wxTipProvider
*) src
;
3503 return (void *) dest
;
3506 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3507 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3509 wxPyTipProvider
* _result
;
3511 char *_kwnames
[] = { "currentTip", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) return NULL
;
3524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3525 _resultobj
= Py_BuildValue("s",_ptemp
);
3528 _resultobj
= Py_None
;
3533 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3534 wxGenericDragImage
*src
;
3536 src
= (wxGenericDragImage
*) ptr
;
3537 dest
= (wxObject
*) src
;
3538 return (void *) dest
;
3541 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3542 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3544 wxGenericDragImage
* _result
;
3546 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3547 PyObject
* _argo0
= 0;
3548 PyObject
* _argo1
= 0;
3549 char *_kwnames
[] = { "image","cursor", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3577 _resultobj
= Py_BuildValue("s",_ptemp
);
3580 _resultobj
= Py_None
;
3585 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3586 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3588 wxGenericDragImage
* _result
;
3590 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3591 PyObject
* _argo0
= 0;
3592 PyObject
* _argo1
= 0;
3593 char *_kwnames
[] = { "image","cursor", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) return NULL
;
3620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3621 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 _resultobj
= Py_None
;
3629 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3630 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3632 wxGenericDragImage
* _result
;
3634 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3635 PyObject
* _obj0
= 0;
3636 PyObject
* _argo1
= 0;
3637 char *_kwnames
[] = { "str","cursor", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3644 #if PYTHON_API_VERSION >= 1009
3645 char* tmpPtr
; int tmpSize
;
3646 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3650 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3652 _arg0
= new wxString(tmpPtr
, tmpSize
);
3654 if (!PyString_Check(_obj0
)) {
3655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3658 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3676 _resultobj
= Py_BuildValue("s",_ptemp
);
3679 _resultobj
= Py_None
;
3688 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3689 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3691 wxGenericDragImage
* _result
;
3693 wxTreeItemId
* _arg1
;
3694 PyObject
* _argo0
= 0;
3695 PyObject
* _argo1
= 0;
3696 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) return NULL
;
3723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3724 _resultobj
= Py_BuildValue("s",_ptemp
);
3727 _resultobj
= Py_None
;
3732 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3733 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3735 wxGenericDragImage
* _result
;
3738 PyObject
* _argo0
= 0;
3739 char *_kwnames
[] = { "listCtrl","id", NULL
};
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) return NULL
;
3759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3760 _resultobj
= Py_BuildValue("s",_ptemp
);
3763 _resultobj
= Py_None
;
3768 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3769 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3771 wxGenericDragImage
* _arg0
;
3772 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 delete_wxGenericDragImage(_arg0
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) return NULL
;
3791 } Py_INCREF(Py_None
);
3792 _resultobj
= Py_None
;
3796 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3797 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3799 wxGenericDragImage
* _arg0
;
3801 PyObject
* _argo0
= 0;
3802 PyObject
* _argo1
= 0;
3803 char *_kwnames
[] = { "self","bitmap", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) return NULL
;
3828 } Py_INCREF(Py_None
);
3829 _resultobj
= Py_None
;
3833 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3834 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3837 wxGenericDragImage
* _arg0
;
3840 bool _arg3
= (bool ) FALSE
;
3841 wxRect
* _arg4
= (wxRect
*) NULL
;
3842 PyObject
* _argo0
= 0;
3844 PyObject
* _obj1
= 0;
3845 PyObject
* _argo2
= 0;
3846 int tempbool3
= (int) FALSE
;
3848 PyObject
* _obj4
= 0;
3849 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3863 if (! wxPoint_helper(_obj1
, &_arg1
))
3867 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3873 _arg3
= (bool ) tempbool3
;
3877 if (! wxRect_helper(_obj4
, &_arg4
))
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) return NULL
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3891 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3894 wxGenericDragImage
* _arg0
;
3898 PyObject
* _argo0
= 0;
3900 PyObject
* _obj1
= 0;
3901 PyObject
* _argo2
= 0;
3902 PyObject
* _argo3
= 0;
3903 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3917 if (! wxPoint_helper(_obj1
, &_arg1
))
3921 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3928 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) return NULL
;
3940 } _resultobj
= Py_BuildValue("i",_result
);
3944 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3945 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3948 wxGenericDragImage
* _arg0
;
3949 PyObject
* _argo0
= 0;
3950 char *_kwnames
[] = { "self", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) return NULL
;
3968 } _resultobj
= Py_BuildValue("i",_result
);
3972 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3973 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3976 wxGenericDragImage
* _arg0
;
3978 PyObject
* _argo0
= 0;
3980 PyObject
* _obj1
= 0;
3981 char *_kwnames
[] = { "self","pt", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3995 if (! wxPoint_helper(_obj1
, &_arg1
))
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4004 } _resultobj
= Py_BuildValue("i",_result
);
4008 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4009 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 wxGenericDragImage
* _arg0
;
4013 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 _result
= (bool )wxDragImage_Show(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } _resultobj
= Py_BuildValue("i",_result
);
4036 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4037 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4040 wxGenericDragImage
* _arg0
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 _result
= (bool )wxDragImage_Hide(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } _resultobj
= Py_BuildValue("i",_result
);
4064 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4065 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4068 wxGenericDragImage
* _arg0
;
4070 PyObject
* _argo0
= 0;
4072 PyObject
* _obj1
= 0;
4073 char *_kwnames
[] = { "self","pos", NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4088 if (! wxPoint_helper(_obj1
, &_arg1
))
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4097 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4098 _resultobj
= Py_BuildValue("s",_ptemp
);
4102 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4103 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4106 wxGenericDragImage
* _arg0
;
4111 PyObject
* _argo0
= 0;
4113 PyObject
* _obj1
= 0;
4115 PyObject
* _obj2
= 0;
4118 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4132 if (! wxPoint_helper(_obj1
, &_arg1
))
4137 if (! wxPoint_helper(_obj2
, &_arg2
))
4140 _arg3
= (bool ) tempbool3
;
4141 _arg4
= (bool ) tempbool4
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) return NULL
;
4148 } _resultobj
= Py_BuildValue("i",_result
);
4152 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4155 src
= (wxPyTimer
*) ptr
;
4156 dest
= (wxObject
*) src
;
4157 return (void *) dest
;
4160 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4161 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4163 wxPyTimer
* _result
;
4165 PyObject
* _obj0
= 0;
4166 char *_kwnames
[] = { "notify", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) return NULL
;
4182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4183 _resultobj
= Py_BuildValue("s",_ptemp
);
4186 _resultobj
= Py_None
;
4191 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4192 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4195 PyObject
* _argo0
= 0;
4196 char *_kwnames
[] = { "self", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 delete_wxPyTimer(_arg0
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) return NULL
;
4214 } Py_INCREF(Py_None
);
4215 _resultobj
= Py_None
;
4219 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4220 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4224 PyObject
* _argo0
= 0;
4225 char *_kwnames
[] = { "self", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) return NULL
;
4243 } _resultobj
= Py_BuildValue("i",_result
);
4247 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4248 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) return NULL
;
4271 } _resultobj
= Py_BuildValue("i",_result
);
4275 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4276 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) return NULL
;
4299 } _resultobj
= Py_BuildValue("i",_result
);
4303 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4304 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4307 wxEvtHandler
* _arg1
;
4308 int _arg2
= (int ) -1;
4309 PyObject
* _argo0
= 0;
4310 PyObject
* _argo1
= 0;
4311 char *_kwnames
[] = { "self","owner","id", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) return NULL
;
4336 } Py_INCREF(Py_None
);
4337 _resultobj
= Py_None
;
4341 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4342 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4345 int _arg1
= (int ) -1;
4346 int _arg2
= (int ) FALSE
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) return NULL
;
4366 } Py_INCREF(Py_None
);
4367 _resultobj
= Py_None
;
4371 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4372 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxPyTimer_Stop(_arg0
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define new_wxStopWatch() (new wxStopWatch())
4400 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4402 wxStopWatch
* _result
;
4403 char *_kwnames
[] = { NULL
};
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 _result
= (wxStopWatch
*)new_wxStopWatch();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4417 _resultobj
= Py_BuildValue("s",_ptemp
);
4420 _resultobj
= Py_None
;
4425 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4426 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4428 wxStopWatch
* _arg0
;
4429 long _arg1
= (long ) 0;
4430 PyObject
* _argo0
= 0;
4431 char *_kwnames
[] = { "self","t", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxStopWatch_Start(_arg0
,_arg1
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) return NULL
;
4449 } Py_INCREF(Py_None
);
4450 _resultobj
= Py_None
;
4454 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4455 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4457 wxStopWatch
* _arg0
;
4458 PyObject
* _argo0
= 0;
4459 char *_kwnames
[] = { "self", NULL
};
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxStopWatch_Pause(_arg0
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) return NULL
;
4477 } Py_INCREF(Py_None
);
4478 _resultobj
= Py_None
;
4482 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4483 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
* _resultobj
;
4485 wxStopWatch
* _arg0
;
4486 PyObject
* _argo0
= 0;
4487 char *_kwnames
[] = { "self", NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxStopWatch_Resume(_arg0
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) return NULL
;
4505 } Py_INCREF(Py_None
);
4506 _resultobj
= Py_None
;
4510 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4511 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
* _resultobj
;
4514 wxStopWatch
* _arg0
;
4515 PyObject
* _argo0
= 0;
4516 char *_kwnames
[] = { "self", NULL
};
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 _result
= (long )wxStopWatch_Time(_arg0
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) return NULL
;
4534 } _resultobj
= Py_BuildValue("l",_result
);
4538 #define new_wxLog() (new wxLog())
4539 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4542 char *_kwnames
[] = { NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 _result
= (wxLog
*)new_wxLog();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) return NULL
;
4555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4556 _resultobj
= Py_BuildValue("s",_ptemp
);
4559 _resultobj
= Py_None
;
4564 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4567 char *_kwnames
[] = { NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 _result
= (bool )wxLog::IsEnabled();
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) return NULL
;
4578 } _resultobj
= Py_BuildValue("i",_result
);
4582 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
* _resultobj
;
4585 bool _arg0
= (bool ) TRUE
;
4586 int tempbool0
= (int) TRUE
;
4587 char *_kwnames
[] = { "doIt", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4592 _arg0
= (bool ) tempbool0
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 _result
= (bool )wxLog::EnableLogging(_arg0
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) return NULL
;
4599 } _resultobj
= Py_BuildValue("i",_result
);
4603 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4607 int _arg2
= (int ) 0;
4608 PyObject
* _argo0
= 0;
4609 char *_kwnames
[] = { "level","szString","t", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) return NULL
;
4627 } Py_INCREF(Py_None
);
4628 _resultobj
= Py_None
;
4632 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4633 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
* _resultobj
;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) return NULL
;
4655 } Py_INCREF(Py_None
);
4656 _resultobj
= Py_None
;
4660 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4661 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4665 PyObject
* _argo0
= 0;
4666 char *_kwnames
[] = { "self", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } _resultobj
= Py_BuildValue("i",_result
);
4688 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4690 char *_kwnames
[] = { NULL
};
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 wxLog::FlushActive();
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) return NULL
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4706 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
* _resultobj
;
4709 char *_kwnames
[] = { NULL
};
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 _result
= (wxLog
*)wxLog::GetActiveTarget();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) return NULL
;
4722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4723 _resultobj
= Py_BuildValue("s",_ptemp
);
4726 _resultobj
= Py_None
;
4731 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
* _resultobj
;
4735 PyObject
* _argo0
= 0;
4736 char *_kwnames
[] = { "pLogger", NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) return NULL
;
4756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4757 _resultobj
= Py_BuildValue("s",_ptemp
);
4760 _resultobj
= Py_None
;
4765 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4767 char *_kwnames
[] = { NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) return NULL
;
4778 } Py_INCREF(Py_None
);
4779 _resultobj
= Py_None
;
4783 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4785 char *_kwnames
[] = { NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) return NULL
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4802 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4805 bool _arg1
= (bool ) TRUE
;
4806 PyObject
* _argo0
= 0;
4807 int tempbool1
= (int) TRUE
;
4808 char *_kwnames
[] = { "self","bVerbose", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4820 _arg1
= (bool ) tempbool1
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxLog_SetVerbose(_arg0
,_arg1
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4834 char *_kwnames
[] = { NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 wxLog::DontCreateOnDemand();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) return NULL
;
4845 } Py_INCREF(Py_None
);
4846 _resultobj
= Py_None
;
4850 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4852 wxTraceMask
* _arg0
;
4853 PyObject
* _argo0
= 0;
4854 char *_kwnames
[] = { "ulMask", NULL
};
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 wxLog::SetTraceMask(*_arg0
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) return NULL
;
4872 } Py_INCREF(Py_None
);
4873 _resultobj
= Py_None
;
4877 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
* _resultobj
;
4880 PyObject
* _obj0
= 0;
4881 char *_kwnames
[] = { "str", NULL
};
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4887 #if PYTHON_API_VERSION >= 1009
4888 char* tmpPtr
; int tmpSize
;
4889 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4890 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4893 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4895 _arg0
= new wxString(tmpPtr
, tmpSize
);
4897 if (!PyString_Check(_obj0
)) {
4898 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4901 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 wxLog::AddTraceMask(*_arg0
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) return NULL
;
4910 } Py_INCREF(Py_None
);
4911 _resultobj
= Py_None
;
4919 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4922 PyObject
* _obj0
= 0;
4923 char *_kwnames
[] = { "str", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4929 #if PYTHON_API_VERSION >= 1009
4930 char* tmpPtr
; int tmpSize
;
4931 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4935 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4937 _arg0
= new wxString(tmpPtr
, tmpSize
);
4939 if (!PyString_Check(_obj0
)) {
4940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4943 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxLog::RemoveTraceMask(*_arg0
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4961 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
* _resultobj
;
4963 char *_kwnames
[] = { NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 wxLog::ClearTraceMasks();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4974 } Py_INCREF(Py_None
);
4975 _resultobj
= Py_None
;
4979 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4982 char *_kwnames
[] = { "ts", NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 wxLog::SetTimestamp(_arg0
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) return NULL
;
4993 } Py_INCREF(Py_None
);
4994 _resultobj
= Py_None
;
4998 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5001 char *_kwnames
[] = { NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 _result
= (wxChar
*)wxLog::GetTimestamp();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) return NULL
;
5012 } _resultobj
= Py_BuildValue("s", _result
);
5016 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5017 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
* _resultobj
;
5021 PyObject
* _argo0
= 0;
5022 char *_kwnames
[] = { "self", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 _result
= (bool )wxLog_GetVerbose(_arg0
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) return NULL
;
5040 } _resultobj
= Py_BuildValue("i",_result
);
5044 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5046 wxTraceMask
* _result
;
5047 char *_kwnames
[] = { NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 _result
= new wxTraceMask (wxLog::GetTraceMask());
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) return NULL
;
5059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5060 _resultobj
= Py_BuildValue("s",_ptemp
);
5064 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5068 char *_kwnames
[] = { "mask", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) return NULL
;
5079 } _resultobj
= Py_BuildValue("i",_result
);
5083 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5085 wxLog::TimeStamp(&msg
);
5088 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5092 PyObject
* _argo0
= 0;
5093 char *_kwnames
[] = { "self", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) return NULL
;
5112 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5120 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5123 src
= (wxLogStderr
*) ptr
;
5124 dest
= (wxLog
*) src
;
5125 return (void *) dest
;
5128 #define new_wxLogStderr() (new wxLogStderr())
5129 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5131 wxLogStderr
* _result
;
5132 char *_kwnames
[] = { NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 _result
= (wxLogStderr
*)new_wxLogStderr();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) return NULL
;
5145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5146 _resultobj
= Py_BuildValue("s",_ptemp
);
5149 _resultobj
= Py_None
;
5154 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5157 src
= (wxLogTextCtrl
*) ptr
;
5158 dest
= (wxLog
*) src
;
5159 return (void *) dest
;
5162 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5163 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5165 wxLogTextCtrl
* _result
;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "pTextCtrl", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) return NULL
;
5188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5189 _resultobj
= Py_BuildValue("s",_ptemp
);
5192 _resultobj
= Py_None
;
5197 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5200 src
= (wxLogGui
*) ptr
;
5201 dest
= (wxLog
*) src
;
5202 return (void *) dest
;
5205 #define new_wxLogGui() (new wxLogGui())
5206 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5209 char *_kwnames
[] = { NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 _result
= (wxLogGui
*)new_wxLogGui();
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) return NULL
;
5222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5223 _resultobj
= Py_BuildValue("s",_ptemp
);
5226 _resultobj
= Py_None
;
5231 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5234 src
= (wxLogWindow
*) ptr
;
5235 dest
= (wxLog
*) src
;
5236 return (void *) dest
;
5239 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5240 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5242 wxLogWindow
* _result
;
5245 bool _arg2
= (bool ) TRUE
;
5246 bool _arg3
= (bool ) TRUE
;
5247 PyObject
* _argo0
= 0;
5248 int tempbool2
= (int) TRUE
;
5249 int tempbool3
= (int) TRUE
;
5250 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5263 _arg2
= (bool ) tempbool2
;
5264 _arg3
= (bool ) tempbool3
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) return NULL
;
5272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5273 _resultobj
= Py_BuildValue("s",_ptemp
);
5276 _resultobj
= Py_None
;
5281 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5282 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
* _resultobj
;
5284 wxLogWindow
* _arg0
;
5285 bool _arg1
= (bool ) TRUE
;
5286 PyObject
* _argo0
= 0;
5287 int tempbool1
= (int) TRUE
;
5288 char *_kwnames
[] = { "self","bShow", NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5300 _arg1
= (bool ) tempbool1
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 wxLogWindow_Show(_arg0
,_arg1
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) return NULL
;
5307 } Py_INCREF(Py_None
);
5308 _resultobj
= Py_None
;
5312 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5313 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5316 wxLogWindow
* _arg0
;
5317 PyObject
* _argo0
= 0;
5318 char *_kwnames
[] = { "self", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) return NULL
;
5336 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5340 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5341 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5344 wxLogWindow
* _arg0
;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) return NULL
;
5366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5367 _resultobj
= Py_BuildValue("s",_ptemp
);
5370 _resultobj
= Py_None
;
5375 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5376 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5379 wxLogWindow
* _arg0
;
5380 PyObject
* _argo0
= 0;
5381 char *_kwnames
[] = { "self", NULL
};
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) return NULL
;
5399 } _resultobj
= Py_BuildValue("i",_result
);
5403 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5404 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5406 wxLogWindow
* _arg0
;
5408 PyObject
* _argo0
= 0;
5410 char *_kwnames
[] = { "self","bDoPass", NULL
};
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5422 _arg1
= (bool ) tempbool1
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 wxLogWindow_PassMessages(_arg0
,_arg1
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) return NULL
;
5429 } Py_INCREF(Py_None
);
5430 _resultobj
= Py_None
;
5434 #define new_wxLogNull() (new wxLogNull())
5435 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5437 wxLogNull
* _result
;
5438 char *_kwnames
[] = { NULL
};
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= (wxLogNull
*)new_wxLogNull();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5452 _resultobj
= Py_BuildValue("s",_ptemp
);
5455 _resultobj
= Py_None
;
5460 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5461 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5464 PyObject
* _argo0
= 0;
5465 char *_kwnames
[] = { "self", NULL
};
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 delete_wxLogNull(_arg0
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) return NULL
;
5483 } Py_INCREF(Py_None
);
5484 _resultobj
= Py_None
;
5488 static void *SwigwxLogChainTowxLog(void *ptr
) {
5491 src
= (wxLogChain
*) ptr
;
5492 dest
= (wxLog
*) src
;
5493 return (void *) dest
;
5496 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5497 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
* _resultobj
;
5499 wxLogChain
* _result
;
5501 PyObject
* _argo0
= 0;
5502 char *_kwnames
[] = { "logger", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) return NULL
;
5522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5523 _resultobj
= Py_BuildValue("s",_ptemp
);
5526 _resultobj
= Py_None
;
5531 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5532 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5536 PyObject
* _argo0
= 0;
5537 PyObject
* _argo1
= 0;
5538 char *_kwnames
[] = { "self","logger", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 wxLogChain_SetLog(_arg0
,_arg1
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) return NULL
;
5563 } Py_INCREF(Py_None
);
5564 _resultobj
= Py_None
;
5568 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5569 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5573 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self","bDoPass", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5587 _arg1
= (bool ) tempbool1
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxLogChain_PassMessages(_arg0
,_arg1
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5594 } Py_INCREF(Py_None
);
5595 _resultobj
= Py_None
;
5599 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5600 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5604 PyObject
* _argo0
= 0;
5605 char *_kwnames
[] = { "self", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) return NULL
;
5623 } _resultobj
= Py_BuildValue("i",_result
);
5627 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5628 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
* _resultobj
;
5632 PyObject
* _argo0
= 0;
5633 char *_kwnames
[] = { "self", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) return NULL
;
5653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5654 _resultobj
= Py_BuildValue("s",_ptemp
);
5657 _resultobj
= Py_None
;
5662 static void *SwigwxPyLogTowxLog(void *ptr
) {
5665 src
= (wxPyLog
*) ptr
;
5666 dest
= (wxLog
*) src
;
5667 return (void *) dest
;
5670 #define new_wxPyLog() (new wxPyLog())
5671 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5674 char *_kwnames
[] = { NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 _result
= (wxPyLog
*)new_wxPyLog();
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5688 _resultobj
= Py_BuildValue("s",_ptemp
);
5691 _resultobj
= Py_None
;
5696 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5697 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
* _resultobj
;
5702 PyObject
* _argo0
= 0;
5703 PyObject
* _obj1
= 0;
5704 PyObject
* _obj2
= 0;
5705 char *_kwnames
[] = { "self","self","_class", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) return NULL
;
5729 } Py_INCREF(Py_None
);
5730 _resultobj
= Py_None
;
5734 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5735 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5738 PyObject
* _argo0
= 0;
5739 char *_kwnames
[] = { "self", NULL
};
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 wxPyLog_Destroy(_arg0
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) return NULL
;
5757 } Py_INCREF(Py_None
);
5758 _resultobj
= Py_None
;
5762 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5763 wxProcessEvent
*src
;
5765 src
= (wxProcessEvent
*) ptr
;
5766 dest
= (wxEvent
*) src
;
5767 return (void *) dest
;
5770 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5771 wxProcessEvent
*src
;
5773 src
= (wxProcessEvent
*) ptr
;
5774 dest
= (wxObject
*) src
;
5775 return (void *) dest
;
5778 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5779 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5781 wxProcessEvent
* _result
;
5782 int _arg0
= (int ) 0;
5783 int _arg1
= (int ) 0;
5784 int _arg2
= (int ) 0;
5785 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) return NULL
;
5798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5799 _resultobj
= Py_BuildValue("s",_ptemp
);
5802 _resultobj
= Py_None
;
5807 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5808 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
* _resultobj
;
5811 wxProcessEvent
* _arg0
;
5812 PyObject
* _argo0
= 0;
5813 char *_kwnames
[] = { "self", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) return NULL
;
5831 } _resultobj
= Py_BuildValue("i",_result
);
5835 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5836 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5839 wxProcessEvent
* _arg0
;
5840 PyObject
* _argo0
= 0;
5841 char *_kwnames
[] = { "self", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) return NULL
;
5859 } _resultobj
= Py_BuildValue("i",_result
);
5863 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5864 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5867 wxProcessEvent
* _arg0
;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self","m_pid", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5888 } _resultobj
= Py_BuildValue("i",_result
);
5892 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5893 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5896 wxProcessEvent
* _arg0
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) return NULL
;
5916 } _resultobj
= Py_BuildValue("i",_result
);
5920 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5921 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5924 wxProcessEvent
* _arg0
;
5926 PyObject
* _argo0
= 0;
5927 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) return NULL
;
5945 } _resultobj
= Py_BuildValue("i",_result
);
5949 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5950 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
* _resultobj
;
5953 wxProcessEvent
* _arg0
;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } _resultobj
= Py_BuildValue("i",_result
);
5977 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5980 src
= (wxPyProcess
*) ptr
;
5981 dest
= (wxEvtHandler
*) src
;
5982 return (void *) dest
;
5985 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5988 src
= (wxPyProcess
*) ptr
;
5989 dest
= (wxObject
*) src
;
5990 return (void *) dest
;
5993 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5994 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5996 wxPyProcess
* _result
;
5997 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5998 int _arg1
= (int ) -1;
5999 PyObject
* _argo0
= 0;
6000 char *_kwnames
[] = { "parent","id", NULL
};
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) return NULL
;
6020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6021 _resultobj
= Py_BuildValue("s",_ptemp
);
6024 _resultobj
= Py_None
;
6029 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6030 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
* _resultobj
;
6032 wxPyProcess
* _arg0
;
6033 PyObject
* _argo0
= 0;
6034 char *_kwnames
[] = { "self", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 wxPyProcess_Destroy(_arg0
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) return NULL
;
6052 } Py_INCREF(Py_None
);
6053 _resultobj
= Py_None
;
6057 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6058 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
* _resultobj
;
6060 wxPyProcess
* _arg0
;
6063 PyObject
* _argo0
= 0;
6064 PyObject
* _obj1
= 0;
6065 PyObject
* _obj2
= 0;
6066 char *_kwnames
[] = { "self","self","_class", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) return NULL
;
6090 } Py_INCREF(Py_None
);
6091 _resultobj
= Py_None
;
6095 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6096 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6098 wxPyProcess
* _arg0
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self","pid","status", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) return NULL
;
6120 } Py_INCREF(Py_None
);
6121 _resultobj
= Py_None
;
6125 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6126 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6128 wxPyProcess
* _arg0
;
6129 PyObject
* _argo0
= 0;
6130 char *_kwnames
[] = { "self", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 wxProcess_Redirect(_arg0
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) return NULL
;
6148 } Py_INCREF(Py_None
);
6149 _resultobj
= Py_None
;
6153 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6154 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6157 wxPyProcess
* _arg0
;
6158 PyObject
* _argo0
= 0;
6159 char *_kwnames
[] = { "self", NULL
};
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) return NULL
;
6177 } _resultobj
= Py_BuildValue("i",_result
);
6181 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6182 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
* _resultobj
;
6184 wxPyProcess
* _arg0
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 wxProcess_Detach(_arg0
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) return NULL
;
6204 } Py_INCREF(Py_None
);
6205 _resultobj
= Py_None
;
6209 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6210 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6212 wxInputStream
* _result
;
6213 wxPyProcess
* _arg0
;
6214 PyObject
* _argo0
= 0;
6215 char *_kwnames
[] = { "self", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) return NULL
;
6234 wxPyInputStream
* _ptr
= NULL
;
6237 _ptr
= new wxPyInputStream(_result
);
6239 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6244 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6245 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6247 wxInputStream
* _result
;
6248 wxPyProcess
* _arg0
;
6249 PyObject
* _argo0
= 0;
6250 char *_kwnames
[] = { "self", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) return NULL
;
6269 wxPyInputStream
* _ptr
= NULL
;
6272 _ptr
= new wxPyInputStream(_result
);
6274 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6279 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6280 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6282 wxOutputStream
* _result
;
6283 wxPyProcess
* _arg0
;
6284 PyObject
* _argo0
= 0;
6285 char *_kwnames
[] = { "self", NULL
};
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) return NULL
;
6305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6306 _resultobj
= Py_BuildValue("s",_ptemp
);
6309 _resultobj
= Py_None
;
6314 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6315 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxPyProcess
* _arg0
;
6318 PyObject
* _argo0
= 0;
6319 char *_kwnames
[] = { "self", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_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_CloseOutput. Expected _wxPyProcess_p.");
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 wxProcess_CloseOutput(_arg0
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) return NULL
;
6337 } Py_INCREF(Py_None
);
6338 _resultobj
= Py_None
;
6342 static void *SwigwxJoystickTowxObject(void *ptr
) {
6345 src
= (wxJoystick
*) ptr
;
6346 dest
= (wxObject
*) src
;
6347 return (void *) dest
;
6350 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6351 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6353 wxJoystick
* _result
;
6354 int _arg0
= (int ) wxJOYSTICK1
;
6355 char *_kwnames
[] = { "joystick", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) return NULL
;
6368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6369 _resultobj
= Py_BuildValue("s",_ptemp
);
6372 _resultobj
= Py_None
;
6377 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6378 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 delete_wxJoystick(_arg0
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) return NULL
;
6400 } Py_INCREF(Py_None
);
6401 _resultobj
= Py_None
;
6405 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6406 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
* _resultobj
;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) return NULL
;
6430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6431 _resultobj
= Py_BuildValue("s",_ptemp
);
6435 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6436 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6440 PyObject
* _argo0
= 0;
6441 char *_kwnames
[] = { "self", NULL
};
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) return NULL
;
6459 } _resultobj
= Py_BuildValue("i",_result
);
6463 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6464 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6468 PyObject
* _argo0
= 0;
6469 char *_kwnames
[] = { "self", NULL
};
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) return NULL
;
6487 } _resultobj
= Py_BuildValue("i",_result
);
6491 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6492 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6496 PyObject
* _argo0
= 0;
6497 char *_kwnames
[] = { "self", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) return NULL
;
6515 } _resultobj
= Py_BuildValue("i",_result
);
6519 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6520 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6524 PyObject
* _argo0
= 0;
6525 char *_kwnames
[] = { "self", NULL
};
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) return NULL
;
6543 } _resultobj
= Py_BuildValue("i",_result
);
6547 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6548 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self", NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) return NULL
;
6571 } _resultobj
= Py_BuildValue("i",_result
);
6575 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6576 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "self", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) return NULL
;
6599 } _resultobj
= Py_BuildValue("i",_result
);
6603 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6604 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
* _resultobj
;
6608 PyObject
* _argo0
= 0;
6609 char *_kwnames
[] = { "self", NULL
};
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) return NULL
;
6627 } _resultobj
= Py_BuildValue("i",_result
);
6631 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6632 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
* _resultobj
;
6636 PyObject
* _argo0
= 0;
6637 char *_kwnames
[] = { "self", NULL
};
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) return NULL
;
6655 } _resultobj
= Py_BuildValue("i",_result
);
6659 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6660 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
* _resultobj
;
6664 PyObject
* _argo0
= 0;
6665 char *_kwnames
[] = { "self","threshold", NULL
};
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) return NULL
;
6683 } Py_INCREF(Py_None
);
6684 _resultobj
= Py_None
;
6688 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6689 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6693 PyObject
* _argo0
= 0;
6694 char *_kwnames
[] = { "self", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 _result
= (bool )wxJoystick_IsOk(_arg0
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) return NULL
;
6712 } _resultobj
= Py_BuildValue("i",_result
);
6716 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6717 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
* _resultobj
;
6721 PyObject
* _argo0
= 0;
6722 char *_kwnames
[] = { "self", NULL
};
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) return NULL
;
6740 } _resultobj
= Py_BuildValue("i",_result
);
6744 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6745 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6749 PyObject
* _argo0
= 0;
6750 char *_kwnames
[] = { "self", NULL
};
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) return NULL
;
6768 } _resultobj
= Py_BuildValue("i",_result
);
6772 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6773 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
* _resultobj
;
6777 PyObject
* _argo0
= 0;
6778 char *_kwnames
[] = { "self", NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 _result
= (int )wxJoystick_GetProductId(_arg0
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) return NULL
;
6796 } _resultobj
= Py_BuildValue("i",_result
);
6800 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6801 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
* _resultobj
;
6805 PyObject
* _argo0
= 0;
6806 char *_kwnames
[] = { "self", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) return NULL
;
6825 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6833 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6834 static PyObject
*_wrap_wxJoystick_GetXMin(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_GetXMin",_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_GetXMin. Expected _wxJoystick_p.");
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 _result
= (int )wxJoystick_GetXMin(_arg0
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6857 } _resultobj
= Py_BuildValue("i",_result
);
6861 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6862 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6866 PyObject
* _argo0
= 0;
6867 char *_kwnames
[] = { "self", NULL
};
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 _result
= (int )wxJoystick_GetYMin(_arg0
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) return NULL
;
6885 } _resultobj
= Py_BuildValue("i",_result
);
6889 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6890 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6894 PyObject
* _argo0
= 0;
6895 char *_kwnames
[] = { "self", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 _result
= (int )wxJoystick_GetZMin(_arg0
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) return NULL
;
6913 } _resultobj
= Py_BuildValue("i",_result
);
6917 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6918 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
* _resultobj
;
6922 PyObject
* _argo0
= 0;
6923 char *_kwnames
[] = { "self", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 _result
= (int )wxJoystick_GetXMax(_arg0
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) return NULL
;
6941 } _resultobj
= Py_BuildValue("i",_result
);
6945 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6946 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
* _resultobj
;
6950 PyObject
* _argo0
= 0;
6951 char *_kwnames
[] = { "self", NULL
};
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 _result
= (int )wxJoystick_GetYMax(_arg0
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) return NULL
;
6969 } _resultobj
= Py_BuildValue("i",_result
);
6973 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6974 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
* _resultobj
;
6978 PyObject
* _argo0
= 0;
6979 char *_kwnames
[] = { "self", NULL
};
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 _result
= (int )wxJoystick_GetZMax(_arg0
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) return NULL
;
6997 } _resultobj
= Py_BuildValue("i",_result
);
7001 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7002 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
* _resultobj
;
7006 PyObject
* _argo0
= 0;
7007 char *_kwnames
[] = { "self", NULL
};
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) return NULL
;
7025 } _resultobj
= Py_BuildValue("i",_result
);
7029 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7030 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
* _resultobj
;
7034 PyObject
* _argo0
= 0;
7035 char *_kwnames
[] = { "self", NULL
};
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) return NULL
;
7053 } _resultobj
= Py_BuildValue("i",_result
);
7057 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7058 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
* _resultobj
;
7062 PyObject
* _argo0
= 0;
7063 char *_kwnames
[] = { "self", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) return NULL
;
7081 } _resultobj
= Py_BuildValue("i",_result
);
7085 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7086 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
* _resultobj
;
7090 PyObject
* _argo0
= 0;
7091 char *_kwnames
[] = { "self", NULL
};
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) return NULL
;
7109 } _resultobj
= Py_BuildValue("i",_result
);
7113 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7114 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
* _resultobj
;
7118 PyObject
* _argo0
= 0;
7119 char *_kwnames
[] = { "self", NULL
};
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) return NULL
;
7137 } _resultobj
= Py_BuildValue("i",_result
);
7141 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7142 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
* _resultobj
;
7146 PyObject
* _argo0
= 0;
7147 char *_kwnames
[] = { "self", NULL
};
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) return NULL
;
7165 } _resultobj
= Py_BuildValue("i",_result
);
7169 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7170 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
* _resultobj
;
7174 PyObject
* _argo0
= 0;
7175 char *_kwnames
[] = { "self", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) return NULL
;
7193 } _resultobj
= Py_BuildValue("i",_result
);
7197 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7198 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
* _resultobj
;
7202 PyObject
* _argo0
= 0;
7203 char *_kwnames
[] = { "self", NULL
};
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) return NULL
;
7221 } _resultobj
= Py_BuildValue("i",_result
);
7225 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7226 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
* _resultobj
;
7230 PyObject
* _argo0
= 0;
7231 char *_kwnames
[] = { "self", NULL
};
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 _result
= (int )wxJoystick_GetUMin(_arg0
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) return NULL
;
7249 } _resultobj
= Py_BuildValue("i",_result
);
7253 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7254 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7258 PyObject
* _argo0
= 0;
7259 char *_kwnames
[] = { "self", NULL
};
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 _result
= (int )wxJoystick_GetUMax(_arg0
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) return NULL
;
7277 } _resultobj
= Py_BuildValue("i",_result
);
7281 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7282 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
* _resultobj
;
7286 PyObject
* _argo0
= 0;
7287 char *_kwnames
[] = { "self", NULL
};
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 _result
= (int )wxJoystick_GetVMin(_arg0
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) return NULL
;
7305 } _resultobj
= Py_BuildValue("i",_result
);
7309 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7310 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7314 PyObject
* _argo0
= 0;
7315 char *_kwnames
[] = { "self", NULL
};
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 _result
= (int )wxJoystick_GetVMax(_arg0
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) return NULL
;
7333 } _resultobj
= Py_BuildValue("i",_result
);
7337 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7338 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
* _resultobj
;
7342 PyObject
* _argo0
= 0;
7343 char *_kwnames
[] = { "self", NULL
};
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) return NULL
;
7361 } _resultobj
= Py_BuildValue("i",_result
);
7365 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7366 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
* _resultobj
;
7370 PyObject
* _argo0
= 0;
7371 char *_kwnames
[] = { "self", NULL
};
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 _result
= (bool )wxJoystick_HasZ(_arg0
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) return NULL
;
7389 } _resultobj
= Py_BuildValue("i",_result
);
7393 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7394 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
* _resultobj
;
7398 PyObject
* _argo0
= 0;
7399 char *_kwnames
[] = { "self", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 _result
= (bool )wxJoystick_HasU(_arg0
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) return NULL
;
7417 } _resultobj
= Py_BuildValue("i",_result
);
7421 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7422 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
* _resultobj
;
7426 PyObject
* _argo0
= 0;
7427 char *_kwnames
[] = { "self", NULL
};
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 _result
= (bool )wxJoystick_HasV(_arg0
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) return NULL
;
7445 } _resultobj
= Py_BuildValue("i",_result
);
7449 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7450 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
* _resultobj
;
7454 PyObject
* _argo0
= 0;
7455 char *_kwnames
[] = { "self", NULL
};
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) return NULL
;
7473 } _resultobj
= Py_BuildValue("i",_result
);
7477 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7478 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
* _resultobj
;
7482 PyObject
* _argo0
= 0;
7483 char *_kwnames
[] = { "self", NULL
};
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) return NULL
;
7501 } _resultobj
= Py_BuildValue("i",_result
);
7505 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7506 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
* _resultobj
;
7510 PyObject
* _argo0
= 0;
7511 char *_kwnames
[] = { "self", NULL
};
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) return NULL
;
7529 } _resultobj
= Py_BuildValue("i",_result
);
7533 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7534 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
* _resultobj
;
7539 int _arg2
= (int ) 0;
7540 PyObject
* _argo0
= 0;
7541 PyObject
* _argo1
= 0;
7542 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) return NULL
;
7567 } _resultobj
= Py_BuildValue("i",_result
);
7571 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7572 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7576 PyObject
* _argo0
= 0;
7577 char *_kwnames
[] = { "self", NULL
};
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) return NULL
;
7595 } _resultobj
= Py_BuildValue("i",_result
);
7599 static void *SwigwxWaveTowxObject(void *ptr
) {
7602 src
= (wxWave
*) ptr
;
7603 dest
= (wxObject
*) src
;
7604 return (void *) dest
;
7607 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7608 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
* _resultobj
;
7612 bool _arg1
= (bool ) FALSE
;
7613 PyObject
* _obj0
= 0;
7614 int tempbool1
= (int) FALSE
;
7615 char *_kwnames
[] = { "fileName","isResource", NULL
};
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7622 #if PYTHON_API_VERSION >= 1009
7623 char* tmpPtr
; int tmpSize
;
7624 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7628 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7630 _arg0
= new wxString(tmpPtr
, tmpSize
);
7632 if (!PyString_Check(_obj0
)) {
7633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7636 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7639 _arg1
= (bool ) tempbool1
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) return NULL
;
7647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7648 _resultobj
= Py_BuildValue("s",_ptemp
);
7651 _resultobj
= Py_None
;
7660 #define delete_wxWave(_swigobj) (delete _swigobj)
7661 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
* _resultobj
;
7664 PyObject
* _argo0
= 0;
7665 char *_kwnames
[] = { "self", NULL
};
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 delete_wxWave(_arg0
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) return NULL
;
7683 } Py_INCREF(Py_None
);
7684 _resultobj
= Py_None
;
7688 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7689 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
* _resultobj
;
7693 PyObject
* _argo0
= 0;
7694 char *_kwnames
[] = { "self", NULL
};
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 _result
= (bool )wxWave_IsOk(_arg0
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) return NULL
;
7712 } _resultobj
= Py_BuildValue("i",_result
);
7716 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7717 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
* _resultobj
;
7721 bool _arg1
= (bool ) TRUE
;
7722 bool _arg2
= (bool ) FALSE
;
7723 PyObject
* _argo0
= 0;
7724 int tempbool1
= (int) TRUE
;
7725 int tempbool2
= (int) FALSE
;
7726 char *_kwnames
[] = { "self","async","looped", NULL
};
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7738 _arg1
= (bool ) tempbool1
;
7739 _arg2
= (bool ) tempbool2
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } _resultobj
= Py_BuildValue("i",_result
);
7750 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7751 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7753 wxFileTypeInfo
* _result
;
7758 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) return NULL
;
7771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7772 _resultobj
= Py_BuildValue("s",_ptemp
);
7775 _resultobj
= Py_None
;
7780 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7781 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
* _resultobj
;
7783 wxFileTypeInfo
* _result
;
7784 wxArrayString
* _arg0
;
7785 PyObject
* _obj0
= 0;
7786 char *_kwnames
[] = { "sArray", NULL
};
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7793 if (! PySequence_Check(_obj0
)) {
7794 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7797 _arg0
= new wxArrayString
;
7798 int i
, len
=PySequence_Length(_obj0
);
7799 for (i
=0; i
<len
; i
++) {
7800 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7801 PyObject
* str
= PyObject_Str(item
);
7802 _arg0
->Add(PyString_AsString(item
));
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) return NULL
;
7814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7815 _resultobj
= Py_BuildValue("s",_ptemp
);
7818 _resultobj
= Py_None
;
7827 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7828 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
* _resultobj
;
7830 wxFileTypeInfo
* _result
;
7831 char *_kwnames
[] = { NULL
};
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) return NULL
;
7844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7845 _resultobj
= Py_BuildValue("s",_ptemp
);
7848 _resultobj
= Py_None
;
7853 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7854 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
* _resultobj
;
7857 wxFileTypeInfo
* _arg0
;
7858 PyObject
* _argo0
= 0;
7859 char *_kwnames
[] = { "self", NULL
};
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) return NULL
;
7877 } _resultobj
= Py_BuildValue("i",_result
);
7881 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7882 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7884 wxFileTypeInfo
* _arg0
;
7886 int _arg2
= (int ) 0;
7887 PyObject
* _argo0
= 0;
7888 PyObject
* _obj1
= 0;
7889 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7902 #if PYTHON_API_VERSION >= 1009
7903 char* tmpPtr
; int tmpSize
;
7904 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7905 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7908 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7910 _arg1
= new wxString(tmpPtr
, tmpSize
);
7912 if (!PyString_Check(_obj1
)) {
7913 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7916 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) return NULL
;
7925 } Py_INCREF(Py_None
);
7926 _resultobj
= Py_None
;
7934 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7935 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
* _resultobj
;
7937 wxFileTypeInfo
* _arg0
;
7939 PyObject
* _argo0
= 0;
7940 PyObject
* _obj1
= 0;
7941 char *_kwnames
[] = { "self","shortDesc", NULL
};
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7954 #if PYTHON_API_VERSION >= 1009
7955 char* tmpPtr
; int tmpSize
;
7956 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7960 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7962 _arg1
= new wxString(tmpPtr
, tmpSize
);
7964 if (!PyString_Check(_obj1
)) {
7965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7968 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) return NULL
;
7977 } Py_INCREF(Py_None
);
7978 _resultobj
= Py_None
;
7986 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7987 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
* _resultobj
;
7990 wxFileTypeInfo
* _arg0
;
7991 PyObject
* _argo0
= 0;
7992 char *_kwnames
[] = { "self", NULL
};
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8007 _result
= (wxString
*) &_result_ref
;
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) return NULL
;
8012 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8017 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8018 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
* _resultobj
;
8021 wxFileTypeInfo
* _arg0
;
8022 PyObject
* _argo0
= 0;
8023 char *_kwnames
[] = { "self", NULL
};
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8038 _result
= (wxString
*) &_result_ref
;
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) return NULL
;
8043 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8048 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8049 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
* _resultobj
;
8052 wxFileTypeInfo
* _arg0
;
8053 PyObject
* _argo0
= 0;
8054 char *_kwnames
[] = { "self", NULL
};
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8069 _result
= (wxString
*) &_result_ref
;
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) return NULL
;
8074 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8079 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8080 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
* _resultobj
;
8083 wxFileTypeInfo
* _arg0
;
8084 PyObject
* _argo0
= 0;
8085 char *_kwnames
[] = { "self", NULL
};
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8100 _result
= (wxString
*) &_result_ref
;
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) return NULL
;
8105 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8110 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8111 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8114 wxFileTypeInfo
* _arg0
;
8115 PyObject
* _argo0
= 0;
8116 char *_kwnames
[] = { "self", NULL
};
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8131 _result
= (wxString
*) &_result_ref
;
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) return NULL
;
8136 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8141 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8142 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8143 return wxArrayString2PyList_helper(arr
);
8145 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
* _resultobj
;
8148 wxFileTypeInfo
* _arg0
;
8149 PyObject
* _argo0
= 0;
8150 char *_kwnames
[] = { "self", NULL
};
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) return NULL
;
8169 _resultobj
= _result
;
8174 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8175 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
* _resultobj
;
8178 wxFileTypeInfo
* _arg0
;
8179 PyObject
* _argo0
= 0;
8180 char *_kwnames
[] = { "self", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) return NULL
;
8198 } _resultobj
= Py_BuildValue("i",_result
);
8202 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8203 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8206 wxFileTypeInfo
* _arg0
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8223 _result
= (wxString
*) &_result_ref
;
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) return NULL
;
8228 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8233 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8234 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
* _resultobj
;
8237 wxFileTypeInfo
* _arg0
;
8238 PyObject
* _argo0
= 0;
8239 char *_kwnames
[] = { "self", NULL
};
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) return NULL
;
8257 } _resultobj
= Py_BuildValue("i",_result
);
8261 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8262 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
* _resultobj
;
8264 wxFileType
* _result
;
8265 wxFileTypeInfo
* _arg0
;
8266 PyObject
* _argo0
= 0;
8267 char *_kwnames
[] = { "ftInfo", NULL
};
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) return NULL
;
8287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8288 _resultobj
= Py_BuildValue("s",_ptemp
);
8291 _resultobj
= Py_None
;
8296 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8298 if (self
->GetMimeType(&str
))
8299 return PyString_FromString(str
.c_str());
8303 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
* _resultobj
;
8307 PyObject
* _argo0
= 0;
8308 char *_kwnames
[] = { "self", NULL
};
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) return NULL
;
8327 _resultobj
= _result
;
8332 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8334 if (self
->GetMimeTypes(arr
))
8335 return wxArrayString2PyList_helper(arr
);
8339 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
* _resultobj
;
8343 PyObject
* _argo0
= 0;
8344 char *_kwnames
[] = { "self", NULL
};
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) return NULL
;
8363 _resultobj
= _result
;
8368 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8370 if (self
->GetExtensions(arr
))
8371 return wxArrayString2PyList_helper(arr
);
8375 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
* _resultobj
;
8379 PyObject
* _argo0
= 0;
8380 char *_kwnames
[] = { "self", NULL
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) return NULL
;
8399 _resultobj
= _result
;
8404 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8406 if (self
->GetIcon(&icon
))
8407 return new wxIcon(icon
);
8411 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
* _resultobj
;
8415 PyObject
* _argo0
= 0;
8416 char *_kwnames
[] = { "self", NULL
};
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) return NULL
;
8436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8437 _resultobj
= Py_BuildValue("s",_ptemp
);
8440 _resultobj
= Py_None
;
8445 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8449 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8450 wxPyBeginBlockThreads();
8451 PyObject
* tuple
= PyTuple_New(3);
8452 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8454 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8455 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8456 wxPyEndBlockThreads();
8462 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
* _resultobj
;
8466 PyObject
* _argo0
= 0;
8467 char *_kwnames
[] = { "self", NULL
};
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) return NULL
;
8486 _resultobj
= _result
;
8491 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8493 if (self
->GetDescription(&str
))
8494 return PyString_FromString(str
.c_str());
8498 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
* _resultobj
;
8502 PyObject
* _argo0
= 0;
8503 char *_kwnames
[] = { "self", NULL
};
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) return NULL
;
8522 _resultobj
= _result
;
8527 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8529 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8530 return PyString_FromString(str
.c_str());
8534 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
* _resultobj
;
8539 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8540 PyObject
* _argo0
= 0;
8541 PyObject
* _obj1
= 0;
8542 PyObject
* _obj2
= 0;
8543 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8556 #if PYTHON_API_VERSION >= 1009
8557 char* tmpPtr
; int tmpSize
;
8558 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8562 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8564 _arg1
= new wxString(tmpPtr
, tmpSize
);
8566 if (!PyString_Check(_obj1
)) {
8567 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8570 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8575 #if PYTHON_API_VERSION >= 1009
8576 char* tmpPtr
; int tmpSize
;
8577 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8581 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8583 _arg2
= new wxString(tmpPtr
, tmpSize
);
8585 if (!PyString_Check(_obj2
)) {
8586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8589 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) return NULL
;
8599 _resultobj
= _result
;
8612 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8614 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8615 return PyString_FromString(str
.c_str());
8619 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
* _resultobj
;
8624 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8625 PyObject
* _argo0
= 0;
8626 PyObject
* _obj1
= 0;
8627 PyObject
* _obj2
= 0;
8628 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8641 #if PYTHON_API_VERSION >= 1009
8642 char* tmpPtr
; int tmpSize
;
8643 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8647 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8649 _arg1
= new wxString(tmpPtr
, tmpSize
);
8651 if (!PyString_Check(_obj1
)) {
8652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8655 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8660 #if PYTHON_API_VERSION >= 1009
8661 char* tmpPtr
; int tmpSize
;
8662 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8666 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8668 _arg2
= new wxString(tmpPtr
, tmpSize
);
8670 if (!PyString_Check(_obj2
)) {
8671 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8674 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) return NULL
;
8684 _resultobj
= _result
;
8697 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8698 wxArrayString verbs
;
8699 wxArrayString commands
;
8700 if (self
->GetAllCommands(&verbs
, &commands
,
8701 wxFileType::MessageParameters(filename
, mimetype
))) {
8702 wxPyBeginBlockThreads();
8703 PyObject
* tuple
= PyTuple_New(2);
8704 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8705 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8706 wxPyEndBlockThreads();
8712 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
* _resultobj
;
8717 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8718 PyObject
* _argo0
= 0;
8719 PyObject
* _obj1
= 0;
8720 PyObject
* _obj2
= 0;
8721 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8734 #if PYTHON_API_VERSION >= 1009
8735 char* tmpPtr
; int tmpSize
;
8736 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8740 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8742 _arg1
= new wxString(tmpPtr
, tmpSize
);
8744 if (!PyString_Check(_obj1
)) {
8745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8748 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8753 #if PYTHON_API_VERSION >= 1009
8754 char* tmpPtr
; int tmpSize
;
8755 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8759 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8761 _arg2
= new wxString(tmpPtr
, tmpSize
);
8763 if (!PyString_Check(_obj2
)) {
8764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8767 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) return NULL
;
8777 _resultobj
= _result
;
8790 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8791 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
* _resultobj
;
8797 bool _arg3
= (bool ) TRUE
;
8798 PyObject
* _argo0
= 0;
8799 PyObject
* _obj1
= 0;
8800 PyObject
* _obj2
= 0;
8801 int tempbool3
= (int) TRUE
;
8802 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8815 #if PYTHON_API_VERSION >= 1009
8816 char* tmpPtr
; int tmpSize
;
8817 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8818 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8821 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8823 _arg1
= new wxString(tmpPtr
, tmpSize
);
8825 if (!PyString_Check(_obj1
)) {
8826 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8829 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8833 #if PYTHON_API_VERSION >= 1009
8834 char* tmpPtr
; int tmpSize
;
8835 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8836 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8839 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8841 _arg2
= new wxString(tmpPtr
, tmpSize
);
8843 if (!PyString_Check(_obj2
)) {
8844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8847 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8850 _arg3
= (bool ) tempbool3
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) return NULL
;
8857 } _resultobj
= Py_BuildValue("i",_result
);
8869 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8870 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
* _resultobj
;
8874 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8875 int _arg2
= (int ) 0;
8876 PyObject
* _argo0
= 0;
8877 PyObject
* _obj1
= 0;
8878 char *_kwnames
[] = { "self","cmd","index", NULL
};
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8892 #if PYTHON_API_VERSION >= 1009
8893 char* tmpPtr
; int tmpSize
;
8894 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8895 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8898 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8900 _arg1
= new wxString(tmpPtr
, tmpSize
);
8902 if (!PyString_Check(_obj1
)) {
8903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8906 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) return NULL
;
8915 } _resultobj
= Py_BuildValue("i",_result
);
8923 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8924 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
* _resultobj
;
8928 PyObject
* _argo0
= 0;
8929 char *_kwnames
[] = { "self", NULL
};
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 _result
= (bool )wxFileType_Unassociate(_arg0
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) return NULL
;
8947 } _resultobj
= Py_BuildValue("i",_result
);
8951 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
* _resultobj
;
8955 wxFileType::MessageParameters
* _arg1
;
8956 PyObject
* _obj0
= 0;
8957 PyObject
* _argo1
= 0;
8958 char *_kwnames
[] = { "command","params", NULL
};
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8964 #if PYTHON_API_VERSION >= 1009
8965 char* tmpPtr
; int tmpSize
;
8966 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8967 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8970 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8972 _arg0
= new wxString(tmpPtr
, tmpSize
);
8974 if (!PyString_Check(_obj0
)) {
8975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8978 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) return NULL
;
8995 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9007 #define delete_wxFileType(_swigobj) (delete _swigobj)
9008 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
* _resultobj
;
9011 PyObject
* _argo0
= 0;
9012 char *_kwnames
[] = { "self", NULL
};
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 delete_wxFileType(_arg0
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) return NULL
;
9030 } Py_INCREF(Py_None
);
9031 _resultobj
= Py_None
;
9035 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
* _resultobj
;
9040 PyObject
* _obj0
= 0;
9041 PyObject
* _obj1
= 0;
9042 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9048 #if PYTHON_API_VERSION >= 1009
9049 char* tmpPtr
; int tmpSize
;
9050 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9054 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9056 _arg0
= new wxString(tmpPtr
, tmpSize
);
9058 if (!PyString_Check(_obj0
)) {
9059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9062 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9066 #if PYTHON_API_VERSION >= 1009
9067 char* tmpPtr
; int tmpSize
;
9068 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9069 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9072 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9074 _arg1
= new wxString(tmpPtr
, tmpSize
);
9076 if (!PyString_Check(_obj1
)) {
9077 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9080 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) return NULL
;
9089 } _resultobj
= Py_BuildValue("i",_result
);
9101 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9102 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9104 wxMimeTypesManager
* _result
;
9105 char *_kwnames
[] = { NULL
};
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) return NULL
;
9118 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9119 _resultobj
= Py_BuildValue("s",_ptemp
);
9122 _resultobj
= Py_None
;
9127 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9128 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
* _resultobj
;
9130 wxMimeTypesManager
* _arg0
;
9131 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9132 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9133 PyObject
* _argo0
= 0;
9134 PyObject
* _obj2
= 0;
9135 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9149 #if PYTHON_API_VERSION >= 1009
9150 char* tmpPtr
; int tmpSize
;
9151 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9155 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9157 _arg2
= new wxString(tmpPtr
, tmpSize
);
9159 if (!PyString_Check(_obj2
)) {
9160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9163 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) return NULL
;
9172 } Py_INCREF(Py_None
);
9173 _resultobj
= Py_None
;
9181 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9182 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
* _resultobj
;
9184 wxMimeTypesManager
* _arg0
;
9185 PyObject
* _argo0
= 0;
9186 char *_kwnames
[] = { "self", NULL
};
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 wxMimeTypesManager_ClearData(_arg0
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) return NULL
;
9204 } Py_INCREF(Py_None
);
9205 _resultobj
= Py_None
;
9209 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9210 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
* _resultobj
;
9212 wxFileType
* _result
;
9213 wxMimeTypesManager
* _arg0
;
9215 PyObject
* _argo0
= 0;
9216 PyObject
* _obj1
= 0;
9217 char *_kwnames
[] = { "self","ext", NULL
};
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9231 #if PYTHON_API_VERSION >= 1009
9232 char* tmpPtr
; int tmpSize
;
9233 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9237 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9239 _arg1
= new wxString(tmpPtr
, tmpSize
);
9241 if (!PyString_Check(_obj1
)) {
9242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9245 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) return NULL
;
9255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9256 _resultobj
= Py_BuildValue("s",_ptemp
);
9259 _resultobj
= Py_None
;
9268 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9269 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
* _resultobj
;
9271 wxFileType
* _result
;
9272 wxMimeTypesManager
* _arg0
;
9274 PyObject
* _argo0
= 0;
9275 PyObject
* _obj1
= 0;
9276 char *_kwnames
[] = { "self","mimeType", NULL
};
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9290 #if PYTHON_API_VERSION >= 1009
9291 char* tmpPtr
; int tmpSize
;
9292 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9296 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9298 _arg1
= new wxString(tmpPtr
, tmpSize
);
9300 if (!PyString_Check(_obj1
)) {
9301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9304 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) return NULL
;
9314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9315 _resultobj
= Py_BuildValue("s",_ptemp
);
9318 _resultobj
= Py_None
;
9327 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9328 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
* _resultobj
;
9331 wxMimeTypesManager
* _arg0
;
9333 bool _arg2
= (bool ) FALSE
;
9334 PyObject
* _argo0
= 0;
9335 PyObject
* _obj1
= 0;
9336 int tempbool2
= (int) FALSE
;
9337 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9350 #if PYTHON_API_VERSION >= 1009
9351 char* tmpPtr
; int tmpSize
;
9352 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9353 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9356 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9358 _arg1
= new wxString(tmpPtr
, tmpSize
);
9360 if (!PyString_Check(_obj1
)) {
9361 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9364 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9367 _arg2
= (bool ) tempbool2
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) return NULL
;
9374 } _resultobj
= Py_BuildValue("i",_result
);
9382 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9383 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
* _resultobj
;
9386 wxMimeTypesManager
* _arg0
;
9388 PyObject
* _argo0
= 0;
9389 PyObject
* _obj1
= 0;
9390 char *_kwnames
[] = { "self","filename", NULL
};
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9403 #if PYTHON_API_VERSION >= 1009
9404 char* tmpPtr
; int tmpSize
;
9405 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9409 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9411 _arg1
= new wxString(tmpPtr
, tmpSize
);
9413 if (!PyString_Check(_obj1
)) {
9414 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9417 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) return NULL
;
9426 } _resultobj
= Py_BuildValue("i",_result
);
9434 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9436 self
->EnumAllFileTypes(arr
);
9437 return wxArrayString2PyList_helper(arr
);
9439 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
* _resultobj
;
9442 wxMimeTypesManager
* _arg0
;
9443 PyObject
* _argo0
= 0;
9444 char *_kwnames
[] = { "self", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) return NULL
;
9463 _resultobj
= _result
;
9468 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9469 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
* _resultobj
;
9471 wxMimeTypesManager
* _arg0
;
9472 wxFileTypeInfo
* _arg1
;
9473 PyObject
* _argo0
= 0;
9474 PyObject
* _argo1
= 0;
9475 char *_kwnames
[] = { "self","ft", NULL
};
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) return NULL
;
9500 } Py_INCREF(Py_None
);
9501 _resultobj
= Py_None
;
9505 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9506 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
* _resultobj
;
9508 wxFileType
* _result
;
9509 wxMimeTypesManager
* _arg0
;
9510 wxFileTypeInfo
* _arg1
;
9511 PyObject
* _argo0
= 0;
9512 PyObject
* _argo1
= 0;
9513 char *_kwnames
[] = { "self","ftInfo", NULL
};
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) return NULL
;
9540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9541 _resultobj
= Py_BuildValue("s",_ptemp
);
9544 _resultobj
= Py_None
;
9549 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9550 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
* _resultobj
;
9553 wxMimeTypesManager
* _arg0
;
9555 PyObject
* _argo0
= 0;
9556 PyObject
* _argo1
= 0;
9557 char *_kwnames
[] = { "self","ft", NULL
};
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) return NULL
;
9582 } _resultobj
= Py_BuildValue("i",_result
);
9586 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9587 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
* _resultobj
;
9589 wxMimeTypesManager
* _arg0
;
9590 PyObject
* _argo0
= 0;
9591 char *_kwnames
[] = { "self", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 delete_wxMimeTypesManager(_arg0
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) return NULL
;
9609 } Py_INCREF(Py_None
);
9610 _resultobj
= Py_None
;
9614 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9617 src
= (wxFileHistory
*) ptr
;
9618 dest
= (wxObject
*) src
;
9619 return (void *) dest
;
9622 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9623 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
* _resultobj
;
9625 wxFileHistory
* _result
;
9626 int _arg0
= (int ) 9;
9627 char *_kwnames
[] = { "maxFiles", NULL
};
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) return NULL
;
9640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9641 _resultobj
= Py_BuildValue("s",_ptemp
);
9644 _resultobj
= Py_None
;
9649 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9650 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
* _resultobj
;
9652 wxFileHistory
* _arg0
;
9653 PyObject
* _argo0
= 0;
9654 char *_kwnames
[] = { "self", NULL
};
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 delete_wxFileHistory(_arg0
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) return NULL
;
9672 } Py_INCREF(Py_None
);
9673 _resultobj
= Py_None
;
9677 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9678 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
* _resultobj
;
9680 wxFileHistory
* _arg0
;
9682 PyObject
* _argo0
= 0;
9683 PyObject
* _obj1
= 0;
9684 char *_kwnames
[] = { "self","file", NULL
};
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9697 #if PYTHON_API_VERSION >= 1009
9698 char* tmpPtr
; int tmpSize
;
9699 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9703 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9705 _arg1
= new wxString(tmpPtr
, tmpSize
);
9707 if (!PyString_Check(_obj1
)) {
9708 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9711 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) return NULL
;
9720 } Py_INCREF(Py_None
);
9721 _resultobj
= Py_None
;
9729 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9730 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
* _resultobj
;
9732 wxFileHistory
* _arg0
;
9734 PyObject
* _argo0
= 0;
9735 char *_kwnames
[] = { "self","i", NULL
};
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) return NULL
;
9753 } Py_INCREF(Py_None
);
9754 _resultobj
= Py_None
;
9758 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9759 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
* _resultobj
;
9762 wxFileHistory
* _arg0
;
9763 PyObject
* _argo0
= 0;
9764 char *_kwnames
[] = { "self", NULL
};
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) return NULL
;
9782 } _resultobj
= Py_BuildValue("i",_result
);
9786 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9787 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
* _resultobj
;
9789 wxFileHistory
* _arg0
;
9791 PyObject
* _argo0
= 0;
9792 PyObject
* _argo1
= 0;
9793 char *_kwnames
[] = { "self","menu", NULL
};
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 wxFileHistory_UseMenu(_arg0
,_arg1
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) return NULL
;
9818 } Py_INCREF(Py_None
);
9819 _resultobj
= Py_None
;
9823 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9824 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
* _resultobj
;
9826 wxFileHistory
* _arg0
;
9828 PyObject
* _argo0
= 0;
9829 PyObject
* _argo1
= 0;
9830 char *_kwnames
[] = { "self","menu", NULL
};
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) return NULL
;
9855 } Py_INCREF(Py_None
);
9856 _resultobj
= Py_None
;
9860 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9861 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
* _resultobj
;
9863 wxFileHistory
* _arg0
;
9864 wxConfigBase
* _arg1
;
9865 PyObject
* _argo0
= 0;
9866 PyObject
* _argo1
= 0;
9867 char *_kwnames
[] = { "self","config", NULL
};
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 wxFileHistory_Load(_arg0
,*_arg1
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) return NULL
;
9892 } Py_INCREF(Py_None
);
9893 _resultobj
= Py_None
;
9897 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9898 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
* _resultobj
;
9900 wxFileHistory
* _arg0
;
9901 wxConfigBase
* _arg1
;
9902 PyObject
* _argo0
= 0;
9903 PyObject
* _argo1
= 0;
9904 char *_kwnames
[] = { "self","config", NULL
};
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 wxFileHistory_Save(_arg0
,*_arg1
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) return NULL
;
9929 } Py_INCREF(Py_None
);
9930 _resultobj
= Py_None
;
9934 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9935 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
* _resultobj
;
9937 wxFileHistory
* _arg0
;
9938 PyObject
* _argo0
= 0;
9939 char *_kwnames
[] = { "self", NULL
};
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 wxFileHistory_AddFilesToMenu(_arg0
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) return NULL
;
9957 } Py_INCREF(Py_None
);
9958 _resultobj
= Py_None
;
9962 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9963 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
* _resultobj
;
9965 wxFileHistory
* _arg0
;
9967 PyObject
* _argo0
= 0;
9968 PyObject
* _argo1
= 0;
9969 char *_kwnames
[] = { "self","menu", NULL
};
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) return NULL
;
9994 } Py_INCREF(Py_None
);
9995 _resultobj
= Py_None
;
9999 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10000 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
* _resultobj
;
10002 wxString
* _result
;
10003 wxFileHistory
* _arg0
;
10005 PyObject
* _argo0
= 0;
10006 char *_kwnames
[] = { "self","i", NULL
};
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) return NULL
;
10025 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10033 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10034 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
* _resultobj
;
10037 wxFileHistory
* _arg0
;
10038 PyObject
* _argo0
= 0;
10039 char *_kwnames
[] = { "self", NULL
};
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
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_GetCount. Expected _wxFileHistory_p.");
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 _result
= (int )wxFileHistory_GetCount(_arg0
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) return NULL
;
10057 } _resultobj
= Py_BuildValue("i",_result
);
10061 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10062 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
* _resultobj
;
10065 wxFileHistory
* _arg0
;
10066 PyObject
* _argo0
= 0;
10067 char *_kwnames
[] = { "self", NULL
};
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) return NULL
;
10085 } _resultobj
= Py_BuildValue("i",_result
);
10089 static PyMethodDef misc2cMethods
[] = {
10090 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10385 * This table is used by the pointer type-checker
10387 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10388 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10389 { "_signed_long","_long",0},
10390 { "_wxPrintQuality","_wxCoord",0},
10391 { "_wxPrintQuality","_int",0},
10392 { "_wxPrintQuality","_signed_int",0},
10393 { "_wxPrintQuality","_unsigned_int",0},
10394 { "_wxPrintQuality","_wxWindowID",0},
10395 { "_wxPrintQuality","_uint",0},
10396 { "_wxPrintQuality","_EBool",0},
10397 { "_wxPrintQuality","_size_t",0},
10398 { "_wxPrintQuality","_time_t",0},
10399 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10400 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10401 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10402 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10403 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10404 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10405 { "_byte","_unsigned_char",0},
10406 { "_long","_unsigned_long",0},
10407 { "_long","_signed_long",0},
10408 { "_size_t","_wxCoord",0},
10409 { "_size_t","_wxPrintQuality",0},
10410 { "_size_t","_time_t",0},
10411 { "_size_t","_unsigned_int",0},
10412 { "_size_t","_int",0},
10413 { "_size_t","_wxWindowID",0},
10414 { "_size_t","_uint",0},
10415 { "_uint","_wxCoord",0},
10416 { "_uint","_wxPrintQuality",0},
10417 { "_uint","_time_t",0},
10418 { "_uint","_size_t",0},
10419 { "_uint","_unsigned_int",0},
10420 { "_uint","_int",0},
10421 { "_uint","_wxWindowID",0},
10422 { "_wxChar","_char",0},
10423 { "_char","_wxChar",0},
10424 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10425 { "_EBool","_wxCoord",0},
10426 { "_EBool","_wxPrintQuality",0},
10427 { "_EBool","_signed_int",0},
10428 { "_EBool","_int",0},
10429 { "_EBool","_wxWindowID",0},
10430 { "_unsigned_long","_long",0},
10431 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10432 { "_signed_int","_wxCoord",0},
10433 { "_signed_int","_wxPrintQuality",0},
10434 { "_signed_int","_EBool",0},
10435 { "_signed_int","_wxWindowID",0},
10436 { "_signed_int","_int",0},
10437 { "_WXTYPE","_wxDateTime_t",0},
10438 { "_WXTYPE","_short",0},
10439 { "_WXTYPE","_signed_short",0},
10440 { "_WXTYPE","_unsigned_short",0},
10441 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10442 { "_unsigned_short","_wxDateTime_t",0},
10443 { "_unsigned_short","_WXTYPE",0},
10444 { "_unsigned_short","_short",0},
10445 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10446 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10447 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10448 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10449 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10450 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10451 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10452 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10453 { "_signed_short","_WXTYPE",0},
10454 { "_signed_short","_short",0},
10455 { "_unsigned_char","_byte",0},
10456 { "_unsigned_int","_wxCoord",0},
10457 { "_unsigned_int","_wxPrintQuality",0},
10458 { "_unsigned_int","_time_t",0},
10459 { "_unsigned_int","_size_t",0},
10460 { "_unsigned_int","_uint",0},
10461 { "_unsigned_int","_wxWindowID",0},
10462 { "_unsigned_int","_int",0},
10463 { "_short","_wxDateTime_t",0},
10464 { "_short","_WXTYPE",0},
10465 { "_short","_unsigned_short",0},
10466 { "_short","_signed_short",0},
10467 { "_wxWindowID","_wxCoord",0},
10468 { "_wxWindowID","_wxPrintQuality",0},
10469 { "_wxWindowID","_time_t",0},
10470 { "_wxWindowID","_size_t",0},
10471 { "_wxWindowID","_EBool",0},
10472 { "_wxWindowID","_uint",0},
10473 { "_wxWindowID","_int",0},
10474 { "_wxWindowID","_signed_int",0},
10475 { "_wxWindowID","_unsigned_int",0},
10476 { "_int","_wxCoord",0},
10477 { "_int","_wxPrintQuality",0},
10478 { "_int","_time_t",0},
10479 { "_int","_size_t",0},
10480 { "_int","_EBool",0},
10481 { "_int","_uint",0},
10482 { "_int","_wxWindowID",0},
10483 { "_int","_unsigned_int",0},
10484 { "_int","_signed_int",0},
10485 { "_wxDateTime_t","_unsigned_short",0},
10486 { "_wxDateTime_t","_short",0},
10487 { "_wxDateTime_t","_WXTYPE",0},
10488 { "_time_t","_wxCoord",0},
10489 { "_time_t","_wxPrintQuality",0},
10490 { "_time_t","_unsigned_int",0},
10491 { "_time_t","_int",0},
10492 { "_time_t","_wxWindowID",0},
10493 { "_time_t","_uint",0},
10494 { "_time_t","_size_t",0},
10495 { "_wxCoord","_int",0},
10496 { "_wxCoord","_signed_int",0},
10497 { "_wxCoord","_unsigned_int",0},
10498 { "_wxCoord","_wxWindowID",0},
10499 { "_wxCoord","_uint",0},
10500 { "_wxCoord","_EBool",0},
10501 { "_wxCoord","_size_t",0},
10502 { "_wxCoord","_time_t",0},
10503 { "_wxCoord","_wxPrintQuality",0},
10504 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10507 static PyObject
*SWIG_globals
;
10511 SWIGEXPORT(void) initmisc2c() {
10513 SWIG_globals
= SWIG_newvarlink();
10514 m
= Py_InitModule("misc2c", misc2cMethods
);
10515 d
= PyModule_GetDict(m
);
10516 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
10517 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
10518 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
10519 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
10520 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
10521 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
10522 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
10523 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
10524 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
10525 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
10526 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10527 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10528 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10529 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10530 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10531 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10532 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10533 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10534 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10535 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10536 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10537 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10538 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10539 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10540 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10541 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10542 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10543 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10544 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10545 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10546 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10547 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10548 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10549 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10550 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10551 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10552 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10553 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10554 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10555 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10556 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10557 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10558 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10559 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10560 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10561 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10562 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10563 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10564 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10565 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10566 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10567 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10568 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10569 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10570 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10571 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10572 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10573 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10574 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10575 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10576 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10577 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10578 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10579 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10580 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10581 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10582 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10583 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10584 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10585 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10586 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10587 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10588 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10589 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10590 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10591 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10592 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10593 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10594 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10595 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10596 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10597 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10598 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10599 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10600 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10601 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10602 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10603 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10604 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10605 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10606 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10607 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10608 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10609 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10610 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10611 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10612 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10613 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10614 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10615 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10616 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10617 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10618 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10619 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10621 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10622 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10623 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10626 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10627 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);