2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include "pyistream.h"
60 #include <wx/resource.h>
61 #include <wx/tooltip.h>
63 #include <wx/fontenum.h>
64 #include <wx/tipdlg.h>
65 #include <wx/process.h>
67 #if wxUSE_JOYSTICK || defined(__WXMSW__)
68 #include <wx/joystick.h>
71 #if wxUSE_WAVE || defined(__WXMSW__)
75 #include <wx/mimetype.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(FileSelectorPromptStr
);
106 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
108 static const wxString
wxPyEmptyString(wxT(""));
110 int wxCaret_GetBlinkTime() {
111 return wxCaret::GetBlinkTime();
114 void wxCaret_SetBlinkTime(int milliseconds
) {
115 wxCaret::SetBlinkTime(milliseconds
);
118 class wxPyFontEnumerator
: public wxFontEnumerator
{
120 wxPyFontEnumerator() {}
121 ~wxPyFontEnumerator() {}
123 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
124 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
129 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
130 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
133 bool wxThread_IsMain() {
134 #ifdef WXP_WITH_THREAD
135 return wxThread::IsMain();
141 class wxPyTipProvider
: public wxTipProvider
{
143 wxPyTipProvider(size_t currentTip
)
144 : wxTipProvider(currentTip
) {}
146 DEC_PYCALLBACK_STRING__pure(GetTip
);
151 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
154 #include <wx/generic/dragimgg.h>
156 // A Log class that can be derived from in wxPython
157 class wxPyLog
: public wxLog
{
159 wxPyLog() : wxLog() {}
161 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
163 wxPyBeginBlockThreads();
164 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
165 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
,
166 wx2PyString(szString
), t
));
167 wxPyEndBlockThreads();
169 wxLog::DoLog(level
, szString
, t
);
172 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
174 wxPyBeginBlockThreads();
175 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
176 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)",
177 wx2PyString(szString
), t
));
178 wxPyEndBlockThreads();
180 wxLog::DoLogString(szString
, t
);
185 // C++ version of wxProcess derived class
187 class wxPyProcess
: public wxProcess
{
189 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
190 : wxProcess(parent
, id
)
193 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
198 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
201 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
202 // A C++ stub class for wxJoystick for platforms that don't have it.
203 class wxJoystick
: public wxObject
{
205 wxJoystick(int joystick
= wxJOYSTICK1
) {
206 wxPyBeginBlockThreads();
207 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
208 wxPyEndBlockThreads();
210 wxPoint
GetPosition() { return wxPoint(-1,-1); }
211 int GetZPosition() { return -1; }
212 int GetButtonState() { return -1; }
213 int GetPOVPosition() { return -1; }
214 int GetPOVCTSPosition() { return -1; }
215 int GetRudderPosition() { return -1; }
216 int GetUPosition() { return -1; }
217 int GetVPosition() { return -1; }
218 int GetMovementThreshold() { return -1; }
219 void SetMovementThreshold(int threshold
) {}
221 bool IsOk(void) { return FALSE
; }
222 int GetNumberJoysticks() { return -1; }
223 int GetManufacturerId() { return -1; }
224 int GetProductId() { return -1; }
225 wxString
GetProductName() { return ""; }
226 int GetXMin() { return -1; }
227 int GetYMin() { return -1; }
228 int GetZMin() { return -1; }
229 int GetXMax() { return -1; }
230 int GetYMax() { return -1; }
231 int GetZMax() { return -1; }
232 int GetNumberButtons() { return -1; }
233 int GetNumberAxes() { return -1; }
234 int GetMaxButtons() { return -1; }
235 int GetMaxAxes() { return -1; }
236 int GetPollingMin() { return -1; }
237 int GetPollingMax() { return -1; }
238 int GetRudderMin() { return -1; }
239 int GetRudderMax() { return -1; }
240 int GetUMin() { return -1; }
241 int GetUMax() { return -1; }
242 int GetVMin() { return -1; }
243 int GetVMax() { return -1; }
245 bool HasRudder() { return FALSE
; }
246 bool HasZ() { return FALSE
; }
247 bool HasU() { return FALSE
; }
248 bool HasV() { return FALSE
; }
249 bool HasPOV() { return FALSE
; }
250 bool HasPOV4Dir() { return FALSE
; }
251 bool HasPOVCTS() { return FALSE
; }
253 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
254 bool ReleaseCapture() { return FALSE
; }
259 // A C++ stub class for wxWave for platforms that don't have it.
260 class wxWave
: public wxObject
263 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
264 wxPyBeginBlockThreads();
265 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
266 wxPyEndBlockThreads();
268 wxWave(int size
, const wxByte
* data
) {
269 wxPyBeginBlockThreads();
270 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
271 wxPyEndBlockThreads();
276 bool IsOk() const { return FALSE
; }
277 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
281 // Implementations of some alternate "constructors"
282 wxWave
* wxWaveData(const wxString
& data
) {
283 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
287 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
291 #include <wx/docview.h>
295 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
299 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
300 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
301 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
302 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
303 int _arg5
= (int ) 0;
304 wxWindow
* _arg6
= (wxWindow
*) NULL
;
305 int _arg7
= (int ) -1;
306 int _arg8
= (int ) -1;
307 PyObject
* _obj0
= 0;
308 PyObject
* _obj1
= 0;
309 PyObject
* _obj2
= 0;
310 PyObject
* _obj3
= 0;
311 PyObject
* _obj4
= 0;
312 PyObject
* _argo6
= 0;
313 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
320 _arg0
= wxString_in_helper(_obj0
);
326 _arg1
= wxString_in_helper(_obj1
);
332 _arg2
= wxString_in_helper(_obj2
);
338 _arg3
= wxString_in_helper(_obj3
);
344 _arg4
= wxString_in_helper(_obj4
);
349 if (_argo6
== Py_None
) { _arg6
= NULL
; }
350 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
363 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
365 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
394 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
399 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
400 wxWindow
* _arg3
= (wxWindow
*) NULL
;
401 PyObject
* _obj0
= 0;
402 PyObject
* _obj1
= 0;
403 PyObject
* _obj2
= 0;
404 PyObject
* _argo3
= 0;
405 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
411 _arg0
= wxString_in_helper(_obj0
);
416 _arg1
= wxString_in_helper(_obj1
);
422 _arg2
= wxString_in_helper(_obj2
);
427 if (_argo3
== Py_None
) { _arg3
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
435 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
437 wxPyEndAllowThreads(__tstate
);
438 if (PyErr_Occurred()) return NULL
;
441 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
443 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
464 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
469 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
470 wxWindow
* _arg3
= (wxWindow
*) NULL
;
471 PyObject
* _obj0
= 0;
472 PyObject
* _obj1
= 0;
473 PyObject
* _obj2
= 0;
474 PyObject
* _argo3
= 0;
475 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
481 _arg0
= wxString_in_helper(_obj0
);
486 _arg1
= wxString_in_helper(_obj1
);
492 _arg2
= wxString_in_helper(_obj2
);
497 if (_argo3
== Py_None
) { _arg3
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
505 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
507 wxPyEndAllowThreads(__tstate
);
508 if (PyErr_Occurred()) return NULL
;
511 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
513 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
534 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
538 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
539 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
540 wxWindow
* _arg3
= (wxWindow
*) NULL
;
541 int _arg4
= (int ) -1;
542 int _arg5
= (int ) -1;
543 bool _arg6
= (bool ) TRUE
;
544 PyObject
* _obj0
= 0;
545 PyObject
* _obj1
= 0;
546 PyObject
* _obj2
= 0;
547 PyObject
* _argo3
= 0;
548 int tempbool6
= (int) TRUE
;
549 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
555 _arg0
= wxString_in_helper(_obj0
);
561 _arg1
= wxString_in_helper(_obj1
);
567 _arg2
= wxString_in_helper(_obj2
);
572 if (_argo3
== Py_None
) { _arg3
= NULL
; }
573 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
578 _arg6
= (bool ) tempbool6
;
580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
581 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
583 wxPyEndAllowThreads(__tstate
);
584 if (PyErr_Occurred()) return NULL
;
587 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
589 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
610 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
614 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
615 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
616 wxWindow
* _arg3
= (wxWindow
*) NULL
;
617 PyObject
* _obj0
= 0;
618 PyObject
* _obj1
= 0;
619 PyObject
* _obj2
= 0;
620 PyObject
* _argo3
= 0;
621 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
627 _arg0
= wxString_in_helper(_obj0
);
633 _arg1
= wxString_in_helper(_obj1
);
639 _arg2
= wxString_in_helper(_obj2
);
644 if (_argo3
== Py_None
) { _arg3
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
652 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
654 wxPyEndAllowThreads(__tstate
);
655 if (PyErr_Occurred()) return NULL
;
658 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
660 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
681 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
688 wxWindow
* _arg4
= (wxWindow
*) NULL
;
689 int _arg5
= (int ) -1;
690 int _arg6
= (int ) -1;
691 bool _arg7
= (bool ) TRUE
;
692 int _arg8
= (int ) 150;
693 int _arg9
= (int ) 200;
694 PyObject
* _obj0
= 0;
695 PyObject
* _obj1
= 0;
696 PyObject
* _obj3
= 0;
697 PyObject
* _argo4
= 0;
698 int tempbool7
= (int) TRUE
;
699 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
705 _arg0
= wxString_in_helper(_obj0
);
710 _arg1
= wxString_in_helper(_obj1
);
716 _arg3
= wxString_LIST_helper(_obj3
);
722 if (_argo4
== Py_None
) { _arg4
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
728 _arg7
= (bool ) tempbool7
;
731 _arg2
= PyList_Size(_obj3
);
738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
739 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
741 wxPyEndAllowThreads(__tstate
);
742 if (PyErr_Occurred()) return NULL
;
745 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
747 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
767 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
774 wxWindow
* _arg4
= (wxWindow
*) NULL
;
775 int _arg5
= (int ) -1;
776 int _arg6
= (int ) -1;
777 bool _arg7
= (bool ) TRUE
;
778 int _arg8
= (int ) 150;
779 int _arg9
= (int ) 200;
780 PyObject
* _obj0
= 0;
781 PyObject
* _obj1
= 0;
782 PyObject
* _obj3
= 0;
783 PyObject
* _argo4
= 0;
784 int tempbool7
= (int) TRUE
;
785 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
791 _arg0
= wxString_in_helper(_obj0
);
796 _arg1
= wxString_in_helper(_obj1
);
802 _arg3
= wxString_LIST_helper(_obj3
);
808 if (_argo4
== Py_None
) { _arg4
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
814 _arg7
= (bool ) tempbool7
;
817 _arg2
= PyList_Size(_obj3
);
824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
825 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) return NULL
;
829 } _resultobj
= Py_BuildValue("i",_result
);
844 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
848 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
849 int _arg2
= (int ) wxOK
|wxCENTRE
;
850 wxWindow
* _arg3
= (wxWindow
*) NULL
;
851 int _arg4
= (int ) -1;
852 int _arg5
= (int ) -1;
853 PyObject
* _obj0
= 0;
854 PyObject
* _obj1
= 0;
855 PyObject
* _argo3
= 0;
856 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
862 _arg0
= wxString_in_helper(_obj0
);
868 _arg1
= wxString_in_helper(_obj1
);
873 if (_argo3
== Py_None
) { _arg3
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) return NULL
;
885 } _resultobj
= Py_BuildValue("i",_result
);
897 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
904 long _arg4
= (long ) 0;
905 long _arg5
= (long ) 100;
906 wxWindow
* _arg6
= (wxWindow
*) NULL
;
907 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
908 PyObject
* _obj0
= 0;
909 PyObject
* _obj1
= 0;
910 PyObject
* _obj2
= 0;
911 PyObject
* _argo6
= 0;
913 PyObject
* _obj7
= 0;
914 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
920 _arg0
= wxString_in_helper(_obj0
);
925 _arg1
= wxString_in_helper(_obj1
);
930 _arg2
= wxString_in_helper(_obj2
);
935 if (_argo6
== Py_None
) { _arg6
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
944 if (! wxPoint_helper(_obj7
, &_arg7
))
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } _resultobj
= Py_BuildValue("l",_result
);
969 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
972 char *_kwnames
[] = { NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 _result
= (bool )wxColourDisplay();
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) return NULL
;
983 } _resultobj
= Py_BuildValue("i",_result
);
987 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
990 char *_kwnames
[] = { NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 _result
= (int )wxDisplayDepth();
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) return NULL
;
1001 } _resultobj
= Py_BuildValue("i",_result
);
1005 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1008 char *_kwnames
[] = { NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1015 _result
= (int )wxGetDisplayDepth();
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) return NULL
;
1019 } _resultobj
= Py_BuildValue("i",_result
);
1023 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1029 char *_kwnames
[] = { NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1042 wxDisplaySize(_arg0
,_arg1
);
1044 wxPyEndAllowThreads(__tstate
);
1045 if (PyErr_Occurred()) return NULL
;
1046 } Py_INCREF(Py_None
);
1047 _resultobj
= Py_None
;
1050 o
= PyInt_FromLong((long) (*_arg0
));
1051 _resultobj
= t_output_helper(_resultobj
, o
);
1055 o
= PyInt_FromLong((long) (*_arg1
));
1056 _resultobj
= t_output_helper(_resultobj
, o
);
1061 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1064 char *_kwnames
[] = { NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 _result
= new wxSize (wxGetDisplaySize());
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) return NULL
;
1076 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1077 _resultobj
= Py_BuildValue("s",_ptemp
);
1081 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1087 char *_kwnames
[] = { NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1100 wxDisplaySizeMM(_arg0
,_arg1
);
1102 wxPyEndAllowThreads(__tstate
);
1103 if (PyErr_Occurred()) return NULL
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1108 o
= PyInt_FromLong((long) (*_arg0
));
1109 _resultobj
= t_output_helper(_resultobj
, o
);
1113 o
= PyInt_FromLong((long) (*_arg1
));
1114 _resultobj
= t_output_helper(_resultobj
, o
);
1119 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1122 char *_kwnames
[] = { NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 _result
= new wxSize (wxGetDisplaySizeMM());
1132 wxPyEndAllowThreads(__tstate
);
1133 if (PyErr_Occurred()) return NULL
;
1134 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1135 _resultobj
= Py_BuildValue("s",_ptemp
);
1139 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1149 char *_kwnames
[] = { NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) return NULL
;
1172 } Py_INCREF(Py_None
);
1173 _resultobj
= Py_None
;
1176 o
= PyInt_FromLong((long) (*_arg0
));
1177 _resultobj
= t_output_helper(_resultobj
, o
);
1181 o
= PyInt_FromLong((long) (*_arg1
));
1182 _resultobj
= t_output_helper(_resultobj
, o
);
1186 o
= PyInt_FromLong((long) (*_arg2
));
1187 _resultobj
= t_output_helper(_resultobj
, o
);
1191 o
= PyInt_FromLong((long) (*_arg3
));
1192 _resultobj
= t_output_helper(_resultobj
, o
);
1197 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1200 char *_kwnames
[] = { NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 _result
= new wxRect (wxGetClientDisplayRect());
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1213 _resultobj
= Py_BuildValue("s",_ptemp
);
1217 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1220 PyObject
* _argo0
= 0;
1221 char *_kwnames
[] = { "cursor", NULL
};
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1235 wxSetCursor(*_arg0
);
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) return NULL
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1244 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
* _resultobj
;
1248 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1249 PyObject
* _obj0
= 0;
1250 PyObject
* _argo1
= 0;
1251 char *_kwnames
[] = { "label","parent", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1257 _arg0
= wxString_in_helper(_obj0
);
1262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) return NULL
;
1274 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1282 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1286 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1287 PyObject
* _obj0
= 0;
1288 PyObject
* _argo1
= 0;
1289 char *_kwnames
[] = { "name","parent", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1295 _arg0
= wxString_in_helper(_obj0
);
1300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1308 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1310 wxPyEndAllowThreads(__tstate
);
1311 if (PyErr_Occurred()) return NULL
;
1312 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1320 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1322 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "cursor", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 wxBeginBusyCursor(_arg0
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) return NULL
;
1342 } Py_INCREF(Py_None
);
1343 _resultobj
= Py_None
;
1347 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1350 char *_kwnames
[] = { NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 _result
= (wxWindow
*)wxGetActiveWindow();
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1365 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1370 PyObject
* _obj0
= 0;
1371 char *_kwnames
[] = { "pt", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1378 if (! wxPoint_helper(_obj0
, &_arg0
))
1382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1383 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1385 wxPyEndAllowThreads(__tstate
);
1386 if (PyErr_Occurred()) return NULL
;
1387 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1391 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1396 PyObject
* _obj0
= 0;
1397 char *_kwnames
[] = { "pt", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1404 if (! wxPoint_helper(_obj0
, &_arg0
))
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1417 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1421 PyObject
* _argo0
= 0;
1422 char *_kwnames
[] = { "wnd", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 _result
= (bool )wxCheckForInterrupt(_arg0
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1440 } _resultobj
= Py_BuildValue("i",_result
);
1444 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1446 char *_kwnames
[] = { NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1467 char *_kwnames
[] = { "name","value", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) return NULL
;
1478 } _resultobj
= Py_BuildValue("i",_result
);
1482 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1484 char *_kwnames
[] = { NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) return NULL
;
1495 } Py_INCREF(Py_None
);
1496 _resultobj
= Py_None
;
1500 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 char *_kwnames
[] = { "resource", NULL
};
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) return NULL
;
1516 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1517 _resultobj
= Py_BuildValue("s",_ptemp
);
1521 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1525 char *_kwnames
[] = { "resource", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1538 _resultobj
= Py_BuildValue("s",_ptemp
);
1542 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1544 wxMenuBar
* _result
;
1546 char *_kwnames
[] = { "resource", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) return NULL
;
1557 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1561 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1565 char *_kwnames
[] = { "name", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 _result
= (int )wxResourceGetIdentifier(_arg0
);
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) return NULL
;
1576 } _resultobj
= Py_BuildValue("i",_result
);
1580 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1584 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1585 PyObject
* _argo1
= 0;
1586 char *_kwnames
[] = { "resource","table", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) return NULL
;
1604 } _resultobj
= Py_BuildValue("i",_result
);
1608 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1612 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1613 PyObject
* _argo1
= 0;
1614 char *_kwnames
[] = { "filename","table", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) return NULL
;
1632 } _resultobj
= Py_BuildValue("i",_result
);
1636 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1641 PyObject
* _argo1
= 0;
1642 char *_kwnames
[] = { "resource","table", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) return NULL
;
1660 } _resultobj
= Py_BuildValue("i",_result
);
1664 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1667 char *_kwnames
[] = { NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 _result
= (int )wxCaret_GetBlinkTime();
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } _resultobj
= Py_BuildValue("i",_result
);
1682 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1685 char *_kwnames
[] = { "milliseconds", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 wxCaret_SetBlinkTime(_arg0
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) return NULL
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1701 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1704 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "win", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 _result
= (bool )wxSafeYield(_arg0
);
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) return NULL
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1730 wxEvtHandler
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 PyObject
* _argo1
= 0;
1734 char *_kwnames
[] = { "dest","event", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 wxPostEvent(_arg0
,*_arg1
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1764 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1766 char *_kwnames
[] = { NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1784 char *_kwnames
[] = { NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 wxWakeUpMainThread();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) return NULL
;
1795 } Py_INCREF(Py_None
);
1796 _resultobj
= Py_None
;
1800 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 char *_kwnames
[] = { NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) return NULL
;
1813 } Py_INCREF(Py_None
);
1814 _resultobj
= Py_None
;
1818 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 char *_kwnames
[] = { NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) return NULL
;
1831 } Py_INCREF(Py_None
);
1832 _resultobj
= Py_None
;
1836 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1839 char *_kwnames
[] = { NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 _result
= (bool )wxThread_IsMain();
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) return NULL
;
1850 } _resultobj
= Py_BuildValue("i",_result
);
1854 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1858 wxTipProvider
* _arg1
;
1859 bool _arg2
= (bool ) TRUE
;
1860 PyObject
* _argo0
= 0;
1861 PyObject
* _argo1
= 0;
1862 int tempbool2
= (int) TRUE
;
1863 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1882 _arg2
= (bool ) tempbool2
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 } _resultobj
= Py_BuildValue("i",_result
);
1893 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1895 wxTipProvider
* _result
;
1898 PyObject
* _obj0
= 0;
1899 char *_kwnames
[] = { "filename","currentTip", NULL
};
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1906 _arg0
= wxString_in_helper(_obj0
);
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) return NULL
;
1917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1918 _resultobj
= Py_BuildValue("s",_ptemp
);
1921 _resultobj
= Py_None
;
1930 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1932 unsigned long _result
;
1933 char *_kwnames
[] = { NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 _result
= (unsigned long )wxSysErrorCode();
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) return NULL
;
1944 } _resultobj
= Py_BuildValue("l",_result
);
1948 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1951 unsigned long _arg0
= (unsigned long ) 0;
1952 char *_kwnames
[] = { "nErrCode", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 _result
= new wxString (wxSysErrorMsg(_arg0
));
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) return NULL
;
1965 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1967 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1976 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1979 PyObject
* _obj0
= 0;
1980 char *_kwnames
[] = { "szFormat", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1986 _arg0
= wxString_in_helper(_obj0
);
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxLogFatalError(*_arg0
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2005 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2008 PyObject
* _obj0
= 0;
2009 char *_kwnames
[] = { "szFormat", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
2015 _arg0
= wxString_in_helper(_obj0
);
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } Py_INCREF(Py_None
);
2026 _resultobj
= Py_None
;
2034 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2037 PyObject
* _obj0
= 0;
2038 char *_kwnames
[] = { "szFormat", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2044 _arg0
= wxString_in_helper(_obj0
);
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 wxLogWarning(*_arg0
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) return NULL
;
2054 } Py_INCREF(Py_None
);
2055 _resultobj
= Py_None
;
2063 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 PyObject
* _obj0
= 0;
2067 char *_kwnames
[] = { "szFormat", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2073 _arg0
= wxString_in_helper(_obj0
);
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 wxLogMessage(*_arg0
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) return NULL
;
2083 } Py_INCREF(Py_None
);
2084 _resultobj
= Py_None
;
2092 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2095 PyObject
* _obj0
= 0;
2096 char *_kwnames
[] = { "szFormat", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2102 _arg0
= wxString_in_helper(_obj0
);
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) return NULL
;
2112 } Py_INCREF(Py_None
);
2113 _resultobj
= Py_None
;
2121 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2124 PyObject
* _obj0
= 0;
2125 char *_kwnames
[] = { "szFormat", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2131 _arg0
= wxString_in_helper(_obj0
);
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 wxLogVerbose(*_arg0
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) return NULL
;
2141 } Py_INCREF(Py_None
);
2142 _resultobj
= Py_None
;
2150 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2153 PyObject
* _obj0
= 0;
2154 char *_kwnames
[] = { "szFormat", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2160 _arg0
= wxString_in_helper(_obj0
);
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 wxLogStatus(*_arg0
);
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) return NULL
;
2170 } Py_INCREF(Py_None
);
2171 _resultobj
= Py_None
;
2179 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2183 PyObject
* _argo0
= 0;
2184 PyObject
* _obj1
= 0;
2185 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2198 _arg1
= wxString_in_helper(_obj1
);
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 wxLogStatus(_arg0
,*_arg1
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) return NULL
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2217 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2220 PyObject
* _obj0
= 0;
2221 char *_kwnames
[] = { "szFormat", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2227 _arg0
= wxString_in_helper(_obj0
);
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 wxLogSysError(*_arg0
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) return NULL
;
2237 } Py_INCREF(Py_None
);
2238 _resultobj
= Py_None
;
2246 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
* _resultobj
;
2250 int _arg1
= (int ) (wxEXEC_ASYNC
);
2251 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2252 PyObject
* _obj0
= 0;
2253 PyObject
* _argo2
= 0;
2254 char *_kwnames
[] = { "command","flags","process", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2260 _arg0
= wxString_in_helper(_obj0
);
2265 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) return NULL
;
2277 } _resultobj
= Py_BuildValue("l",_result
);
2285 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2289 PyObject
* _obj0
= 0;
2290 char *_kwnames
[] = { "data", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2297 _arg0
= wxString_in_helper(_obj0
);
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 _result
= (wxWave
*)wxWaveData(*_arg0
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2309 _resultobj
= Py_BuildValue("s",_ptemp
);
2312 _resultobj
= Py_None
;
2321 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2323 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2327 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2331 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2332 pyobj
= PyString_FromString(ptemp
);
2336 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2339 wxSystemColour _arg0
;
2340 char *_kwnames
[] = { "index", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2352 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2353 _resultobj
= Py_BuildValue("s",_ptemp
);
2357 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2361 char *_kwnames
[] = { "index", NULL
};
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) return NULL
;
2373 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2374 _resultobj
= Py_BuildValue("s",_ptemp
);
2378 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2381 wxSystemMetric _arg0
;
2382 char *_kwnames
[] = { "index", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2393 } _resultobj
= Py_BuildValue("i",_result
);
2397 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2400 wxSystemFeature _arg0
;
2401 char *_kwnames
[] = { "index", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2412 } _resultobj
= Py_BuildValue("i",_result
);
2416 static void *SwigwxToolTipTowxObject(void *ptr
) {
2419 src
= (wxToolTip
*) ptr
;
2420 dest
= (wxObject
*) src
;
2421 return (void *) dest
;
2424 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2425 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2427 wxToolTip
* _result
;
2429 PyObject
* _obj0
= 0;
2430 char *_kwnames
[] = { "tip", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2437 _arg0
= wxString_in_helper(_obj0
);
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2449 _resultobj
= Py_BuildValue("s",_ptemp
);
2452 _resultobj
= Py_None
;
2461 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2462 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2466 PyObject
* _argo0
= 0;
2467 PyObject
* _obj1
= 0;
2468 char *_kwnames
[] = { "self","tip", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2481 _arg1
= wxString_in_helper(_obj1
);
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 wxToolTip_SetTip(_arg0
,*_arg1
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) return NULL
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2500 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2501 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2505 PyObject
* _argo0
= 0;
2506 char *_kwnames
[] = { "self", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2526 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2528 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2537 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2538 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) return NULL
;
2561 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2565 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2569 char *_kwnames
[] = { "flag", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2574 _arg0
= (bool ) tempbool0
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 wxToolTip::Enable(_arg0
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) return NULL
;
2581 } Py_INCREF(Py_None
);
2582 _resultobj
= Py_None
;
2586 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2589 char *_kwnames
[] = { "milliseconds", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 wxToolTip::SetDelay(_arg0
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) return NULL
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2606 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2611 PyObject
* _argo0
= 0;
2613 PyObject
* _obj1
= 0;
2614 char *_kwnames
[] = { "window","size", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2629 if (! wxSize_helper(_obj1
, &_arg1
))
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) return NULL
;
2639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2640 _resultobj
= Py_BuildValue("s",_ptemp
);
2643 _resultobj
= Py_None
;
2648 #define delete_wxCaret(_swigobj) (delete _swigobj)
2649 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2652 PyObject
* _argo0
= 0;
2653 char *_kwnames
[] = { "self", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 delete_wxCaret(_arg0
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) return NULL
;
2671 } Py_INCREF(Py_None
);
2672 _resultobj
= Py_None
;
2676 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2677 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2681 PyObject
* _argo0
= 0;
2682 char *_kwnames
[] = { "self", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 _result
= (bool )wxCaret_IsOk(_arg0
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) return NULL
;
2700 } _resultobj
= Py_BuildValue("i",_result
);
2704 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2705 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (bool )wxCaret_IsVisible(_arg0
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2733 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2740 PyObject
* _argo0
= 0;
2741 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) return NULL
;
2765 } Py_INCREF(Py_None
);
2766 _resultobj
= Py_None
;
2769 o
= PyInt_FromLong((long) (*_arg1
));
2770 _resultobj
= t_output_helper(_resultobj
, o
);
2774 o
= PyInt_FromLong((long) (*_arg2
));
2775 _resultobj
= t_output_helper(_resultobj
, o
);
2780 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2781 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2785 PyObject
* _argo0
= 0;
2786 char *_kwnames
[] = { "self", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) return NULL
;
2805 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2806 _resultobj
= Py_BuildValue("s",_ptemp
);
2810 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2811 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2818 PyObject
* _argo0
= 0;
2819 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
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_GetSizeTuple. Expected _wxCaret_p.");
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) return NULL
;
2843 } Py_INCREF(Py_None
);
2844 _resultobj
= Py_None
;
2847 o
= PyInt_FromLong((long) (*_arg1
));
2848 _resultobj
= t_output_helper(_resultobj
, o
);
2852 o
= PyInt_FromLong((long) (*_arg2
));
2853 _resultobj
= t_output_helper(_resultobj
, o
);
2858 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2859 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) return NULL
;
2883 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2884 _resultobj
= Py_BuildValue("s",_ptemp
);
2888 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2889 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2893 PyObject
* _argo0
= 0;
2894 char *_kwnames
[] = { "self", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) return NULL
;
2912 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2916 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2917 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self","x","y", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) return NULL
;
2941 } Py_INCREF(Py_None
);
2942 _resultobj
= Py_None
;
2946 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2947 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2951 PyObject
* _argo0
= 0;
2953 PyObject
* _obj1
= 0;
2954 char *_kwnames
[] = { "self","pt", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2968 if (! wxPoint_helper(_obj1
, &_arg1
))
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 wxCaret_Move(_arg0
,*_arg1
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) return NULL
;
2977 } Py_INCREF(Py_None
);
2978 _resultobj
= Py_None
;
2982 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2983 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2988 PyObject
* _argo0
= 0;
2989 char *_kwnames
[] = { "self","width","height", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) return NULL
;
3007 } Py_INCREF(Py_None
);
3008 _resultobj
= Py_None
;
3012 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3013 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3017 PyObject
* _argo0
= 0;
3019 PyObject
* _obj1
= 0;
3020 char *_kwnames
[] = { "self","size", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3034 if (! wxSize_helper(_obj1
, &_arg1
))
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 wxCaret_SetSize(_arg0
,*_arg1
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } Py_INCREF(Py_None
);
3044 _resultobj
= Py_None
;
3048 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3049 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3052 int _arg1
= (int ) TRUE
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self","show", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 wxCaret_Show(_arg0
,_arg1
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) return NULL
;
3072 } Py_INCREF(Py_None
);
3073 _resultobj
= Py_None
;
3077 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3078 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 wxCaret_Hide(_arg0
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3106 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3108 wxPyFontEnumerator
* _result
;
3109 char *_kwnames
[] = { NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) return NULL
;
3122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3123 _resultobj
= Py_BuildValue("s",_ptemp
);
3126 _resultobj
= Py_None
;
3131 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3132 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3134 wxPyFontEnumerator
* _arg0
;
3135 PyObject
* _argo0
= 0;
3136 char *_kwnames
[] = { "self", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 delete_wxPyFontEnumerator(_arg0
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } Py_INCREF(Py_None
);
3155 _resultobj
= Py_None
;
3159 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3160 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3162 wxPyFontEnumerator
* _arg0
;
3166 PyObject
* _argo0
= 0;
3167 PyObject
* _obj1
= 0;
3168 PyObject
* _obj2
= 0;
3170 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3188 _arg3
= (bool ) tempbool3
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) return NULL
;
3195 } Py_INCREF(Py_None
);
3196 _resultobj
= Py_None
;
3200 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3201 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3204 wxPyFontEnumerator
* _arg0
;
3205 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3206 bool _arg2
= (bool ) FALSE
;
3207 PyObject
* _argo0
= 0;
3208 int tempbool2
= (int) FALSE
;
3209 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3221 _arg2
= (bool ) tempbool2
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3228 } _resultobj
= Py_BuildValue("i",_result
);
3232 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3233 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3236 wxPyFontEnumerator
* _arg0
;
3237 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
3238 PyObject
* _argo0
= 0;
3239 PyObject
* _obj1
= 0;
3240 char *_kwnames
[] = { "self","facename", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3254 _arg1
= wxString_in_helper(_obj1
);
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) return NULL
;
3264 } _resultobj
= Py_BuildValue("i",_result
);
3272 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3273 wxArrayString
* arr
= self
->GetEncodings();
3274 return wxArrayString2PyList_helper(*arr
);
3276 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3279 wxPyFontEnumerator
* _arg0
;
3280 PyObject
* _argo0
= 0;
3281 char *_kwnames
[] = { "self", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3300 _resultobj
= _result
;
3305 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3306 wxArrayString
* arr
= self
->GetFacenames();
3307 return wxArrayString2PyList_helper(*arr
);
3309 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3312 wxPyFontEnumerator
* _arg0
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3333 _resultobj
= _result
;
3338 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3339 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3341 wxBusyCursor
* _result
;
3342 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "cursor", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3365 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 _resultobj
= Py_None
;
3373 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3374 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxBusyCursor
* _arg0
;
3377 PyObject
* _argo0
= 0;
3378 char *_kwnames
[] = { "self", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 delete_wxBusyCursor(_arg0
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3402 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxWindowDisabler
* _result
;
3405 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "winToSkip", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3428 _resultobj
= Py_BuildValue("s",_ptemp
);
3431 _resultobj
= Py_None
;
3436 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3437 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3439 wxWindowDisabler
* _arg0
;
3440 PyObject
* _argo0
= 0;
3441 char *_kwnames
[] = { "self", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 delete_wxWindowDisabler(_arg0
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) return NULL
;
3459 } Py_INCREF(Py_None
);
3460 _resultobj
= Py_None
;
3464 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3465 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3467 wxMutexGuiLocker
* _result
;
3468 char *_kwnames
[] = { NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 _resultobj
= Py_None
;
3490 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3491 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3493 wxMutexGuiLocker
* _arg0
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 delete_wxMutexGuiLocker(_arg0
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) return NULL
;
3513 } Py_INCREF(Py_None
);
3514 _resultobj
= Py_None
;
3518 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3519 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
* _resultobj
;
3521 wxTipProvider
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 delete_wxTipProvider(_arg0
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) return NULL
;
3541 } Py_INCREF(Py_None
);
3542 _resultobj
= Py_None
;
3546 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3547 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3550 wxTipProvider
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3572 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3574 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3583 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3584 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3587 wxTipProvider
* _arg0
;
3588 PyObject
* _argo0
= 0;
3589 char *_kwnames
[] = { "self", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) return NULL
;
3607 } _resultobj
= Py_BuildValue("i",_result
);
3611 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3612 wxPyTipProvider
*src
;
3613 wxTipProvider
*dest
;
3614 src
= (wxPyTipProvider
*) ptr
;
3615 dest
= (wxTipProvider
*) src
;
3616 return (void *) dest
;
3619 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3620 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3622 wxPyTipProvider
* _result
;
3624 char *_kwnames
[] = { "currentTip", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) return NULL
;
3637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3638 _resultobj
= Py_BuildValue("s",_ptemp
);
3641 _resultobj
= Py_None
;
3646 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3647 wxGenericDragImage
*src
;
3649 src
= (wxGenericDragImage
*) ptr
;
3650 dest
= (wxObject
*) src
;
3651 return (void *) dest
;
3654 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3655 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3657 wxGenericDragImage
* _result
;
3659 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3660 PyObject
* _argo0
= 0;
3661 PyObject
* _argo1
= 0;
3662 char *_kwnames
[] = { "image","cursor", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3689 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3690 _resultobj
= Py_BuildValue("s",_ptemp
);
3693 _resultobj
= Py_None
;
3698 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3699 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
* _resultobj
;
3701 wxGenericDragImage
* _result
;
3703 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3704 PyObject
* _argo0
= 0;
3705 PyObject
* _argo1
= 0;
3706 char *_kwnames
[] = { "image","cursor", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) return NULL
;
3733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3734 _resultobj
= Py_BuildValue("s",_ptemp
);
3737 _resultobj
= Py_None
;
3742 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3743 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3745 wxGenericDragImage
* _result
;
3747 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3748 PyObject
* _obj0
= 0;
3749 PyObject
* _argo1
= 0;
3750 char *_kwnames
[] = { "str","cursor", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3757 _arg0
= wxString_in_helper(_obj0
);
3762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) return NULL
;
3775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3776 _resultobj
= Py_BuildValue("s",_ptemp
);
3779 _resultobj
= Py_None
;
3788 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3789 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxGenericDragImage
* _result
;
3793 wxTreeItemId
* _arg1
;
3794 PyObject
* _argo0
= 0;
3795 PyObject
* _argo1
= 0;
3796 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) return NULL
;
3823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3824 _resultobj
= Py_BuildValue("s",_ptemp
);
3827 _resultobj
= Py_None
;
3832 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3833 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3835 wxGenericDragImage
* _result
;
3838 PyObject
* _argo0
= 0;
3839 char *_kwnames
[] = { "listCtrl","id", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3860 _resultobj
= Py_BuildValue("s",_ptemp
);
3863 _resultobj
= Py_None
;
3868 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3869 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3871 wxGenericDragImage
* _arg0
;
3872 PyObject
* _argo0
= 0;
3873 char *_kwnames
[] = { "self", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 delete_wxGenericDragImage(_arg0
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) return NULL
;
3891 } Py_INCREF(Py_None
);
3892 _resultobj
= Py_None
;
3896 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3897 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3899 wxGenericDragImage
* _arg0
;
3901 PyObject
* _argo0
= 0;
3902 PyObject
* _argo1
= 0;
3903 char *_kwnames
[] = { "self","bitmap", NULL
};
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
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_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) return NULL
;
3928 } Py_INCREF(Py_None
);
3929 _resultobj
= Py_None
;
3933 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3934 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3937 wxGenericDragImage
* _arg0
;
3940 bool _arg3
= (bool ) FALSE
;
3941 wxRect
* _arg4
= (wxRect
*) NULL
;
3942 PyObject
* _argo0
= 0;
3944 PyObject
* _obj1
= 0;
3945 PyObject
* _argo2
= 0;
3946 int tempbool3
= (int) FALSE
;
3948 PyObject
* _obj4
= 0;
3949 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3963 if (! wxPoint_helper(_obj1
, &_arg1
))
3967 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3973 _arg3
= (bool ) tempbool3
;
3977 if (! wxRect_helper(_obj4
, &_arg4
))
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) return NULL
;
3986 } _resultobj
= Py_BuildValue("i",_result
);
3990 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3991 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3994 wxGenericDragImage
* _arg0
;
3998 PyObject
* _argo0
= 0;
4000 PyObject
* _obj1
= 0;
4001 PyObject
* _argo2
= 0;
4002 PyObject
* _argo3
= 0;
4003 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
4017 if (! wxPoint_helper(_obj1
, &_arg1
))
4021 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4028 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4029 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) return NULL
;
4040 } _resultobj
= Py_BuildValue("i",_result
);
4044 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4045 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
* _resultobj
;
4048 wxGenericDragImage
* _arg0
;
4049 PyObject
* _argo0
= 0;
4050 char *_kwnames
[] = { "self", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) return NULL
;
4068 } _resultobj
= Py_BuildValue("i",_result
);
4072 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4073 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4076 wxGenericDragImage
* _arg0
;
4078 PyObject
* _argo0
= 0;
4080 PyObject
* _obj1
= 0;
4081 char *_kwnames
[] = { "self","pt", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4095 if (! wxPoint_helper(_obj1
, &_arg1
))
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) return NULL
;
4104 } _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4109 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4112 wxGenericDragImage
* _arg0
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 _result
= (bool )wxDragImage_Show(_arg0
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) return NULL
;
4132 } _resultobj
= Py_BuildValue("i",_result
);
4136 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4137 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4140 wxGenericDragImage
* _arg0
;
4141 PyObject
* _argo0
= 0;
4142 char *_kwnames
[] = { "self", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 _result
= (bool )wxDragImage_Hide(_arg0
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) return NULL
;
4160 } _resultobj
= Py_BuildValue("i",_result
);
4164 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4165 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4168 wxGenericDragImage
* _arg0
;
4170 PyObject
* _argo0
= 0;
4172 PyObject
* _obj1
= 0;
4173 char *_kwnames
[] = { "self","pos", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4188 if (! wxPoint_helper(_obj1
, &_arg1
))
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4197 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4198 _resultobj
= Py_BuildValue("s",_ptemp
);
4202 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4203 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4206 wxGenericDragImage
* _arg0
;
4211 PyObject
* _argo0
= 0;
4213 PyObject
* _obj1
= 0;
4215 PyObject
* _obj2
= 0;
4218 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4232 if (! wxPoint_helper(_obj1
, &_arg1
))
4237 if (! wxPoint_helper(_obj2
, &_arg2
))
4240 _arg3
= (bool ) tempbool3
;
4241 _arg4
= (bool ) tempbool4
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4248 } _resultobj
= Py_BuildValue("i",_result
);
4252 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4255 src
= (wxPyTimer
*) ptr
;
4256 dest
= (wxObject
*) src
;
4257 return (void *) dest
;
4260 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4261 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4263 wxPyTimer
* _result
;
4265 PyObject
* _obj0
= 0;
4266 char *_kwnames
[] = { "notify", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4283 _resultobj
= Py_BuildValue("s",_ptemp
);
4286 _resultobj
= Py_None
;
4291 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4292 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4295 PyObject
* _argo0
= 0;
4296 char *_kwnames
[] = { "self", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 delete_wxPyTimer(_arg0
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) return NULL
;
4314 } Py_INCREF(Py_None
);
4315 _resultobj
= Py_None
;
4319 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4320 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
* _resultobj
;
4324 PyObject
* _argo0
= 0;
4325 char *_kwnames
[] = { "self", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) return NULL
;
4343 } _resultobj
= Py_BuildValue("i",_result
);
4347 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4348 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
* _resultobj
;
4352 PyObject
* _argo0
= 0;
4353 char *_kwnames
[] = { "self", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) return NULL
;
4371 } _resultobj
= Py_BuildValue("i",_result
);
4375 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4376 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) return NULL
;
4399 } _resultobj
= Py_BuildValue("i",_result
);
4403 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4404 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4407 wxEvtHandler
* _arg1
;
4408 int _arg2
= (int ) -1;
4409 PyObject
* _argo0
= 0;
4410 PyObject
* _argo1
= 0;
4411 char *_kwnames
[] = { "self","owner","id", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4436 } Py_INCREF(Py_None
);
4437 _resultobj
= Py_None
;
4441 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4442 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
* _resultobj
;
4445 int _arg1
= (int ) -1;
4446 int _arg2
= (int ) FALSE
;
4447 PyObject
* _argo0
= 0;
4448 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) return NULL
;
4466 } Py_INCREF(Py_None
);
4467 _resultobj
= Py_None
;
4471 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4472 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4475 PyObject
* _argo0
= 0;
4476 char *_kwnames
[] = { "self", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 wxPyTimer_Stop(_arg0
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) return NULL
;
4494 } Py_INCREF(Py_None
);
4495 _resultobj
= Py_None
;
4499 #define new_wxStopWatch() (new wxStopWatch())
4500 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
* _resultobj
;
4502 wxStopWatch
* _result
;
4503 char *_kwnames
[] = { NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 _result
= (wxStopWatch
*)new_wxStopWatch();
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) return NULL
;
4516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4517 _resultobj
= Py_BuildValue("s",_ptemp
);
4520 _resultobj
= Py_None
;
4525 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4526 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxStopWatch
* _arg0
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 delete_wxStopWatch(_arg0
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) return NULL
;
4548 } Py_INCREF(Py_None
);
4549 _resultobj
= Py_None
;
4553 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4554 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4556 wxStopWatch
* _arg0
;
4557 long _arg1
= (long ) 0;
4558 PyObject
* _argo0
= 0;
4559 char *_kwnames
[] = { "self","t", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 wxStopWatch_Start(_arg0
,_arg1
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4577 } Py_INCREF(Py_None
);
4578 _resultobj
= Py_None
;
4582 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4583 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4585 wxStopWatch
* _arg0
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 wxStopWatch_Pause(_arg0
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) return NULL
;
4605 } Py_INCREF(Py_None
);
4606 _resultobj
= Py_None
;
4610 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4611 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4613 wxStopWatch
* _arg0
;
4614 PyObject
* _argo0
= 0;
4615 char *_kwnames
[] = { "self", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 wxStopWatch_Resume(_arg0
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) return NULL
;
4633 } Py_INCREF(Py_None
);
4634 _resultobj
= Py_None
;
4638 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4639 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4642 wxStopWatch
* _arg0
;
4643 PyObject
* _argo0
= 0;
4644 char *_kwnames
[] = { "self", NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 _result
= (long )wxStopWatch_Time(_arg0
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) return NULL
;
4662 } _resultobj
= Py_BuildValue("l",_result
);
4666 #define new_wxLog() (new wxLog())
4667 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
* _resultobj
;
4670 char *_kwnames
[] = { NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 _result
= (wxLog
*)new_wxLog();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) return NULL
;
4683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4684 _resultobj
= Py_BuildValue("s",_ptemp
);
4687 _resultobj
= Py_None
;
4692 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
* _resultobj
;
4695 char *_kwnames
[] = { NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 _result
= (bool )wxLog::IsEnabled();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) return NULL
;
4706 } _resultobj
= Py_BuildValue("i",_result
);
4710 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4713 bool _arg0
= (bool ) TRUE
;
4714 int tempbool0
= (int) TRUE
;
4715 char *_kwnames
[] = { "doIt", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4720 _arg0
= (bool ) tempbool0
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 _result
= (bool )wxLog::EnableLogging(_arg0
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) return NULL
;
4727 } _resultobj
= Py_BuildValue("i",_result
);
4731 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
* _resultobj
;
4735 int _arg2
= (int ) 0;
4736 PyObject
* _argo0
= 0;
4737 PyObject
* _obj1
= 0;
4738 char *_kwnames
[] = { "level","szString","t", NULL
};
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4751 _arg1
= wxString_in_helper(_obj1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } Py_INCREF(Py_None
);
4762 _resultobj
= Py_None
;
4770 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4771 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
* _resultobj
;
4774 PyObject
* _argo0
= 0;
4775 char *_kwnames
[] = { "self", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) return NULL
;
4793 } Py_INCREF(Py_None
);
4794 _resultobj
= Py_None
;
4798 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4799 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4803 PyObject
* _argo0
= 0;
4804 char *_kwnames
[] = { "self", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) return NULL
;
4822 } _resultobj
= Py_BuildValue("i",_result
);
4826 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4828 char *_kwnames
[] = { NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 wxLog::FlushActive();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4839 } Py_INCREF(Py_None
);
4840 _resultobj
= Py_None
;
4844 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4847 char *_kwnames
[] = { NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 _result
= (wxLog
*)wxLog::GetActiveTarget();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4861 _resultobj
= Py_BuildValue("s",_ptemp
);
4864 _resultobj
= Py_None
;
4869 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4873 PyObject
* _argo0
= 0;
4874 char *_kwnames
[] = { "pLogger", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) return NULL
;
4894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4895 _resultobj
= Py_BuildValue("s",_ptemp
);
4898 _resultobj
= Py_None
;
4903 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
* _resultobj
;
4905 char *_kwnames
[] = { NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) return NULL
;
4916 } Py_INCREF(Py_None
);
4917 _resultobj
= Py_None
;
4921 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
* _resultobj
;
4923 char *_kwnames
[] = { NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) return NULL
;
4934 } Py_INCREF(Py_None
);
4935 _resultobj
= Py_None
;
4939 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4940 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4943 bool _arg1
= (bool ) TRUE
;
4944 PyObject
* _argo0
= 0;
4945 int tempbool1
= (int) TRUE
;
4946 char *_kwnames
[] = { "self","bVerbose", NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4958 _arg1
= (bool ) tempbool1
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 wxLog_SetVerbose(_arg0
,_arg1
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) return NULL
;
4965 } Py_INCREF(Py_None
);
4966 _resultobj
= Py_None
;
4970 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4972 char *_kwnames
[] = { NULL
};
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 wxLog::DontCreateOnDemand();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) return NULL
;
4983 } Py_INCREF(Py_None
);
4984 _resultobj
= Py_None
;
4988 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4990 wxTraceMask
* _arg0
;
4991 PyObject
* _argo0
= 0;
4992 char *_kwnames
[] = { "ulMask", NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxLog::SetTraceMask(*_arg0
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) return NULL
;
5010 } Py_INCREF(Py_None
);
5011 _resultobj
= Py_None
;
5015 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5018 PyObject
* _obj0
= 0;
5019 char *_kwnames
[] = { "str", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5025 _arg0
= wxString_in_helper(_obj0
);
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 wxLog::AddTraceMask(*_arg0
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) return NULL
;
5035 } Py_INCREF(Py_None
);
5036 _resultobj
= Py_None
;
5044 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5047 PyObject
* _obj0
= 0;
5048 char *_kwnames
[] = { "str", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5054 _arg0
= wxString_in_helper(_obj0
);
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 wxLog::RemoveTraceMask(*_arg0
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) return NULL
;
5064 } Py_INCREF(Py_None
);
5065 _resultobj
= Py_None
;
5073 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5075 char *_kwnames
[] = { NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxLog::ClearTraceMasks();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) return NULL
;
5086 } Py_INCREF(Py_None
);
5087 _resultobj
= Py_None
;
5091 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5094 PyObject
* _obj0
= 0;
5095 char *_kwnames
[] = { "ts", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5101 _arg0
= wxString_in_helper(_obj0
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 wxLog::SetTimestamp(*_arg0
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) return NULL
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5120 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5123 char *_kwnames
[] = { NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 const wxString
& _result_ref
= wxLog::GetTimestamp();
5131 _result
= (wxString
*) &_result_ref
;
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) return NULL
;
5137 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5139 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5145 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5146 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5150 PyObject
* _argo0
= 0;
5151 char *_kwnames
[] = { "self", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 _result
= (bool )wxLog_GetVerbose(_arg0
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) return NULL
;
5169 } _resultobj
= Py_BuildValue("i",_result
);
5173 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
* _resultobj
;
5175 wxTraceMask
* _result
;
5176 char *_kwnames
[] = { NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 _result
= new wxTraceMask (wxLog::GetTraceMask());
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) return NULL
;
5188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5189 _resultobj
= Py_BuildValue("s",_ptemp
);
5193 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5197 PyObject
* _obj0
= 0;
5198 char *_kwnames
[] = { "mask", NULL
};
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5204 _arg0
= wxString_in_helper(_obj0
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) return NULL
;
5214 } _resultobj
= Py_BuildValue("i",_result
);
5222 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5224 wxLog::TimeStamp(&msg
);
5227 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
* _resultobj
;
5231 PyObject
* _argo0
= 0;
5232 char *_kwnames
[] = { "self", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) return NULL
;
5252 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5254 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5263 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5266 src
= (wxLogStderr
*) ptr
;
5267 dest
= (wxLog
*) src
;
5268 return (void *) dest
;
5271 #define new_wxLogStderr() (new wxLogStderr())
5272 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5274 wxLogStderr
* _result
;
5275 char *_kwnames
[] = { NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 _result
= (wxLogStderr
*)new_wxLogStderr();
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) return NULL
;
5288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5289 _resultobj
= Py_BuildValue("s",_ptemp
);
5292 _resultobj
= Py_None
;
5297 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5300 src
= (wxLogTextCtrl
*) ptr
;
5301 dest
= (wxLog
*) src
;
5302 return (void *) dest
;
5305 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5306 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
* _resultobj
;
5308 wxLogTextCtrl
* _result
;
5310 PyObject
* _argo0
= 0;
5311 char *_kwnames
[] = { "pTextCtrl", NULL
};
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) return NULL
;
5331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5332 _resultobj
= Py_BuildValue("s",_ptemp
);
5335 _resultobj
= Py_None
;
5340 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5343 src
= (wxLogGui
*) ptr
;
5344 dest
= (wxLog
*) src
;
5345 return (void *) dest
;
5348 #define new_wxLogGui() (new wxLogGui())
5349 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
* _resultobj
;
5352 char *_kwnames
[] = { NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 _result
= (wxLogGui
*)new_wxLogGui();
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5366 _resultobj
= Py_BuildValue("s",_ptemp
);
5369 _resultobj
= Py_None
;
5374 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5377 src
= (wxLogWindow
*) ptr
;
5378 dest
= (wxLog
*) src
;
5379 return (void *) dest
;
5382 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5383 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5385 wxLogWindow
* _result
;
5388 bool _arg2
= (bool ) TRUE
;
5389 bool _arg3
= (bool ) TRUE
;
5390 PyObject
* _argo0
= 0;
5391 PyObject
* _obj1
= 0;
5392 int tempbool2
= (int) TRUE
;
5393 int tempbool3
= (int) TRUE
;
5394 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5408 _arg1
= wxString_in_helper(_obj1
);
5412 _arg2
= (bool ) tempbool2
;
5413 _arg3
= (bool ) tempbool3
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5422 _resultobj
= Py_BuildValue("s",_ptemp
);
5425 _resultobj
= Py_None
;
5434 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5435 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5437 wxLogWindow
* _arg0
;
5438 bool _arg1
= (bool ) TRUE
;
5439 PyObject
* _argo0
= 0;
5440 int tempbool1
= (int) TRUE
;
5441 char *_kwnames
[] = { "self","bShow", NULL
};
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5453 _arg1
= (bool ) tempbool1
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 wxLogWindow_Show(_arg0
,_arg1
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) return NULL
;
5460 } Py_INCREF(Py_None
);
5461 _resultobj
= Py_None
;
5465 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5466 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5469 wxLogWindow
* _arg0
;
5470 PyObject
* _argo0
= 0;
5471 char *_kwnames
[] = { "self", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) return NULL
;
5489 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5493 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5494 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5497 wxLogWindow
* _arg0
;
5498 PyObject
* _argo0
= 0;
5499 char *_kwnames
[] = { "self", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) return NULL
;
5519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5520 _resultobj
= Py_BuildValue("s",_ptemp
);
5523 _resultobj
= Py_None
;
5528 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5529 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
* _resultobj
;
5532 wxLogWindow
* _arg0
;
5533 PyObject
* _argo0
= 0;
5534 char *_kwnames
[] = { "self", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) return NULL
;
5552 } _resultobj
= Py_BuildValue("i",_result
);
5556 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5557 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5559 wxLogWindow
* _arg0
;
5561 PyObject
* _argo0
= 0;
5563 char *_kwnames
[] = { "self","bDoPass", NULL
};
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5575 _arg1
= (bool ) tempbool1
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 wxLogWindow_PassMessages(_arg0
,_arg1
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) return NULL
;
5582 } Py_INCREF(Py_None
);
5583 _resultobj
= Py_None
;
5587 #define new_wxLogNull() (new wxLogNull())
5588 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
* _resultobj
;
5590 wxLogNull
* _result
;
5591 char *_kwnames
[] = { NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 _result
= (wxLogNull
*)new_wxLogNull();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5605 _resultobj
= Py_BuildValue("s",_ptemp
);
5608 _resultobj
= Py_None
;
5613 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5614 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5617 PyObject
* _argo0
= 0;
5618 char *_kwnames
[] = { "self", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 delete_wxLogNull(_arg0
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) return NULL
;
5636 } Py_INCREF(Py_None
);
5637 _resultobj
= Py_None
;
5641 static void *SwigwxLogChainTowxLog(void *ptr
) {
5644 src
= (wxLogChain
*) ptr
;
5645 dest
= (wxLog
*) src
;
5646 return (void *) dest
;
5649 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5650 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
* _resultobj
;
5652 wxLogChain
* _result
;
5654 PyObject
* _argo0
= 0;
5655 char *_kwnames
[] = { "logger", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5676 _resultobj
= Py_BuildValue("s",_ptemp
);
5679 _resultobj
= Py_None
;
5684 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5685 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5689 PyObject
* _argo0
= 0;
5690 PyObject
* _argo1
= 0;
5691 char *_kwnames
[] = { "self","logger", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 wxLogChain_SetLog(_arg0
,_arg1
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) return NULL
;
5716 } Py_INCREF(Py_None
);
5717 _resultobj
= Py_None
;
5721 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5722 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5726 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self","bDoPass", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5740 _arg1
= (bool ) tempbool1
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 wxLogChain_PassMessages(_arg0
,_arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) return NULL
;
5747 } Py_INCREF(Py_None
);
5748 _resultobj
= Py_None
;
5752 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5753 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5757 PyObject
* _argo0
= 0;
5758 char *_kwnames
[] = { "self", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) return NULL
;
5776 } _resultobj
= Py_BuildValue("i",_result
);
5780 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5781 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5785 PyObject
* _argo0
= 0;
5786 char *_kwnames
[] = { "self", NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) return NULL
;
5806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5807 _resultobj
= Py_BuildValue("s",_ptemp
);
5810 _resultobj
= Py_None
;
5815 static void *SwigwxPyLogTowxLog(void *ptr
) {
5818 src
= (wxPyLog
*) ptr
;
5819 dest
= (wxLog
*) src
;
5820 return (void *) dest
;
5823 #define new_wxPyLog() (new wxPyLog())
5824 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5827 char *_kwnames
[] = { NULL
};
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 _result
= (wxPyLog
*)new_wxPyLog();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) return NULL
;
5840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5841 _resultobj
= Py_BuildValue("s",_ptemp
);
5844 _resultobj
= Py_None
;
5849 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5850 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5855 PyObject
* _argo0
= 0;
5856 PyObject
* _obj1
= 0;
5857 PyObject
* _obj2
= 0;
5858 char *_kwnames
[] = { "self","self","_class", NULL
};
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) return NULL
;
5882 } Py_INCREF(Py_None
);
5883 _resultobj
= Py_None
;
5887 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5888 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 wxPyLog_Destroy(_arg0
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) return NULL
;
5910 } Py_INCREF(Py_None
);
5911 _resultobj
= Py_None
;
5915 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5916 wxProcessEvent
*src
;
5918 src
= (wxProcessEvent
*) ptr
;
5919 dest
= (wxEvent
*) src
;
5920 return (void *) dest
;
5923 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5924 wxProcessEvent
*src
;
5926 src
= (wxProcessEvent
*) ptr
;
5927 dest
= (wxObject
*) src
;
5928 return (void *) dest
;
5931 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5932 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5934 wxProcessEvent
* _result
;
5935 int _arg0
= (int ) 0;
5936 int _arg1
= (int ) 0;
5937 int _arg2
= (int ) 0;
5938 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) return NULL
;
5951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5952 _resultobj
= Py_BuildValue("s",_ptemp
);
5955 _resultobj
= Py_None
;
5960 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5961 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
* _resultobj
;
5964 wxProcessEvent
* _arg0
;
5965 PyObject
* _argo0
= 0;
5966 char *_kwnames
[] = { "self", NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) return NULL
;
5984 } _resultobj
= Py_BuildValue("i",_result
);
5988 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5989 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5992 wxProcessEvent
* _arg0
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) return NULL
;
6012 } _resultobj
= Py_BuildValue("i",_result
);
6016 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6017 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6020 wxProcessEvent
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self","m_pid", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) return NULL
;
6041 } _resultobj
= Py_BuildValue("i",_result
);
6045 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6046 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6049 wxProcessEvent
* _arg0
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) return NULL
;
6069 } _resultobj
= Py_BuildValue("i",_result
);
6073 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6074 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6077 wxProcessEvent
* _arg0
;
6079 PyObject
* _argo0
= 0;
6080 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) return NULL
;
6098 } _resultobj
= Py_BuildValue("i",_result
);
6102 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6103 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6106 wxProcessEvent
* _arg0
;
6107 PyObject
* _argo0
= 0;
6108 char *_kwnames
[] = { "self", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) return NULL
;
6126 } _resultobj
= Py_BuildValue("i",_result
);
6130 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6133 src
= (wxPyProcess
*) ptr
;
6134 dest
= (wxEvtHandler
*) src
;
6135 return (void *) dest
;
6138 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6141 src
= (wxPyProcess
*) ptr
;
6142 dest
= (wxObject
*) src
;
6143 return (void *) dest
;
6146 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6147 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
* _resultobj
;
6149 wxPyProcess
* _result
;
6150 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6151 int _arg1
= (int ) -1;
6152 PyObject
* _argo0
= 0;
6153 char *_kwnames
[] = { "parent","id", NULL
};
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) return NULL
;
6173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6174 _resultobj
= Py_BuildValue("s",_ptemp
);
6177 _resultobj
= Py_None
;
6182 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6183 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6185 wxPyProcess
* _arg0
;
6186 PyObject
* _argo0
= 0;
6187 char *_kwnames
[] = { "self", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 wxPyProcess_Destroy(_arg0
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) return NULL
;
6205 } Py_INCREF(Py_None
);
6206 _resultobj
= Py_None
;
6210 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6211 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6213 wxPyProcess
* _arg0
;
6216 PyObject
* _argo0
= 0;
6217 PyObject
* _obj1
= 0;
6218 PyObject
* _obj2
= 0;
6219 char *_kwnames
[] = { "self","self","_class", NULL
};
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6243 } Py_INCREF(Py_None
);
6244 _resultobj
= Py_None
;
6248 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6249 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6251 wxPyProcess
* _arg0
;
6254 PyObject
* _argo0
= 0;
6255 char *_kwnames
[] = { "self","pid","status", NULL
};
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) return NULL
;
6273 } Py_INCREF(Py_None
);
6274 _resultobj
= Py_None
;
6278 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6279 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6281 wxPyProcess
* _arg0
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 wxProcess_Redirect(_arg0
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6301 } Py_INCREF(Py_None
);
6302 _resultobj
= Py_None
;
6306 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6307 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6310 wxPyProcess
* _arg0
;
6311 PyObject
* _argo0
= 0;
6312 char *_kwnames
[] = { "self", NULL
};
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) return NULL
;
6330 } _resultobj
= Py_BuildValue("i",_result
);
6334 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6335 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6337 wxPyProcess
* _arg0
;
6338 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 wxProcess_Detach(_arg0
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) return NULL
;
6357 } Py_INCREF(Py_None
);
6358 _resultobj
= Py_None
;
6362 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6363 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6365 wxInputStream
* _result
;
6366 wxPyProcess
* _arg0
;
6367 PyObject
* _argo0
= 0;
6368 char *_kwnames
[] = { "self", NULL
};
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) return NULL
;
6387 wxPyInputStream
* _ptr
= NULL
;
6390 _ptr
= new wxPyInputStream(_result
);
6392 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6397 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6398 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6400 wxInputStream
* _result
;
6401 wxPyProcess
* _arg0
;
6402 PyObject
* _argo0
= 0;
6403 char *_kwnames
[] = { "self", NULL
};
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) return NULL
;
6422 wxPyInputStream
* _ptr
= NULL
;
6425 _ptr
= new wxPyInputStream(_result
);
6427 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6432 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6433 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
* _resultobj
;
6435 wxOutputStream
* _result
;
6436 wxPyProcess
* _arg0
;
6437 PyObject
* _argo0
= 0;
6438 char *_kwnames
[] = { "self", NULL
};
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) return NULL
;
6458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6459 _resultobj
= Py_BuildValue("s",_ptemp
);
6462 _resultobj
= Py_None
;
6467 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6468 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6470 wxPyProcess
* _arg0
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 wxProcess_CloseOutput(_arg0
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) return NULL
;
6490 } Py_INCREF(Py_None
);
6491 _resultobj
= Py_None
;
6495 static void *SwigwxJoystickTowxObject(void *ptr
) {
6498 src
= (wxJoystick
*) ptr
;
6499 dest
= (wxObject
*) src
;
6500 return (void *) dest
;
6503 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6504 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
* _resultobj
;
6506 wxJoystick
* _result
;
6507 int _arg0
= (int ) wxJOYSTICK1
;
6508 char *_kwnames
[] = { "joystick", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) return NULL
;
6521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6522 _resultobj
= Py_BuildValue("s",_ptemp
);
6525 _resultobj
= Py_None
;
6530 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6531 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 delete_wxJoystick(_arg0
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) return NULL
;
6553 } Py_INCREF(Py_None
);
6554 _resultobj
= Py_None
;
6558 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6559 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6584 _resultobj
= Py_BuildValue("s",_ptemp
);
6588 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6589 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) return NULL
;
6612 } _resultobj
= Py_BuildValue("i",_result
);
6616 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6617 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self", NULL
};
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) return NULL
;
6640 } _resultobj
= Py_BuildValue("i",_result
);
6644 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6645 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6649 PyObject
* _argo0
= 0;
6650 char *_kwnames
[] = { "self", NULL
};
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) return NULL
;
6668 } _resultobj
= Py_BuildValue("i",_result
);
6672 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6673 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
* _resultobj
;
6677 PyObject
* _argo0
= 0;
6678 char *_kwnames
[] = { "self", NULL
};
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) return NULL
;
6696 } _resultobj
= Py_BuildValue("i",_result
);
6700 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6701 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
* _resultobj
;
6705 PyObject
* _argo0
= 0;
6706 char *_kwnames
[] = { "self", NULL
};
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) return NULL
;
6724 } _resultobj
= Py_BuildValue("i",_result
);
6728 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6729 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
* _resultobj
;
6733 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) return NULL
;
6752 } _resultobj
= Py_BuildValue("i",_result
);
6756 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6757 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6761 PyObject
* _argo0
= 0;
6762 char *_kwnames
[] = { "self", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) return NULL
;
6780 } _resultobj
= Py_BuildValue("i",_result
);
6784 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6785 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6789 PyObject
* _argo0
= 0;
6790 char *_kwnames
[] = { "self", NULL
};
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) return NULL
;
6808 } _resultobj
= Py_BuildValue("i",_result
);
6812 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6813 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 char *_kwnames
[] = { "self","threshold", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6836 } Py_INCREF(Py_None
);
6837 _resultobj
= Py_None
;
6841 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6842 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 _result
= (bool )wxJoystick_IsOk(_arg0
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) return NULL
;
6865 } _resultobj
= Py_BuildValue("i",_result
);
6869 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6870 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
* _resultobj
;
6874 PyObject
* _argo0
= 0;
6875 char *_kwnames
[] = { "self", NULL
};
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) return NULL
;
6893 } _resultobj
= Py_BuildValue("i",_result
);
6897 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6898 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6902 PyObject
* _argo0
= 0;
6903 char *_kwnames
[] = { "self", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) return NULL
;
6921 } _resultobj
= Py_BuildValue("i",_result
);
6925 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6926 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6930 PyObject
* _argo0
= 0;
6931 char *_kwnames
[] = { "self", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 _result
= (int )wxJoystick_GetProductId(_arg0
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) return NULL
;
6949 } _resultobj
= Py_BuildValue("i",_result
);
6953 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6954 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
* _resultobj
;
6958 PyObject
* _argo0
= 0;
6959 char *_kwnames
[] = { "self", NULL
};
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) return NULL
;
6979 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6981 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6990 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6991 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
* _resultobj
;
6995 PyObject
* _argo0
= 0;
6996 char *_kwnames
[] = { "self", NULL
};
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 _result
= (int )wxJoystick_GetXMin(_arg0
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) return NULL
;
7014 } _resultobj
= Py_BuildValue("i",_result
);
7018 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7019 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7023 PyObject
* _argo0
= 0;
7024 char *_kwnames
[] = { "self", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 _result
= (int )wxJoystick_GetYMin(_arg0
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) return NULL
;
7042 } _resultobj
= Py_BuildValue("i",_result
);
7046 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7047 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 _result
= (int )wxJoystick_GetZMin(_arg0
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) return NULL
;
7070 } _resultobj
= Py_BuildValue("i",_result
);
7074 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7075 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
* _resultobj
;
7079 PyObject
* _argo0
= 0;
7080 char *_kwnames
[] = { "self", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 _result
= (int )wxJoystick_GetXMax(_arg0
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) return NULL
;
7098 } _resultobj
= Py_BuildValue("i",_result
);
7102 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7103 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
* _resultobj
;
7107 PyObject
* _argo0
= 0;
7108 char *_kwnames
[] = { "self", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 _result
= (int )wxJoystick_GetYMax(_arg0
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) return NULL
;
7126 } _resultobj
= Py_BuildValue("i",_result
);
7130 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7131 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7135 PyObject
* _argo0
= 0;
7136 char *_kwnames
[] = { "self", NULL
};
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 _result
= (int )wxJoystick_GetZMax(_arg0
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) return NULL
;
7154 } _resultobj
= Py_BuildValue("i",_result
);
7158 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7159 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7163 PyObject
* _argo0
= 0;
7164 char *_kwnames
[] = { "self", NULL
};
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) return NULL
;
7182 } _resultobj
= Py_BuildValue("i",_result
);
7186 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7187 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
* _resultobj
;
7191 PyObject
* _argo0
= 0;
7192 char *_kwnames
[] = { "self", NULL
};
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) return NULL
;
7210 } _resultobj
= Py_BuildValue("i",_result
);
7214 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7215 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7219 PyObject
* _argo0
= 0;
7220 char *_kwnames
[] = { "self", NULL
};
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) return NULL
;
7238 } _resultobj
= Py_BuildValue("i",_result
);
7242 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7243 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
* _resultobj
;
7247 PyObject
* _argo0
= 0;
7248 char *_kwnames
[] = { "self", NULL
};
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) return NULL
;
7266 } _resultobj
= Py_BuildValue("i",_result
);
7270 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7271 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7275 PyObject
* _argo0
= 0;
7276 char *_kwnames
[] = { "self", NULL
};
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) return NULL
;
7294 } _resultobj
= Py_BuildValue("i",_result
);
7298 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7299 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7303 PyObject
* _argo0
= 0;
7304 char *_kwnames
[] = { "self", NULL
};
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) return NULL
;
7322 } _resultobj
= Py_BuildValue("i",_result
);
7326 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7327 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } _resultobj
= Py_BuildValue("i",_result
);
7354 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7355 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7359 PyObject
* _argo0
= 0;
7360 char *_kwnames
[] = { "self", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } _resultobj
= Py_BuildValue("i",_result
);
7382 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7383 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7387 PyObject
* _argo0
= 0;
7388 char *_kwnames
[] = { "self", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 _result
= (int )wxJoystick_GetUMin(_arg0
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } _resultobj
= Py_BuildValue("i",_result
);
7410 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7411 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7415 PyObject
* _argo0
= 0;
7416 char *_kwnames
[] = { "self", NULL
};
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 _result
= (int )wxJoystick_GetUMax(_arg0
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } _resultobj
= Py_BuildValue("i",_result
);
7438 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7439 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7443 PyObject
* _argo0
= 0;
7444 char *_kwnames
[] = { "self", NULL
};
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 _result
= (int )wxJoystick_GetVMin(_arg0
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) return NULL
;
7462 } _resultobj
= Py_BuildValue("i",_result
);
7466 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7467 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7471 PyObject
* _argo0
= 0;
7472 char *_kwnames
[] = { "self", NULL
};
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 _result
= (int )wxJoystick_GetVMax(_arg0
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) return NULL
;
7490 } _resultobj
= Py_BuildValue("i",_result
);
7494 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7495 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
* _resultobj
;
7499 PyObject
* _argo0
= 0;
7500 char *_kwnames
[] = { "self", NULL
};
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) return NULL
;
7518 } _resultobj
= Py_BuildValue("i",_result
);
7522 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7523 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
* _resultobj
;
7527 PyObject
* _argo0
= 0;
7528 char *_kwnames
[] = { "self", NULL
};
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 _result
= (bool )wxJoystick_HasZ(_arg0
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) return NULL
;
7546 } _resultobj
= Py_BuildValue("i",_result
);
7550 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7551 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
* _resultobj
;
7555 PyObject
* _argo0
= 0;
7556 char *_kwnames
[] = { "self", NULL
};
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 _result
= (bool )wxJoystick_HasU(_arg0
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) return NULL
;
7574 } _resultobj
= Py_BuildValue("i",_result
);
7578 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7579 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
* _resultobj
;
7583 PyObject
* _argo0
= 0;
7584 char *_kwnames
[] = { "self", NULL
};
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 _result
= (bool )wxJoystick_HasV(_arg0
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) return NULL
;
7602 } _resultobj
= Py_BuildValue("i",_result
);
7606 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7607 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
* _resultobj
;
7611 PyObject
* _argo0
= 0;
7612 char *_kwnames
[] = { "self", NULL
};
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) return NULL
;
7630 } _resultobj
= Py_BuildValue("i",_result
);
7634 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7635 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
* _resultobj
;
7639 PyObject
* _argo0
= 0;
7640 char *_kwnames
[] = { "self", NULL
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) return NULL
;
7658 } _resultobj
= Py_BuildValue("i",_result
);
7662 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7663 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
* _resultobj
;
7667 PyObject
* _argo0
= 0;
7668 char *_kwnames
[] = { "self", NULL
};
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) return NULL
;
7686 } _resultobj
= Py_BuildValue("i",_result
);
7690 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7691 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
* _resultobj
;
7696 int _arg2
= (int ) 0;
7697 PyObject
* _argo0
= 0;
7698 PyObject
* _argo1
= 0;
7699 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) return NULL
;
7724 } _resultobj
= Py_BuildValue("i",_result
);
7728 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7729 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7733 PyObject
* _argo0
= 0;
7734 char *_kwnames
[] = { "self", NULL
};
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) return NULL
;
7752 } _resultobj
= Py_BuildValue("i",_result
);
7756 static void *SwigwxWaveTowxObject(void *ptr
) {
7759 src
= (wxWave
*) ptr
;
7760 dest
= (wxObject
*) src
;
7761 return (void *) dest
;
7764 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7765 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
* _resultobj
;
7769 bool _arg1
= (bool ) FALSE
;
7770 PyObject
* _obj0
= 0;
7771 int tempbool1
= (int) FALSE
;
7772 char *_kwnames
[] = { "fileName","isResource", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7779 _arg0
= wxString_in_helper(_obj0
);
7783 _arg1
= (bool ) tempbool1
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) return NULL
;
7791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7792 _resultobj
= Py_BuildValue("s",_ptemp
);
7795 _resultobj
= Py_None
;
7804 #define delete_wxWave(_swigobj) (delete _swigobj)
7805 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
* _resultobj
;
7808 PyObject
* _argo0
= 0;
7809 char *_kwnames
[] = { "self", NULL
};
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 delete_wxWave(_arg0
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) return NULL
;
7827 } Py_INCREF(Py_None
);
7828 _resultobj
= Py_None
;
7832 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7833 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
* _resultobj
;
7837 PyObject
* _argo0
= 0;
7838 char *_kwnames
[] = { "self", NULL
};
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 _result
= (bool )wxWave_IsOk(_arg0
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) return NULL
;
7856 } _resultobj
= Py_BuildValue("i",_result
);
7860 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7861 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
* _resultobj
;
7865 bool _arg1
= (bool ) TRUE
;
7866 bool _arg2
= (bool ) FALSE
;
7867 PyObject
* _argo0
= 0;
7868 int tempbool1
= (int) TRUE
;
7869 int tempbool2
= (int) FALSE
;
7870 char *_kwnames
[] = { "self","async","looped", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7882 _arg1
= (bool ) tempbool1
;
7883 _arg2
= (bool ) tempbool2
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) return NULL
;
7890 } _resultobj
= Py_BuildValue("i",_result
);
7894 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7895 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
* _resultobj
;
7897 wxFileTypeInfo
* _result
;
7902 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) return NULL
;
7915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7916 _resultobj
= Py_BuildValue("s",_ptemp
);
7919 _resultobj
= Py_None
;
7924 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7925 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
* _resultobj
;
7927 wxFileTypeInfo
* _result
;
7928 wxArrayString
* _arg0
;
7929 PyObject
* _obj0
= 0;
7930 char *_kwnames
[] = { "sArray", NULL
};
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7937 if (! PySequence_Check(_obj0
)) {
7938 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7941 _arg0
= new wxArrayString
;
7942 int i
, len
=PySequence_Length(_obj0
);
7943 for (i
=0; i
<len
; i
++) {
7944 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7946 PyObject
* str
= PyObject_Unicode(item
);
7947 _arg0
->Add(PyUnicode_AsUnicode(str
));
7949 PyObject
* str
= PyObject_Str(item
);
7950 _arg0
->Add(PyString_AsString(str
));
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) return NULL
;
7963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7964 _resultobj
= Py_BuildValue("s",_ptemp
);
7967 _resultobj
= Py_None
;
7976 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7977 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
* _resultobj
;
7979 wxFileTypeInfo
* _result
;
7980 char *_kwnames
[] = { NULL
};
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) return NULL
;
7993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7994 _resultobj
= Py_BuildValue("s",_ptemp
);
7997 _resultobj
= Py_None
;
8002 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8003 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
* _resultobj
;
8006 wxFileTypeInfo
* _arg0
;
8007 PyObject
* _argo0
= 0;
8008 char *_kwnames
[] = { "self", NULL
};
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) return NULL
;
8026 } _resultobj
= Py_BuildValue("i",_result
);
8030 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8031 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
* _resultobj
;
8033 wxFileTypeInfo
* _arg0
;
8035 int _arg2
= (int ) 0;
8036 PyObject
* _argo0
= 0;
8037 PyObject
* _obj1
= 0;
8038 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8051 _arg1
= wxString_in_helper(_obj1
);
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) return NULL
;
8061 } Py_INCREF(Py_None
);
8062 _resultobj
= Py_None
;
8070 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8071 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
* _resultobj
;
8073 wxFileTypeInfo
* _arg0
;
8075 PyObject
* _argo0
= 0;
8076 PyObject
* _obj1
= 0;
8077 char *_kwnames
[] = { "self","shortDesc", NULL
};
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8090 _arg1
= wxString_in_helper(_obj1
);
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) return NULL
;
8100 } Py_INCREF(Py_None
);
8101 _resultobj
= Py_None
;
8109 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8110 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8113 wxFileTypeInfo
* _arg0
;
8114 PyObject
* _argo0
= 0;
8115 char *_kwnames
[] = { "self", NULL
};
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8130 _result
= (wxString
*) &_result_ref
;
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) return NULL
;
8136 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8138 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8144 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8145 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(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_GetOpenCommand",_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_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8165 _result
= (wxString
*) &_result_ref
;
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) return NULL
;
8171 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8173 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8179 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8180 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
* _resultobj
;
8183 wxFileTypeInfo
* _arg0
;
8184 PyObject
* _argo0
= 0;
8185 char *_kwnames
[] = { "self", NULL
};
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8200 _result
= (wxString
*) &_result_ref
;
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) return NULL
;
8206 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8208 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8214 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8215 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
* _resultobj
;
8218 wxFileTypeInfo
* _arg0
;
8219 PyObject
* _argo0
= 0;
8220 char *_kwnames
[] = { "self", NULL
};
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8235 _result
= (wxString
*) &_result_ref
;
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) return NULL
;
8241 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8243 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8249 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8250 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
* _resultobj
;
8253 wxFileTypeInfo
* _arg0
;
8254 PyObject
* _argo0
= 0;
8255 char *_kwnames
[] = { "self", NULL
};
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8270 _result
= (wxString
*) &_result_ref
;
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) return NULL
;
8276 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8278 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8284 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8285 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8286 return wxArrayString2PyList_helper(arr
);
8288 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8291 wxFileTypeInfo
* _arg0
;
8292 PyObject
* _argo0
= 0;
8293 char *_kwnames
[] = { "self", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) return NULL
;
8312 _resultobj
= _result
;
8317 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8318 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8321 wxFileTypeInfo
* _arg0
;
8322 PyObject
* _argo0
= 0;
8323 char *_kwnames
[] = { "self", NULL
};
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) return NULL
;
8341 } _resultobj
= Py_BuildValue("i",_result
);
8345 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8346 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
* _resultobj
;
8349 wxFileTypeInfo
* _arg0
;
8350 PyObject
* _argo0
= 0;
8351 char *_kwnames
[] = { "self", NULL
};
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8366 _result
= (wxString
*) &_result_ref
;
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) return NULL
;
8372 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8380 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8381 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
* _resultobj
;
8384 wxFileTypeInfo
* _arg0
;
8385 PyObject
* _argo0
= 0;
8386 char *_kwnames
[] = { "self", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) return NULL
;
8404 } _resultobj
= Py_BuildValue("i",_result
);
8408 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8409 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8411 wxFileType
* _result
;
8412 wxFileTypeInfo
* _arg0
;
8413 PyObject
* _argo0
= 0;
8414 char *_kwnames
[] = { "ftInfo", NULL
};
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) return NULL
;
8434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8435 _resultobj
= Py_BuildValue("s",_ptemp
);
8438 _resultobj
= Py_None
;
8443 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8445 if (self
->GetMimeType(&str
)) {
8447 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8449 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8455 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
* _resultobj
;
8459 PyObject
* _argo0
= 0;
8460 char *_kwnames
[] = { "self", NULL
};
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) return NULL
;
8479 _resultobj
= _result
;
8484 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8486 if (self
->GetMimeTypes(arr
))
8487 return wxArrayString2PyList_helper(arr
);
8491 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
* _resultobj
;
8495 PyObject
* _argo0
= 0;
8496 char *_kwnames
[] = { "self", NULL
};
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) return NULL
;
8515 _resultobj
= _result
;
8520 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8522 if (self
->GetExtensions(arr
))
8523 return wxArrayString2PyList_helper(arr
);
8527 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
* _resultobj
;
8531 PyObject
* _argo0
= 0;
8532 char *_kwnames
[] = { "self", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) return NULL
;
8551 _resultobj
= _result
;
8556 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8558 if (self
->GetIcon(&icon
))
8559 return new wxIcon(icon
);
8563 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
* _resultobj
;
8567 PyObject
* _argo0
= 0;
8568 char *_kwnames
[] = { "self", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) return NULL
;
8588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8589 _resultobj
= Py_BuildValue("s",_ptemp
);
8592 _resultobj
= Py_None
;
8597 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8601 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8602 wxPyBeginBlockThreads();
8603 PyObject
* tuple
= PyTuple_New(3);
8604 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8607 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8609 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8611 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8612 wxPyEndBlockThreads();
8618 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
* _resultobj
;
8622 PyObject
* _argo0
= 0;
8623 char *_kwnames
[] = { "self", NULL
};
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) return NULL
;
8642 _resultobj
= _result
;
8647 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8649 if (self
->GetDescription(&str
)) {
8651 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8653 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8658 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8662 PyObject
* _argo0
= 0;
8663 char *_kwnames
[] = { "self", NULL
};
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) return NULL
;
8682 _resultobj
= _result
;
8687 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8689 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8691 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8693 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8698 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
* _resultobj
;
8703 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8704 PyObject
* _argo0
= 0;
8705 PyObject
* _obj1
= 0;
8706 PyObject
* _obj2
= 0;
8707 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8720 _arg1
= wxString_in_helper(_obj1
);
8726 _arg2
= wxString_in_helper(_obj2
);
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) return NULL
;
8737 _resultobj
= _result
;
8750 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8752 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8754 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8756 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8761 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8766 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8767 PyObject
* _argo0
= 0;
8768 PyObject
* _obj1
= 0;
8769 PyObject
* _obj2
= 0;
8770 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8783 _arg1
= wxString_in_helper(_obj1
);
8789 _arg2
= wxString_in_helper(_obj2
);
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) return NULL
;
8800 _resultobj
= _result
;
8813 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8814 wxArrayString verbs
;
8815 wxArrayString commands
;
8816 if (self
->GetAllCommands(&verbs
, &commands
,
8817 wxFileType::MessageParameters(filename
, mimetype
))) {
8818 wxPyBeginBlockThreads();
8819 PyObject
* tuple
= PyTuple_New(2);
8820 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8821 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8822 wxPyEndBlockThreads();
8828 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
* _resultobj
;
8833 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8834 PyObject
* _argo0
= 0;
8835 PyObject
* _obj1
= 0;
8836 PyObject
* _obj2
= 0;
8837 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8850 _arg1
= wxString_in_helper(_obj1
);
8856 _arg2
= wxString_in_helper(_obj2
);
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) return NULL
;
8867 _resultobj
= _result
;
8880 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8881 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
* _resultobj
;
8887 bool _arg3
= (bool ) TRUE
;
8888 PyObject
* _argo0
= 0;
8889 PyObject
* _obj1
= 0;
8890 PyObject
* _obj2
= 0;
8891 int tempbool3
= (int) TRUE
;
8892 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8905 _arg1
= wxString_in_helper(_obj1
);
8910 _arg2
= wxString_in_helper(_obj2
);
8914 _arg3
= (bool ) tempbool3
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) return NULL
;
8921 } _resultobj
= Py_BuildValue("i",_result
);
8933 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8934 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
* _resultobj
;
8938 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8939 int _arg2
= (int ) 0;
8940 PyObject
* _argo0
= 0;
8941 PyObject
* _obj1
= 0;
8942 char *_kwnames
[] = { "self","cmd","index", NULL
};
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8956 _arg1
= wxString_in_helper(_obj1
);
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) return NULL
;
8966 } _resultobj
= Py_BuildValue("i",_result
);
8974 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8975 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8979 PyObject
* _argo0
= 0;
8980 char *_kwnames
[] = { "self", NULL
};
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 _result
= (bool )wxFileType_Unassociate(_arg0
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) return NULL
;
8998 } _resultobj
= Py_BuildValue("i",_result
);
9002 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
* _resultobj
;
9006 wxFileType::MessageParameters
* _arg1
;
9007 PyObject
* _obj0
= 0;
9008 PyObject
* _argo1
= 0;
9009 char *_kwnames
[] = { "command","params", NULL
};
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9015 _arg0
= wxString_in_helper(_obj0
);
9020 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9021 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) return NULL
;
9034 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9036 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9049 #define delete_wxFileType(_swigobj) (delete _swigobj)
9050 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
* _resultobj
;
9053 PyObject
* _argo0
= 0;
9054 char *_kwnames
[] = { "self", NULL
};
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 delete_wxFileType(_arg0
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) return NULL
;
9072 } Py_INCREF(Py_None
);
9073 _resultobj
= Py_None
;
9077 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
* _resultobj
;
9082 PyObject
* _obj0
= 0;
9083 PyObject
* _obj1
= 0;
9084 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9090 _arg0
= wxString_in_helper(_obj0
);
9095 _arg1
= wxString_in_helper(_obj1
);
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) return NULL
;
9105 } _resultobj
= Py_BuildValue("i",_result
);
9117 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9118 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
* _resultobj
;
9120 wxMimeTypesManager
* _result
;
9121 char *_kwnames
[] = { NULL
};
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) return NULL
;
9134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9135 _resultobj
= Py_BuildValue("s",_ptemp
);
9138 _resultobj
= Py_None
;
9143 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9144 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
* _resultobj
;
9146 wxMimeTypesManager
* _arg0
;
9147 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9148 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9149 PyObject
* _argo0
= 0;
9150 PyObject
* _obj2
= 0;
9151 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9165 _arg2
= wxString_in_helper(_obj2
);
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) return NULL
;
9175 } Py_INCREF(Py_None
);
9176 _resultobj
= Py_None
;
9184 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9185 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
* _resultobj
;
9187 wxMimeTypesManager
* _arg0
;
9188 PyObject
* _argo0
= 0;
9189 char *_kwnames
[] = { "self", NULL
};
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 wxMimeTypesManager_ClearData(_arg0
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) return NULL
;
9207 } Py_INCREF(Py_None
);
9208 _resultobj
= Py_None
;
9212 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9213 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
* _resultobj
;
9215 wxFileType
* _result
;
9216 wxMimeTypesManager
* _arg0
;
9218 PyObject
* _argo0
= 0;
9219 PyObject
* _obj1
= 0;
9220 char *_kwnames
[] = { "self","ext", NULL
};
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9234 _arg1
= wxString_in_helper(_obj1
);
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) return NULL
;
9245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9246 _resultobj
= Py_BuildValue("s",_ptemp
);
9249 _resultobj
= Py_None
;
9258 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9259 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
* _resultobj
;
9261 wxFileType
* _result
;
9262 wxMimeTypesManager
* _arg0
;
9264 PyObject
* _argo0
= 0;
9265 PyObject
* _obj1
= 0;
9266 char *_kwnames
[] = { "self","mimeType", NULL
};
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9280 _arg1
= wxString_in_helper(_obj1
);
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) return NULL
;
9291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9292 _resultobj
= Py_BuildValue("s",_ptemp
);
9295 _resultobj
= Py_None
;
9304 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9305 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
* _resultobj
;
9308 wxMimeTypesManager
* _arg0
;
9310 bool _arg2
= (bool ) FALSE
;
9311 PyObject
* _argo0
= 0;
9312 PyObject
* _obj1
= 0;
9313 int tempbool2
= (int) FALSE
;
9314 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9327 _arg1
= wxString_in_helper(_obj1
);
9331 _arg2
= (bool ) tempbool2
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) return NULL
;
9338 } _resultobj
= Py_BuildValue("i",_result
);
9346 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9347 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
* _resultobj
;
9350 wxMimeTypesManager
* _arg0
;
9352 PyObject
* _argo0
= 0;
9353 PyObject
* _obj1
= 0;
9354 char *_kwnames
[] = { "self","filename", NULL
};
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9367 _arg1
= wxString_in_helper(_obj1
);
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) return NULL
;
9377 } _resultobj
= Py_BuildValue("i",_result
);
9385 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9387 self
->EnumAllFileTypes(arr
);
9388 return wxArrayString2PyList_helper(arr
);
9390 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
* _resultobj
;
9393 wxMimeTypesManager
* _arg0
;
9394 PyObject
* _argo0
= 0;
9395 char *_kwnames
[] = { "self", NULL
};
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) return NULL
;
9414 _resultobj
= _result
;
9419 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9420 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
* _resultobj
;
9422 wxMimeTypesManager
* _arg0
;
9423 wxFileTypeInfo
* _arg1
;
9424 PyObject
* _argo0
= 0;
9425 PyObject
* _argo1
= 0;
9426 char *_kwnames
[] = { "self","ft", NULL
};
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) return NULL
;
9451 } Py_INCREF(Py_None
);
9452 _resultobj
= Py_None
;
9456 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9457 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
* _resultobj
;
9459 wxFileType
* _result
;
9460 wxMimeTypesManager
* _arg0
;
9461 wxFileTypeInfo
* _arg1
;
9462 PyObject
* _argo0
= 0;
9463 PyObject
* _argo1
= 0;
9464 char *_kwnames
[] = { "self","ftInfo", NULL
};
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) return NULL
;
9491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9492 _resultobj
= Py_BuildValue("s",_ptemp
);
9495 _resultobj
= Py_None
;
9500 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9501 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
* _resultobj
;
9504 wxMimeTypesManager
* _arg0
;
9506 PyObject
* _argo0
= 0;
9507 PyObject
* _argo1
= 0;
9508 char *_kwnames
[] = { "self","ft", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) return NULL
;
9533 } _resultobj
= Py_BuildValue("i",_result
);
9537 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9538 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9540 wxMimeTypesManager
* _arg0
;
9541 PyObject
* _argo0
= 0;
9542 char *_kwnames
[] = { "self", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 delete_wxMimeTypesManager(_arg0
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } Py_INCREF(Py_None
);
9561 _resultobj
= Py_None
;
9565 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9568 src
= (wxFileHistory
*) ptr
;
9569 dest
= (wxObject
*) src
;
9570 return (void *) dest
;
9573 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9574 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
* _resultobj
;
9576 wxFileHistory
* _result
;
9577 int _arg0
= (int ) 9;
9578 char *_kwnames
[] = { "maxFiles", NULL
};
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) return NULL
;
9591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9592 _resultobj
= Py_BuildValue("s",_ptemp
);
9595 _resultobj
= Py_None
;
9600 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9601 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
* _resultobj
;
9603 wxFileHistory
* _arg0
;
9604 PyObject
* _argo0
= 0;
9605 char *_kwnames
[] = { "self", NULL
};
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 delete_wxFileHistory(_arg0
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) return NULL
;
9623 } Py_INCREF(Py_None
);
9624 _resultobj
= Py_None
;
9628 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9629 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
* _resultobj
;
9631 wxFileHistory
* _arg0
;
9633 PyObject
* _argo0
= 0;
9634 PyObject
* _obj1
= 0;
9635 char *_kwnames
[] = { "self","file", NULL
};
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9648 _arg1
= wxString_in_helper(_obj1
);
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) return NULL
;
9658 } Py_INCREF(Py_None
);
9659 _resultobj
= Py_None
;
9667 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9668 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
* _resultobj
;
9670 wxFileHistory
* _arg0
;
9672 PyObject
* _argo0
= 0;
9673 char *_kwnames
[] = { "self","i", NULL
};
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) return NULL
;
9691 } Py_INCREF(Py_None
);
9692 _resultobj
= Py_None
;
9696 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9697 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
* _resultobj
;
9700 wxFileHistory
* _arg0
;
9701 PyObject
* _argo0
= 0;
9702 char *_kwnames
[] = { "self", NULL
};
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) return NULL
;
9720 } _resultobj
= Py_BuildValue("i",_result
);
9724 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9725 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
* _resultobj
;
9727 wxFileHistory
* _arg0
;
9729 PyObject
* _argo0
= 0;
9730 PyObject
* _argo1
= 0;
9731 char *_kwnames
[] = { "self","menu", NULL
};
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 wxFileHistory_UseMenu(_arg0
,_arg1
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) return NULL
;
9756 } Py_INCREF(Py_None
);
9757 _resultobj
= Py_None
;
9761 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9762 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
* _resultobj
;
9764 wxFileHistory
* _arg0
;
9766 PyObject
* _argo0
= 0;
9767 PyObject
* _argo1
= 0;
9768 char *_kwnames
[] = { "self","menu", NULL
};
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) return NULL
;
9793 } Py_INCREF(Py_None
);
9794 _resultobj
= Py_None
;
9798 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9799 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
* _resultobj
;
9801 wxFileHistory
* _arg0
;
9802 wxConfigBase
* _arg1
;
9803 PyObject
* _argo0
= 0;
9804 PyObject
* _argo1
= 0;
9805 char *_kwnames
[] = { "self","config", NULL
};
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 wxFileHistory_Load(_arg0
,*_arg1
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) return NULL
;
9830 } Py_INCREF(Py_None
);
9831 _resultobj
= Py_None
;
9835 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9836 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
* _resultobj
;
9838 wxFileHistory
* _arg0
;
9839 wxConfigBase
* _arg1
;
9840 PyObject
* _argo0
= 0;
9841 PyObject
* _argo1
= 0;
9842 char *_kwnames
[] = { "self","config", NULL
};
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 wxFileHistory_Save(_arg0
,*_arg1
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) return NULL
;
9867 } Py_INCREF(Py_None
);
9868 _resultobj
= Py_None
;
9872 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9873 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
* _resultobj
;
9875 wxFileHistory
* _arg0
;
9876 PyObject
* _argo0
= 0;
9877 char *_kwnames
[] = { "self", NULL
};
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 wxFileHistory_AddFilesToMenu(_arg0
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) return NULL
;
9895 } Py_INCREF(Py_None
);
9896 _resultobj
= Py_None
;
9900 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9901 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
* _resultobj
;
9903 wxFileHistory
* _arg0
;
9905 PyObject
* _argo0
= 0;
9906 PyObject
* _argo1
= 0;
9907 char *_kwnames
[] = { "self","menu", NULL
};
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) return NULL
;
9932 } Py_INCREF(Py_None
);
9933 _resultobj
= Py_None
;
9937 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9938 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
* _resultobj
;
9941 wxFileHistory
* _arg0
;
9943 PyObject
* _argo0
= 0;
9944 char *_kwnames
[] = { "self","i", NULL
};
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) return NULL
;
9964 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9966 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9975 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9976 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
* _resultobj
;
9979 wxFileHistory
* _arg0
;
9980 PyObject
* _argo0
= 0;
9981 char *_kwnames
[] = { "self", NULL
};
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 _result
= (int )wxFileHistory_GetCount(_arg0
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) return NULL
;
9999 } _resultobj
= Py_BuildValue("i",_result
);
10003 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10004 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
* _resultobj
;
10007 wxFileHistory
* _arg0
;
10008 PyObject
* _argo0
= 0;
10009 char *_kwnames
[] = { "self", NULL
};
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) return NULL
;
10027 } _resultobj
= Py_BuildValue("i",_result
);
10031 static PyMethodDef misc2cMethods
[] = {
10032 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10334 * This table is used by the pointer type-checker
10336 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10337 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10338 { "_signed_long","_long",0},
10339 { "_wxPrintQuality","_wxCoord",0},
10340 { "_wxPrintQuality","_int",0},
10341 { "_wxPrintQuality","_signed_int",0},
10342 { "_wxPrintQuality","_unsigned_int",0},
10343 { "_wxPrintQuality","_wxWindowID",0},
10344 { "_wxPrintQuality","_uint",0},
10345 { "_wxPrintQuality","_EBool",0},
10346 { "_wxPrintQuality","_size_t",0},
10347 { "_wxPrintQuality","_time_t",0},
10348 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10349 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10350 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10351 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10352 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10353 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10354 { "_byte","_unsigned_char",0},
10355 { "_long","_unsigned_long",0},
10356 { "_long","_signed_long",0},
10357 { "_size_t","_wxCoord",0},
10358 { "_size_t","_wxPrintQuality",0},
10359 { "_size_t","_time_t",0},
10360 { "_size_t","_unsigned_int",0},
10361 { "_size_t","_int",0},
10362 { "_size_t","_wxWindowID",0},
10363 { "_size_t","_uint",0},
10364 { "_uint","_wxCoord",0},
10365 { "_uint","_wxPrintQuality",0},
10366 { "_uint","_time_t",0},
10367 { "_uint","_size_t",0},
10368 { "_uint","_unsigned_int",0},
10369 { "_uint","_int",0},
10370 { "_uint","_wxWindowID",0},
10371 { "_wxChar","_char",0},
10372 { "_char","_wxChar",0},
10373 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10374 { "_EBool","_wxCoord",0},
10375 { "_EBool","_wxPrintQuality",0},
10376 { "_EBool","_signed_int",0},
10377 { "_EBool","_int",0},
10378 { "_EBool","_wxWindowID",0},
10379 { "_unsigned_long","_long",0},
10380 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10381 { "_signed_int","_wxCoord",0},
10382 { "_signed_int","_wxPrintQuality",0},
10383 { "_signed_int","_EBool",0},
10384 { "_signed_int","_wxWindowID",0},
10385 { "_signed_int","_int",0},
10386 { "_WXTYPE","_wxDateTime_t",0},
10387 { "_WXTYPE","_short",0},
10388 { "_WXTYPE","_signed_short",0},
10389 { "_WXTYPE","_unsigned_short",0},
10390 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10391 { "_unsigned_short","_wxDateTime_t",0},
10392 { "_unsigned_short","_WXTYPE",0},
10393 { "_unsigned_short","_short",0},
10394 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10395 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10396 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10397 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10398 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10399 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10400 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10401 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10402 { "_signed_short","_WXTYPE",0},
10403 { "_signed_short","_short",0},
10404 { "_unsigned_char","_byte",0},
10405 { "_unsigned_int","_wxCoord",0},
10406 { "_unsigned_int","_wxPrintQuality",0},
10407 { "_unsigned_int","_time_t",0},
10408 { "_unsigned_int","_size_t",0},
10409 { "_unsigned_int","_uint",0},
10410 { "_unsigned_int","_wxWindowID",0},
10411 { "_unsigned_int","_int",0},
10412 { "_short","_wxDateTime_t",0},
10413 { "_short","_WXTYPE",0},
10414 { "_short","_unsigned_short",0},
10415 { "_short","_signed_short",0},
10416 { "_wxWindowID","_wxCoord",0},
10417 { "_wxWindowID","_wxPrintQuality",0},
10418 { "_wxWindowID","_time_t",0},
10419 { "_wxWindowID","_size_t",0},
10420 { "_wxWindowID","_EBool",0},
10421 { "_wxWindowID","_uint",0},
10422 { "_wxWindowID","_int",0},
10423 { "_wxWindowID","_signed_int",0},
10424 { "_wxWindowID","_unsigned_int",0},
10425 { "_int","_wxCoord",0},
10426 { "_int","_wxPrintQuality",0},
10427 { "_int","_time_t",0},
10428 { "_int","_size_t",0},
10429 { "_int","_EBool",0},
10430 { "_int","_uint",0},
10431 { "_int","_wxWindowID",0},
10432 { "_int","_unsigned_int",0},
10433 { "_int","_signed_int",0},
10434 { "_wxDateTime_t","_unsigned_short",0},
10435 { "_wxDateTime_t","_short",0},
10436 { "_wxDateTime_t","_WXTYPE",0},
10437 { "_time_t","_wxCoord",0},
10438 { "_time_t","_wxPrintQuality",0},
10439 { "_time_t","_unsigned_int",0},
10440 { "_time_t","_int",0},
10441 { "_time_t","_wxWindowID",0},
10442 { "_time_t","_uint",0},
10443 { "_time_t","_size_t",0},
10444 { "_wxCoord","_int",0},
10445 { "_wxCoord","_signed_int",0},
10446 { "_wxCoord","_unsigned_int",0},
10447 { "_wxCoord","_wxWindowID",0},
10448 { "_wxCoord","_uint",0},
10449 { "_wxCoord","_EBool",0},
10450 { "_wxCoord","_size_t",0},
10451 { "_wxCoord","_time_t",0},
10452 { "_wxCoord","_wxPrintQuality",0},
10453 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10456 static PyObject
*SWIG_globals
;
10460 SWIGEXPORT(void) initmisc2c() {
10462 SWIG_globals
= SWIG_newvarlink();
10463 m
= Py_InitModule("misc2c", misc2cMethods
);
10464 d
= PyModule_GetDict(m
);
10465 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10466 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10467 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10468 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10469 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10470 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10471 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10472 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10473 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10474 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10475 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10476 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10477 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10478 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10479 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10480 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10481 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10482 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10483 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10484 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10485 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10486 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10487 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10488 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10489 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10490 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10491 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10492 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10493 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10494 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10495 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10496 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10497 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10498 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10499 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10500 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10501 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10502 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10503 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10504 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10505 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10506 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10507 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10508 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10509 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10510 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10511 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10512 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10513 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10514 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10515 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10516 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10517 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10518 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10519 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10520 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10521 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10522 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10523 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10524 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10525 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10526 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10527 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10528 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10529 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10530 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10531 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10532 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10533 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10534 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10535 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10536 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10537 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10538 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10539 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10540 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10541 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10542 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10543 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10544 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10545 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10546 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10547 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10548 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10549 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10550 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10551 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10552 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10553 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10554 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10555 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10556 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10557 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10558 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10559 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10560 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10561 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10562 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10563 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10564 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10565 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10566 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10567 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10568 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10569 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10570 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10572 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10573 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10574 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10577 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10578 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);