2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include "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_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1422 char *_kwnames
[] = { "name","value", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 } _resultobj
= Py_BuildValue("i",_result
);
1437 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1439 char *_kwnames
[] = { NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1450 } Py_INCREF(Py_None
);
1451 _resultobj
= Py_None
;
1455 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1459 char *_kwnames
[] = { "resource", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) return NULL
;
1471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1472 _resultobj
= Py_BuildValue("s",_ptemp
);
1476 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1480 char *_kwnames
[] = { "resource", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1493 _resultobj
= Py_BuildValue("s",_ptemp
);
1497 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1499 wxMenuBar
* _result
;
1501 char *_kwnames
[] = { "resource", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) return NULL
;
1512 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1516 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 char *_kwnames
[] = { "name", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (int )wxResourceGetIdentifier(_arg0
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1535 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1539 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1540 PyObject
* _argo1
= 0;
1541 char *_kwnames
[] = { "resource","table", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 } _resultobj
= Py_BuildValue("i",_result
);
1563 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1567 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1568 PyObject
* _argo1
= 0;
1569 char *_kwnames
[] = { "filename","table", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) return NULL
;
1587 } _resultobj
= Py_BuildValue("i",_result
);
1591 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1595 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1596 PyObject
* _argo1
= 0;
1597 char *_kwnames
[] = { "resource","table", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } _resultobj
= Py_BuildValue("i",_result
);
1619 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1622 char *_kwnames
[] = { NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 _result
= (int )wxCaret_GetBlinkTime();
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) return NULL
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1640 char *_kwnames
[] = { "milliseconds", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 wxCaret_SetBlinkTime(_arg0
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1651 } Py_INCREF(Py_None
);
1652 _resultobj
= Py_None
;
1656 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1659 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "win", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (bool )wxSafeYield(_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxEvtHandler
* _arg0
;
1687 PyObject
* _argo0
= 0;
1688 PyObject
* _argo1
= 0;
1689 char *_kwnames
[] = { "dest","event", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 wxPostEvent(_arg0
,*_arg1
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) return NULL
;
1714 } Py_INCREF(Py_None
);
1715 _resultobj
= Py_None
;
1719 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1721 char *_kwnames
[] = { NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1737 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 char *_kwnames
[] = { NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } Py_INCREF(Py_None
);
1751 _resultobj
= Py_None
;
1755 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1757 char *_kwnames
[] = { NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1776 char *_kwnames
[] = { NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 _result
= (bool )wxThread_IsMain();
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) return NULL
;
1787 } _resultobj
= Py_BuildValue("i",_result
);
1791 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1795 wxTipProvider
* _arg1
;
1796 bool _arg2
= (bool ) TRUE
;
1797 PyObject
* _argo0
= 0;
1798 PyObject
* _argo1
= 0;
1799 int tempbool2
= (int) TRUE
;
1800 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1813 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1819 _arg2
= (bool ) tempbool2
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } _resultobj
= Py_BuildValue("i",_result
);
1830 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1832 wxTipProvider
* _result
;
1835 PyObject
* _obj0
= 0;
1836 char *_kwnames
[] = { "filename","currentTip", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1843 _arg0
= wxString_in_helper(_obj0
);
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) return NULL
;
1854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1855 _resultobj
= Py_BuildValue("s",_ptemp
);
1858 _resultobj
= Py_None
;
1867 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 unsigned long _result
;
1870 char *_kwnames
[] = { NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 _result
= (unsigned long )wxSysErrorCode();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) return NULL
;
1881 } _resultobj
= Py_BuildValue("l",_result
);
1885 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1888 unsigned long _arg0
= (unsigned long ) 0;
1889 char *_kwnames
[] = { "nErrCode", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= new wxString (wxSysErrorMsg(_arg0
));
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1902 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1904 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1913 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1916 PyObject
* _obj0
= 0;
1917 char *_kwnames
[] = { "szFormat", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1923 _arg0
= wxString_in_helper(_obj0
);
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 wxLogFatalError(*_arg0
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1942 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1945 PyObject
* _obj0
= 0;
1946 char *_kwnames
[] = { "szFormat", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1952 _arg0
= wxString_in_helper(_obj0
);
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } Py_INCREF(Py_None
);
1963 _resultobj
= Py_None
;
1971 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1974 PyObject
* _obj0
= 0;
1975 char *_kwnames
[] = { "szFormat", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1981 _arg0
= wxString_in_helper(_obj0
);
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 wxLogWarning(*_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
2000 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 PyObject
* _obj0
= 0;
2004 char *_kwnames
[] = { "szFormat", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2010 _arg0
= wxString_in_helper(_obj0
);
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 wxLogMessage(*_arg0
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2029 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2032 PyObject
* _obj0
= 0;
2033 char *_kwnames
[] = { "szFormat", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2039 _arg0
= wxString_in_helper(_obj0
);
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2058 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2061 PyObject
* _obj0
= 0;
2062 char *_kwnames
[] = { "szFormat", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2068 _arg0
= wxString_in_helper(_obj0
);
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 wxLogVerbose(*_arg0
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2087 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 PyObject
* _obj0
= 0;
2091 char *_kwnames
[] = { "szFormat", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2097 _arg0
= wxString_in_helper(_obj0
);
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 wxLogStatus(*_arg0
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2116 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
* _resultobj
;
2120 PyObject
* _argo0
= 0;
2121 PyObject
* _obj1
= 0;
2122 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2135 _arg1
= wxString_in_helper(_obj1
);
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 wxLogStatus(_arg0
,*_arg1
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) return NULL
;
2145 } Py_INCREF(Py_None
);
2146 _resultobj
= Py_None
;
2154 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2157 PyObject
* _obj0
= 0;
2158 char *_kwnames
[] = { "szFormat", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2164 _arg0
= wxString_in_helper(_obj0
);
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 wxLogSysError(*_arg0
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) return NULL
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2183 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2187 int _arg1
= (int ) (wxEXEC_ASYNC
);
2188 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2189 PyObject
* _obj0
= 0;
2190 PyObject
* _argo2
= 0;
2191 char *_kwnames
[] = { "command","flags","process", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2197 _arg0
= wxString_in_helper(_obj0
);
2202 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } _resultobj
= Py_BuildValue("l",_result
);
2222 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2226 PyObject
* _obj0
= 0;
2227 char *_kwnames
[] = { "data", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2234 _arg0
= wxString_in_helper(_obj0
);
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 _result
= (wxWave
*)wxWaveData(*_arg0
);
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) return NULL
;
2245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2246 _resultobj
= Py_BuildValue("s",_ptemp
);
2249 _resultobj
= Py_None
;
2258 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2260 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2264 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2268 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2269 pyobj
= PyString_FromString(ptemp
);
2273 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2276 wxSystemColour _arg0
;
2277 char *_kwnames
[] = { "index", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2289 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2290 _resultobj
= Py_BuildValue("s",_ptemp
);
2294 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2298 char *_kwnames
[] = { "index", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2311 _resultobj
= Py_BuildValue("s",_ptemp
);
2315 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2318 wxSystemMetric _arg0
;
2319 char *_kwnames
[] = { "index", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 } _resultobj
= Py_BuildValue("i",_result
);
2334 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2337 wxSystemFeature _arg0
;
2338 char *_kwnames
[] = { "index", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) return NULL
;
2349 } _resultobj
= Py_BuildValue("i",_result
);
2353 static void *SwigwxToolTipTowxObject(void *ptr
) {
2356 src
= (wxToolTip
*) ptr
;
2357 dest
= (wxObject
*) src
;
2358 return (void *) dest
;
2361 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2362 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxToolTip
* _result
;
2366 PyObject
* _obj0
= 0;
2367 char *_kwnames
[] = { "tip", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2374 _arg0
= wxString_in_helper(_obj0
);
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) return NULL
;
2385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2386 _resultobj
= Py_BuildValue("s",_ptemp
);
2389 _resultobj
= Py_None
;
2398 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2399 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2403 PyObject
* _argo0
= 0;
2404 PyObject
* _obj1
= 0;
2405 char *_kwnames
[] = { "self","tip", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2418 _arg1
= wxString_in_helper(_obj1
);
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 wxToolTip_SetTip(_arg0
,*_arg1
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) return NULL
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2437 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2438 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
* _resultobj
;
2442 PyObject
* _argo0
= 0;
2443 char *_kwnames
[] = { "self", NULL
};
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) return NULL
;
2463 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2474 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2475 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2502 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2506 char *_kwnames
[] = { "flag", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2511 _arg0
= (bool ) tempbool0
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 wxToolTip::Enable(_arg0
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) return NULL
;
2518 } Py_INCREF(Py_None
);
2519 _resultobj
= Py_None
;
2523 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
* _resultobj
;
2526 char *_kwnames
[] = { "milliseconds", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 wxToolTip::SetDelay(_arg0
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2542 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2543 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2548 PyObject
* _argo0
= 0;
2550 PyObject
* _obj1
= 0;
2551 char *_kwnames
[] = { "window","size", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2566 if (! wxSize_helper(_obj1
, &_arg1
))
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) return NULL
;
2576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2577 _resultobj
= Py_BuildValue("s",_ptemp
);
2580 _resultobj
= Py_None
;
2585 #define delete_wxCaret(_swigobj) (delete _swigobj)
2586 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 delete_wxCaret(_arg0
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2608 } Py_INCREF(Py_None
);
2609 _resultobj
= Py_None
;
2613 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2614 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 _result
= (bool )wxCaret_IsOk(_arg0
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) return NULL
;
2637 } _resultobj
= Py_BuildValue("i",_result
);
2641 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2642 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 _result
= (bool )wxCaret_IsVisible(_arg0
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) return NULL
;
2665 } _resultobj
= Py_BuildValue("i",_result
);
2669 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2670 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) return NULL
;
2702 } Py_INCREF(Py_None
);
2703 _resultobj
= Py_None
;
2706 o
= PyInt_FromLong((long) (*_arg1
));
2707 _resultobj
= t_output_helper(_resultobj
, o
);
2711 o
= PyInt_FromLong((long) (*_arg2
));
2712 _resultobj
= t_output_helper(_resultobj
, o
);
2717 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2718 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2722 PyObject
* _argo0
= 0;
2723 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) return NULL
;
2742 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2743 _resultobj
= Py_BuildValue("s",_ptemp
);
2747 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2748 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2780 } Py_INCREF(Py_None
);
2781 _resultobj
= Py_None
;
2784 o
= PyInt_FromLong((long) (*_arg1
));
2785 _resultobj
= t_output_helper(_resultobj
, o
);
2789 o
= PyInt_FromLong((long) (*_arg2
));
2790 _resultobj
= t_output_helper(_resultobj
, o
);
2795 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2796 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2821 _resultobj
= Py_BuildValue("s",_ptemp
);
2825 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2826 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2830 PyObject
* _argo0
= 0;
2831 char *_kwnames
[] = { "self", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) return NULL
;
2849 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2853 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2854 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2859 PyObject
* _argo0
= 0;
2860 char *_kwnames
[] = { "self","x","y", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) return NULL
;
2878 } Py_INCREF(Py_None
);
2879 _resultobj
= Py_None
;
2883 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2884 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2888 PyObject
* _argo0
= 0;
2890 PyObject
* _obj1
= 0;
2891 char *_kwnames
[] = { "self","pt", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2905 if (! wxPoint_helper(_obj1
, &_arg1
))
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxCaret_Move(_arg0
,*_arg1
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) return NULL
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2920 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2926 char *_kwnames
[] = { "self","width","height", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) return NULL
;
2944 } Py_INCREF(Py_None
);
2945 _resultobj
= Py_None
;
2949 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2950 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2954 PyObject
* _argo0
= 0;
2956 PyObject
* _obj1
= 0;
2957 char *_kwnames
[] = { "self","size", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2971 if (! wxSize_helper(_obj1
, &_arg1
))
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 wxCaret_SetSize(_arg0
,*_arg1
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) return NULL
;
2980 } Py_INCREF(Py_None
);
2981 _resultobj
= Py_None
;
2985 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2986 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2989 int _arg1
= (int ) TRUE
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self","show", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 wxCaret_Show(_arg0
,_arg1
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) return NULL
;
3009 } Py_INCREF(Py_None
);
3010 _resultobj
= Py_None
;
3014 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3015 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 wxCaret_Hide(_arg0
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) return NULL
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3042 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3043 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3045 wxPyFontEnumerator
* _result
;
3046 char *_kwnames
[] = { NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) return NULL
;
3059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3060 _resultobj
= Py_BuildValue("s",_ptemp
);
3063 _resultobj
= Py_None
;
3068 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3069 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3071 wxPyFontEnumerator
* _arg0
;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self", NULL
};
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 delete_wxPyFontEnumerator(_arg0
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) return NULL
;
3091 } Py_INCREF(Py_None
);
3092 _resultobj
= Py_None
;
3096 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3097 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3099 wxPyFontEnumerator
* _arg0
;
3103 PyObject
* _argo0
= 0;
3104 PyObject
* _obj1
= 0;
3105 PyObject
* _obj2
= 0;
3107 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3125 _arg3
= (bool ) tempbool3
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } Py_INCREF(Py_None
);
3133 _resultobj
= Py_None
;
3137 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3138 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3141 wxPyFontEnumerator
* _arg0
;
3142 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3143 bool _arg2
= (bool ) FALSE
;
3144 PyObject
* _argo0
= 0;
3145 int tempbool2
= (int) FALSE
;
3146 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3158 _arg2
= (bool ) tempbool2
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } _resultobj
= Py_BuildValue("i",_result
);
3169 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3170 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3173 wxPyFontEnumerator
* _arg0
;
3174 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
3175 PyObject
* _argo0
= 0;
3176 PyObject
* _obj1
= 0;
3177 char *_kwnames
[] = { "self","facename", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))
3183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3191 _arg1
= wxString_in_helper(_obj1
);
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } _resultobj
= Py_BuildValue("i",_result
);
3209 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3210 wxArrayString
* arr
= self
->GetEncodings();
3211 return wxArrayString2PyList_helper(*arr
);
3213 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3216 wxPyFontEnumerator
* _arg0
;
3217 PyObject
* _argo0
= 0;
3218 char *_kwnames
[] = { "self", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3237 _resultobj
= _result
;
3242 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3243 wxArrayString
* arr
= self
->GetFacenames();
3244 return wxArrayString2PyList_helper(*arr
);
3246 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3249 wxPyFontEnumerator
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3270 _resultobj
= _result
;
3275 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3276 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3278 wxBusyCursor
* _result
;
3279 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3280 PyObject
* _argo0
= 0;
3281 char *_kwnames
[] = { "cursor", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) return NULL
;
3301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3302 _resultobj
= Py_BuildValue("s",_ptemp
);
3305 _resultobj
= Py_None
;
3310 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3311 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3313 wxBusyCursor
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 delete_wxBusyCursor(_arg0
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) return NULL
;
3333 } Py_INCREF(Py_None
);
3334 _resultobj
= Py_None
;
3338 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3339 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3341 wxWindowDisabler
* _result
;
3342 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "winToSkip", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3365 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 _resultobj
= Py_None
;
3373 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3374 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxWindowDisabler
* _arg0
;
3377 PyObject
* _argo0
= 0;
3378 char *_kwnames
[] = { "self", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 delete_wxWindowDisabler(_arg0
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3402 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxMutexGuiLocker
* _result
;
3405 char *_kwnames
[] = { NULL
};
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) return NULL
;
3418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3419 _resultobj
= Py_BuildValue("s",_ptemp
);
3422 _resultobj
= Py_None
;
3427 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3428 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3430 wxMutexGuiLocker
* _arg0
;
3431 PyObject
* _argo0
= 0;
3432 char *_kwnames
[] = { "self", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 delete_wxMutexGuiLocker(_arg0
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) return NULL
;
3450 } Py_INCREF(Py_None
);
3451 _resultobj
= Py_None
;
3455 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3456 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxTipProvider
* _arg0
;
3459 PyObject
* _argo0
= 0;
3460 char *_kwnames
[] = { "self", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 delete_wxTipProvider(_arg0
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) return NULL
;
3478 } Py_INCREF(Py_None
);
3479 _resultobj
= Py_None
;
3483 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3484 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
* _resultobj
;
3487 wxTipProvider
* _arg0
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3509 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3511 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3520 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3521 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3524 wxTipProvider
* _arg0
;
3525 PyObject
* _argo0
= 0;
3526 char *_kwnames
[] = { "self", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) return NULL
;
3544 } _resultobj
= Py_BuildValue("i",_result
);
3548 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3549 wxPyTipProvider
*src
;
3550 wxTipProvider
*dest
;
3551 src
= (wxPyTipProvider
*) ptr
;
3552 dest
= (wxTipProvider
*) src
;
3553 return (void *) dest
;
3556 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3557 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3559 wxPyTipProvider
* _result
;
3561 char *_kwnames
[] = { "currentTip", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) return NULL
;
3574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3575 _resultobj
= Py_BuildValue("s",_ptemp
);
3578 _resultobj
= Py_None
;
3583 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3584 wxGenericDragImage
*src
;
3586 src
= (wxGenericDragImage
*) ptr
;
3587 dest
= (wxObject
*) src
;
3588 return (void *) dest
;
3591 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3592 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3594 wxGenericDragImage
* _result
;
3596 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3597 PyObject
* _argo0
= 0;
3598 PyObject
* _argo1
= 0;
3599 char *_kwnames
[] = { "image","cursor", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3627 _resultobj
= Py_BuildValue("s",_ptemp
);
3630 _resultobj
= Py_None
;
3635 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3636 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxGenericDragImage
* _result
;
3640 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3641 PyObject
* _argo0
= 0;
3642 PyObject
* _argo1
= 0;
3643 char *_kwnames
[] = { "image","cursor", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) return NULL
;
3670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3671 _resultobj
= Py_BuildValue("s",_ptemp
);
3674 _resultobj
= Py_None
;
3679 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3680 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3682 wxGenericDragImage
* _result
;
3684 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3685 PyObject
* _obj0
= 0;
3686 PyObject
* _argo1
= 0;
3687 char *_kwnames
[] = { "str","cursor", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3694 _arg0
= wxString_in_helper(_obj0
);
3699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3713 _resultobj
= Py_BuildValue("s",_ptemp
);
3716 _resultobj
= Py_None
;
3725 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3726 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3728 wxGenericDragImage
* _result
;
3730 wxTreeItemId
* _arg1
;
3731 PyObject
* _argo0
= 0;
3732 PyObject
* _argo1
= 0;
3733 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) return NULL
;
3760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3761 _resultobj
= Py_BuildValue("s",_ptemp
);
3764 _resultobj
= Py_None
;
3769 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3770 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
* _resultobj
;
3772 wxGenericDragImage
* _result
;
3775 PyObject
* _argo0
= 0;
3776 char *_kwnames
[] = { "listCtrl","id", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3797 _resultobj
= Py_BuildValue("s",_ptemp
);
3800 _resultobj
= Py_None
;
3805 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3806 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3808 wxGenericDragImage
* _arg0
;
3809 PyObject
* _argo0
= 0;
3810 char *_kwnames
[] = { "self", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 delete_wxGenericDragImage(_arg0
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) return NULL
;
3828 } Py_INCREF(Py_None
);
3829 _resultobj
= Py_None
;
3833 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3834 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3836 wxGenericDragImage
* _arg0
;
3838 PyObject
* _argo0
= 0;
3839 PyObject
* _argo1
= 0;
3840 char *_kwnames
[] = { "self","bitmap", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3871 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3874 wxGenericDragImage
* _arg0
;
3877 bool _arg3
= (bool ) FALSE
;
3878 wxRect
* _arg4
= (wxRect
*) NULL
;
3879 PyObject
* _argo0
= 0;
3881 PyObject
* _obj1
= 0;
3882 PyObject
* _argo2
= 0;
3883 int tempbool3
= (int) FALSE
;
3885 PyObject
* _obj4
= 0;
3886 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3900 if (! wxPoint_helper(_obj1
, &_arg1
))
3904 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3910 _arg3
= (bool ) tempbool3
;
3914 if (! wxRect_helper(_obj4
, &_arg4
))
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) return NULL
;
3923 } _resultobj
= Py_BuildValue("i",_result
);
3927 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3928 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3931 wxGenericDragImage
* _arg0
;
3935 PyObject
* _argo0
= 0;
3937 PyObject
* _obj1
= 0;
3938 PyObject
* _argo2
= 0;
3939 PyObject
* _argo3
= 0;
3940 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3954 if (! wxPoint_helper(_obj1
, &_arg1
))
3958 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3965 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) return NULL
;
3977 } _resultobj
= Py_BuildValue("i",_result
);
3981 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3982 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3985 wxGenericDragImage
* _arg0
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4005 } _resultobj
= Py_BuildValue("i",_result
);
4009 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4010 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4013 wxGenericDragImage
* _arg0
;
4015 PyObject
* _argo0
= 0;
4017 PyObject
* _obj1
= 0;
4018 char *_kwnames
[] = { "self","pt", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4032 if (! wxPoint_helper(_obj1
, &_arg1
))
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) return NULL
;
4041 } _resultobj
= Py_BuildValue("i",_result
);
4045 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4046 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4049 wxGenericDragImage
* _arg0
;
4050 PyObject
* _argo0
= 0;
4051 char *_kwnames
[] = { "self", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 _result
= (bool )wxDragImage_Show(_arg0
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) return NULL
;
4069 } _resultobj
= Py_BuildValue("i",_result
);
4073 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4074 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4077 wxGenericDragImage
* _arg0
;
4078 PyObject
* _argo0
= 0;
4079 char *_kwnames
[] = { "self", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 _result
= (bool )wxDragImage_Hide(_arg0
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4097 } _resultobj
= Py_BuildValue("i",_result
);
4101 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4102 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4105 wxGenericDragImage
* _arg0
;
4107 PyObject
* _argo0
= 0;
4109 PyObject
* _obj1
= 0;
4110 char *_kwnames
[] = { "self","pos", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4125 if (! wxPoint_helper(_obj1
, &_arg1
))
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) return NULL
;
4134 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4135 _resultobj
= Py_BuildValue("s",_ptemp
);
4139 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4140 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4143 wxGenericDragImage
* _arg0
;
4148 PyObject
* _argo0
= 0;
4150 PyObject
* _obj1
= 0;
4152 PyObject
* _obj2
= 0;
4155 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4169 if (! wxPoint_helper(_obj1
, &_arg1
))
4174 if (! wxPoint_helper(_obj2
, &_arg2
))
4177 _arg3
= (bool ) tempbool3
;
4178 _arg4
= (bool ) tempbool4
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) return NULL
;
4185 } _resultobj
= Py_BuildValue("i",_result
);
4189 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4192 src
= (wxPyTimer
*) ptr
;
4193 dest
= (wxObject
*) src
;
4194 return (void *) dest
;
4197 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4198 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4200 wxPyTimer
* _result
;
4202 PyObject
* _obj0
= 0;
4203 char *_kwnames
[] = { "notify", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4220 _resultobj
= Py_BuildValue("s",_ptemp
);
4223 _resultobj
= Py_None
;
4228 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4229 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 delete_wxPyTimer(_arg0
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) return NULL
;
4251 } Py_INCREF(Py_None
);
4252 _resultobj
= Py_None
;
4256 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4257 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4261 PyObject
* _argo0
= 0;
4262 char *_kwnames
[] = { "self", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) return NULL
;
4280 } _resultobj
= Py_BuildValue("i",_result
);
4284 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4285 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) return NULL
;
4308 } _resultobj
= Py_BuildValue("i",_result
);
4312 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4313 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4317 PyObject
* _argo0
= 0;
4318 char *_kwnames
[] = { "self", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) return NULL
;
4336 } _resultobj
= Py_BuildValue("i",_result
);
4340 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4341 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
* _resultobj
;
4344 wxEvtHandler
* _arg1
;
4345 int _arg2
= (int ) -1;
4346 PyObject
* _argo0
= 0;
4347 PyObject
* _argo1
= 0;
4348 char *_kwnames
[] = { "self","owner","id", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) return NULL
;
4373 } Py_INCREF(Py_None
);
4374 _resultobj
= Py_None
;
4378 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4379 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
* _resultobj
;
4382 int _arg1
= (int ) -1;
4383 int _arg2
= (int ) FALSE
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4403 } Py_INCREF(Py_None
);
4404 _resultobj
= Py_None
;
4408 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4409 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4412 PyObject
* _argo0
= 0;
4413 char *_kwnames
[] = { "self", NULL
};
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 wxPyTimer_Stop(_arg0
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) return NULL
;
4431 } Py_INCREF(Py_None
);
4432 _resultobj
= Py_None
;
4436 #define new_wxStopWatch() (new wxStopWatch())
4437 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4439 wxStopWatch
* _result
;
4440 char *_kwnames
[] = { NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 _result
= (wxStopWatch
*)new_wxStopWatch();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) return NULL
;
4453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4454 _resultobj
= Py_BuildValue("s",_ptemp
);
4457 _resultobj
= Py_None
;
4462 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4463 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4465 wxStopWatch
* _arg0
;
4466 PyObject
* _argo0
= 0;
4467 char *_kwnames
[] = { "self", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 delete_wxStopWatch(_arg0
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) return NULL
;
4485 } Py_INCREF(Py_None
);
4486 _resultobj
= Py_None
;
4490 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4491 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4493 wxStopWatch
* _arg0
;
4494 long _arg1
= (long ) 0;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self","t", NULL
};
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxStopWatch_Start(_arg0
,_arg1
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) return NULL
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4519 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4520 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4522 wxStopWatch
* _arg0
;
4523 PyObject
* _argo0
= 0;
4524 char *_kwnames
[] = { "self", NULL
};
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 wxStopWatch_Pause(_arg0
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) return NULL
;
4542 } Py_INCREF(Py_None
);
4543 _resultobj
= Py_None
;
4547 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4548 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4550 wxStopWatch
* _arg0
;
4551 PyObject
* _argo0
= 0;
4552 char *_kwnames
[] = { "self", NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 wxStopWatch_Resume(_arg0
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) return NULL
;
4570 } Py_INCREF(Py_None
);
4571 _resultobj
= Py_None
;
4575 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4576 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4579 wxStopWatch
* _arg0
;
4580 PyObject
* _argo0
= 0;
4581 char *_kwnames
[] = { "self", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 _result
= (long )wxStopWatch_Time(_arg0
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) return NULL
;
4599 } _resultobj
= Py_BuildValue("l",_result
);
4603 #define new_wxLog() (new wxLog())
4604 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4607 char *_kwnames
[] = { NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 _result
= (wxLog
*)new_wxLog();
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4621 _resultobj
= Py_BuildValue("s",_ptemp
);
4624 _resultobj
= Py_None
;
4629 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4632 char *_kwnames
[] = { NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 _result
= (bool )wxLog::IsEnabled();
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) return NULL
;
4643 } _resultobj
= Py_BuildValue("i",_result
);
4647 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4650 bool _arg0
= (bool ) TRUE
;
4651 int tempbool0
= (int) TRUE
;
4652 char *_kwnames
[] = { "doIt", NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4657 _arg0
= (bool ) tempbool0
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 _result
= (bool )wxLog::EnableLogging(_arg0
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) return NULL
;
4664 } _resultobj
= Py_BuildValue("i",_result
);
4668 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4672 int _arg2
= (int ) 0;
4673 PyObject
* _argo0
= 0;
4674 PyObject
* _obj1
= 0;
4675 char *_kwnames
[] = { "level","szString","t", NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4688 _arg1
= wxString_in_helper(_obj1
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) return NULL
;
4698 } Py_INCREF(Py_None
);
4699 _resultobj
= Py_None
;
4707 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4708 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4711 PyObject
* _argo0
= 0;
4712 char *_kwnames
[] = { "self", NULL
};
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) return NULL
;
4730 } Py_INCREF(Py_None
);
4731 _resultobj
= Py_None
;
4735 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4736 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4740 PyObject
* _argo0
= 0;
4741 char *_kwnames
[] = { "self", NULL
};
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) return NULL
;
4759 } _resultobj
= Py_BuildValue("i",_result
);
4763 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4765 char *_kwnames
[] = { NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxLog::FlushActive();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4784 char *_kwnames
[] = { NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 _result
= (wxLog
*)wxLog::GetActiveTarget();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) return NULL
;
4797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4798 _resultobj
= Py_BuildValue("s",_ptemp
);
4801 _resultobj
= Py_None
;
4806 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4810 PyObject
* _argo0
= 0;
4811 char *_kwnames
[] = { "pLogger", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) return NULL
;
4831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4832 _resultobj
= Py_BuildValue("s",_ptemp
);
4835 _resultobj
= Py_None
;
4840 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4842 char *_kwnames
[] = { NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) return NULL
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4858 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
* _resultobj
;
4860 char *_kwnames
[] = { NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) return NULL
;
4871 } Py_INCREF(Py_None
);
4872 _resultobj
= Py_None
;
4876 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4877 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
* _resultobj
;
4880 bool _arg1
= (bool ) TRUE
;
4881 PyObject
* _argo0
= 0;
4882 int tempbool1
= (int) TRUE
;
4883 char *_kwnames
[] = { "self","bVerbose", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4895 _arg1
= (bool ) tempbool1
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 wxLog_SetVerbose(_arg0
,_arg1
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) return NULL
;
4902 } Py_INCREF(Py_None
);
4903 _resultobj
= Py_None
;
4907 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
* _resultobj
;
4909 char *_kwnames
[] = { NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 wxLog::DontCreateOnDemand();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) return NULL
;
4920 } Py_INCREF(Py_None
);
4921 _resultobj
= Py_None
;
4925 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4927 wxTraceMask
* _arg0
;
4928 PyObject
* _argo0
= 0;
4929 char *_kwnames
[] = { "ulMask", NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 wxLog::SetTraceMask(*_arg0
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) return NULL
;
4947 } Py_INCREF(Py_None
);
4948 _resultobj
= Py_None
;
4952 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4955 PyObject
* _obj0
= 0;
4956 char *_kwnames
[] = { "str", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4962 _arg0
= wxString_in_helper(_obj0
);
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 wxLog::AddTraceMask(*_arg0
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) return NULL
;
4972 } Py_INCREF(Py_None
);
4973 _resultobj
= Py_None
;
4981 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4984 PyObject
* _obj0
= 0;
4985 char *_kwnames
[] = { "str", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4991 _arg0
= wxString_in_helper(_obj0
);
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxLog::RemoveTraceMask(*_arg0
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 } Py_INCREF(Py_None
);
5002 _resultobj
= Py_None
;
5010 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5012 char *_kwnames
[] = { NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 wxLog::ClearTraceMasks();
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) return NULL
;
5023 } Py_INCREF(Py_None
);
5024 _resultobj
= Py_None
;
5028 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
* _resultobj
;
5031 PyObject
* _obj0
= 0;
5032 char *_kwnames
[] = { "ts", NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5038 _arg0
= wxString_in_helper(_obj0
);
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 wxLog::SetTimestamp(*_arg0
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) return NULL
;
5048 } Py_INCREF(Py_None
);
5049 _resultobj
= Py_None
;
5057 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5060 char *_kwnames
[] = { NULL
};
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 const wxString
& _result_ref
= wxLog::GetTimestamp();
5068 _result
= (wxString
*) &_result_ref
;
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) return NULL
;
5074 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5076 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5082 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5083 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5087 PyObject
* _argo0
= 0;
5088 char *_kwnames
[] = { "self", NULL
};
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 _result
= (bool )wxLog_GetVerbose(_arg0
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) return NULL
;
5106 } _resultobj
= Py_BuildValue("i",_result
);
5110 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
* _resultobj
;
5112 wxTraceMask
* _result
;
5113 char *_kwnames
[] = { NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 _result
= new wxTraceMask (wxLog::GetTraceMask());
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) return NULL
;
5125 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5126 _resultobj
= Py_BuildValue("s",_ptemp
);
5130 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5134 PyObject
* _obj0
= 0;
5135 char *_kwnames
[] = { "mask", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5141 _arg0
= wxString_in_helper(_obj0
);
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) return NULL
;
5151 } _resultobj
= Py_BuildValue("i",_result
);
5159 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5161 wxLog::TimeStamp(&msg
);
5164 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5168 PyObject
* _argo0
= 0;
5169 char *_kwnames
[] = { "self", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) return NULL
;
5189 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5191 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5200 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5203 src
= (wxLogStderr
*) ptr
;
5204 dest
= (wxLog
*) src
;
5205 return (void *) dest
;
5208 #define new_wxLogStderr() (new wxLogStderr())
5209 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5211 wxLogStderr
* _result
;
5212 char *_kwnames
[] = { NULL
};
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 _result
= (wxLogStderr
*)new_wxLogStderr();
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) return NULL
;
5225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5226 _resultobj
= Py_BuildValue("s",_ptemp
);
5229 _resultobj
= Py_None
;
5234 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5237 src
= (wxLogTextCtrl
*) ptr
;
5238 dest
= (wxLog
*) src
;
5239 return (void *) dest
;
5242 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5243 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
* _resultobj
;
5245 wxLogTextCtrl
* _result
;
5247 PyObject
* _argo0
= 0;
5248 char *_kwnames
[] = { "pTextCtrl", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) return NULL
;
5268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5269 _resultobj
= Py_BuildValue("s",_ptemp
);
5272 _resultobj
= Py_None
;
5277 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5280 src
= (wxLogGui
*) ptr
;
5281 dest
= (wxLog
*) src
;
5282 return (void *) dest
;
5285 #define new_wxLogGui() (new wxLogGui())
5286 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5289 char *_kwnames
[] = { NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 _result
= (wxLogGui
*)new_wxLogGui();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) return NULL
;
5302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5303 _resultobj
= Py_BuildValue("s",_ptemp
);
5306 _resultobj
= Py_None
;
5311 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5314 src
= (wxLogWindow
*) ptr
;
5315 dest
= (wxLog
*) src
;
5316 return (void *) dest
;
5319 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5320 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
* _resultobj
;
5322 wxLogWindow
* _result
;
5325 bool _arg2
= (bool ) TRUE
;
5326 bool _arg3
= (bool ) TRUE
;
5327 PyObject
* _argo0
= 0;
5328 PyObject
* _obj1
= 0;
5329 int tempbool2
= (int) TRUE
;
5330 int tempbool3
= (int) TRUE
;
5331 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5345 _arg1
= wxString_in_helper(_obj1
);
5349 _arg2
= (bool ) tempbool2
;
5350 _arg3
= (bool ) tempbool3
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5359 _resultobj
= Py_BuildValue("s",_ptemp
);
5362 _resultobj
= Py_None
;
5371 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5372 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5374 wxLogWindow
* _arg0
;
5375 bool _arg1
= (bool ) TRUE
;
5376 PyObject
* _argo0
= 0;
5377 int tempbool1
= (int) TRUE
;
5378 char *_kwnames
[] = { "self","bShow", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5390 _arg1
= (bool ) tempbool1
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 wxLogWindow_Show(_arg0
,_arg1
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) return NULL
;
5397 } Py_INCREF(Py_None
);
5398 _resultobj
= Py_None
;
5402 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5403 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5406 wxLogWindow
* _arg0
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) return NULL
;
5426 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5430 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5431 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5434 wxLogWindow
* _arg0
;
5435 PyObject
* _argo0
= 0;
5436 char *_kwnames
[] = { "self", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) return NULL
;
5456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5457 _resultobj
= Py_BuildValue("s",_ptemp
);
5460 _resultobj
= Py_None
;
5465 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5466 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(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_IsPassingMessages",_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_IsPassingMessages. Expected _wxLogWindow_p.");
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) return NULL
;
5489 } _resultobj
= Py_BuildValue("i",_result
);
5493 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5494 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5496 wxLogWindow
* _arg0
;
5498 PyObject
* _argo0
= 0;
5500 char *_kwnames
[] = { "self","bDoPass", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
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_PassMessages. Expected _wxLogWindow_p.");
5512 _arg1
= (bool ) tempbool1
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 wxLogWindow_PassMessages(_arg0
,_arg1
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) return NULL
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5524 #define new_wxLogNull() (new wxLogNull())
5525 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5527 wxLogNull
* _result
;
5528 char *_kwnames
[] = { NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 _result
= (wxLogNull
*)new_wxLogNull();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5542 _resultobj
= Py_BuildValue("s",_ptemp
);
5545 _resultobj
= Py_None
;
5550 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5551 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
* _resultobj
;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 delete_wxLogNull(_arg0
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) return NULL
;
5573 } Py_INCREF(Py_None
);
5574 _resultobj
= Py_None
;
5578 static void *SwigwxLogChainTowxLog(void *ptr
) {
5581 src
= (wxLogChain
*) ptr
;
5582 dest
= (wxLog
*) src
;
5583 return (void *) dest
;
5586 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5587 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5589 wxLogChain
* _result
;
5591 PyObject
* _argo0
= 0;
5592 char *_kwnames
[] = { "logger", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) return NULL
;
5612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5613 _resultobj
= Py_BuildValue("s",_ptemp
);
5616 _resultobj
= Py_None
;
5621 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5622 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
* _resultobj
;
5626 PyObject
* _argo0
= 0;
5627 PyObject
* _argo1
= 0;
5628 char *_kwnames
[] = { "self","logger", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 wxLogChain_SetLog(_arg0
,_arg1
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) return NULL
;
5653 } Py_INCREF(Py_None
);
5654 _resultobj
= Py_None
;
5658 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5659 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5663 PyObject
* _argo0
= 0;
5665 char *_kwnames
[] = { "self","bDoPass", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5677 _arg1
= (bool ) tempbool1
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 wxLogChain_PassMessages(_arg0
,_arg1
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) return NULL
;
5684 } Py_INCREF(Py_None
);
5685 _resultobj
= Py_None
;
5689 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5690 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
* _resultobj
;
5694 PyObject
* _argo0
= 0;
5695 char *_kwnames
[] = { "self", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) return NULL
;
5713 } _resultobj
= Py_BuildValue("i",_result
);
5717 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5718 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5722 PyObject
* _argo0
= 0;
5723 char *_kwnames
[] = { "self", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) return NULL
;
5743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5744 _resultobj
= Py_BuildValue("s",_ptemp
);
5747 _resultobj
= Py_None
;
5752 static void *SwigwxPyLogTowxLog(void *ptr
) {
5755 src
= (wxPyLog
*) ptr
;
5756 dest
= (wxLog
*) src
;
5757 return (void *) dest
;
5760 #define new_wxPyLog() (new wxPyLog())
5761 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5764 char *_kwnames
[] = { NULL
};
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 _result
= (wxPyLog
*)new_wxPyLog();
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) return NULL
;
5777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5778 _resultobj
= Py_BuildValue("s",_ptemp
);
5781 _resultobj
= Py_None
;
5786 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5787 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5792 PyObject
* _argo0
= 0;
5793 PyObject
* _obj1
= 0;
5794 PyObject
* _obj2
= 0;
5795 char *_kwnames
[] = { "self","self","_class", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) return NULL
;
5819 } Py_INCREF(Py_None
);
5820 _resultobj
= Py_None
;
5824 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5825 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5828 PyObject
* _argo0
= 0;
5829 char *_kwnames
[] = { "self", NULL
};
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 wxPyLog_Destroy(_arg0
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) return NULL
;
5847 } Py_INCREF(Py_None
);
5848 _resultobj
= Py_None
;
5852 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5853 wxProcessEvent
*src
;
5855 src
= (wxProcessEvent
*) ptr
;
5856 dest
= (wxEvent
*) src
;
5857 return (void *) dest
;
5860 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5861 wxProcessEvent
*src
;
5863 src
= (wxProcessEvent
*) ptr
;
5864 dest
= (wxObject
*) src
;
5865 return (void *) dest
;
5868 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5869 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5871 wxProcessEvent
* _result
;
5872 int _arg0
= (int ) 0;
5873 int _arg1
= (int ) 0;
5874 int _arg2
= (int ) 0;
5875 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) return NULL
;
5888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5889 _resultobj
= Py_BuildValue("s",_ptemp
);
5892 _resultobj
= Py_None
;
5897 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5898 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
* _resultobj
;
5901 wxProcessEvent
* _arg0
;
5902 PyObject
* _argo0
= 0;
5903 char *_kwnames
[] = { "self", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) return NULL
;
5921 } _resultobj
= Py_BuildValue("i",_result
);
5925 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5926 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5929 wxProcessEvent
* _arg0
;
5930 PyObject
* _argo0
= 0;
5931 char *_kwnames
[] = { "self", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) return NULL
;
5949 } _resultobj
= Py_BuildValue("i",_result
);
5953 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5954 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5957 wxProcessEvent
* _arg0
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self","m_pid", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) return NULL
;
5978 } _resultobj
= Py_BuildValue("i",_result
);
5982 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5983 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5986 wxProcessEvent
* _arg0
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) return NULL
;
6006 } _resultobj
= Py_BuildValue("i",_result
);
6010 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6011 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6014 wxProcessEvent
* _arg0
;
6016 PyObject
* _argo0
= 0;
6017 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) return NULL
;
6035 } _resultobj
= Py_BuildValue("i",_result
);
6039 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6040 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6043 wxProcessEvent
* _arg0
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) return NULL
;
6063 } _resultobj
= Py_BuildValue("i",_result
);
6067 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6070 src
= (wxPyProcess
*) ptr
;
6071 dest
= (wxEvtHandler
*) src
;
6072 return (void *) dest
;
6075 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6078 src
= (wxPyProcess
*) ptr
;
6079 dest
= (wxObject
*) src
;
6080 return (void *) dest
;
6083 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6084 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
* _resultobj
;
6086 wxPyProcess
* _result
;
6087 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6088 int _arg1
= (int ) -1;
6089 PyObject
* _argo0
= 0;
6090 char *_kwnames
[] = { "parent","id", NULL
};
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) return NULL
;
6110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6111 _resultobj
= Py_BuildValue("s",_ptemp
);
6114 _resultobj
= Py_None
;
6119 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6120 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
* _resultobj
;
6122 wxPyProcess
* _arg0
;
6123 PyObject
* _argo0
= 0;
6124 char *_kwnames
[] = { "self", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 wxPyProcess_Destroy(_arg0
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) return NULL
;
6142 } Py_INCREF(Py_None
);
6143 _resultobj
= Py_None
;
6147 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6148 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
* _resultobj
;
6150 wxPyProcess
* _arg0
;
6153 PyObject
* _argo0
= 0;
6154 PyObject
* _obj1
= 0;
6155 PyObject
* _obj2
= 0;
6156 char *_kwnames
[] = { "self","self","_class", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) return NULL
;
6180 } Py_INCREF(Py_None
);
6181 _resultobj
= Py_None
;
6185 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6186 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
* _resultobj
;
6188 wxPyProcess
* _arg0
;
6191 PyObject
* _argo0
= 0;
6192 char *_kwnames
[] = { "self","pid","status", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) return NULL
;
6210 } Py_INCREF(Py_None
);
6211 _resultobj
= Py_None
;
6215 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6216 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6218 wxPyProcess
* _arg0
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 wxProcess_Redirect(_arg0
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) return NULL
;
6238 } Py_INCREF(Py_None
);
6239 _resultobj
= Py_None
;
6243 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6244 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6247 wxPyProcess
* _arg0
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) return NULL
;
6267 } _resultobj
= Py_BuildValue("i",_result
);
6271 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6272 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6274 wxPyProcess
* _arg0
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 wxProcess_Detach(_arg0
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6294 } Py_INCREF(Py_None
);
6295 _resultobj
= Py_None
;
6299 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6300 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6302 wxInputStream
* _result
;
6303 wxPyProcess
* _arg0
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) return NULL
;
6324 wxPyInputStream
* _ptr
= NULL
;
6327 _ptr
= new wxPyInputStream(_result
);
6329 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6334 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6335 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6337 wxInputStream
* _result
;
6338 wxPyProcess
* _arg0
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "self", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) return NULL
;
6359 wxPyInputStream
* _ptr
= NULL
;
6362 _ptr
= new wxPyInputStream(_result
);
6364 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6369 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6370 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6372 wxOutputStream
* _result
;
6373 wxPyProcess
* _arg0
;
6374 PyObject
* _argo0
= 0;
6375 char *_kwnames
[] = { "self", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6396 _resultobj
= Py_BuildValue("s",_ptemp
);
6399 _resultobj
= Py_None
;
6404 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6405 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6407 wxPyProcess
* _arg0
;
6408 PyObject
* _argo0
= 0;
6409 char *_kwnames
[] = { "self", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 wxProcess_CloseOutput(_arg0
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) return NULL
;
6427 } Py_INCREF(Py_None
);
6428 _resultobj
= Py_None
;
6432 static void *SwigwxJoystickTowxObject(void *ptr
) {
6435 src
= (wxJoystick
*) ptr
;
6436 dest
= (wxObject
*) src
;
6437 return (void *) dest
;
6440 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6441 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6443 wxJoystick
* _result
;
6444 int _arg0
= (int ) wxJOYSTICK1
;
6445 char *_kwnames
[] = { "joystick", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) return NULL
;
6458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6459 _resultobj
= Py_BuildValue("s",_ptemp
);
6462 _resultobj
= Py_None
;
6467 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6468 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 delete_wxJoystick(_arg0
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) return NULL
;
6490 } Py_INCREF(Py_None
);
6491 _resultobj
= Py_None
;
6495 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6496 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6500 PyObject
* _argo0
= 0;
6501 char *_kwnames
[] = { "self", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) return NULL
;
6520 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6521 _resultobj
= Py_BuildValue("s",_ptemp
);
6525 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6526 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6530 PyObject
* _argo0
= 0;
6531 char *_kwnames
[] = { "self", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6549 } _resultobj
= Py_BuildValue("i",_result
);
6553 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6554 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
* _resultobj
;
6558 PyObject
* _argo0
= 0;
6559 char *_kwnames
[] = { "self", NULL
};
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } _resultobj
= Py_BuildValue("i",_result
);
6581 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6582 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) return NULL
;
6605 } _resultobj
= Py_BuildValue("i",_result
);
6609 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6610 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6614 PyObject
* _argo0
= 0;
6615 char *_kwnames
[] = { "self", NULL
};
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) return NULL
;
6633 } _resultobj
= Py_BuildValue("i",_result
);
6637 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6638 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6642 PyObject
* _argo0
= 0;
6643 char *_kwnames
[] = { "self", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) return NULL
;
6661 } _resultobj
= Py_BuildValue("i",_result
);
6665 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6666 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
* _resultobj
;
6670 PyObject
* _argo0
= 0;
6671 char *_kwnames
[] = { "self", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) return NULL
;
6689 } _resultobj
= Py_BuildValue("i",_result
);
6693 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6694 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6698 PyObject
* _argo0
= 0;
6699 char *_kwnames
[] = { "self", NULL
};
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) return NULL
;
6717 } _resultobj
= Py_BuildValue("i",_result
);
6721 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6722 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6726 PyObject
* _argo0
= 0;
6727 char *_kwnames
[] = { "self", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) return NULL
;
6745 } _resultobj
= Py_BuildValue("i",_result
);
6749 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6750 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6754 PyObject
* _argo0
= 0;
6755 char *_kwnames
[] = { "self","threshold", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) return NULL
;
6773 } Py_INCREF(Py_None
);
6774 _resultobj
= Py_None
;
6778 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6779 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6783 PyObject
* _argo0
= 0;
6784 char *_kwnames
[] = { "self", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 _result
= (bool )wxJoystick_IsOk(_arg0
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) return NULL
;
6802 } _resultobj
= Py_BuildValue("i",_result
);
6806 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6807 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
* _resultobj
;
6811 PyObject
* _argo0
= 0;
6812 char *_kwnames
[] = { "self", NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) return NULL
;
6830 } _resultobj
= Py_BuildValue("i",_result
);
6834 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6835 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
* _resultobj
;
6839 PyObject
* _argo0
= 0;
6840 char *_kwnames
[] = { "self", NULL
};
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) return NULL
;
6858 } _resultobj
= Py_BuildValue("i",_result
);
6862 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6863 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
* _resultobj
;
6867 PyObject
* _argo0
= 0;
6868 char *_kwnames
[] = { "self", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 _result
= (int )wxJoystick_GetProductId(_arg0
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) return NULL
;
6886 } _resultobj
= Py_BuildValue("i",_result
);
6890 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6891 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
* _resultobj
;
6895 PyObject
* _argo0
= 0;
6896 char *_kwnames
[] = { "self", NULL
};
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6916 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6918 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6927 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6928 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6932 PyObject
* _argo0
= 0;
6933 char *_kwnames
[] = { "self", NULL
};
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 _result
= (int )wxJoystick_GetXMin(_arg0
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) return NULL
;
6951 } _resultobj
= Py_BuildValue("i",_result
);
6955 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6956 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6960 PyObject
* _argo0
= 0;
6961 char *_kwnames
[] = { "self", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 _result
= (int )wxJoystick_GetYMin(_arg0
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) return NULL
;
6979 } _resultobj
= Py_BuildValue("i",_result
);
6983 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6984 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6988 PyObject
* _argo0
= 0;
6989 char *_kwnames
[] = { "self", NULL
};
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 _result
= (int )wxJoystick_GetZMin(_arg0
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) return NULL
;
7007 } _resultobj
= Py_BuildValue("i",_result
);
7011 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7012 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7016 PyObject
* _argo0
= 0;
7017 char *_kwnames
[] = { "self", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 _result
= (int )wxJoystick_GetXMax(_arg0
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) return NULL
;
7035 } _resultobj
= Py_BuildValue("i",_result
);
7039 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7040 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7044 PyObject
* _argo0
= 0;
7045 char *_kwnames
[] = { "self", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 _result
= (int )wxJoystick_GetYMax(_arg0
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) return NULL
;
7063 } _resultobj
= Py_BuildValue("i",_result
);
7067 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7068 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7072 PyObject
* _argo0
= 0;
7073 char *_kwnames
[] = { "self", NULL
};
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 _result
= (int )wxJoystick_GetZMax(_arg0
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) return NULL
;
7091 } _resultobj
= Py_BuildValue("i",_result
);
7095 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7096 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
* _resultobj
;
7100 PyObject
* _argo0
= 0;
7101 char *_kwnames
[] = { "self", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) return NULL
;
7119 } _resultobj
= Py_BuildValue("i",_result
);
7123 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7124 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 char *_kwnames
[] = { "self", NULL
};
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) return NULL
;
7147 } _resultobj
= Py_BuildValue("i",_result
);
7151 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7152 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
* _resultobj
;
7156 PyObject
* _argo0
= 0;
7157 char *_kwnames
[] = { "self", NULL
};
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) return NULL
;
7175 } _resultobj
= Py_BuildValue("i",_result
);
7179 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7180 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
* _resultobj
;
7184 PyObject
* _argo0
= 0;
7185 char *_kwnames
[] = { "self", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) return NULL
;
7203 } _resultobj
= Py_BuildValue("i",_result
);
7207 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7208 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
* _resultobj
;
7212 PyObject
* _argo0
= 0;
7213 char *_kwnames
[] = { "self", NULL
};
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) return NULL
;
7231 } _resultobj
= Py_BuildValue("i",_result
);
7235 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7236 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7240 PyObject
* _argo0
= 0;
7241 char *_kwnames
[] = { "self", NULL
};
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) return NULL
;
7259 } _resultobj
= Py_BuildValue("i",_result
);
7263 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7264 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
* _resultobj
;
7268 PyObject
* _argo0
= 0;
7269 char *_kwnames
[] = { "self", NULL
};
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) return NULL
;
7287 } _resultobj
= Py_BuildValue("i",_result
);
7291 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7292 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7296 PyObject
* _argo0
= 0;
7297 char *_kwnames
[] = { "self", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) return NULL
;
7315 } _resultobj
= Py_BuildValue("i",_result
);
7319 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7320 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
* _resultobj
;
7324 PyObject
* _argo0
= 0;
7325 char *_kwnames
[] = { "self", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 _result
= (int )wxJoystick_GetUMin(_arg0
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) return NULL
;
7343 } _resultobj
= Py_BuildValue("i",_result
);
7347 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7348 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7352 PyObject
* _argo0
= 0;
7353 char *_kwnames
[] = { "self", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 _result
= (int )wxJoystick_GetUMax(_arg0
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) return NULL
;
7371 } _resultobj
= Py_BuildValue("i",_result
);
7375 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7376 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7381 char *_kwnames
[] = { "self", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 _result
= (int )wxJoystick_GetVMin(_arg0
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) return NULL
;
7399 } _resultobj
= Py_BuildValue("i",_result
);
7403 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7404 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7408 PyObject
* _argo0
= 0;
7409 char *_kwnames
[] = { "self", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 _result
= (int )wxJoystick_GetVMax(_arg0
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) return NULL
;
7427 } _resultobj
= Py_BuildValue("i",_result
);
7431 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7432 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
* _resultobj
;
7436 PyObject
* _argo0
= 0;
7437 char *_kwnames
[] = { "self", NULL
};
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) return NULL
;
7455 } _resultobj
= Py_BuildValue("i",_result
);
7459 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7460 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
* _resultobj
;
7464 PyObject
* _argo0
= 0;
7465 char *_kwnames
[] = { "self", NULL
};
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 _result
= (bool )wxJoystick_HasZ(_arg0
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) return NULL
;
7483 } _resultobj
= Py_BuildValue("i",_result
);
7487 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7488 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
* _resultobj
;
7492 PyObject
* _argo0
= 0;
7493 char *_kwnames
[] = { "self", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 _result
= (bool )wxJoystick_HasU(_arg0
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) return NULL
;
7511 } _resultobj
= Py_BuildValue("i",_result
);
7515 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7516 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7520 PyObject
* _argo0
= 0;
7521 char *_kwnames
[] = { "self", NULL
};
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 _result
= (bool )wxJoystick_HasV(_arg0
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) return NULL
;
7539 } _resultobj
= Py_BuildValue("i",_result
);
7543 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7544 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7548 PyObject
* _argo0
= 0;
7549 char *_kwnames
[] = { "self", NULL
};
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) return NULL
;
7567 } _resultobj
= Py_BuildValue("i",_result
);
7571 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7572 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7576 PyObject
* _argo0
= 0;
7577 char *_kwnames
[] = { "self", NULL
};
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) return NULL
;
7595 } _resultobj
= Py_BuildValue("i",_result
);
7599 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7600 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
* _resultobj
;
7604 PyObject
* _argo0
= 0;
7605 char *_kwnames
[] = { "self", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) return NULL
;
7623 } _resultobj
= Py_BuildValue("i",_result
);
7627 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7628 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
* _resultobj
;
7633 int _arg2
= (int ) 0;
7634 PyObject
* _argo0
= 0;
7635 PyObject
* _argo1
= 0;
7636 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) return NULL
;
7661 } _resultobj
= Py_BuildValue("i",_result
);
7665 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7666 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
* _resultobj
;
7670 PyObject
* _argo0
= 0;
7671 char *_kwnames
[] = { "self", NULL
};
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) return NULL
;
7689 } _resultobj
= Py_BuildValue("i",_result
);
7693 static void *SwigwxWaveTowxObject(void *ptr
) {
7696 src
= (wxWave
*) ptr
;
7697 dest
= (wxObject
*) src
;
7698 return (void *) dest
;
7701 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7702 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7706 bool _arg1
= (bool ) FALSE
;
7707 PyObject
* _obj0
= 0;
7708 int tempbool1
= (int) FALSE
;
7709 char *_kwnames
[] = { "fileName","isResource", NULL
};
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7716 _arg0
= wxString_in_helper(_obj0
);
7720 _arg1
= (bool ) tempbool1
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) return NULL
;
7728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7729 _resultobj
= Py_BuildValue("s",_ptemp
);
7732 _resultobj
= Py_None
;
7741 #define delete_wxWave(_swigobj) (delete _swigobj)
7742 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
* _resultobj
;
7745 PyObject
* _argo0
= 0;
7746 char *_kwnames
[] = { "self", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 delete_wxWave(_arg0
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) return NULL
;
7764 } Py_INCREF(Py_None
);
7765 _resultobj
= Py_None
;
7769 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7770 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
* _resultobj
;
7774 PyObject
* _argo0
= 0;
7775 char *_kwnames
[] = { "self", NULL
};
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 _result
= (bool )wxWave_IsOk(_arg0
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) return NULL
;
7793 } _resultobj
= Py_BuildValue("i",_result
);
7797 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7798 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
* _resultobj
;
7802 bool _arg1
= (bool ) TRUE
;
7803 bool _arg2
= (bool ) FALSE
;
7804 PyObject
* _argo0
= 0;
7805 int tempbool1
= (int) TRUE
;
7806 int tempbool2
= (int) FALSE
;
7807 char *_kwnames
[] = { "self","async","looped", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7819 _arg1
= (bool ) tempbool1
;
7820 _arg2
= (bool ) tempbool2
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) return NULL
;
7827 } _resultobj
= Py_BuildValue("i",_result
);
7831 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7832 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
* _resultobj
;
7834 wxFileTypeInfo
* _result
;
7839 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) return NULL
;
7852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7853 _resultobj
= Py_BuildValue("s",_ptemp
);
7856 _resultobj
= Py_None
;
7861 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7862 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7864 wxFileTypeInfo
* _result
;
7865 wxArrayString
* _arg0
;
7866 PyObject
* _obj0
= 0;
7867 char *_kwnames
[] = { "sArray", NULL
};
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7874 if (! PySequence_Check(_obj0
)) {
7875 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7878 _arg0
= new wxArrayString
;
7879 int i
, len
=PySequence_Length(_obj0
);
7880 for (i
=0; i
<len
; i
++) {
7881 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7883 PyObject
* str
= PyObject_Unicode(item
);
7884 _arg0
->Add(PyUnicode_AsUnicode(str
));
7886 PyObject
* str
= PyObject_Str(item
);
7887 _arg0
->Add(PyString_AsString(str
));
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) return NULL
;
7900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7901 _resultobj
= Py_BuildValue("s",_ptemp
);
7904 _resultobj
= Py_None
;
7913 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7914 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
* _resultobj
;
7916 wxFileTypeInfo
* _result
;
7917 char *_kwnames
[] = { NULL
};
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) return NULL
;
7930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7931 _resultobj
= Py_BuildValue("s",_ptemp
);
7934 _resultobj
= Py_None
;
7939 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7940 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7943 wxFileTypeInfo
* _arg0
;
7944 PyObject
* _argo0
= 0;
7945 char *_kwnames
[] = { "self", NULL
};
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) return NULL
;
7963 } _resultobj
= Py_BuildValue("i",_result
);
7967 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7968 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
* _resultobj
;
7970 wxFileTypeInfo
* _arg0
;
7972 int _arg2
= (int ) 0;
7973 PyObject
* _argo0
= 0;
7974 PyObject
* _obj1
= 0;
7975 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7988 _arg1
= wxString_in_helper(_obj1
);
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) return NULL
;
7998 } Py_INCREF(Py_None
);
7999 _resultobj
= Py_None
;
8007 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8008 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
* _resultobj
;
8010 wxFileTypeInfo
* _arg0
;
8012 PyObject
* _argo0
= 0;
8013 PyObject
* _obj1
= 0;
8014 char *_kwnames
[] = { "self","shortDesc", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8027 _arg1
= wxString_in_helper(_obj1
);
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) return NULL
;
8037 } Py_INCREF(Py_None
);
8038 _resultobj
= Py_None
;
8046 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8047 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
* _resultobj
;
8050 wxFileTypeInfo
* _arg0
;
8051 PyObject
* _argo0
= 0;
8052 char *_kwnames
[] = { "self", NULL
};
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8067 _result
= (wxString
*) &_result_ref
;
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) return NULL
;
8073 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8075 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8081 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8082 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8085 wxFileTypeInfo
* _arg0
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "self", NULL
};
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8102 _result
= (wxString
*) &_result_ref
;
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) return NULL
;
8108 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8110 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8116 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8117 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
* _resultobj
;
8120 wxFileTypeInfo
* _arg0
;
8121 PyObject
* _argo0
= 0;
8122 char *_kwnames
[] = { "self", NULL
};
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8137 _result
= (wxString
*) &_result_ref
;
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) return NULL
;
8143 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8145 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8151 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8152 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
* _resultobj
;
8155 wxFileTypeInfo
* _arg0
;
8156 PyObject
* _argo0
= 0;
8157 char *_kwnames
[] = { "self", NULL
};
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8172 _result
= (wxString
*) &_result_ref
;
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) return NULL
;
8178 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8180 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8186 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8187 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
* _resultobj
;
8190 wxFileTypeInfo
* _arg0
;
8191 PyObject
* _argo0
= 0;
8192 char *_kwnames
[] = { "self", NULL
};
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8207 _result
= (wxString
*) &_result_ref
;
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) return NULL
;
8213 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8215 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8221 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8222 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8223 return wxArrayString2PyList_helper(arr
);
8225 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
* _resultobj
;
8228 wxFileTypeInfo
* _arg0
;
8229 PyObject
* _argo0
= 0;
8230 char *_kwnames
[] = { "self", NULL
};
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) return NULL
;
8249 _resultobj
= _result
;
8254 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8255 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
* _resultobj
;
8258 wxFileTypeInfo
* _arg0
;
8259 PyObject
* _argo0
= 0;
8260 char *_kwnames
[] = { "self", NULL
};
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) return NULL
;
8278 } _resultobj
= Py_BuildValue("i",_result
);
8282 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8283 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
* _resultobj
;
8286 wxFileTypeInfo
* _arg0
;
8287 PyObject
* _argo0
= 0;
8288 char *_kwnames
[] = { "self", NULL
};
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8303 _result
= (wxString
*) &_result_ref
;
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) return NULL
;
8309 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8311 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8317 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8318 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(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_GetIconIndex",_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_GetIconIndex. Expected _wxFileTypeInfo_p.");
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) return NULL
;
8341 } _resultobj
= Py_BuildValue("i",_result
);
8345 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8346 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
* _resultobj
;
8348 wxFileType
* _result
;
8349 wxFileTypeInfo
* _arg0
;
8350 PyObject
* _argo0
= 0;
8351 char *_kwnames
[] = { "ftInfo", NULL
};
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) return NULL
;
8371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8372 _resultobj
= Py_BuildValue("s",_ptemp
);
8375 _resultobj
= Py_None
;
8380 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8382 if (self
->GetMimeType(&str
)) {
8384 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8386 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8392 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
* _resultobj
;
8396 PyObject
* _argo0
= 0;
8397 char *_kwnames
[] = { "self", NULL
};
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) return NULL
;
8416 _resultobj
= _result
;
8421 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8423 if (self
->GetMimeTypes(arr
))
8424 return wxArrayString2PyList_helper(arr
);
8428 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
* _resultobj
;
8432 PyObject
* _argo0
= 0;
8433 char *_kwnames
[] = { "self", NULL
};
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) return NULL
;
8452 _resultobj
= _result
;
8457 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8459 if (self
->GetExtensions(arr
))
8460 return wxArrayString2PyList_helper(arr
);
8464 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
* _resultobj
;
8468 PyObject
* _argo0
= 0;
8469 char *_kwnames
[] = { "self", NULL
};
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) return NULL
;
8488 _resultobj
= _result
;
8493 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8495 if (self
->GetIcon(&icon
))
8496 return new wxIcon(icon
);
8500 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
* _resultobj
;
8504 PyObject
* _argo0
= 0;
8505 char *_kwnames
[] = { "self", NULL
};
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) return NULL
;
8525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8526 _resultobj
= Py_BuildValue("s",_ptemp
);
8529 _resultobj
= Py_None
;
8534 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8538 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8539 wxPyBeginBlockThreads();
8540 PyObject
* tuple
= PyTuple_New(3);
8541 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8544 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8546 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8548 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8549 wxPyEndBlockThreads();
8555 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
* _resultobj
;
8559 PyObject
* _argo0
= 0;
8560 char *_kwnames
[] = { "self", NULL
};
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) return NULL
;
8579 _resultobj
= _result
;
8584 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8586 if (self
->GetDescription(&str
)) {
8588 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8590 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8595 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
* _resultobj
;
8599 PyObject
* _argo0
= 0;
8600 char *_kwnames
[] = { "self", NULL
};
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) return NULL
;
8619 _resultobj
= _result
;
8624 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8626 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8628 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8630 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8635 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
* _resultobj
;
8640 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8641 PyObject
* _argo0
= 0;
8642 PyObject
* _obj1
= 0;
8643 PyObject
* _obj2
= 0;
8644 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8657 _arg1
= wxString_in_helper(_obj1
);
8663 _arg2
= wxString_in_helper(_obj2
);
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) return NULL
;
8674 _resultobj
= _result
;
8687 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8689 if (self
->GetPrintCommand(&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_GetPrintCommand(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_GetPrintCommand",_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_GetPrintCommand. Expected _wxFileType_p.");
8720 _arg1
= wxString_in_helper(_obj1
);
8726 _arg2
= wxString_in_helper(_obj2
);
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) return NULL
;
8737 _resultobj
= _result
;
8750 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8751 wxArrayString verbs
;
8752 wxArrayString commands
;
8753 if (self
->GetAllCommands(&verbs
, &commands
,
8754 wxFileType::MessageParameters(filename
, mimetype
))) {
8755 wxPyBeginBlockThreads();
8756 PyObject
* tuple
= PyTuple_New(2);
8757 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8758 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8759 wxPyEndBlockThreads();
8765 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
* _resultobj
;
8770 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8771 PyObject
* _argo0
= 0;
8772 PyObject
* _obj1
= 0;
8773 PyObject
* _obj2
= 0;
8774 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8787 _arg1
= wxString_in_helper(_obj1
);
8793 _arg2
= wxString_in_helper(_obj2
);
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) return NULL
;
8804 _resultobj
= _result
;
8817 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8818 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
* _resultobj
;
8824 bool _arg3
= (bool ) TRUE
;
8825 PyObject
* _argo0
= 0;
8826 PyObject
* _obj1
= 0;
8827 PyObject
* _obj2
= 0;
8828 int tempbool3
= (int) TRUE
;
8829 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8842 _arg1
= wxString_in_helper(_obj1
);
8847 _arg2
= wxString_in_helper(_obj2
);
8851 _arg3
= (bool ) tempbool3
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) return NULL
;
8858 } _resultobj
= Py_BuildValue("i",_result
);
8870 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8871 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
* _resultobj
;
8875 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8876 int _arg2
= (int ) 0;
8877 PyObject
* _argo0
= 0;
8878 PyObject
* _obj1
= 0;
8879 char *_kwnames
[] = { "self","cmd","index", NULL
};
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8893 _arg1
= wxString_in_helper(_obj1
);
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) return NULL
;
8903 } _resultobj
= Py_BuildValue("i",_result
);
8911 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8912 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
* _resultobj
;
8916 PyObject
* _argo0
= 0;
8917 char *_kwnames
[] = { "self", NULL
};
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 _result
= (bool )wxFileType_Unassociate(_arg0
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) return NULL
;
8935 } _resultobj
= Py_BuildValue("i",_result
);
8939 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
* _resultobj
;
8943 wxFileType::MessageParameters
* _arg1
;
8944 PyObject
* _obj0
= 0;
8945 PyObject
* _argo1
= 0;
8946 char *_kwnames
[] = { "command","params", NULL
};
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8952 _arg0
= wxString_in_helper(_obj0
);
8957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) return NULL
;
8971 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8973 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8986 #define delete_wxFileType(_swigobj) (delete _swigobj)
8987 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
* _resultobj
;
8990 PyObject
* _argo0
= 0;
8991 char *_kwnames
[] = { "self", NULL
};
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 delete_wxFileType(_arg0
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) return NULL
;
9009 } Py_INCREF(Py_None
);
9010 _resultobj
= Py_None
;
9014 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
* _resultobj
;
9019 PyObject
* _obj0
= 0;
9020 PyObject
* _obj1
= 0;
9021 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9027 _arg0
= wxString_in_helper(_obj0
);
9032 _arg1
= wxString_in_helper(_obj1
);
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) return NULL
;
9042 } _resultobj
= Py_BuildValue("i",_result
);
9054 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9055 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
* _resultobj
;
9057 wxMimeTypesManager
* _result
;
9058 char *_kwnames
[] = { NULL
};
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) return NULL
;
9071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9072 _resultobj
= Py_BuildValue("s",_ptemp
);
9075 _resultobj
= Py_None
;
9080 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9081 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9083 wxMimeTypesManager
* _arg0
;
9084 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9085 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9086 PyObject
* _argo0
= 0;
9087 PyObject
* _obj2
= 0;
9088 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9102 _arg2
= wxString_in_helper(_obj2
);
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) return NULL
;
9112 } Py_INCREF(Py_None
);
9113 _resultobj
= Py_None
;
9121 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9122 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
* _resultobj
;
9124 wxMimeTypesManager
* _arg0
;
9125 PyObject
* _argo0
= 0;
9126 char *_kwnames
[] = { "self", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 wxMimeTypesManager_ClearData(_arg0
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) return NULL
;
9144 } Py_INCREF(Py_None
);
9145 _resultobj
= Py_None
;
9149 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9150 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
* _resultobj
;
9152 wxFileType
* _result
;
9153 wxMimeTypesManager
* _arg0
;
9155 PyObject
* _argo0
= 0;
9156 PyObject
* _obj1
= 0;
9157 char *_kwnames
[] = { "self","ext", NULL
};
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9171 _arg1
= wxString_in_helper(_obj1
);
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) return NULL
;
9182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9183 _resultobj
= Py_BuildValue("s",_ptemp
);
9186 _resultobj
= Py_None
;
9195 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9196 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9198 wxFileType
* _result
;
9199 wxMimeTypesManager
* _arg0
;
9201 PyObject
* _argo0
= 0;
9202 PyObject
* _obj1
= 0;
9203 char *_kwnames
[] = { "self","mimeType", NULL
};
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9217 _arg1
= wxString_in_helper(_obj1
);
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) return NULL
;
9228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9229 _resultobj
= Py_BuildValue("s",_ptemp
);
9232 _resultobj
= Py_None
;
9241 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9242 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9245 wxMimeTypesManager
* _arg0
;
9247 bool _arg2
= (bool ) FALSE
;
9248 PyObject
* _argo0
= 0;
9249 PyObject
* _obj1
= 0;
9250 int tempbool2
= (int) FALSE
;
9251 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9264 _arg1
= wxString_in_helper(_obj1
);
9268 _arg2
= (bool ) tempbool2
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) return NULL
;
9275 } _resultobj
= Py_BuildValue("i",_result
);
9283 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9284 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9287 wxMimeTypesManager
* _arg0
;
9289 PyObject
* _argo0
= 0;
9290 PyObject
* _obj1
= 0;
9291 char *_kwnames
[] = { "self","filename", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9304 _arg1
= wxString_in_helper(_obj1
);
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) return NULL
;
9314 } _resultobj
= Py_BuildValue("i",_result
);
9322 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9324 self
->EnumAllFileTypes(arr
);
9325 return wxArrayString2PyList_helper(arr
);
9327 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
* _resultobj
;
9330 wxMimeTypesManager
* _arg0
;
9331 PyObject
* _argo0
= 0;
9332 char *_kwnames
[] = { "self", NULL
};
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) return NULL
;
9351 _resultobj
= _result
;
9356 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9357 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
* _resultobj
;
9359 wxMimeTypesManager
* _arg0
;
9360 wxFileTypeInfo
* _arg1
;
9361 PyObject
* _argo0
= 0;
9362 PyObject
* _argo1
= 0;
9363 char *_kwnames
[] = { "self","ft", NULL
};
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) return NULL
;
9388 } Py_INCREF(Py_None
);
9389 _resultobj
= Py_None
;
9393 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9394 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
* _resultobj
;
9396 wxFileType
* _result
;
9397 wxMimeTypesManager
* _arg0
;
9398 wxFileTypeInfo
* _arg1
;
9399 PyObject
* _argo0
= 0;
9400 PyObject
* _argo1
= 0;
9401 char *_kwnames
[] = { "self","ftInfo", NULL
};
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) return NULL
;
9428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9429 _resultobj
= Py_BuildValue("s",_ptemp
);
9432 _resultobj
= Py_None
;
9437 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9438 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
* _resultobj
;
9441 wxMimeTypesManager
* _arg0
;
9443 PyObject
* _argo0
= 0;
9444 PyObject
* _argo1
= 0;
9445 char *_kwnames
[] = { "self","ft", NULL
};
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) return NULL
;
9470 } _resultobj
= Py_BuildValue("i",_result
);
9474 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9475 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
* _resultobj
;
9477 wxMimeTypesManager
* _arg0
;
9478 PyObject
* _argo0
= 0;
9479 char *_kwnames
[] = { "self", NULL
};
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 delete_wxMimeTypesManager(_arg0
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9497 } Py_INCREF(Py_None
);
9498 _resultobj
= Py_None
;
9502 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9505 src
= (wxFileHistory
*) ptr
;
9506 dest
= (wxObject
*) src
;
9507 return (void *) dest
;
9510 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9511 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
* _resultobj
;
9513 wxFileHistory
* _result
;
9514 int _arg0
= (int ) 9;
9515 char *_kwnames
[] = { "maxFiles", NULL
};
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) return NULL
;
9528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9529 _resultobj
= Py_BuildValue("s",_ptemp
);
9532 _resultobj
= Py_None
;
9537 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9538 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9540 wxFileHistory
* _arg0
;
9541 PyObject
* _argo0
= 0;
9542 char *_kwnames
[] = { "self", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 delete_wxFileHistory(_arg0
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } Py_INCREF(Py_None
);
9561 _resultobj
= Py_None
;
9565 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9566 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
* _resultobj
;
9568 wxFileHistory
* _arg0
;
9570 PyObject
* _argo0
= 0;
9571 PyObject
* _obj1
= 0;
9572 char *_kwnames
[] = { "self","file", NULL
};
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9585 _arg1
= wxString_in_helper(_obj1
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) return NULL
;
9595 } Py_INCREF(Py_None
);
9596 _resultobj
= Py_None
;
9604 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9605 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
* _resultobj
;
9607 wxFileHistory
* _arg0
;
9609 PyObject
* _argo0
= 0;
9610 char *_kwnames
[] = { "self","i", NULL
};
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) return NULL
;
9628 } Py_INCREF(Py_None
);
9629 _resultobj
= Py_None
;
9633 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9634 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
* _resultobj
;
9637 wxFileHistory
* _arg0
;
9638 PyObject
* _argo0
= 0;
9639 char *_kwnames
[] = { "self", NULL
};
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) return NULL
;
9657 } _resultobj
= Py_BuildValue("i",_result
);
9661 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9662 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
* _resultobj
;
9664 wxFileHistory
* _arg0
;
9666 PyObject
* _argo0
= 0;
9667 PyObject
* _argo1
= 0;
9668 char *_kwnames
[] = { "self","menu", NULL
};
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 wxFileHistory_UseMenu(_arg0
,_arg1
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) return NULL
;
9693 } Py_INCREF(Py_None
);
9694 _resultobj
= Py_None
;
9698 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9699 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
* _resultobj
;
9701 wxFileHistory
* _arg0
;
9703 PyObject
* _argo0
= 0;
9704 PyObject
* _argo1
= 0;
9705 char *_kwnames
[] = { "self","menu", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) return NULL
;
9730 } Py_INCREF(Py_None
);
9731 _resultobj
= Py_None
;
9735 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9736 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
* _resultobj
;
9738 wxFileHistory
* _arg0
;
9739 wxConfigBase
* _arg1
;
9740 PyObject
* _argo0
= 0;
9741 PyObject
* _argo1
= 0;
9742 char *_kwnames
[] = { "self","config", NULL
};
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 wxFileHistory_Load(_arg0
,*_arg1
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) return NULL
;
9767 } Py_INCREF(Py_None
);
9768 _resultobj
= Py_None
;
9772 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9773 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9775 wxFileHistory
* _arg0
;
9776 wxConfigBase
* _arg1
;
9777 PyObject
* _argo0
= 0;
9778 PyObject
* _argo1
= 0;
9779 char *_kwnames
[] = { "self","config", NULL
};
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 wxFileHistory_Save(_arg0
,*_arg1
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) return NULL
;
9804 } Py_INCREF(Py_None
);
9805 _resultobj
= Py_None
;
9809 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9810 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
* _resultobj
;
9812 wxFileHistory
* _arg0
;
9813 PyObject
* _argo0
= 0;
9814 char *_kwnames
[] = { "self", NULL
};
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 wxFileHistory_AddFilesToMenu(_arg0
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) return NULL
;
9832 } Py_INCREF(Py_None
);
9833 _resultobj
= Py_None
;
9837 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9838 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
* _resultobj
;
9840 wxFileHistory
* _arg0
;
9842 PyObject
* _argo0
= 0;
9843 PyObject
* _argo1
= 0;
9844 char *_kwnames
[] = { "self","menu", NULL
};
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) return NULL
;
9869 } Py_INCREF(Py_None
);
9870 _resultobj
= Py_None
;
9874 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9875 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
* _resultobj
;
9878 wxFileHistory
* _arg0
;
9880 PyObject
* _argo0
= 0;
9881 char *_kwnames
[] = { "self","i", NULL
};
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) return NULL
;
9901 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9903 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9912 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9913 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
* _resultobj
;
9916 wxFileHistory
* _arg0
;
9917 PyObject
* _argo0
= 0;
9918 char *_kwnames
[] = { "self", NULL
};
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 _result
= (int )wxFileHistory_GetCount(_arg0
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) return NULL
;
9936 } _resultobj
= Py_BuildValue("i",_result
);
9940 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9941 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
* _resultobj
;
9944 wxFileHistory
* _arg0
;
9945 PyObject
* _argo0
= 0;
9946 char *_kwnames
[] = { "self", NULL
};
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) return NULL
;
9964 } _resultobj
= Py_BuildValue("i",_result
);
9968 static PyMethodDef misc2cMethods
[] = {
9969 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10268 * This table is used by the pointer type-checker
10270 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10271 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10272 { "_signed_long","_long",0},
10273 { "_wxPrintQuality","_wxCoord",0},
10274 { "_wxPrintQuality","_int",0},
10275 { "_wxPrintQuality","_signed_int",0},
10276 { "_wxPrintQuality","_unsigned_int",0},
10277 { "_wxPrintQuality","_wxWindowID",0},
10278 { "_wxPrintQuality","_uint",0},
10279 { "_wxPrintQuality","_EBool",0},
10280 { "_wxPrintQuality","_size_t",0},
10281 { "_wxPrintQuality","_time_t",0},
10282 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10283 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10284 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10285 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10286 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10287 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10288 { "_byte","_unsigned_char",0},
10289 { "_long","_unsigned_long",0},
10290 { "_long","_signed_long",0},
10291 { "_size_t","_wxCoord",0},
10292 { "_size_t","_wxPrintQuality",0},
10293 { "_size_t","_time_t",0},
10294 { "_size_t","_unsigned_int",0},
10295 { "_size_t","_int",0},
10296 { "_size_t","_wxWindowID",0},
10297 { "_size_t","_uint",0},
10298 { "_uint","_wxCoord",0},
10299 { "_uint","_wxPrintQuality",0},
10300 { "_uint","_time_t",0},
10301 { "_uint","_size_t",0},
10302 { "_uint","_unsigned_int",0},
10303 { "_uint","_int",0},
10304 { "_uint","_wxWindowID",0},
10305 { "_wxChar","_char",0},
10306 { "_char","_wxChar",0},
10307 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10308 { "_EBool","_wxCoord",0},
10309 { "_EBool","_wxPrintQuality",0},
10310 { "_EBool","_signed_int",0},
10311 { "_EBool","_int",0},
10312 { "_EBool","_wxWindowID",0},
10313 { "_unsigned_long","_long",0},
10314 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10315 { "_signed_int","_wxCoord",0},
10316 { "_signed_int","_wxPrintQuality",0},
10317 { "_signed_int","_EBool",0},
10318 { "_signed_int","_wxWindowID",0},
10319 { "_signed_int","_int",0},
10320 { "_WXTYPE","_wxDateTime_t",0},
10321 { "_WXTYPE","_short",0},
10322 { "_WXTYPE","_signed_short",0},
10323 { "_WXTYPE","_unsigned_short",0},
10324 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10325 { "_unsigned_short","_wxDateTime_t",0},
10326 { "_unsigned_short","_WXTYPE",0},
10327 { "_unsigned_short","_short",0},
10328 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10329 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10330 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10331 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10332 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10333 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10334 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10335 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10336 { "_signed_short","_WXTYPE",0},
10337 { "_signed_short","_short",0},
10338 { "_unsigned_char","_byte",0},
10339 { "_unsigned_int","_wxCoord",0},
10340 { "_unsigned_int","_wxPrintQuality",0},
10341 { "_unsigned_int","_time_t",0},
10342 { "_unsigned_int","_size_t",0},
10343 { "_unsigned_int","_uint",0},
10344 { "_unsigned_int","_wxWindowID",0},
10345 { "_unsigned_int","_int",0},
10346 { "_short","_wxDateTime_t",0},
10347 { "_short","_WXTYPE",0},
10348 { "_short","_unsigned_short",0},
10349 { "_short","_signed_short",0},
10350 { "_wxWindowID","_wxCoord",0},
10351 { "_wxWindowID","_wxPrintQuality",0},
10352 { "_wxWindowID","_time_t",0},
10353 { "_wxWindowID","_size_t",0},
10354 { "_wxWindowID","_EBool",0},
10355 { "_wxWindowID","_uint",0},
10356 { "_wxWindowID","_int",0},
10357 { "_wxWindowID","_signed_int",0},
10358 { "_wxWindowID","_unsigned_int",0},
10359 { "_int","_wxCoord",0},
10360 { "_int","_wxPrintQuality",0},
10361 { "_int","_time_t",0},
10362 { "_int","_size_t",0},
10363 { "_int","_EBool",0},
10364 { "_int","_uint",0},
10365 { "_int","_wxWindowID",0},
10366 { "_int","_unsigned_int",0},
10367 { "_int","_signed_int",0},
10368 { "_wxDateTime_t","_unsigned_short",0},
10369 { "_wxDateTime_t","_short",0},
10370 { "_wxDateTime_t","_WXTYPE",0},
10371 { "_time_t","_wxCoord",0},
10372 { "_time_t","_wxPrintQuality",0},
10373 { "_time_t","_unsigned_int",0},
10374 { "_time_t","_int",0},
10375 { "_time_t","_wxWindowID",0},
10376 { "_time_t","_uint",0},
10377 { "_time_t","_size_t",0},
10378 { "_wxCoord","_int",0},
10379 { "_wxCoord","_signed_int",0},
10380 { "_wxCoord","_unsigned_int",0},
10381 { "_wxCoord","_wxWindowID",0},
10382 { "_wxCoord","_uint",0},
10383 { "_wxCoord","_EBool",0},
10384 { "_wxCoord","_size_t",0},
10385 { "_wxCoord","_time_t",0},
10386 { "_wxCoord","_wxPrintQuality",0},
10387 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10390 static PyObject
*SWIG_globals
;
10394 SWIGEXPORT(void) initmisc2c() {
10396 SWIG_globals
= SWIG_newvarlink();
10397 m
= Py_InitModule("misc2c", misc2cMethods
);
10398 d
= PyModule_GetDict(m
);
10399 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10400 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10401 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10402 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10403 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10404 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10405 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10406 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10407 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10408 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10409 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10410 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10411 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10412 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10413 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10414 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10415 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10416 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10417 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10418 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10419 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10420 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10421 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10422 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10423 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10424 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10425 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10426 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10427 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10428 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10429 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10430 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10431 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10432 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10433 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10434 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10435 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10436 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10437 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10438 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10439 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10440 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10441 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10442 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10443 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10444 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10445 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10446 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10447 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10448 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10449 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10450 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10451 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10452 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10453 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10454 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10455 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10456 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10457 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10458 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10459 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10460 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10461 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10462 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10463 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10464 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10465 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10466 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10467 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10468 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10469 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10470 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10471 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10472 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10473 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10474 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10475 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10476 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10477 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10478 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10479 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10480 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10481 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10482 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10483 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10484 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10485 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10486 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10487 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10488 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10489 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10490 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10491 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10492 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10493 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10494 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10495 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10496 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10497 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10498 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10499 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10500 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10501 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10502 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10503 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10504 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10506 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10507 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10508 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10511 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10512 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);